:root{--bg:#f6f7f9;--white:#fff;--ink:#202923;--muted:#778078;--line:#e7ebe6;--green:#b5f36c;--dark:#1d3027;--good:#347749;--warn:#a57121;--red:#b04d40;--radius:13px;font-family:Inter,"Segoe UI",system-ui,sans-serif;font-size:14px;color:var(--ink);background:var(--bg)}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,input,summary{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{opacity:.42;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #83b94c;outline-offset:3px}[hidden]{display:none!important}.sidebar{width:250px;background:white;border-right:1px solid var(--line);position:fixed;inset:0 auto 0 0;padding:28px 20px 0;display:flex;flex-direction:column;z-index:3}.brand{display:flex;align-items:center;gap:10px;font-size:24px;font-weight:730;letter-spacing:-1px}.brandmark{display:inline-flex;align-items:center;justify-content:center;background:var(--green);color:#203523;width:35px;height:35px;border-radius:10px;font-size:29px;font-weight:800;line-height:1}.workspace{display:flex;gap:10px;align-items:center;border:1px solid var(--line);border-radius:10px;margin:30px 0 28px;padding:13px 10px}.workspace-avatar,.avatar{display:grid;place-items:center;flex-shrink:0;border-radius:8px;background:#f0f2ef;width:32px;height:32px;font-weight:600;font-size:13px}.workspace strong{font-size:12px;display:block}.workspace small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.nav-label{color:#939b94;font-size:10px;font-weight:700;letter-spacing:1.3px;margin:0 12px 10px}.nav-item{border:0;background:transparent;padding:12px 13px;width:100%;display:flex;gap:11px;align-items:center;text-align:left;border-radius:8px;color:#667067;font-weight:500;font-size:13px}.nav-item span:first-child{font-size:18px;width:18px;text-align:center}.nav-item:hover{background:#f7f9f5}.nav-item.selected{background:#ecf5e4;color:#32582e}.nav-item .dot{margin-left:auto;width:6px;height:6px;border-radius:100%;background:#c6cdc4}.nav-item .dot.connected{background:#5c9b45}.project-label{display:flex;align-items:center;justify-content:space-between;margin-top:30px}.icon-btn{border:0;background:none;padding:3px 7px;color:#7c857d;font-size:20px}.project-nav-item{display:flex;align-items:center;gap:10px;background:none;border:0;border-radius:8px;padding:12px;width:100%;color:#6e786e;text-align:left;font-size:12px}.project-nav-item.active{background:#f3f5f1;color:#273d28;font-weight:600}.project-dot{width:7px;height:7px;border:1.5px solid #8ca17e;border-radius:50%;flex-shrink:0}.sidebar-bottom{margin-top:auto}.sidebar-note{border:1px solid var(--line);border-radius:10px;margin:20px 0;padding:14px;font-size:11px;color:#5c6d5c}.sidebar-note p{margin:9px 0 0;font-size:11px;color:#8b938b;line-height:1.7}.live-dot{width:6px;height:6px;display:inline-block;border-radius:100%;background:#70a54e;margin-right:6px}.account{border-top:1px solid var(--line);padding:17px 0;display:flex;align-items:center;gap:10px}.account>span:nth-child(2){font-size:11px;overflow:hidden;text-overflow:ellipsis}.account .icon-btn{margin-left:auto}main{margin-left:250px}.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px}.breadcrumb{font-size:12px;color:#92998f}.breadcrumb span{margin:0 12px;color:#c4cbc0}.breadcrumb strong{font-weight:500;color:#545e52}.top-tag{font-size:10px;border:1px solid #e7ece3;border-radius:6px;padding:6px 8px;color:#7d8878}.main-content{padding:34px 38px;max-width:1600px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:27px;gap:15px}.eyebrow{font-size:9px;font-weight:700;letter-spacing:1.9px;color:#85917e}h1{font-size:29px;font-weight:640;letter-spacing:-1px;margin:9px 0}h2{font-size:16px;font-weight:630;letter-spacing:-.3px;margin:0}.page-heading p{font-size:12px;color:var(--muted);margin:7px 0 0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);border-radius:8px;padding:10px 14px;background:white;font-size:11px;font-weight:600;white-space:nowrap;transition:background .15s}.btn:hover:not(:disabled){filter:brightness(.97)}.btn.primary{background:var(--green);border-color:var(--green);color:#253b1a}.btn.dark{background:var(--dark);color:#fff;border-color:var(--dark)}.btn.subtle{background:#fff;color:#697367}.btn.danger{color:var(--red);background:#fff6f3;border-color:#eddad6}.btn.small{padding:6px 10px;font-size:11px}.btn.large{width:100%;padding:15px;font-size:13px;justify-content:space-between}.store-strip{display:flex;justify-content:space-between;align-items:center;padding:18px 21px;background:#fff;border:1px solid var(--line);border-radius:12px}.store-identity{display:flex;align-items:center;gap:12px}.store-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:9px;color:#7e519a;background:#f3ecf8;font-size:17px;font-weight:700}.store-identity strong{display:block;font-size:13px;font-weight:600}.store-identity a{display:block;color:#96a08f;font-size:10px;margin-top:5px}.strip-meta{display:flex;align-items:center;gap:16px}.badge{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:5px;font-size:10px;white-space:nowrap;font-weight:500}.badge.neutral{background:#f2f4f1;color:#8b9586}.badge.change{background:#edf6df;color:#527934}.badge.unchanged{background:#edf4ee;color:#53715a}.badge.review{background:#fff4e3;color:#a27c3d}.badge.paused{background:#efeff3;color:#888397}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}.stat{background:#fff;padding:20px 21px;border:1px solid var(--line);border-radius:11px}.stat>span{font-size:11px;color:#7a8574;display:block}.stat>strong{display:block;font-size:32px;font-weight:590;letter-spacing:-1.3px;margin:13px 0 10px;font-variant-numeric:tabular-nums}.stat:nth-child(2)>strong{color:#60883f}.stat:nth-child(3)>strong{color:#a48044}.stat>small{display:block;font-size:10px;color:#a0a79b}.notice{display:flex;gap:13px;background:#f0f3ec;border:1px solid #e4e9dd;border-radius:9px;padding:16px 18px;margin:22px 0;color:#65765a;align-items:flex-start}.notice-icon{border:1px solid #9aab8e;color:#839574;border-radius:50%;font-family:serif;font-size:11px;width:15px;height:15px;text-align:center;flex-shrink:0}.notice strong{font-size:11px;font-weight:600}.notice p{font-size:10px;line-height:1.8;margin:5px 0 0;color:#8a9780}.notice>a{white-space:nowrap;font-size:10px;margin-left:auto;padding-top:2px}.data-panel{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.panel-top{padding:23px 22px 19px;display:flex;justify-content:space-between;align-items:center;gap:15px}.panel-top h2{font-size:14px;display:flex;align-items:center;gap:9px}.panel-top p{font-size:10px;color:#9ba392;margin:7px 0 0}.count-tag{font-size:10px;background:#f1f4ee;color:#8b9781;border-radius:5px;padding:3px 6px;font-weight:500}.actions{display:flex;gap:8px}.table-controls{border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:12px 20px;gap:12px}.filter-tabs{display:flex;gap:3px;flex-wrap:wrap}.filter-tabs button{border:0;background:transparent;padding:7px 9px;border-radius:5px;font-size:10px;color:#8a9482;white-space:nowrap}.filter-tabs button.active{color:#4e6c38;background:#eff4e9;font-weight:600}.table-controls input{width:210px;font-size:10px;padding:8px 11px;background:#fafbf8}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;min-width:700px}th{font-size:8px;letter-spacing:1.2px;font-weight:600;color:#9ba491;background:#fcfdfb;padding:14px 20px}td{padding:16px 20px;border-top:1px solid #eff1eb;font-size:11px;vertical-align:middle}th:first-child{width:41%}tr:hover td{background:#fdfefa}.product-name{font-weight:530;font-size:11px;line-height:1.6;display:block;max-width:360px}.product-id{color:#a5ad9b;font-size:9px;margin-top:4px;display:block;overflow-wrap:anywhere}.price-main{display:block;font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:500}.price-sub{font-size:9px;color:#a2aa98;margin-top:4px;display:block}.price-new{color:#608143}.table-footer{border-top:1px solid var(--line);padding:12px 20px;display:flex;justify-content:space-between;align-items:center;color:#9aa391;font-size:10px}.table-footer>div{display:flex;align-items:center;gap:13px}.empty-table{padding:60px 20px;text-align:center;color:#97a08e;font-size:12px}.write-bar{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:18px 21px;border:1px solid #dfe9d5;background:#edf5e5;border-radius:10px;margin-top:17px}.write-bar strong{font-size:12px}.write-bar p{font-size:10px;color:#8b9a7f;margin:5px 0 0}.page-footer{display:flex;justify-content:space-between;color:#a6ada0;font-size:9px;margin-top:30px}.empty-state{padding:85px 20px;text-align:center;border:1px dashed #d9e0d2;border-radius:13px;background:#fff}.empty-icon{font-size:29px;color:#78a750;background:#eef7e5;width:65px;height:65px;border-radius:18px;display:grid;place-items:center;margin:0 auto 24px}.empty-state h2{font-size:22px}.empty-state p{line-height:1.9;color:#8e9a84;font-size:12px;margin:14px 0 24px}.empty-steps{display:flex;justify-content:center;gap:30px;margin-top:50px;font-size:10px;color:#9ba890}.history-panel{margin-top:20px}.history-item{padding:17px 22px;border-top:1px solid var(--line);display:flex;gap:14px;align-items:flex-start}.history-marker{width:8px;height:8px;border-radius:100%;background:#a8c78f;margin-top:5px}.history-item strong{font-size:11px}.history-item small{display:block;color:#96a08e;font-size:10px;margin-top:5px}.history-item time{font-size:10px;color:#9ca791;margin-left:auto}.progress-card{border:1px solid #dfeacf;background:#f5faef;border-radius:10px;padding:16px 20px;margin-bottom:20px}.progress-card>div{display:flex;align-items:center;gap:10px;font-size:12px}.progress-card>div>span:last-child{margin-left:auto;font-size:10px;color:#8a9c79}progress{width:100%;height:5px;appearance:none;border:0;border-radius:5px;margin:15px 0 9px;overflow:hidden}progress::-webkit-progress-bar{background:#e2ead9}progress::-webkit-progress-value{background:#9bc96e}progress::-moz-progress-bar{background:#9bc96e}.progress-card small{font-size:10px;color:#8e9d7e}.spinner{height:13px;width:13px;border:2px solid #d5e4c5;border-top-color:#6e9b42;border-radius:50%;display:inline-block;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.error-banner{padding:14px 18px;border:1px solid #f0d6cf;border-radius:9px;color:#a35742;background:#fff7f4;font-size:12px;margin:18px 0}dialog{padding:28px;border:1px solid #e4e9dd;border-radius:15px;box-shadow:0 25px 100px #192a1b29;width:540px;max-width:calc(100vw - 28px);max-height:90vh;overflow:auto;color:var(--ink);background:#fff}dialog::backdrop{background:#19241d5c;backdrop-filter:blur(3px)}.dialog-heading{margin-bottom:24px}.dialog-heading h2{font-size:23px;margin:10px 0;font-weight:620}.dialog-heading p{font-size:12px;line-height:1.8;color:#8b9781;margin:0}label{display:block;font-size:12px;font-weight:550;margin:17px 0;color:#65745a}input:not([type=checkbox]),textarea{display:block;width:100%;border:1px solid #e1e7da;border-radius:7px;background:#fcfdfa;padding:11px 12px;color:#3b4a31;margin-top:8px;resize:vertical;min-width:0}input::placeholder,textarea::placeholder{color:#b1b9aa;font-size:11px}label small,.help-text{display:block;color:#9aa68e;font-size:10px;line-height:1.8;font-weight:400;margin-top:7px}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:25px;flex-wrap:wrap}.form-error{font-size:11px;color:#b2624e;line-height:1.7;min-height:0}.form-error:empty{display:none}.toggle-row{display:flex;align-items:center;justify-content:space-between;padding:13px 0;border-bottom:1px solid var(--line);gap:20px;margin:0}.toggle-row strong{font-size:12px}.toggle-row small{font-size:10px;max-width:360px}.toggle-row input{accent-color:#80b44e;width:18px;height:18px;flex-shrink:0}.two-cols{display:grid;grid-template-columns:1fr 1fr;gap:16px}details{margin-top:20px;color:#8d9b7f;font-size:11px}summary{cursor:pointer}pre{font-size:10px;white-space:pre-wrap;overflow-wrap:anywhere;background:#f6f8f3;padding:13px;border-radius:7px;line-height:1.8}.guide-list{padding-left:20px;font-size:11px;line-height:1.9;color:#87957b}.guide-list li{margin-bottom:9px}.connection-card{background:#f3f6ef;border-radius:9px;padding:15px;font-size:11px;line-height:1.8;overflow-wrap:anywhere}.check-label{display:flex;align-items:flex-start;gap:8px;line-height:1.8}.check-label input{accent-color:#79a94c;margin-top:4px}.compact p{margin:0;line-height:1.9}.detail-link{font-size:11px;color:#719453;overflow-wrap:anywhere;display:block;margin:15px 0}.detail-change{padding:14px 0;border-bottom:1px solid var(--line);font-size:12px;line-height:1.9}.detail-change small{display:block;color:#8c9880}.auth-screen{min-height:100vh;display:grid;grid-template-columns:1.15fr 1fr}.auth-story{background:#192e24;color:white;display:flex;flex-direction:column;justify-content:space-between;padding:45px 60px;min-height:100vh}.auth-story .brand{font-size:25px}.edition{font-size:8px;letter-spacing:1.5px;color:#9cba9d;margin-left:8px;border:1px solid #425f48;border-radius:4px;padding:5px}.auth-story h1{font-size:49px;line-height:1.22;margin:22px 0;color:#eff6e7;letter-spacing:-2px}.auth-story p{font-size:14px;line-height:1.9;color:#a7bc9d;max-width:450px}.auth-story .eyebrow{color:#a0be88}.auth-story>small{color:#779576;font-size:10px}.flow-demo{border:1px solid #3e5740;border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:24px 18px;margin-top:40px;font-size:12px;color:#c2d4b5;max-width:470px}.flowline{color:#749567}.auth-form-wrap{display:flex;align-items:center;justify-content:center;padding:40px}.auth-form{max-width:350px;width:100%}.auth-form h2{font-size:29px;letter-spacing:-1px;margin:12px 0}.auth-form>p{font-size:12px;line-height:1.8;color:#8b9981;margin-bottom:30px}.auth-form .form-error{color:#b2624e;margin:15px 0}.auth-form label{margin:22px 0}.text-btn{background:none;border:0;color:#779458;font-size:12px;padding:14px;width:100%}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#263e2b;color:#e4f3d5;padding:14px 23px;border-radius:9px;box-shadow:0 10px 30px #1c321d22;z-index:20;font-size:12px;max-width:90vw;line-height:1.7}@media(min-width:1450px){.main-content{padding:40px 50px}.sidebar{width:260px}main{margin-left:260px}.stat{padding:23px}.product-name{font-size:12px}.panel-top{padding:26px}}
@media(max-width:1100px){.sidebar{width:205px;padding:25px 13px 0}main{margin-left:205px}.main-content{padding:26px 22px}.topbar{padding:0 23px}.stat{padding:17px 14px}.stat>strong{font-size:29px}.table-controls{flex-wrap:wrap}.table-controls input{width:100%}.notice>a{display:none}.page-footer span:last-child{display:none}.auth-story{padding:40px}.auth-story h1{font-size:39px}.edition{display:none}}
@media(max-width:760px){.sidebar{position:static;width:100%;padding:15px 18px;flex-direction:row;align-items:center;gap:15px;border-bottom:1px solid var(--line)}.sidebar .brand{font-size:20px}.sidebar .brandmark{height:29px;width:29px;font-size:23px}.workspace,.nav-label,.sidebar-note,#project-nav,.sidebar>.nav-item,.sidebar-bottom .account>span{display:none}.sidebar-bottom{margin:0 0 0 auto}.account{border:0;padding:0}.sidebar-bottom .account>.icon-btn{font-size:19px}main{margin-left:0}.topbar{height:49px;padding:0 18px}.main-content{padding:23px 17px}.page-heading{align-items:flex-start}.page-heading h1{font-size:24px}.page-heading .btn{font-size:10px;padding:9px}.eyebrow{font-size:8px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.store-strip{padding:14px}.store-identity strong{font-size:12px}.strip-meta{gap:7px}.strip-meta .badge{display:none}.panel-top{padding:18px 15px;align-items:flex-start;flex-direction:column}.actions{width:100%;justify-content:flex-end}.table-controls{padding:10px 12px}.filter-tabs{gap:0}.filter-tabs button{padding:7px;font-size:9px}.notice{padding:13px 14px}.write-bar{padding:15px;align-items:flex-start;flex-direction:column}.write-bar .btn{align-self:flex-end}.auth-screen{display:block}.auth-story{min-height:auto;padding:28px}.auth-story>div:nth-child(2){margin-top:38px}.auth-story h1{font-size:32px}.auth-story p{font-size:12px}.auth-story>small,.flow-demo{display:none}.auth-form-wrap{padding:35px 25px}.auth-form{max-width:440px}.auth-story .eyebrow{font-size:8px}.page-footer{font-size:9px}}
/* Readable data density at desktop and mobile sizes. */
.stat>span,.btn,.panel-top p,.table-controls input,.filter-tabs button,.table-footer,.product-id,.price-sub,.notice p,.notice>a{font-size:12px}
.product-name,.price-main,td{font-size:13px}.product-name{max-width:420px}.stat>small,.badge,.store-identity a,.history-item small,.history-item time,.page-footer{font-size:11px}
.panel-top h2{font-size:16px}.count-tag{font-size:11px}th{font-size:10px;letter-spacing:.8px}.table-controls{flex-wrap:wrap}.table-controls input{max-width:260px}.notice strong{font-size:12px}.filter-tabs{flex-shrink:0}.history-item strong{font-size:13px}
@media(max-width:760px){.table-controls input{max-width:none}.filter-tabs button{font-size:11px}.btn{font-size:12px}.page-heading .btn{font-size:11px}.notice p{font-size:11px}.page-footer{font-size:10px}.stat>span{font-size:12px}.product-name{font-size:12px}}
#mobile-project{display:none}
dialog select{display:block;width:100%;border:1px solid #e1e7da;border-radius:7px;background:#fcfdfa;padding:11px 12px;color:#3b4a31;margin-top:8px;font:inherit;max-width:100%}#variant-preview{white-space:pre-wrap}
@media(max-width:760px){.sidebar{flex-wrap:wrap;gap:7px}.sidebar>.nav-item{display:flex;order:1;flex:1 1 30%;width:auto;padding:8px 4px;font-size:10px;gap:5px}.sidebar>.nav-item span:first-child{font-size:15px}.sidebar-bottom{order:0;margin-left:auto}.sidebar .nav-item .dot{display:none}.topbar .breadcrumb{display:none}#mobile-project{display:block;border:1px solid var(--line);border-radius:5px;padding:6px;background:white;max-width:210px;font-size:11px;color:#596c4b}}

#google-file[hidden]{display:none}.key-upload{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:18px 0}.key-upload span{font-size:12px;overflow-wrap:anywhere}#google-json{font-family:monospace;font-size:12px;max-height:180px}

/* Keep the write action inside the usable viewport while scrolling. */
.write-bar{position:sticky;bottom:calc(20px + env(safe-area-inset-bottom,0px));z-index:4;box-shadow:0 6px 26px #20352324}.main-content{padding-bottom:100px}dialog{max-height:calc(100dvh - 48px)}@media(max-width:700px){.write-bar{bottom:calc(12px + env(safe-area-inset-bottom,0px));gap:10px}}

.top-account{display:flex;gap:8px;flex-shrink:0}.account{flex-wrap:wrap}.account #user-email{flex:1;min-width:0}.account #logout{font-size:11px}.strip-meta{flex-wrap:wrap}.sidebar{overflow-y:auto}.topbar{gap:12px}button{touch-action:manipulation}#account-dialog input{font-size:16px}
@media(max-width:760px){.topbar{height:auto;min-height:64px;padding:12px 16px;flex-wrap:wrap}.top-account{margin-left:auto}.top-account .btn{min-height:42px}.sidebar .sidebar-bottom{display:none}.strip-meta{gap:8px}.store-strip{flex-wrap:wrap;gap:12px}.store-identity{min-width:0}.store-identity a{overflow-wrap:anywhere}.main-content{padding-left:14px;padding-right:14px}.dialog-actions{flex-wrap:wrap}dialog{padding:20px;max-width:calc(100vw - 24px)}input:not([type=checkbox]),textarea,select{font-size:16px}.table-controls{flex-wrap:wrap}.panel-top{flex-wrap:wrap}.panel-top .actions{flex-wrap:wrap}.breadcrumb{overflow-wrap:anywhere}.top-account button{font-size:12px}}
