:root{color:#20242c;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f6f7f8;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0}#root{min-height:100svh}.app-shell{color:#20242c;background:#f6f7f8;grid-template-columns:272px minmax(0,1fr);min-height:100svh;display:grid}.sidebar{background:#fff;border-right:1px solid #dde3ea;padding:24px 18px}.brand,.nav-item,.actions,.section-heading,.metric-card,.ghost-button,.primary-button,.icon-button,.row-actions,.heading-actions,.checkbox-field{align-items:center;display:flex}.brand{gap:10px;min-height:44px;font-weight:700}.brand-mark{color:#fff;background:#2f4b7c;border-radius:8px;flex:0 0 34px;place-items:center;width:34px;height:34px;display:grid;position:relative;box-shadow:inset 0 -8px 18px #182a4a47}.brand-mark svg:last-child{color:#f3c56a;position:absolute;bottom:4px;right:4px}nav{gap:6px;margin-top:28px;display:grid}.nav-item{color:#566171;text-align:left;background:0 0;border:0;border-radius:8px;gap:10px;width:100%;min-height:40px;padding:0 12px;font-weight:600;text-decoration:none}.nav-item span{flex:1}.nav-badge{color:#2558ad;background:#eef4ff;border-radius:999px;place-items:center;min-width:22px;height:22px;font-size:12px;font-style:normal;font-weight:800;display:grid}.nav-item.active,.nav-item:hover{color:#2558ad;background:#eef4ff}.workspace{min-width:0;padding:24px;overflow:hidden}.topbar{justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}h1,h2,h3,p{margin:0}h1{letter-spacing:0;margin-top:4px;font-size:30px;line-height:1.18}h2{letter-spacing:0;font-size:18px;line-height:1.25}h3{letter-spacing:0;font-size:16px;line-height:1.3}.eyebrow{color:#66758a;letter-spacing:0;text-transform:uppercase;font-size:12px;font-weight:700}.actions{flex-wrap:wrap;justify-content:flex-end;gap:10px}.language-switch{background:#fff;border:1px solid #dde3ea;border-radius:8px;align-items:center;min-height:40px;display:inline-flex;overflow:hidden}.language-switch button{color:#566171;background:0 0;min-width:42px;min-height:38px;padding:0 10px;font-weight:800}.language-switch button.active{color:#2558ad;background:#eef4ff}.auth-language{width:fit-content}button{font:inherit;cursor:pointer;border:0}button:disabled{cursor:not-allowed;opacity:.62}.icon-button,.ghost-button,.primary-button{border-radius:8px;gap:8px;min-height:40px}.icon-button{color:#2f3a49;background:#fff;border:1px solid #dde3ea;justify-content:center;width:40px}.primary-button{color:#fff;background:#2558ad;justify-content:center;padding:0 15px;font-weight:700}.ghost-button{color:#2f3a49;background:#fff;border:1px solid #dde3ea;padding:0 12px;font-weight:700}.ghost-button.small{width:fit-content;min-height:34px}.full{width:100%}.auth-page{background:#f6f7f8;place-items:center;min-height:100svh;padding:24px;display:grid}.auth-panel{background:#fff;border:1px solid #dde3ea;border-radius:8px;gap:16px;width:min(100%,420px);padding:24px;display:grid}.auth-step-copy{color:#566171;font-size:14px;line-height:1.45}.auth-target{background:#edf6f3;border:1px solid #cfe5dc;border-radius:8px;gap:4px;padding:12px;display:grid}.auth-target span{color:#566171;font-size:12px;font-weight:700}.auth-target strong{color:#116149;text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.auth-secondary-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.auth-secondary-actions .ghost-button{justify-content:center;min-height:40px}.auth-brand{margin-bottom:4px}.field{color:#566171;gap:7px;min-width:0;font-size:13px;font-weight:700;display:grid}.field input,.field select,.field textarea{box-sizing:border-box;color:#20242c;width:100%;min-width:0;min-height:42px;font:inherit;border:1px solid #dde3ea;border-radius:8px;padding:0 12px}.field textarea{resize:vertical;min-height:92px;padding-top:10px}.checkbox-field{color:#566171;gap:8px;min-height:42px;font-size:13px;font-weight:700}.dev-code{color:#2558ad;background:#eef4ff;border-radius:8px;padding:10px 12px;font-weight:700}.error-text{color:#a13f2c;font-weight:700}.success-text{color:#2558ad;font-weight:700}.inline{margin-bottom:12px}.subline{color:#66758a;margin-top:4px}.metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px;display:grid}.metric-card{background:#fff;border:1px solid #dde3ea;border-radius:8px;flex-direction:column;justify-content:space-between;align-items:flex-start;min-height:102px;padding:16px}.metric-card span{color:#66758a;font-size:13px}.metric-card strong{font-size:24px}.content-grid{grid-template-columns:minmax(0,1fr) 320px;gap:16px;margin-bottom:16px;display:grid}.payment-grid{grid-template-columns:360px minmax(0,1fr);gap:16px;margin-bottom:16px;display:grid}.payments-page,.payment-settings-grid{gap:16px;margin-bottom:16px;display:grid}.payment-settings-grid{grid-template-columns:minmax(0,520px)}.payment-profile-panel{max-width:520px}.content-grid>*,.payment-grid>*,.payments-page>*,.payment-settings-grid>*,.product-panel,.table-panel,.side-panel,.messages-panel{min-width:0}.table-panel,.side-panel,.product-panel,.messages-panel,.product-card{background:#fff;border:1px solid #dde3ea;border-radius:8px}.table-panel,.side-panel,.product-panel,.messages-panel{padding:16px}.messages-panel{grid-template-rows:auto minmax(0,1fr);height:min(680px,100svh - 150px);min-height:480px;margin-bottom:16px;display:grid}.section-heading{justify-content:space-between;gap:12px;margin-bottom:14px}.heading-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px}.select-field{gap:4px;min-width:170px;display:grid}.select-field span{color:#65748b;font-size:12px;font-weight:700}.select-field select{min-height:34px;font:inherit;background:#fff;border:1px solid #dfe4ea;border-radius:8px;padding:0 10px}.file-input-button{cursor:pointer}.file-input-button input{display:none}.template-download-link{text-decoration:none}.row-actions{flex-wrap:wrap;gap:8px}.danger{color:#a13f2c;border-color:#efc9c3}.top-gap{margin-top:12px}.compact{margin-bottom:18px}.table{border:1px solid #eef1f5;border-radius:8px;max-width:100%;display:grid;overflow:auto hidden}.table-row{border-bottom:1px solid #eef1f5;grid-template-columns:minmax(220px,1.4fr) 150px 80px 120px 170px;align-items:center;gap:12px;min-height:68px;padding:10px 14px;display:grid}.table-row:last-child{border-bottom:0}.table-head{color:#66758a;text-transform:uppercase;background:#f6f7f8;min-height:42px;font-size:12px;font-weight:700}.table-row small{color:#66758a;margin-top:4px;display:block}.status{border-radius:999px;width:fit-content;padding:6px 9px;font-size:12px;font-weight:700}.status.new{color:#8e5b00;background:#fff3dc}.status.pending{color:#2558ad;background:#eef4ff}.status.paid,.status.packed,.status.shipped,.status.completed{color:#146742;background:#e9f5ef}.status.partially_refunded,.status.refunded,.status.cancelled,.status.failed,.status.canceled,.status.rejected{color:#a13f2c;background:#fff0ed}.status.approved{color:#146742;background:#e9f5ef}.payment-table .table-row{grid-template-columns:minmax(220px,1.5fr) 140px 140px 150px}.thread-list,.message-list{gap:10px;display:grid}.message-layout{grid-template-columns:minmax(250px,320px) minmax(0,1fr);gap:14px;height:100%;min-height:0;display:grid}.thread-list{align-content:start;min-height:0;padding-right:4px;overflow:auto}.thread-item{box-sizing:border-box;color:#20242c;text-align:left;background:#fff;border:1px solid #eef1f5;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;width:100%;height:54px;min-height:0;padding:8px 10px;display:flex;overflow:hidden}.thread-item.active{background:#eef4ff;border-color:#aac6f2}.thread-sender{align-content:center;gap:2px;min-width:0;height:32px;display:grid;overflow:hidden}.thread-sender strong,.thread-sender small{text-overflow:ellipsis;white-space:nowrap;line-height:1.2;display:block;overflow:hidden}.thread-sender strong{font-size:13px}.thread-item .thread-sender small{color:#66758a;margin-top:0;font-size:11px}.thread-item small,.thread-title small{color:#66758a;margin-top:4px;font-size:12px}.thread-item em{color:#566171;background:#eef1f5;border-radius:999px;place-items:center;width:22px;min-width:22px;height:22px;font-size:12px;font-style:normal;font-weight:800;display:grid}.thread-detail{background:#fbfcfe;border:1px solid #eef1f5;border-radius:8px;grid-template-rows:auto minmax(0,1fr) auto;align-content:stretch;gap:12px;height:100%;min-height:0;padding:12px;display:grid;overflow:hidden}.thread-title{justify-content:space-between;align-items:center;gap:12px;min-width:0;display:flex}.thread-title strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.message-list{align-content:start;gap:12px;min-height:0;max-height:none;padding-right:4px;overflow:auto}.message-bubble{background:#fff;border:1px solid #e7ecf2;border-radius:8px;justify-self:start;gap:7px;width:fit-content;min-width:min(260px,100%);max-width:min(680px,86%);padding:10px 12px;display:grid;box-shadow:0 1px 2px #1822300a}.message-meta{grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:10px;min-width:0;display:grid}.message-meta strong{color:#20242c;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:13px;line-height:1.2;overflow:hidden}.message-meta small{color:#66758a;white-space:nowrap;align-items:center;gap:6px;font-size:11px;line-height:1.2;display:inline-flex}.read-status{color:#8a94a3;font-weight:700}.read-status.read{color:#2558ad}.message-bubble.mine{background:#eef4ff;border-color:#d8e6fb;justify-self:end}.message-bubble p{color:#2f3a49;overflow-wrap:anywhere;white-space:pre-wrap;margin:0;line-height:1.45}.message-compose{border-top:1px solid #eef1f5;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;padding-top:10px;display:grid}.message-compose textarea{color:#20242c;min-height:58px;max-height:150px;font:inherit;resize:vertical;border:1px solid #dde3ea;border-radius:8px;padding:10px 12px}.message-compose .primary-button{justify-self:end;min-height:42px}.refund-line{color:#566171;border-top:1px solid #eef1f5;justify-content:space-between;gap:12px;padding:13px 0;display:flex}.refund-line strong{color:#20242c}.refund-mode-tabs{background:#eef3f8;border:1px solid #dde5ee;border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:4px;display:grid}.refund-mode-tabs button{color:#536176;background:0 0;border:0;border-radius:6px;min-height:36px;font-weight:800}.refund-mode-tabs button.active{color:#1f2a38;background:#fff;box-shadow:0 1px 3px #141e2d1f}.refund-total-box{color:#1f4666;background:#edf7ff;border:1px solid #d8e8f5;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.refund-total-box strong{color:#153a56}.refund-items-list{gap:8px;display:grid}.refund-item-control{background:#fff;border:1px solid #eef1f5;border-radius:8px;grid-template-columns:minmax(0,1fr) 74px 96px;align-items:center;gap:10px;padding:10px;display:grid}.refund-item-control>div{gap:4px;min-width:0;display:grid}.refund-item-control strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.refund-item-control small,.refund-item-control span{color:#66758a;font-size:12px;font-weight:700}.refund-item-control input{text-align:center;width:100%;min-height:34px;padding:6px 8px}.orders-page,.product-page{background:#fff;border:1px solid #dde3ea;border-radius:8px;gap:14px;min-width:0;padding:16px;display:grid}.order-list-table .table-row{grid-template-columns:minmax(260px,1.6fr) 150px 80px 150px 130px}.order-main-button{color:#20242c;text-align:left;background:0 0;gap:4px;min-width:0;padding:0;display:grid}.order-main-button strong,.order-main-button small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.order-main-button small{color:#66758a}.order-detail-layout{grid-template-columns:minmax(0,1fr) 360px;align-items:start;gap:16px;display:grid}.order-main-panel,.order-side-panel{background:#fbfcfd;border:1px solid #eef1f5;border-radius:8px;min-width:0;padding:16px}.order-main-panel,.order-side-stack,.refund-history-list{gap:14px;display:grid}.order-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.order-summary-grid div{background:#fff;border:1px solid #eef1f5;border-radius:8px;align-content:start;gap:7px;min-height:86px;padding:12px;display:grid}.order-summary-grid span,.refund-history-item small{color:#66758a;font-size:12px;font-weight:700}.order-summary-grid strong{overflow-wrap:anywhere}.order-items-table{background:#fff;border:1px solid #eef1f5;border-radius:8px;display:grid;overflow-x:auto}.order-item-row{border-bottom:1px solid #eef1f5;grid-template-columns:minmax(240px,1fr) 90px 140px 140px;align-items:center;gap:12px;min-width:680px;min-height:58px;padding:10px 14px;display:grid}.order-item-row:last-child{border-bottom:0}.order-item-row strong small{color:#66758a;margin-top:3px;font-size:12px;display:block}.order-item-head{color:#66758a;text-transform:uppercase;background:#f6f7f8;min-height:42px;font-size:12px;font-weight:700}.order-status-actions{flex-wrap:wrap;gap:8px;display:flex}.refund-history-item{background:#fff;border:1px solid #eef1f5;border-radius:8px;gap:5px;padding:11px 12px;display:grid}.refund-history-title{justify-content:space-between;align-items:center;gap:8px;display:flex}.refund-history-title small{color:#536176;background:#eef3f8;border-radius:999px;padding:3px 7px}.refund-history-items{gap:3px;padding-top:4px;display:grid}.refund-history-item span{color:#2f3a49;line-height:1.4}.page-heading{margin-bottom:0}.product-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.product-import-result{color:#1f4666;background:#edf7ff;border:1px solid #b8d7ef;border-radius:8px;gap:10px;padding:12px 14px;display:grid}.product-import-result>div{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.product-import-result strong{color:#153a56}.product-import-result ul{gap:4px;margin:0;padding-left:18px;display:grid}.product-stat{background:#fbfcfd;border:1px solid #eef1f5;border-radius:8px;align-content:space-between;gap:8px;min-height:86px;padding:14px;display:grid}.product-stat span{color:#66758a;font-size:13px;font-weight:700}.product-stat strong{font-size:22px}.product-toolbar{grid-template-columns:minmax(240px,1fr) 220px 220px;align-items:end;gap:12px;display:grid}.search-field{color:#66758a;border:1px solid #dde3ea;border-radius:8px;align-items:center;gap:8px;min-height:42px;padding:0 12px;display:flex}.search-field input{color:#20242c;width:100%;min-width:0;font:inherit;border:0;outline:0}.product-list-table{border:1px solid #eef1f5;border-radius:8px;display:grid;overflow-x:auto}.product-list-row{border-bottom:1px solid #eef1f5;grid-template-columns:minmax(300px,2fr) minmax(130px,.9fr) minmax(120px,.8fr) minmax(150px,.9fr) minmax(130px,.8fr) 144px;align-items:center;gap:14px;min-height:74px;padding:10px 14px;display:grid}.product-list-row:last-child{border-bottom:0}.product-list-head{color:#66758a;text-transform:uppercase;background:#f6f7f8;min-height:42px;font-size:12px;font-weight:700}.product-list-row small{color:#66758a;margin-top:4px;display:block}.product-main-button{color:#20242c;text-align:left;background:0 0;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:12px;min-width:0;padding:0;display:grid}.product-main-button strong{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.product-list-image{aspect-ratio:1;color:#66758a;background:#f7f9fb;border:1px solid #eef1f5;border-radius:8px;place-items:center;width:58px;display:grid;overflow:hidden}.product-list-image img,.product-hero-button img,.product-hero-empty img,.product-thumb img,.image-modal-content img{object-fit:cover;width:100%;height:100%;display:block}.product-row-actions{justify-content:flex-end}.product-row-actions .icon-button{width:36px;min-height:36px}.warehouses-page,.warehouse-editor-page{align-items:start;gap:16px;display:grid}.warehouse-editor-page{max-width:860px}.warehouse-list-panel,.warehouse-form-panel{background:#fff;border:1px solid #eef1f5;border-radius:8px;gap:14px;min-width:0;padding:16px;display:grid}.warehouse-list{gap:10px;display:grid}.warehouse-card{background:#fbfcfd;border:1px solid #eef1f5;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;display:grid}.warehouse-card.active{background:#edf6f3;border-color:#b7d8cd}.warehouse-card div{gap:3px;min-width:0;display:grid}.warehouse-card strong,.warehouse-card span,.warehouse-card small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.warehouse-card span,.warehouse-card small{color:#66758a;font-size:12px;font-weight:700}.product-editor-layout,.product-detail-layout{grid-template-columns:minmax(0,1fr) 360px;align-items:start;gap:16px;display:grid}.product-form-panel,.product-images-panel,.product-detail-summary{background:#fbfcfd;border:1px solid #eef1f5;border-radius:8px;min-width:0;padding:16px}.product-form-panel{gap:14px;display:grid}.form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.form-footer{flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:4px;display:flex}.product-hero-media{min-width:0}.product-hero-button,.product-hero-empty{aspect-ratio:16/10;color:#66758a;background:#f7f9fb;border:1px solid #eef1f5;border-radius:8px;place-items:center;width:100%;display:grid;overflow:hidden}.product-detail-summary{gap:16px;display:grid}.product-price{font-size:28px;line-height:1.1}.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.detail-grid div{background:#fff;border:1px solid #eef1f5;border-radius:8px;gap:6px;padding:12px;display:grid}.detail-grid span{color:#66758a;font-size:12px;font-weight:700}.rejection-note,.soft-note{color:#a13f2c;background:#fff0ed;border-radius:8px;padding:10px 12px;font-weight:700}.soft-note{color:#2558ad;background:#eef4ff}.empty-state{color:#66758a;place-items:center;min-height:90px;font-weight:700;display:grid}.form-actions{justify-content:flex-end}.product-card-media{gap:8px;display:grid}.product-image-button{aspect-ratio:4/3;color:#66758a;background:#f7f9fb;border:1px solid #eef1f5;border-radius:8px;place-items:center;width:100%;padding:0;display:grid;overflow:hidden}.product-image-button.empty{cursor:default}.product-upload-button{justify-content:center;position:relative;overflow:hidden}.product-upload-button input{opacity:0;cursor:pointer;position:absolute;inset:0}.product-image-strip{grid-template-columns:repeat(auto-fill,minmax(46px,1fr));gap:6px;display:grid}.product-image-strip.large{grid-template-columns:repeat(auto-fill,minmax(86px,1fr));gap:10px}.product-thumb-wrap{aspect-ratio:1;min-width:0;position:relative}.product-thumb{background:#fff;border:1px solid #dde3ea;border-radius:8px;width:100%;height:100%;padding:0;overflow:hidden}.product-thumb-delete{color:#a13f2c;background:#fffffff0;border-radius:999px;place-items:center;width:24px;min-height:24px;display:grid;position:absolute;top:3px;right:3px;box-shadow:0 4px 14px #1b23302e}.compact-empty{min-height:120px}.product-empty{border-bottom:0;min-width:900px}.image-modal{z-index:30;background:#141a24c7;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.image-modal-content{background:#101722;border-radius:8px;grid-template-rows:minmax(0,1fr) auto;width:min(920px,100%);height:min(720px,100svh - 48px);display:grid;position:relative;overflow:hidden}.image-modal-content>img{object-fit:contain;background:#101722}.image-modal-close,.image-modal-nav{z-index:2;background:#ffffffeb;position:absolute}.image-modal-close{top:12px;right:12px}.image-modal-nav{top:50%;transform:translateY(-50%)}.image-modal-nav.previous{left:12px}.image-modal-nav.next{right:12px}.image-modal-footer{color:#fff;background:#101722;justify-content:space-between;gap:16px;padding:12px 14px;display:flex}@media (width<=960px){.app-shell{grid-template-columns:1fr}.sidebar{border-bottom:1px solid #dde3ea;border-right:0}.topbar{flex-direction:column;align-items:flex-start}.actions{justify-content:flex-start}nav,.metrics,.content-grid,.payment-grid,.product-stats,.product-toolbar,.product-editor-layout,.product-detail-layout,.warehouses-page,.order-detail-layout,.order-summary-grid,.form-grid,.message-layout{grid-template-columns:1fr}.messages-panel{height:auto;min-height:0}.message-layout{height:auto}.thread-list{max-height:260px}.thread-detail{height:auto;min-height:420px}.message-compose{grid-template-columns:1fr}.message-compose .primary-button{width:100%}.table{overflow-x:auto}.table-row{min-width:700px}.product-list-row{min-width:980px}}
