@font-face{font-family:Noto Sans Thai Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/noto-sans-thai-thai-wght-normal-CtQSZ1tK.woff2)format("woff2-variations");unicode-range:U+2D7,U+303,U+331,U+E01-E5B,U+200C-200D,U+25CC}@font-face{font-family:Noto Sans Thai Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/noto-sans-thai-latin-ext-wght-normal-DH1q_yQ5.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Noto Sans Thai Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/noto-sans-thai-latin-wght-normal-Bi3VDbYN.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.grid{display:grid}.hidden{display:none}}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f2f4ef;--surface:#fbfcf9;--surface-2:#eef1eb;--surface-3:#e4e9e2;--text:#17201a;--muted:#68736b;--border:#dbe1da;--accent:#176b4f;--accent-strong:#0d513b;--accent-soft:#dff2e9;--positive:#187c58;--negative:#c54d4d;--warning:#9c651e;--shadow:0 18px 50px #1d2b2214}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#101512;--surface:#171e19;--surface-2:#1d2620;--surface-3:#28332b;--text:#edf3ee;--muted:#9daaa1;--border:#2b382f;--accent:#54c997;--accent-strong:#8addb8;--accent-soft:#18382b;--positive:#67d2a4;--negative:#ff8e8e;--warning:#edbd72;--shadow:0 18px 50px #0000003d}*{box-sizing:border-box}html{background:var(--bg);color:var(--text);font-family:Noto Sans Thai Variable,Noto Sans Thai,system-ui,sans-serif}body{background:var(--bg);min-width:320px;min-height:100vh;margin:0}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{color:inherit}a{color:var(--accent)}.icon-button{border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:12px;place-items:center;width:38px;height:38px;transition:all .2s;display:inline-grid}.icon-button:hover{background:var(--surface-2);transform:translateY(-1px)}.primary-button,.secondary-button,.ghost-button,.danger-button{cursor:pointer;border:1px solid #0000;border-radius:11px;justify-content:center;align-items:center;gap:7px;min-height:40px;padding:0 15px;font-weight:650;transition:all .18s;display:inline-flex}.primary-button{background:var(--accent);color:#fff}:root[data-theme=dark] .primary-button{color:#0c1b13}.primary-button:hover{background:var(--accent-strong)}.primary-button:disabled{opacity:.5;cursor:not-allowed}.secondary-button{border-color:var(--border);background:var(--surface-2)}.ghost-button{border-color:var(--border);background:0 0}.danger-button{color:var(--negative);background:var(--negative)}@supports (color:color-mix(in lab, red, red)){.danger-button{background:color-mix(in srgb, var(--negative) 8%, transparent)}}.danger-button{border-color:var(--negative)}@supports (color:color-mix(in lab, red, red)){.danger-button{border-color:color-mix(in srgb, var(--negative) 20%, transparent)}}.eyebrow{color:var(--accent);letter-spacing:.11em;text-transform:uppercase;align-items:center;gap:6px;font-size:12px;font-weight:800;display:inline-flex}.boot-screen{min-height:100vh;color:var(--muted);place-content:center;justify-items:center;gap:14px;display:grid}.brand-mark{color:#fff;letter-spacing:-.03em;background:var(--accent);border-radius:13px 5px;place-items:center;width:40px;height:40px;font-size:13px;font-weight:850;display:grid}:root[data-theme=dark] .brand-mark{color:#0d1a13}.gate{background:radial-gradient(circle at 15% 15%, var(--accent), transparent 30%), var(--bg);flex-direction:column;min-height:100vh;padding:24px clamp(18px,5vw,72px);display:flex}@supports (color:color-mix(in lab, red, red)){.gate{background:radial-gradient(circle at 15% 15%, color-mix(in srgb, var(--accent) 11%, transparent), transparent 30%), var(--bg)}}.gate>header{justify-content:space-between;align-items:center;display:flex}.gate-brand{color:var(--text);align-items:center;gap:10px;font-weight:800;text-decoration:none;display:flex}.gate-brand>span{color:#fff;background:var(--accent);border-radius:11px 4px;place-items:center;width:34px;height:34px;font-size:11px;display:grid}.gate>footer{text-align:center;color:var(--muted);margin-top:auto;font-size:12px}.login-card{background:var(--surface);border:1px solid var(--border);width:min(1040px,100%);min-height:560px;box-shadow:var(--shadow);border-radius:28px;grid-template-columns:1.2fr .8fr;margin:auto;display:grid;overflow:hidden}.login-copy{background:linear-gradient(145deg, var(--surface), var(--accent-soft));flex-direction:column;justify-content:center;padding:clamp(40px,7vw,86px);display:flex}.login-copy h1{letter-spacing:-.025em;margin:18px 0;font-size:clamp(42px,6vw,72px);line-height:1.08}.login-copy>p{max-width:510px;color:var(--muted);font-size:17px;line-height:1.7}.trust-row{color:var(--muted);flex-wrap:wrap;gap:18px;margin-top:28px;font-size:13px;display:flex}.trust-row span{align-items:center;gap:7px;display:flex}.login-action{text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:42px;display:flex}.line-orb{color:#fff;background:#06c755;border-radius:22px;place-items:center;width:68px;height:68px;font-size:13px;font-weight:850;display:grid;box-shadow:0 15px 35px #06c75533}.login-action h2{margin:24px 0 8px;font-size:22px}.login-action p{color:var(--muted);margin:0 0 24px;line-height:1.6}.line-button{color:#fff;background:#06c755;border-radius:14px;justify-content:center;align-items:center;gap:12px;width:100%;min-height:52px;font-weight:750;text-decoration:none;display:flex}.login-action small{color:var(--muted);margin-top:16px}.state-card{text-align:center;background:var(--surface);border:1px solid var(--border);width:min(560px,100%);box-shadow:var(--shadow);border-radius:26px;margin:auto;padding:clamp(32px,6vw,60px)}.state-icon{background:var(--accent-soft);width:76px;height:76px;color:var(--accent);border-radius:50%;place-items:center;margin:0 auto 24px;display:grid}.state-icon svg{width:30px;height:30px}.state-icon.pending svg{animation:2.4s linear infinite spin}.state-card h1{margin:12px 0;font-size:clamp(27px,5vw,38px)}.state-card p{color:var(--muted);line-height:1.7}.state-actions{justify-content:center;gap:10px;margin-top:28px;display:flex}.app-shell{grid-template-columns:280px minmax(0,1fr);height:100dvh;min-height:0;display:grid;overflow:hidden}.sidebar{z-index:20;background:var(--surface);border-right:1px solid var(--border);flex-direction:column;height:100vh;padding:22px 16px 16px;display:flex;position:sticky;top:0}.brand-row{align-items:center;gap:11px;padding:0 6px 22px;display:flex}.brand-row>div:nth-child(2){display:grid}.brand-row strong{font-size:14px}.brand-row span{color:var(--muted);font-size:11px}.brand-row .mobile-only{margin-left:auto}.new-plan-button{color:#fff;background:var(--accent);cursor:pointer;border:0;border-radius:12px;justify-content:center;align-items:center;gap:8px;min-height:44px;font-weight:700;display:flex}:root[data-theme=dark] .new-plan-button{color:#0d1a13}.new-plan-button:disabled{opacity:.5}.plan-nav{flex:1;margin:24px -4px 12px;overflow:auto}.nav-label{color:var(--muted);letter-spacing:.13em;margin:0 10px 9px;font-size:10px;font-weight:800;display:block}.plan-nav>button{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:12px;grid-template-columns:36px 1fr;align-items:center;gap:10px;width:100%;padding:10px;display:grid}.plan-nav>button:hover,.plan-nav>button.active{background:var(--surface-2)}.plan-nav>button.active{box-shadow:inset 3px 0 var(--accent)}.plan-nav button>span:last-child{min-width:0;display:grid}.plan-nav strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.plan-nav small{color:var(--muted);font-size:10px}.ticker-mini{background:var(--accent-soft);width:36px;height:36px;color:var(--accent);border-radius:10px;place-items:center;font-size:9px;font-weight:850;display:grid}.empty-nav{color:var(--muted);padding:12px;font-size:12px;line-height:1.6}.sidebar-bottom{border-top:1px solid var(--border);gap:3px;padding:10px 0;display:grid}.sidebar-bottom button{min-height:36px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:9px;align-items:center;gap:9px;padding:0 10px;font-size:12px;display:flex}.sidebar-bottom button:hover,.sidebar-bottom button.active{background:var(--surface-2);color:var(--text)}.profile-row{border-top:1px solid var(--border);grid-template-columns:34px 1fr 38px;align-items:center;gap:9px;padding-top:13px;display:grid}.profile-row img,.member-identity img{object-fit:cover;border-radius:50%;width:34px;height:34px}.profile-row>div{min-width:0;display:grid}.profile-row strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.profile-row small{color:var(--muted);font-size:10px}.avatar-fallback{background:var(--accent-soft);width:34px;height:34px;color:var(--accent);border-radius:50%;place-items:center;font-weight:800;display:grid}.content-column{min-width:0;height:100dvh;position:relative;overflow-y:auto}.desktop-theme{z-index:10;position:fixed;top:18px;right:22px}.mobile-header{display:none}.plan-actions{z-index:8;gap:7px;display:flex;position:absolute;top:18px;right:72px}.plan-actions button{min-height:38px;font-size:12px}.workspace{width:min(1500px,100%);margin:0 auto;padding:18px 28px 60px}.workspace-topbar{justify-content:space-between;align-items:center;min-height:42px;margin-bottom:20px;padding-right:260px;display:flex}.tab-list{background:var(--surface-2);border-radius:12px;gap:4px;padding:4px;display:flex}.tab-list button{min-height:32px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:9px;padding:0 14px;font-size:12px;font-weight:700}.tab-list button.active{color:var(--text);background:var(--surface);box-shadow:0 2px 9px #00000012}.save-state{color:var(--muted);align-items:center;gap:6px;font-size:12px;display:inline-flex}.save-state svg{width:15px;height:15px}.save-state.saved{color:var(--positive)}.save-state.error,.save-state.conflict{color:var(--negative)}.message-banner,.error-banner{border:1px solid var(--negative);justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;padding:12px 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.message-banner,.error-banner{border:1px solid color-mix(in srgb, var(--negative) 28%, var(--border))}}.message-banner,.error-banner{color:var(--negative);background:var(--negative);border-radius:12px}@supports (color:color-mix(in lab, red, red)){.message-banner,.error-banner{background:color-mix(in srgb, var(--negative) 7%, var(--surface))}}.message-banner,.error-banner{font-size:13px}.banner-actions{gap:6px;display:flex}.banner-actions button{border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:8px;align-items:center;gap:5px;padding:7px 9px;display:inline-flex}.plan-title-row{justify-content:space-between;align-items:flex-end;gap:20px;margin:12px 0 24px;display:flex}.plan-title-row>div{align-items:center;gap:12px;min-width:0;display:flex}.ticker-pill{background:var(--accent-soft);color:var(--accent);border-radius:9px;flex:none;padding:8px 10px;font-size:13px;font-weight:850}.plan-name-input{width:min(520px,55vw);min-width:0;color:var(--text);letter-spacing:-.045em;background:0 0;border:0;border-bottom:1px solid #0000;outline:none;padding:4px 0;font-size:clamp(24px,3vw,38px);font-weight:760}.plan-name-input:focus{border-color:var(--accent)}.plan-title-row p{color:var(--muted);margin:0;font-size:11px}.planner-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.panel{background:var(--surface);border:1px solid var(--border);border-radius:17px;box-shadow:0 6px 24px #1a271e09}.input-panel{padding:20px}.section-heading{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px;display:flex}.section-heading>div:first-child{min-width:0}.section-heading>div>div{align-items:center;gap:9px;display:flex}.section-heading h2{letter-spacing:-.02em;margin:2px 0 0;font-size:17px}.section-heading p{color:var(--muted);margin:2px 0 0;font-size:11px}.step{background:var(--surface-2);width:25px;height:25px;color:var(--accent);border-radius:8px;place-items:center;margin-right:7px;font-size:10px;font-weight:850;display:inline-grid}.field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;display:grid}.field-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.field{gap:6px;min-width:0;display:grid}.field>span{color:var(--muted);font-size:11px;font-weight:650}.field input,.field select{border:1px solid var(--border);width:100%;height:43px;color:var(--text);background:var(--surface);border-radius:10px;outline:none;padding:0 11px}.field input:focus,.field select:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent)}@supports (color:color-mix(in lab, red, red)){.field input:focus,.field select:focus{box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent)}}.field input:disabled{color:var(--muted);background:var(--surface-2)}.field small{color:var(--muted);font-size:9px}.mode-card{background:var(--surface-2);border-radius:12px;margin-top:11px;padding:11px}.mode-head{justify-content:space-between;align-items:center;margin-bottom:9px;display:flex}.mode-head>span{font-size:11px;font-weight:750}.mini-segmented,.segmented{background:var(--surface-3);border-radius:9px;padding:3px;display:flex}.mini-segmented button,.segmented button{min-height:25px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:7px;padding:0 8px;font-size:9px;font-weight:700}.mini-segmented button.active,.segmented button.active{color:var(--text);background:var(--surface);box-shadow:0 2px 7px #00000014}.metric-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px;display:grid}.metric-row.four{grid-template-columns:repeat(4,minmax(0,1fr))}.metric{background:var(--surface-2);border-radius:11px;gap:5px;min-width:0;padding:11px;display:grid}.metric>span{color:var(--muted);text-transform:uppercase;letter-spacing:.05em;font-size:9px}.metric strong{text-overflow:ellipsis;font-size:13px;overflow:hidden}.metric.positive strong,.positive{color:var(--positive)}.metric.negative strong,.negative{color:var(--negative)}.result-card{border:1px solid var(--border);background:var(--surface-2);border-radius:13px;gap:5px;margin-top:12px;padding:15px;display:grid}.result-card>span,.result-card small{color:var(--muted);font-size:10px}.result-card>strong{font-size:24px}.result-card.warning strong{color:var(--warning);font-size:18px}.accent-card{background:var(--accent-soft);border-color:var(--accent);justify-content:space-between;align-items:center;display:flex}@supports (color:color-mix(in lab, red, red)){.accent-card{border-color:color-mix(in srgb, var(--accent) 15%, transparent)}}.accent-card>div:first-child{gap:4px;display:grid}.accent-card strong{color:var(--accent-strong)}.accent-card strong small{color:inherit;font-size:10px}.comparison{color:var(--muted);align-items:center;gap:7px;font-size:11px;display:flex}.comparison span:last-child{color:var(--accent);font-weight:800}.scenario-panel{margin-top:16px;padding:20px}.table-wrap{width:100%;overflow-x:auto}table{border-collapse:collapse;white-space:nowrap;width:100%;font-size:11px}th{text-align:left;color:var(--muted);border-bottom:1px solid var(--border);text-transform:uppercase;letter-spacing:.05em;padding:9px 10px;font-size:9px}td{border-bottom:1px solid var(--border);padding:10px}tbody tr:last-child td{border-bottom:0}.strong{font-weight:750}.status-pill{background:var(--surface-2);color:var(--muted);letter-spacing:.04em;border-radius:99px;align-items:center;padding:4px 7px;font-size:8px;font-weight:850;display:inline-flex}.status-pill.good,.status-pill.active,.status-pill.succeeded{color:var(--positive);background:var(--positive)}@supports (color:color-mix(in lab, red, red)){.status-pill.good,.status-pill.active,.status-pill.succeeded{background:color-mix(in srgb, var(--positive) 11%, transparent)}}.status-pill.bad,.status-pill.suspended,.status-pill.failed{color:var(--negative);background:var(--negative)}@supports (color:color-mix(in lab, red, red)){.status-pill.bad,.status-pill.suspended,.status-pill.failed{background:color-mix(in srgb, var(--negative) 10%, transparent)}}.status-pill.pending,.status-pill.running,.status-pill.retrying{color:var(--warning);background:var(--warning)}@supports (color:color-mix(in lab, red, red)){.status-pill.pending,.status-pill.running,.status-pill.retrying{background:color-mix(in srgb, var(--warning) 10%, transparent)}}.history-workspace{flex-direction:column;height:100dvh;min-height:0;padding-bottom:18px;display:flex;overflow:hidden}.history-workspace .workspace-topbar{flex:none}.history-panel{flex-direction:column;flex:1;min-width:0;min-height:0;padding:22px;display:flex;overflow:hidden}.history-heading{align-items:center}.history-panel .history-heading{flex:none}.history-heading h2{margin-top:8px;font-size:26px}.segmented button{min-height:31px;padding:0 11px;font-size:10px}.chart-host{flex:none;width:100%;height:clamp(220px,34dvh,360px);min-height:220px;margin:8px 0 18px}.history-table-wrap{overscroll-behavior:contain;scrollbar-gutter:stable;flex:1;min-width:0;min-height:0;overflow:auto}.history-table-wrap table{min-width:1080px}.history-table-wrap thead{z-index:2;background:var(--surface);position:sticky;top:0}.history-table-wrap th{background:var(--surface)}.history-load-more{border:1px solid var(--border);min-height:32px;color:var(--muted);background:var(--surface);border-radius:9px;margin:8px auto;padding:0 12px;display:block;position:sticky;bottom:8px;left:0}@supports (color:color-mix(in lab, red, red)){.history-load-more{background:color-mix(in srgb, var(--surface) 94%, transparent)}}.history-load-more{cursor:pointer;box-shadow:0 4px 14px #00000014}.history-panel tbody tr{cursor:pointer}.history-panel tbody tr:hover{background:var(--surface-2)}.date-cell{gap:2px;display:grid}.date-cell small{color:var(--warning);font-size:8px}.empty-state{min-height:240px;color:var(--muted);justify-content:center;align-items:center;gap:10px;display:flex}.spin{animation:1.5s linear infinite spin}.welcome-empty{text-align:center;place-content:center;justify-items:center;min-height:calc(100vh - 120px);display:grid}.welcome-empty h1{letter-spacing:-.055em;margin:12px 0 8px;font-size:clamp(34px,5vw,58px)}.welcome-empty p{max-width:500px;color:var(--muted);line-height:1.7}.welcome-empty .primary-button{margin-top:16px}.welcome-empty small{color:var(--muted);margin-top:10px}.modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#0a0f0c8c;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.modal{border:1px solid var(--border);background:var(--surface);width:min(460px,100%);box-shadow:var(--shadow);border-radius:20px;gap:16px;padding:24px;display:grid}.modal-head{justify-content:space-between;align-items:flex-start;display:flex}.modal-head h2{margin:5px 0 0}.modal-actions{justify-content:flex-end;gap:8px;display:flex}.admin-workspace{padding-top:48px}.admin-hero{margin:0 0 32px}.admin-hero h1{letter-spacing:-.055em;margin:9px 0 7px;font-size:clamp(34px,5vw,54px)}.admin-hero p{max-width:680px;color:var(--muted)}.admin-section{margin-bottom:16px;padding:22px}.count-badge{min-width:31px;height:31px;color:var(--accent);background:var(--accent-soft);border-radius:9px;place-items:center;font-size:11px;font-weight:850;display:grid}.member-list,.instrument-list{display:grid}.member-row,.instrument-row,.fx-sync{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:20px;padding:13px 2px;display:flex}.member-identity{align-items:center;gap:10px;display:flex}.member-identity>div,.instrument-row>div:first-child,.fx-sync>div{gap:2px;display:grid}.member-identity strong,.instrument-row strong{font-size:13px}.member-identity small,.instrument-row small,.fx-sync small{color:var(--muted);font-size:10px}.instrument-row>div:first-child>span{color:var(--muted);font-size:11px}.member-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:7px;display:flex}.member-actions button{min-height:34px;padding:0 10px;font-size:10px}.instrument-form{background:var(--surface-2);border-radius:13px;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:18px;padding:14px;display:grid}.instrument-form .wide{grid-column:span 2}.add-instrument{align-self:end}.drawer-shade,.mobile-only{display:none}.pulse{animation:1s ease-in-out infinite alternate pulse}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}@media (width<=1100px){.metric-row.four,.field-grid.three,.instrument-form{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=800px){.app-shell{display:block}.sidebar{visibility:hidden;width:min(310px,88vw);box-shadow:var(--shadow);transition:transform .24s,visibility 0s linear .24s;position:fixed;top:0;left:0;transform:translate(-105%)}.sidebar.open{visibility:visible;transition-delay:0s;transform:translate(0)}.drawer-shade{z-index:15;background:#0409067a;display:block;position:fixed;inset:0}.mobile-only{display:inline-grid}.desktop-theme,.plan-actions{display:none}.mobile-header{z-index:10;border-bottom:1px solid var(--border);background:var(--surface);grid-template-columns:38px 1fr 38px;align-items:center;gap:10px;min-height:64px;padding:10px 14px;display:grid;position:sticky;top:0}@supports (color:color-mix(in lab, red, red)){.mobile-header{background:color-mix(in srgb, var(--surface) 90%, transparent)}}.mobile-header{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.mobile-header>div{min-width:0;display:grid}.mobile-header strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.mobile-header small{color:var(--muted);font-size:10px}.workspace{padding:14px 13px 40px}.history-workspace{height:calc(100dvh - 64px);padding-bottom:14px}.workspace-topbar{margin-bottom:12px;padding-right:0}.planner-grid{grid-template-columns:1fr}.plan-title-row{align-items:flex-start}.plan-title-row p{display:none}.plan-name-input{width:100%;font-size:26px}.input-panel,.scenario-panel,.history-panel,.admin-section{border-radius:15px;padding:16px}.history-heading{flex-direction:column;align-items:flex-start}.chart-host{height:clamp(180px,26dvh,240px);min-height:180px;margin:4px 0 12px}.login-card{grid-template-columns:1fr;min-height:auto}.login-copy{padding:42px 28px}.login-copy h1{font-size:46px}.login-action{padding:36px 28px}.admin-workspace{padding-top:24px}}@media (width<=520px){.gate{padding:16px}.gate>footer{margin-top:24px}.login-copy h1{font-size:40px}.trust-row{gap:9px;display:grid}.state-actions,.member-row,.instrument-row,.fx-sync{flex-direction:column;align-items:stretch}.field-grid,.field-grid.three,.instrument-form{grid-template-columns:1fr}.instrument-form .wide{grid-column:auto}.metric-row.four{grid-template-columns:repeat(2,minmax(0,1fr))}.member-actions{justify-content:flex-start}.workspace-topbar{align-items:flex-start;gap:8px}.tab-list button{padding:0 10px}.message-banner{flex-direction:column;align-items:flex-start}}
