:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#223047;background:#f5f7fb;font-size:14px;--blue:#3464e8;--line:#e7ecf4;--muted:#748196}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,.button{border:1px solid #dbe2ee;background:white;border-radius:9px;padding:10px 15px;color:#334259;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:7px}button:hover,.button:hover{background:#f0f4fc}button:disabled{opacity:.5;cursor:wait}.primary{background:var(--blue);color:white;border-color:var(--blue);font-weight:600}.primary:hover{background:#2553cf}.danger{color:#c43643;border-color:#f0c7cb}.full{width:100%}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}h1{font-size:29px;font-weight:650;letter-spacing:-.8px;margin:5px 0 10px}h2{font-size:17px;margin:0 0 20px}h3{font-size:15px}p{line-height:1.65}.muted,small{color:var(--muted)}small{font-size:12px;line-height:1.6}label{display:flex;flex-direction:column;gap:8px;font-weight:550;margin-bottom:18px}input,select,textarea{padding:11px 12px;width:100%;border:1px solid #dbe2ee;border-radius:8px;background:#fff;color:#223047;outline:none}textarea{resize:vertical}input:focus,select:focus,textarea:focus{border-color:#7193ef;box-shadow:0 0 0 3px #edf2ff}input[type=checkbox]{width:auto}label.check{flex-direction:row;align-items:center}.sidebar{position:fixed;inset:0 auto 0 0;width:234px;background:white;border-right:1px solid var(--line);padding:30px 20px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;color:#20324c;font-size:21px;font-weight:700;text-decoration:none!important}.brand small{display:block;letter-spacing:1.6px;font-size:9px;margin-top:3px}.brand-icon{width:42px;height:42px;display:grid;place-items:center;background:var(--blue);border-radius:12px;color:white;font-size:19px}.nav-label{font-size:10px;letter-spacing:1.2px;color:#8b95a6;margin:42px 12px 16px}nav{display:flex;flex-direction:column;gap:6px}nav button{border:0;justify-content:flex-start;padding:13px 14px;font-size:16px;gap:13px}nav button span{font-size:14px}nav button.active{background:#edf2ff;color:#315bcd;font-weight:650}.sidebar-bottom{margin-top:auto;display:grid;gap:17px;font-size:12px;padding-top:35px}.quiet{border:0;padding:0;color:#778398}.workspace{margin-left:234px}.topbar{height:85px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 36px;font-weight:600}.identity{display:flex;align-items:center;gap:10px;font-size:13px}.identity small{display:block;font-weight:400}.avatar{width:35px;height:35px;border-radius:50%;background:#edf2ff;color:var(--blue);display:grid;place-items:center;font-size:16px}main{max-width:1450px;margin:auto;padding:32px 36px}.heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.eyebrow{color:#5874b7;font-size:10px;font-weight:700;letter-spacing:1.7px;margin:0}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:24px}.stats article,.card{background:white;border:1px solid var(--line);border-radius:13px;padding:24px;box-shadow:0 3px 15px #25344c03}.stats article>span{color:#67758b;font-size:12px}.stats strong{display:block;font-size:29px;letter-spacing:-.7px;margin:15px 0 4px}.columns{display:grid;grid-template-columns:1.45fr 1fr;gap:24px;align-items:start}.card{margin-bottom:24px;min-width:0}.card-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}.card-head h2{margin:0}.badge{background:#edf3ff;border-radius:6px;padding:5px 8px;color:#4c6db6;font-size:11px;display:inline-block}.badge.green{color:#14845d;background:#e8f7ef}.badge.red{color:#b84652;background:#fff0f1}.service-row{display:flex;align-items:center;justify-content:space-between;padding:18px 0;gap:12px;border-bottom:1px solid var(--line)}.service-row:last-child{border-bottom:0}.service-row small{display:block;margin-top:5px}.service-symbol{font-size:22px;width:42px;height:42px;background:#f5f7fc;border-radius:9px;display:grid;place-items:center;flex-shrink:0}.service-info{margin-right:auto}.steps{padding-left:24px;display:grid;gap:22px}.steps li{padding-left:8px}.steps b,.steps span{display:block}.steps span{margin-top:5px;color:var(--muted);line-height:1.7;font-size:13px}.note{padding:14px 16px;background:#f6f8fc;border:1px solid var(--line);border-radius:8px;line-height:1.7;color:#667791;font-size:12px;margin-top:20px}.segmented{display:flex;border-bottom:1px solid var(--line);gap:10px;margin-bottom:25px;padding-bottom:12px}.segmented button{border:0}.segmented .active{color:var(--blue);background:#edf2ff}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.quote{background:#f5f8ff;border-radius:9px;padding:18px;margin:20px 0}.quote span{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.quote strong{font-size:23px;color:var(--blue)}.tips{padding-left:19px;line-height:1.9;color:#65738a;display:grid;gap:12px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:12px;text-align:left}th{font-size:11px;color:#7d8898;white-space:nowrap;font-weight:550;background:#f9fafc}td,th{padding:14px 11px;border-bottom:1px solid var(--line)}td{max-width:320px;overflow-wrap:anywhere;line-height:1.55}td small{display:block;font-size:11px}td button{padding:6px 10px;font-size:11px}td .badge{white-space:nowrap}.filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-bottom:16px}.filters label{flex:1;min-width:130px;margin:0;font-size:12px}.filters button{height:40px}.pagination{display:flex;gap:16px;align-items:center;justify-content:center;padding:20px 0}.pagination span{color:#7d8898;font-size:12px}.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.partner-picker{display:flex;flex-direction:row;align-items:center;gap:8px;margin:0;white-space:nowrap;font-size:12px}.partner-picker select{width:auto;min-width:180px;padding:9px}.notice{padding:14px 18px;border-radius:9px;background:#eaf4ff;color:#275b9c;margin-bottom:20px;line-height:1.6}.notice.error{background:#fff0f1;color:#b63c47}.notice.success{background:#eaf8f0;color:#227d55}.empty{text-align:center;color:#8c97a6;padding:50px 15px}.progress{height:5px;border-radius:4px;background:#edf0f6;margin-top:8px;overflow:hidden;min-width:90px}.progress>i{display:block;height:100%;background:var(--blue)}footer{color:#99a3b1;font-size:11px;padding:0 36px 30px;display:flex;justify-content:space-between;gap:15px}code,pre{font-family:Consolas,monospace}code{overflow-wrap:anywhere}pre{background:#f5f7fc;padding:18px;border-radius:9px;overflow-x:auto;line-height:1.7;font-size:12px}.qr{max-width:235px;width:100%;display:block;margin:20px auto}.detail-grid{display:grid;grid-template-columns:150px 1fr;gap:14px;font-size:13px}.detail-grid dt{color:var(--muted)}.detail-grid dd{margin:0;overflow-wrap:anywhere}dialog{border:1px solid var(--line);border-radius:14px;padding:26px;max-width:700px;width:95%;max-height:85vh;overflow:auto}dialog::backdrop{background:#14233c70}.login-body{min-height:100vh;display:grid;place-items:center;background:radial-gradient(ellipse at top,#eaf0ff,#f6f8fb 70%);padding:24px}.login-card{width:min(470px,100%);background:white;padding:40px;border:1px solid var(--line);border-radius:20px;box-shadow:0 20px 80px #26477c0c}.login-card .brand{margin-bottom:38px}.login-card h1{font-size:27px}.login-card form{margin:25px 0}.login-card>p:last-of-type{font-size:12px}.doc-main{max-width:1000px;margin:auto;padding:30px 25px}.doc-main h1{margin-top:40px}.admin-main{max-width:1200px;margin:auto;padding:24px}.admin-main .brand{margin-bottom:24px}[hidden]{display:none!important}.secret{background:#fff8e8;padding:16px;border-radius:9px;overflow-wrap:anywhere}.truncate{max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:1100px){.sidebar{width:195px;padding:25px 15px}.workspace{margin-left:195px}main{padding:25px}.topbar{padding:0 25px}.stats{gap:12px}.stats article{padding:18px}.stats strong{font-size:24px}.columns{grid-template-columns:1fr}}
@media(max-width:700px){.sidebar{position:static;width:auto;padding:15px;border-right:0;border-bottom:1px solid var(--line)}.sidebar .brand{font-size:17px}.sidebar .brand-icon{width:34px;height:34px;font-size:15px}.sidebar .nav-label,.sidebar-bottom{display:none}nav{flex-direction:row;overflow-x:auto;margin-top:13px;gap:5px}nav button{flex-shrink:0;padding:10px;font-size:12px;gap:6px}nav button span{font-size:12px}.workspace{margin:0}.topbar{height:64px;padding:0 18px}main{padding:22px 15px}h1{font-size:23px}.heading{align-items:flex-start;flex-direction:column;gap:12px}.heading .primary{align-self:flex-start}.heading p.muted{font-size:13px}.stats{grid-template-columns:1fr 1fr;gap:10px}.stats article{padding:15px}.stats strong{font-size:24px;margin:11px 0 3px}.stats small{font-size:10px}.card{padding:18px}.form-grid{grid-template-columns:1fr}.detail-grid{grid-template-columns:110px 1fr}.login-card{padding:28px}.filters label{min-width:120px}footer{padding:0 15px 20px;flex-direction:column}.admin-main{padding:15px}}

