:root{color-scheme:dark;--night:#121e27;--navy:#1a2a34;--deep:#0e1922;--card:#22333d;--stroke:rgba(172,223,215,.12);--teal:#55e8d1;--amber:#efa66f;--text:#e8f3f1;--soft:#a9bfc2;--muted:#7899a0;--safe-bottom:env(safe-area-inset-bottom,0px);font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-synthesis:none}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}body{margin:0;background:var(--deep);color:var(--text)}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:active{transform:scale(.985)}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.mobile-app{height:100svh;max-width:720px;margin:auto;position:relative;display:flex;flex-direction:column;overflow:hidden;background:linear-gradient(155deg,#182832,#101d26 65%,#15252e);box-shadow:0 0 130px #0006}.ambient-light{pointer-events:none;position:absolute;top:0;right:-40px;width:90%;height:360px;background:radial-gradient(ellipse at 80% 10%,rgba(79,190,178,.13),transparent 65%);z-index:0}.masthead{padding:calc(env(safe-area-inset-top,0px) + 12px) 19px 12px;display:flex;align-items:center;justify-content:space-between;gap:8px;position:relative;z-index:5;border-bottom:1px solid #ffffff0a;background:#14212ab8;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}.mobile-brand{display:flex;align-items:center;gap:11px;min-width:0}.logo{font-weight:850;font-size:34px;letter-spacing:-4px;line-height:1}.logo span{color:var(--amber)}.mobile-brand strong{font-size:11px;letter-spacing:2px;white-space:nowrap;font-weight:750;display:block}.mobile-brand small{display:block;margin-top:4px;color:#89abb0;font-size:7px;letter-spacing:1.4px;white-space:nowrap}.status-chip{display:flex;align-items:center;gap:6px;background:#223a419a;color:#aad0cc;border:1px solid #6fb2a83c;border-radius:99px;font-size:9px;font-weight:800;white-space:nowrap;padding:8px 9px}.status-led{width:6px;height:6px;background:var(--amber);border-radius:50%;box-shadow:0 0 8px #edaf78a1}.status-led.on{background:var(--teal);box-shadow:0 0 11px var(--teal)}
.mobile-scroll{overflow-y:auto;overflow-x:hidden;position:relative;z-index:1;min-height:0;flex:1;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch}.screen{padding:20px 17px 29px;min-height:100%;will-change:transform;transition:transform .2s cubic-bezier(.2,.8,.2,1)}.eyebrow{font-size:9px;letter-spacing:2px;text-transform:uppercase;color:var(--teal);font-weight:800}.eyebrow.amber{color:var(--amber)}h1{font-size:27px;line-height:1.18;letter-spacing:-.9px;font-weight:630;margin:8px 0 8px}h2{font-size:16px;font-weight:650;letter-spacing:-.3px;margin:0}h3{font-size:12px;margin:0;color:#e9f4f2}.lead{font-size:12px;line-height:1.7;color:var(--soft);margin:7px 0 18px}.subtle{color:var(--muted);font-size:11px;line-height:1.7}.hero{background:linear-gradient(110deg,#213842aa,#24394431 55%,#1f333dcc),url('/terrain.svg') center/cover;border:1px solid #96b9b51e;min-height:273px;border-radius:22px;position:relative;overflow:hidden;box-shadow:0 22px 70px #0004;margin:12px 0 14px}.hero::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#132a35e6 0%,transparent 68%);pointer-events:none;z-index:1}.hero-soul{position:absolute;inset:0;z-index:0;opacity:.98}.hero-soul canvas{width:100%;height:100%;display:block}.hero-copy{position:relative;z-index:2;pointer-events:none;padding:23px 16px 0;max-width:205px}.hero-copy h2{font-size:23px;letter-spacing:-.8px;line-height:1.14}.hero-copy p{font-size:10px;line-height:1.8;color:#b4cfd0}.hero-bottom{position:absolute;bottom:16px;left:16px;right:16px;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:6px}.soul-label{font-size:8px;font-weight:800;letter-spacing:1.4px;color:#95c9c5}.soul-pulse{display:flex;gap:3px;align-items:center}.soul-pulse i{display:block;width:3px;height:6px;border-radius:6px;background:var(--teal);animation:pulse 1.6s infinite alternate}.soul-pulse i:nth-child(2){height:13px;animation-delay:.25s}.soul-pulse i:nth-child(3){height:9px;animation-delay:.55s}@keyframes pulse{to{height:17px;opacity:.45}}.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:14px 0}.metric{border:1px solid var(--stroke);border-radius:14px;background:#2538438a;padding:12px}.metric strong{font-weight:600;display:block;font-size:24px;letter-spacing:-1px}.metric span{display:block;color:#8fb0b3;font-size:9px;margin-top:3px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:22px 1px 11px}.section-heading b{font-size:12px;letter-spacing:.25px}.section-heading span{font-size:9px;color:#7c9ea1}.action-grid{display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.action-card{color:var(--text);background:linear-gradient(145deg,#2a3f48aa,#1e303ab8);border:1px solid var(--stroke);min-height:113px;padding:16px 14px;text-align:left;border-radius:16px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between}.action-card svg{color:var(--teal);height:22px;width:22px}.action-card strong{font-size:12px;display:block}.action-card small{display:block;color:#8eaeb2;font-size:9px;line-height:1.5;margin-top:4px}.glass{background:linear-gradient(145deg,rgba(38,57,67,.88),rgba(27,43,53,.86));border:1px solid var(--stroke);box-shadow:0 10px 35px #0001;border-radius:17px;padding:17px;margin:12px 0}.glass.soft{background:#1a2b35a6}.glass h3{font-size:13px;margin-bottom:7px}.glass .lead{margin:4px 0 14px}.line-item{border-bottom:1px solid #a6d7d515;padding:13px 0}.line-item:last-child{border:0;padding-bottom:2px}.line-item p{font-size:12px;line-height:1.65;color:#c5d5d5;margin:7px 0;white-space:pre-wrap;overflow-wrap:anywhere}.row{display:flex;justify-content:space-between;align-items:center;gap:10px}.row.wrap{flex-wrap:wrap}.stack{display:grid;gap:11px}.chips{display:flex;flex-wrap:wrap;gap:7px}.chip{background:#224049;color:#9fe7d7;border:1px solid #6fada040;border-radius:8px;padding:7px 9px;font-size:10px}.chip.selected{background:#3ce5c6;color:#102730}.field{margin:16px 0}.field label{display:block;font-size:10px;color:#91c4c2;font-weight:800;letter-spacing:1px;text-transform:uppercase;margin:0 0 9px}.field input,.field select,.field textarea{width:100%;background:#101f29;border:1px solid #8dbbbd35;border-radius:11px;color:var(--text);padding:14px 13px;outline:none;min-height:48px;font-size:16px}.field textarea{resize:vertical;min-height:143px;font-size:14px;line-height:1.7}.field input:focus,.field textarea:focus,.field select:focus{border-color:#53cbb8;box-shadow:0 0 0 2px #46e7c01b}.field select{appearance:auto}.field input[type=file]{padding:13px;font-size:12px}.field input[type=checkbox]{width:18px;min-height:18px;height:18px;margin:0;accent-color:var(--teal)}.checkrow{display:flex;gap:10px;align-items:flex-start;color:#abc6c6;font-size:11px;line-height:1.6;margin:12px 0}.checkrow input{flex:0 0 18px;accent-color:var(--teal);width:18px;height:18px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:45px;padding:12px 14px;border-radius:11px;background:var(--teal);color:#142c32;border:1px solid #5df6dc;font-size:11px;font-weight:850;letter-spacing:.15px}.btn.secondary{background:#29424b;color:#d3eeea;border-color:#6ba9a94d}.btn.amber{background:var(--amber);border-color:#f2ae7f;color:#222c31}.btn.ghost{background:transparent;color:#b6d5d4;border-color:#6ba9a94d}.btn.small{font-size:10px;min-height:37px;padding:9px 11px}.btn svg{width:15px;height:15px}.btn.full{width:100%}.btn:disabled{opacity:.45}.btnrow{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 5px}.info{padding:12px 13px;border-radius:12px;border:1px solid #60c6b741;background:#193e3a77;color:#c0e5db;font-size:11px;line-height:1.6;margin:13px 0}.info.warn{border-color:#b987664f;background:#47342645;color:#ecc8a8}.tag{font-size:9px;letter-spacing:1.1px;font-weight:800;color:#91e2d4}.paper{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.85;background:#101e27;border:1px solid #618b9030;padding:16px;border-radius:12px;max-height:55vh;overflow:auto}.context-card{border:1px solid #6cb8ac31;background:#142b35b3;border-radius:13px;padding:12px;margin:10px 0}.context-card small{color:var(--teal);font-weight:750}.context-card p{font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.flexbox{display:flex;gap:8px;align-items:center}.muted{color:var(--muted)}.loading-shell{padding:70px 0;text-align:center;color:#a2c3c1}.loading-spinner{height:24px;width:24px;border:2px solid #91c1bb3e;border-top-color:var(--teal);border-radius:50%;animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.bottom-nav{position:relative;z-index:8;flex-shrink:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));background:#192b35eb;border-top:1px solid #91c5bb29;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);padding:10px 5px calc(8px + var(--safe-bottom));box-shadow:0 -10px 35px #0003}.tab-button{border:0;background:none;color:#85a2aa;display:grid;justify-items:center;gap:5px;font-size:9px;font-weight:650;padding:4px 2px}.tab-button svg{width:21px;height:21px}.tab-button.active{color:var(--teal)}.tab-button.active svg{filter:drop-shadow(0 0 7px #49e5c558)}.toast{position:fixed;left:15px;right:15px;bottom:calc(82px + var(--safe-bottom));z-index:30;padding:13px 16px;border-radius:12px;background:#ebf8f5;color:#17333a;box-shadow:0 12px 45px #0008;font-size:12px;font-weight:650;opacity:0;pointer-events:none;transform:translateY(12px);transition:.2s}.toast.show{opacity:1;transform:translateY(0)}.toast.error{background:#ffdbbe;color:#582e18}.split{display:grid;grid-template-columns:1fr 1fr;gap:11px}.faint{opacity:.6}.pill{border-radius:100px;border:1px solid #85b6af46;padding:5px 8px;font-size:9px;color:#a5caca}.empty{padding:23px 15px;text-align:center;color:#93b2b7;font-size:12px;line-height:1.7;border:1px dashed #6896913b;border-radius:12px}.verse-label{color:#e6aa78;font-size:10px;font-weight:750}.quick-line{border-bottom:1px solid #ffffff11;padding:12px 0;font-size:12px}.quick-line:last-child{border:0}.bottom-spacer{height:3px}@media(min-width:620px){.screen{padding:24px 28px 44px}.masthead{padding-left:28px;padding-right:28px}.hero{min-height:310px}.action-grid{grid-template-columns:repeat(4,1fr)}}@media(max-width:360px){.mobile-brand strong{font-size:9px}.mobile-brand small{font-size:6px}.screen{padding:15px 12px 20px}.hero-copy h2{font-size:20px}.metric strong{font-size:20px}.tab-button{font-size:8px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
