:root{font-family:Inter,system-ui,sans-serif;color:#e9efed;background:#101717;color-scheme:dark;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{border-radius:12px}button{cursor:pointer;border:1px solid #39564e;background:#203b33;color:#eef5f1;padding:11px 17px}button:hover{background:#305247}button:disabled{cursor:wait;opacity:.5}button.primary{background:#ff8252;border-color:#ff8252;color:#201710;font-weight:700}a{color:#5ed5b5;text-decoration:none}input,select,textarea{width:100%;border:1px solid #395149;background:#0f211d;color:#edf5f1;padding:12px;outline-offset:4px}label{display:block;font-size:14px;color:#b0c9c0;margin-bottom:8px}h1,h2,h3,p{margin-top:0}h1{font-size:27px}h2{font-size:20px}h3{font-size:16px}.shell{max-width:1250px;margin:auto;padding:28px}.top{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:26px}.brand{color:#ff8252;font-weight:800}.muted{color:#94ada4;font-size:14px;line-height:1.6}.steps{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.step{padding:8px 14px;border:1px solid #30463f;border-radius:30px;color:#849d94}.step.active{color:#63dbb9;border-color:#418c76;background:#193c30}.panel{background:#182521;border:1px solid #30483e;border-radius:20px;padding:24px;margin-bottom:20px}.auth{max-width:600px;margin:40px auto}.row{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}.row>.field{flex:1;min-width:180px}.grid{display:grid;grid-template-columns:1fr 1.6fr;gap:20px}.stack{display:grid;gap:16px}.record-list{display:grid;gap:8px;margin-top:16px}.record-button{text-align:left;background:#10271f;width:100%}.record-button.selected{border-color:#65d4b0}.badge{font-size:12px;border-radius:20px;background:#29443a;padding:5px 10px;color:#ace6d0}.status{padding:14px 18px;border-radius:12px;background:#193c30;color:#b1efcf;margin-bottom:20px;white-space:pre-wrap;overflow-wrap:anywhere}.status.error{background:#422a26;color:#ffd2c6}.status:empty{display:none}textarea{min-height:220px;resize:vertical;line-height:1.6}.checkpoint{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #30483e;padding:14px 0}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.danger{border-color:#c88068}.hide{display:none!important}.intro{max-width:760px;line-height:1.7}.confirm{border:1px solid #d79a6f;padding:16px;border-radius:14px;background:#352a21;margin-top:16px}@media(max-width:750px){.shell{padding:18px}.grid{grid-template-columns:1fr}.top{align-items:flex-start}.panel{padding:18px}.row button{width:100%}}:root pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.6;background:#10211b;padding:14px;border-radius:12px}.mcp-setup-panel{margin-top:24px}.mcp-setup-panel h3{margin:0}:root{--canvas:#101917;--surface:#192822;--border:#3e594d;--text:#edf5f0;--muted:#b0c5ba;--mint:#79e1bf;--accent:#ff956a;font-family:Inter,Noto Sans Thai,system-ui,sans-serif;color:var(--text);background:var(--canvas)}button,input,select,textarea{min-height:44px;min-width:0}button{line-height:1.4}button:disabled{opacity:.58}button[data-unavailable=prerequisite]:disabled{cursor:not-allowed}button.primary{background:var(--accent);border-color:var(--accent);color:#25180e}button.primary:hover:not(:disabled){background:#ffaf8c;border-color:#ffaf8c}:is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #f9cc7e;outline-offset:4px}a:hover{text-decoration:underline}input,select,textarea{border-color:var(--border)}input[type=checkbox]{width:24px;min-height:24px;vertical-align:middle}input[type=file]{overflow:hidden}label,.muted{color:var(--muted);line-height:1.7}h1,h2,h3,p{overflow-wrap:anywhere}h1{font-size:clamp(24px,3vw,32px);letter-spacing:-.025em;margin-bottom:8px}h2{font-size:22px;line-height:1.45}h3{font-size:18px;line-height:1.5}.shell{max-width:1440px;padding:32px}.top{margin-bottom:16px}.top p{margin-bottom:0}.brand{color:var(--accent);display:inline-flex;align-items:center;min-height:44px}.top+nav a{display:inline-flex;min-width:44px;min-height:44px;align-items:center;justify-content:center}.intro{max-width:780px;margin:12px 0}.step{color:var(--muted);border-color:var(--border);font-size:14px}.step.active{color:var(--mint);border-color:#539e7d;background:#1c3b2d}.panel{background:var(--surface);border-color:var(--border);border-radius:16px;min-width:0}.auth{max-width:620px;margin:32px auto}.auth #check-service{margin-bottom:20px}.auth #auth-submit{width:100%}.auth #service-status:empty{display:none}.row>.field{min-width:min(180px,100%)}.grid{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr)}.badge{display:inline-block;vertical-align:middle;letter-spacing:0;color:#bfefdb;background:#2b493a}.status,.local-feedback{line-height:1.6;overflow-wrap:anywhere;background:#1d3e2e;color:#caf5d9}.local-feedback{padding:14px 18px;border-radius:12px;white-space:pre-wrap;margin:12px 0 0;font-size:14px}.status.error,.local-feedback.error{background:#472b25;color:#ffc6b7}.local-feedback:empty{display:none}textarea{line-height:1.7}.checkpoint{overflow-wrap:anywhere}.checkpoint>span{min-width:0}.checkpoint>button{flex-shrink:0}summary{cursor:pointer;min-height:44px;padding:12px 0;color:var(--mint)}details.actions{display:block}.danger{border-color:#d39d84;color:#ffc6b7}:root pre{max-width:100%}.workspace-context{margin-top:24px}.workspace-context>h2{margin-bottom:16px}.workspace-context #revision{margin:16px 0 0;color:var(--mint)}.workspace-layout{display:grid;grid-template-columns:224px minmax(0,1fr);gap:24px;align-items:start}.workspace-navigation{display:grid;gap:6px;position:sticky;top:24px;padding:12px;background:#14221c;border:1px solid var(--border);border-radius:16px}.workspace-navigation button{text-align:left;background:transparent;border-color:transparent;font-weight:600}.workspace-navigation button[aria-current=page]{background:#254d39;color:#c7ffe2;border-color:#589f7b}.workspace-content,.workspace-view{min-width:0}#workspace-heading{margin:4px 0 20px}#workspace-heading:focus-visible{outline:3px solid #f9cc7e;outline-offset:4px}.workspace-view>.panel:last-child{margin-bottom:0}.eyebrow{display:block;color:var(--mint);font-size:12px;font-weight:750;letter-spacing:.08em;margin-bottom:12px}.journey h3{font-size:clamp(22px,3vw,28px)}.journey-checklist{list-style:none;padding:0;display:grid;gap:10px;counter-reset:journey;margin:24px 0}.journey-checklist li{counter-increment:journey;display:flex;gap:12px;align-items:center;line-height:1.6;color:var(--muted)}.journey-checklist li:before{content:counter(journey);display:grid;place-items:center;flex:0 0 32px;height:32px;border:1px solid var(--border);border-radius:50%;font-size:13px}.journey-checklist li.complete{color:#c5f3db}.journey-checklist li.complete:before{content:"✓";border-color:#5da27a;background:#254c36}.optional-note{margin:20px 0 0;max-width:660px}.empty-state{padding:32px;border-style:dashed}.record-button{overflow-wrap:anywhere}.record-button.selected{border-color:var(--mint);background:#234835}.editor-back{display:none}@media(max-width:1050px){.workspace-layout{grid-template-columns:190px minmax(0,1fr);gap:16px}.grid{grid-template-columns:1fr}}@media(max-width:750px){.shell{padding:18px}.top{gap:12px}.top #logout{padding-inline:12px}.workspace-layout{grid-template-columns:minmax(0,1fr);gap:20px}.workspace-navigation{position:static;grid-template-columns:repeat(2,minmax(0,1fr));padding:8px;gap:4px}.workspace-navigation button{padding:11px;font-size:14px}.row>button{width:100%}.row>.field{flex-basis:100%}.auth{margin:24px auto}.steps{gap:6px}.step{font-size:12px;padding:8px 10px}.grid{gap:0}#cloud-view-work #record-editor{display:none}#cloud-view-work.show-editor #record-editor{display:block}#cloud-view-work.show-editor #project-work>.grid>.panel:first-child{display:none}.editor-back{display:block;margin-bottom:20px}.checkpoint{flex-wrap:wrap;gap:10px}.checkpoint>span{flex-basis:100%}#journey-next{width:100%}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}#workspace-context-summary{font-size:18px;font-weight:700;color:var(--text);overflow-wrap:anywhere}#workspace-context-details[open]>summary{margin-bottom:12px}.signed-in .intro,.signed-in .steps{display:none}.mcp-client-choice{margin:24px 0 16px;gap:8px}.mcp-client-choice .muted{margin-bottom:0}.mcp-scope-note{padding:16px;border:1px solid #65937a;border-radius:12px;background:#1c3427;line-height:1.7;color:#d2ead9}.mcp-progress{display:grid;gap:8px;margin:20px 0}.mcp-progress p{margin:0;padding:12px 16px;border-left:3px solid #719c85;background:#12241b;line-height:1.7;font-size:14px}.mcp-progress #mcp-native-state{border-left-color:#e7b46e;color:#eddcc2}.mcp-verification{margin:24px 0;padding:20px;border:1px solid var(--border);border-radius:12px}.mcp-verification ol{padding-left:24px;line-height:1.8}.mcp-verification li+li{margin-top:8px}.mcp-verification a{display:inline-flex;align-items:center;min-height:44px}#mcp-grant-metadata{overflow-wrap:anywhere}#mcp-config-details{margin-bottom:16px}.handoff-composer{padding:20px;border:1px solid #6b9d80;border-radius:12px;background:#152e20;gap:8px}.handoff-composer h3{margin-bottom:0}.handoff-composer textarea{min-height:100px}.handoff-composer label{margin-top:12px;margin-bottom:0;font-weight:650}.checkpoint-timeline{margin-top:20px;border-left:2px solid #50715c;padding-left:16px}.checkpoint-timeline .checkpoint{position:relative}.checkpoint-timeline .checkpoint:before{content:"";position:absolute;left:-22px;top:24px;width:10px;height:10px;border-radius:50%;background:var(--mint)}#restore-confirm[role=dialog]{line-height:1.7}.billing-current-card,.billing-payment-card{padding:20px;border:1px solid var(--border);border-radius:12px;margin:20px 0;background:#12271c}.billing-current-card{border-color:#5f9878}.billing-payment-card{border-color:#b99965}#billing-status.error{color:#ffc6b7}#billing-checkout-link{display:inline-flex;min-height:44px;align-items:center;padding:10px 16px;border:1px solid var(--mint);border-radius:12px;margin-bottom:16px}#billing-payment-status{line-height:1.7;overflow-wrap:anywhere}#plan-catalog{grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));margin-bottom:20px}#plan-catalog>.panel{margin:0;padding:20px}@media(max-width:750px){.signed-in .shell{padding-top:12px}.signed-in .top{margin-bottom:0}.signed-in .top .muted{display:none}.signed-in h1{font-size:22px;margin-bottom:0}.signed-in .workspace-context{margin-top:12px;margin-bottom:16px;padding:12px 16px}.signed-in #workspace-context-summary{font-size:15px;line-height:1.6;padding:8px 0}.signed-in .workspace-navigation{grid-template-columns:repeat(3,minmax(0,1fr))}.signed-in .workspace-navigation button{font-size:12px;padding:10px 6px}.signed-in #workspace-heading{margin:0 0 12px}.signed-in .workspace-layout{gap:16px}}.auth [hidden]{display:none!important}.auth{max-width:500px;padding:28px 32px;box-shadow:0 20px 70px #0003}.auth-kicker{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:750;letter-spacing:.15em;color:var(--mint)}.auth-title-icon{display:grid;place-items:center;width:28px;height:28px;border:1px solid #527664;border-radius:9px;background:#203b31}.auth-title-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.auth h2{font-size:28px;margin:12px 0 6px}.auth #auth-help{margin:0 0 18px}.auth-tabs{display:flex;gap:6px;padding:5px;background:#0c1914;border-radius:12px;margin-bottom:18px}.auth-tabs button{flex:1;background:transparent;border-color:transparent;padding:10px}.auth-tabs button[aria-pressed=true]{background:#294737;color:#fff;border-color:#587864}.auth .stack{gap:14px}.auth input{min-height:48px;border-radius:10px}.auth #auth-submit{margin-top:6px;min-height:50px;font-weight:700}.auth-note{font-size:13px;line-height:1.55;color:var(--muted);margin:12px 0 0}.auth-note:empty{display:none}.auth-divider{display:flex;gap:14px;align-items:center;color:var(--muted);font-size:13px;margin:16px 0}.auth-divider:before,.auth-divider:after{content:"";height:1px;background:var(--border);flex:1}#google-login{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;background:#fff;border-color:#d9dedb;color:#17211d;font-weight:700}#google-login:hover:not(:disabled){background:#f1f5f3}#google-login:disabled{background:#dfe5e2;color:#65736c;cursor:not-allowed}.google-icon{width:20px;height:20px;flex:0 0 20px}.google-option>p:last-child{margin:7px 0 0;text-align:center}.google-option #google-availability{margin-top:8px;text-align:center}#backend-settings{order:10;font-size:13px}#backend-settings summary{font-size:13px}.auth #service-status:not(:empty),.auth #google-option p{font-size:12px}.shell:has(#auth:not(.hide))>.intro,.shell:has(#auth:not(.hide))>.steps{display:none}.shell:has(#auth:not(.hide)){padding-top:14px}.shell:has(#auth:not(.hide))>.top{margin-bottom:2px}.shell:has(#auth:not(.hide))>.top h1{font-size:22px;margin:4px 0 0}.shell:has(#auth:not(.hide))>.top p{display:none}.shell:has(#auth:not(.hide))>nav[aria-label=Language]{margin-bottom:2px}.shell:has(#auth:not(.hide))>.auth{margin:4px auto 0}@media(max-width:750px){.shell:has(#auth:not(.hide)){padding:10px 16px 24px}.shell:has(#auth:not(.hide))>.top{align-items:center}.shell:has(#auth:not(.hide))>.top h1{font-size:19px}.shell:has(#auth:not(.hide))>.top .badge{font-size:10px}.shell:has(#auth:not(.hide))>nav[aria-label=Language]{font-size:14px}.auth{width:100%;padding:22px 20px;margin:4px auto 0}.auth h2{font-size:24px}.auth-tabs{margin-bottom:16px}}@media(max-width:380px){.shell:has(#auth:not(.hide)){padding-inline:10px}.auth{padding:20px 16px}.auth-tabs button{padding-inline:7px;font-size:14px}.auth h2{font-size:22px}}.cloud-kanban{display:grid;grid-template-columns:repeat(6,minmax(220px,1fr));gap:14px;overflow-x:auto;padding:8px 0 16px;min-height:220px}.cloud-kanban-column{background:#10231c;border:1px solid var(--border);border-radius:14px;padding:14px;min-width:0}.cloud-kanban-column h3{font-size:15px;margin:0 0 16px}.cloud-task-card{background:#1b342a;border:1px solid #34594a;border-radius:12px;padding:12px;margin:10px 0;overflow-wrap:anywhere}.cloud-task-card>button{background:transparent;border:0;padding:0;text-align:left;font-weight:700;width:100%}.cloud-task-card p{font-size:13px;line-height:1.6;white-space:pre-wrap}.cloud-task-card select{width:100%;font-size:13px;padding:8px}.cloud-mission>.row input{flex:1;min-width:160px}.cloud-mission{margin-top:16px;padding:18px}@media(max-width:750px){.cloud-kanban{grid-template-columns:repeat(6,minmax(240px,80vw))}.cloud-mission{padding:12px}.cloud-mission>.row{flex-wrap:wrap}}