@media(max-width:700px){.sidebar .sidebar-bottom{display:flex;flex-wrap:wrap;gap:14px;padding-top:12px;margin-top:0;font-size:11px}.sidebar-bottom .quiet{font-size:11px}}
.api-key-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.api-key-row code{display:block;flex:1;min-width:240px;padding:13px 14px;background:#f5f7fc;border:1px solid var(--line);border-radius:8px;word-break:break-all;color:#1f3f86}
.order-guidance{min-width:0}.order-policy{padding:20px 18px;margin-bottom:24px;border:2px dotted #ff4545;border-radius:13px;background:#321f2b;color:#f8f3f6;line-height:1.6}.order-policy h2{margin:0 0 8px;font-size:20px;font-weight:600;color:#ffb3b3}.order-policy ul{margin:0;padding-left:31px}.order-policy li{padding-left:0;margin:0 0 2px;overflow-wrap:anywhere}.order-policy li:last-child{margin-bottom:0}
.usage-policy{width:calc(100% - 32px);max-width:610px;max-height:calc(100dvh - 32px);padding:28px;border:1px solid #edd8db;border-radius:18px;background:#fff;color:#223047;box-shadow:0 24px 90px #0c173a40}.usage-policy::backdrop{background:#18263eb3;backdrop-filter:blur(3px)}.policy-heading{display:flex;align-items:center;gap:14px;margin-bottom:20px}.policy-heading .eyebrow{color:#a74b58;margin-bottom:5px}.policy-heading h2{margin:0;font-size:21px;line-height:1.35}.policy-symbol{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border-radius:13px;background:#fff0f1;color:#b83347;font-size:26px;font-weight:700}.policy-content{padding:0 18px;border-left:3px solid #dc5262;background:#fff8f8;border-radius:0 9px 9px 0;display:flow-root}.policy-content p{line-height:1.75;margin:16px 0;overflow-wrap:anywhere}.policy-actions{display:flex;justify-content:flex-end;margin:22px 0 0}.policy-actions button{min-width:100px}.policy-actions button:focus-visible{outline:3px solid #2046a6;outline-offset:3px}@media(max-width:700px){.usage-policy{padding:22px 18px}.policy-heading{gap:11px}.policy-heading h2{font-size:19px}.policy-content{padding:0 13px}.order-policy{padding:18px 16px}.order-policy ul{padding-left:22px}}
.partner-order-toolbar{display:grid;gap:16px}.status-tabs{display:flex;gap:8px;overflow-x:auto;padding:2px 0}.status-tab{border:1px solid #dbe2ee;background:#fff;color:#63728a;border-radius:11px;padding:10px 15px;white-space:nowrap;font-weight:650}.status-tab b{color:#8d99aa;font-size:12px;margin-left:4px}.status-tab.active{background:#edf2ff;border-color:var(--blue);color:#2d5bd0}.status-tab.active b{color:#2d5bd0}.partner-order-filters{padding:16px;border:1px solid var(--line);border-radius:13px;background:#fff}.partner-order-filters label{min-width:150px}.partner-order-filters label:nth-child(3){flex:1.5;min-width:220px}.partner-order-filters .primary{height:40px}.partner-order-filters button{white-space:nowrap}@media(max-width:700px){.status-tabs{padding-bottom:3px}.partner-order-filters{padding:12px}.partner-order-filters label{min-width:100%;}.partner-order-filters label:nth-child(3){min-width:100%}}
.replace-link-action{width:100%}
#orders td:last-child{min-width:180px}#orders .actions button,.replace-link-action button{white-space:nowrap}
#replace-link-dialog{width:min(520px,calc(100% - 28px));max-height:90dvh;padding:22px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#223047;overflow:auto}#replace-link-dialog::backdrop{background:#14233c70}#replace-link-form{display:grid;gap:16px;min-width:0}#replace-link-form h2,#replace-link-form p,#replace-link-form label{margin:0}#replace-link-form input{min-width:0}#replace-link-form button{border-radius:8px}#replace-link-error{overflow-wrap:anywhere}

.order-actions{display:flex;flex-direction:column;align-items:stretch;gap:7px;min-width:85px}.order-actions button:disabled{cursor:default}.cancel-dialog-actions{justify-content:flex-end;margin-top:24px}#cancel-confirm{background:#c43643;border-color:#c43643;color:#fff}#cancel-confirm:hover{background:#a82d38}#cancel-dialog h2{line-height:1.5}

.bulk-errors-backdrop{position:fixed;inset:0;display:grid;place-items:center;width:100%;height:100%;max-width:none;max-height:none;margin:0;border:0;padding:24px;background:transparent;overflow-y:auto;overscroll-behavior:contain}.bulk-errors-backdrop::backdrop{background:#14233c70}.bulk-errors-panel{display:flex;flex-direction:column;width:min(1080px,100%);max-height:calc(100dvh - 48px);min-height:0;padding:26px;border:1px solid var(--line);border-radius:14px;background:#fff;color:#223047;box-shadow:0 24px 80px #14233c30;overflow:auto}.bulk-errors-heading{flex-shrink:0}.bulk-errors-heading .eyebrow{margin-bottom:6px}.bulk-errors-heading h2{font-size:20px;line-height:1.45;margin:0 0 10px}.bulk-errors-heading>p:last-child{margin:0 0 18px;overflow-wrap:anywhere}.bulk-errors-table{min-height:100px;max-height:50dvh;overflow:auto;overscroll-behavior:contain;flex:1 1 auto;border:1px solid var(--line);border-radius:9px}.bulk-errors-table table{min-width:820px}.bulk-errors-table thead{position:sticky;top:0;z-index:1}.bulk-errors-table th{color:#5e6e86;background:#f6f8fc}.bulk-errors-table td{vertical-align:top}.bulk-errors-table td:nth-child(1){width:50px;color:#7d8898}.bulk-errors-table td:nth-child(2){min-width:180px;max-width:280px}.bulk-errors-table td:nth-child(3){min-width:130px}.bulk-errors-table td:nth-child(4),.bulk-errors-table td:nth-child(5){white-space:nowrap}.bulk-errors-table td:last-child{min-width:220px;max-width:320px}.bulk-errors-table tbody tr:last-child td{border-bottom:0}.bulk-errors-actions{justify-content:flex-end;flex-shrink:0;margin-top:10px}.bulk-errors-actions button{min-height:42px}.bulk-errors-actions .primary{min-width:90px}.bulk-errors-copy-status{min-height:20px;margin:12px 0 0;color:#667791;font-size:12px;overflow-wrap:anywhere}.bulk-errors-export{flex-shrink:0;max-height:160px;min-height:100px;margin-top:16px;font-family:Consolas,monospace;font-size:12px;white-space:pre}.bulk-errors-panel:focus{outline:none}.bulk-errors-panel button:focus-visible,.bulk-errors-table:focus-visible{outline:3px solid #2046a6;outline-offset:3px}@media(max-width:700px){.bulk-errors-backdrop{padding:12px}.bulk-errors-panel{padding:20px 16px;max-height:calc(100dvh - 24px)}.bulk-errors-heading h2{font-size:18px}.bulk-errors-heading>p:last-child{font-size:13px}.bulk-errors-table{max-height:55dvh}.bulk-errors-actions{gap:8px}.bulk-errors-actions #bulk-errors-copy{flex:1}.bulk-errors-actions .primary{min-width:70px}}

.usage-policy.usage-policy-stack{padding:0;border:0;background:transparent;box-shadow:none;overflow:auto;border-radius:0}.usage-policy-stack>.violation-notice{width:100%;max-width:none;margin:0 0 12px;padding:20px 28px;border-radius:18px;line-height:1.75}.usage-policy-card{padding:28px;border:1px solid #edd8db;border-radius:18px;background:#fff;box-shadow:0 24px 90px #0c173a40}@media(max-width:700px){.usage-policy-stack>.violation-notice,.usage-policy-card{padding:22px 18px}}
