.studio-module-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(225px,1fr));gap:14px}.studio-module{display:grid;text-align:left;align-content:start;gap:9px;border:1px solid var(--border,#dce4ee);background:var(--surface,#fff);color:var(--text,#18233d);padding:22px;border-radius:18px;min-height:164px;box-shadow:0 4px 16px #17264707}.studio-module[hidden]{display:none}.studio-module>span{font-size:25px;color:#187eaf;background:#e0f4ff;width:45px;height:45px;display:grid;place-items:center;border-radius:13px}.studio-module:nth-of-type(3n+2)>span{color:#087756;background:#dff8ec}.studio-module:nth-of-type(3n)>span{color:#8749c7;background:#f0e6ff}.studio-module small{line-height:1.5;opacity:.85}.studio-module:hover{border-color:#0ba982;box-shadow:0 8px 25px #00876a14}.studio-dialog{width:min(620px,calc(100vw - 24px));max-height:85vh;overflow:auto;border:1px solid #d7e3ed;border-radius:20px;padding:24px;box-sizing:border-box;background:var(--surface,#fff);color:var(--text,#18233d)}.studio-dialog::backdrop{background:#0c172777;backdrop-filter:blur(4px)}.studio-dialog header{display:flex;align-items:center;justify-content:space-between;gap:20px}.studio-dialog .danger{background:#ffe1e7;color:#b01734;border:1px solid #ffb9c6;font-size:22px}.studio-help{padding:16px;border-left:3px solid #0ba982;background:#0ba98212;border-radius:8px;margin:16px 0;line-height:1.65}.studio-module-head{margin-bottom:20px}.studio-module-head input{max-width:450px}.studio-dialog pre{white-space:pre-wrap;overflow-wrap:anywhere}.studio-provider-row{display:grid;grid-template-columns:1fr auto auto;gap:15px;align-items:center;padding:18px;border:1px solid var(--border,#dae4ef);border-radius:15px;margin:12px 0}.studio-provider-row small{display:block;margin-top:5px}.studio-provider-actions{display:flex;gap:8px;flex-wrap:wrap}.studio-provider-actions .button{padding:9px 14px}.studio-provider-currency{background:#e4f1ff;color:#195cac;border-radius:9px;padding:6px 9px}.studio-provider-state{background:#dcf8ec;color:#087653;border-radius:9px;padding:6px 9px}@media(max-width:600px){.studio-provider-row{grid-template-columns:1fr}.studio-module-grid{grid-template-columns:1fr 1fr;gap:9px}.studio-module{padding:14px;min-width:0;font-size:13px}.studio-module small{font-size:11px}.studio-dialog{padding:17px}}
.studio-qr{width:240px;max-width:100%;background:#fff;border:1px solid #ddd;border-radius:14px;padding:10px}.studio-qr svg{display:block;width:100%;height:auto}.rank-arena[data-rank-colour] .neon-rank{color:var(--rank-a)!important;text-shadow:0 0 15px color-mix(in srgb,var(--rank-a) 50%,transparent)}.rank-arena[data-rank-colour] .orbit-progress{stroke:var(--rank-a)}.rank-arena[data-rank-colour] .rank-crest{color:var(--rank-a)}
.studio-module{white-space:normal!important;grid-template-columns:minmax(0,1fr)}.studio-module>*{min-width:0;max-width:100%;overflow-wrap:anywhere}.studio-module-grid{min-width:0}.studio-dialog input,.studio-dialog select,.studio-dialog textarea{max-width:100%;box-sizing:border-box}
/* Staff access matrix: independent visible fields and actions. */
.staff-permissions{margin:22px 0;max-width:1100px}.staff-permissions>header p,.permission-owner-note p{line-height:1.65;opacity:.8}.staff-permissions>input{width:100%;margin-bottom:14px}.staff-permission-section{border:1px solid var(--border,#dce2ed);border-radius:16px;margin:10px 0;overflow:hidden;background:var(--surface,#fff)}.staff-permission-section>summary{display:flex;align-items:center;gap:12px;padding:15px;cursor:pointer;list-style:none}.staff-permission-section>summary:after{content:'＋';margin-left:auto;font-size:20px}.staff-permission-section[open]>summary:after{content:'−'}.permission-icon{background:#ede9fe;color:#6d28d9;border-radius:10px;width:34px;height:34px;display:grid;place-items:center}.staff-permission-section:nth-of-type(2n) .permission-icon{background:#d1fae5;color:#047857}.staff-permission-section:nth-of-type(3n) .permission-icon{background:#dbeafe;color:#1d4ed8}.permission-count{font-size:12px;color:#475569;background:#f1f5f9;padding:4px 9px;border-radius:12px}.permission-body{padding:0 16px 18px}.permission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.permission-toggle{display:flex!important;flex-direction:row!important;align-items:center;gap:12px;position:relative;margin:0!important;padding:11px 12px;background:var(--surface,#f8fafc);border:1px solid var(--border,#e2e8f0);border-radius:10px;font-size:13px;min-width:0}.permission-toggle>span:first-child{flex:1;line-height:1.45}.permission-toggle input{position:absolute;opacity:0;width:1px;height:1px}.permission-switch{width:57px;flex:0 0 57px;height:27px;border-radius:15px;background:#ffe4e6;color:#be123c;border:1px solid #fda4af;display:grid;place-items:center;font-size:10px;font-weight:800}.permission-switch:after{content:'OFF'}.permission-toggle input:checked+.permission-switch{background:#d1fae5;color:#047857;border-color:#6ee7b7}.permission-toggle input:checked+.permission-switch:after{content:'ON'}.permission-toggle input:focus-visible+.permission-switch{outline:3px solid #6366f1;outline-offset:2px}.permission-tools{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.permission-tools button{font-size:12px;padding:8px 12px}.permission-body h4{margin:20px 0 10px}.permission-owner-note{padding:16px;border-radius:12px;background:var(--surface,#f8fafc);margin-top:16px}.permission-owner-note p{margin:6px 0 0}.staff-permission-section[hidden]{display:none}@media(max-width:650px){.permission-grid{grid-template-columns:1fr}.permission-count{font-size:10px}.permission-body{padding:0 10px 12px}}
.order-history-wrap{width:100%;overflow:auto;border:1px solid var(--border,#dce4ee);border-radius:14px}.order-history-table{width:100%;table-layout:fixed;min-width:1050px}.order-history-table th,.order-history-table td{padding:14px 10px!important;vertical-align:top;overflow-wrap:anywhere;white-space:normal!important}.order-history-table th{font-size:10px}.order-history-table th:first-child{width:135px}.order-history-table th:nth-child(3){width:175px}.order-id-line,.order-provider>div,.order-link-line{display:flex;align-items:flex-start;gap:6px}.order-number{color:#2563eb;font-size:14px}.order-provider{margin-top:12px;padding-top:9px;border-top:1px dashed var(--border,#dce4ee)}.provider-number{color:#9333ea;font-size:12px;font-weight:700}.order-provider small,.order-timezone{display:block;color:var(--muted,#64748b);font-size:10px;line-height:1.5;margin-top:5px}.order-copy{display:inline-flex!important;flex:0 0 24px;align-items:center;justify-content:center;width:24px;height:24px;padding:3px!important;background:#eaf2ff!important;color:#2563eb!important;border:1px solid #cbdcff!important;border-radius:6px!important;box-shadow:none!important}.order-provider .order-copy{background:#f3e8ff!important;color:#7e22ce!important;border-color:#e9d5ff!important}.order-copy.copied{background:#d1fae5!important;color:#047857!important}.order-service-id{display:inline-block;padding:2px 6px;border-radius:5px;background:#e0e7ff;color:#3730a3;font-weight:700;margin-bottom:4px}.order-service-name{font-weight:600;line-height:1.6}.order-link-line a,.order-link-line>span{min-width:0;overflow-wrap:anywhere;word-break:break-word;line-height:1.6}.order-link-line a{color:var(--text,#1e293b);text-decoration:underline;text-decoration-color:#94a3b8;text-underline-offset:3px}.order-username{font-weight:700;color:var(--text,#1e293b)}.order-money{display:inline-block;border:1px solid;border-radius:8px;padding:5px 7px;font-weight:700;font-size:11px}.money-charge{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}.money-refund{background:#ecfdf5;color:#047857;border-color:#a7f3d0}.order-status{display:inline-flex;align-items:center;gap:5px;border-radius:9px;padding:6px 8px;font-size:10px;font-weight:800;line-height:1.4;background:#f1f5f9;color:#475569;border:1px solid #cbd5e1}.order-status i{height:5px;width:5px;flex:0 0 5px;border-radius:100%;background:currentColor}.os-complete{background:#d1fae5;color:#065f46;border-color:#6ee7b7}.os-cancelled{background:#ffe4e6;color:#9f1239;border-color:#fda4af}.os-rejected{background:#fee2e2;color:#991b1b;border-color:#fca5a5}.os-partial{background:#ffedd5;color:#9a3412;border-color:#fdba74}.os-progress{background:#cffafe;color:#155e75;border-color:#67e8f9}.os-processing{background:#e0e7ff;color:#3730a3;border-color:#a5b4fc}.os-pending{background:#fef3c7;color:#92400e;border-color:#fcd34d}.os-review{background:#fae8ff;color:#86198f;border-color:#e879f9}.os-uncertain{background:#ede9fe;color:#5b21b6;border-color:#c4b5fd}.order-completed{display:block;font-size:10px;color:var(--muted,#64748b);margin-top:6px;line-height:1.5}.order-row-actions{display:flex;flex-wrap:wrap;gap:7px;max-width:100%;align-items:flex-start}.order-row-actions form{max-width:100%;margin:0!important}.order-row-actions button{font-size:11px;padding:7px 9px!important;white-space:normal!important}.order-row-actions form:has([value=refill]) button{background:#dcfce7!important;color:#166534!important;box-shadow:none!important}.order-row-actions form:has([value=cancel]) button{background:#ffe4e6!important;color:#9f1239!important;box-shadow:none!important}.order-row-actions details{width:100%;max-width:100%}.order-cancel-detail p{font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere}.order-cancel-started{font-size:10px;color:var(--muted,#64748b)}.order-copy-status{display:block;font-size:12px;min-height:18px;color:var(--text,#1e293b);margin-top:7px}.order-history-table time{font-size:11px;line-height:1.6;display:block}@media(max-width:700px){.order-history-wrap{overflow:visible;border:0}.order-history-table{min-width:0;display:block}.order-history-table thead{display:none}.order-history-table tbody{display:block}.order-history-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid var(--border,#dce4ee);border-radius:14px;margin-bottom:14px;overflow:hidden;background:var(--surface,#fff)}.order-history-table td{display:block;min-width:0;border:0;padding:12px!important}.order-history-table td:before{content:attr(data-label);display:block;font-size:10px;text-transform:uppercase;letter-spacing:.07em;color:var(--muted,#64748b);margin-bottom:6px}.order-history-table td[data-label=Service],.order-history-table td[data-label=Link],.order-history-table td[data-label=Actions]{grid-column:1/-1}.order-row-actions{gap:10px}.order-history-table td[data-label=Actions]{border-top:1px solid var(--border,#dce4ee)}.order-service-name{font-size:12px}}
@media(max-width:700px){.order-history-table.is-customer td[data-label=Order]{order:-2}.order-history-table.is-customer td[data-label=Date]{order:-1}}
.order-history-table th:nth-child(3){width:auto}.order-history-table th.order-service-heading{width:260px}.order-copy-feedback{position:fixed!important;z-index:10050;display:block!important;width:max-content;max-width:calc(100vw - 16px);padding:5px 9px!important;border:1px solid #86efac!important;border-radius:7px!important;background:#f0fdf4!important;color:#047857!important;box-shadow:0 4px 14px #052e1620;white-space:nowrap!important;font-family:system-ui,sans-serif!important;font-size:11px!important;font-weight:700!important;line-height:1.3!important;pointer-events:none}.order-copy-feedback.copy-failed{color:#be123c!important;background:#fff1f2!important;border-color:#fecdd3!important}.order-id-line,.order-provider>div,.order-link-line{flex-wrap:wrap}.order-link-line a,.order-link-line>span:first-child{flex:1 1 55px}.customer-edit-green,.wallet-quick-add,.service-order-green,#order-form-card button[type=submit]{background:#059669!important;color:#fff!important;border:1px solid #047857!important;box-shadow:0 3px 10px #05966918!important}.customer-edit-green:hover,.wallet-quick-add:hover,.service-order-green:hover{background:#047857!important;color:#fff!important}.fund-history-link{font-size:11px;display:inline-block;margin-top:6px}.customer-service-description{margin-top:10px;border:1px solid var(--border,#dce4ee);border-radius:10px;overflow:hidden}.customer-service-description>summary{display:flex;justify-content:space-between;align-items:center;gap:10px;list-style:none;padding:9px 12px;background:#ecfdf5;color:#065f46;font-weight:700;cursor:pointer}.customer-service-description>summary::-webkit-details-marker{display:none}.customer-service-description[open]>summary span{transform:rotate(180deg)}.customer-service-description>p{padding:12px;line-height:1.7;margin:0;overflow-wrap:anywhere}#quick-funds-dialog form{display:grid;gap:12px}#quick-funds-dialog input[type=number]{width:100%}.customer-service-description summary:before,.customer-service-description summary:after{display:none!important}@media(min-width:701px){.order-history-table{min-width:1200px}}@media(max-width:700px){.order-copy-feedback{font-size:10px}}
.order-entry-card form>button[type=submit]{background:#059669!important;color:#fff!important;border-color:#047857!important;box-shadow:0 4px 12px #05966922!important}.order-entry-card form>button[type=submit]:hover{background:#047857!important}

.studio-badge.service-state{font-weight:800;border:1px solid currentColor}.studio-service.provider-paused{border-left:3px solid #f43f5e}.studio-badge.category-visibility{background:#eef2ff!important;color:#4338ca!important}.studio-provider-status{grid-column:1/-1;padding:10px 12px;border-radius:9px;background:#fff1f2!important;color:#9f1239!important;font-size:12px;line-height:1.6}.studio-toggle:disabled{cursor:not-allowed;opacity:1}

.studio-category>header{flex-wrap:wrap}.studio-category-title{flex:1 1 360px;min-width:0}.studio-category>header>button{flex:0 0 auto}@media(max-width:700px){.studio-category-title{flex-basis:100%}.studio-category-title>.studio-badge{white-space:nowrap}.studio-category>header{padding:12px;gap:8px}}

/* Compact mobile order cards, shared by customers and administrators. */
@media(max-width:700px){
.order-history-table tr{border:2px solid color-mix(in srgb,var(--accent,#059669) 48%,var(--border,#cbd5e1));border-radius:11px;margin-bottom:9px;box-shadow:0 2px 6px #0f172a08;gap:0}
.order-history-table td{padding:8px 9px!important;font-size:11px;line-height:1.4}
.order-history-table td:before{font-size:9px;margin-bottom:3px;letter-spacing:.04em}
.order-id-line,.order-provider>div,.order-link-line{gap:5px}
.order-provider{margin-top:6px;padding-top:6px}
.order-provider small,.order-timezone{margin-top:3px;font-size:9px}
.order-service-name{font-size:11px;line-height:1.4}.order-service-id{margin-bottom:2px}
.order-money{padding:4px 6px;font-size:10px;border-radius:6px}
.order-status{padding:4px 6px;font-size:10px;border-radius:6px}
.order-row-actions{gap:6px;align-items:center}.order-row-actions button{padding:6px 8px!important;font-size:10px;min-height:32px}
.order-history-table time{font-size:10px;line-height:1.4}.order-completed{margin-top:3px;font-size:9px}
}
.pay-design{border:1px solid var(--border,#dce4ee);border-radius:12px;padding:14px;margin:14px 0;display:grid;gap:10px;min-width:0}.pay-design legend{font-weight:800;color:var(--accent,#059669)}.pay-design small{font-size:11px;line-height:1.5}.pay-html-tools,.pay-method-options{display:flex;flex-wrap:wrap;gap:8px}.pay-html-tools button{padding:6px 10px!important;font-size:11px}.pay-html-tools label{display:flex;gap:6px;align-items:center;font-size:11px}.pay-html-tools input[type=color]{width:36px;height:30px;padding:2px}.pay-html-preview{width:100%;height:180px;background:#fff;border:1px solid #cbd5e1;border-radius:10px}.pay-logo-preview img,.pay-method-choice img,.pay-method-info header img{width:40px;height:40px;object-fit:contain;border-radius:8px}.pay-logo-preview{font-size:30px}.pay-method-choice{display:flex!important;gap:9px;align-items:center;background:var(--surface,#fff)!important;color:var(--text,#172033)!important;border:2px solid var(--border,#dce4ee)!important;border-radius:12px!important;padding:9px 12px!important;box-shadow:none!important}.pay-method-choice.selected{border-color:#059669!important;background:#ecfdf5!important;color:#065f46!important}.pay-method-choice>span{font-size:27px}.pay-method-choice strong{font-size:12px}.pay-quote{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.pay-quote>span{padding:7px 10px;border-radius:8px;font-size:11px;font-weight:700}.pay-bonus{background:#dcfce7;color:#166534}.pay-tax{background:#fff1f2;color:#9f1239}.pay-quote>strong{flex-basis:100%;padding:11px;border-radius:10px;background:#ecfdf5;color:#065f46;border:1px solid #a7f3d0}.pay-quote small{font-size:10px;line-height:1.5}.pay-method-info{padding:14px;border:1px solid var(--border,#dce4ee);border-radius:12px}.pay-method-info[hidden],.pay-quote[hidden]{display:none!important}.pay-method-info header{display:flex;align-items:center;gap:10px}.pay-method-info header>span{font-size:28px}.pay-method-info h3{margin:0!important}.pay-method-info small{display:block;font-size:11px;margin-top:8px}.pay-rich{margin:12px 0;overflow-wrap:anywhere;line-height:1.6}.pay-rich ul,.pay-rich ol{padding-left:22px}

/* Compact header and owner-managed display order. */
.display-sort-editor{padding:12px 14px;border:1px solid var(--line);background:var(--surface);border-radius:14px;margin-bottom:16px}.display-sort-editor>summary{font-size:13px;color:var(--text)}.display-sort-editor>p{font-size:11px;color:var(--muted);margin:10px 0}.display-sort-editor ol{list-style:none;margin:0 0 12px;padding:0;max-height:340px;overflow-y:auto;overscroll-behavior:contain}.display-sort-editor li{display:flex;align-items:center;gap:10px;background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:7px;margin:5px 0;min-height:43px}.display-sort-editor li>strong{flex:1;min-width:0;font-size:12px;overflow-wrap:anywhere}.display-sort-editor .sort-handle,.display-sort-editor .sort-arrows button{min-width:32px;width:32px;height:32px;padding:0!important;border:1px solid var(--line)!important;border-radius:8px!important;background:var(--surface)!important;color:var(--text)!important;box-shadow:none!important;transform:none!important}.display-sort-editor .sort-handle{font-size:21px;touch-action:none;cursor:grab;user-select:none}.display-sort-editor .sort-arrows{display:flex;gap:4px}.display-sort-editor .is-dragging{border-color:#059669;box-shadow:0 0 0 2px #10b98130;background:color-mix(in srgb,#10b981 12%,var(--surface))}.display-sort-editor .sort-arrows button:disabled{opacity:.3}.sort-footer{display:flex;align-items:center;gap:12px}.sort-footer button{padding:9px 15px!important}.sort-footer output{font-size:12px;overflow-wrap:anywhere}.sort-success{color:#059669}.sort-error{color:#e11d48}
.workspace>.topbar{min-width:0;gap:10px}.topbar .topbar-right{gap:8px;min-width:0;max-width:100%;align-items:center}.topbar .currency-switch{margin:0!important;flex:0 0 auto}.topbar .currency-menu{margin:0!important;padding:0!important;min-width:0;width:auto}.topbar .currency-menu>summary{display:flex;align-items:center;gap:5px;padding:8px!important;font-size:11px;white-space:nowrap;min-width:0;min-height:34px}.topbar .currency-menu>summary img,.topbar .currency-menu>summary .currency-flag{width:19px!important;max-width:19px;height:auto}.topbar .wallet-pill{padding:6px 9px!important;gap:6px;min-width:0;min-height:34px;white-space:nowrap;font-size:12px!important;line-height:1.2}.topbar .wallet-pill [data-wallet-amount]{font-size:12px!important;font-variant-numeric:tabular-nums;white-space:nowrap}.topbar .wallet-coin{width:23px!important;height:23px!important;font-size:16px!important;flex:0 0 23px}.topbar .mode-toggle,.topbar .notification-bell{box-sizing:border-box;width:34px!important;min-width:34px;height:34px!important;padding:7px!important;display:inline-flex;align-items:center;justify-content:center;border-radius:11px!important;box-shadow:none!important}.topbar .notification-bell b{min-width:14px;font-size:9px;line-height:14px;padding:0 3px}.topbar .currency-options{min-width:125px;max-width:calc(100vw - 24px);right:0;left:auto}.topbar .notification-menu{max-width:calc(100vw - 24px)}
@media(max-width:640px){.workspace>.topbar{display:flex!important;flex-wrap:nowrap!important;padding:10px 10px!important;gap:6px!important;min-height:58px;height:auto!important;align-items:center}.topbar .breadcrumb{display:none!important}.topbar .menu-button{display:inline-flex!important;align-items:center;justify-content:center;width:30px;min-width:30px;height:34px;margin:0!important;padding:0!important;box-shadow:none!important;flex-shrink:0}.topbar .topbar-right{display:flex!important;flex:1;justify-content:flex-end;flex-wrap:nowrap!important;gap:5px!important;margin:0!important}.topbar .currency-menu>summary{padding:6px!important;gap:4px;font-size:10px}.topbar .wallet-pill{padding:6px!important;gap:4px}.topbar .wallet-pill [data-wallet-amount]{font-size:10px!important}.topbar .wallet-coin{width:20px!important;height:20px!important;flex-basis:20px;font-size:14px!important}.topbar .web-links{display:none}.topbar .notification-menu{position:fixed;top:62px;right:10px;width:min(360px,calc(100vw - 20px))}.display-sort-editor li{gap:6px}.topbar .currency-menu>summary img{width:16px!important}}
@media(max-width:360px){.topbar .topbar-right{gap:3px!important}.topbar .mode-toggle,.topbar .notification-bell{width:29px!important;min-width:29px;height:30px!important;padding:5px!important}.topbar .wallet-coin{display:none!important}.topbar .currency-menu>summary{padding:5px!important}.topbar .wallet-pill [data-wallet-amount]{font-size:9px!important}}

/* Compact admin order workspace. */
.order-status-counts{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:0 0 15px}.order-count-chip{--chip:#475569;display:inline-flex;align-items:center;gap:7px;padding:5px 8px;border:1px solid color-mix(in srgb,var(--chip) 30%,var(--line));border-radius:7px;background:color-mix(in srgb,var(--chip) 8%,var(--surface));font-size:10px;line-height:1.25;color:var(--text);white-space:nowrap}.order-count-chip b{min-width:20px;text-align:center;padding:2px 5px;border-radius:4px;background:var(--chip);color:white;font-size:10px}.order-count-chip.is-active{outline:2px solid var(--chip);outline-offset:1px}.count-queued{--chip:#6355cc}.count-pending{--chip:#a56807}.count-processing{--chip:#0e7490}.count-in-progress{--chip:#2563eb}.count-completed{--chip:#16865a}.count-partial{--chip:#c76d17}.count-canceled{--chip:#dc354f}.count-review{--chip:#b23c95}.count-uncertain{--chip:#a040d0}.count-loss{--chip:#b91c1c}.count-dispatching{--chip:#087f8c}.count-partner-pending{--chip:#80601d}
.order-action-menu{position:relative;margin:0!important;padding:0!important;border:0!important;min-width:95px}.order-action-menu>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;background:var(--accent);color:var(--buttontext,#132016);border:1px solid color-mix(in srgb,var(--accent) 75%,#000);border-radius:var(--control-radius,7px);padding:7px 10px;font-size:10px;font-weight:750;list-style:none;cursor:pointer;white-space:nowrap}.order-action-menu>summary::-webkit-details-marker{display:none}.order-action-menu>summary:focus-visible{outline:2px solid var(--text);outline-offset:2px}
.order-action-options{position:fixed;z-index:220;width:232px;max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain;background:var(--surface);border:1px solid var(--line);box-shadow:0 12px 38px #102a3438;border-radius:10px;padding:5px}.order-action-menu:not([open])>.order-action-options{display:none}.order-action-options>button{display:flex!important;width:100%;justify-content:flex-start!important;gap:9px;font-size:10px!important;line-height:1.3;padding:8px!important;margin:0!important;border:0!important;border-radius:6px!important;background:transparent!important;color:var(--text)!important;box-shadow:none!important;transform:none!important;text-align:left;white-space:normal}.order-action-options>button:hover,.order-action-options>button:focus-visible{background:color-mix(in srgb,var(--accent) 22%,var(--surface))!important}.order-action-options>button>span{font-size:14px;color:#0c8870;width:19px;text-align:center}.order-action-options .oa-refund>span,.order-action-options .oa-cancel>span{color:#d5284f}.order-action-options .oa-partial>span{color:#c97b10}.order-action-options .oa-details>span,.order-action-options .oa-recheck>span{color:#3768d5}.order-action-options .oa-resend>span,.order-action-options .oa-custom_resend>span{color:#8d44ca}
body .order-action-dialog{width:min(480px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:18px;overflow:auto;border-radius:14px;box-sizing:border-box}.order-action-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.order-action-dialog h2{font-size:15px;line-height:1.3}.order-action-dialog>header>button{width:27px;height:27px;padding:0!important;border-radius:2px!important;background:#ffe4e6!important;color:#be123c!important;box-shadow:none!important;outline:none!important;flex-shrink:0}.order-action-dialog>header>button:focus-visible{border:1px solid #be123c}.order-action-heading{display:flex;justify-content:space-between;align-items:center;margin:8px 0 12px;font-size:12px}.order-action-dialog label{display:block;font-size:11px;margin:11px 0}.order-action-dialog label.check{display:flex!important;align-items:flex-start;gap:8px;white-space:normal;line-height:1.5}.order-action-dialog input,.order-action-dialog select,.order-action-dialog textarea{max-width:100%;min-width:0;font-size:12px;padding:9px}.order-action-dialog .check input{width:16px;height:16px;flex-shrink:0;margin:0}.order-action-dialog small,.order-action-help{font-size:10px!important;line-height:1.55!important;color:var(--muted);white-space:normal}.order-action-dialog form>button[type=submit]{width:100%;margin-top:10px;padding:10px!important;background:var(--accent);color:var(--buttontext,#132016)}.order-action-dialog [hidden],.order-action-dialog label[hidden]{display:none!important}.order-action-dialog [data-bulk-result]{max-height:190px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font:11px/1.7 var(--font);margin-bottom:0}.order-action-success{color:#128451;font-size:12px}.order-action-error{color:#be123c;font-size:12px}.order-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:0}.order-detail-grid>div{border:1px solid var(--line);background:var(--bg);padding:9px;border-radius:8px;min-width:0}.order-detail-grid>div:first-child,.order-detail-grid>div:nth-child(2){grid-column:1/-1}.order-detail-grid dt{font-size:9px;color:var(--muted);margin-bottom:4px}.order-detail-grid dd{font-size:11px;margin:0;overflow-wrap:anywhere}.order-refund-preview{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#e4f8ed;color:#087248;border:1px solid #b6eacf;border-radius:9px;padding:12px;font-size:11px}.order-refund-preview strong{font-size:15px}.order-provider-responses{font-size:11px;margin-top:12px;overflow-wrap:anywhere}.order-provider-responses p{font-size:10px}.order-bulk{gap:8px!important;padding:10px!important;margin:10px 0!important}.order-bulk button{font-size:10px!important;padding:7px 9px!important}
@media(max-width:600px){.order-status-counts{gap:5px;margin-bottom:12px}.order-count-chip{font-size:9px;padding:5px 6px;gap:5px}.order-count-chip b{font-size:9px;min-width:18px}.order-action-menu{max-width:150px}.order-action-dialog{padding:14px!important}.order-history-table.is-admin td[data-label=Actions]{overflow:visible!important}.order-action-dialog .order-status{font-size:9px}.order-bulk-actions{gap:6px!important}}

/* Catalogue removal: compact, explicit confirmation on desktop and mobile. */
#service-studio .studio-delete{background:#fff0f2!important;color:#b51636!important;border:1px solid #ffb7c5!important;border-radius:9px;padding:8px 11px;box-shadow:none!important;white-space:nowrap;font-size:12px;font-weight:750}#service-studio .studio-delete:hover{background:#ffe0e6!important;color:#94112c!important}#service-studio .studio-category>header{flex-wrap:wrap}#service-studio .studio-category-title{flex:1 1 250px}#service-studio .catalogue-delete-dialog{width:min(490px,calc(100vw - 24px));padding:18px}#service-studio .catalogue-delete-dialog h2{font-size:20px;margin:0}#service-studio [data-delete-name]{display:block;overflow-wrap:anywhere;margin:15px 0 8px}#service-studio .catalogue-delete-help{padding:12px;border:1px solid #fbbbc8;border-radius:12px;background:color-mix(in srgb,var(--surface,#fff) 94%,#f43f5e);font-size:13px;line-height:1.5}#service-studio .catalogue-delete-help p{margin:8px 0}#service-studio .catalogue-delete-confirm{display:flex;align-items:center;gap:9px;margin:14px 0;font-size:13px}#service-studio .catalogue-delete-confirm input{width:17px;height:17px;flex:none;accent-color:#c71d43}#service-studio [data-delete-error]{color:#d62648;font-size:13px}#service-studio .catalogue-delete-dialog footer{position:static;background:transparent;padding-bottom:0}#service-studio .catalogue-delete-dialog footer .studio-delete{background:#c21f40!important;color:white!important}#service-studio .catalogue-delete-dialog button:disabled{opacity:.6;cursor:wait}

#service-studio .catalogue-delete-dialog footer{display:flex!important;flex-direction:row!important;flex-wrap:nowrap;justify-content:flex-end;gap:9px;width:auto}#service-studio .catalogue-delete-dialog footer button{width:auto!important;min-width:85px;margin:0}#service-studio .catalogue-delete-dialog .studio-close{width:34px;height:34px;min-width:34px;padding:0;display:grid;place-items:center;border-radius:8px}

/* Selected-service actions */
#service-studio .studio-bulk-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0;padding:10px 12px;border:1px solid var(--border,#dce4ee);border-radius:12px;background:var(--surface,#fff)}#service-studio .studio-bulk-bar[hidden],#service-studio .studio-bulk-selected[hidden]{display:none!important}#service-studio .studio-bulk-selected{display:flex;align-items:center;gap:9px;flex-wrap:wrap}#service-studio .studio-select-all{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700;margin:0}#service-studio .studio-select-all input,#service-studio .studio-service-select input{width:17px;height:17px;min-width:17px;accent-color:#07845e;margin:0;cursor:pointer}#service-studio .studio-service-select{display:flex;align-items:center;flex:none;margin:0;padding:3px}#service-studio .studio-service.is-selected{box-shadow:inset 3px 0 #059669;background:color-mix(in srgb,var(--surface,#fff) 94%,#10b981)}#service-studio .studio-bulk-menu{position:relative;overflow:visible;border:0;padding:0;margin:0}#service-studio .studio-bulk-menu summary{display:flex;align-items:center;gap:20px;cursor:pointer;padding:9px 13px;border-radius:9px;background:#087f5b;color:white;list-style:none;font-size:12px;font-weight:750}#service-studio .studio-bulk-menu summary::-webkit-details-marker{display:none}#service-studio .studio-bulk-menu summary:before,#service-studio .studio-bulk-menu summary:after{display:none!important}#service-studio .studio-bulk-options{position:absolute;z-index:40;top:calc(100% + 6px);left:0;width:235px;max-width:calc(100vw - 48px);padding:7px;display:grid;gap:5px;border:1px solid var(--border,#dce4ee);border-radius:12px;background:var(--surface,#fff);box-shadow:0 12px 35px #0c243026}#service-studio .studio-bulk-menu:not([open]) .studio-bulk-options{display:none}#service-studio .studio-bulk-options button{text-align:left;justify-content:flex-start;border:0;padding:10px;font-size:12px;border-radius:7px;box-shadow:none;white-space:normal}#service-studio .bulk-tone-green{background:#dcfce7!important;color:#166534!important}#service-studio .bulk-tone-orange{background:#fff0cf!important;color:#92400e!important}#service-studio .bulk-tone-purple{background:#ede9fe!important;color:#6d28d9!important}#service-studio .bulk-tone-slate{background:#e2e8f0!important;color:#334155!important}#service-studio .bulk-tone-blue{background:#dbeafe!important;color:#1d4ed8!important}#service-studio .bulk-tone-cyan{background:#cffafe!important;color:#155e75!important}#service-studio .bulk-tone-red{background:#ffe4e6!important;color:#be123c!important}#service-studio .studio-bulk-options button:hover{filter:brightness(.94)}#service-studio .service-bulk-dialog{width:min(510px,calc(100vw - 24px));padding:18px}#service-studio .service-bulk-dialog h2{font-size:19px;margin:0}#service-studio .service-bulk-dialog header{margin-bottom:14px}#service-studio .service-bulk-dialog .studio-close{width:34px;height:34px;min-width:34px;padding:0;display:grid;place-items:center;border-radius:8px}#service-studio [data-service-bulk-help]{font-size:13px;line-height:1.6}#service-studio [data-service-bulk-fields]{display:grid;gap:8px}#service-studio [data-service-bulk-fields] small{font-size:11px;color:var(--muted,#64748b)}#service-studio [data-service-bulk-progress]{font-size:13px;font-weight:750;color:#07845e}#service-studio [data-service-bulk-results]{max-height:180px;overflow:auto}#service-studio .studio-bulk-failure,#service-studio [data-service-bulk-error]:not(:empty){font-size:12px;line-height:1.5;background:#fff1f2;color:#a51232;border-radius:8px;padding:9px;overflow-wrap:anywhere}#service-studio .service-bulk-dialog footer{display:flex!important;flex-direction:row!important;justify-content:flex-end;gap:9px;position:static;background:transparent;padding-bottom:0}#service-studio .service-bulk-dialog footer button{width:auto!important;margin:0}#service-studio .service-bulk-dialog button:disabled{opacity:.55;cursor:default}@media(max-width:650px){#service-studio .studio-service-select{align-self:flex-start}#service-studio .studio-service-info{flex-basis:calc(100% - 48px)}#service-studio .studio-bulk-selected{width:100%}#service-studio .studio-bulk-selected>small{display:none}#service-studio .studio-bulk-menu .studio-bulk-options{left:auto;right:0;width:215px;transform:none}#service-studio .studio-category-title{flex-basis:calc(100% - 40px)}}

/* Compact admin order search: shared by main, rental and staff panels. */
.order-search-form{display:grid;grid-template-columns:minmax(180px,1.2fr) minmax(180px,1.6fr) minmax(140px,1fr) minmax(140px,1fr) auto;align-items:end;gap:10px;margin:16px 0 8px;padding:12px;border:1px solid color-mix(in srgb,var(--accent,#059669) 25%,var(--border,#dce4ee));border-radius:12px;background:var(--surface,#fff)}.order-search-form>label{display:flex;flex-direction:column;gap:6px;margin:0;min-width:0;font-size:11px;font-weight:750}.order-search-form input,.order-search-form select{width:100%;min-width:0;max-width:100%;box-sizing:border-box;margin:0;height:40px;font-size:12px;padding:8px 11px}.order-search-form .order-search-value input{border-color:#4ebc93;background:color-mix(in srgb,var(--surface,#fff) 95%,#10b981);color:var(--text,#16243a)}.order-search-buttons{display:flex;align-items:center;gap:7px}.order-search-buttons button,.order-search-buttons a{min-height:40px;padding:9px 12px;font-size:12px;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;margin:0}.order-search-hint{font-size:11px;color:var(--muted,#617183);line-height:1.5;margin:7px 0 12px}.order-search-applied{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;box-sizing:border-box;padding:6px 10px;font-size:11px;border:1px solid #88d9bb;border-radius:8px;background:#e9fbf2;color:#075e44;margin-bottom:12px}.order-search-error{background:#fff1f2;color:#a51232;border:1px solid #fecdd3;border-radius:8px;padding:10px;font-size:12px}@media(max-width:1100px){.order-search-form{grid-template-columns:repeat(2,minmax(0,1fr))}.order-search-buttons{grid-column:1/-1;justify-content:flex-end}}@media(max-width:480px){.order-search-form{gap:9px;padding:10px}.order-search-form .order-search-value{grid-column:1/-1;grid-row:2}.order-search-form>label:first-of-type{grid-column:1/-1}.order-search-buttons button,.order-search-buttons a{flex:1}.order-search-buttons{width:100%}}

.order-schedule{margin:12px 0;padding:14px;border:1px solid #b9e2d4;border-radius:14px;background:var(--surface,#fff)}.schedule-heading{display:flex;gap:10px;align-items:center}.schedule-heading>span{display:grid;place-items:center;background:#d9f9eb;color:#067352;border-radius:11px;width:34px;height:34px;font-size:24px}.schedule-heading strong,.schedule-heading small{display:block}.schedule-heading small,.order-schedule small{font-size:12px;line-height:1.5;color:var(--muted,#526479)}.schedule-options{display:flex;gap:10px;margin:12px 0}.schedule-options label{display:flex;align-items:center;gap:6px;padding:8px 12px;border:1px solid #cddbd8;border-radius:10px;font-size:13px;cursor:pointer}.schedule-options input{width:auto;margin:0;accent-color:#088b66}.schedule-options label:has(input:checked){background:#dff8ec;border-color:#20a279;color:#065c41}.order-scheduled-time{display:block;color:#7752c6;font-size:11px;max-width:190px;margin-top:5px}.os-scheduled,.count-scheduled{background:#eee8ff!important;color:#6946ab!important}.order-schedule input[type=datetime-local]{width:100%;min-width:0;box-sizing:border-box}

.campaign-composer-head{display:flex;align-items:center;gap:12px;margin-bottom:18px;flex-wrap:wrap}.campaign-composer-head>span:first-child{display:grid;place-items:center;flex:0 0 44px;height:44px;background:linear-gradient(140deg,#087f67,#22ba91);color:#fff;border-radius:13px;font-size:22px}.campaign-composer-head>div{flex:1;min-width:180px}.campaign-composer-head small{font-size:10px;font-weight:800;letter-spacing:1.4px;color:#087f67}.campaign-composer-head h2{margin:3px 0;font-size:21px}.campaign-composer-head p{margin:0;font-size:12px;color:var(--muted,#64748b)}.campaign-compose-grid,.notice-compose-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,1fr);gap:20px;align-items:start}.campaign-compose-grid>*,.notice-compose-grid>*{min-width:0}.campaign-send-card,.notice-live-card{background:var(--input,#f3f8f7);border:1px solid #c9ded8;border-radius:15px;padding:16px}.campaign-send-card>p,.campaign-send-card>small,.notice-live-card>small{font-size:12px;overflow-wrap:anywhere;display:block;line-height:1.5}.campaign-submit{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.campaign-compose-form textarea,.notice-compose-form textarea{min-height:120px}.campaign-history-row{display:flex;align-items:center;gap:16px;padding:14px 0;border-bottom:1px solid var(--border,#dae3e9)}.campaign-history-row>div:first-child{flex:1;min-width:0}.campaign-history-row small{display:block;color:var(--muted,#64748b);font-size:11px;margin-top:5px}.campaign-history-row strong,.campaign-history-row p{overflow-wrap:anywhere}.campaign-history-row p{font-size:12px;margin:6px 0 0}.campaign-history-actions{display:flex;flex-wrap:wrap;gap:6px}.campaign-history-actions form{margin:0}.campaign-history-actions button,.campaign-history-actions a{padding:8px 10px;font-size:12px}.campaign-state.state-submitted,.campaign-state.state-sent{background:#d8fbea;color:#066347}.campaign-state.state-review,.campaign-state.state-paused{background:#fff0d3;color:#985900}.campaign-state.state-queued,.campaign-state.state-ready{background:#e8e3ff;color:#6840c4}.notice-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:10px 0}.notice-presets button{padding:9px 7px;font-size:12px;background:#edf5ff;color:#174c86;border:1px solid #cee3fa;box-shadow:none}.notice-presets [data-notice-preset=success]{background:#dff9eb;color:#087f67;border-color:#b9e9d4}.notice-presets [data-notice-preset=warning]{background:#fff6d9;color:#94600b;border-color:#f1d68c}.notice-presets [data-notice-preset=danger]{background:#ffebee;color:#b42340;border-color:#fac4cd}.notice-presets [data-notice-preset=offer]{background:#f3eaff;color:#713ac1;border-color:#dac1fa}.notice-presets [data-notice-preset=new]{background:#e3faff;color:#126d86;border-color:#b1e7f5}.notice-live-card [data-notice-preview-area]{margin:14px 0}.notice-live-card article{padding:18px;border:1px solid var(--notice-accent,#087f67);border-radius:14px;overflow-wrap:anywhere}.notice-live-card article>strong{display:block;font-size:18px;margin-top:12px}.notice-live-card article p{font-size:14px;line-height:1.6}.notice-editor .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.notice-format-tools{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.notice-custom-design{margin:12px 0}.notice-editor input[type=color]{height:36px;padding:3px}.campaign-preview article{background:#fff;color:#18302b;border-radius:12px;border-top:4px solid var(--campaign-accent,#087f67);padding:16px;margin:12px 0;overflow-wrap:anywhere}.campaign-preview article p{line-height:1.6}.campaign-preview .button{background:var(--campaign-accent,#087f67);color:white}.notice-compose-form>button{margin-top:14px}.notice-live-card{position:sticky;top:20px}
@media(max-width:760px){.campaign-compose-grid,.notice-compose-grid{grid-template-columns:1fr;gap:14px}.campaign-composer,.notice-composer{padding:16px!important}.campaign-composer-head h2{font-size:18px}.campaign-composer-head>a{padding:8px 10px;font-size:12px}.campaign-history-row{flex-wrap:wrap;gap:8px}.campaign-history-row>div:first-child{flex-basis:70%}.campaign-history-actions{width:100%}.campaign-composer input,.notice-composer input,.campaign-composer textarea,.notice-composer textarea{min-width:0;max-width:100%;box-sizing:border-box}.campaign-compose-grid .form-grid{grid-template-columns:1fr}.notice-live-card{position:static}.schedule-options{gap:7px}.schedule-options label{padding:8px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.notice-composer *{animation:none!important;transition:none!important}}

/* Compact timing controls and transactional email settings. */
.order-schedule{margin:8px 0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;min-height:0!important}
.order-schedule .schedule-options{display:flex;gap:6px;margin:0;align-items:center;flex-wrap:wrap}
.order-schedule .schedule-options label{position:relative;display:inline-flex!important;align-items:center;gap:0;padding:0!important;margin:0!important;flex:0 0 auto!important;min-height:0!important}
.order-schedule .schedule-options input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.order-schedule .schedule-options span{display:block;padding:7px 13px;border-radius:8px;border:1px solid var(--border,#cbded5);font-size:12px;font-weight:750;color:var(--text,#14332a);background:var(--surface,#fff);cursor:pointer;line-height:1.3}
.order-schedule .schedule-options input:checked+span{background:var(--accent,#16865a);color:var(--buttontext,#fff);border-color:var(--accent,#16865a);box-shadow:none}
.order-schedule .schedule-options input:focus-visible+span{outline:2px solid #10b981;outline-offset:3px}
.order-schedule [data-schedule-fields][hidden]{display:none!important}
.order-schedule [data-schedule-fields]:not([hidden]){display:grid;gap:4px;margin-top:8px;max-width:540px;padding:8px 10px;background:var(--surface,#fff);border:1px solid var(--border,#cbded5);border-radius:9px}
.order-schedule [data-schedule-fields] label{margin:0;font-size:11px;gap:4px}.order-schedule [data-schedule-fields] input{padding:7px 9px;min-height:35px}.order-schedule [data-schedule-fields] small{font-size:10px;line-height:1.4;margin:0}
.smtp-tabs{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:14px}.smtp-tabs a{display:grid;gap:3px;text-decoration:none}.smtp-tabs small{font-size:10px;font-weight:400;opacity:.85}.smtp-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.smtp-form>button{margin-top:12px}.smtp-grid label{min-width:0;margin:0}.smtp-help{margin-top:16px;border-top:1px solid var(--border,#ddd);padding-top:12px}.smtp-help li{margin:6px 0}.smtp-test{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.smtp-test label{min-width:200px;flex:1;margin:0}.recovery-form input{width:100%;box-sizing:border-box}.recovery-form input[name=email_code]{letter-spacing:.25em;font-size:20px}.recovery-note{font-size:12px;line-height:1.5}.smtp-form small{line-height:1.5}
@media(max-width:600px){.smtp-grid{grid-template-columns:1fr}.smtp-tabs{gap:6px}.smtp-tabs a{padding:8px 10px;flex:1;font-size:12px}.smtp-test button{width:100%}}

.order-schedule .schedule-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.order-schedule .schedule-actions button{padding:8px 14px!important;min-height:34px!important;width:auto!important;margin:0!important;border-radius:8px;font-size:12px;line-height:1.25}.order-schedule .schedule-actions [data-order-submit]{background:#087f5b;color:#fff;border-color:#087f5b}.smtp-tabs a:not(.secondary) small{color:#fff;opacity:.9}

.order-schedule+button[type=submit]{background:var(--accent,#16865a);color:var(--buttontext,#fff);border-color:var(--accent,#16865a);border-radius:var(--control-radius,10px);padding:10px 18px;min-height:40px;margin-top:4px}

.parent-target{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin-bottom:12px}.parent-target label{flex:1;min-width:200px;margin:0}.parent-target .studio-badge{align-self:center}.parent-address-row{display:grid;grid-template-columns:minmax(140px,.7fr) minmax(220px,1.5fr) 34px;gap:8px;align-items:end;padding:10px 0;border-bottom:1px solid var(--line,#dce2e9)}.parent-address-row label{margin:0;min-width:0;font-size:11px}.parent-address-row input{min-width:0;width:100%;box-sizing:border-box;padding:9px 10px}.parent-address-row button{background:#fee2e2!important;color:#b91c1c!important;border:1px solid #fca5a5!important;min-width:34px;height:36px;border-radius:8px;padding:0}.parent-address-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:10px}.parent-address-tools small,.parent-link-help{font-size:11px;color:var(--muted);line-height:1.5}.parent-link-help{margin:10px 0}.child-parent-links{display:grid;gap:8px;margin:10px 0 16px}.child-parent-link{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:10px 12px;border:1px solid var(--line,#dce2e9);border-left:3px solid var(--accent,#16865a);border-radius:10px;background:var(--surface,#fff)}.child-parent-link>div{min-width:0}.child-parent-link a{display:block;font-size:12px;margin-top:6px;overflow-wrap:anywhere}.child-parent-link button{padding:7px 10px;min-width:50px;flex-shrink:0;font-size:11px}.child-parent-links.is-compact{margin-top:0}.parent-address-form button:disabled{opacity:.5;cursor:not-allowed}@media(max-width:600px){.parent-address-row{grid-template-columns:minmax(0,1fr) 34px}.parent-address-row>label:first-child{grid-column:1/-1}.parent-address-row>label:nth-child(2){grid-column:1}.parent-target label{min-width:160px}.child-parent-link{padding:9px;gap:6px}}
/* Guided Google sign-in setup: shared main-site profile, isolated tenant setup. */
.google-setup{min-width:0}.google-setup .card{overflow:hidden}.google-setup-summary{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid color-mix(in srgb,var(--accent,#18a576) 35%,transparent);border-radius:12px;background:color-mix(in srgb,var(--accent,#18a576) 8%,var(--surface,#fff));margin-bottom:18px}.google-setup-summary>div{flex:1;min-width:0}.google-setup-summary strong,.google-setup-summary small{display:block}.google-setup-summary small{margin-top:4px;line-height:1.5}.google-mark{display:grid;place-items:center;font:bold 25px Arial,sans-serif;color:#4285f4;background:#fff;border:2px solid #34a853;border-bottom-color:#fbbc05;border-right-color:#ea4335;border-radius:11px;width:43px;height:43px;flex-shrink:0}.google-state{display:inline-flex;align-items:center;border-radius:20px;padding:5px 9px;font-size:11px;font-weight:800;white-space:nowrap}.google-state.is-on{background:#dcfce7;color:#126b39}.google-state.is-off{background:#fee2e2;color:#9f1239}.google-setup-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.85fr);gap:18px;align-items:start}.google-guide,.google-config{min-width:0}.google-step{padding:14px;border:1px solid var(--border,#dbe2ed);border-radius:12px;margin-bottom:12px;background:var(--surface,#fff)}.google-step h3{display:flex;align-items:center;gap:9px;font-size:14px;margin:0 0 10px}.google-step h3>b{display:grid;place-items:center;min-width:25px;height:25px;background:#e4edff;color:#254aa9;border-radius:8px}.google-step:nth-child(2) h3>b{background:#fef3c7;color:#854d0e}.google-step:nth-child(3) h3>b{background:#dcfce7;color:#126b39}.google-setup p,.google-setup small,.google-fixes dd{font-size:12px;line-height:1.65}.google-setup p{margin:8px 0}.google-quick-links,.google-domain-chips{display:flex;gap:7px;flex-wrap:wrap;margin:9px 0}.google-quick-links a{font-size:12px;font-weight:700;padding:7px 10px;border:1px solid #c8d9ff;border-radius:7px;background:#edf4ff;color:#204faa;text-decoration:none}.google-domain-chips code{padding:5px 8px;background:color-mix(in srgb,var(--accent,#18a576) 10%,var(--surface,#fff));border:1px solid var(--border,#dbe2ed);border-radius:6px;overflow-wrap:anywhere;font-size:12px}.google-copy{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:6px;margin:10px 0}.google-copy label{margin:0;min-width:0}.google-copy label span{display:block;font-size:11px;margin-bottom:5px}.google-copy input{min-width:0;width:100%;box-sizing:border-box;font:12px ui-monospace,monospace;padding:9px;min-height:36px}.google-copy button{min-height:36px;padding:7px 10px;font-size:11px;white-space:nowrap;margin:0;max-width:100%}.google-config{border:1px solid var(--border,#dbe2ed);border-top:3px solid var(--accent,#18a576);padding:15px;border-radius:12px;background:var(--surface,#fff)}.google-config-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px;font-size:14px}.google-config-form label{font-size:12px}.google-config-form input:not([type=checkbox]){width:100%;min-width:0;box-sizing:border-box}.google-config-form button[type=submit]{width:100%;margin-top:6px;white-space:normal}.google-enable{position:relative;display:flex!important;align-items:center;gap:9px;cursor:pointer;margin:0 0 16px}.google-enable input{position:absolute;left:0;width:58px;height:31px;opacity:0}.google-enable>span{display:grid;place-items:center;width:58px;min-width:58px;height:30px;border:1px solid #fda4af;background:#ffe4e6;color:#a01434;border-radius:20px;font-size:11px;font-weight:800}.google-enable>span:before{content:'OFF'}.google-enable input:checked+span{border-color:#86efac;background:#dcfce7;color:#126b39}.google-enable input:checked+span:before{content:'ON'}.google-enable input:focus-visible+span{outline:2px solid var(--accent,#18a576);outline-offset:3px}.google-scope-note,.google-mail-note{padding:10px 12px;border-radius:9px;background:color-mix(in srgb,var(--accent,#18a576) 8%,var(--surface,#fff));border:1px solid var(--border,#dbe2ed)}.google-mail-note{margin-top:15px;font-size:12px}.google-more{margin-top:12px}.google-more summary{font-size:12px;font-weight:700;cursor:pointer;padding:9px 10px}.google-fixes dl{padding:0 10px}.google-fixes dt{font-size:12px;font-weight:700;margin-top:12px}.google-fixes dd{margin:4px 0 0}.google-fixes>a{display:inline-block;margin:10px;font-size:12px}.google-setup a{overflow-wrap:anywhere}@media(max-width:900px){.google-setup-layout{grid-template-columns:minmax(0,1fr)}.google-config{grid-row:1}.google-setup-summary{padding:10px;gap:8px}.google-setup-summary strong{font-size:13px}.google-step,.google-config{padding:12px}.google-copy button{padding:7px}.google-copy input{font-size:11px}}

/* Compact manual support action, shared by the customer order-history layouts. */
a.button.manual-refill-button{display:inline-flex;align-items:center;justify-content:center;width:auto;min-width:0;min-height:28px;padding:5px 9px;border:1px solid #128344;border-radius:7px;background:#15803d;color:#fff;font-size:11px;font-weight:700;line-height:1.2;white-space:nowrap;box-shadow:none;text-decoration:none}
a.button.manual-refill-button:hover{background:#166534;color:#fff}a.button.manual-refill-button:focus-visible{outline:2px solid #22c55e;outline-offset:3px}
.scan-heading,.scan-finding-heading,.scan-toolbar,.scan-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.scan-heading p{margin:6px 0 0}.scan-progress{margin:20px 0;padding:16px;border:1px solid var(--border,#dce3ed);border-radius:12px}.scan-progress progress{display:block;width:100%;height:9px;margin:12px 0;accent-color:#16a34a}.scan-progress small,.scan-finding small{opacity:.75}.scan-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}.scan-summary span{padding:12px;border-radius:10px;background:var(--surface-alt,rgba(128,128,128,.08));font-size:12px}.scan-summary b{display:block;font-size:18px;margin-bottom:4px}.scan-toolbar{justify-content:flex-start;margin:22px 0 10px}.scan-toolbar label{margin:0}.scan-toolbar select{min-width:155px}.scan-toolbar a{font-size:12px}.scan-finding{padding:16px;margin:10px 0;border:1px solid var(--border,#dce3ed);border-left:4px solid #d97706;border-radius:10px;overflow-wrap:anywhere}.scan-critical{border-left-color:#dc2626}.scan-info{border-left-color:#0891b2}.scan-finding p{font-size:13px;line-height:1.65;margin:9px 0}.scan-finding-heading .badge{font-size:10px}.scan-pagination{justify-content:flex-end;margin-top:15px}[data-monitor-saved]{font-size:12px;color:#15803d}@media(max-width:600px){.scan-summary{grid-template-columns:1fr}.scan-heading>button{width:100%}.scan-toolbar a{flex-basis:100%}.scan-finding-heading{align-items:flex-start}.panel-scanner{padding:16px}}
.catalogue-paging{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 0}.catalogue-paging[hidden]{display:none}.catalogue-page-label{display:flex;align-items:center;gap:8px;margin:0}.catalogue-page-label select{width:85px;margin:0}.catalogue-paging .muted{font-size:12px;margin-left:auto}@media(max-width:650px){.catalogue-paging .muted{width:100%;margin-left:0}}

/* The selection cell must not inherit the old order-ID column width. */
@media(min-width:701px){.order-history-table.is-admin th.order-column-select{width:48px!important;padding-left:8px!important;padding-right:4px!important}.order-history-table.is-admin td[data-label=Select]{width:48px;padding-left:8px!important;padding-right:4px!important}.order-history-table.is-admin th.order-column-id{width:135px!important}.order-history-table.is-admin td[data-label=Select] input{width:16px;height:16px;margin:2px 0}.order-history-table.is-admin th.order-column-user{width:120px}}
.customer-account-actions{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center;gap:6px;width:max-content;max-width:none!important}.customer-account-actions>a,.customer-account-actions>button,.customer-account-actions form button{margin:0!important;padding:8px 11px!important;font-size:11px;line-height:1.4;white-space:nowrap!important;min-height:34px}.customer-account-actions form{margin:0!important;display:inline-flex!important}

@media(max-width:700px){.order-history-table.is-admin tr{position:relative}.order-history-table.is-admin td[data-label=Select]{position:absolute;top:0;left:0;width:52px;padding:12px 8px!important}.order-history-table.is-admin td[data-label=Select] input{width:16px;height:16px;margin:2px 0}.order-history-table.is-admin td[data-label=Order]{grid-column:1/-1;padding-left:64px!important}}

@media(max-width:700px){.order-history-table.is-admin td[data-label=Select]:before{white-space:nowrap;font-size:9px;letter-spacing:0}}

/* Compact staff order identity on phones; preserve existing desktop table. */
@media(max-width:700px){
.order-history-table.is-admin td[data-label=Order]{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;padding-top:9px!important;padding-bottom:9px!important}
.order-history-table.is-admin td[data-label=Order]:before{flex-basis:100%;margin-bottom:0}
.order-history-table.is-admin .order-id-line,.order-history-table.is-admin .order-provider>div{align-items:center;gap:4px;flex-wrap:nowrap;min-width:0}
.order-history-table.is-admin .order-provider{display:flex;flex:1 1 140px;align-items:center;flex-wrap:wrap;gap:2px 7px;margin:0;padding:0;border:0;min-width:0}
.order-history-table.is-admin .order-provider small{margin:0;line-height:1.3;overflow-wrap:anywhere}
.order-history-table.is-admin .order-number{font-size:13px}.order-history-table.is-admin .provider-number{font-size:12px;overflow-wrap:anywhere;min-width:0}
.order-history-table.is-admin td[data-label=Order] .api-origin{margin:0;padding:2px 5px;font-size:9px}
.order-history-table.is-admin td[data-label=Order] .order-copy{width:30px;height:30px;flex-basis:30px;padding:5px!important}
}

.social-settings-buttons{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.social-settings-buttons button{min-height:40px;padding:9px 14px;border-radius:10px}

.order-quantity-text,.order-final-quantity-text{color:#2563eb!important;background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important;font-weight:700}.order-final-quantity-text{font-size:11px}

.settings-group:nth-of-type(7n+1) .settings-group-icon{background:#dbeafe;color:#1d4ed8}.settings-group:nth-of-type(7n+2) .settings-group-icon{background:#d1fae5;color:#047857}.settings-group:nth-of-type(7n+3) .settings-group-icon{background:#fce7f3;color:#be185d}.settings-group:nth-of-type(7n+4) .settings-group-icon{background:#ffedd5;color:#c2410c}.settings-group:nth-of-type(7n+5) .settings-group-icon{background:#ede9fe;color:#6d28d9}.settings-group:nth-of-type(7n+6) .settings-group-icon{background:#cffafe;color:#0e7490}.settings-hub-card{border-top:3px solid var(--accent)}#user-coins-dialog{width:min(420px,calc(100vw - 32px));border:1px solid var(--border);border-radius:16px;padding:20px}#user-coins-dialog header{display:flex;align-items:center;justify-content:space-between}#user-coins-dialog label{display:block;margin:12px 0}#user-coins-dialog input{width:100%}
/* API order source: stylesheet rule avoids ignored inline declarations. */
.order-history-table .badge.api-origin,table .badge.api-origin{background:#facc15!important;background-image:none!important;color:#713f12!important;border:1px solid #eab308!important;font-weight:800!important;opacity:1!important}

/* R110: long order URLs occupy at most five lines; href/copy keep the full URL. */
.order-history-table .order-link-line{min-width:0;max-width:100%;width:100%;flex-wrap:nowrap;align-items:flex-start}
.order-history-table .order-link-line>a,.order-history-table .order-link-line>span{flex:1 1 0%;min-width:0;max-width:100%;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;line-clamp:5;line-height:1.6;max-height:8em;overflow:hidden;overflow-wrap:anywhere;word-break:break-word;white-space:normal;text-overflow:ellipsis}
.order-history-table .order-link-line>.order-copy{flex-shrink:0}

.order-history-table .order-link-line.is-expanded>a,.order-history-table .order-link-line.is-expanded>span{-webkit-line-clamp:unset;line-clamp:unset;max-height:none;overflow:visible;display:block}
.order-history-table .order-link-expand{display:inline-flex!important;flex:0 0 24px;align-items:center;justify-content:center;width:24px;height:24px;padding:3px!important;border:1px solid #cbdcff!important;border-radius:6px!important;background:#eaf2ff!important;color:#2563eb!important;box-shadow:none!important;cursor:pointer}
.order-history-table .order-link-expand[aria-expanded=true] svg{transform:rotate(180deg)}
.order-history-table .order-link-expand:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
