:root{color:#17201a;background:#f5f6f2;font-family:Inter,Segoe UI,Arial,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select{font:inherit}button{min-height:36px;border:1px solid #a7b0a6;border-radius:6px;background:#fff;color:#1d2a22;cursor:pointer}button:hover{border-color:#2e6b52}button:disabled{cursor:wait;opacity:.7}input,select{min-height:36px;border:1px solid #a7b0a6;border-radius:6px;padding:0 10px;background:#fff;color:#17201a}.shell{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100vh}.sidebar{border-right:1px solid #d7dbd2;background:#fff;padding:18px}.brand{display:flex;gap:10px;align-items:center;margin-bottom:28px}.brandMark{display:grid;width:40px;height:40px;place-items:center;border-radius:8px;background:#2e6b52;color:#fff;font-weight:700}.brand strong,.brand span{display:block}.brand span{color:#647068;font-size:12px}.nav{display:grid;gap:8px}.nav button{width:100%;justify-content:flex-start;padding:0 12px;text-align:left}.nav button.active{border-color:#2e6b52;background:#e5f0e9;color:#173c2d;font-weight:700}.workspace{min-width:0;padding:24px}.topbar{display:flex;gap:16px;align-items:center;justify-content:space-between;margin-bottom:16px}.topbar h1{margin:0;font-size:26px;line-height:1.2}.topbar p{margin:4px 0 0;color:#647068}.login{display:flex;gap:8px;align-items:center}.login input{width:180px}.notice,.inlineStatus,.microNotice{margin-bottom:16px;border:1px solid #d9b55c;border-radius:6px;background:#fff7df;padding:10px 12px;color:#5f4510}.notice.ok,.microNotice{border-color:#9dc8ae;background:#eaf6ee;color:#17452f}.stack{display:grid;gap:16px}.metricGrid{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:12px}.metric,.panel{border:1px solid #d7dbd2;border-radius:8px;background:#fff}.metric{padding:14px}.metric span{display:block;color:#647068;font-size:13px}.metric strong{display:block;margin-top:8px;font-size:28px}.panel{overflow:hidden}.panelTitle{display:flex;gap:12px;align-items:center;justify-content:space-between;border-bottom:1px solid #d7dbd2;padding:12px 14px}.panelTitle h2,.empty h2{margin:0;font-size:16px}.panelTitle p{margin:4px 0 0}.panelHint,.muted{color:#647068;font-size:13px}.panelBody{padding:16px 14px}.empty{padding:18px}.empty p{margin:8px 0 0;color:#647068}.issueForm{display:grid;gap:14px;padding:14px}.formGrid{display:grid;gap:12px}.twoUp{grid-template-columns:repeat(2,minmax(0,1fr))}.field{display:grid;gap:6px}.field span{color:#49544d;font-size:13px;font-weight:600}.compactField{min-width:150px}.spanAll{grid-column:1 / -1}.subtleBlock{display:grid;gap:4px;border:1px solid #e3e7df;border-radius:6px;background:#f8faf7;padding:12px}.subtleBlock strong{font-size:13px}.subtleBlock span{color:#647068;font-size:13px}.actionRow,.tableActions{display:flex;gap:8px;align-items:center;justify-content:space-between}.inlineMeta{display:flex;gap:10px;align-items:baseline;color:#647068}.inlineMeta strong{color:#17201a;font-size:20px}.tableScroll{overflow-x:auto}.filterBar{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr)) auto;gap:10px;align-items:end;border-bottom:1px solid #e5e8e1;padding:12px 14px}.filterSummary{display:flex;gap:8px;align-items:center;justify-content:flex-end;min-height:36px}.filterSummary span{color:#647068;font-size:13px;white-space:nowrap}.orderSummary{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:10px;border-bottom:1px solid #e5e8e1;padding:12px 14px}.orderSummary div{border:1px solid #e3e7df;border-radius:6px;background:#f8faf7;padding:10px 12px}.orderSummary span,.orderSummary strong{display:block}.orderSummary span{color:#647068;font-size:12px;font-weight:700}.orderSummary strong{margin-top:5px;color:#17201a;font-size:22px}.orderFilterBar{grid-template-columns:repeat(7,minmax(120px,1fr)) auto}.orderFormGrid{grid-template-columns:repeat(4,minmax(160px,1fr))}.sectionTabs{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:8px;padding:10px}.sectionTabs button{min-height:42px;border-color:transparent;background:#f4f7f2;color:#465349;font-weight:700}.sectionTabs button.active{border-color:#2e6b52;background:#e5f0e9;color:#173c2d}.stackCell{display:grid;gap:3px}.monoText{font-family:Consolas,Courier New,monospace;word-break:break-all}.eventDetail{max-width:560px;color:#49544d;font-family:Consolas,Courier New,monospace;font-size:13px;overflow-wrap:anywhere}.batchHistoryTable{min-width:1180px}.batchHistoryTable th,.batchHistoryTable td{white-space:nowrap}.batchHistoryTable .monoText{word-break:normal}.licenseHistoryTable{min-width:1580px}.licenseHistoryTable th,.licenseHistoryTable td{white-space:nowrap}.licenseHistoryTable .monoText{word-break:normal}.licenseHistoryTable th:nth-child(1),.licenseHistoryTable td:nth-child(1){min-width:92px}.licenseHistoryTable th:nth-child(2),.licenseHistoryTable td:nth-child(2){min-width:190px}.licenseHistoryTable th:nth-child(3),.licenseHistoryTable td:nth-child(3){min-width:150px}.licenseHistoryTable th:nth-child(4),.licenseHistoryTable td:nth-child(4){min-width:132px}.licenseHistoryTable th:nth-child(5),.licenseHistoryTable td:nth-child(5){min-width:190px}.licenseHistoryTable th:nth-child(6),.licenseHistoryTable td:nth-child(6){min-width:230px}.licenseHistoryTable th:nth-child(7),.licenseHistoryTable td:nth-child(7){min-width:112px}.licenseHistoryTable th:nth-child(8),.licenseHistoryTable td:nth-child(8),.licenseHistoryTable th:nth-child(9),.licenseHistoryTable td:nth-child(9){min-width:92px}.licenseHistoryTable th:nth-child(10),.licenseHistoryTable td:nth-child(10),.licenseHistoryTable th:nth-child(11),.licenseHistoryTable td:nth-child(11){min-width:118px}.licenseHistoryTable .stickyAction{position:sticky;right:0;z-index:2;min-width:116px;border-left:1px solid #d7dbd2;background:#fff;box-shadow:-8px 0 14px #17201a14}.ordersTable{min-width:1740px}.ordersTable th,.ordersTable td{white-space:nowrap}.ordersTable .monoText{word-break:normal}.ordersTable .tableActions{justify-content:flex-start;min-width:164px;white-space:nowrap}.licenseHistoryTable th.stickyAction{z-index:3;background:#fbfcfa}.revokeConfirm{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(420px,1.5fr) minmax(320px,.9fr);gap:16px;align-items:stretch;border-bottom:1px solid #e5e8e1;border-left:4px solid #a95f2b;background:#fff8e8;padding:14px 16px}.revokeConfirm strong,.revokeConfirm span{display:block}.revokeLead{display:grid;align-content:center;gap:6px}.revokeLead strong{color:#27170d;font-size:18px}.revokeConfirm span{margin-top:4px;color:#647068;font-size:13px}.revokeEyebrow{width:fit-content;border:1px solid #d7b881;border-radius:999px;background:#fffdf7;padding:3px 8px;color:#7a481f!important;font-size:11px!important;font-weight:800;letter-spacing:0;text-transform:uppercase}.revokeDetails{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.revokeDetails span{min-width:0;margin-top:0;border:1px solid #eadfc7;border-radius:6px;background:#ffffff94;padding:8px 9px}.revokeDetails small{display:block;margin-bottom:4px;color:#766a58;font-size:11px;font-weight:800;letter-spacing:0;text-transform:uppercase}.revokeDetails strong{color:#17201a;font-size:13px;line-height:1.25;overflow-wrap:anywhere}.revokeControls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-content:end}.revokeControls .field{min-width:0}.revokeControls .field:last-of-type,.revokeActions{grid-column:1 / -1}.revokeActions{display:flex;gap:8px;justify-content:flex-end}.dangerButton{border-color:#9c4127;background:#9c4127;color:#fff}.dangerButton:hover{border-color:#7c321d;background:#7c321d}.quantityInput{width:88px}.compactSelect{width:180px}table{width:100%;border-collapse:collapse;font-size:14px}th,td{border-bottom:1px solid #e5e8e1;padding:11px 14px;text-align:left;vertical-align:middle}th{color:#647068;font-size:12px;font-weight:700;text-transform:uppercase}.status{display:inline-block;min-width:68px;border-radius:999px;padding:4px 8px;text-align:center;font-size:12px;font-weight:700}.status.active,.status.completed,.status.paid{background:#e5f0e9;color:#17452f}.status.issued,.status.draft,.status.inactive,.status.expired,.status.disputed,.status.partial_failed{background:#ece7dd;color:#604b2a}.status.revoked,.status.disabled,.status.refunded,.status.failed{background:#fde8e3;color:#8a2f20}@media(max-width:1280px){.revokeConfirm{grid-template-columns:1fr}.revokeDetails{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:860px){.shell{grid-template-columns:1fr}.sidebar{border-right:0;border-bottom:1px solid #d7dbd2}.nav,.metricGrid,.twoUp{grid-template-columns:repeat(2,minmax(0,1fr))}.topbar,.login,.actionRow,.tableActions,.filterSummary{align-items:stretch;flex-direction:column}.filterBar,.orderSummary{grid-template-columns:repeat(2,minmax(0,1fr))}.revokeConfirm,.revokeDetails,.revokeControls,.orderFormGrid{grid-template-columns:1fr}.revokeActions{justify-content:stretch}.revokeActions button{width:100%}.sectionTabs{grid-template-columns:repeat(2,minmax(0,1fr))}.login input,.quantityInput{width:100%}}@media(max-width:640px){.nav,.metricGrid,.twoUp{grid-template-columns:1fr}.workspace{padding:16px}.filterBar,.orderSummary,.sectionTabs{grid-template-columns:1fr}}
