@font-face{font-family:'IBM Plex Mono';src:url('./fonts/IBMPlexMono-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:'IBM Plex Mono';src:url('./fonts/IBMPlexMono-Medium.ttf') format('truetype');font-weight:500;font-display:swap}
@font-face{font-family:'IBM Plex Mono';src:url('./fonts/IBMPlexMono-SemiBold.ttf') format('truetype');font-weight:600;font-display:swap}
@font-face{font-family:'IBM Plex Mono';src:url('./fonts/IBMPlexMono-Bold.ttf') format('truetype');font-weight:700 900;font-display:swap}
@font-face{font-family:Doto;src:url('./fonts/Doto.ttf') format('truetype');font-weight:100 900;font-display:swap}
:root{color-scheme:dark;--bg:#000;--surface:#0b0d0e;--surface2:#141719;--text:#e7e9e7;--muted:#92999c;--line:#272d30;--navy:#141719;--blue:#ff4545;--blue-soft:#301214;--teal:#96d8bd;--teal-soft:#142c24;--orange:#efc17e;--orange-soft:#302519;--red:#ff4545;--red-soft:#301214;--shadow:none;--radius:8px;--accent-selection:#8b1018;--accent-glow:#ff454566;--accent-wash:#ff202019;--accent-halo:#ff202055;--accent-hover:#ff20201a;--accent-card:#ff20200c;--hero-accent:#ff6262;--badge-line:#673135;--badge-text:#ff8b8b;--badge-bg:#261315}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:'IBM Plex Mono','Courier New',monospace;font-size:14px;line-height:1.55}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:var(--blue);text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--blue);outline-offset:2px}button:disabled{cursor:not-allowed;opacity:.65}.app{min-height:100vh}.topbar{height:78px;background:var(--surface);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(20px,4vw,66px);position:sticky;top:0;z-index:30}.brand{background:none;border:0;display:flex;align-items:center;gap:12px;color:var(--text);padding:0;text-align:left}.brand-symbol{display:grid;place-items:center;width:43px;height:43px;border-radius:13px;background:var(--navy);color:var(--blue);font-size:30px;font-weight:800}.brand-copy{display:flex;flex-direction:column;line-height:1.2}.brand-copy strong{font-family:'IBM Plex Mono',sans-serif;font-size:17px;letter-spacing:-.7px}.brand-copy small{letter-spacing:1.2px;font-size:9px;color:var(--muted);margin-top:5px;font-weight:800}.brand-dot{color:var(--teal)}.topbar-right{display:flex;align-items:center;gap:14px}.demo-pill,.pill{display:inline-flex;align-items:center;gap:7px;background:var(--blue-soft);color:var(--blue);border-radius:30px;padding:6px 11px;font-size:11px;font-weight:800}.demo-dot{width:6px;height:6px;background:var(--blue);border-radius:50%}.icon-button{width:40px;height:40px;display:grid;place-items:center;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text)}.avatar{border:0;width:38px;height:38px;border-radius:50%;background:var(--blue-soft);color:var(--blue);font-size:12px;font-weight:800}.mobile-banner{display:none}.shell{display:grid;grid-template-columns:242px minmax(0,1fr);max-width:1600px;margin:auto;min-height:calc(100vh - 78px)}.sidebar{border-right:1px solid var(--line);background:var(--surface);padding:30px 14px 22px;display:flex;flex-direction:column;gap:12px}.side-heading{font-size:10px;color:var(--muted);font-weight:800;letter-spacing:1.4px;padding:12px 13px 5px;text-transform:uppercase}.nav-link{background:none;border:0;display:flex;align-items:center;gap:12px;width:100%;border-radius:12px;padding:11px 13px;text-align:left;font-weight:700;color:var(--muted)}.nav-link.active{color:var(--blue);background:var(--blue-soft)}.nav-link svg{flex-shrink:0}.sidebar-bottom{margin-top:auto;padding:16px 8px}.role-select,.small-select{width:100%;padding:11px;border-radius:11px;border:1px solid var(--line);background:var(--surface);color:var(--text)}.sidebar-card{background:linear-gradient(145deg,#14305b,#0a1d39);color:white;border-radius:15px;padding:17px;margin-top:14px}.sidebar-card p{font-size:12px;opacity:.8;margin:7px 0 12px}.sidebar-card button{border:0;border-radius:8px;color:#0d315c;background:#baf1e6;padding:8px 12px;font-size:12px;font-weight:800}.main{padding:32px clamp(16px,3.4vw,54px) 72px;min-width:0}.main-inner{max-width:1120px;margin:auto}.bottom-nav{display:none}.eyebrow{text-transform:uppercase;letter-spacing:1.7px;font-size:11px;font-weight:800;color:var(--teal)}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:25px}.page-head h1{font-family:'IBM Plex Mono',sans-serif;font-size:clamp(25px,3.3vw,35px);letter-spacing:-1.2px;margin:4px 0 7px;font-weight:800}.page-head p,.section-lead{margin:0;color:var(--muted);font-size:14px;max-width:650px}.head-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.btn{background:var(--blue);color:white;border:1px solid transparent;border-radius:11px;padding:11px 15px;font-weight:800;font-size:12px;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:42px;white-space:nowrap}.btn.secondary{background:var(--surface);border:1px solid var(--line);color:var(--text)}.btn.soft{color:var(--blue);background:var(--blue-soft)}.btn.dark{background:var(--navy)}.btn.teal{background:#087e77}.btn.wide{width:100%}.btn.small{min-height:33px;padding:7px 11px}.btn.textbutton{background:transparent;color:var(--blue);padding:0;min-height:25px}.icon{display:inline-flex;vertical-align:middle}.icon svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.9;fill:none;stroke-linecap:round;stroke-linejoin:round}.muted{color:var(--muted)}.tiny{font-size:11px}.small{font-size:12px}.bold{font-weight:800}.layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(265px,1fr);gap:21px}.layout.equal{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.grid-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.stack{display:flex;flex-direction:column;gap:19px}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow);min-width:0}.card.flat{box-shadow:none}.card h2,.section-title{font-family:'IBM Plex Mono',sans-serif;font-size:16px;font-weight:800;letter-spacing:-.35px;margin:0}.section-header{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:18px}.section-header p{margin:5px 0 0}.stat{padding:21px}.stat .stat-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;color:var(--blue);background:var(--blue-soft);margin-bottom:16px}.stat strong{display:block;font-family:'IBM Plex Mono';font-size:25px;letter-spacing:-1px;line-height:1.2}.stat span:last-child{color:var(--muted);font-size:12px}.hero{background:linear-gradient(125deg,#0b1c37,#173963 62%,#087b7a 140%);color:#fff;border-radius:21px;min-height:215px;padding:30px;position:relative;overflow:hidden}.hero:after{content:'◈';font-size:260px;position:absolute;right:-45px;top:-110px;opacity:.07;transform:rotate(15deg)}.hero > *{position:relative;z-index:1}.hero h2{font-family:'IBM Plex Mono';font-size:27px;max-width:650px;line-height:1.35;letter-spacing:-.8px;margin:10px 0}.hero p{opacity:.78;max-width:560px;margin:0 0 22px}.hero .eyebrow{color:#8cebdc}.hero-btn{display:inline-flex;align-items:center;gap:9px;background:#cbfff0;color:#0b4c55;border:0;padding:11px 16px;border-radius:11px;font-weight:800}.progress-bar{height:8px;background:var(--surface2);border-radius:20px;overflow:hidden}.progress-bar>span{display:block;height:100%;background:var(--teal);border-radius:20px}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.col{display:flex;flex-direction:column;gap:5px;min-width:0}.inline-items{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.chip{font-size:11px;font-weight:800;color:var(--muted);background:var(--surface2);padding:5px 9px;border-radius:20px;display:inline-flex;gap:5px;align-items:center}.chip.green{background:var(--teal-soft);color:var(--teal)}.chip.yellow{background:var(--orange-soft);color:var(--orange)}.chip.red{background:var(--red-soft);color:var(--red)}.chip.blue{background:var(--blue-soft);color:var(--blue)}.item{display:flex;gap:12px;align-items:center;padding:15px 0;border-bottom:1px solid var(--line)}.item:first-child{padding-top:0}.item:last-child{border-bottom:0;padding-bottom:0}.item-body{min-width:0;flex:1}.item-title{font-weight:800;font-size:13px}.item-sub{font-size:12px;color:var(--muted);margin-top:3px}.item-icon{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;border-radius:12px;color:var(--blue);background:var(--blue-soft)}.item-icon.teal{color:var(--teal);background:var(--teal-soft)}.item-icon.orange{color:var(--orange);background:var(--orange-soft)}.item-icon.purple{color:var(--blue);background:var(--blue-soft)}.check-icon{display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;width:23px;height:23px;flex-shrink:0;color:var(--muted)}.check-icon.done{border-color:var(--teal);background:var(--teal-soft);color:var(--teal)}.split-label{font-weight:800;font-size:11px;letter-spacing:1px;text-transform:uppercase;color:var(--muted);margin:0 0 12px}.notice{padding:14px 16px;border-radius:12px;background:var(--blue-soft);color:var(--text);font-size:12px;display:flex;align-items:flex-start;gap:10px}.notice.warning{background:var(--orange-soft);color:var(--orange)}.notice.green{background:var(--teal-soft);color:var(--teal)}.table-wrap{overflow-x:auto}.table{width:100%;border-collapse:collapse;text-align:left;min-width:520px}.table th{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:1px;padding:11px 12px;border-bottom:1px solid var(--line)}.table td{padding:13px 12px;font-size:12px;border-bottom:1px solid var(--line);vertical-align:middle}.table tr:last-child td{border-bottom:none}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.field{display:flex;flex-direction:column;gap:6px}.field.full{grid-column:1/-1}.field label,.field-label{font-size:12px;font-weight:800;color:var(--text)}.field input,.field textarea,.field select,.field .fake-input{border:1px solid var(--line);border-radius:10px;padding:11px 12px;background:var(--surface);color:var(--text);width:100%;min-height:44px}.field textarea{resize:vertical;min-height:88px}.field input::placeholder,.field textarea::placeholder{color:var(--muted)}.field-help{font-size:11px;color:var(--muted)}.form-section{padding:22px 0;border-bottom:1px solid var(--line)}.form-section:first-child{padding-top:0}.form-section:last-child{border:0}.form-section h3{font-size:15px;font-family:'IBM Plex Mono';margin:0 0 6px}.form-section>p{color:var(--muted);margin:0 0 19px;font-size:12px}.checkline{display:flex;gap:10px;align-items:flex-start;font-size:12px;color:var(--muted);margin:13px 0}.checkline input{accent-color:var(--blue);width:16px;height:16px;flex-shrink:0;margin-top:2px}.center{display:flex;justify-content:center}.auth-wrap{max-width:690px;margin:15px auto 60px}.auth-card{padding:32px}.auth-card h1{font-size:25px;font-family:'IBM Plex Mono';margin:0 0 5px}.auth-card .hint{margin:0 0 24px;color:var(--muted)}.steps{display:flex;gap:8px;margin-bottom:25px}.steps span{height:6px;border-radius:30px;flex:1;background:var(--surface2)}.steps span.active{background:var(--teal)}.illustration-box{border-radius:16px;background:linear-gradient(135deg,#eef4ff,#e7f8f3);padding:26px;text-align:center}.illustration-box h3{margin:10px 0}.illustration-box p{margin:0;color:#65758a}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:18px}.feature{border-radius:16px;padding:20px;border:1px solid var(--line);background:var(--surface)}.feature h3{margin:12px 0 5px;font-size:14px}.feature p{color:var(--muted);font-size:12px;margin:0}.feature .item-icon{width:44px;height:44px}.role-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.role-card{padding:22px;border-radius:17px;border:1px solid var(--line);background:var(--surface);text-align:left;color:var(--text);box-shadow:var(--shadow)}.role-card strong{display:block;font-size:15px;margin:15px 0 7px}.role-card p{color:var(--muted);font-size:12px;min-height:44px;margin:0 0 14px}.role-card .circle{display:grid;place-items:center;background:var(--blue-soft);color:var(--blue);border-radius:13px;width:48px;height:48px}.role-card:hover{border-color:#9cb9f8;transform:translateY(-1px)}.timeline{display:flex;flex-direction:column;gap:0}.timeline-row{display:flex;gap:15px}.timeline-rail{width:22px;display:flex;flex-direction:column;align-items:center;flex-shrink:0}.timeline-rail i{width:12px;height:12px;border:3px solid var(--teal);border-radius:50%;background:var(--surface)}.timeline-rail:after{content:'';flex:1;width:2px;background:var(--line);min-height:32px}.timeline-row:last-child .timeline-rail:after{display:none}.timeline-content{padding-bottom:26px;flex:1}.timeline-content strong{display:block}.schedule-date{background:var(--blue-soft);color:var(--blue);padding:9px 13px;border-radius:10px;min-width:63px;text-align:center;line-height:1.1;font-size:12px;font-weight:800}.schedule-date strong{display:block;font-size:20px}.project-card{display:flex;flex-direction:column;gap:12px;min-height:170px}.project-card h3{font-size:16px;margin:0}.project-card p{margin:0;color:var(--muted);font-size:12px;flex:1}.fake-video{min-height:215px;background:linear-gradient(140deg,#08172b,#1c416e);border-radius:15px;color:white;display:grid;place-items:center;text-align:center;padding:20px}.fake-video .play{height:60px;width:60px;border:2px solid rgba(255,255,255,.55);display:grid;place-items:center;border-radius:50%;margin:auto auto 12px}.fake-video small{color:#acc6e6}.empty-state{text-align:center;padding:34px 15px;color:var(--muted)}.empty-state h3{color:var(--text);margin:8px 0}.score-line{border-bottom:1px solid var(--line);padding:17px 0}.score-line:last-child{border-bottom:0}.score-line header{display:flex;justify-content:space-between;gap:10px;font-weight:800;font-size:13px}.score-line p{color:var(--muted);font-size:11px;margin:5px 0 12px}.score-line input[type=range]{width:100%;accent-color:var(--blue)}.message-layout{display:grid;grid-template-columns:250px 1fr;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:var(--surface);min-height:440px}.thread-list{border-right:1px solid var(--line);padding:15px}.thread-item{width:100%;border:0;border-radius:10px;padding:12px;display:flex;gap:10px;text-align:left;background:transparent;color:var(--text);margin-bottom:5px}.thread-item.active{background:var(--blue-soft)}.thread-icon{border-radius:11px;background:var(--teal-soft);color:var(--teal);display:grid;place-items:center;width:38px;height:38px;flex-shrink:0}.thread-item strong{font-size:12px}.thread-item small{display:block;color:var(--muted);font-size:10px}.conversation{display:flex;flex-direction:column;padding:22px;gap:14px}.conversation-head{padding-bottom:14px;border-bottom:1px solid var(--line);font-weight:800}.bubble{border-radius:13px;padding:12px 14px;background:var(--surface2);max-width:75%;font-size:12px}.bubble.mine{margin-left:auto;background:var(--blue-soft)}.chat-compose{margin-top:auto;display:flex;gap:8px}.chat-compose input{flex:1;border:1px solid var(--line);border-radius:10px;padding:11px;min-width:0}.tabs{display:flex;gap:8px;overflow:auto;padding-bottom:9px;margin-bottom:16px}.tab{border:1px solid var(--line);background:var(--surface);color:var(--muted);border-radius:9px;padding:8px 13px;font-weight:800;font-size:12px;white-space:nowrap}.tab.active{background:var(--navy);color:white;border-color:var(--navy)}.doc-row{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}.doc-row:last-child{border:0}.two-column-list{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field-card{background:var(--surface2);padding:14px;border-radius:12px}.field-card small{display:block;color:var(--muted);margin-bottom:5px}.field-card strong{font-size:13px}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 0;border-bottom:1px solid var(--line)}.settings-row:last-child{border:0}.switch{height:25px;width:44px;border-radius:30px;background:var(--line);position:relative;border:0}.switch:after{content:'';width:19px;height:19px;border-radius:50%;background:white;position:absolute;top:3px;left:3px;box-shadow:0 1px 4px #789}.switch.on{background:var(--teal)}.switch.on:after{left:22px}.toast{position:fixed;right:24px;bottom:24px;max-width:380px;background:#0b2446;color:white;border-radius:13px;padding:14px 18px;z-index:100;box-shadow:0 15px 40px #102d4c44;display:none;font-size:12px}.toast.show{display:block}.welcome-badge{display:inline-block;background:#dbfaf1;color:#06665e;border-radius:30px;padding:8px 13px;font-weight:800;font-size:11px;letter-spacing:.4px;margin-bottom:12px}.welcome-hero{background:var(--navy);color:white;border-radius:23px;padding:clamp(26px,5vw,54px);overflow:hidden;position:relative}.welcome-hero:after{content:'◈';font-size:360px;line-height:1;opacity:.06;position:absolute;right:-40px;top:-45px}.welcome-hero h1{font-family:'IBM Plex Mono';font-size:clamp(32px,4.7vw,54px);letter-spacing:-2px;line-height:1.15;margin:8px 0 15px;max-width:670px}.welcome-hero p{color:#c4d1e4;max-width:560px;font-size:15px;line-height:1.8}.welcome-hero>*{position:relative;z-index:1}.welcome-hero .inline-items{margin-top:23px}.welcome-hero .btn{background:#a6eadf;color:#073c41}.welcome-hero .btn.secondary{background:transparent;color:white;border-color:#50627d}.search{background:var(--surface);border:1px solid var(--line);border-radius:12px;min-height:43px;padding:10px 13px;display:flex;align-items:center;gap:9px;color:var(--muted)}.search input{border:0;outline:0;background:transparent;color:var(--text);width:100%}.badge-number{background:var(--red);color:#fff;border-radius:20px;padding:1px 6px;font-size:10px;font-weight:800}.avatar-stack{display:flex;padding-left:7px}.avatar-stack span{width:30px;height:30px;display:grid;place-items:center;border:2px solid var(--surface);margin-left:-7px;border-radius:50%;background:var(--surface2);color:var(--blue);font-size:9px;font-weight:800}.divider{height:1px;background:var(--line);margin:18px 0}.step-num{background:var(--blue-soft);color:var(--blue);border-radius:10px;width:32px;height:32px;display:grid;place-items:center;font-weight:800}.resource-item{padding:18px;border:1px solid var(--line);border-radius:13px;background:var(--surface);display:flex;gap:13px;align-items:center}.offline-banner{background:var(--orange-soft);color:var(--orange);padding:10px 15px;border-radius:10px;font-size:12px;margin-bottom:16px;display:flex;gap:8px;align-items:center}.show-mobile{display:none}
@media(max-width:1050px){.shell{grid-template-columns:205px minmax(0,1fr)}.main{padding:26px 24px 60px}.layout{grid-template-columns:1fr}.grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.topbar{height:65px;padding:0 17px}.brand-symbol{width:36px;height:36px;border-radius:10px;font-size:25px}.brand-copy strong{font-size:14px}.brand-copy small{font-size:7px}.top-avatar,.theme-button,.demo-pill{display:none}.mobile-banner{display:block;background:var(--surface2);color:var(--muted);text-align:center;font-size:10px;padding:5px 7px}.shell{display:block;min-height:calc(100vh - 110px)}.sidebar{display:none}.main{padding:21px 15px 105px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:35;display:flex;justify-content:space-around;background:var(--surface);border-top:1px solid var(--line);padding:10px 4px calc(11px + env(safe-area-inset-bottom));box-shadow:0 -6px 20px #1224430c}.bottom-nav button{border:0;background:none;color:var(--muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:10px;font-weight:800;min-width:56px;max-width:78px;padding:2px}.bottom-nav button.active{color:var(--blue)}.bottom-nav button svg{width:21px;height:21px}.page-head{flex-wrap:wrap;gap:12px;margin-bottom:20px}.page-head h1{font-size:26px}.page-head .head-actions{width:100%}.hero{padding:23px;min-height:0}.hero h2{font-size:22px}.grid-3{grid-template-columns:1fr}.grid-4{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat{padding:15px}.stat strong{font-size:21px}.stat .stat-icon{margin-bottom:10px}.card{padding:18px}.layout.equal{grid-template-columns:1fr}.role-cards{grid-template-columns:1fr;gap:10px}.role-card{padding:16px}.role-card p{min-height:0}.feature-grid{grid-template-columns:1fr}.message-layout{grid-template-columns:1fr}.thread-list{border:0;border-bottom:1px solid var(--line)}.thread-list .thread-item:not(.active){display:none}.conversation{min-height:350px;padding:14px}.form-grid{grid-template-columns:1fr}.auth-card{padding:20px}.two-column-list{grid-template-columns:1fr}.welcome-hero{padding:26px}.welcome-hero h1{font-size:33px}.welcome-hero p{font-size:13px}.toast{bottom:90px;left:15px;right:15px;max-width:none}.show-mobile{display:block}}
@media(min-width:761px) and (max-width:950px){.role-cards{grid-template-columns:1fr}.feature-grid{grid-template-columns:repeat(2,1fr)}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Installation landing screen, shown when ?install=1 */
.install-overlay[hidden], .install-primary[hidden] { display:none!important; }
.install-overlay { position:fixed;inset:0;z-index:1000;background:#0a1730ee;display:flex;align-items:center;justify-content:center;overflow:auto;padding:22px;font-family:system-ui,-apple-system,Segoe UI,sans-serif; }
.install-card { background:#fff;color:#132844;width:min(100%,480px);max-height:calc(100dvh - 44px);overflow:auto;box-sizing:border-box;padding:clamp(22px,5vw,38px);border-radius:24px;text-align:center;box-shadow:0 25px 85px #0005; }
.install-icon { border-radius:17px;display:block;margin:0 auto 16px; }
.install-overline {font-size:11px;font-weight:800;letter-spacing:.16em;color:#246b74;margin:0 0 8px;}
.install-card h1 {font-size:clamp(24px,6vw,31px);line-height:1.2;margin:0 0 12px;}
.install-card p {font-size:14px;line-height:1.65;}
.install-status {background:#eef6ff;color:#234e83;border-radius:12px;padding:12px 14px;margin-top:22px;}
.install-instructions {text-align:left;background:#f5f7fb;border:1px solid #e0e7ef;border-radius:12px;padding:14px 16px;}
.install-primary,.install-secondary {font:inherit;cursor:pointer;border-radius:12px;padding:14px 18px;font-weight:750;width:100%;margin-top:9px;}
.install-primary {background:#165ed0;color:#fff;border:0;}
.install-secondary {background:white;color:#184680;border:1px solid #b8c9e4;}
.install-card small {display:block;color:#66768b;margin-top:18px;line-height:1.5;}
body.install-landing-active {overflow:hidden;}

/* Shared hackathon identity: dark industrial surfaces, red signals, dotted type. */
body{font-size:13px;font-variant-numeric:tabular-nums;transition:background-color .25s,color .25s}
body.light{color-scheme:light;--bg:#f4f4f0;--surface:#fff;--surface2:#eaece8;--text:#191d1e;--muted:#565f63;--line:#cfd4d0;--navy:#181c1e;--blue:#1d4ed8;--blue-soft:#e8efff;--teal:#246b50;--teal-soft:#e2f1e9;--orange:#825310;--orange-soft:#faf0db;--red:#1d4ed8;--red-soft:#e8efff;--accent-selection:#1d4ed8;--accent-glow:#2563eb66;--accent-wash:#2563eb19;--accent-halo:#2563eb55;--accent-hover:#2563eb1a;--accent-card:#2563eb0c;--hero-accent:#93b4ff;--badge-line:#354f7d;--badge-text:#a9c4ff;--badge-bg:#15213b}
::selection{background:var(--accent-selection);color:#fff}
.topbar{background:var(--bg);border-bottom-color:var(--line)}
.brand-symbol{border-radius:0;background:transparent;overflow:hidden}
.brand-symbol img{width:100%;height:100%;object-fit:contain}
body.light .brand-symbol img{filter:invert(1)}
.brand-copy strong{font-weight:600;letter-spacing:-.8px}.brand-dot{color:var(--blue)}
.brand-copy small{letter-spacing:1px;font-weight:400}.demo-pill,.pill{color:var(--blue);border:1px solid var(--line);background:var(--surface);border-radius:4px}
.demo-dot{box-shadow:0 0 9px var(--accent-glow)}.avatar{border-radius:6px}
.sidebar{background:var(--bg)}.side-heading{font-weight:500;font-size:9px}.nav-link{border-radius:4px;font-weight:500;position:relative}
.nav-link.active{box-shadow:inset 2px 0 var(--blue)}.sidebar-card{background:var(--surface2);border:1px solid var(--line);border-radius:6px}
.sidebar-card button{background:var(--blue-soft);color:var(--blue);border-radius:3px}
.page-head h1,.auth-card h1{font-family:Doto,monospace;font-weight:800;letter-spacing:-1px}
.page-head h1{font-size:clamp(28px,3.5vw,42px)}.eyebrow{color:var(--blue);font-size:10px;font-weight:500;letter-spacing:1.5px}
.card,.feature,.role-card,.resource-item,.message-layout,.auth-card,.field-card,.illustration-box{border-radius:8px}
.card h2,.section-title{font-size:14px;font-weight:500;letter-spacing:-.4px}
.btn,.hero-btn,.icon-button,.tab,.role-select,.small-select,.search,.field input,.field select,.field textarea,.field .fake-input,.chat-compose input{border-radius:4px}
.btn{font-weight:600}.btn:not(.secondary):not(.soft):not(.textbutton),.btn.teal,.hero-btn,.welcome-hero .btn{background:var(--blue);color:#fff}
.btn.dark{background:#252b2e;color:#fff}.btn.secondary{background:var(--surface);color:var(--text);border-color:var(--line)}
.hero,.welcome-hero{background:radial-gradient(ellipse at 100% 0,var(--accent-wash),transparent 65%),#0b0d0e;border:1px solid #303031;border-radius:8px;color:#e7e9e7}
.welcome-hero:before,.hero:before{content:'';position:absolute;inset:0;background-image:radial-gradient(#ffffff24 .8px,transparent .8px);background-size:9px 9px;mask-image:linear-gradient(90deg,transparent 40%,#000);pointer-events:none}
.welcome-hero:after,.hero:after{content:'';width:240px;height:240px;background:url('../logo-bit.svg') center/contain no-repeat;top:10px;right:-55px;opacity:.08;transform:rotate(-12deg);pointer-events:none}
.welcome-hero h1{font-family:Doto,monospace;font-weight:800;font-size:clamp(36px,4.8vw,60px);letter-spacing:-1.6px;line-height:1.12}
.hero h2{font-weight:500}.welcome-hero p,.hero p{color:#a5adaf}.hero .eyebrow{color:var(--hero-accent)}
.welcome-badge{border:1px solid var(--badge-line);color:var(--badge-text);background:var(--badge-bg);border-radius:3px;letter-spacing:1px;font-size:9px;font-weight:500}
.welcome-hero .btn.secondary{background:transparent;border-color:#495055;color:#e7e9e7}
.role-card strong{font-weight:500}.role-card .circle,.item-icon,.stat .stat-icon,.thread-icon{border-radius:5px}
.role-card:hover{border-color:var(--blue)}.chip{font-weight:500;border-radius:3px;font-size:10px}
.notice{border:1px solid var(--line);border-radius:5px;color:var(--text)}.notice.warning{color:var(--orange)}.notice.green{color:var(--teal)}
.illustration-box,.fake-video{background:var(--surface2);color:var(--text);border:1px solid var(--line)}.illustration-box p,.fake-video small{color:var(--muted)}
.progress-bar,.progress-bar>span,.steps span{border-radius:1px}.progress-bar>span{transform-origin:left;animation:meter-in .65s ease-out both}
.tab.active{background:var(--blue-soft);color:var(--blue);border-color:var(--blue)}.thread-item{border-radius:4px}
.toast{background:var(--surface2);color:var(--text);border:1px solid var(--line);border-left:3px solid var(--blue);border-radius:5px;box-shadow:0 16px 50px #0005}
.toast.show{animation:toast-in .28s ease-out}.switch{background:var(--line)}.switch.on{background:var(--teal)}.switch:after{box-shadow:none;transition:left .22s cubic-bezier(.2,.8,.2,1)}
input[type=range]{--score-fill:0%;appearance:none;height:5px;border-radius:0;background:linear-gradient(to right,var(--blue) var(--score-fill),var(--line) var(--score-fill));cursor:pointer}
input[type=range]::-webkit-slider-thumb{appearance:none;width:17px;height:17px;background:var(--text);border:3px solid var(--blue);border-radius:3px;transition:transform .15s,box-shadow .15s}
input[type=range]::-moz-range-thumb{width:12px;height:12px;background:var(--text);border:3px solid var(--blue);border-radius:3px}
input[type=range]:active::-webkit-slider-thumb{transform:scale(1.25);box-shadow:0 0 15px var(--accent-halo)}
input[type=checkbox]{accent-color:var(--blue)}.field:focus-within label{color:var(--blue)}
.field input:focus,.field textarea:focus,.field select:focus,.chat-compose input:focus{border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-soft)}
.checkline input{transition:transform .18s}.checkline input:checked{transform:scale(1.12)}
.install-overlay{background:#000e;font-family:inherit}.install-card{background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:8px;animation:screen-in .45s ease-out}
.install-icon{border-radius:0;filter:drop-shadow(0 0 12px #ffffff24)}body.light .install-icon{filter:invert(1)}
.install-overline{color:var(--blue);font-weight:500}.install-card h1{font-family:Doto,monospace;font-weight:800}
.install-status{background:var(--blue-soft);color:var(--text);border-radius:4px}.install-instructions{background:var(--surface2);border-color:var(--line);border-radius:4px}
.install-primary,.install-secondary{border-radius:4px}.install-primary{background:var(--blue)}.install-secondary{background:var(--surface);color:var(--text);border-color:var(--line)}.install-card small{color:var(--muted)}
/* State changes and direct manipulation feedback. */
button,a,input,select,textarea{ -webkit-tap-highlight-color:transparent;transition:background-color .2s,border-color .2s,color .2s,box-shadow .2s,transform .2s}
button{touch-action:manipulation}button:active:not(:disabled){transform:scale(.97)}
button.press-feedback{animation:control-tap .32s ease-out}.control-changed{animation:control-change .5s ease-out}
.motion-enter{animation:screen-in .5s cubic-bezier(.2,.8,.2,1) both;animation-delay:var(--enter-delay,0ms)}
.score-line output{display:inline-block;min-width:2ch;color:var(--blue)}.score-line.is-adjusting{background:var(--blue-soft);border-radius:4px}
.score-line{transition:background .2s}.bottom-nav button.active .icon{animation:nav-in .3s ease-out}
@media(hover:hover){.btn:hover,.hero-btn:hover,.install-primary:hover{filter:brightness(1.15);box-shadow:0 4px 18px var(--accent-hover);transform:translateY(-2px)}.btn.secondary:hover,.nav-link:hover,.thread-item:hover,.tab:hover,.icon-button:hover{background:var(--surface2);border-color:var(--blue)}.role-card:hover{transform:translateY(-4px);box-shadow:0 8px 28px var(--accent-card)}.brand:hover .brand-symbol{filter:drop-shadow(0 0 8px #ffffff55)}}
/* A bounded startup sequence; the app remains usable without JavaScript. */
.boot-screen[hidden]{display:none!important}.boot-screen{position:fixed;inset:0;z-index:2000;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#000;color:#e7e9e7;opacity:1;transition:opacity .45s,visibility .45s;padding:24px;text-align:center}
body.is-booting{overflow:hidden}.boot-screen.is-leaving{opacity:0;visibility:hidden;pointer-events:none}
.boot-mark{position:relative;width:180px;height:180px;margin-bottom:26px;animation:logo-arrive .75s ease-out both}
.boot-mark:before{content:'';position:absolute;inset:20%;border-radius:50%;background:#fff;filter:blur(48px);opacity:.16;animation:halo-breathe 2.2s ease-in-out infinite}
.boot-mark img{position:relative;display:block;width:100%;height:100%;object-fit:contain;animation:logo-glow 2.2s ease-in-out infinite}
.boot-title{font-size:12px;letter-spacing:.16em;margin:0 0 18px}.boot-title span{color:#fff}
.boot-label{font-family:Doto,monospace;font-size:25px;font-weight:800;letter-spacing:.12em;margin:0 0 20px;text-shadow:0 0 14px #ffffff80;display:flex;align-items:baseline;gap:8px}
.loading-dots{display:inline-flex;gap:4px}.loading-dots i{width:3px;height:3px;background:#fff;animation:loading-dot 1.2s ease-in-out infinite}.loading-dots i:nth-child(2){animation-delay:.16s}.loading-dots i:nth-child(3){animation-delay:.32s}
.boot-track{width:160px;height:2px;background:#252528;overflow:hidden}.boot-track span{display:block;width:40%;height:100%;background:#fff;animation:loading-scan 1.3s ease-in-out infinite}
.boot-screen small{color:#92999c;font-size:8px;letter-spacing:.12em;margin-top:28px}
@keyframes screen-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
@keyframes meter-in{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes toast-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes control-tap{50%{box-shadow:0 0 0 4px var(--blue-soft)}}
@keyframes control-change{50%{box-shadow:0 0 0 3px var(--blue-soft)}}
@keyframes nav-in{50%{transform:translateY(-4px)}to{transform:translateY(0)}}
@keyframes logo-arrive{from{opacity:0;transform:scale(.9) translateY(8px)}to{opacity:1;transform:scale(1) translateY(0)}}
@keyframes logo-glow{0%,100%{filter:drop-shadow(0 0 10px #ffffff66);transform:translateY(0)}50%{filter:drop-shadow(0 0 20px #ffffffaa) drop-shadow(0 0 36px #ffffff66);transform:translateY(-5px)}}
@keyframes halo-breathe{50%{opacity:.3;transform:scale(1.2)}}
@keyframes loading-dot{0%,80%,100%{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-4px)}}
@keyframes loading-scan{from{transform:translateX(-100%)}to{transform:translateX(350%)}}
@media(max-width:760px){.topbar{padding-top:env(safe-area-inset-top);height:calc(65px + env(safe-area-inset-top))}.theme-button{display:grid;width:32px;height:32px}.topbar-right{gap:0}.brand-copy small{letter-spacing:.6px}.mobile-banner{border-bottom:1px solid var(--line)}.welcome-hero h1{font-size:clamp(32px,9vw,46px)}.welcome-hero{padding:24px 20px}.welcome-badge{font-size:8px;letter-spacing:0}.welcome-hero .inline-items .btn{white-space:normal;text-align:left}.bottom-nav{background:var(--bg);box-shadow:0 -8px 30px #0003}.bottom-nav button{position:relative}.bottom-nav button.active:before{content:'';position:absolute;top:-11px;width:20px;height:2px;background:var(--blue)}.page-head h1{font-size:30px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}.boot-mark img{filter:drop-shadow(0 0 10px #ffffff55)}}
.sidebar-card{color:var(--text)}
