/* Compact commerce workspace, inspired by Shopify admin. */
:root{color-scheme:light;--ink:#303030;--muted:#616161;--line:#e3e3e3;--surface:#f1f1f1}body{background:var(--surface);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;-webkit-font-smoothing:antialiased}header{position:fixed;inset:0 0 auto 0;height:60px;z-index:20;background:#1a1a1a;border:0;color:#eee;padding:0 22px;box-shadow:0 1px 0 #000}.top-brand{display:flex;align-items:center;gap:12px;font-size:14px}.top-brand strong{font-size:16px;font-weight:600}.top-brand>span:last-child{color:#c6c6c6}.top-divider{color:#656565;margin:0 5px}.store-mark,.workspace-mark{display:grid;place-items:center;background:#d9f99d;color:#263819;border:1px solid #e0f7bd;font-size:13px;font-weight:700;letter-spacing:-.4px;width:32px;height:32px;border-radius:8px;flex-shrink:0}header label{color:#b5b5b5;font-size:12px;gap:10px}header select{background:#303030;border:1px solid #4a4a4a;color:#fafafa;font-size:14px;padding:7px 30px 7px 12px;border-radius:8px;max-width:260px}aside{top:60px;width:240px;height:calc(100dvh - 60px);padding:22px 12px 16px;background:#ebebeb;color:#303030;border-right:1px solid #e4e4e4}.brand{padding:0 9px 26px;display:flex;gap:10px;align-items:center;font:600 14px/1.4 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:0}.brand .workspace-mark{display:grid;font-size:12px;letter-spacing:0;color:#414141;background:#fff;border:1px solid #ddd;margin:0;width:33px;height:33px}.brand small{display:block;color:#707070;font-weight:400;font-size:12px;margin-top:2px}nav{gap:3px}nav button{display:flex;align-items:center;gap:11px;padding:9px 12px;border-radius:8px;font-size:14px;font-weight:550;color:#4a4a4a;min-height:38px}nav button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}nav button.active{background:#fff;color:#202020;box-shadow:0 1px 2px #0000000c}nav button:hover{background:#e1e1e1}.nav-count{margin-left:auto;border-radius:5px;min-width:23px;background:#e9e9e9;font-size:12px;padding:0 5px;text-align:center;font-weight:600}.aside-bottom{font-family:inherit;border-top:1px solid #d9d9d9;color:#555;padding:18px 12px 8px}.aside-bottom .channel-label{display:block;color:#737373;font-size:11px;letter-spacing:.7px;font-weight:600;margin-bottom:12px}.aside-bottom a{font-size:14px;color:#424242;text-decoration:none}.aside-bottom a:hover{text-decoration:underline}.aside-bottom small{font-family:inherit;font-size:12px;color:#737373}.shell{margin:60px 0 0 240px;min-height:calc(100dvh - 60px)}main{padding:25px 32px 55px;max-width:1320px}.demo{margin:0;padding:11px 32px;border:0;border-bottom:1px solid #dedede;border-radius:0;background:#e9e9e9;color:#666;font-size:12px}.demo strong{color:#444;font-weight:600}.heading{margin-bottom:22px;min-height:56px}h1{font-size:25px;line-height:1.3;font-weight:650;letter-spacing:-.7px;margin:0 0 5px}h2{font-size:16px;letter-spacing:-.25px;font-weight:650}p{color:var(--muted)}.heading p{font-size:14px}.cards{gap:0;background:#fff;border:1px solid #dcdcdc;border-radius:12px;box-shadow:0 1px 2px #0000000a;overflow:hidden;margin-bottom:24px}.card{border:0;border-right:1px solid #e8e8e8;border-radius:0;padding:20px 23px;background:transparent}.card:last-child{border:0}.card span{color:#454545;font-size:14px;font-weight:550;text-decoration:underline;text-decoration-style:dotted;text-decoration-color:#a5a5a5;text-underline-offset:5px}.card strong{font-size:29px;font-weight:600;letter-spacing:-.8px;margin:15px 0 3px}.card small{color:#737373;font-size:12px}.panel{padding:21px 20px;border-color:#dedede;box-shadow:0 1px 2px #0000000b;border-radius:12px;margin-bottom:22px}.panel-head{margin-bottom:18px}.panel-head p{font-size:13px;margin-top:5px}button{font-size:14px;font-weight:550;color:#303030;border:1px solid #ccc;background:linear-gradient(#fff,#fafafa);padding:7px 12px;box-shadow:0 1px 0 #0000000b;border-radius:8px;line-height:1.45}button:hover{background:#f3f3f3;border-color:#aaa}.primary{color:#fff;background:linear-gradient(#424242,#292929);border:1px solid #222;box-shadow:0 1px 0 #fff3 inset,0 1px 2px #0002}.primary:hover{background:#171717;border-color:#171717}button:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #005bd3;outline-offset:2px}select,input,textarea{font-size:14px;padding:8px 11px;border-color:#aaa;color:#303030;border-radius:7px}.table-wrap{margin:0 -20px}th{padding:12px 20px;background:#f7f7f7;border-top:1px solid #ebebeb;border-bottom:1px solid #e5e5e5;font-size:13px;color:#626262;font-weight:550}td{padding:14px 20px;border-color:#ebebeb;color:#424242}td strong{color:#303030;font-weight:550}td small{color:#777;font-size:12px}tbody tr:hover{background:#fafafa}td button{padding:5px 11px;font-size:13px}.badge{font-size:12px;padding:3px 9px;border-radius:20px;color:#555;background:#e9e9e9;font-weight:500}.amber{background:#ffedb3;color:#664a00}.green{background:#c9f2d8;color:#075e39}.blue{background:#e4ecff;color:#284d88}.red{background:#fee1e6;color:#8e2536}.steps{gap:0;margin-top:18px;border:1px solid #e5e5e5;border-radius:9px;background:#fafafa}.step{padding:16px;border:0;border-right:1px solid #e5e5e5}.step:last-child{border:0}.step>span:first-child{background:#e8e8e8;display:grid;place-items:center;width:25px;height:25px;border-radius:50%;font-size:11px;color:#555;margin-bottom:9px}.step b{font-weight:600;color:#3b3b3b}.step span{color:#727272;font-size:12px}.note{background:#f4f4f4;color:#626262;font-size:13px;border:1px solid #e8e8e8}.toolbar{margin-bottom:17px}.toolbar input{background:#fafafa}.empty{color:#727272}dialog{border:1px solid #ddd;padding:24px;box-shadow:0 15px 70px #0003}dialog::backdrop{background:#0006}.dialog-head{border-bottom:1px solid #eee;padding-bottom:16px}.dialog-head h2{font-size:18px}#toast{background:#262626;box-shadow:0 3px 15px #0002;font-size:14px}.error{color:#ad263b}#fields p{font-size:14px}@media(min-width:1600px){main{padding-top:34px}.demo{padding-left:max(32px,calc((100vw - 240px - 1256px)/2))}}@media(max-width:1100px){aside{width:205px}.shell{margin-left:205px}main{padding:25px 24px}.cards{grid-template-columns:repeat(2,1fr)}.card:nth-child(2){border-right:0}.card:nth-child(-n+2){border-bottom:1px solid #e8e8e8}.top-brand>span:last-child,.top-divider{display:none}.steps{grid-template-columns:repeat(2,1fr)}.step:nth-child(2){border-right:0}.step:nth-child(-n+2){border-bottom:1px solid #e5e5e5}}@media(max-width:700px){header{height:58px;padding:0 14px;gap:10px}.top-brand strong{font-size:14px}.top-brand{gap:8px}.store-mark{width:27px;height:27px;font-size:11px}header label{font-size:0;width:auto}header select{max-width:172px;font-size:12px;padding:7px}.shell{margin:0}aside{position:relative;top:auto;width:100%;height:auto;padding:10px;margin-top:58px;border:0;border-bottom:1px solid #d8d8d8}.brand,.aside-bottom{display:none}nav{display:flex;gap:3px;overflow:auto}nav button{padding:8px 10px;font-size:13px;flex-shrink:0;min-height:35px}nav button svg{width:16px;height:16px}main{padding:22px 16px}.demo{padding:10px 16px;font-size:12px}.demo strong{display:block}.cards{gap:0}.card{padding:16px}.card span{font-size:13px}.card strong{font-size:26px}.panel{padding:18px 15px}.table-wrap{margin:0 -15px}th,td{padding:12px 15px}.heading{gap:12px}h1{font-size:23px}.heading p{font-size:13px}.heading>.primary{white-space:nowrap;font-size:13px}.step{padding:13px}.panel-head{gap:12px}.toolbar input{min-width:130px}}@media(prefers-reduced-motion:no-preference){button{transition:background .12s,box-shadow .12s}}

.category-picker{margin:0;padding:14px;border:1px solid #dedede;border-radius:9px;min-width:0;background:#fafafa}.category-picker legend{font-size:14px;font-weight:600;padding:0 5px}.category-help{font-size:13px;margin-bottom:12px}#category-levels{display:grid;gap:11px}#category-levels select{width:100%}.category-selection{font-size:13px!important;color:#303030;margin-top:12px;overflow-wrap:anywhere}.category-source{display:block;font-size:12px;color:#777;margin-top:9px}

/* Product information form */
dialog{width:680px;max-height:calc(100dvh - 32px);overflow-y:auto}.product-section{display:grid;gap:13px;padding:0 0 18px;border-bottom:1px solid #e6e6e6}.product-section h3,.product-copy h3{font-size:14px;margin:0;font-weight:650}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-row>label{min-width:0}.product-section small{color:#707070;font-size:12px;margin-top:-7px}input[readonly]{background:#f3f3f3;color:#666}.product-details{margin:0;display:grid;grid-template-columns:1fr 1fr;border:1px solid #e5e5e5;border-radius:9px;overflow:hidden}.product-details>div{padding:11px 14px;border-bottom:1px solid #eee;min-width:0}.product-details dt{font-size:12px;color:#707070;margin-bottom:4px}.product-details dd{margin:0;font-size:14px;overflow-wrap:anywhere}.product-copy{display:grid;gap:9px;margin:4px 0 15px}.product-copy p{white-space:pre-wrap;overflow-wrap:anywhere}.product-copy h3:not(:first-child){margin-top:8px}@media(max-width:520px){.form-row,.product-details{grid-template-columns:1fr}dialog{padding:20px}}

.panel-logo{display:flex;align-items:center;justify-content:center;background:#fff;border-radius:5px;padding:9px 12px;width:224px;flex-shrink:0}.panel-logo img{display:block;width:100%;height:auto;max-height:25px;object-fit:contain}.sidebar-brand{width:100%}.sidebar-brand img{display:block;width:100%;height:auto;max-height:36px;object-fit:contain;background:#fff;padding:8px;border-radius:5px}.sidebar-brand small{margin-top:8px!important}@media(max-width:700px){.panel-logo{width:157px;padding:8px}.top-brand{min-width:0}header label{min-width:0}header select{max-width:160px}}@media(max-width:380px){.panel-logo{width:130px}header select{max-width:145px}header{padding:0 10px}}

.integration-form{display:grid;gap:16px;margin:20px 0;max-width:760px}.integration-form label{display:grid;gap:7px;font-size:14px}.integration-form button{justify-self:start}.integration-form .test-approval{display:flex;align-items:flex-start}.integration-form input[type=checkbox]{margin-top:4px}.live-category-tree{margin-top:20px}.live-category-tree details{border-bottom:1px solid #eee;padding:12px}.live-category-tree summary{cursor:pointer;font-size:14px;font-weight:600}.live-category-tree p{font-size:13px;padding:6px 0 0 15px}.live-category-tree small{color:#888}button:disabled{opacity:.55;cursor:wait}
