:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172a2b;background:#f6f8f7;font-synthesis:none}
*{box-sizing:border-box}
body{margin:0;min-height:100vh}
button,input,textarea{font:inherit}
button{cursor:pointer}
a{color:inherit;text-decoration:none}
.login-shell{min-height:100vh;display:grid;grid-template-columns:minmax(420px,1fr) minmax(420px,1fr);background:#fff}
.login-showcase{position:relative;overflow:hidden;background:radial-gradient(circle at 12% 9%,#286a62 0,#12443e 32%,#102f31 70%,#0c272c 100%);color:#f1fbf8;padding:clamp(36px,6vw,84px);display:flex;flex-direction:column;justify-content:space-between}
.login-showcase:before{content:"";position:absolute;width:520px;height:520px;border:1px solid #ffffff22;border-radius:50%;right:-110px;top:14%;box-shadow:0 0 0 80px #ffffff08,0 0 0 160px #ffffff05}
.login-showcase:after{content:"";position:absolute;width:320px;height:320px;border-radius:50%;background:#a7e9ca16;filter:blur(28px);right:7%;top:26%}
.brand{display:flex;align-items:center;gap:12px;font-weight:750;letter-spacing:-.025em;font-size:18px;position:relative;z-index:1}
.brand-mark{width:35px;height:35px;border-radius:11px;display:grid;place-items:center;background:#dcf5e9;color:#174d43;font-size:23px;font-weight:800;box-shadow:0 8px 24px #001a1730}
.brand.dark .brand-mark{background:#174f45;color:#f2fbf7}
.showcase-content{position:relative;z-index:1;max-width:560px;padding:40px 0}
.eyebrow{display:inline-flex;align-items:center;gap:8px;letter-spacing:.15em;text-transform:uppercase;font-size:11px;font-weight:800;color:#b9dccd}
.eyebrow:before{content:"";width:7px;height:7px;background:#98e6bf;border-radius:50%;box-shadow:0 0 0 5px #98e6bf24}
.showcase-content h1{font-size:clamp(42px,5.2vw,72px);line-height:1.08;letter-spacing:-.065em;margin:25px 0 20px;font-weight:760}
.showcase-content p{font-size:17px;line-height:1.85;color:#cfdfd9;max-width:480px;margin:0}
.flow-card{display:flex;align-items:center;gap:13px;margin-top:48px;width:max-content;max-width:100%;padding:17px 20px;border:1px solid #c1e2d13a;border-radius:16px;background:#e1fff014;backdrop-filter:blur(8px);box-shadow:0 20px 50px #061a1b1c}
.flow-node{font-size:12px;font-weight:750;white-space:nowrap;color:#e7faf0}
.flow-arrow{width:28px;height:1px;background:#b6dbc9aa;position:relative}
.flow-arrow:after{content:"";position:absolute;right:0;top:-3px;border-left:5px solid #b6dbc9aa;border-top:4px solid transparent;border-bottom:4px solid transparent}
.showcase-foot{position:relative;z-index:1;font-size:12px;letter-spacing:.08em;color:#a9c7ba}
.login-panel{display:flex;align-items:center;justify-content:center;padding:48px 32px;background:linear-gradient(155deg,#fff 0%,#f9fbfa 100%)}
.login-content{width:min(100%,410px)}
.mobile-brand{display:none;margin-bottom:42px}
.login-kicker{font-size:12px;text-transform:uppercase;letter-spacing:.17em;color:#3b8470;font-weight:800}
.login-content h2{font-size:38px;letter-spacing:-.055em;margin:12px 0 10px;line-height:1.2}
.login-subtitle{color:#667775;line-height:1.7;margin:0 0 32px;font-size:15px}
.form-field{display:block;margin:0 0 20px}
.form-field span{display:block;font-size:13px;font-weight:700;color:#2f4643;margin-bottom:9px}
.input-wrap{position:relative}
.input-wrap input{width:100%;height:52px;border:1px solid #cbd9d4;border-radius:12px;padding:0 15px;background:#fff;color:#163532;outline:none;transition:border-color .15s,box-shadow .15s}
.input-wrap input:focus,textarea:focus{border-color:#2f9073;box-shadow:0 0 0 4px #3aab7b20}
.input-wrap input::placeholder{color:#9aa9a4}
.remember-row{display:flex;align-items:center;gap:9px;margin:-2px 0 18px;color:#4c6459;font-size:13px;font-weight:650;cursor:pointer}
.remember-row input{width:17px;height:17px;accent-color:#17634f;cursor:pointer}
.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:12px;background:#145846;color:#fff;font-weight:750;padding:0 23px;height:49px;box-shadow:0 10px 22px #14584627;transition:transform .15s,background .15s,box-shadow .15s}
.primary-button:hover{background:#0e493a;transform:translateY(-1px);box-shadow:0 14px 25px #14584631}
.primary-button:focus-visible,.logout-button:focus-visible,a:focus-visible{outline:3px solid #80d5af;outline-offset:3px}
.login-button{width:100%;height:53px;margin-top:8px}
.login-note{margin-top:26px;padding-top:20px;border-top:1px solid #e4ebe7;color:#74827e;font-size:12px;line-height:1.7}
.alert{border-radius:11px;padding:13px 15px;margin:0 0 20px;font-size:13px;line-height:1.5;background:#ecf7f1;color:#165540;border:1px solid #ccebdd}
.alert.error{background:#fff1ee;color:#933d34;border-color:#f3d2cb}
.app-shell{min-height:100vh;background:#f6f8f7}
.topbar{background:#fff;border-bottom:1px solid #e6ece8}
.topbar-inner{max-width:1130px;margin:auto;padding:16px 28px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.topbar-actions{display:flex;align-items:center;gap:12px}
.status-pill{display:inline-flex;align-items:center;gap:7px;border:1px solid #d7eadf;background:#f2faf5;color:#32765b;border-radius:50px;padding:7px 11px;font-size:12px;font-weight:700}
.status-pill:before{content:"";width:6px;height:6px;background:#39a874;border-radius:50%}
.logout-button{background:#fff;color:#425956;border:1px solid #d8e4dd;border-radius:9px;padding:8px 12px;font-size:12px;font-weight:700}
.logout-button:hover{background:#f5f8f6}
.workspace{max-width:1130px;margin:0 auto;padding:40px 28px 80px}
.page-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:24px}
.page-heading h1{font-size:32px;letter-spacing:-.045em;margin:8px 0 8px}
.page-heading p{color:#677b75;line-height:1.65;margin:0;max-width:740px;font-size:14px}
.section-label{font-size:11px;letter-spacing:.16em;color:#35866d;font-weight:800;text-transform:uppercase}
.overview{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:24px 0 28px}
.section-nav{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 20px}
.section-nav a{display:inline-flex;align-items:center;padding:9px 14px;border:1px solid #d8e7de;border-radius:999px;background:#fff;color:#376354;font-size:13px;font-weight:700}
.section-nav a:hover{background:#eaf6ed}
.overview-item{border:1px solid #e0eae3;background:#fff;border-radius:15px;padding:18px 19px;box-shadow:0 8px 24px #153c2b07}
.overview-item strong{display:block;font-size:14px;margin-bottom:6px}
.overview-item span{display:block;color:#71827d;font-size:12px;line-height:1.5}
.usage-section{margin:0 0 25px;padding:24px;border:1px solid #e1e9e3;border-radius:17px;background:#fff;box-shadow:0 10px 30px #12382308}
.usage-section .section-heading{margin-bottom:18px}
.usage-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:18px}
.usage-metrics>div{border:1px solid #e1eae4;border-radius:11px;padding:13px;background:#f9fcf9}
.usage-metrics strong{display:block;font-size:19px;color:#225b45}
.usage-metrics span{display:block;font-size:11px;color:#71827d;margin-top:4px}
.table-scroll{overflow-x:auto}
.usage-table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:12px;text-align:left}
.usage-table th,.usage-table td{padding:10px 8px;border-bottom:1px solid #e8eee9}
.usage-table th{color:#667d70;font-weight:750}
.usage-table td{color:#354b41}
.usage-table tr:last-child td{border-bottom:0}
.history-section{margin-top:44px;padding:25px;border:1px solid #e1e9e3;border-radius:17px;background:#fff;box-shadow:0 10px 30px #12382308}
.history-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 0;border-top:1px solid #e8eee9}
.history-row strong,.history-row span{display:block}
.history-row strong{font-size:13px;color:#284739}
.history-row span{font-size:12px;color:#73857a;margin-top:5px;line-height:1.5}
.history-row .secondary-button{height:36px;font-size:12px}
.diagnostic-panel{display:flex;justify-content:space-between;align-items:center;gap:26px;padding:22px 24px;margin:0 0 25px;border:1px solid #d5e8dc;border-radius:17px;background:linear-gradient(115deg,#edf9f0,#fff 80%);box-shadow:0 10px 30px #12382308}
.diagnostic-panel h2{font-size:18px;margin:6px 0;letter-spacing:-.025em}
.diagnostic-panel p{max-width:620px;font-size:13px;line-height:1.6;color:#688076;margin:0}
.diagnostic-panel .alert{margin:12px 0 0}
.diagnostic-panel>div,.diagnostic-form{flex:1;min-width:0}
.diagnostic-form .field:first-of-type{margin-top:0}
.diagnostic-form textarea{min-height:78px}
.diagnostic-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;white-space:nowrap;height:44px;padding:0 17px;border:1px solid #a9d0bb;border-radius:11px;background:#fff;color:#19664c;font-size:13px;font-weight:750}
.secondary-button:hover{background:#e5f5ea}
.editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.panel{background:#fff;border:1px solid #e1e9e3;border-radius:17px;padding:24px;box-shadow:0 10px 30px #12382308}
.panel.wide{grid-column:1/-1}
.panel-top{display:flex;align-items:center;gap:12px;margin-bottom:8px}
.panel-icon{width:34px;height:34px;border-radius:10px;background:#e9f5ed;color:#287057;display:grid;place-items:center;font-size:18px;font-weight:800}
.panel h2{font-size:18px;letter-spacing:-.025em;margin:0}
.panel p{font-size:13px;line-height:1.6;color:#74837d;margin:0 0 18px}
.field{display:block;margin-top:17px}
.field-name{display:block;font-size:13px;font-weight:700;color:#3a5049;margin-bottom:9px}
.field-hint{display:block;color:#84928c;font-size:12px;line-height:1.6;margin-top:8px}
.settings-input{display:block;width:100%;height:44px;border:1px solid #d2dfd7;border-radius:10px;background:#fbfdfb;color:#223c33;padding:0 12px;outline:0}
.settings-input:focus{border-color:#2f9073;box-shadow:0 0 0 4px #3aab7b20}
.check-row{display:flex;align-items:center;gap:10px;margin-top:19px;color:#3a5049;font-size:13px;font-weight:700}
.check-row input{accent-color:#17634f;width:17px;height:17px}
.smoke-grid{display:grid;grid-template-columns:minmax(180px,280px) 1fr;align-items:end;gap:22px}
.smoke-grid .check-row{margin-bottom:13px}
.access-section{margin-top:58px;padding-top:30px;border-top:1px solid #dce8df}
.section-heading{margin-bottom:20px}
.section-heading h2{font-size:25px;letter-spacing:-.04em;margin:7px 0}
.section-heading p{font-size:13px;color:#72837b;margin:0}
textarea{display:block;width:100%;min-height:96px;border:1px solid #d2dfd7;border-radius:10px;background:#fbfdfb;color:#223c33;padding:12px 13px;line-height:1.55;font-size:13px;outline:0;resize:vertical;transition:border-color .15s,box-shadow .15s}
textarea::placeholder{color:#a3b0a9}
.code-text{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
.prompt-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.prompt-grid .field{margin-top:5px}
.prompt-grid textarea{min-height:145px}
.footer-bar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:23px}
.footer-bar p{font-size:12px;color:#7b8983;line-height:1.6;margin:0;max-width:730px}
code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;background:#edf3ee;border-radius:5px;padding:2px 5px;color:#285843;font-size:.93em}
.guide-body{background:#f6f8f7}
.guide-header{background:#fff;border-bottom:1px solid #e2eae4}
.guide-header-inner{max-width:1130px;margin:auto;padding:17px 28px;display:flex;align-items:center;justify-content:space-between}
.guide-login{font-size:13px;font-weight:750;color:#24654d}
.guide-login:hover{text-decoration:underline}
.guide-main{max-width:1130px;margin:auto;padding:34px 28px 72px}
.guide-hero{padding:42px 44px;border-radius:23px;background:radial-gradient(circle at 90% 5%,#2c7866,#154a42 55%,#123a38);color:#f7fff9;box-shadow:0 20px 45px #164d3820}
.guide-hero .section-label{color:#a8e1c5}
.guide-hero h1{font-size:clamp(34px,5vw,54px);letter-spacing:-.055em;margin:12px 0 10px}
.guide-hero>p{font-size:15px;line-height:1.7;color:#d4eade;max-width:670px;margin:0}
.guide-state{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:24px;font-size:13px}
.guide-state strong{border-radius:999px;padding:7px 12px;background:#dcf5e9;color:#145340}
.guide-state span{color:#d4eade}
.guide-notice{margin-top:18px;padding:12px 15px;border:1px solid #ffffff44;border-radius:10px;background:#ffffff14;color:#e6f8ec;font-size:13px;line-height:1.6;white-space:pre-wrap}
.guide-panel{margin-top:20px;padding:27px 30px;background:#fff;border:1px solid #e1e9e3;border-radius:17px;box-shadow:0 10px 30px #12382308}
.guide-panel h3{font-size:14px;margin:21px 0 10px;color:#355549}
.guide-info{display:grid;gap:12px}
.guide-info>div{display:flex;align-items:flex-start;gap:22px;flex-wrap:wrap;border-bottom:1px solid #edf1ee;padding:8px 0 14px}
.guide-info>div:last-child{border-bottom:0}
.guide-info>div>span{color:#74867a;font-size:12px;min-width:90px;padding-top:4px}
.guide-info>div>code{overflow-wrap:anywhere}
.guide-models{display:flex;gap:8px;flex-wrap:wrap}
.guide-panel pre{overflow-x:auto;margin:0;padding:17px 19px;background:#152a2b;border-radius:12px;color:#e3f6e9;font-size:12px;line-height:1.65}
.guide-panel pre code{background:transparent;color:inherit;padding:0;white-space:pre;font-size:inherit}
.guide-errors{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.guide-errors>div{padding:16px;border:1px solid #e3ece5;border-radius:12px;background:#fafcfb}
.guide-errors strong{display:block;margin-bottom:6px;color:#20533e;font-size:14px}
.guide-errors span{font-size:12px;line-height:1.6;color:#62776b}
.guide-foot{font-size:12px;line-height:1.7;color:#73857b;margin:22px 3px 0}
@media(max-width:940px){.login-shell{grid-template-columns:1fr}.login-showcase{display:none}.mobile-brand{display:flex}.login-panel{min-height:100vh}.overview,.usage-metrics{grid-template-columns:repeat(2,1fr)}.prompt-grid{grid-template-columns:1fr 1fr}}
@media(max-width:680px){.login-panel{padding:32px 22px}.login-content h2{font-size:32px}.workspace{padding:30px 18px 70px}.topbar-inner{padding:14px 18px}.overview{grid-template-columns:1fr}.diagnostic-panel{align-items:stretch;flex-direction:column}.diagnostic-panel .secondary-button{width:100%}.editor-grid{grid-template-columns:1fr}.panel.wide{grid-column:auto}.prompt-grid{grid-template-columns:1fr}.smoke-grid{grid-template-columns:1fr}.page-heading h1{font-size:28px}.footer-bar{align-items:stretch;flex-direction:column}.footer-bar .primary-button{width:100%}.status-pill{display:none}.history-section{padding:22px 19px}.history-row{align-items:stretch;flex-direction:column}.guide-header-inner{padding:14px 18px}.guide-main{padding:18px 16px 50px}.guide-hero{padding:30px 24px}.guide-panel{padding:22px 19px}.guide-errors{grid-template-columns:1fr}}
