.workspace-intro{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.workspace-intro a{font-size:13px;color:#495b3d}.agent-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:20px 0 28px}.agent-heading h2{font-size:32px;margin:12px 0}.agent-heading p{max-width:750px;color:#586052;line-height:1.6}.agent-detail{align-items:start!important;grid-template-columns:minmax(280px,360px) minmax(0,1fr)!important}.compact h3{margin-top:4px}.compact label{font-size:13px}.compact form{margin-top:20px}.compact details{border-top:1px solid #dfe4d7;margin-top:28px;padding-top:22px}.compact summary{cursor:pointer;font-weight:700}.compact details h4{margin-top:24px}.compact .telegram-box{margin:24px 0}.chips{display:flex;gap:6px;flex-wrap:wrap;margin:18px 0}.chips span{background:#edf2e5;border-radius:24px;font-size:11px;padding:7px 10px}.warning{background:#fff1d6!important;color:#694a1a!important;border:1px solid #ead3a8;line-height:1.6;padding:14px 18px;border-radius:12px}.warning ul{padding-left:18px;margin-bottom:0}.agent-work{min-width:0;background:#fff;border:1px solid #e1e5da;border-radius:20px;overflow:hidden}.tabs{display:flex;flex-wrap:wrap;gap:6px;padding:14px;border-bottom:1px solid #e2e7db}.tabs button{border:0;background:transparent;padding:10px 12px;border-radius:9px;cursor:pointer;color:#666d60}.tabs button.selected{background:#e7f4c5;color:#253516;font-weight:700}#agentPane{padding:22px}#agentPane .chat-panel{padding:0;border:0;background:transparent;min-height:500px}.chat-messages{min-height:280px;max-height:480px}.bubble{white-space:pre-wrap;overflow-wrap:anywhere}.muted{font-size:13px;color:#697261;line-height:1.65}.prewrap{white-space:pre-wrap;overflow-wrap:anywhere}.result-card{padding:20px 0;border-bottom:1px solid #e3e7df}.result-card:last-child{border:0}.result-card h4{margin:10px 0}.result-card small{color:#6d7566}.result-card p{line-height:1.65;overflow-wrap:anywhere}.result-card .button{font-size:12px;margin-top:10px}.transcript{max-height:350px;overflow:auto;background:#f7f9f3;border-radius:10px;padding:12px;margin-top:10px}.transcript p{font-size:13px}.schedule-proposal{padding:18px;background:#eff5e5;border-radius:12px;margin:24px 0}.schedule-proposal p{font-size:13px;line-height:1.6}.dash-card{text-align:left;cursor:pointer;font-family:inherit;color:inherit;transition:transform .15s}.dash-card:hover{transform:translateY(-3px)}.dash-card p{line-height:1.65}.toast{position:fixed;right:20px;bottom:20px;z-index:80;padding:15px 20px;border-radius:12px;background:#172213;color:#fff;font-size:14px;max-width:420px;box-shadow:0 6px 30px #0002}.toast.bad{background:#8d3826}.recovery{max-width:500px}.recovery p{line-height:1.7;margin:20px 0}.recovery input{font-family:monospace;font-size:18px;width:100%;padding:15px}.recovery button{margin-top:16px}button:disabled{opacity:.5;cursor:wait}.button{text-decoration:none}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #829c31;outline-offset:4px}.agent-card button{min-height:44px}.plan span{line-height:1.5}.error:empty{display:none}.recovery-field.hidden{display:none}
@media(max-width:1000px){.agent-detail{grid-template-columns:1fr!important}.agent-work{order:-1}.agent-heading{align-items:flex-start}.agent-heading h2{font-size:26px}.workspace-intro{display:block}.workspace-intro a{display:block;margin:12px 0}.tabs{gap:3px}.tabs button{font-size:12px;padding:8px}#agentPane{padding:16px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.brand-mark{flex-shrink:0}
@media(max-width:1000px){.needs-setup .agent-work{order:0}}
@media(max-width:600px){.app-shell .aside-bottom{display:contents}.app-shell #logoutButton{font-size:11px;flex:1;text-align:center}}

/* Cabinet extension: inherit the existing brand, keep daily work in one pane. */
.app-shell{--ui-muted:#586052;--ui-line:#d5d9ce;--ui-surface:#f5f6f1}
.app-shell ::selection{background:#d7ff43;color:#10130f}
.app-shell input,.app-shell textarea{caret-color:#425718}
.app-shell input::placeholder,.app-shell textarea::placeholder{color:#62685e;opacity:1}
.app-shell .workspace{scrollbar-color:#9aa18e #ecebe5;scrollbar-width:thin}
.app-shell .workspace>header{padding-block:20px}
.app-shell .workspace>header>div>small{display:none}
.app-shell .workspace>header h2{font-size:1.25rem;letter-spacing:-.02em}
.app-shell .button{min-height:44px;font-family:inherit}
.app-shell a.button{color:var(--ink)}
.app-shell a.button.primary{color:white}
.app-shell #workspaceContent{padding-top:24px}
.app-shell .agent-heading h2{margin:8px 0 0}
.app-shell .back{margin-bottom:4px}
.app-shell #logoutButton{white-space:nowrap}
.app-shell .nav-word{display:inline}
.app-shell .muted{color:var(--ui-muted);font-size:.875rem}
.app-shell small{letter-spacing:normal;font-weight:500}
.app-shell h3{font:700 1.5rem/1.3 Manrope,Arial,sans-serif;letter-spacing:-.02em}
.app-shell .agent-heading h2{font-size:1.75rem;overflow-wrap:anywhere}
.agent-heading{margin:4px 0 24px;align-items:flex-start}
.agent-heading p{font-size:.9375rem;margin:10px 0 0;max-width:65ch}
.heading-actions{display:flex;flex-wrap:wrap;gap:8px;flex-shrink:0;padding-top:8px}
.status{font-size:.75rem;letter-spacing:0}
.status-paused,.status-draft,.status-pairing,.status-clarifying{background:#fff1d6;color:#694a1a}
.status-paused:before,.status-draft:before,.status-pairing:before,.status-clarifying:before{background:#956a16}
.simple-work{border-radius:16px;overflow:visible}
.simple-work .tabs{display:flex;flex-wrap:nowrap;gap:4px;align-items:center;padding:10px 16px;position:relative}
.simple-work .tabs button,.more-nav summary{font:600 .875rem/1.3 Manrope,Arial,sans-serif;min-height:44px;padding:12px 14px;color:#47513e;cursor:pointer;border-radius:8px;white-space:nowrap}
.simple-work .tabs button:hover,.more-nav summary:hover{background:#f0f3e9}
.simple-work .tabs .selected{background:#e7f4c5;color:#253516}
.more-nav{position:relative;margin-left:auto}
.more-nav summary{list-style:none;display:flex;align-items:center;gap:10px}
.more-nav summary::-webkit-details-marker{display:none}
.more-nav summary:after{content:'';width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin-top:-4px}
.more-nav>div{position:absolute;right:0;top:calc(100% + 6px);width:200px;padding:8px;background:white;border:1px solid var(--ui-line);border-radius:12px;z-index:5;display:grid}
.more-nav button{text-align:left;width:100%}
#agentPane{padding:28px}
#agentPane h3{margin:0 0 8px}
.pane-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px}
.pane-heading p{margin:0;max-width:65ch}
.pane-heading>.button{flex-shrink:0}
.settings-page{max-width:800px;margin:0 auto}
.settings-page .compact>h3{margin-top:28px!important;font-size:1.125rem!important}
.settings-page .compact label{font-size:.875rem}
.settings-page .compact details{margin-top:32px}
.settings-page .compact details summary{min-height:44px}
.app-shell .notice{border-left-width:1px;font-size:.875rem}
.overview{max-width:900px;margin:auto}
.overview-intro>p{color:var(--ui-muted);line-height:1.65;max-width:65ch;margin:8px 0 28px}
.setup-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--ui-line);padding:0 0 24px}
.setup-summary p{margin:6px 0 0;overflow-wrap:anywhere}
.setup-summary b{font-size:.9375rem}
.next-action{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 0 28px;border-bottom:1px solid var(--ui-line)}
.next-action h4{font-size:1.25rem;margin:0 0 8px;letter-spacing:-.02em}
.next-action p{max-width:55ch;line-height:1.65;font-size:.9375rem;color:var(--ui-muted);margin:0}
.next-action>.button{flex-shrink:0;background:var(--acid);color:var(--ink);border-color:var(--acid)}
.action-list{display:grid;grid-template-columns:1fr 1fr;column-gap:32px;padding-top:8px}
.action-list button{display:flex;align-items:center;justify-content:space-between;gap:16px;text-align:left;padding:20px 0;border:0;border-bottom:1px solid #e3e7df;background:none;color:var(--ink);font-family:inherit;cursor:pointer}
.action-list button:hover b{text-decoration:underline;text-underline-offset:4px}
.action-list b{font-size:.9375rem}
.action-list small{display:block;color:var(--ui-muted);font-size:.8125rem;line-height:1.6;margin-top:6px}
.catalog-toolbar{display:flex;align-items:end;gap:16px;margin-bottom:20px}
.catalog-toolbar label{margin:0;min-width:150px;font-size:.8125rem}
.catalog-toolbar .search-label{flex:1}
.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,235px),1fr));gap:20px}
.product-card{border:1px solid var(--ui-line);border-radius:12px;overflow:hidden;background:white;min-width:0;display:flex;flex-direction:column}
.product-card>img,.product-card>.photo-placeholder{display:block;width:100%;height:200px;object-fit:contain;background:var(--ui-surface)}
.photo-placeholder{display:grid!important;place-items:center;padding:24px;text-align:center;color:#5b6452;font-size:.875rem;background:var(--ui-surface)}
.product-content{padding:18px;display:flex;flex-direction:column;flex:1}
.product-content h4{font-size:1rem;line-height:1.5;margin:10px 0 6px;overflow-wrap:anywhere}
.product-price{font-size:1.125rem;font-weight:800;margin:0 0 8px;font-variant-numeric:tabular-nums}
.stock{font-size:.75rem;font-weight:600;color:#3f591e;line-height:1.5}
.stock-on_order{color:#72551b}.stock-out_of_stock{color:#725043}
.product-description{color:var(--ui-muted);font-size:.875rem;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 16px;max-height:7.5em;overflow:auto}
.product-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:8px}
.product-actions .button{padding:10px 16px;font-size:.8125rem}
.text-button{border:0;background:transparent;text-decoration:underline;text-underline-offset:4px;color:#435b25;cursor:pointer;font:600 .8125rem/1.5 Manrope,Arial,sans-serif;min-height:44px;padding:8px 4px}
.check-product{align-self:flex-start;margin-top:8px}
.catalog-empty{padding:48px 24px;background:var(--ui-surface);border-radius:12px;text-align:center}
.catalog-empty h4{font-size:1.25rem;margin:0 0 12px}
.catalog-empty p{color:var(--ui-muted);line-height:1.65;max-width:44ch;margin:0 auto 24px}
.catalog-limit{margin:24px 0 0;max-width:75ch}
.product-form{display:grid;grid-template-columns:minmax(200px,280px) minmax(0,1fr);gap:32px;max-width:950px}
.product-form label{font-size:.875rem}
.product-fields>label:first-child{margin-top:0}
#photoPreview>img,#photoPreview>.photo-placeholder{width:100%;height:240px;object-fit:contain;background:var(--ui-surface);border-radius:12px;display:block}
.upload-label{padding-top:8px}
.upload-label input{font-size:.75rem;padding:8px;overflow:hidden}
.upload-label input::file-selector-button{font:600 .8125rem Manrope,Arial,sans-serif;min-height:44px;padding:8px 12px;background:var(--ui-surface);color:var(--ink);border:0;border-radius:6px;margin-right:8px;cursor:pointer}
.field-hint{display:block;font-size:.75rem;font-weight:500;color:var(--ui-muted);line-height:1.5;margin-top:8px}
.form-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.quick-prompts{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0 16px}
.quick-prompts .button{font-size:.8125rem;padding:10px 14px;border-color:var(--ui-line)}
#agentPane .chat-panel{min-height:0}
.chat-messages{height:400px;min-height:240px;max-height:55vh}
.chat-empty{padding:48px 16px;color:var(--ui-muted)}
.chat-empty h4{color:var(--ink);font-size:1.125rem;margin:0 0 10px}
.chat-empty p{font-size:.875rem;line-height:1.6}
.bubble .product-card{margin-top:12px;max-width:300px;white-space:normal}
.bubble .product-card>img{height:180px}
.app-shell .back{font:600 .8125rem Manrope,Arial,sans-serif;color:#435334;min-height:44px;padding:8px 0;margin-bottom:12px}
.app-shell .dash-card h3{font:700 1.25rem/1.4 Manrope,Arial,sans-serif}
.app-shell .dash-card:hover{transform:none;background:#fbfcf8}
@media(max-width:1100px){.agent-heading{flex-direction:column;gap:12px}.heading-actions{padding-top:0}.product-form{grid-template-columns:220px minmax(0,1fr);gap:24px}.product-form .form-row{grid-template-columns:1fr}}
@media(max-width:600px){.app-shell .nav-word{display:none}.app-shell aside .nav{padding:10px 6px;white-space:nowrap}.simple-work .tabs button,.more-nav summary{padding-inline:8px!important}.app-shell #workspaceContent{padding-top:12px}.agent-heading{gap:12px;margin-bottom:20px}}
@media(max-width:900px){.app-shell{grid-template-columns:180px 1fr}.app-shell aside .nav{font-size:.8125rem}.app-shell aside .brand span:last-child{font-size:1.125rem}.app-shell .nav:first-letter{font-size:inherit}.product-form{grid-template-columns:1fr}.photo-editor{max-width:360px}.action-list{grid-template-columns:1fr}.next-action{align-items:flex-start;flex-direction:column}.simple-work .tabs{padding:8px}.simple-work .tabs button,.more-nav summary{padding:12px 10px;font-size:.8125rem}#agentPane{padding:24px}}
@media(max-width:600px){.app-shell{grid-template-columns:1fr}.app-shell aside .nav{font-size:.75rem}.app-shell .workspace>header{padding:16px;gap:12px}.app-shell .workspace>header h2{font-size:1.125rem}.app-shell .workspace>header .button{font-size:.75rem;padding:10px 14px}.app-shell .workspace>header .button:first-letter{font-size:inherit}#workspaceContent{padding:16px}.app-shell .agent-heading h2{font-size:1.5rem}.agent-heading p{font-size:.875rem}.pane-heading{flex-direction:column;gap:16px;margin-bottom:24px}#agentPane{padding:20px 16px}.simple-work .tabs{gap:0;flex-wrap:wrap}.simple-work .tabs button,.more-nav summary{padding:12px 10px}.more-nav{margin-left:0}.catalog-toolbar{gap:12px;flex-wrap:wrap}.catalog-toolbar label{min-width:0;width:100%}.catalog-toolbar .search-label{flex-basis:100%}.product-grid{grid-template-columns:1fr}.product-card>img{height:240px}.setup-summary{align-items:flex-start;flex-direction:column}.catalog-empty{padding:32px 16px}.product-form input,.product-form textarea,.product-form select,.chat-form input{font-size:1rem}.form-actions .button{flex:1}.toast{left:16px;right:16px;bottom:80px;max-width:none}.chat-messages{height:340px}.heading-actions .button{font-size:.8125rem}.workspace{padding-bottom:80px}.bubble{max-width:95%}.product-form .form-row{gap:0}.photo-editor{max-width:none}}
.subscription-page{max-width:920px}.subscription-page h2,.subscription-page h3{font-family:Manrope,Arial,sans-serif;letter-spacing:-.02em}.subscription-page h2{font-size:28px;margin-bottom:12px}.subscription-page h3{font-size:20px;margin:20px 0 12px}.subscription-summary{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:24px;background:#fff;border:1px solid #d5d9ce;border-radius:16px;margin:24px 0}.subscription-summary p{font-size:14px;color:#586052;max-width:60ch}.subscription-summary .button{flex-shrink:0}.subscription-offer{background:#fff;border:1px solid #d5d9ce;border-radius:16px;padding:28px;margin-bottom:32px;max-width:680px}.subscription-offer>h3{margin-top:0}.subscription-price{font-size:32px;font-weight:800;letter-spacing:-.03em}.subscription-price span{display:block;font-size:14px;font-weight:500;color:#586052;letter-spacing:0}.subscription-offer ul{padding-left:20px;margin:24px 0;line-height:1.8}.subscription-consent{display:flex!important;gap:12px;align-items:flex-start;font-size:13px!important;line-height:1.6;font-weight:500!important}.subscription-consent input{width:20px!important;min-width:20px;height:20px;accent-color:#506718;margin:3px 0 0!important}.subscription-payment{display:flex;justify-content:space-between;gap:24px}.subscription-payment small{color:#586052}.subscription-page .button{min-height:44px}
@media(max-width:600px){.subscription-summary,.subscription-payment{flex-direction:column;gap:12px}.subscription-summary,.subscription-offer{padding:20px 16px}.subscription-price{font-size:28px}.subscription-page h2{font-size:24px}}
@media(max-width:600px){.app-shell aside{gap:4px}.app-shell aside .nav,.app-shell #logoutButton{flex:1 1 0;min-width:0;padding-inline:4px;font-size:11px;min-height:44px}}
