/* LC Systems real-data layer: sign-in gate + member data panels. Light by default; follows html[data-theme="dark"]. */
html.lcr-pending body>*:not(header):not(.lcr-gate){visibility:hidden!important}
html.lcr-gated body>*:not(header):not(.hdr):not(.app-hdr):not(.pv-bar):not(.lcr-gate):not(script):not(style){display:none!important}
html.lcr-gated body.editor .ed-top,html.lcr-gated body .ed-canvas{display:none!important}
.lcr-gate{display:block;width:100%;box-sizing:border-box;padding:40px 24px 64px;background:#f9f9fb;color:#1f1f2e;font-family:Inter,system-ui,sans-serif;min-height:70vh}
.lcr-gate-in{max-width:none;width:100%;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:28px;align-items:start}
@media(max-width:860px){.lcr-gate-in{grid-template-columns:1fr}}
.lcr-gate h1{font:800 34px/1.15 Outfit,Inter,sans-serif;margin:0 0 12px;color:#111c38}
.lcr-gate p{font-size:16px;line-height:1.6;margin:0 0 12px;color:#27272a}
.lcr-gate .lcr-kicker{font:700 13px Inter,sans-serif;letter-spacing:.08em;color:#8a6410;margin:0 0 8px}
.lcr-card{border:3px solid #111c38;background:#fff;box-shadow:0 10px 30px rgba(17,28,56,.12)}
.lcr-card-hd{background:#111c38;color:#fff;padding:14px 18px;border-bottom:4px solid #e3b53f;font:800 20px Outfit,Inter,sans-serif}
.lcr-card-bd{padding:18px}
.lcr-form{display:flex;flex-direction:column;gap:10px}
.lcr-form label{font:700 13px Inter,sans-serif;color:#111c38}
.lcr-form input{height:46px;padding:0 14px;border:2px solid #111c38;border-radius:0;background:#fff;color:#111c38;font:inherit;font-size:16px}
.lcr-form input:focus{outline:3px solid #e3b53f;outline-offset:0}
.lcr-btn{display:inline-flex;align-items:center;justify-content:center;height:46px;padding:0 20px;border:2px solid #111c38;border-radius:0;background:#111c38;color:#fff;font:800 15px Inter,sans-serif;cursor:pointer;text-decoration:none}
.lcr-btn:hover{background:#1c2b52}.lcr-btn:disabled{opacity:.6;cursor:wait}
.lcr-btn.alt{background:#fff;color:#111c38}.lcr-btn.alt:hover{background:#f1f5ff}
.lcr-link{background:none;border:0;padding:0;color:#1d4ed8;font:700 14px Inter,sans-serif;text-decoration:underline;cursor:pointer;align-self:flex-start}
.lcr-msg{padding:10px 12px;border:1px solid #e8d9a8;background:#fffdf6;font-size:14px;color:#1f2937}
.lcr-msg.err{border-color:#fca5a5;background:#fef2f2;color:#7f1d1d}.lcr-msg[hidden]{display:none}
.lcr-steps{margin:8px 0 16px;padding-left:20px;line-height:1.7}
.lcr-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
/* Member panels */
.lcr-panel{border:3px solid #111c38;background:#fff;margin:18px 0;box-shadow:0 10px 30px rgba(17,28,56,.10);color:#1f1f2e;font-family:Inter,system-ui,sans-serif}
.lcr-panel-hd{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;background:#111c38;color:#fff;padding:14px 18px;border-bottom:4px solid #e3b53f}
.lcr-panel-hd h2{margin:0;font:800 22px/1.2 Outfit,Inter,sans-serif;color:#fff}
.lcr-badge{display:inline-flex;align-items:center;gap:6px;font:700 12px Inter,sans-serif;letter-spacing:.06em;background:#e3b53f;color:#111c38;padding:4px 8px}
.lcr-panel-bd{padding:18px}
.lcr-panel-bd p{margin:0 0 10px;line-height:1.6}
.lcr-big{display:flex;align-items:baseline;gap:6px;font:800 48px/1 Outfit,Inter,sans-serif;color:#111c38;margin:0 0 10px}
.lcr-big small{font-size:18px;color:#475569;font-weight:700}
.lcr-reason{font-size:16px;color:#1f2937}
.lcr-meta{font-size:13px;color:#52525b}
.lcr-sub{border-top:1px solid #e4e4e7;margin-top:14px;padding-top:12px}
.lcr-sub h3{margin:0 0 6px;font:800 16px Outfit,Inter,sans-serif;color:#111c38}
.lcr-empty{border:2px dashed #94a3b8;background:#f8fafc;padding:18px;color:#334155}
.lcr-empty h3{margin:0 0 6px;font:800 18px Outfit,Inter,sans-serif;color:#111c38}
.lcr-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px}
.lcr-tile{display:block;border:2px solid #111c38;padding:10px 12px;text-decoration:none;color:#111c38;background:#fff}
.lcr-tile b{display:block;font:800 26px Outfit,Inter,sans-serif}.lcr-tile span{font:700 13px Inter,sans-serif}
.lcr-tile small{display:block;font-size:12px;color:#52525b;margin-top:4px;line-height:1.4}
.lcr-hide{display:none!important}
.lcr-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:9999;background:#111c38;color:#fff;padding:12px 18px;font:700 14px Inter,sans-serif;border-bottom:3px solid #e3b53f;max-width:92vw}
.lcr-save{display:inline-flex;align-items:center;gap:8px;font:700 12.5px Inter,sans-serif;color:#166534}
.lcr-save.err{color:#991b1b}.lcr-save.busy{color:#8a6410}
.lcr-filled{outline:2px solid #16a34a;outline-offset:-2px}
.lcr-chip{display:inline-block;font:700 11px Inter,sans-serif;padding:2px 6px;margin-left:6px;background:#dcfce7;color:#166534;border:1px solid #86efac;vertical-align:middle}
.lcr-chip.no{background:#f4f4f5;color:#52525b;border-color:#d4d4d8}
html[data-theme="dark"] .lcr-gate{background:#0b1020;color:#e5e7eb}
html[data-theme="dark"] .lcr-gate h1{color:#e5e7eb}html[data-theme="dark"] .lcr-gate p{color:#cbd5e1}
html[data-theme="dark"] .lcr-card,html[data-theme="dark"] .lcr-panel{background:#111827;color:#e5e7eb;border-color:#e3b53f}
html[data-theme="dark"] .lcr-big,html[data-theme="dark"] .lcr-sub h3,html[data-theme="dark"] .lcr-empty h3{color:#e5e7eb}
html[data-theme="dark"] .lcr-reason{color:#e5e7eb}html[data-theme="dark"] .lcr-empty{background:#0f172a;color:#cbd5e1}
html[data-theme="dark"] .lcr-tile{background:#111827;color:#e5e7eb;border-color:#e3b53f}

/* commitments: schedule controls inside planner slots */
.lcm-goal{margin:0 0 10px;font:600 13px Inter,system-ui,sans-serif;color:#5b6478}
html[data-theme="dark"] .lcm-goal{color:#9aa3b5}
.pl-lab .lcm-ctl{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px;align-items:center}
.lcm-time{font:600 11px Inter,sans-serif;padding:2px 4px;border:1px solid rgba(127,127,127,.45);border-radius:4px;background:transparent;color:inherit;max-width:96px}
.lcm-ck{border:1px solid rgba(127,127,127,.55);background:transparent;color:inherit;padding:2px 6px;font:700 10px Inter,sans-serif;border-radius:4px;cursor:pointer}
.lcm-ck.on.kept{background:#1f7a4d;color:#fff;border-color:#1f7a4d}.lcm-ck.on.slipped{background:#a33;color:#fff;border-color:#a33}
/* AI Listen In + journal + Future plan */
.lcj-listen{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;padding:8px 12px;margin:0 0 12px;border:1px solid rgba(31,122,77,.35);border-left:5px solid #1f7a4d;background:rgba(31,122,77,.07);font:600 13px/1.4 Inter,system-ui,sans-serif;border-radius:8px}
.lcj-listen.off{border-color:rgba(127,127,127,.35);border-left-color:#888;background:rgba(127,127,127,.07)}
.lcj-listen-t{flex:1 1 320px}.lcj-listen-b{border:1px solid currentColor;background:transparent;color:inherit;padding:4px 10px;font:700 11px Inter,sans-serif;border-radius:6px;cursor:pointer}
.lcj{margin-top:14px}.lcj-h{margin:0 0 8px;font-size:16px}.lcj-list li.lcj-chipli{display:block;padding:0;border:0}.lcj-empty{color:#5b6478;font-size:14px}
.lcj-list li.lcj-goal{border-left:4px solid #e3b53f;padding-left:8px}.lcj-list li.lcj-checkin{border-left:4px solid #1f7a4d;padding-left:8px}
.lcf-timeline{margin:0 0 16px}.lcf-plan{border:1px solid rgba(17,28,56,.18);border-left:5px solid #e3b53f;border-radius:10px;padding:12px 16px;margin-bottom:12px}
.lcf-plan h3{margin:0 0 8px;font-size:16px}.lcf-steps{margin:0;padding-left:20px;display:grid;gap:6px}.lcf-steps li{font-size:14px}.lcf-steps li b{display:block;font-size:13px}.lcf-steps li.past b{color:#1f7a4d}
.lcf-prog{margin:10px 0 0;font:600 13px Inter,sans-serif;color:#1f7a4d}
html[data-theme="dark"] .lcf-plan{border-color:rgba(229,231,235,.2)}
.lcj-listen{cursor:pointer;flex-wrap:nowrap}.lcj-listen-cb{width:18px;height:18px;flex:0 0 auto;margin:1px 0 0;accent-color:#1f7a4d;cursor:pointer}
/* planner tools: inline atoms inside slot text (Aliha's inline chip), drag, chip popover */
[data-pl-toolpanel]{display:none!important}
.lcp-atom,.lcp-pending{display:inline-flex;align-items:center;gap:3px;vertical-align:middle;border:1px solid rgba(63,54,151,.4);background:rgba(63,54,151,.07);border-radius:999px;padding:1px 4px 1px 6px;margin:0 1px;font:600 12px/1.4 Inter,system-ui,sans-serif;white-space:nowrap;user-select:none;-webkit-user-select:none}
.lcp-atom.lcp-alarm{border-color:rgba(22,163,74,.45);background:rgba(22,163,74,.09)}.lcp-atom.lcp-alarm.off{opacity:.6;background:rgba(127,127,127,.08);border-color:rgba(127,127,127,.4)}
.lcp-atom.lcp-stopwatch{border-color:rgba(124,58,237,.4);background:rgba(124,58,237,.07)}.lcp-atom.lcp-countdown{border-color:rgba(234,88,12,.45);background:rgba(234,88,12,.07)}
.lcp-atom.lcp-ghostatom{border-style:dashed}
.lcp-atom.lcp-moving{opacity:.35}
.lcp-h{cursor:grab;touch-action:none;font-size:13px}
.lcp-t{border:0;background:transparent;color:inherit;font:inherit;font-variant-numeric:tabular-nums;padding:0 2px;cursor:pointer;max-width:180px;overflow:hidden;text-overflow:ellipsis}
.lcp-sw{width:26px;height:15px;border-radius:999px;border:0;background:#bbf7d0;position:relative;cursor:pointer;padding:0}.lcp-sw[aria-checked="true"]{background:#16a34a}
.lcp-sw i{position:absolute;top:2px;left:2px;width:11px;height:11px;border-radius:50%;background:#fff;transition:left .15s}.lcp-sw[aria-checked="true"] i{left:13px}
.lcp-x{border:0;background:transparent;color:inherit;opacity:.6;cursor:pointer;font-size:11px;padding:0 2px;line-height:1}.lcp-x:hover{opacity:1}
.lcp-stop{border:0;background:#dc2626;color:#fff;border-radius:999px;font:700 11px Inter,sans-serif;padding:1px 8px;cursor:pointer}
.lcm-line{display:block;opacity:.95}
.pl-row.lcp-over{outline:2px dashed #3F3697;outline-offset:-2px;background:rgba(63,54,151,.05)}
#lcp-caret{position:fixed;width:2px;background:#3F3697;z-index:100002;pointer-events:none;display:none}
.lcp-ghost{position:fixed;z-index:100001;pointer-events:none;background:#111c38;color:#fff;padding:5px 10px;border-radius:999px;font:700 12px Inter,sans-serif;box-shadow:0 8px 24px rgba(0,0,0,.3)}
html.lcp-dragging,html.lcp-dragging *{cursor:grabbing!important;user-select:none!important}
[data-qt]{cursor:grab}
.lcp-pop{position:absolute;z-index:100003;display:flex;gap:6px;align-items:center;background:#fff;color:#1f1f2e;border:1px solid rgba(17,28,56,.2);border-radius:10px;padding:6px 8px;box-shadow:0 10px 28px rgba(0,0,0,.18);font:13px Inter,system-ui,sans-serif}
html[data-theme="dark"] .lcp-pop{background:#111827;color:#e5e7eb}
.lcp-in{font:13px Inter,sans-serif;padding:4px 6px;border:1px solid rgba(127,127,127,.45);border-radius:6px;background:transparent;color:inherit}
.lcp-pb{font:700 12px Inter,sans-serif;padding:5px 10px;border-radius:6px;border:1px solid rgba(127,127,127,.45);background:transparent;color:inherit;cursor:pointer}.lcp-pb.del{color:#dc2626;border-color:rgba(220,38,38,.5)}
.lcp-onl{display:inline-flex;gap:4px;align-items:center;font-size:12px}
.lcm-drag{border:1px dashed rgba(127,127,127,.6);background:transparent;color:inherit;padding:1px 6px;font:700 11px Inter,sans-serif;border-radius:4px;cursor:grab;touch-action:none}

/* journal lines inside planner slots; date-bar birthdate; listen-in placements */
.lcj-inslot{flex:1 1 100%;padding-left:112px;margin:2px 0 0;display:flex;flex-direction:column;gap:1px}
.lcj-line{font:600 12px/1.35 Inter,system-ui,sans-serif;color:#334155}
.lcj-line.lcj-visit{color:#5b6478;font-weight:600}
.lcj-line.lcj-goal{color:#8a6d12}
.lcj-line.lcj-checkin,.lcj-line.lcj-note{color:#14532d}
.lcj-dob{margin-left:auto;font:600 12px/1.3 Inter,system-ui,sans-serif;color:#334155;display:flex;align-items:center;gap:6px;white-space:nowrap}
.lcj-dob .lcm-time{max-width:140px;flex:none}
.lcj-top{margin:0 0 12px}
.lcj-bottom{margin:18px 0 0}
.lcj-bodyage{margin:18px 0 12px;padding:14px 18px;border:1px solid rgba(227,181,63,.55);border-left:5px solid #e3b53f;border-radius:10px;background:rgba(227,181,63,.12);font:700 14px/1.45 Inter,system-ui,sans-serif;color:#111c38;display:flex;justify-content:space-between;align-items:baseline;gap:16px}
.lcj-bodyage p{margin:0}
.lcj-bodyage .lcj-bodyage-age{flex:0 1 auto;min-width:0}
.lcj-bodyage .lcj-bodyage-total{margin-top:0;font-size:inherit;flex:0 1 auto;min-width:0;text-align:right}
@media (min-width:601px){.lcj-bodyage{white-space:nowrap;font-size:13px;line-height:1.4;flex-wrap:nowrap}}
@media (min-width:1025px){.lcj-bodyage{font-size:14px}}
@media (max-width:600px){.lcj-bodyage{white-space:normal;font-size:14px;line-height:1.45;flex-wrap:wrap}.lcj-bodyage .lcj-bodyage-total{text-align:left}}
html[data-theme="dark"] .lcj-bodyage{background:rgba(227,181,63,.16);color:#fde68a;border-color:rgba(227,181,63,.45)}

.pl-row.pl-start{scroll-margin-top:8px}
html[data-theme="dark"] .lcj-line{color:#cbd5e1} html[data-theme="dark"] .lcj-line.lcj-visit{color:#9aa3b5} html[data-theme="dark"] .lcj-dob{color:#cbd5e1}
.pl-land{margin:10px 18px 0;padding:12px 16px;border:1px solid rgba(227,181,63,.55);border-left:5px solid #e3b53f;border-radius:10px;background:rgba(227,181,63,.12);font:700 16px/1.45 Inter,system-ui,sans-serif;color:#111c38}
html[data-theme="dark"] .pl-land{background:rgba(227,181,63,.16);color:#fde68a;border-color:rgba(227,181,63,.45)}
