.merchant-workspace{--bg:#f6f8f6;--paper:#fff;--surface:#f2f6f3;--surface-2:#e6efe9;--ink:#142b23;--ink-2:#40564d;--mute:#596c62;--border:#d9e3dc;--border-strong:#b3c4b9;--dark:#143e31;--accent:#08794f;--accent-dark:#0f5e41;--accent-soft:#e1f1e7;--on-dark:#d4e9dd;--sun:#d8ec9a;display:grid;grid-template-columns:clamp(14rem,17.5vw,16.75rem) minmax(0,1fr);min-height:100vh;background:var(--bg);color:var(--ink)}.workspace-skip{position:fixed;z-index:30;top:.5rem;left:.5rem;transform:translateY(-160%);padding:.6rem 1rem;background:white}.workspace-skip:focus{transform:none}.workspace-rail{position:-webkit-sticky;position:sticky;top:0;display:flex;flex-direction:column;align-self:start;height:100dvh;min-width:0;overflow-y:auto;background:#fff;border-right:1px solid var(--border)}.workspace-brand-row,.workspace-topline{display:flex;align-items:center;min-height:4.5rem;border-bottom:1px solid var(--border)}.workspace-brand-row{padding:.75rem 1.25rem;justify-content:space-between}.workspace-brand{font-size:1.15rem;gap:.55rem}.workspace-brand>span{font:650 .68rem/1.2 var(--font-mono),monospace;letter-spacing:.015em;color:var(--accent-dark);background:var(--accent-soft);border-radius:.3rem;padding:.3rem .4rem}.workspace-menu{display:none}.workspace-rail-body{display:flex;flex:1 1;flex-direction:column;padding:1.7rem .85rem .75rem;gap:1.6rem}.workspace-label{margin:0 .7rem .55rem;color:var(--mute);font:600 .67rem/1.4 var(--font-mono),monospace;letter-spacing:.1em;text-transform:uppercase}.workspace-resources,.workspace-tabs{display:grid;grid-gap:.25rem;gap:.25rem}.workspace-resources a,.workspace-tabs a,.workspace-tabs button{display:flex;align-items:center;gap:.64rem;width:100%;min-height:2.7rem;padding:.55rem .7rem;border:0;border-radius:.5rem;background:transparent;color:var(--ink-2);font-size:.85rem;line-height:1.45;font-weight:600;text-align:left;cursor:pointer}.workspace-resources a:hover,.workspace-tabs a:hover,.workspace-tabs button:hover{background:var(--surface)}.workspace-resources a[aria-current=page],.workspace-tabs button[aria-selected=true]{background:var(--accent-soft);color:var(--accent-dark)}.workspace-tabs button small{margin-left:auto;font:500 .68rem/1.5 var(--font-mono),monospace;color:var(--mute)}.workspace-resources{border-top:1px solid var(--border);padding-top:1.4rem}.workspace-resources .workspace-label{margin-bottom:.25rem}.workspace-resources a{font-size:.8rem}.workspace-quota{margin:auto .15rem 0;padding:1.05rem;display:grid;text-align:left;border:0;border-radius:.7rem;background:#164433;color:white;cursor:pointer}.workspace-quota:hover{background:#20523e}.quota-title{display:flex;align-items:center;justify-content:space-between;font-size:.9rem}.quota-title svg{color:#bbd9c9}.quota-label{margin-top:.75rem;font-size:.72rem;color:#d0e5d8}.quota-amount{font-weight:700;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.quota-amount span{color:#d0e5d8;font-size:.82rem;font-weight:500}.workspace-quota progress{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;height:.28rem;width:100%;display:block;margin-top:.5rem;border-radius:3px;overflow:hidden;background:#43705a}.workspace-quota progress::-webkit-progress-bar{background:#43705a}.workspace-quota progress::-webkit-progress-value{background:#c7eba2}.workspace-quota progress::-moz-progress-bar{background:#c7eba2}.workspace-account{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-gap:.55rem;gap:.55rem;align-items:center;border-top:1px solid var(--border);padding:1rem .15rem .25rem;margin-top:-.6rem}.account-avatar,.store-icon{display:inline-grid;place-items:center;flex:none;border:1px solid #cfdfd4;background:#eaf3ed;color:#226447}.account-avatar{height:2.1rem;width:2.1rem;border-radius:50%;font-size:.78rem;font-weight:700}.workspace-account div>span,.workspace-account strong{display:block;overflow-wrap:anywhere;line-height:1.4}.workspace-account strong{font-size:.78rem}.workspace-account div>span{color:var(--mute);font-size:.69rem}.workspace-icon-button{display:inline-grid;place-items:center;width:2.35rem;height:2.35rem;padding:0;color:var(--mute);border:0;background:transparent;border-radius:.35rem;cursor:pointer}.workspace-icon-button:hover{background:var(--surface);color:var(--ink)}.workspace-content{min-width:0}.workspace-topline{gap:.5rem;padding:0 clamp(1.25rem,3vw,3.5rem);color:var(--mute);font-size:.8rem;background:#fff}.workspace-topline span{color:var(--ink);font-weight:600}.workspace-canvas{width:100%;max-width:89rem;margin-inline:auto;padding:clamp(1.6rem,2.8vw,2.75rem) clamp(1.25rem,3vw,3.5rem) 6rem}.editor-actions,.store-row-bottom,.store-row-top,.store-section-heading,.workspace-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem}.workspace-heading{margin-bottom:1.5rem}.workspace-heading h1{margin:0;font-size:clamp(1.9rem,3.1vw,2.8rem);line-height:1.15;letter-spacing:-.055em}.store-section-heading p,.workspace-heading p{color:var(--mute);margin:.38rem 0 0;font-size:.9rem}.workspace-content:focus:not(:focus-visible),.workspace-heading h1:focus:not(:focus-visible){outline:none}.merchant-workspace .dash-card{padding:clamp(1rem,1.8vw,1.6rem);box-shadow:0 2px 5px #193d2605}.merchant-workspace .dash-card h2{font-size:clamp(1.1rem,1.5vw,1.38rem)}.merchant-workspace .btn-primary{background:var(--accent);color:white}.merchant-workspace .btn-primary:hover{background:var(--accent-dark)}.merchant-workspace .btn-outline{background:white}.merchant-workspace .btn-outline:hover{background:var(--surface)}.merchant-workspace :focus-visible,.merchant-workspace :is(.btn,.mini-btn,.field input,.field textarea,.field select):focus-visible{outline-color:var(--accent)}.store-workspace{display:grid;grid-gap:1.25rem;gap:1.25rem}.store-section-heading{align-items:flex-start}.store-section-heading h2{display:flex;flex-wrap:wrap;align-items:center;gap:.55rem}.store-count{display:inline-block;border:1px solid var(--border);border-radius:.35rem;padding:.15rem .38rem;font:600 .7rem/1.3 var(--font-mono),monospace;color:var(--mute);letter-spacing:normal}.store-section-heading p{margin-top:.15rem;font-size:.85rem}.store-section-heading+.store-list{margin-top:.9rem}.store-workspace .store-list{gap:0}.store-record{min-width:0;padding:1.15rem 0;border-top:1px solid var(--border)}.store-record:last-child{padding-bottom:0}.store-identity{min-width:0;display:flex;align-items:center;gap:.75rem}.store-identity strong{font-size:.99rem}.store-icon{width:2.6rem;height:2.6rem;border-radius:.65rem}.store-evals{padding:.2rem .55rem;border-radius:1rem;color:var(--accent-dark);background:var(--accent-soft);font-size:.72rem;font-weight:650}.store-row-bottom{margin-top:.8rem}.store-facts{display:flex;flex-wrap:wrap;gap:.25rem 1.15rem;margin:0}.store-facts>div{display:flex;gap:.35rem;align-items:baseline;font-size:.8rem}.store-facts dt{color:var(--mute)}.store-facts dd{margin:0;font-weight:650}.store-controls{display:flex;flex-wrap:wrap;gap:.5rem}.store-controls button,.workspace-menu{align-items:center;justify-content:center;gap:.38rem}.store-controls button{display:inline-flex}.store-credentials,.store-editor{margin:.95rem 0 0;padding:1rem;border-radius:.6rem;background:var(--surface)}.store-credentials p{margin:0 0 .75rem;color:var(--ink-2);font-size:.85rem}.store-credentials .cred-row{margin-bottom:.45rem}.store-credentials .store-item-actions{margin-top:.9rem}.store-editor{padding:clamp(1rem,2vw,1.6rem);border:1px solid var(--border);margin-bottom:1rem}.store-editor h3,.store-empty h3{margin:0;font-size:1.07rem}.store-editor>p{margin:.25rem 0 1rem;font-size:.88rem}.store-editor .field-hint{margin:-.35rem 0 0}.store-editor .app-form{gap:.85rem}.store-reason-rules{border:1px solid var(--border);border-radius:.45rem;padding:.85rem 1rem 1rem;min-width:0}.store-reason-rules legend{padding-inline:.3rem;font-size:.88rem;font-weight:650}.store-reason-rules>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr));grid-gap:.75rem;gap:.75rem}.editor-actions{justify-content:flex-start}.store-empty{background:var(--surface);border-radius:.6rem;margin-top:1rem;padding:1.3rem;display:flex;align-items:center;gap:.95rem}.store-empty p{margin:.25rem 0 0;color:var(--mute);font-size:.85rem}.evaluation-ledger .table-wrap{margin:1rem 0 0}.evaluation-ledger{container-type:inline-size}.evaluation-ledger table{font-size:.84rem;line-height:1.5}.evaluation-ledger th{background:var(--surface);font-size:.77rem}.evaluation-ledger td,.evaluation-ledger th{padding:.8rem .65rem;vertical-align:top}.evaluation-ledger th{vertical-align:middle}.evaluation-time{min-width:6.6rem;color:var(--mute);font-size:.79rem;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.evaluation-time time{display:inline-block;max-width:11ch}.evaluation-ledger td[data-label=Order]{min-width:5.7rem}.evaluation-ledger td[data-label="Credit offer"],.evaluation-ledger td[data-label=Amount]{white-space:nowrap}.evaluation-ledger td[data-label=Resolution]{min-width:8rem}.evaluation-ledger td[data-label=Order] code{display:inline-block;max-width:14ch}.evaluation-ledger td[data-label=Reason]{min-width:5.5rem}.evaluation-ledger td,.evaluation-ledger th{overflow-wrap:normal}.evaluation-ledger .mini-btn{white-space:nowrap}.evaluation-ledger .load-more{margin-top:.85rem}.workspace-loading{min-height:65vh;display:grid;align-content:center;justify-items:center;text-align:center;padding:1.5rem}.workspace-loading p{color:var(--mute)}@media (max-width:60rem){.merchant-workspace{grid-template-columns:minmax(0,1fr);align-content:start}.workspace-rail{position:static;height:auto;border-right:0;border-bottom:1px solid var(--border)}.workspace-brand-row{min-height:3.75rem;border-bottom:0;padding:.65rem 1.15rem}.workspace-menu{display:inline-flex;min-height:2.5rem;padding:.4rem .75rem;border:1px solid var(--border);border-radius:.45rem;background:white;color:var(--ink);font-size:.83rem;font-weight:650;cursor:pointer}.workspace-rail-body{display:none}.workspace-rail-body[data-open=true]{display:grid;grid-gap:1rem;gap:1rem;border-top:1px solid var(--border);padding:1rem}.workspace-resources{padding-top:.75rem}.workspace-quota{margin:0}.workspace-account{margin:0;padding:.7rem .15rem 0}.workspace-topline{display:none}}@media (max-width:45rem){.workspace-canvas{padding:1.4rem 1rem 5rem}.workspace-heading{align-items:flex-start;margin-bottom:1rem}.workspace-heading p{font-size:.85rem}.store-row-bottom,.store-section-heading{gap:.65rem}}@container (max-width: 53rem){.evaluation-ledger .table-wrap{border:0;border-radius:0;overflow:visible}.evaluation-ledger table,.evaluation-ledger tbody,.evaluation-ledger tr{display:block;min-width:0;width:100%}.evaluation-ledger thead{position:absolute;width:1px;height:1px;overflow:hidden;-webkit-clip-path:inset(50%);clip-path:inset(50%)}.evaluation-ledger tbody tr{border-top:1px solid var(--border);padding:.7rem 0}.evaluation-ledger tbody tr:last-child{padding-bottom:0}.evaluation-ledger .table-wrap td{display:grid;grid-template-columns:5.8rem minmax(0,1fr);grid-gap:.6rem;gap:.6rem;align-items:baseline;justify-items:start;border:0;padding:.25rem 0;white-space:normal;overflow-wrap:anywhere}.evaluation-time time{max-width:none}.evaluation-ledger td:before{content:attr(data-label);color:var(--mute);font-size:.75rem}.evaluation-ledger td>:not(:first-child){grid-column:2}}@media (prefers-reduced-motion:reduce){html:has(.merchant-workspace){scroll-behavior:auto}}