:root{--ivory: #fbf8f3;--wall: #ffffff;--ink: #2b2420;--clay: #7a6f66;--line: #eae3da;--terracotta: #c65d3b;--terracotta-deep: #9e4328;--terracotta-tint: #f7e8e2;--saffron: #e9b44c;--saffron-tint: #fbf1d8;--red: #b3261e;--red-tint: #fbe7e5;--radius: 14px;--font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{font-family:var(--font);font-size:14px;line-height:1.45;color:var(--ink);background:var(--ivory)}a{color:var(--terracotta);text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3{margin:0;font-weight:650;letter-spacing:-.01em}h1{font-size:22px}h2{font-size:16px}.awning{height:6px;background:repeating-linear-gradient(90deg,var(--terracotta) 0 24px,var(--ivory) 24px 48px);border-bottom:1px solid var(--terracotta-deep)}.shell{display:grid;grid-template-columns:clamp(240px,18vw,280px) minmax(0,1fr);min-height:calc(100vh - 7px)}.side{background:var(--wall);border-right:1px solid var(--line);display:flex;flex-direction:column;height:calc(100vh - 7px);position:sticky;top:7px;overflow:hidden}.brand{padding:20px 20px 16px;border-bottom:1px solid var(--line);background:linear-gradient(180deg,#fff 0%,var(--ivory) 100%)}.brand .word{font-size:24px;font-weight:700;letter-spacing:-.02em;line-height:1}.brand .word b{color:var(--terracotta);font-weight:700}.brand .sub{color:var(--clay);font-size:13px;margin-top:4px}.nav{flex:1;min-height:0;padding:14px 12px 18px;display:flex;flex-direction:column;gap:16px;overflow-y:auto;scrollbar-gutter:stable}.nav-section{display:grid;gap:4px}.nav button{width:100%;display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:10px;text-align:left;background:none;border:1px solid transparent;border-radius:12px;padding:11px 12px;font:inherit;color:var(--ink);cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease,transform .15s ease}.nav button span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nav button:hover{background:var(--ivory);border-color:var(--line);transform:translate(1px)}.nav button.on{background:var(--terracotta-tint);border-color:#edc9bd;color:var(--terracotta-deep);font-weight:600;box-shadow:inset 3px 0 0 var(--terracotta)}.nav-icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;opacity:.9}.nav .group{margin:0 12px 4px;font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--clay)}.side .who{margin-top:auto;padding:14px 14px 16px;border-top:1px solid var(--line);font-size:13px;color:var(--clay);background:var(--wall)}.who-card{display:grid;grid-template-columns:38px minmax(0,1fr);gap:10px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:12px;background:var(--ivory)}.avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--terracotta);color:#fff;font-weight:700}.who-text{min-width:0}.who-text strong{display:block;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.who-text span{display:block;margin-top:1px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.who-actions{margin-top:10px;display:flex;justify-content:stretch}.who-actions .btn{width:100%;justify-content:center}.powered-by{margin:12px 2px 0;color:var(--clay);font-size:12px;line-height:1.45;text-align:center}.powered-by a{color:var(--terracotta-deep);font-weight:650}.main{padding:26px 32px 48px;min-width:0}.head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:18px}.head p{margin:4px 0 0;color:var(--clay)}.card{background:var(--wall);border:1px solid var(--line);border-radius:var(--radius);padding:18px 20px}.card+.card,.stack>*+*{margin-top:16px}.tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px}.tile{background:var(--wall);border:1px solid var(--line);border-radius:var(--radius);padding:14px 16px}.tile .n{font-size:26px;font-weight:700;letter-spacing:-.02em}.tile .l{color:var(--clay);font-size:13px}.tile .d{color:var(--clay);font-size:12px;margin-top:2px}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:9px 10px;border-bottom:1px solid var(--line);vertical-align:top}th{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--clay);font-weight:600}tr:last-child td{border-bottom:0}td.num,th.num{text-align:right;font-variant-numeric:tabular-nums}tr.click{cursor:pointer}tr.click:hover td{background:var(--ivory)}.muted{color:var(--clay)}.small{font-size:12px}.mono{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:12px}.wrap{white-space:pre-wrap;word-break:break-word}.row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:14px}.toolbar .grow{flex:1}.pager{display:flex;justify-content:space-between;align-items:center;margin-top:12px;flex-wrap:wrap;gap:10px}input,select,textarea{font:inherit;color:var(--ink);background:var(--wall);border:1px solid var(--line);border-radius:10px;padding:8px 11px}input:focus,select:focus,textarea:focus{outline:2px solid var(--terracotta-tint);border-color:var(--terracotta)}textarea{width:100%;min-height:70px;resize:vertical}label.field{display:block;margin-bottom:12px}label.field span{display:block;font-size:12px;color:var(--clay);margin-bottom:4px}label.field input,label.field select{width:100%}.form{max-width:420px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.btn{font:inherit;border:1px solid var(--line);background:var(--wall);color:var(--ink);border-radius:10px;padding:8px 14px;cursor:pointer}.btn:hover{background:var(--ivory)}.btn:disabled{opacity:.5;cursor:default}.btn.primary{background:var(--terracotta);border-color:var(--terracotta);color:#fff;font-weight:600}.btn.primary:hover{background:var(--terracotta-deep)}.btn.danger{color:var(--red);border-color:#efc7c3}.btn.small{padding:4px 10px;font-size:13px}.badge{display:inline-block;padding:2px 9px;border-radius:999px;font-size:12px;font-weight:600;border:1px solid transparent}.badge.live{background:var(--terracotta-tint);color:var(--terracotta-deep)}.badge.holiday{background:var(--saffron-tint);color:#7a5a12}.badge.suspended,.badge.off{background:var(--red-tint);color:var(--red)}.badge.plain{background:var(--ivory);color:var(--clay);border-color:var(--line)}.note{padding:10px 14px;border-radius:10px;margin-bottom:14px}.note.error{background:var(--red-tint);color:var(--red)}.note.ok{background:var(--terracotta-tint);color:var(--terracotta-deep)}.switch{position:relative;width:42px;height:24px;border-radius:999px;background:var(--line);border:0;cursor:pointer;flex:none}.switch:after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:left .15s;box-shadow:0 1px 2px #0003}.switch.on{background:var(--terracotta)}.switch.on:after{left:21px}.switch:disabled{opacity:.5;cursor:default}.bars{display:flex;align-items:flex-end;gap:3px;height:90px;padding-top:6px}.bars .bar{flex:1;min-width:3px;background:var(--terracotta);border-radius:3px 3px 0 0;opacity:.85}.bars .bar.alt{background:var(--saffron)}.bars .bar:hover{opacity:1}.legend{display:flex;gap:14px;font-size:12px;color:var(--clay);margin-top:6px}.legend i{display:inline-block;width:10px;height:10px;border-radius:2px;background:var(--terracotta);margin-right:5px;vertical-align:-1px}.legend i.alt{background:var(--saffron)}.thumbs{display:flex;gap:6px}.thumbs img{width:44px;height:58px;object-fit:cover;border-radius:6px;border:1px solid var(--line);background:var(--ivory)}.logo{width:56px;height:56px;border-radius:12px;object-fit:cover;border:1px solid var(--line);background:var(--ivory)}.kv{display:grid;grid-template-columns:140px 1fr;gap:6px 14px}.kv dt{color:var(--clay)}.kv dd{margin:0}.kv.compact{grid-template-columns:88px 1fr;font-size:12px}.error-layout{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:16px;align-items:start}.error-table-wrap{min-width:0;overflow:auto}.error-message-cell{max-width:420px}.error-inspector{position:sticky;top:16px;border:1px solid var(--line);border-radius:12px;background:var(--ivory);padding:14px;max-height:calc(100vh - 90px);overflow:auto}.empty-state{color:var(--clay)}.empty-state h2{color:var(--ink);margin-bottom:4px}.detail-title{margin:12px 0 8px}.stack-head{margin:14px 0 8px}.trace{margin:0;padding:12px;max-height:360px;overflow:auto;white-space:pre-wrap;word-break:break-word;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);font:12px/1.45 ui-monospace,Menlo,Consolas,monospace}.source-pill{display:inline-flex;align-items:center;height:24px;border-radius:999px;padding:0 9px;margin-right:6px;background:var(--ivory);border:1px solid var(--line);color:var(--clay);font-size:12px;font-weight:650}.source-pill.api{color:var(--terracotta-deep);background:var(--terracotta-tint);border-color:#e8c3b5}.source-pill.admin,.source-pill.portal{color:#7a5a12;background:var(--saffron-tint);border-color:#ead7a4}.source-pill.storefront{color:#0f6b4b;background:#e4f6ee;border-color:#bfebd8}.source-pill.android,.source-pill.app,.source-pill.web{color:#364d7a;background:#eaf0fb;border-color:#cedbf2}.source-pill.audit-action{color:var(--terracotta-deep);background:var(--terracotta-tint);border-color:#e8c3b5}.audit-summary-cell{max-width:460px}.login{min-height:100%;display:grid;place-items:center;padding:24px}.login .card{width:360px;padding:26px 28px}.login .setup-card{width:min(520px,100%)}.login .brand{padding:0 0 16px;border:0}.login .brand .word{font-size:24px}.login .card .btn.primary{width:100%;padding:11px;margin-top:6px}details.advanced{margin-top:14px;font-size:12px;color:var(--clay)}details.advanced input{width:100%;margin-top:6px}.api-override{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;margin-top:6px}.api-override input{margin-top:0}.setup-copy,.setup-note,.setup-wait{color:var(--clay)}.setup-copy{margin:-4px 0 16px}.setup-note{margin:10px 0 0;font-size:12px;text-align:center}.setup-wait{padding:16px;border:1px dashed var(--line);border-radius:10px;background:var(--ivory);text-align:center}.login .powered-by{text-align:center}@media (max-width: 800px){.shell{grid-template-columns:1fr}.side{position:static;height:auto;min-height:0;border-right:0;border-bottom:1px solid var(--line);overflow:visible}.brand{padding:14px 16px 12px}.nav{padding:10px 12px 12px;flex-direction:row;gap:8px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}.nav::-webkit-scrollbar{display:none}.nav-section{display:contents}.nav .group{display:none}.nav button{width:auto;grid-template-columns:18px max-content;flex:0 0 auto;padding:9px 11px;border-color:var(--line);background:var(--wall)}.nav button:hover{transform:none}.nav button.on{box-shadow:inset 0 -3px 0 var(--terracotta)}.side .who{padding:10px 12px}.who-card{display:none}.who-actions{margin:0}.powered-by{display:none}.main{padding:18px 16px 40px}.grid2,.error-layout{grid-template-columns:1fr}.error-inspector{position:static;max-height:none}.api-override{grid-template-columns:1fr}}
