:root{font-family:"IBM Plex Sans","Segoe UI",sans-serif;color:#18324d;background:#eef4fb;font-size:13px;line-height:1.35;--blue:#123a72;--blue-2:#1d5aa6;--pale:#eef4fb;--line:#d5e1ee;--muted:#64788d;--danger:#b42318}
*{box-sizing:border-box}html,body{margin:0;height:100%;overflow:hidden;background:var(--pale)}button,input,textarea,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid rgba(37,99,235,.24);outline-offset:1px}.hidden{display:none!important}
.root{height:100dvh;overflow:hidden;display:grid;grid-template-rows:minmax(0,1fr) auto}.root.is-loading{visibility:hidden}.developer-footer{height:20px;display:grid;place-items:center;background:#f8fbff;border-top:1px solid var(--line);font-size:11px}.developer-footer a{color:#688096;text-decoration:none}
.splash{position:fixed;inset:0;z-index:1000;background:linear-gradient(155deg,#0d2d59,#164c8c);color:#fff;display:grid;place-items:center;align-content:center;gap:10px;transition:opacity .3s}.splash.fade{opacity:0}.splash-mark,.brand-mark{display:grid;place-items:center;color:#fff;font-weight:800}.splash-mark{font-size:80px;line-height:1}.splash-name{font-size:25px;font-weight:750}.splash-loader{width:54px;height:3px;background:rgba(255,255,255,.25);overflow:hidden;border-radius:2px}.splash-loader span{display:block;width:45%;height:100%;background:#fff;animation:load 1.2s infinite ease-in-out}.splash-credit{position:absolute;bottom:max(18px,env(safe-area-inset-bottom));font-size:11px;opacity:.68}@keyframes load{from{transform:translateX(-110%)}to{transform:translateX(230%)}}
.auth-view{height:100%;min-height:0;overflow-y:auto;display:grid;place-items:center;padding:20px}.auth-card{width:min(390px,100%);background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px;box-shadow:0 18px 50px rgba(22,50,78,.12)}.brand-row{display:flex;align-items:center;gap:8px;font-size:16px}.brand-mark{width:28px;height:28px;border-radius:8px;background:var(--blue);font-size:18px}.auth-card h1{font-size:26px;margin:18px 0 4px}.muted{color:var(--muted);margin:0}.stack{display:grid;gap:12px;margin-top:18px}label{font-weight:650;display:grid;gap:5px}input,textarea,select{width:100%;border:1px solid #c8d7e5;border-radius:8px;background:#fff;padding:9px 10px;color:#17324d;min-height:40px}textarea{resize:vertical}.primary,.secondary,.create-button{border:0;border-radius:8px;min-height:40px;padding:8px 14px;font-weight:700}.primary{background:var(--blue-2);color:#fff}.secondary{background:#e7eff8;color:#173f6d}.text-button{border:0;background:transparent;color:var(--blue-2);min-height:36px}.form-status{min-height:18px;color:#28704b;margin:8px 0 0}.form-status.error{color:var(--danger)}
.app-view{height:100%;min-height:0}.workspace-shell{height:100%;min-height:0;display:grid;grid-template-columns:164px minmax(0,1fr);grid-template-rows:minmax(0,1fr)}.sidebar{background:linear-gradient(180deg,#113867,#102e55);color:#fff;padding:8px;display:flex;flex-direction:column;min-height:0}.sidebar-brand{display:flex;align-items:center;gap:8px;padding:2px 4px 8px;font-size:15px}.sidebar-brand .brand-mark{background:rgba(255,255,255,.12)}.create-button{width:100%;background:#fff;color:#123a72;min-height:34px;padding:6px 8px}.create-button span{font-size:17px}.sidebar-label{font-size:10px;text-transform:uppercase;letter-spacing:.08em;opacity:.62;margin:14px 6px 5px}.launch-list{overflow:auto;display:grid;gap:3px}.launch-link,.nav-button{border:0;color:#fff;background:transparent;text-align:left;border-radius:7px;padding:7px 8px;min-height:32px}.launch-link{display:grid;gap:1px}.launch-link span{overflow:hidden;text-overflow:ellipsis}.launch-link small{font-size:10px;opacity:.66}.launch-link:hover,.launch-link.active,.nav-button:hover{background:rgba(255,255,255,.13)}.sidebar-empty{padding:8px;opacity:.65}.sidebar-bottom{margin-top:auto;display:grid;gap:3px}.nav-button{display:flex;gap:8px;align-items:center;width:100%}.content{min-width:0;overflow:auto;padding:16px 20px;background:var(--pale)}.mobile-header,.mobile-nav{display:none}
.page{max-width:1120px;margin:0 auto}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}.page-head h1{font-size:28px;line-height:1.1;margin:2px 0 0}.page-head p{margin:6px 0 0;color:var(--muted)}.eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:.09em;color:#57718b;font-weight:750}.progress-pill{background:#fff;border:1px solid var(--line);border-radius:10px;padding:7px 10px;display:grid;min-width:112px}.progress-pill strong{font-size:17px;color:var(--blue)}.progress-pill span{font-size:10px;color:var(--muted)}.tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin-bottom:10px}.tab{border:0;background:transparent;padding:8px 10px;color:#536b82;border-bottom:2px solid transparent}.tab.active{color:var(--blue);border-color:var(--blue-2);font-weight:750}.tab span{font-size:10px;background:#dde9f5;padding:2px 5px;border-radius:8px;margin-left:4px}.panel{background:#fff;border:1px solid var(--line);border-radius:10px;padding:14px}.panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.panel-head h2,.template-card h2{font-size:17px;margin:0}.panel-head p,.template-card p{margin:3px 0 0;color:var(--muted)}.open-badge{background:#fff5d8;color:#7a5700;border-radius:8px;padding:5px 8px;font-size:11px;white-space:nowrap}.passport-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.passport-field{border:1px solid var(--line);border-radius:8px;padding:10px;background:#fbfdff}.passport-field.deferred{background:#fffaf0;border-color:#f0d99c}.passport-field label{font-size:12px;margin-bottom:5px}.passport-field textarea{min-height:62px}.field-actions{display:flex;align-items:center;gap:10px;margin-top:6px}.small-button{border:0;background:#dfeaf6;color:#164a80;border-radius:6px;min-height:30px;padding:4px 9px;font-weight:700}.later{display:flex;grid-template-columns:auto 1fr;align-items:center;gap:4px;font-size:11px;font-weight:500;color:#6d7780}.later input{width:16px;min-height:16px;padding:0}.saved-state{margin-left:auto;font-size:10px;color:#657b8e}.panel-footer{display:flex;justify-content:flex-end;margin-top:12px}
.checklist{display:grid;gap:4px}.check-item{display:grid;grid-template-columns:22px minmax(0,1fr) 30px 30px;gap:6px;align-items:center;margin-left:calc(var(--depth) * 22px);border:1px solid var(--line);border-radius:7px;padding:5px 6px;background:#fff}.check-item.done{background:#f0f7f3}.check-item>input[type=checkbox]{width:18px;min-height:18px}.item-title{border:0;min-height:30px;padding:3px 4px;background:transparent}.check-item.done .item-title{text-decoration:line-through;color:#6d8074}.item-action{border:0;background:#edf3f9;color:#46657f;border-radius:6px;width:30px;height:30px}.item-action.danger{color:#a53c35}.inline-add{display:flex;gap:6px;margin-top:10px}.inline-add input{min-height:36px}.inline-add button{min-height:36px}.empty-state{min-height:60vh;display:grid;place-items:center;align-content:center;text-align:center;gap:8px}.empty-state h1{font-size:26px;margin:0}.empty-state p{max-width:430px;color:var(--muted);margin:0}.empty-icon{width:52px;height:52px;display:grid;place-items:center;background:#dce9f7;color:var(--blue);border-radius:14px;font-size:28px}.template-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px}.template-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:12px}.template-stats{display:flex;gap:6px;margin:12px 0}.template-stats span{font-size:10px;background:#edf3f9;padding:4px 6px;border-radius:6px}.template-card details{border-top:1px solid var(--line);padding-top:8px}.template-card summary{cursor:pointer;font-weight:700}.template-card form{display:flex;gap:5px;margin-top:7px}.template-card form input{min-height:34px}.dialog{border:0;background:transparent;padding:12px;width:min(520px,100%);max-height:100dvh}.dialog::backdrop{background:rgba(13,37,63,.48)}.dialog-card{background:#fff;border-radius:12px;padding:16px;display:grid;gap:12px;max-height:calc(100dvh - 24px);overflow:auto}.dialog-head{display:flex;justify-content:space-between;gap:10px}.dialog-head h2{font-size:20px;margin:0}.dialog-head p{color:var(--muted);margin:3px 0}.icon-button{border:0;background:#edf3f9;border-radius:7px;width:34px;height:34px;font-size:20px}.dialog-actions{display:flex;justify-content:flex-end;gap:6px}
@media(max-width:700px){.root{grid-template-rows:minmax(0,1fr) auto}.developer-footer{height:calc(20px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}.workspace-shell{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr) 56px;height:100%}.sidebar{display:none}.mobile-header{display:flex;align-items:center;justify-content:space-between;background:var(--blue);color:#fff;min-height:calc(48px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 10px 0}.mobile-header .brand-mark{background:rgba(255,255,255,.12)}.mobile-header .icon-button{background:rgba(255,255,255,.13);color:#fff}.content{padding:10px 10px 12px}.mobile-nav{display:grid;grid-template-columns:repeat(3,1fr);background:#fff;border-top:1px solid var(--line);height:56px}.mobile-nav button{border:0;background:transparent;color:#446078;display:grid;place-items:center;align-content:center;gap:2px;min-height:44px}.mobile-nav button span{font-size:20px;line-height:1}.mobile-nav small{font-size:10px}.page-head h1{font-size:24px}.page-head{margin-bottom:10px}.progress-pill{min-width:92px;padding:6px 8px}.panel{padding:10px;border-radius:10px}.passport-grid{grid-template-columns:1fr}.panel-head{align-items:flex-start}.field-actions{flex-wrap:wrap}.saved-state{margin-left:0}.check-item{grid-template-columns:22px minmax(0,1fr) 44px 44px;margin-left:min(calc(var(--depth) * 12px),36px);padding:4px}.item-action{width:44px;height:44px}.inline-add{align-items:stretch}.inline-add button{min-height:44px}.template-grid{grid-template-columns:1fr}.auth-view{padding:10px}.auth-card{padding:18px}.dialog{margin:auto}.dialog-actions{display:grid;grid-template-columns:1fr 2fr}.dialog-actions button{min-height:44px}}
@media(max-width:380px){.content{padding-inline:8px}.page-head{display:grid}.progress-pill{display:flex;gap:5px;align-items:baseline;width:max-content}.open-badge{white-space:normal}.inline-add{display:grid}}
