@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/ba9851c3c22cd980-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/21350d82a1f187e9-s.p.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/c5fe6dc8356a8c31-s.woff2) format("woff2");unicode-range:u+1f??}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/19cfc7226ec3afaa-s.woff2) format("woff2");unicode-range:u+0370-0377,u+037a-037f,u+0384-038a,u+038c,u+038e-03a1,u+03a3-03ff}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/df0a9ae256c0569c-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/8e9860b6e62d6359-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,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:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/e4af272ccee01ff0-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Inter Fallback;src:local("Arial");ascent-override:90.44%;descent-override:22.52%;line-gap-override:0.00%;size-adjust:107.12%}.__className_fcbcbf{font-family:Inter,Inter Fallback;font-style:normal}:root{color-scheme:light;--bg:#f6f6f7;--surface:#ffffff;--surface-soft:#f6f6f7;--surface-muted:#f2f2f7;--border:#e6e6e7;--border-strong:#d9d9d9;--text:#22242a;--text-muted:#707172;--text-subtle:#b2b4b6;--sidebar:#313953;--sidebar-soft:#404969;--sidebar-muted:#aab1cb;--divider:#efefef;--accent:#ff6b00;--accent-strong:#e56000;--accent-soft:#ffeee1;--accent-medium:#ffe1cc;--danger:#d83933;--danger-bg:#fae2e0;--success:#268c30;--success-bg:#e3f7e5;--warning:#e39917;--warning-bg:#fffaf1;--radius:8px;--shadow:0 12px 28px rgba(34,36,42,0.08)}*{box-sizing:border-box}body,html{min-height:100%}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px;letter-spacing:0}button,input,select,textarea{font:inherit;color-scheme:light}button{border:0}a{color:inherit;text-decoration:none}strong{font-weight:760}.auth-page{display:grid;min-height:100vh;place-items:center;padding:32px;background:var(--bg)}.auth-shell{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:min(900px,calc(100vw - 64px));min-height:360px;overflow:hidden;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:0 16px 38px rgba(34,36,42,.09)}.auth-hero{position:relative;display:flex;flex-direction:column;justify-content:flex-start;gap:0;min-height:100%;padding:36px 52px;overflow:hidden;background:var(--sidebar);color:#ffffff}.auth-brand-stack{position:relative;z-index:1;display:grid;grid-gap:8px;gap:8px}.auth-brand-row{position:relative;z-index:1;display:flex;align-items:center;gap:12px;color:#ffffff;font-size:17px;font-weight:760}.auth-brand-mark{display:inline-grid;width:32px;height:32px;flex:0 0 auto;place-items:center;border-radius:var(--radius);background:var(--accent);color:#ffffff;font-size:14px;font-weight:820}.auth-brand-note{margin:0;color:var(--sidebar-muted);font-size:13px;font-weight:500;line-height:1.4}.auth-hero-copy{position:relative;z-index:1;display:grid;grid-gap:8px;gap:8px;max-width:360px;margin:56px 0 0}.auth-hero-copy h1{margin:0;max-width:360px;color:#ffffff;font-size:24px;font-weight:760;line-height:1.25}.auth-panel{width:min(420px,100%);padding:28px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow)}.auth-card{display:grid;align-content:center;justify-self:stretch;width:100%;min-height:100%;padding:52px;border:0;border-radius:0;box-shadow:none}.auth-card .field label{color:#414651;font-size:14px;font-weight:500;letter-spacing:0;text-transform:none}.auth-card .field input{height:44px;transition:border-color .14s ease,box-shadow .14s ease}.auth-card .field input:hover:not(:focus){border-color:#c8c8ca}.auth-card .button{min-height:44px;margin-top:2px}.auth-card .button:hover:not(:disabled){box-shadow:none;transform:none}.auth-card .button:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(255,107,0,.2)}.page-title h1{margin:0;font-size:26px;line-height:1.18}.muted{color:var(--text-muted)}.stack{display:grid;grid-gap:16px;gap:16px}.field{display:grid;grid-gap:7px;gap:7px}.field label{color:var(--text-muted);font-size:11px;font-weight:760;letter-spacing:.02em;text-transform:uppercase}.field input,.field select{width:100%;height:42px;padding:0 12px;border:1px solid var(--border-strong);border-radius:var(--radius);background:#fff;color:var(--text)}.compact-select,.field select,.shop-access-row select{appearance:none;-webkit-appearance:none;-moz-appearance:none;padding-right:34px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none' stroke='%23707172' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5l4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}.compact-select::-ms-expand,.field select::-ms-expand,.shop-access-row select::-ms-expand{display:none}.field input:hover,.field select:hover{border-color:var(--accent)}.field input:focus,.field select:focus{border-color:var(--accent);outline:none;box-shadow:0 0 0 2px rgba(255,107,0,.12)}input[type=checkbox]{width:14px;height:14px;flex-shrink:0;margin:0}.field-checkbox,.field-checkbox label{display:flex;align-items:center}.field-checkbox label{gap:8px;text-transform:none;font-size:13px;font-weight:500;color:var(--text);cursor:pointer}.field-checkbox input[type=checkbox]{width:16px;height:16px;cursor:pointer}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 15px;border:1px solid transparent;border-radius:var(--radius);background:var(--accent);color:#fff;cursor:pointer;font-weight:720;line-height:1;transition:background .14s ease,border-color .14s ease,color .14s ease,box-shadow .14s ease,transform .14s ease}.button:hover{background:var(--accent-strong);box-shadow:0 8px 16px rgba(255,107,0,.18);transform:translateY(-1px)}.button.secondary{border-color:var(--border);background:var(--surface);color:var(--text)}.button.secondary:hover{border-color:var(--border-strong);background:var(--surface-soft);box-shadow:0 8px 16px rgba(23,32,51,.07)}.button.danger{background:var(--danger)}.button.danger:hover{background:#931b13;box-shadow:0 8px 16px rgba(180,35,24,.16)}.button:disabled{cursor:not-allowed;opacity:.55;transform:none}.app-shell{display:grid;min-height:100vh;grid-template-columns:252px 1fr}.sidebar{display:flex;flex-direction:column;border-right:1px solid rgba(255,255,255,.08);background:var(--sidebar);color:#f8fafc}.brand{display:flex;align-items:center;gap:10px;min-height:64px;padding:0 18px;border-bottom:1px solid rgba(255,255,255,.1);font-size:17px;font-weight:780}.brand-mark{display:inline-grid;width:32px;height:32px;flex:0 0 auto;place-items:center;border-radius:var(--radius);background:var(--accent);color:#ffffff;font-size:14px;font-weight:820}.brand-name{overflow:hidden;white-space:nowrap}.sidebar-toggle{display:inline-grid;width:32px;height:32px;flex:0 0 auto;margin-left:auto;place-items:center;border-radius:var(--radius);background:transparent;color:var(--sidebar-muted);cursor:pointer;transition:background .14s ease,color .14s ease}.sidebar-toggle:hover{background:var(--sidebar-soft);color:#fff}.app-shell.collapsed{grid-template-columns:72px 1fr}.collapsed .brand{flex-direction:column;gap:8px;justify-content:center;padding:12px 0}.collapsed .brand-name{display:none}.collapsed .sidebar-toggle{margin-left:0}.collapsed .nav a,.collapsed .sidebar-footer button{justify-content:center;padding:0;gap:0}.collapsed .nav a .badge,.collapsed .nav a [data-nav-badge],.collapsed .nav a span,.collapsed .sidebar-footer button span{display:none}.nav{display:grid;grid-gap:4px;gap:4px;padding:14px}.nav a,.sidebar-footer button{display:flex;align-items:center;gap:10px;width:100%;min-height:40px;padding:0 11px;border-radius:var(--radius);background:transparent;color:var(--sidebar-muted);cursor:pointer;text-align:left;transition:background .14s ease,color .14s ease}.nav .active,.nav a:hover,.sidebar-footer button:hover{background:var(--sidebar-soft);color:#fff}.nav .active{box-shadow:inset 3px 0 0 var(--accent)}.sidebar-footer{margin-top:auto;padding:14px;border-top:1px solid rgba(255,255,255,.1)}.main{min-width:0}.sidebar-user{display:flex;align-items:center;gap:10px;padding:8px 11px 12px;min-width:0}.sidebar-user-avatar{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;flex:0 0 auto;border-radius:999px;background:var(--accent);color:#fff;font-size:13px;font-weight:600}.sidebar-user-info{display:flex;flex-direction:column;gap:1px;min-width:0}.sidebar-user-info strong{font-size:13px;font-weight:600;color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-user-info span{font-size:12px;color:var(--sidebar-muted)}.collapsed .sidebar-user{justify-content:center;padding:8px 0 12px}.collapsed .sidebar-user-info{display:none}.content{display:grid;grid-gap:20px;gap:20px;padding:28px}.page-title{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px}.page-title p{margin:10px 0 0}.panel{overflow:hidden;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:0 1px 2px rgba(23,32,51,.04)}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:15px 16px;border-bottom:1px solid var(--border);background:var(--surface-soft)}.panel-title{margin:0;font-size:16px;line-height:1.25}.panel-body{padding:16px}.grid-2{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,360px);grid-gap:20px;gap:20px}.metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));grid-gap:16px;gap:16px}.metric{display:grid;min-height:118px;align-content:space-between;grid-gap:8px;gap:8px;padding:16px;border:1px solid var(--border);background:var(--surface);box-shadow:0 1px 2px rgba(23,32,51,.04)}.metric,.metric-icon{border-radius:var(--radius)}.metric-icon{display:inline-grid;width:34px;height:34px;place-items:center;background:var(--accent-soft);color:var(--accent)}.metric-label{color:var(--text-muted);font-weight:660}.metric-value{font-size:22px;line-height:1}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse}td,th{padding:12px;border-bottom:1px solid var(--border);text-align:left;vertical-align:middle;white-space:nowrap}th{color:var(--text-muted);font-size:11px;font-weight:780;letter-spacing:.02em;text-transform:uppercase}tbody tr:hover{background:#fbfcfe}tr:last-child td{border-bottom:0}.actions{display:flex;flex-wrap:wrap;gap:8px}.shops-page,.users-page{gap:18px}.shops-title,.users-title{align-items:center}.shops-title-actions,.users-title-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.access-scope{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:0 12px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--text-muted);font-weight:720;white-space:nowrap}.access-scope svg{color:var(--accent)}.shops-summary-grid,.users-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));grid-gap:12px;gap:12px}.user-stat{display:grid;grid-template-columns:38px minmax(0,1fr);grid-gap:4px 12px;gap:4px 12px;min-height:88px;align-items:center;padding:15px;border:1px solid var(--border);background:var(--surface);box-shadow:0 1px 2px rgba(23,32,51,.04)}.user-stat,.user-stat-icon{border-radius:var(--radius)}.user-stat-icon{display:inline-grid;width:38px;height:38px;grid-row:span 2;place-items:center;background:var(--accent-soft);color:var(--accent)}.user-stat-icon.success{background:var(--success-bg);color:var(--success)}.user-stat-icon.admin{background:rgba(49,57,83,.08);color:var(--sidebar)}.user-stat-icon.warning{background:var(--warning-bg);color:var(--warning)}.user-stat-label{align-self:end;color:var(--text-muted);font-size:12px;font-weight:760}.user-stat strong{align-self:start;font-size:24px;line-height:1}.users-layout{display:grid;grid-template-columns:1fr;grid-gap:18px;gap:18px;align-items:start}.users-list-panel{min-width:0}.users-toolbar{display:grid;grid-gap:14px;gap:14px;padding:16px;border-bottom:1px solid var(--border);background:var(--surface-soft)}.create-user-panel .panel-header p,.users-toolbar p{margin:6px 0 0}.users-filters{display:grid;grid-template-columns:minmax(280px,1fr) auto 170px;grid-gap:10px;gap:10px;align-items:center}.shops-filters{grid-template-columns:minmax(300px,1fr) auto 190px}.users-filters .search-field{grid-column:auto}.users-filters .segmented-control{min-width:0}.input-with-icon,.search-field{position:relative;display:flex;align-items:center}.input-with-icon svg,.search-field svg{position:absolute;left:12px;color:var(--text-subtle);pointer-events:none}.input-with-icon input,.search-field input{width:100%;height:42px;padding:0 12px 0 38px;border:1px solid var(--border-strong);border-radius:var(--radius);background:#fff;color:var(--text)}.compact-select:hover,.input-with-icon input:hover,.search-field input:hover{border-color:var(--border-strong)}.compact-select:focus,.input-with-icon input:focus,.search-field input:focus{border-color:var(--accent);outline:none;box-shadow:0 0 0 2px rgba(255,107,0,.12)}.segmented-control{display:inline-flex;min-height:42px;padding:3px;border:1px solid var(--border);border-radius:var(--radius);background:#fff}.segmented-control button{min-width:74px;padding:0 10px;border-radius:6px;background:transparent;color:var(--text-muted);cursor:pointer;font-weight:720}.segmented-filter-select{display:none}@media (max-width:1020px){.segmented-control{display:none}.segmented-filter-select{display:block}}.segmented-control button:hover{color:var(--text)}.segmented-control button.active{background:var(--accent);color:#fff;box-shadow:0 4px 12px rgba(255,107,0,.24)}.compact-select{width:100%;height:42px;padding:0 34px 0 11px;border:1px solid var(--border-strong);border-radius:var(--radius);background-color:#fff;color:var(--text)}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.users-table td:first-child,.users-table th:first-child{min-width:260px}.users-table td:last-child,.users-table th:last-child{min-width:320px}.shops-table td:first-child,.shops-table th:first-child{min-width:300px}.shops-table td:last-child,.shops-table th:last-child{min-width:180px}.shop-cell,.user-cell{display:flex;align-items:center;gap:11px}.shop-avatar,.user-avatar{display:inline-grid;width:36px;height:36px;flex:0 0 auto;place-items:center;border:1px solid #c8d5e8;border-radius:var(--radius);background:#eff5ff;color:#23406f;font-size:12px;font-weight:820}.shop-avatar.yandex{border-color:#ffd9a3;background:#fff7e8;color:#8a4b00}.shop-avatar.ozon{border-color:#bed3ff;background:#eef4ff;color:#174ea6}.shop-avatar.wildberries{border-color:#e6b9dc;background:#fff1fb;color:#8a196f}.shop-avatar.megamarket{border-color:#bddfd2;background:#eefaf4;color:#08734e}.shop-cell div,.user-cell div{display:grid;grid-gap:3px;gap:3px;min-width:0}.shop-cell strong,.user-cell strong{overflow:hidden;max-width:280px;text-overflow:ellipsis}.shop-cell span:not(.shop-avatar),.user-cell span:not(.user-avatar){overflow:hidden;max-width:320px;color:var(--text-muted);text-overflow:ellipsis}.user-cell em{width:-moz-fit-content;width:fit-content;padding:2px 6px;border-radius:999px;background:var(--surface-muted);color:var(--text-muted);font-size:11px;font-style:normal;font-weight:760}.role-badge{display:inline-flex;align-items:center;min-height:26px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:780}.role-badge.superadmin{background:#ecfdf3;color:#05603a}.role-badge.admin{background:rgba(49,57,83,.08);color:var(--sidebar)}.role-badge.user{background:var(--surface-muted);color:var(--text-muted)}.code-pill,.marketplace-badge{display:inline-flex;align-items:center;min-height:26px;border-radius:999px;font-size:12px;font-weight:780}.marketplace-badge{padding:0 10px;background:var(--surface-muted);color:var(--text-muted)}.marketplace-badge.yandex{background:#fff7e8;color:#8a4b00}.marketplace-badge.ozon{background:#eef4ff;color:#174ea6}.marketplace-badge.wildberries{background:#fff1fb;color:#8a196f}.marketplace-badge.megamarket{background:#eefaf4;color:#08734e}.code-pill{max-width:160px;padding:0 9px;overflow:hidden;background:#f6f8fb;color:var(--text-muted);font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;text-overflow:ellipsis}.organization-cell{display:grid;grid-gap:2px;gap:2px;min-width:0}.organization-cell strong{overflow:hidden;max-width:220px;text-overflow:ellipsis}.organization-cell span{overflow:hidden;max-width:180px;color:var(--text-subtle);font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:11px;text-overflow:ellipsis}.row-actions{display:flex;flex-wrap:wrap;gap:7px}.table-action{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:32px;padding:0 10px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--text);cursor:pointer;font-size:12px;font-weight:760;transition:background .14s ease,border-color .14s ease,color .14s ease}.table-action:hover{border-color:var(--border-strong);background:var(--surface-soft)}.table-action.primary{border-color:var(--accent-medium);background:var(--accent-soft);color:var(--accent)}.table-action.primary:hover{border-color:var(--accent);background:var(--accent-medium)}.table-action.danger{border-color:#f1b8b2;color:var(--danger)}.table-action.danger:hover{background:var(--danger-bg)}.table-action:disabled{cursor:not-allowed;opacity:.5}.row-note{color:var(--text-subtle);font-size:12px;font-weight:680}.artifact-signature-warning{display:block;max-width:280px;margin-top:4px;color:#92400e;font-size:12px;font-weight:680;line-height:1.35}.field-hint,.field-label{color:var(--text-muted)}.field-label{font-size:11px;font-weight:760;letter-spacing:.02em;text-transform:uppercase}.field-hint{font-size:12px;line-height:1.4}.role-choice-grid{display:grid;grid-gap:9px;gap:9px}.role-choice-grid button{display:grid;grid-template-columns:10px minmax(0,1fr);grid-gap:3px 10px;gap:3px 10px;padding:12px;border:1px solid var(--border);border-radius:var(--radius);background:#fff;color:var(--text);cursor:pointer;text-align:left;transition:background .14s ease,border-color .14s ease,box-shadow .14s ease}.role-choice-grid button:hover{border-color:var(--border-strong);background:var(--surface-soft)}.role-choice-grid button.active{border-color:var(--accent);background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent)}.role-choice-grid small,.role-choice-grid strong{grid-column:2}.role-choice-grid small{color:var(--text-muted);line-height:1.35}.role-dot{display:inline-block;width:10px;height:10px;margin-top:4px;border-radius:999px;background:var(--surface-muted)}.role-dot.admin{background:var(--sidebar)}.role-dot.user{background:var(--accent)}.role-dot.operator{background:#08734e}.role-dot.viewer{background:var(--text-subtle)}.modal-panel.shop-dialog{width:min(620px,100%)}.modal-panel.user-dialog{width:min(920px,100%)}.user-dialog-grid{display:grid;grid-template-columns:minmax(280px,.88fr) minmax(420px,1.12fr);grid-gap:14px;gap:14px;align-items:start}.dialog-section{display:grid;grid-gap:12px;gap:12px;padding:14px;border:1px solid var(--border);border-radius:var(--radius);background:#fff}.dialog-section-head{display:flex;gap:10px;align-items:flex-start}.dialog-section-head svg{margin-top:2px;color:var(--accent)}.dialog-section-head h3{margin:0;font-size:14px;line-height:1.25}.dialog-section-head p{margin:4px 0 0;font-size:12px}.inline-form-row{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-gap:10px;gap:10px;align-items:flex-end}.form-segmented{width:-moz-fit-content;width:fit-content;max-width:100%}.user-access-section{min-width:0}.access-disabled-note{padding:10px 12px;border:1px solid var(--warning-bg);border-radius:var(--radius);background:#fffbeb;color:var(--warning);font-size:12px;font-weight:680}.shop-access-list{display:grid;max-height:390px;overflow-y:auto;grid-gap:8px;gap:8px;padding-right:2px}.shop-access-row{display:grid;grid-template-columns:36px minmax(0,1fr) 170px;grid-gap:10px;gap:10px;align-items:center;padding:10px;border:1px solid var(--border);border-radius:var(--radius);background:#fff}.shop-access-row.assigned{border-color:var(--accent-medium);background:var(--accent-soft)}.shop-access-main{display:grid;min-width:0;grid-gap:2px;gap:2px}.shop-access-main small,.shop-access-main span,.shop-access-main strong{overflow:hidden;text-overflow:ellipsis}.access-role-hint,.shop-access-main small,.shop-access-main span{color:var(--text-muted)}.access-role-hint,.shop-access-main small{font-size:11px}.shop-access-row select{width:100%;height:36px;padding:0 34px 0 9px;border:1px solid var(--border-strong);border-radius:var(--radius);background-color:#fff;color:var(--text);font-weight:680}.shop-access-row select:focus{border-color:var(--accent);outline:none;box-shadow:0 0 0 2px rgba(255,107,0,.12)}.access-role-hint{grid-column:2/-1}.modal-backdrop{position:fixed;z-index:50;inset:0;display:grid;place-items:center;padding:24px;background:rgba(15,23,42,.42);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.modal-panel{display:flex;flex-direction:column;width:min(520px,100%);max-height:min(760px,calc(100vh - 48px));overflow:hidden;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:0 24px 60px rgba(15,23,42,.22)}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 18px 16px;border-bottom:1px solid var(--border);background:var(--surface-soft)}.modal-header>div{min-width:0}.modal-header h2{margin:0;font-size:20px;line-height:1.2}.modal-header p{margin:6px 0 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.modal-body{flex:1 1;min-height:0;overflow-y:auto;padding:18px}.modal-actions{position:-webkit-sticky;position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:10px;padding:14px 0 0;margin-top:4px;border-top:1px solid var(--border);background:var(--surface)}.icon-button{display:inline-grid;width:34px;height:34px;flex:0 0 auto;place-items:center;border:1px solid var(--border);border-radius:var(--radius);background:#fff;color:var(--text-muted);cursor:pointer;transition:background .14s ease,border-color .14s ease,color .14s ease}.icon-button:hover{border-color:var(--border-strong);background:var(--surface-muted);color:var(--text)}.icon-button:disabled{cursor:not-allowed;opacity:.55}.status-badge{display:inline-flex;align-items:center;min-height:24px;padding:0 9px;border-radius:999px;font-size:12px;font-weight:760}.status-badge.active,.status-badge.succeeded{background:var(--success-bg);color:var(--success)}.status-badge.blocked,.status-badge.canceled,.status-badge.deleted,.status-badge.disabled,.status-badge.failed{background:var(--danger-bg);color:var(--danger)}.status-badge.archived,.status-badge.pending,.status-badge.queued,.status-badge.running{background:var(--warning-bg);color:var(--warning)}.error{padding:12px 14px;border:1px solid #ffd5d2;border-radius:var(--radius);background:var(--danger-bg);color:var(--danger);font-weight:650}.empty-state{display:grid;justify-items:center;grid-gap:8px;gap:8px;padding:34px 16px;color:var(--text-muted);text-align:center}.empty-state svg{color:var(--text-subtle)}.empty-state strong{color:var(--text)}.empty-state span{max-width:420px}.run-details-page{gap:18px}.run-details-panel{min-width:0}.run-details-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.run-details-panel-wide{width:min(1100px,100%)}.run-list-tool{font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:13px}.run-details-error{margin:14px 16px 0;padding:10px 12px;border:1px solid #ffd5d2;border-radius:var(--radius);background:var(--danger-bg);color:var(--danger);font-weight:650}.run-details-body{display:grid;grid-gap:16px;gap:16px;padding:16px}.cell-with-badge{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px;min-width:0}.cell-with-badge .status-badge{flex-shrink:0}.run-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px;gap:10px}.run-summary-grid div{display:grid;min-width:0;grid-gap:5px;gap:5px;padding:12px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-soft)}.run-summary-grid strong{min-width:0;overflow:hidden;text-overflow:ellipsis}.run-detail-section{display:grid;grid-gap:10px;gap:10px}.run-detail-section h3{margin:0;font-size:14px;line-height:1.25}.run-artifact-list,.run-log-list{display:grid;grid-gap:8px;gap:8px}.run-artifact-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;grid-gap:10px;gap:10px;align-items:center;padding:10px;border:1px solid var(--border);border-radius:var(--radius);background:#fff;color:var(--text)}.run-artifact-row:hover{border-color:var(--border-strong);background:var(--surface-soft)}.run-artifact-name{display:flex;min-width:0;align-items:center;gap:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.run-artifact-row em,.run-artifact-status{color:var(--text-muted);font-size:12px;font-style:normal;font-weight:720}.run-artifact-warning{grid-column:1/-1;color:#92400e}.run-artifact-row svg{flex:0 0 auto;color:var(--accent)}.run-artifact-actions{display:inline-flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.run-artifact-error{grid-column:1/-1;justify-self:end}.run-log-row{display:grid;grid-gap:7px;gap:7px;padding:10px;border:1px solid var(--border);border-radius:var(--radius);background:#fff}.run-log-row.warning{border-color:#f3c77f;background:#fffbeb}.run-log-row.error{border-color:#ffd5d2;background:var(--danger-bg)}.run-log-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;color:var(--text-subtle);font-size:12px}.run-log-level{display:inline-flex;align-items:center;min-height:22px;padding:0 8px;border-radius:999px;background:var(--surface-muted);color:var(--text-muted);font-size:11px;font-weight:780;text-transform:uppercase}.run-log-row.warning .run-log-level{background:var(--warning-bg);color:var(--warning)}.run-log-row.error .run-log-level{background:var(--danger-bg);color:var(--danger)}.run-log-row strong{font-size:13px;line-height:1.35}.run-log-row code{width:-moz-fit-content;width:fit-content;max-width:100%;padding:4px 6px;overflow:hidden;border-radius:6px;background:var(--surface-muted);color:var(--text-muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}@media (max-width:1020px){.auth-shell{grid-template-columns:1fr;min-height:auto;width:min(680px,100%)}.auth-card,.auth-hero{width:100%}.auth-card{padding-right:max(56px,calc((100% - 480px) / 2));padding-left:max(56px,calc((100% - 480px) / 2))}.auth-hero{min-height:250px}.metrics-grid{grid-template-columns:repeat(2,minmax(160px,1fr))}.grid-2{grid-template-columns:1fr}.shops-summary-grid,.users-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.runs-layout,.user-dialog-grid,.users-layout{grid-template-columns:1fr}}@media (max-width:1024px){.app-shell{grid-template-columns:228px 1fr}.buyer-chats-grid,.tool-split{grid-template-columns:260px minmax(0,1fr)}.content{padding-left:16px;padding-right:16px}}@media (max-width:640px){.app-shell{grid-template-columns:1fr}.sidebar{border-right:0}.brand{min-height:58px}.sidebar-footer{margin-top:0}}@media (max-width:520px){.auth-page{padding:16px}.auth-hero{min-height:auto;padding:22px}.auth-hero-copy{margin-top:28px}.auth-hero-copy h1{font-size:24px}.auth-panel{padding:20px}.metrics-grid{grid-template-columns:1fr}.shops-title,.users-title{align-items:flex-start}.shops-title-actions,.users-title-actions{width:100%;justify-content:flex-start}.access-scope{width:-moz-fit-content;width:fit-content;max-width:100%}.shops-summary-grid,.users-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.user-stat{min-height:78px;grid-template-columns:34px minmax(0,1fr);padding:12px}.user-stat-icon{width:34px;height:34px}.shops-filters,.users-filters{grid-template-columns:1fr}.users-filters .search-field{grid-column:auto}.users-table{display:block}.users-table thead{display:none}.users-table tbody,.users-table tr{display:grid;grid-gap:10px;gap:10px;padding:12px}.users-table tr{border:1px solid var(--border);border-radius:var(--radius);background:#fff}.users-table td,.users-table td:first-child,.users-table td:last-child,.users-table th:first-child,.users-table th:last-child{min-width:0}.users-table td{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0;border-bottom:0;white-space:normal}.users-table td:first-child{display:block}.users-table td:before{content:attr(data-label);color:var(--text-muted);font-size:11px;font-weight:780;letter-spacing:.02em;text-transform:uppercase}.users-table td:first-child:before{content:none}.shop-cell span:not(.shop-avatar),.user-cell span:not(.user-avatar){max-width:220px}.row-actions{justify-content:flex-end}.shop-access-row{grid-template-columns:34px minmax(0,1fr)}.access-role-hint,.shop-access-row select{grid-column:1/-1}.modal-backdrop{align-items:flex-end;padding:12px}.modal-panel{max-height:calc(100vh - 24px)}.modal-actions{display:grid}.inline-form-row{grid-template-columns:1fr}.actions{display:grid}.button:not(.table-action){width:100%}}.shipment-toolbar{border-bottom:1px solid var(--border);background:var(--surface)}.shipment-search-form{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:12px 16px;align-items:flex-end;padding:0 28px 16px}.shipment-search-form .field-region{width:200px}.shipment-search-form .field-shop{width:320px}.shipment-search-form .field-date-from,.shipment-search-form .field-date-to{width:160px}.shipment-search-form .field label{margin-bottom:2px}.shipment-search-form .shipment-search-actions{flex:0 0 100%;display:flex;align-items:center;gap:20px}.shipment-search-form .shipment-search-actions .button{white-space:nowrap}.shipment-search-form .field-checkbox{margin:0}@media (max-width:640px){.shipment-search-form .field-date-from,.shipment-search-form .field-date-to,.shipment-search-form .field-region,.shipment-search-form .field-shop{width:100%}.shipment-search-form .shipment-search-actions{flex-direction:column;align-items:stretch}}.selected-row td{background:var(--accent-soft)}.selected-row td:first-child{box-shadow:inset 3px 0 0 var(--accent)}.shipment-orders-table,.shipments-table{table-layout:fixed}.shipment-orders-table td,.shipment-orders-table th,.shipments-table td,.shipments-table th{white-space:normal}.shipments-table td,.shipments-table th{padding:10px 8px}.shipment-orders-table th,.shipments-table th{overflow-wrap:normal;white-space:nowrap}.shipment-orders-table td,.shipments-table td{overflow-wrap:anywhere}.shipments-table .table-action{padding:0 8px;white-space:nowrap}.shipments-table td:first-child,.shipments-table th:first-child{width:20%}.shipments-table td:nth-child(2),.shipments-table th:nth-child(2){width:30%}.shipments-table td:nth-child(3),.shipments-table th:nth-child(3){width:19%}.shipments-table td:nth-child(4),.shipments-table th:nth-child(4){width:12%;text-align:center}.shipments-table td:nth-child(5),.shipments-table th:nth-child(5){width:19%;text-align:right}.shipments-table td:first-child,.shipments-table td:nth-child(3),.shipments-table td:nth-child(4),.shipments-table td:nth-child(5){overflow-wrap:normal;white-space:nowrap}.shipments-table td:nth-child(2){font-size:13px;line-height:1.25}.shipment-orders-table td:first-child,.shipment-orders-table th:first-child{width:28%}.shipment-orders-table td:nth-child(2),.shipment-orders-table th:nth-child(2){width:34%}.shipment-orders-table td:nth-child(3),.shipment-orders-table th:nth-child(3){width:38%}.shipment-detail{display:grid;grid-gap:14px;gap:14px;padding:16px}.detail-list{display:grid;grid-template-columns:120px minmax(0,1fr);grid-gap:8px 12px;gap:8px 12px}.detail-list span{color:var(--text-muted)}.detail-list strong{min-width:0;overflow:hidden;text-overflow:ellipsis}.preview-run-form{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px}.preview-run-form .field{width:100px;grid-template-columns:minmax(0,1fr)}.preview-run-form .field input{min-width:0}.preview-run-form .button,.preview-run-form .field label{white-space:nowrap}.preview-run-secondary{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.preview-run-secondary .manual-act-panel{flex-basis:100%}.preview-run-actions .button{white-space:nowrap}.shipment-result-panel{padding-bottom:16px}.shipment-result-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px}.polling-status{display:inline-flex;align-items:center;gap:6px;min-height:30px;color:var(--text-muted);font-size:13px;font-weight:720;white-space:nowrap}.result-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:12px;gap:12px;padding:16px}.result-grid div{display:grid;grid-gap:5px;gap:5px;padding:12px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-soft)}.future-artifacts{display:flex;flex-wrap:wrap;gap:8px;padding:0 16px}.future-artifacts span{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 10px;border-radius:var(--radius);background:var(--surface-muted);color:var(--text-muted);font-weight:720}.artifact-table-wrap{padding:0 16px 16px}.artifact-table{table-layout:fixed}.artifact-table td,.artifact-table th{white-space:normal;overflow-wrap:anywhere}.artifact-table td:first-child,.artifact-table th:first-child{width:46%}.artifact-table td:nth-child(2),.artifact-table th:nth-child(2){width:18%}.artifact-table td:nth-child(3),.artifact-table th:nth-child(3){width:14%}.artifact-table td:nth-child(4),.artifact-table th:nth-child(4){width:22%;text-align:right}.artifact-download,.artifact-name{display:inline-flex;align-items:center;gap:7px}.artifact-download{text-decoration:none}.artifact-fetch-action{display:inline-flex;flex-direction:column;align-items:flex-end;gap:4px}@media (max-width:1040px){.result-grid{grid-template-columns:1fr}}.manual-act-panel{display:grid;grid-gap:14px;gap:14px;border-top:1px solid var(--border);padding-top:14px}.manual-act-header h3{margin:0 0 4px;font-size:14px}.manual-act-form{display:grid;grid-gap:12px;gap:12px;justify-items:start}.manual-act-form .field{width:100%}.field textarea{width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius);background:#fff;color:var(--text);font:inherit;resize:vertical}.field textarea:hover{border-color:var(--border-strong)}.field textarea:focus{border-color:var(--accent);outline:none;box-shadow:0 0 0 2px rgba(255,107,0,.12)}.manual-act-row-invalid td{color:var(--text-muted)}.manual-act-reason{color:var(--danger,#b42318);font-size:12px}.manual-act-warning{color:var(--warning,#b54708);font-size:12px}.manual-act-requisites{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px;gap:12px}.manual-act-actions{justify-content:space-between;gap:12px}.manual-act-actions,.manual-act-result{display:flex;flex-wrap:wrap;align-items:center}.manual-act-result{gap:10px;background:var(--bg-subtle,rgba(23,32,51,.03))}.manual-act-order-picker,.manual-act-result{border:1px solid var(--border);border-radius:var(--radius);padding:10px 12px}.manual-act-order-picker{display:flex;flex-wrap:wrap;gap:8px 16px;background:#fff}.manual-act-order-option{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--text);cursor:pointer}@media (max-width:720px){.manual-act-requisites{grid-template-columns:1fr}}.pagination{display:flex;align-items:center;gap:4px;justify-content:center;margin-top:16px}.pagination-arrow,.pagination-page{display:inline-flex;align-items:center;justify-content:center;min-width:32px;height:32px;border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);color:var(--text);cursor:pointer;font-size:13px;transition:background .14s ease,border-color .14s ease,color .14s ease}.pagination-arrow:hover:not(:disabled),.pagination-page:hover{border-color:var(--border-strong);background:var(--surface-soft)}.pagination-page.active{border-color:#bcd1f7;background:var(--accent-soft);color:var(--accent);font-weight:760}.pagination-arrow:disabled{opacity:.4;cursor:not-allowed}.pagination-ellipsis{padding:0 4px;color:var(--text-muted)}.buyer-chats-page,.tool-page{display:flex;flex-direction:column;height:100vh;overflow:hidden}.buyer-chats-head,.tool-page-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:28px;background:var(--surface)}.buyer-chats-head h1,.tool-page-head h1{margin:0;font-size:26px;line-height:1.18;font-weight:700;color:var(--text)}.buyer-chats-head p,.tool-page-head p{margin:0;font-size:14px;color:var(--text-muted)}.buyer-chats-toolbar{display:flex;gap:16px;flex-wrap:wrap;padding:0 28px 16px;border-bottom:1px solid var(--border)}.buyer-chats-shop,.buyer-chats-toolbar{align-items:center;background:var(--surface)}.buyer-chats-shop{display:inline-flex;gap:8px;height:36px;padding:0 12px;border:1px solid var(--border-strong);border-radius:var(--radius);color:var(--text);font-size:14px;font-weight:500}.buyer-chats-shop select{border:none;outline:none;background:transparent;color:var(--text);font-weight:500;cursor:pointer;appearance:none;-webkit-appearance:none;-moz-appearance:none;padding-right:2px}.buyer-chats-shop select::-ms-expand{display:none}.buyer-chats-shop-dot{width:8px;height:8px;border-radius:999px;background:var(--success);flex:0 0 auto}.run-filter-chip{height:36px;padding:0 10px;border:1px solid var(--border-strong);border-radius:var(--radius);background:var(--surface);color:var(--text);font-size:14px;font-weight:500;cursor:pointer}.run-filter-chip:focus{border-color:var(--accent);outline:none;box-shadow:0 0 0 2px rgba(255,107,0,.12)}.buyer-chats-tabs{display:flex;align-items:center}.buyer-chats-tab{height:36px;padding:0 16px;background:transparent;border:none;border-bottom:2px solid transparent;color:var(--text-muted);font-size:14px;font-weight:500;cursor:pointer;transition:color .14s ease;white-space:nowrap}.buyer-chats-tab:hover{color:var(--text)}.buyer-chats-tab.active{color:var(--accent);border-bottom-color:var(--accent)}.buyer-chats-search{display:flex;align-items:center;gap:8px;flex:1 1 240px;max-width:320px;height:36px;border:1px solid var(--border-strong);border-radius:var(--radius);padding:0 12px;background:var(--surface);color:var(--text-subtle);transition:border-color .14s ease,box-shadow .14s ease}.buyer-chats-search:focus-within{border-color:var(--accent);box-shadow:0 0 0 2px rgba(255,107,0,.12)}.buyer-chats-search input{border:none;outline:none;flex:1 1;min-width:0;background:transparent;color:var(--text);font-size:14px}.buyer-chats-sync{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--text-subtle);margin-left:auto;min-width:0}.buyer-chats-sync svg{flex:0 0 auto}.buyer-chats-sync-warn{color:var(--warning)}.buyer-chats-notifications{margin:12px 24px 0;border:1px solid var(--border);border-radius:8px;background:var(--surface);overflow:hidden}.buyer-chats-notifications-head{display:flex;align-items:center;gap:8px;padding:8px 12px;border-bottom:1px solid var(--border);color:var(--text);font-size:13px}.buyer-chats-notifications-clear{margin-left:auto;border:none;background:transparent;color:var(--text-muted);font-size:12px;cursor:pointer}.buyer-chats-notifications-clear:hover{color:var(--text)}.buyer-chats-notifications-list{list-style:none;margin:0;padding:0;max-height:132px;overflow-y:auto}.buyer-chats-notifications-list button{display:flex;align-items:center;gap:10px;width:100%;padding:8px 12px;border:none;background:transparent;color:var(--text);font-size:13px;text-align:left;cursor:pointer}.buyer-chats-notifications-list button:hover{background:var(--surface-muted)}.buyer-chats-notification-body{flex:1 1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-muted)}.buyer-chats-grid{grid-template-columns:340px minmax(0,1fr)}.buyer-chats-grid,.tool-split{flex:1 1;min-height:0;display:grid}.tool-split{grid-template-columns:320px minmax(0,1fr)}.buyer-chats-list-panel,.tool-split-list{display:flex;flex-direction:column;min-height:0;border-right:1px solid var(--border);background:var(--surface)}.tool-split-detail{display:flex;flex-direction:column;min-height:0;overflow-y:auto;background:var(--bg)}.tool-split-detail .panel{margin:16px 16px 0;flex:0 0 auto}.tool-split-detail .panel:last-child{margin-bottom:16px}.tool-split-list-body{flex:1 1;min-height:0;overflow-y:auto}.tool-split-list .pagination{flex:0 0 auto;padding:12px;margin-top:0;border-top:1px solid var(--border)}.buyer-chats-list-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;border-bottom:1px solid var(--border)}.buyer-chats-list-header .panel-title{font-size:16px;font-weight:600;color:var(--text)}.buyer-chats-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 7px;border-radius:999px;background:var(--surface-muted);color:var(--text-muted);font-size:12px;font-weight:500}.buyer-chats-more{min-height:32px;padding:8px 0;text-align:center;font-size:13px;color:var(--text-muted)}.buyer-chats-list{list-style:none;margin:0;padding:0;flex:1 1;min-height:0;overflow-y:auto;--buyer-chat-row-height:86px}.buyer-chat-row,.buyer-chats-list{display:flex;flex-direction:column}.buyer-chat-row{width:100%;height:var(--buyer-chat-row-height);text-align:left;border:none;border-bottom:1px solid var(--divider,#efefef);border-left:3px solid transparent;background:transparent;padding:14px 16px;cursor:pointer;justify-content:center;gap:6px;transition:background .14s ease}.buyer-chats-spacer{flex:none}.buyer-chat-row:hover{background:var(--surface-soft)}.buyer-chat-row.active{background:var(--accent-soft);border-left-color:var(--accent)}.buyer-chat-row-top{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.buyer-chat-row-id{display:flex;align-items:center;gap:10px;min-width:0}.buyer-chat-avatar{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;flex:0 0 auto;border-radius:999px;background:var(--accent);color:#fff;font-size:12px;font-weight:600}.buyer-chat-row-name{min-width:0}.buyer-chat-name{font-weight:600;font-size:14px;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.buyer-chat-row-meta{font-size:12px;color:var(--text-muted)}.buyer-chat-row-side{display:flex;flex-direction:column;align-items:flex-end;gap:6px;flex:0 0 auto}.buyer-chat-time{font-size:12px;color:var(--text-subtle);white-space:nowrap}.buyer-chat-unread{width:8px;height:8px;border-radius:999px;background:var(--accent);flex:0 0 auto}.buyer-chat-preview{font-size:12px;color:var(--text-muted);padding-left:42px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.buyer-chat-badges{display:flex;flex-wrap:wrap;gap:6px;padding-left:42px}.badge{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:500;padding:2px 8px;border-radius:4px;white-space:nowrap}.badge-attention{background:var(--warning-bg);color:var(--warning)}.badge-action{background:var(--danger-bg);color:var(--danger)}.badge-answered{background:var(--success-bg);color:var(--success)}.badge-locked{background:var(--surface-muted);color:var(--text-muted)}.buyer-chats-detail-panel{background:var(--surface)}.buyer-chat-detail,.buyer-chats-detail-panel{display:flex;flex-direction:column;min-height:0}.buyer-chat-detail{height:100%}.buyer-chat-detail-head{display:flex;align-items:center;gap:12px;padding:14px 24px;border-bottom:1px solid var(--border);background:var(--surface);flex:0 0 auto}.buyer-chat-detail-head .buyer-chat-avatar{width:40px;height:40px;font-size:14px}.buyer-chat-detail-close{display:none;align-items:center;justify-content:center;width:36px;height:36px;flex:0 0 auto;margin-left:-6px;border:none;border-radius:var(--radius);background:transparent;color:var(--text-muted);cursor:pointer}.buyer-chat-detail-close:hover{background:var(--surface-soft);color:var(--text)}.buyer-chat-detail-title{flex:1 1;min-width:0}.buyer-chat-detail-head .badge,.buyer-chat-detail-head .buyer-chat-action-toggle{flex:0 0 auto}@media (max-width:1300px){.buyer-chat-detail-head{flex-wrap:wrap;gap:8px 10px}.buyer-chat-detail-title{flex:1 1 60%}}.buyer-chat-detail-title strong{display:block;overflow:hidden;font-size:16px;font-weight:600;white-space:nowrap;text-overflow:ellipsis;color:var(--text)}.buyer-chat-detail-title span{font-size:12px;color:var(--text-muted)}.buyer-chat-id{display:inline-flex;align-items:center;gap:5px;margin-left:8px;padding:2px 6px 2px 5px;border:1px solid transparent;border-radius:4px;background:transparent;color:var(--text-muted);font-size:11px;white-space:nowrap;cursor:pointer;transition:background .15s,border-color .15s,color .15s}.buyer-chat-id:hover{border-color:var(--border);background:var(--surface-soft);color:var(--text)}.buyer-chat-action-toggle{margin-left:auto;display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--text-muted);font-size:12px;font-weight:500;white-space:nowrap;cursor:pointer;transition:background .15s,color .15s,border-color .15s}.buyer-chat-action-toggle:hover:not(:disabled){background:var(--surface-muted);color:var(--text)}.buyer-chat-action-toggle.active{background:var(--danger-bg);border-color:transparent;color:var(--danger)}.buyer-chat-action-toggle:disabled{opacity:.6;cursor:default}.buyer-chat-action-note{display:flex;align-items:center;gap:6px;margin:0;padding:8px 24px;background:var(--danger-bg);color:var(--danger);font-size:12px}.buyer-chat-action-note.muted{background:var(--surface-muted);color:var(--text-muted)}.buyer-chat-thread{flex:1 1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:16px;padding:20px 24px;background:var(--bg)}.buyer-chat-goodcard{align-self:flex-start;width:100%;max-width:620px;border:1px solid var(--border);border-radius:14px;padding:16px;background:var(--surface)}.buyer-chat-goodcard-head{display:flex;align-items:flex-start;gap:12px}.buyer-chat-goodcard-photo{display:inline-flex;align-items:center;justify-content:center;width:72px;height:72px;flex:0 0 72px;border-radius:10px;overflow:hidden;background:var(--accent-soft);color:var(--accent)}.buyer-chat-goodcard-photo img{width:100%;height:100%;object-fit:cover;display:block}.buyer-chat-goodcard-headline{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0}.buyer-chat-goodcard-title{font-size:14px;font-weight:600;line-height:1.35;color:var(--text)}.buyer-chat-goodcard-headline-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.buyer-chat-goodcard-price{font-size:14px;font-weight:600;color:var(--text);white-space:nowrap}.buyer-chat-goodcard-vendor{display:inline-flex;align-items:center;gap:8px;padding:4px 6px 4px 10px;border-radius:8px;background:var(--accent-soft);color:var(--accent);max-width:100%}.buyer-chat-goodcard-vendor-label{font-size:12px;opacity:.85}.buyer-chat-goodcard-vendor strong{font-size:13px;font-weight:600;font-family:var(--font-mono,ui-monospace,SFMono-Regular,Menlo,monospace);overflow-wrap:anywhere}.buyer-chat-goodcard-fields{display:flex;flex-wrap:wrap;gap:14px 28px;margin-top:16px;padding-top:14px;border-top:1px solid var(--border)}.buyer-chat-goodcard-field span{display:block;font-size:12px;color:var(--text-muted);margin-bottom:4px}.buyer-chat-goodcard-field strong{font-size:13px;font-weight:500;color:var(--text);overflow-wrap:anywhere}.buyer-chat-goodcard-field.mono strong{font-family:var(--font-mono,ui-monospace,SFMono-Regular,Menlo,monospace)}.buyer-chat-goodcard-value{display:flex;align-items:center;gap:4px;min-width:0}.buyer-chat-goodcard-value strong{white-space:nowrap}.buyer-chat-copy-btn{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;flex:0 0 auto;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--text-muted);cursor:pointer;transition:color .15s ease,border-color .15s ease}.buyer-chat-copy-btn:hover{color:var(--accent);border-color:var(--accent)}.buyer-chat-copy-btn:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.buyer-chat-goodcard-field.mono strong{font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;overflow-wrap:anywhere}.buyer-chat-message{display:flex;flex-direction:column;gap:6px;max-width:75%}.buyer-chat-message.from-buyer{align-self:flex-start;align-items:flex-start}.buyer-chat-message.from-operator{align-self:flex-end;align-items:flex-end}.buyer-chat-message-head{display:flex;align-items:center;gap:6px;font-size:12px}.buyer-chat-message-author{font-weight:500;color:var(--text-muted)}.buyer-chat-message-time{color:var(--text-subtle)}.buyer-chat-bubble{padding:12px 16px;font-size:14px;line-height:1.5;white-space:pre-wrap;box-shadow:0 1px 3px rgba(0,0,0,.06)}.from-buyer .buyer-chat-bubble{background:var(--surface);color:var(--text);border-radius:16px 16px 16px 4px}.from-operator .buyer-chat-bubble{background:var(--accent);color:#fff;border-radius:16px 16px 4px 16px}.buyer-chat-attachments{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-start}.buyer-chat-attachment{display:inline-flex;align-items:center;gap:6px;font-size:13px;padding:8px 12px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--accent);text-decoration:none}.buyer-chat-attachment.muted{background:var(--surface-soft);color:var(--text-subtle)}.buyer-chat-attachment.is-image{padding:0;border-radius:12px;overflow:hidden;line-height:0}.buyer-chat-attachment.is-image img{display:block;max-width:320px;max-height:373px;width:auto;height:auto;object-fit:contain}.buyer-chat-composer{display:flex;flex-direction:column;gap:8px;padding:16px 24px;border-top:1px solid var(--border);background:var(--surface);flex:0 0 auto}.buyer-chat-composer-locked{flex-direction:row;align-items:center;gap:8px;color:var(--text-muted);font-size:14px}.buyer-chat-composer-box{display:flex;align-items:flex-end;gap:8px;border:1px solid var(--border-strong);border-radius:12px;background:var(--surface);transition:border-color .14s ease,box-shadow .14s ease}.buyer-chat-composer-box:focus-within{border-color:var(--accent);box-shadow:0 0 0 2px rgba(255,107,0,.12)}.buyer-chat-composer-box textarea{flex:1 1;min-width:0;resize:none;border:none;outline:none;background:transparent;color:var(--text);caret-color:var(--accent);font:inherit;font-size:14px;line-height:1.5;padding:12px 8px}.buyer-chat-composer-attach{padding:12px;border:none;background:transparent;color:var(--text-muted);cursor:pointer;flex:0 0 auto;transition:color .14s ease}.buyer-chat-composer-attach:hover{color:var(--accent)}.buyer-chat-composer-send{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;margin:8px;flex:0 0 auto;border:none;border-radius:var(--radius);background:var(--accent);color:#fff;cursor:pointer;transition:background .14s ease}.buyer-chat-composer-send:hover:not(:disabled){background:var(--accent-strong)}.buyer-chat-composer-send:disabled{background:#efefef;color:var(--text-subtle);cursor:not-allowed}.buyer-chat-composer-files{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}.buyer-chat-composer-files li{display:inline-flex;align-items:center;gap:6px;font-size:13px;padding:4px 8px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-soft)}.buyer-chat-composer-filename{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.buyer-chat-composer-file-remove{display:inline-flex;padding:0;border:none;background:transparent;color:var(--text-subtle);cursor:pointer}.buyer-chat-composer-file-remove:hover{color:var(--danger)}.buyer-chat-composer-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.buyer-chat-composer-hint{margin:0;font-size:12px;color:var(--text-subtle)}.buyer-chat-composer-counter{font-size:12px;color:var(--text-subtle);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.buyer-chats-empty{display:flex;align-items:center;justify-content:center;height:100%}@media (max-width:640px){.buyer-chats-grid,.tool-split{grid-template-columns:1fr}.tool-page{height:auto}.tool-page,.tool-split-detail,.tool-split-list{overflow:visible}.tool-split-list{border-right:none;border-bottom:1px solid var(--border)}.tool-split-detail{display:none}.yc-accordion{border-bottom:1px solid var(--divider);background:var(--bg)}.yc-accordion .yc-work{padding:16px;gap:16px}.yc-action-form,.yc-action-row,.yc-ylog-action{width:100%}.yc-ylog-action{flex-wrap:wrap;margin-left:0}.yc-ylog-btn{flex:1 1 auto}.buyer-chats-tabs{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}.buyer-chats-tabs::-webkit-scrollbar{display:none}.buyer-chats-tab{flex:0 0 auto}.buyer-chats-toolbar{flex-direction:column;align-items:stretch;gap:12px;padding:0 16px 12px}.buyer-chats-search,.buyer-chats-shop{max-width:none;flex:0 0 auto}.buyer-chats-sync{margin-left:0}.buyer-chats-head,.tool-page-head{padding:20px 16px 12px}.buyer-chat-detail-close{display:inline-flex}.buyer-chats-detail-panel{position:fixed;inset:0;z-index:40;height:100dvh}.buyer-chats-detail-panel:not(:has(.buyer-chat-detail)){display:none}.buyer-chat-detail-head{padding:12px 16px;flex-wrap:wrap;gap:8px 10px}.buyer-chat-detail-title{flex:1 1 auto}.buyer-chat-composer-hint{display:none}.buyer-chat-composer-footer{justify-content:flex-end}}.yc-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}.yc-list-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:14px 16px;text-align:left;background:transparent;border:none;border-bottom:1px solid var(--divider);border-left:3px solid transparent;cursor:pointer;transition:background .14s ease}.yc-list-row:hover:not(:disabled){background:var(--surface-soft)}.yc-list-row.active{background:var(--accent-soft);border-left-color:var(--accent)}.yc-list-row:disabled{cursor:default}.yc-list-main{display:flex;flex-direction:column;gap:3px;min-width:0}.yc-list-id{font-size:14px;font-weight:600;color:var(--text)}.yc-list-sub{font-size:12px;color:var(--text-muted)}.yc-list-side{display:flex;flex-direction:column;align-items:flex-end;gap:6px;flex:0 0 auto}.yc-list-link{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:500;color:var(--accent)}.yc-list-link:hover{color:var(--accent-strong)}.yc-work{display:flex;flex-direction:column;gap:20px;padding:24px}.yc-work-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.yc-work-title h2{margin:0;font-size:20px;font-weight:700;color:var(--text)}.yc-work-warehouse{display:block;margin-top:2px;font-size:13px;color:var(--text-muted)}.yc-block-head{display:flex;align-items:center;gap:8px;margin-bottom:10px}.yc-block-head h3{margin:0;font-size:15px;font-weight:600;color:var(--text)}.yc-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 7px;border-radius:999px;background:var(--surface-muted);color:var(--text-muted);font-size:12px;font-weight:500}.yc-block .table-wrap{border:1px solid var(--border);border-radius:12px;overflow:hidden}.yc-export-link,.yc-link-action{display:inline-flex;align-items:center;gap:6px;padding:0;border:none;background:transparent;font-size:13px;font-weight:500;color:var(--accent);cursor:pointer}.yc-order-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;margin-top:16px}.yc-order-actions .yc-export-link{margin-top:0}.yc-order-actions .manual-act-panel{flex-basis:100%;margin-top:4px}.yc-export-link:hover,.yc-link-action:hover{color:var(--accent-strong)}.yc-action{display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding:20px;border:1px solid var(--border);border-radius:16px;background:var(--surface);box-shadow:0 1px 3px rgba(34,36,42,.06)}.yc-action-row{width:100%;flex-wrap:wrap;gap:12px 18px}.yc-action-form,.yc-action-row{display:flex;align-items:flex-end}.yc-action-form{gap:12px}.yc-ylog-action{display:flex;min-height:44px;align-items:center;gap:10px;margin-left:auto}.yc-ylog-btn{min-width:220px;height:44px;border-color:var(--accent);background:#fff;color:var(--accent);font-size:15px}.yc-ylog-btn:hover{border-color:var(--accent-strong);background:var(--accent-soft);color:var(--accent-strong)}.yc-ylog-result{display:flex;align-items:center;gap:8px;min-height:44px;padding:0 10px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-soft)}.yc-ylog-caption{font-size:11px;font-weight:700;color:var(--text-muted)}.yc-ylog-value{font-size:14px;font-weight:700;color:var(--text)}.yc-copy-btn{display:inline-flex;align-items:center;gap:5px;padding:0;border:none;background:transparent;color:var(--accent);cursor:pointer;font-size:12px;font-weight:600}.yc-copy-btn:hover{color:var(--accent-strong)}.yc-ylog-empty{font-size:13px;color:var(--text-muted)}.yc-places{display:flex;flex-direction:column;gap:6px}.yc-places label{font-size:13px;font-weight:500;color:var(--text-muted)}.yc-places input{width:88px;height:44px;padding:0 12px;border:1px solid var(--border-strong);border-radius:var(--radius);background:#fff;color:var(--text);font-size:15px}.yc-places input:focus{border-color:var(--accent);outline:none;box-shadow:0 0 0 2px rgba(255,107,0,.12)}.yc-confirm-btn{height:44px;font-size:15px}.yc-result{display:flex;flex-direction:column;gap:16px}.yc-result-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.yc-result-status{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.yc-result-text{font-size:14px;font-weight:500;color:var(--text)}.yc-polling{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:var(--text-muted)}.yc-result-actions{display:flex;gap:6px}.yc-ghost-btn{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--text-muted);cursor:pointer;transition:background .14s ease,color .14s ease,border-color .14s ease}.yc-ghost-btn:hover:not(:disabled){border-color:var(--border-strong);background:var(--surface-soft);color:var(--text)}.yc-ghost-btn:disabled{opacity:.5;cursor:not-allowed}.yc-confirm-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:16px 18px;border-radius:12px;background:var(--accent-soft)}.yc-confirm-banner span{font-size:14px;color:var(--text);flex:1 1;min-width:200px}.yc-docs{display:flex;flex-direction:column;gap:8px}.yc-docs-title{margin:0 0 2px;font-size:15px;font-weight:600;color:var(--text)}.yc-doc{display:flex;align-items:center;gap:12px;padding:14px 16px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.yc-doc-ready{border-color:var(--border-strong)}.yc-doc-icon{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;flex:0 0 auto;border-radius:10px;background:var(--surface-muted);color:var(--text-muted)}.yc-doc-ready .yc-doc-icon{background:var(--accent-soft);color:var(--accent)}.yc-doc-info{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1 1}.yc-doc-name{font-size:14px;font-weight:500;color:var(--text)}.yc-doc-meta{font-size:12px;color:var(--text-muted)}.yc-doc-warning{font-size:12px;color:var(--warning)}.yc-doc-locked{font-size:13px;color:var(--text-subtle)}.yc-doc-action{display:flex;align-items:center;gap:6px;flex:0 0 auto}.yc-doc-download{height:36px;padding:0 14px;font-size:14px}.tools-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));grid-gap:16px;gap:16px}.tool-card{display:flex;flex-direction:column;gap:16px;padding:20px;border:1px solid var(--border);border-radius:16px;background:var(--surface);box-shadow:0 1px 3px rgba(34,36,42,.06);color:var(--text);cursor:pointer;transition:border-color .14s ease,box-shadow .14s ease,transform .14s ease}a.tool-card:hover{border-color:var(--border-strong);box-shadow:0 8px 20px rgba(34,36,42,.1);transform:translateY(-2px)}a.tool-card:hover .tool-card-open{color:var(--accent-strong)}a.tool-card:hover .tool-card-icon{background:var(--accent);color:#fff}.tool-card-disabled{cursor:default;opacity:.65}.tool-card-head{display:flex;align-items:center;gap:10px}.tool-card-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;flex:0 0 auto;border-radius:12px;background:var(--accent-soft);color:var(--accent);transition:background .14s ease,color .14s ease}.tool-card-head .status-badge{margin-left:auto}.tool-card-body{display:flex;flex-direction:column;gap:4px;flex:1 1}.tool-card-title{margin:0;font-size:17px;font-weight:600;line-height:1.3;color:var(--text)}.tool-card-id{font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px;color:var(--text-subtle)}.tool-card-desc{margin:6px 0 0;font-size:14px;line-height:1.5;color:var(--text-muted)}.tool-card-foot{display:flex;align-items:center;border-top:1px solid var(--divider)}.tool-card-open{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:var(--accent);transition:color .14s ease}.tool-card-foot .row-note,.tool-card-open{padding-top:12px}