:root{color:#21173d;background:#f7f5ff;font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{border:0;border-radius:.7rem;background:#7047eb;color:#fff;padding:.72rem 1rem;cursor:pointer;font-weight:700}button:disabled{opacity:.55;cursor:not-allowed}button.secondary{color:#5b35ce;background:#eee8ff}input{width:100%;border:1px solid #d8d0ec;border-radius:.65rem;padding:.75rem;margin-top:.4rem;background:#fff}label{font-weight:650}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(1.8rem,4vw,2.7rem);margin-bottom:.3rem}.eyebrow{color:#7047eb;font-weight:800;margin-bottom:.4rem}.login,.loading{min-height:100vh;display:grid;place-content:center;padding:1.5rem}.login-card{width:min(28rem,calc(100vw - 3rem))}.login-card img{width:4rem;height:4rem}.login-card form{display:grid;gap:1rem}.card{background:#fff;border:1px solid #e5dff2;border-radius:1rem;padding:1.35rem;box-shadow:0 12px 40px #4521960d}.shell{min-height:100vh;display:grid;grid-template-columns:16rem minmax(0,1fr)}.shell aside{background:#241442;color:#fff;padding:1.25rem;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:.75rem;margin-bottom:2rem}.brand img{width:2.8rem;height:2.8rem}.brand strong,.brand small{display:block}.brand small{color:#cfc3ef}.shell nav{display:grid;gap:.35rem}.shell nav button{text-align:left;background:transparent;color:#ddd3f4}.shell nav button.active,.shell nav button:hover{background:#7047eb;color:#fff}.logout{margin-top:auto;background:#ffffff18}.content{padding:clamp(1.2rem,4vw,3rem);overflow:hidden}.content-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1.5rem}.content-header p{color:#6d6680}.metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(12rem,1fr));gap:1rem;margin-bottom:1rem}.metrics article{background:#7047eb;color:#fff;padding:1.3rem;border-radius:1rem}.metrics span,.metrics strong{display:block}.metrics strong{font-size:2rem;margin-top:.4rem}.two-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(18rem,1fr));gap:1rem;margin-bottom:1rem}.status{display:inline-block;border-radius:2rem;padding:.2rem .55rem;margin-right:.5rem;font-size:.78rem;font-weight:800}.status.ok{color:#12633c;background:#d8f7e7}.status.off{color:#804016;background:#ffeadc}.settings{display:grid;grid-template-columns:repeat(auto-fit,minmax(13rem,1fr));gap:1rem;align-items:end}.error,.notice{border-radius:.7rem;padding:.8rem 1rem}.error{color:#8b1d2c;background:#ffe5e9}.notice{color:#12633c;background:#ddf9e9}.table-wrap{overflow:auto;background:#fff;border:1px solid #e5dff2;border-radius:1rem}table{width:100%;border-collapse:collapse;white-space:nowrap}th,td{padding:.85rem 1rem;text-align:left;border-bottom:1px solid #eee9f7}th{color:#6a5d83;font-size:.82rem;text-transform:uppercase;letter-spacing:.03em}tr:last-child td{border-bottom:0}tr.clickable{cursor:pointer}tr.clickable:hover{background:#f5f1ff}.pager{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-top:1rem}.empty{background:#fff;border:1px dashed #d4caea;border-radius:1rem;padding:2rem;text-align:center;color:#756c86}.modal-backdrop{position:fixed;inset:0;background:#160d2e99;display:grid;place-items:center;padding:1rem;z-index:5}.modal{width:min(46rem,100%);max-height:90vh;overflow:auto;position:relative}.close{position:absolute;right:1rem;top:1rem;background:#eee8ff;color:#5b35ce;font-size:1.4rem;padding:.25rem .7rem}.modal dl{display:grid;grid-template-columns:max-content 1fr;gap:.45rem 1rem}.modal dt{color:#6d6680}.modal dd{margin:0;overflow-wrap:anywhere}.declaration{border-top:1px solid #eee9f7;padding:1rem 0}.loading{text-align:center}@media(max-width:800px){.shell{display:block}.shell aside{position:static;height:auto}.shell nav{grid-template-columns:repeat(2,1fr)}.logout{margin-top:1rem}.content-header{align-items:stretch;flex-direction:column}.pager{flex-wrap:wrap}.modal dl{grid-template-columns:1fr}.modal dt{margin-top:.5rem}}textarea{width:100%;min-height:7rem;resize:vertical;border:1px solid #d8d0ec;border-radius:.65rem;padding:.75rem;margin-top:.4rem;background:#fff;font:inherit}.search{display:flex;gap:.7rem;margin-bottom:1rem}.search input{margin:0}.search button{white-space:nowrap}.template-editor{grid-column:1 / -1}.template-tokens{display:flex;flex-wrap:wrap;gap:.5rem;margin:.75rem 0}.template-tokens button{padding:.45rem .7rem}.template-preview{background:#f7f4ff;border:1px solid #ded4fa;border-radius:.8rem;padding:1rem;margin-bottom:.6rem}.template-preview p{margin:.55rem 0;line-height:1.45}.template-warning{color:#9a5700;font-weight:700}select{font:inherit;color:inherit;width:100%;border:1px solid #d8d0ec;background:#fff;padding:.75rem;border-radius:.65rem;margin-top:.4rem}button:focus-visible,summary:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #b995ff;outline-offset:3px}.filters{display:flex;align-items:end;gap:1rem;flex-wrap:wrap;margin-bottom:1.5rem}.filters label{min-width:11rem;flex:1;max-width:26rem;font-size:.85rem}.filters input{margin-top:.4rem}.business-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-bottom:1.4rem}.business-metrics article{padding:1.4rem;border:1px solid #e5dff2;border-radius:1rem;background:#fff}.business-metrics span,.business-metrics small{display:block;color:#756a83;font-size:.8rem;line-height:1.5}.business-metrics strong{display:block;font-size:2rem;letter-spacing:-.04em;margin:.8rem 0;color:#3b2169}.business-metrics strong small{display:inline;font-size:.85rem}.attention-card{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;margin-bottom:1.5rem;border-left:4px solid #9672dd}.attention-card h2{font-size:1.2rem}.attention-card p{margin-bottom:.5rem}.attention-card small{color:#756a83}.quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.quick-actions button{text-align:left;color:#412668;background:#fdfcff;line-height:1.6}.quick-actions span{display:block;font-weight:400;color:#776a84;font-size:.85rem;margin-top:.5rem}.section-note{color:#71667d;font-size:.83rem;line-height:1.65;margin-top:1rem}.secondary-nav{border-top:1px solid #ffffff25;margin-top:2rem;padding-top:1rem}.technical-link{color:#c9bde1;background:transparent;font-size:.78rem;font-weight:500}.margin-summary{grid-column:1/-1;padding:1rem;border-radius:.8rem;background:#f5f0ff;line-height:1.6;margin:0;color:#614d78}.cell-note{display:block;color:#786b84;font-size:.75rem;margin-top:.3rem}.order-state{display:inline-block;background:#f1ebfa;color:#6a5284;padding:.35rem .65rem;border-radius:2rem;font-size:.78rem}.order-state.ok{color:#216645;background:#e4f6ec}.wrap-cell{white-space:normal;min-width:17rem;max-width:35rem;line-height:1.6}details summary{cursor:pointer;color:#69469a;font-weight:600;padding:.8rem 0;font-size:.85rem}details pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.75rem;background:#f7f3fc;padding:1rem;border-radius:.65rem;max-height:18rem;overflow:auto}.context-history,.support-history{border-top:1px solid #e8e0f2;margin-top:1.7rem;padding-top:.8rem}.record-detail{margin-top:1.5rem}.record-detail h2{margin-top:1rem}.record-detail code{overflow-wrap:anywhere}.load-status{color:#79658e}.technical-details{margin-top:1.5rem}@media(max-width:1150px){.business-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-actions{grid-template-columns:1fr}}@media(max-width:600px){.business-metrics{grid-template-columns:1fr}.attention-card{flex-direction:column;align-items:stretch}.filters label{max-width:none}.filters{align-items:stretch;flex-direction:column}.secondary-nav{margin-top:1rem}}
