:root {
    --ink: #171a1f;
    --muted: #6d737b;
    --line: #e4e6e8;
    --paper: #ffffff;
    --canvas: #f5f5f3;
    --nav: #15181b;
    --accent: #f3b71b;
    --accent-dark: #c88700;
    --green: #1d7853;
    --green-bg: #e8f5ee;
    --amber: #a86400;
    --amber-bg: #fff3d6;
    --red: #a93a31;
    --red-bg: #fff0ee;
    --shadow: 0 12px 40px rgba(24, 28, 32, .07);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--canvas);
    font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--canvas); }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 240px;
    display: flex;
    flex-direction: column;
    padding: 28px 18px 20px;
    color: #e8e9e9;
    background: var(--nav);
    z-index: 10;
}

.brand { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 800; letter-spacing: .13em; }
.brand small { display: block; margin-top: 2px; color: #888e94; font-size: 8px; letter-spacing: .25em; }
.brand-mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    color: #171a1f;
    background: var(--accent);
    font-size: 20px;
    font-weight: 900;
}

.nav-label { margin: 42px 10px 10px; color: #737980; font-size: 10px; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
nav { display: grid; gap: 4px; }
nav a { display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: 7px; color: #aeb3b7; font-size: 14px; font-weight: 600; }
nav a span { width: 20px; color: #737980; font-size: 17px; text-align: center; }
nav a:hover, nav a.active { color: white; background: #24282c; }
nav a.active span { color: var(--accent); }

.roadmap { margin-top: auto; padding: 15px 12px; border: 1px solid #2d3237; border-radius: 9px; background: #1a1e21; }
.roadmap .nav-label { margin: 0 0 9px; }
.roadmap div { font-size: 13px; font-weight: 700; }
.roadmap p { margin: 7px 0 0; color: #777e83; font-size: 11px; line-height: 1.5; }
.tag { display: inline-flex; align-items: center; margin-left: 5px; padding: 2px 6px; border-radius: 999px; color: #977007; background: #fff0bd; font-size: 9px; font-weight: 750; }

.sidebar-bottom { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 9px; margin-top: 16px; padding-top: 16px; border-top: 1px solid #2b3034; font-size: 12px; font-weight: 650; }
.sidebar-bottom small { display: block; margin-top: 3px; color: #777e83; font-size: 10px; font-weight: 500; }
.avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #202328; background: var(--accent); font-weight: 850; }
.logout { border: 0; color: #858b90; background: transparent; font-size: 19px; }

.workspace { min-height: 100vh; margin-left: 240px; display: flex; flex-direction: column; }
.topbar { height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 34px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.82); backdrop-filter: blur(12px); color: #555b62; font-size: 12px; }
.slash { margin: 0 8px; color: #b5b8bc; }
.environment { display: flex; align-items: center; gap: 7px; }
.environment i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px #fff3cb; }
main { width: min(1400px, 100%); flex: 1; margin: 0 auto; padding: 36px 34px 50px; }
footer { display: flex; justify-content: space-between; padding: 18px 34px; border-top: 1px solid var(--line); color: #91959a; font-size: 10px; letter-spacing: .05em; }

.panel-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.contact-switch-panel { margin-bottom: 18px; }
.contact-site-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.contact-site-card { padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: #fafafa; }
.contact-site-card strong, .contact-site-card small { display: block; }
.contact-site-card small { min-height: 34px; margin-top: 7px; color: var(--muted); line-height: 1.5; }
.site-domain { display: block; margin-bottom: 8px; color: var(--accent-dark); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.contact-apply-row { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 4px; color: var(--muted); font-size: 11px; }
.contact-submit-status { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; padding: 13px 15px; border: 1px solid #eadcae; border-radius: 7px; color: #765a08; background: #fffaf0; }
.contact-submit-status[hidden] { display: none; }
.contact-submit-status strong, .contact-submit-status span { display: block; }
.contact-submit-status strong { margin-bottom: 3px; color: #594300; font-size: 12px; }
.contact-submit-status span { font-size: 11px; line-height: 1.5; }
.contact-submit-spinner { width: 18px; height: 18px; flex: 0 0 auto; border: 2px solid #eadcae; border-top-color: var(--accent-dark); border-radius: 50%; animation: contact-submit-spin .8s linear infinite; }
@keyframes contact-submit-spin { to { transform: rotate(360deg); } }
.contact-two-column { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); gap: 18px; align-items: start; }
.contact-employee-list { display: grid; gap: 10px; margin-top: 20px; }
.contact-employee { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.contact-employee summary, .contact-create summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; cursor: pointer; background: #fafafa; }
.contact-employee summary span { color: var(--muted); font-size: 10px; }
.contact-employee-body { padding: 16px; }
.inline-edit { display: flex; gap: 8px; margin-bottom: 14px; }
.inline-edit input { min-width: 0; flex: 1; padding: 8px 10px; border: 1px solid #d9dbdd; border-radius: 6px; }
.contact-profile-form { margin-top: 12px; padding: 15px; border: 1px solid #e7e8e9; border-radius: 7px; background: #fdfdfc; }
.contact-profile-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.contact-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.contact-field-grid .wide { grid-column: 1 / -1; }
.archive-form { margin: 6px 0 16px; text-align: right; }
.archive-form button { padding: 4px 0; border: 0; background: transparent; }
.contact-create { margin-top: 16px; border: 1px dashed #d2d5d6; border-radius: 8px; overflow: hidden; }
.contact-create-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 18px; padding: 18px; }
.schedule-week { margin: 16px 0; padding: 15px; border: 1px solid var(--line); border-radius: 8px; background: #fafafa; }
.contact-run-history { margin-top: 18px; }
.contact-probe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.contact-probe > div { padding: 12px 14px; border: 1px solid var(--line); border-radius: 7px; background: white; }
.contact-probe strong, .contact-probe span { display: block; }
.contact-probe span { margin-top: 5px; color: var(--muted); font-size: 10px; }
.contact-probe .ok { border-color: #b9ddcd; background: var(--green-bg); }
.contact-probe .failed { border-color: #ecc4bf; background: var(--red-bg); }

@media (max-width: 1120px) {
    .contact-two-column { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .page-heading > form, .page-heading > form .button { width: 100%; }
    .contact-site-grid, .contact-probe, .contact-create-grid { grid-template-columns: 1fr; }
    .contact-apply-row { align-items: stretch; flex-direction: column; }
    .contact-apply-row .button { width: 100%; }
    .contact-field-grid { grid-template-columns: 1fr; }
    .contact-field-grid .wide { grid-column: auto; }
    .contact-profile-head, .inline-edit { align-items: stretch; flex-direction: column; }
    .contact-profile-head .button, .inline-edit .button { width: 100%; }
}

/* AMV workbench */
.amv-workbench-page { max-width: 1560px; }
.amv-workbench-heading { margin-bottom: 18px; }
.amv-workbench-overview { display: grid; grid-template-columns: minmax(300px,.8fr) minmax(0,1.2fr); gap: 16px; margin-bottom: 16px; }
.amv-company-card h2 { margin: 10px 0 6px; font-size: 22px; }
.amv-company-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.amv-company-meta span { padding: 8px 10px; border-radius: 7px; color: #68706b; background: #f4f6f4; font-size: 9px; }
.amv-company-meta b { margin-left: 4px; color: #202522; }
.amv-workbench-quicklinks { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.amv-workbench-quicklinks a { display: flex; min-height: 126px; flex-direction: column; justify-content: flex-end; padding: 18px; border: 1px solid var(--line); border-radius: 10px; color: #242925; background: #fff; box-shadow: 0 8px 24px rgba(32,38,34,.04); }
.amv-workbench-quicklinks a:hover { border-color: #e0b21b; transform: translateY(-1px); }
.amv-workbench-quicklinks span { margin-bottom: auto; color: #9a7410; font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.amv-workbench-quicklinks strong { font-size: 12px; }
.amv-workbench-quicklinks small { margin-top: 7px; color: var(--muted); font-size: 8.5px; }
.amv-workbench-stats { margin-bottom: 16px; }
.amv-workbench-panel, .amv-catalogue-panel, .amv-api-panel, .amv-native-panel, .amv-operation-history, .amv-shipping-panel { margin-bottom: 16px; overflow: hidden; }
.amv-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 20px 20px 16px; }
.padded .amv-section-heading { padding: 0 0 16px; }
.amv-section-heading h2 { margin: 4px 0 6px; }
.amv-section-heading p { margin: 0; }
.amv-workbench-filters { display: grid; grid-template-columns: minmax(240px,1.45fr) repeat(3,minmax(130px,.55fr)) auto auto; gap: 10px; align-items: end; padding: 14px 20px; border-block: 1px solid var(--line); background: #fafbf9; }
.amv-workbench-filters label, .amv-catalogue-search label { margin: 0; }
.amv-workbench-filters label span, .amv-catalogue-search label span { display: block; margin-bottom: 5px; color: #7f8781; font-size: 8px; font-weight: 800; }
.amv-workbench-table { min-width: 1260px; }
.amv-workbench-table td { vertical-align: middle; }
.amv-workbench-table td:first-child strong, .amv-local-product { display: block; max-width: 330px; }
.amv-workbench-table .meta { display: block; margin-top: 5px; }
.amv-row-links { margin-top: 7px; }
.amv-row-links a, .amv-local-product { color: #775b08; font-size: 8.5px; font-weight: 750; }
.amv-row-moderation td:first-child, .amv-row-expired td:first-child, .amv-row-expiring td:first-child { box-shadow: inset 3px 0 #e7ae16; }
.amv-catalogue-search { display: grid; grid-template-columns: minmax(240px,1fr) minmax(200px,.65fr) auto; gap: 10px; align-items: end; }
.amv-miner-results { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-top: 18px; }
.amv-miner-results article { display: flex; min-width: 0; flex-direction: column; gap: 7px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #fbfcfb; }
.amv-miner-results article span { color: var(--muted); font-size: 8.5px; word-break: break-all; }
.amv-miner-results article a { color: #775b08; font-size: 8.5px; font-weight: 750; }
.amv-miner-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; }
.amv-miner-actions .button { color: #fff; }
.amv-native-form, .amv-operation-preview { padding: 0 20px 20px; }
.amv-native-identity { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-bottom: 14px; }
.amv-native-identity > div, .amv-native-identity > label { display: flex; min-width: 0; flex-direction: column; gap: 5px; margin: 0; padding: 13px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fafbf9; }
.amv-native-identity span, .amv-native-field-grid label span, .amv-execute-form label span { color: #7f8781; font-size: 8.5px; font-weight: 800; }
.amv-native-identity small { color: var(--muted); font-size: 8.5px; word-break: break-all; }
.amv-native-field-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.amv-native-field-grid label { min-width: 0; margin: 0; }
.amv-native-field-grid label span { display: block; margin-bottom: 5px; }
.amv-native-field-grid .wide { grid-column: span 2; }
.amv-clear-fields { display: flex; flex-wrap: wrap; gap: 9px 16px; margin-top: 14px; padding: 13px 14px; border: 1px solid #eadcae; border-radius: 8px; background: #fffaf0; }
.amv-clear-fields strong, .amv-clear-fields p { width: 100%; margin: 0; }
.amv-clear-fields p, .amv-clear-fields label { color: #6f6a5d; font-size: 9px; }
.amv-clear-fields label { margin: 0; }
.amv-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.amv-form-actions .meta { margin: 0 0 0 4px; }
.amv-native-empty { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; padding: 0 20px 20px; }
.amv-native-empty > div { padding: 15px; border: 1px solid var(--line); border-radius: 8px; background: #fafbf9; }
.amv-native-empty p { margin: 6px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.amv-operation-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.amv-operation-title h3 { margin: 7px 0 4px; }
.amv-preview-comparison { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-bottom: 12px; }
.amv-preview-comparison > div { display: flex; flex-direction: column; gap: 5px; padding: 12px 13px; border: 1px solid var(--line); border-radius: 8px; background: #fafbf9; }
.amv-preview-comparison span { color: var(--muted); font-size: 8.5px; }
.amv-change-table { min-width: 560px; }
.amv-change-table code { font-size: 9px; }
.amv-execute-form { display: grid; grid-template-columns: minmax(240px,1fr) auto; gap: 8px 10px; align-items: end; margin-top: 14px; padding: 14px; border: 1px solid #eadcae; border-radius: 8px; background: #fffaf0; }
.amv-execute-form label { margin: 0; }
.amv-execute-form label span { display: block; margin-bottom: 5px; }
.amv-execute-form .meta { grid-column: 1/-1; margin: 0; }
.amv-operation-result { padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #fafbf9; }
.amv-operation-result p { margin: 9px 0 0; }
.danger-zone { border-left: 3px solid #bd4d4d; }
.button.compact { min-height: 28px; padding: 6px 9px; font-size: 8.5px; }
.danger-link { color: #a53737 !important; border-color: #e4bcbc !important; background: #fff8f8 !important; }
.amv-row-actions { display: flex; gap: 6px; }
.amv-operation-history table { min-width: 900px; }
.amv-operation-history td { vertical-align: middle; }
.amv-operation-history .meta { display: block; margin-top: 4px; }
.amv-batch-table { min-width: 980px; }
.amv-batch-table th:first-child, .amv-batch-table td:first-child { width: 56px; text-align: center; }
.amv-batch-table input[inputmode="decimal"] { width: 130px; min-width: 110px; }
.amv-confirm-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-top: 14px; }
.amv-confirm-grid label { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.amv-confirm-grid label span { display: grid; gap: 3px; min-width: 0; }
.amv-confirm-grid small { color: var(--muted); overflow-wrap: anywhere; }
.amv-id-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 12px; }
.amv-id-list span { padding: 9px 11px; border-radius: 8px; background: #f7f7f5; font-size: 9px; overflow-wrap: anywhere; }
.amv-api-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-bottom: 16px; }
.amv-api-grid article { display: grid; grid-template-columns: 54px minmax(150px,.9fr) minmax(120px,1fr) auto; gap: 10px; align-items: center; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fbfcfb; }
.amv-api-grid code { color: #4e5751; font-size: 8.5px; word-break: break-word; }
.amv-api-grid strong { font-size: 9px; }
.amv-method { display: inline-flex; width: 47px; justify-content: center; padding: 4px 5px; border-radius: 5px; color: #496257; background: #eaf3ee; font-size: 7.5px; font-weight: 850; }
.amv-method.post, .amv-method.patch, .amv-method.put, .amv-method.delete { color: #775b08; background: #fff2c5; }
.amv-shipping-company { display: flex; align-items: end; gap: 10px; padding: 0 20px 14px; }
.amv-shipping-company label { min-width: 280px; margin: 0; }
.amv-shipping-company label span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 8px; font-weight: 800; }
.amv-shipping-summary { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 16px; }
.amv-shipping-summary span { padding: 8px 10px; border-radius: 7px; color: #68706b; background: #f4f6f4; font-size: 8.5px; }
.amv-shipping-summary b { margin-left: 4px; color: #202522; }
.amv-shipping-table { min-width: 760px; }
.amv-shipping-table td, .amv-shipping-table th { vertical-align: middle; }
.amv-shipping-table input { min-width: 110px; }
.amv-shipping-table td:first-child input { min-width: 160px; font-weight: 700; text-transform: uppercase; }
.amv-shipping-table.compact { min-width: 520px; }
.amv-shipping-table.compact td, .amv-shipping-table.compact th { padding: 8px 10px; font-size: 8.5px; }
.amv-shipping-editor { padding: 0 20px 20px; }
.amv-shipping-editor-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.amv-shipping-clear { display: flex; align-items: flex-start; gap: 9px; max-width: 440px; margin: 0; padding: 10px 12px; border: 1px solid #e8c6c6; border-radius: 8px; background: #fff8f8; }
.amv-shipping-clear span { display: grid; gap: 3px; }
.amv-shipping-clear small { color: var(--muted); }
.amv-shipping-preview-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.amv-shipping-preview-grid > div { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fafbf9; }
.amv-shipping-preview-grid h4 { margin: 0 0 10px; }
.amv-inline-restore { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }

@media(max-width:1050px){
    .amv-workbench-overview { grid-template-columns: 1fr; }
    .amv-workbench-filters { grid-template-columns: 1fr 1fr; }
    .amv-workbench-search { grid-column: 1/-1; }
    .amv-api-grid { grid-template-columns: 1fr; }
    .amv-native-field-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .amv-confirm-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .amv-id-list { grid-template-columns: 1fr; }
    .amv-workbench-quicklinks { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .amv-shipping-preview-grid { grid-template-columns: 1fr; }
}
@media(max-width:720px){
    .amv-workbench-quicklinks, .amv-miner-results { grid-template-columns: 1fr; }
    .amv-workbench-quicklinks a { min-height: 104px; }
    .amv-workbench-filters, .amv-catalogue-search { grid-template-columns: 1fr; }
    .amv-workbench-search { grid-column: auto; }
    .amv-workbench-filters .button, .amv-catalogue-search .button { width: 100%; }
    .amv-api-grid article { grid-template-columns: 50px 1fr auto; }
    .amv-api-grid article strong { grid-column: 2/4; }
    .amv-native-identity, .amv-native-field-grid, .amv-native-empty, .amv-preview-comparison { grid-template-columns: 1fr; }
    .amv-native-field-grid .wide { grid-column: auto; }
    .amv-operation-title { flex-direction: column; }
    .amv-operation-title .button { width: 100%; }
    .amv-confirm-grid { grid-template-columns: 1fr; }
    .amv-workbench-quicklinks { grid-template-columns: 1fr; }
    .amv-shipping-company, .amv-shipping-editor-actions { align-items: stretch; flex-direction: column; }
    .amv-shipping-company label { min-width: 0; }
    .amv-execute-form { grid-template-columns: 1fr; }
    .amv-execute-form .button { width: 100%; }
}

.page-heading { display: flex; justify-content: space-between; align-items: end; gap: 22px; margin-bottom: 26px; }
.heading-actions { display: flex; align-items: center; gap: 8px; }
.heading-actions form { margin: 0; }
.eyebrow { margin-bottom: 7px; color: var(--accent-dark); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 8px; font-size: clamp(27px, 3vw, 38px); letter-spacing: -.035em; line-height: 1.05; }
h2 { margin-bottom: 7px; font-size: 18px; letter-spacing: -.015em; }
h3 { margin-bottom: 7px; font-size: 15px; }
.muted { margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.small { font-size: 11px; }
.tiny { margin: 12px 0 0; color: #898e93; font-size: 10.5px; line-height: 1.55; }

.button { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 8px 14px; border: 1px solid #d8dadc; border-radius: 6px; color: #41464c; background: white; font-size: 12px; font-weight: 700; box-shadow: 0 1px 2px rgba(0,0,0,.02); }
.button:hover { border-color: #aeb2b6; }
.button.primary { border-color: #dda910; color: #171a1f; background: var(--accent); }
.button.primary:hover { background: #f8c73d; }
.button.danger { border-color: #b94343; color: #fff; background: #b94343; }
.button.danger:hover { background: #9f3434; }
.button.small { min-height: 30px; padding: 5px 10px; }
.button.wide { width: 100%; }
.button:disabled { cursor: not-allowed; color: #9a9da1; border-color: #e1e2e3; background: #f3f3f2; }
.run-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-width: 170px; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); box-shadow: var(--shadow); overflow: hidden; }
.stats > div { min-height: 132px; padding: 22px 24px; border-right: 1px solid var(--line); }
.stats > div:last-child { border-right: 0; }
.stats span { color: #74797f; font-size: 11px; }
.stats strong { display: block; margin: 10px 0 6px; font-size: 28px; line-height: 1; }
.stats strong small { margin-left: 3px; color: #888c91; font-size: 10px; font-weight: 500; }
.stats p { margin: 0; color: #a0a4a8; font-size: 10px; }
.warning-text { color: var(--amber); }

.flow-strip { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding: 11px 16px; border: 1px solid #eadcae; border-radius: 7px; color: #62656a; background: #fffaf0; font-size: 10px; }
.flow-strip strong { color: #765a08; }
.flow-strip b { color: #c1a044; }

.panel { border: 1px solid var(--line); border-radius: 10px; background: var(--paper); box-shadow: var(--shadow); overflow: hidden; }
.panel.padded { padding: 25px; }
.panel-toolbar { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 17px; border-bottom: 1px solid var(--line); }
.tabs { display: flex; align-self: stretch; gap: 6px; }
.tabs a { display: flex; align-items: center; padding: 0 10px; border-bottom: 2px solid transparent; color: #777c81; font-size: 11px; font-weight: 650; }
.tabs a.selected { color: var(--ink); border-bottom-color: var(--accent); }
.search { width: 230px; display: flex; border: 1px solid #dfe1e2; border-radius: 6px; overflow: hidden; }
.search input { width: 100%; min-width: 0; padding: 8px 10px; border: 0; outline: none; background: #fafafa; font-size: 11px; }
.search button { width: 36px; border: 0; color: #797e83; background: #fafafa; }
.sort-rule { min-height: 38px; display: flex; align-items: center; gap: 9px; padding: 8px 17px; color: #747a80; background: #fbfbfa; border-bottom: 1px solid var(--line); font-size: 9.5px; }
.sort-rule strong { color: #4d5359; }
.sort-rule b { color: #c6a23b; font-size: 14px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 11.5px; }
th { padding: 13px 16px; color: #858a8f; background: #fafafa; font-size: 9.5px; font-weight: 750; letter-spacing: .035em; text-align: left; white-space: nowrap; }
th small { color: #afb2b5; font-weight: 500; }
td { padding: 16px; border-top: 1px solid #eff0f0; vertical-align: middle; }
tbody tr:hover { background: #fffdfa; }
.product-name { display: block; max-width: 360px; color: #25292d; font-weight: 750; }
.product-name:hover, .row-link:hover { color: #987000; }
.meta { display: block; margin-top: 5px; color: #979ba0; font-size: 9.5px; font-weight: 450; }
.money { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.changed-price { color: var(--amber); }
.row-link { color: #676c71; font-size: 10px; font-weight: 700; white-space: nowrap; }
.badge { display: inline-flex; padding: 4px 7px; border-radius: 999px; font-size: 9px; font-weight: 750; white-space: nowrap; }
.badge.green { color: var(--green); background: var(--green-bg); }
.badge.amber { color: var(--amber); background: var(--amber-bg); }
.badge.gray { color: #6e7479; background: #eef0f1; }
.table-footer { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--line); color: #91959a; font-size: 10px; }
.empty { padding: 60px 20px; color: #8b9095; text-align: center; }
.empty-icon { margin-bottom: 12px; color: #b8bdc1; font-size: 32px; }

.notice { margin-bottom: 18px; padding: 12px 15px; border: 1px solid #eadcae; border-radius: 7px; color: #765a08; background: #fffaf0; font-size: 11px; line-height: 1.55; }
.notice p { margin: 5px 0 0; }
.notice.success { color: var(--green); border-color: #b9ddcd; background: var(--green-bg); }
.notice.error { color: var(--red); border-color: #ecc4bf; background: var(--red-bg); }
.green-text { color: var(--green); }
.back { display: inline-block; margin-bottom: 18px; color: #777c81; font-size: 11px; font-weight: 650; }
.product-title { max-width: 850px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 18px; margin-bottom: 18px; }
.price-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0; }
.price-compare div { padding: 14px; border: 1px solid #e7e8e9; border-radius: 7px; background: #fafafa; }
.price-compare span { display: block; margin-bottom: 6px; color: #84898e; font-size: 10px; }
.price-compare strong { font-size: 18px; }
label { display: block; margin: 16px 0; color: #4d5359; font-size: 11px; font-weight: 700; }
label input:not([type="checkbox"]), label select { width: 100%; display: block; margin-top: 7px; padding: 11px 12px; border: 1px solid #d9dbdd; border-radius: 6px; color: var(--ink); background: white; outline: none; }
label input:focus, label select:focus { border-color: #d19b00; box-shadow: 0 0 0 3px #fff3c7; }
.quote-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.field-help { display: block; margin-top: 5px; color: #92969a; font-size: 9.5px; font-weight: 500; line-height: 1.4; }
.condition-summary { white-space: nowrap; font-weight: 700; }
.quote-table { min-width: 1040px; }
.quote-table th:nth-child(1) { width: 29%; }
.quote-table th:nth-child(2) { width: 29%; }
.quote-table th:nth-child(3) { width: 18%; }
.quote-table th:nth-child(4) { width: 14%; }
.quote-table th:nth-child(5) { width: 10%; }
.offer-group + .offer-group .product-group-row td { border-top: 9px solid var(--canvas); }
.product-group-row td { padding: 0; background: #f0f1ef; border-top: 1px solid #dfe1e0; border-bottom: 1px solid #dfe1e0; }
.product-group-heading { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 16px 12px 18px; border-left: 4px solid var(--accent); }
.group-identity { min-width: 0; display: grid; grid-template-columns: auto minmax(120px, auto) minmax(0, 1fr); align-items: center; gap: 9px; }
.group-kicker { padding: 3px 6px; border-radius: 4px; color: #795b06; background: #ffe9a7; font-size: 8px; font-weight: 850; letter-spacing: .04em; white-space: nowrap; }
.group-identity strong { font-size: 13px; line-height: 1.35; }
.group-reference { overflow: hidden; color: #92979b; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.group-summary { display: flex; align-items: center; gap: 7px; flex-shrink: 0; }
.group-summary > span { padding: 5px 8px; border: 1px solid #dcdfdd; border-radius: 5px; color: #73797e; background: rgba(255,255,255,.65); font-size: 9px; font-weight: 650; white-space: nowrap; }
.group-summary > span.positive { color: var(--green); border-color: #bbdcca; background: var(--green-bg); }
.group-summary a { margin-left: 4px; color: #6f570b; font-size: 9.5px; font-weight: 800; white-space: nowrap; }
.offer-row td { padding-top: 14px; padding-bottom: 14px; background: #fff; }
.offer-row:hover td { background: #fffdf7; }
.offer-row td:first-child { padding-left: 31px; border-left: 4px solid #eceeec; }
.offer-identity { position: relative; }
.offer-identity::before { position: absolute; top: 6px; left: -15px; width: 7px; height: 7px; border: 2px solid #c7cbc8; border-radius: 50%; background: white; content: ""; }
.offer-label { display: inline-flex; margin: 0 0 7px; padding: 3px 7px; border-radius: 999px; color: var(--green); background: var(--green-bg); font-size: 9px; font-weight: 800; }
.offer-label.future { color: var(--amber); background: var(--amber-bg); }
.price-triplet { display: grid; grid-template-columns: repeat(3, minmax(76px, 1fr)); border: 1px solid #e6e8e7; border-radius: 7px; background: #fafbfa; overflow: hidden; font-variant-numeric: tabular-nums; }
.price-triplet > div { min-height: 58px; display: flex; justify-content: center; flex-direction: column; padding: 8px 10px; border-right: 1px solid #e6e8e7; }
.price-triplet > div:last-child { border-right: 0; }
.price-triplet span { margin-bottom: 4px; color: #92979b; font-size: 8px; font-weight: 700; }
.price-triplet strong { font-size: 11px; line-height: 1.2; white-space: nowrap; }
.price-triplet small { display: block; margin-top: 3px; color: #969b9f; font-size: 8px; }
.price-triplet .changed { background: var(--amber-bg); }
.price-triplet .changed strong, .price-triplet .changed small { color: var(--amber); }
.condition-pills { display: flex; flex-wrap: wrap; gap: 5px; }
.condition-pills span { padding: 4px 6px; border-radius: 4px; color: #555c61; background: #f0f2f1; font-size: 8.5px; font-weight: 750; white-space: nowrap; }
.condition-meta { max-width: 230px; line-height: 1.45; }
.row-action { display: inline-flex; align-items: center; gap: 7px; padding: 7px 9px; border: 1px solid #dedfdf; border-radius: 6px; color: #555b60; background: #fff; font-size: 9.5px; font-weight: 750; white-space: nowrap; }
.row-action:hover { color: #765a08; border-color: #d9b64d; background: #fffaf0; }
.row-action span { color: #aa7d00; }
.bulk-results { margin-bottom: 16px; }
.result-list { display: grid; gap: 7px; margin-top: 16px; }
.result-list > div { display: grid; grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr); align-items: center; gap: 12px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 6px; background: #fafafa; font-size: 10px; }
.result-list small { color: var(--amber); text-align: right; }
.bulk-guidance { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 18px; margin-bottom: 16px; padding: 14px 17px; border: 1px solid #eadcae; border-radius: 8px; background: #fffaf0; }
.bulk-guidance > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px; }
.bulk-guidance strong { color: #775a08; font-size: 23px; }
.bulk-guidance span { color: #8b7533; font-size: 10px; font-weight: 700; }
.bulk-guidance small { flex-basis: 100%; color: #9a8c60; font-size: 8.5px; }
.bulk-guidance p { margin: 0; color: #77715f; font-size: 10.5px; line-height: 1.55; }
.bulk-editor { overflow: visible; }
.bulk-editor-wide { width: min(1680px, calc(100vw - 264px)); position: relative; left: 50%; transform: translateX(-50%); }
.bulk-toolbar { display: grid; grid-template-columns: minmax(180px, 1.5fr) repeat(3, minmax(130px, 1fr)) auto; align-items: end; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: #fafafa; }
.bulk-toolbar label { margin: 0; }
.bulk-toolbar label > span { display: block; margin-bottom: 5px; color: #858a8f; font-size: 8.5px; }
.bulk-visible-count { min-width: 78px; padding: 7px 10px; text-align: center; }
.bulk-visible-count strong { display: block; font-size: 16px; }
.bulk-visible-count span { color: #8b9095; font-size: 8px; }
.status-legend { display: flex; flex-wrap: wrap; gap: 15px; padding: 9px 16px; border-bottom: 1px solid var(--line); color: #858a8f; background: #fff; font-size: 8.5px; }
.status-legend span { display: inline-flex; align-items: center; gap: 5px; }
.dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: #a4a8ab; }
.dot.green { background: #38a373; }
.dot.amber { background: #d59a00; }
.dot.gray { background: #a4a8ab; }
.bulk-scroll-hint { display: none; padding: 7px 16px; color: #846719; border-bottom: 1px solid #eadcae; background: #fffaf0; font-size: 8.5px; text-align: right; }
.bulk-table-scroll { scrollbar-gutter: stable; }
.bulk-quote-table { min-width: 1260px; table-layout: fixed; }
.bulk-quote-table th { position: sticky; top: 0; z-index: 2; }
.bulk-quote-table td { padding: 13px 12px; }
.bulk-col-product { width: 195px; }
.bulk-col-current { width: 120px; }
.bulk-col-ranking { width: 210px; }
.bulk-col-price, .bulk-col-shipping { width: 100px; }
.bulk-col-delivery { width: 132px; }
.bulk-col-processing { width: 100px; }
.bulk-col-psu { width: 95px; }
.bulk-col-state { width: 90px; }
.bulk-col-status { width: 110px; }
.current-quote { display: grid; gap: 4px; font-variant-numeric: tabular-nums; }
.current-quote strong { font-size: 12px; }
.current-quote span { color: #8c9196; font-size: 9px; }
.current-quote .remote-state { width: max-content; margin-top: 2px; padding: 3px 6px; border-radius: 999px; font-size: 8px; font-weight: 750; }
.remote-state.green { color: var(--green); background: var(--green-bg); }
.remote-state.amber { color: var(--amber); background: var(--amber-bg); }
.remote-state.gray { color: #6e7479; background: #eef0f1; }
.table-input { width: 100%; min-height: 36px; padding: 8px 9px; border: 1px solid #dadddb; border-radius: 6px; color: var(--ink); background: white; font-size: 10px; outline: none; }
.table-input:focus { border-color: #d19b00; box-shadow: 0 0 0 3px #fff3c7; }
.bulk-data-row.edited-row td { background: #fffaf0; }
.bulk-data-row[hidden] { display: none !important; }
.blocked-row td { color: #979b9e; background: #f8f8f7; }
.blocked-message { display: block; padding: 9px 11px; border-radius: 5px; color: #777d81; background: #eceeed; font-size: 9.5px; }
.workflow-cell a { display: block; margin-top: 7px; color: #795b06; font-size: 8.5px; font-weight: 750; line-height: 1.35; }
.workflow-cell .run-link { color: #536d61; }
.ranking-cell { min-width: 170px; }
.ranking-cell > a { display: block; margin-top: 7px; color: #795b06; font-size: 8.5px; font-weight: 750; }
.ranking-quick-view { display: inline-flex; margin-top: 8px; padding: 0; border: 0; color: #795b06; background: transparent; font-size: 8.5px; font-weight: 750; cursor: pointer; }
.ranking-quick-view:hover { color: #4f3a00; text-decoration: underline; }
.competitor-drawer { width: min(980px, calc(100vw - 90px)); max-width: none; height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; padding: 0; border: 0; border-left: 1px solid var(--line); color: var(--ink); background: white; box-shadow: -20px 0 70px rgba(18, 22, 25, .2); }
.competitor-drawer::backdrop { background: rgba(20, 24, 27, .48); }
.competitor-drawer-shell { min-height: 100%; display: flex; flex-direction: column; }
.competitor-drawer header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 24px 26px 18px; border-bottom: 1px solid var(--line); }
.competitor-drawer header h2 { margin: 4px 0 5px; font-size: 22px; }
.competitor-drawer header p { color: #7e8488; font-size: 9.5px; }
.drawer-close { width: 34px; height: 34px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 7px; color: #676d72; background: white; font-size: 20px; cursor: pointer; }
.competitor-drawer-baseline { display: flex; flex-wrap: wrap; gap: 7px; padding: 12px 26px; border-bottom: 1px solid var(--line); background: #fafafa; }
.competitor-drawer-baseline span { padding: 5px 8px; border-radius: 999px; color: #62696e; background: #ecefee; font-size: 8.5px; font-weight: 700; }
.competitor-drawer-scroll { flex: 1; }
.competitor-drawer-table { min-width: 940px; }
.competitor-drawer-table td { vertical-align: top; }
.competitor-drawer-table td strong, .competitor-drawer-table td .meta, .competitor-drawer-table td a { display: block; }
.competitor-drawer-table td a { margin-top: 6px; color: #795b06; font-size: 8.5px; font-weight: 700; }
.competitor-drawer-table .own-offer td { background: #f1faf6; }
.competitor-drawer-table .leader-offer td { background: #fffaf0; }
.competitor-drawer footer { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 20px; border-top: 1px solid var(--line); background: rgba(255,255,255,.97); }
.rank-number { font-size: 16px; }
.rank-number.first { color: var(--green); }
.rank-gap { color: #9a6b00 !important; font-weight: 700; }
.rank-gap.ahead { color: var(--green) !important; }
.ranking-table { min-width: 1320px; }
.ranking-table .own-offer td { background: #f1faf6; }
.ranking-table td strong + .badge { margin-left: 6px; }
.ranking-baseline { margin-bottom: 14px; }
.ranking-baseline > div { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.ranking-view-toolbar { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 14px; border: 1px solid var(--line); border-bottom: 0; border-radius: 9px 9px 0 0; background: #fafafa; color: #62686d; font-size: 10px; }
.tabs.compact { min-height: 36px; border: 1px solid var(--line); border-radius: 6px; background: white; overflow: hidden; }
.tabs.compact button { min-height: 34px; padding: 7px 12px; border: 0; border-right: 1px solid var(--line); color: #747a7f; background: white; font-size: 9px; font-weight: 700; }
.tabs.compact button:last-child { border-right: 0; }
.tabs.compact button.active { color: #5f4807; background: #fff2c4; }
.comparison-reason { max-width: 190px; margin-top: 5px; line-height: 1.45; }
.recommendation-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; border-bottom: 1px solid #d8eadf; background: #f3faf6; }
.recommendation-actions strong, .recommendation-actions span { display: block; }
.recommendation-actions strong { margin-bottom: 3px; font-size: 11px; }
.recommendation-actions span { color: #6f7d75; font-size: 9px; }
.recommendation-action-groups { display: flex; align-items: end; gap: 12px; }
.recommendation-action-groups > div { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.recommendation-action-groups .action-group-label { flex-basis: 100%; color: #7b8780; font-size: 8px; font-weight: 750; }
.recommendation-box { position: relative; display: grid; gap: 4px; margin-top: 9px; padding: 9px; border: 1px solid #e1e3e5; border-radius: 7px; background: #fafafa; }
.recommendation-box.safe { border-color: #bfddcd; background: #f0f9f4; }
.recommendation-box.unsafe { border-color: #ebceb0; background: #fff7ec; }
.recommendation-box strong { padding-right: 48px; color: #30363b; font-size: 9.5px; }
.recommendation-box span, .recommendation-box small { color: #757b80; font-size: 8.5px; line-height: 1.45; }
.recommendation-box > a { color: #765a08; font-size: 8.5px; font-weight: 700; }
.recommendation-box .button { width: max-content; margin-top: 3px; }
.recommendation-reject-trigger { width: max-content; padding: 0; border: 0; color: #8a6230; background: transparent; font-size: 8.5px; font-weight: 700; cursor: pointer; }
.recommendation-reject-trigger:hover { text-decoration: underline; }
.recommendation-choice { position: absolute; top: 8px; right: 8px; color: #4d6658; font-size: 8.5px; }
.decision-dialog { width: min(520px, calc(100vw - 32px)); max-width: none; padding: 0; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: white; box-shadow: 0 24px 80px rgba(18, 22, 25, .24); }
.decision-dialog::backdrop { background: rgba(20, 24, 27, .48); }
.decision-dialog form { display: grid; gap: 15px; padding: 22px; }
.decision-dialog header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.decision-dialog h2 { margin-top: 4px; font-size: 18px; }
.decision-dialog p { margin: 0; color: #777d82; font-size: 10px; line-height: 1.55; }
.decision-dialog label { margin: 0; }
.decision-dialog label > span { display: block; margin-bottom: 6px; color: #777d82; font-size: 9px; font-weight: 700; }
.decision-dialog select, .decision-dialog textarea { width: 100%; padding: 9px 10px; border: 1px solid #dadddb; border-radius: 6px; background: white; font-size: 10px; }
.decision-dialog footer { display: flex; justify-content: flex-end; gap: 8px; padding-top: 2px; }
.recommendation-ledger-table { min-width: 1180px; }
.recommendation-ledger-table td { vertical-align: top; }
.recommendation-ledger-table td strong, .recommendation-ledger-table td .meta { display: block; }
.recommendation-ledger-table .decision-accepted td { background: #f4faf6; }
.recommendation-ledger-table .decision-rejected td { background: #fff9f1; }
.cost-panel { max-width: 1040px; }
.cost-list-heading { margin-top: 28px; }
.cost-list-heading label { width: min(320px, 100%); margin: 0; }
.cost-list-heading label > span { display: block; margin-bottom: 5px; color: #858a8f; font-size: 8.5px; }
.cost-product-table { min-width: 1000px; }
.cost-product-table td > strong, .cost-product-table td > .meta { display: block; }
.cost-field-grid { display: grid; grid-template-columns: repeat(2, minmax(220px, 1fr)); gap: 15px; margin-bottom: 16px; }
.cost-field-grid label { margin: 0; }
.cost-field-grid label > small { color: #94989c; font-size: 9px; }
.cost-field-grid input { width: 100%; margin-top: 6px; }
.cost-field-grid input + small { display: block; margin-top: 5px; }
.ranking-alert-settings { display: grid; grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(150px, .7fr)); align-items: center; gap: 12px; margin: 18px 0; padding: 15px; border: 1px solid #dfe6e2; border-radius: 8px; background: #f5faf7; }
.ranking-alert-settings strong, .ranking-alert-settings span { display: block; }
.ranking-alert-settings strong { margin-bottom: 4px; font-size: 10.5px; }
.ranking-alert-settings span { color: #7c8781; font-size: 8.5px; line-height: 1.45; }
.ranking-alert-settings label { display: flex; align-items: center; gap: 7px; margin: 0; color: #4f5d55; font-size: 9px; font-weight: 700; }
.ranking-alert-settings input[type="checkbox"] { width: 16px; height: 16px; accent-color: #977100; }
.effective-costs { max-width: 1040px; margin-bottom: 16px; }
.filtered-empty { padding: 34px 20px; color: #8c9196; text-align: center; font-size: 10px; }
.alert-table { min-width: 920px; }
.alert-table td:nth-child(2) { max-width: 420px; }
.nav-count { min-width: 18px; height: 18px; display: inline-grid; place-items: center; margin-left: auto; padding: 0 5px; border-radius: 999px; color: #704e00; background: #ffd96a; font-size: 8px; }
.alert-table { min-width: 860px; }
.alert-table td:nth-child(2) { max-width: 440px; }
.alert-table td strong, .alert-table td .meta { display: block; }
.amv-alert-stats .monitor-status { font-size: 19px; }
.amv-event-panel { margin-bottom: 18px; }
.amv-event-table { min-width: 900px; }
.amv-event-table td:nth-child(2) { max-width: 360px; }
.amv-event-table td strong, .amv-event-table td .meta { display: block; }
.amv-event-table form { margin: 0; }
.monitor-settings-panel { margin-top: 18px; }
.monitor-setting-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.monitor-setting-grid label:last-child { grid-column: 1 / -1; max-width: 520px; }
.monitor-options { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 8px 0 18px; padding: 13px; border: 1px solid var(--line); border-radius: 7px; background: #fafafa; }
.mining-now-product-panel { margin-bottom: 18px; }
.mining-now-table { min-width: 1120px; }
.mining-now-table td { vertical-align: top; }
.mining-now-table td:first-child { min-width: 250px; }
.mining-now-table td strong, .mining-now-table td .meta, .mining-now-table td .row-link { display: block; }
.mining-now-table td form { min-width: 260px; margin: 0; }
.compact-check { margin: 0 0 6px; }
.compact-url { width: 100%; margin-bottom: 6px; padding: 7px 8px; border: 1px solid var(--line); border-radius: 5px; font-size: 9px; }
.mining-now-settings .monitor-setting-grid label:last-child { grid-column: auto; max-width: none; }
.mining-now-actions { margin-top: 18px; }
.mining-now-actions table { min-width: 780px; }
.monitor-options label { margin: 0; }
.monitor-test-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.monitor-test-actions form { display: flex; align-items: center; gap: 9px; margin: 0; }
.monitor-test-actions span { color: #91959a; font-size: 9px; }
.bulk-pager { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 14px; border-top: 1px solid var(--line); color: #858a8f; font-size: 9px; }
.bulk-actions { min-height: 72px; position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 16px; border-top: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); z-index: 3; }
.bulk-actions > div:last-child { display: flex; gap: 8px; }
.bulk-actions strong, .bulk-actions span { display: block; }
.bulk-actions strong { margin-bottom: 4px; font-size: 10.5px; }
.bulk-actions span { color: #8c9196; font-size: 9px; }
.bulk-lock-note { margin: 0; padding: 10px 16px; color: #846719; background: #fff7dd; font-size: 9.5px; }
tr[id^="run-"] { scroll-margin-top: 70px; }
.offer-manager, .attach-offer-panel { margin-bottom: 18px; }
.offer-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.offer-card { min-height: 115px; display: flex; align-items: flex-start; flex-direction: column; padding: 15px; border: 1px solid var(--line); border-radius: 8px; background: #fafafa; }
.offer-card strong { margin: 2px 0 8px; font-size: 12px; line-height: 1.45; }
.offer-card small { margin-top: auto; color: #858a8f; font-size: 9.5px; }
.attach-offer-form { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 14px; margin-top: 18px; }
.attach-offer-form label { margin: 0; }
.member-list { display: grid; gap: 16px; }
.create-members-panel, .credential-panel { margin-bottom: 18px; }
.new-member-grid { display: grid; grid-template-columns: minmax(150px, .8fr) minmax(240px, 1.4fr) minmax(130px, .6fr); gap: 12px; margin-bottom: 10px; }
.new-member-heading { margin: 18px 0 6px; color: #858a8f; font-size: 8.5px; font-weight: 700; }
.credential-panel { border-color: #e2c66d; background: #fffaf0; }
.credential-list { display: grid; gap: 8px; margin-top: 16px; }
.credential-list > div { display: grid; grid-template-columns: minmax(100px, .7fr) minmax(190px, 1.3fr) minmax(180px, 1fr); align-items: center; gap: 12px; padding: 11px 13px; border: 1px solid #eadcae; border-radius: 7px; background: white; }
.credential-list span { color: #747a7f; }
.credential-list code { padding: 7px 9px; border-radius: 5px; color: #624b08; background: #fff3c7; font-size: 11px; font-weight: 750; letter-spacing: .06em; }
.member-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.member-state { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.member-controls { display: grid; grid-template-columns: minmax(220px, 360px) 1fr; align-items: end; gap: 18px; }
.reset-password-form { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.onboarding-password-panel { max-width: 920px; }
.active-check { min-height: 42px; align-items: center; }
.permission-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 18px 0; }
.permission-check { min-height: 52px; display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px; border: 1px solid var(--line); border-radius: 7px; background: #fafafa; font-weight: 600; }
.permission-check input { accent-color: var(--accent-dark); }
.check { display: flex; align-items: flex-start; gap: 9px; font-weight: 500; line-height: 1.5; }
.check input { margin-top: 2px; accent-color: var(--accent-dark); }
.checklist { margin: 20px 0; border-top: 1px solid var(--line); }
.checklist div { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 10.5px; }
.checklist span { color: #858a8f; }
.checklist b { text-align: right; }
.connection-logo { width: 40px; height: 40px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 8px; color: #f1f1f1; background: #202429; font-weight: 900; }
.connection-logo.woo { color: white; background: #7f54b3; }

.login-page { min-height: 100vh; display: grid; grid-template-columns: minmax(360px, 1fr) minmax(440px, .82fr); background: white; }
.login-art { min-height: 100vh; display: flex; flex-direction: column; justify-content: space-between; padding: 45px; color: white; background: radial-gradient(circle at 80% 20%, #333941 0, transparent 33%), linear-gradient(145deg, #111416, #252a2f); }
.login-art .brand { align-self: flex-start; }
.login-art .eyebrow { color: var(--accent); }
.login-art h1 { margin: 14px 0 18px; font-size: clamp(42px, 6vw, 76px); line-height: .98; }
.login-art p, .login-art > small { color: #8c9298; font-size: 11px; letter-spacing: .11em; }
.login-card { width: min(430px, calc(100% - 50px)); align-self: center; justify-self: center; padding: 36px; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: 0 20px 70px rgba(15, 19, 22, .1); }
.login-card h2 { margin-bottom: 8px; font-size: 28px; }
.login-card form + form { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }

@media (max-width: 1283px) and (min-width: 721px) {
    .bulk-scroll-hint { display: block; }
}

@media (max-width: 1000px) {
    .bulk-editor-wide { width: 100%; left: auto; transform: none; }
    .sidebar { width: 76px; padding: 22px 12px; }
    .brand > span:last-child, .nav-label, nav a:not(.active) > :not(span), nav a.active > :not(span), .roadmap, .sidebar-bottom > div, .logout { display: none; }
    .brand { justify-content: center; }
    nav { margin-top: 32px; }
    nav a { justify-content: center; padding: 12px; font-size: 0; }
    nav a span { font-size: 18px; }
    .sidebar-bottom { grid-template-columns: 1fr; justify-items: center; border-top: 0; }
    .workspace { margin-left: 76px; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stats > div:nth-child(2) { border-right: 0; }
    .stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .permission-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .offer-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bulk-toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ranking-alert-settings { grid-template-columns: 1fr 1fr; }
    .ranking-alert-settings > div { grid-column: 1 / -1; }
    .bulk-visible-count { grid-column: 1 / -1; }
    .product-group-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
    .group-summary { width: 100%; flex-wrap: wrap; }
    .group-summary a { margin-left: auto; }
}

@media (max-width: 720px) {
    .sidebar { position: static; width: 100%; height: 60px; flex-direction: row; align-items: center; overflow: hidden; padding: 10px 14px; }
    .sidebar .brand { margin-right: auto; }
    .sidebar nav { min-width: 0; flex: 1; display: flex; margin: 0; overflow-x: auto; }
    .sidebar nav a { padding: 8px; }
    .sidebar-bottom { display: none; }
    .workspace { margin-left: 0; }
    .topbar { height: 48px; padding: 0 16px; }
    .topbar > span:first-child { display: none; }
    main { padding: 24px 15px 40px; }
    footer { padding: 15px; }
    .page-heading { align-items: flex-start; flex-direction: column; }
    .page-heading > .button { width: 100%; }
    .heading-actions { width: 100%; }
    .heading-actions .button { flex: 1; }
    .stats { grid-template-columns: 1fr 1fr; }
    .stats > div { min-height: 112px; padding: 17px; }
    .flow-strip { flex-wrap: wrap; }
    .panel-toolbar { align-items: stretch; flex-direction: column; padding: 0 12px 12px; }
    .tabs { min-height: 48px; overflow-x: auto; }
    .tabs a { white-space: nowrap; }
    .search { width: 100%; }
    .sort-rule { align-items: flex-start; flex-wrap: wrap; }
    .quote-table { min-width: 0; display: block; padding: 10px; background: var(--canvas); }
    .quote-table thead { display: none; }
    .quote-table tbody, .quote-table tr, .quote-table td { width: 100%; display: block; }
    .offer-group { margin-bottom: 12px; border: 1px solid var(--line); border-radius: 9px; background: white; box-shadow: 0 4px 18px rgba(24, 28, 32, .04); overflow: hidden; }
    .offer-group + .offer-group .product-group-row td { border-top: 0; }
    .product-group-row td { border: 0; }
    .product-group-heading { min-height: 0; padding: 13px 13px 13px 14px; }
    .group-identity { width: 100%; grid-template-columns: auto 1fr; gap: 7px; }
    .group-reference { grid-column: 1 / -1; }
    .group-summary { gap: 5px; }
    .group-summary a { width: 100%; margin: 4px 0 0; padding-top: 9px; border-top: 1px solid #dcdfdd; }
    .offer-row { padding: 0 13px 13px; }
    .offer-row + .offer-row { border-top: 7px solid var(--canvas); }
    .offer-row td, .offer-row td:first-child { padding: 10px 0; border: 0; background: white; }
    .offer-row td + td { border-top: 1px solid #eff0f0; }
    .offer-identity { padding-left: 15px; }
    .offer-identity::before { left: 0; }
    .product-name { max-width: none; }
    .price-triplet { width: 100%; }
    .condition-meta { max-width: none; }
    .row-action { width: 100%; justify-content: center; }
    .bulk-guidance { grid-template-columns: 1fr; gap: 5px; }
    .bulk-toolbar { grid-template-columns: 1fr 1fr; }
    .bulk-visible-count { grid-column: 1 / -1; }
    .status-legend { gap: 8px 13px; }
    .bulk-quote-table { min-width: 0; display: block; padding: 10px; background: var(--canvas); }
    .bulk-quote-table colgroup { display: none; }
    .bulk-quote-table thead { display: none; }
    .bulk-quote-table tbody, .bulk-quote-table tr, .bulk-quote-table td { width: 100%; display: block; }
    .bulk-quote-table .bulk-data-row { margin-bottom: 12px; border: 1px solid var(--line); border-radius: 9px; background: white; box-shadow: 0 4px 18px rgba(24, 28, 32, .04); overflow: hidden; }
    .bulk-quote-table .bulk-data-row td { display: grid; grid-template-columns: 78px minmax(0, 1fr); align-items: center; gap: 10px; padding: 10px 12px; border-top: 1px solid #eff0f0; }
    .bulk-quote-table .bulk-data-row td::before { color: #969a9e; font-size: 8px; font-weight: 750; content: attr(data-label); }
    .bulk-quote-table .bulk-data-row td:first-child { display: block; padding: 14px 12px; border-top: 0; }
    .bulk-quote-table .bulk-data-row td:first-child::before { display: none; }
    .bulk-quote-table .table-input { min-height: 42px; }
    .bulk-quote-table .workflow-cell > * { grid-column: 2; }
    .bulk-quote-table .blocked-message { grid-column: 2; }
    .bulk-actions { position: static; align-items: stretch; flex-direction: column; }
    .recommendation-actions { align-items: stretch; flex-direction: column; }
    .recommendation-action-groups, .recommendation-action-groups > div { display: grid; grid-template-columns: 1fr; }
    .recommendation-action-groups .action-group-label { margin-top: 4px; }
    .cost-field-grid { grid-template-columns: 1fr; }
    .ranking-view-toolbar { align-items: stretch; flex-direction: column; }
    .ranking-view-toolbar .tabs { width: 100%; }
    .ranking-view-toolbar .tabs button { flex: 1; }
    .bulk-actions > div:last-child { display: grid; grid-template-columns: 1fr; }
    .bulk-actions .button { width: 100%; }
    .ranking-alert-settings { grid-template-columns: 1fr; }
    .ranking-alert-settings > div { grid-column: auto; }
    .competitor-drawer { width: 100vw; }
    .competitor-drawer header { padding: 18px 16px 14px; }
    .competitor-drawer header h2 { font-size: 18px; }
    .competitor-drawer-baseline { padding: 10px 16px; }
    .competitor-drawer footer { position: sticky; bottom: 0; }
    .result-list > div { grid-template-columns: 1fr auto; }
    .result-list small { grid-column: 1 / -1; text-align: left; }
    .detail-grid { grid-template-columns: 1fr; }
    .quote-fields { grid-template-columns: 1fr; }
    .member-controls, .permission-grid, .new-member-grid { grid-template-columns: 1fr; }
    .monitor-setting-grid { grid-template-columns: 1fr; }
    .monitor-setting-grid label:last-child { grid-column: auto; }
    .monitor-test-actions, .monitor-test-actions form { align-items: stretch; flex-direction: column; width: 100%; }
    .new-member-heading { display: none; }
    .credential-list > div { grid-template-columns: 1fr; }
    .offer-cards, .attach-offer-form { grid-template-columns: 1fr; }
    .login-page { display: block; background: var(--canvas); }
    .login-art { min-height: 210px; padding: 28px; }
    .login-art h1 { font-size: 42px; }
    .login-art > small { display: none; }
    .login-card { width: calc(100% - 30px); margin: -24px auto 30px; position: relative; padding: 26px; }
}

/* WordPress dual-site product review workspace. Kept in the authenticated layout bundle because CSP blocks inline styles. */
.workspace main.wp-review-main { width: min(1720px, 100%); padding: 28px 24px 44px; }
.wp-review-heading { margin-bottom: 18px; }
.wp-review-heading p { margin-bottom: 0; font-size: 14px; line-height: 1.55; }
.wp-review-toolbar { margin-bottom: 16px; padding: 0; overflow: hidden; }
.wp-review-toolbar-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 22px 17px; }
.wp-review-draft-meta strong, .wp-review-draft-meta small { display: block; }
.wp-review-draft-meta strong { margin: 4px 0 3px; font-size: 16px; }
.wp-review-draft-meta small { color: var(--muted); }
.wp-review-workflow-heading { max-width: 360px; text-align: right; }
.wp-review-workflow-heading strong, .wp-review-workflow-heading small { display: block; }
.wp-review-workflow-heading strong { margin: 4px 0 3px; font-size: 14px; }
.wp-review-workflow-heading small { color: var(--muted); font-size: 10px; line-height: 1.45; }
.wp-review-workflow { display: grid; grid-template-columns: .82fr 1.16fr .9fr 1.08fr; gap: 1px; padding: 1px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #e7e9e7; }
.wp-review-upload-flow { display: contents; }
.wp-review-flow-step { min-width: 0; min-height: 132px; display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin: 0; padding: 16px 17px; border: 0; background: #fbfcfb; }
.wp-review-flow-step:hover { background: #fff; }
.wp-review-flow-number { width: 24px; height: 24px; display: inline-grid; place-items: center; border: 1px solid #d8dad8; border-radius: 50%; color: #697069; background: #fff; font-size: 10px; font-weight: 850; }
.wp-review-flow-copy { flex: 1; }
.wp-review-flow-copy strong, .wp-review-flow-copy small { display: block; }
.wp-review-flow-copy strong { color: #262b27; font-size: 12px; line-height: 1.35; }
.wp-review-flow-copy small { margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.wp-review-flow-step .button { width: 100%; min-height: 38px; }
.wp-review-file-step { cursor: pointer; }
.wp-review-file-step input[type=file] { width: 100%; min-width: 0; min-height: 38px; padding: 6px; border: 1px solid #d8dadc; border-radius: 6px; background: #fff; color: #5f6560; font-size: 9px; cursor: pointer; }
.wp-review-flow-final { background: #fffbef; }
.wp-review-flow-final:hover { background: #fff9e5; }
.wp-review-flow-final .wp-review-flow-number { border-color: #e1c45e; color: #6d540b; background: #fff3c4; }
.wp-review-flow-final form { margin: 0; }
.wp-batch-publish-panel { display: grid; gap: 16px; margin-bottom: 18px; padding: 20px 22px 22px; }
.wp-batch-publish-panel > .table-scroll { border: 1px solid var(--line); border-radius: 8px; }
.wp-batch-publish-panel table { font-size: 12px; }
.wp-batch-publish-panel th { padding: 11px 14px; font-size: 10px; }
.wp-batch-publish-panel td { padding: 14px; }
.wp-batch-publish-panel td small { display: inline; margin-left: 4px; color: var(--muted); font-size: 9.5px; }
.wp-batch-publish-panel > .muted { font-size: 11px; }
.wp-batch-live-progress { display: grid; gap: 12px; padding: 16px 18px; border: 1px solid #dfe5df; border-radius: 10px; background: linear-gradient(135deg, #f8fbf8 0%, #fffdf5 100%); }
.wp-batch-live-heading, .wp-batch-current { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.wp-batch-live-heading > div { display: flex; align-items: baseline; gap: 10px; }
.wp-batch-live-heading span, .wp-batch-current span { color: var(--muted); font-size: 9.5px; font-weight: 750; }
.wp-batch-live-heading strong { color: #222924; font-size: 21px; font-variant-numeric: tabular-nums; }
.wp-batch-live-heading > span, .wp-batch-current small { color: #747d76; font-size: 9.5px; }
.wp-batch-progress-track { height: 9px; overflow: hidden; border-radius: 99px; background: #e2e8e3; box-shadow: inset 0 1px 2px rgb(31 48 37 / 8%); }
.wp-batch-progress-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #6e9677, #9cb36e); transition: width .35s ease; }
.wp-batch-progress-counts { display: flex; flex-wrap: wrap; gap: 8px; }
.wp-batch-progress-counts span { padding: 6px 9px; border-radius: 6px; color: #68706a; background: #edf1ee; font-size: 9.5px; }
.wp-batch-progress-counts b { margin-right: 3px; color: #28302a; font-size: 11px; font-variant-numeric: tabular-nums; }
.wp-batch-progress-counts .is-success { color: #3c6c4b; background: #e2f0e6; }
.wp-batch-progress-counts .is-running { color: #765b0a; background: #fff1bd; }
.wp-batch-progress-counts .is-attention { color: #913e35; background: #f9e3df; }
.wp-batch-current { padding-top: 2px; }
.wp-batch-current > div { min-width: 0; }
.wp-batch-current span, .wp-batch-current strong { display: block; }
.wp-batch-current strong { margin-top: 4px; overflow: hidden; color: #2b322d; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.wp-review-toolbar-sub { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 15px 22px 13px; }
.wp-review-filter-block, .wp-review-search-block { min-width: 0; }
.wp-review-filter-block > span, .wp-review-search-block > span { display: block; margin: 0 0 6px 4px; color: #858b86; font-size: 8px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.wp-review-filters { display: flex; flex-wrap: wrap; gap: 5px; }
.wp-review-filters a { padding: 8px 11px; border: 1px solid transparent; border-radius: 6px; color: #626b65; font-size: 10px; font-weight: 760; text-decoration: none; }
.wp-review-filters a b { margin-left: 3px; color: #8e9690; }
.wp-review-filters a:hover { background: #f7f9f7; }
.wp-review-filters a.active { border-color: #d7c889; color: #493a0d; background: #fff6d6; }
.wp-review-filters a.active b { color: #7a6117; }
.wp-review-search { display: flex; gap: 7px; }
.wp-review-search input { width: 300px; min-height: 36px; }
.wp-review-safety { margin: 0; padding: 10px 22px 13px; border-top: 1px solid #f0f1ef; color: #7a817c; background: #fafbf9; font-size: 9.5px; line-height: 1.6; }
.wp-review-shell { display: grid; grid-template-columns: minmax(540px, 1.32fr) minmax(340px, .86fr); gap: 16px; align-items: start; }
.wp-review-master, .wp-review-inspector { min-width: 0; overflow: hidden; }
.wp-review-master > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px 18px 12px; border-bottom: 1px solid var(--line); }
.wp-review-master > header h2, .wp-review-master > header p { margin: 0; }
.wp-review-master > header p { margin-top: 4px; color: var(--muted); font-size: 10px; }
.wp-review-master > header > span { color: var(--muted); font-size: 10px; font-weight: 800; }
.wp-review-master-scroll { max-height: 720px; overflow: auto; }
.wp-review-master table { min-width: 580px; width: 100%; border-collapse: separate; border-spacing: 0; }
.wp-review-master thead { position: sticky; top: 0; z-index: 2; }
.wp-review-master th { padding: 11px 13px; color: #7e857f; background: #f8faf8; font-size: 9.5px; letter-spacing: .03em; }
.wp-review-master td { padding: 12px 13px; border-bottom: 1px solid #edf0ed; vertical-align: middle; font-size: 10.5px; font-variant-numeric: tabular-nums; }
.wp-review-master td small, .wp-review-master td span { display: block; }
.wp-review-master td small { margin-top: 3px; color: var(--muted); }
.wp-review-master tr:hover td { background: #fbfcfa; }
.wp-review-master tr.is-selected td { background: #fff9e6; }
.wp-review-master tr.is-selected td:first-child { box-shadow: inset 3px 0 #c99b20; }
.wp-review-master tr.is-reviewed:not(.is-selected) td { color: #7a817c; }
.wp-review-product-link { display: block; min-width: 140px; color: #222824; text-decoration: none; }
.wp-review-product-link strong { display: block; font-size: 11.5px; line-height: 1.35; }
.wp-review-master td.has-number { color: #986d00; font-weight: 850; }
.wp-review-master td.has-issue { color: #a13c32; font-weight: 850; }
.wp-review-master > footer { display: flex; align-items: center; gap: 14px; padding: 13px 18px; color: var(--muted); background: #fafbf9; font-size: 10px; font-weight: 750; }
.wp-review-progress { flex: 1; height: 5px; border-radius: 99px; background: #e7ebe7; overflow: hidden; }
.wp-review-progress i { display: block; height: 100%; border-radius: inherit; background: #6f8d73; }
.badge.status-changed { color: #805e08; background: #fff0b7; }
.badge.status-attention { color: #963a31; background: #fde3df; }
.badge.status-ready { color: #356a45; background: #deeee2; }
.badge.status-unread { color: #626d65; background: #e9eeea; }
.wp-review-inspector { position: sticky; top: 18px; max-height: calc(100vh - 36px); overflow-y: auto; }
.wp-review-inspector-head { position: relative; padding: 20px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fffdf6 0, #fff 100%); }
.wp-review-inspector-head h2 { margin: 5px 0 5px; font-size: 19px; }
.wp-review-inspector-head p { margin: 0; color: var(--muted); font-size: 10px; }
.wp-review-step-nav { display: flex; justify-content: flex-end; gap: 10px; margin-bottom: 10px; }
.wp-review-step-nav a, .wp-review-step-nav span { color: #737b75; font-size: 9.5px; font-weight: 760; text-decoration: none; }
.wp-review-step-nav span { opacity: .4; }
.wp-review-inspector-stats { display: flex; gap: 16px; margin-top: 14px; }
.wp-review-inspector-stats span { color: var(--muted); font-size: 9.5px; }
.wp-review-inspector-stats b { margin-right: 4px; color: #2a302c; font-size: 13px; }
.wp-review-inspector > .notice { margin: 12px 16px 0; }
.wp-review-comparison { padding: 18px 18px 10px; }
.wp-review-section-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.wp-review-section-title h3, .wp-review-section-title p { margin: 0; }
.wp-review-section-title h3 { font-size: 14px; }
.wp-review-section-title p { margin-top: 4px; color: var(--muted); font-size: 9.5px; }
.wp-review-comparison .table-scroll { margin-top: 12px; border: 1px solid var(--line); border-radius: 7px; }
.wp-review-comparison table { min-width: 0; width: 100%; table-layout: fixed; }
.wp-review-comparison th:first-child { width: 34%; }
.wp-review-comparison th:not(:first-child) { width: 16.5%; }
.wp-review-comparison th { padding: 9px 10px; font-size: 8.8px; }
.wp-review-comparison td { padding: 11px 7px; font-size: 9.7px; vertical-align: middle; font-variant-numeric: tabular-nums; }
.wp-review-comparison td:not(:first-child) { white-space: nowrap; font-size: 9px; }
.wp-review-comparison td strong, .wp-review-comparison td small { display: block; }
.wp-review-comparison td small { margin-top: 4px; color: var(--muted); font-size: 8.5px; }
.wp-review-comparison tr.has-change td { background: #fffaf0; }
.wp-review-comparison tr.has-change td:first-child { box-shadow: inset 3px 0 #d3a026; }
.wp-review-draft-price { color: #5a4310; font-weight: 850; }
.wp-review-delta { color: #9b6e00; font-weight: 850; }
.wp-review-confirmation { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 6px 18px 18px; padding: 14px; border: 1px solid #e4e8e4; border-radius: 8px; background: #f9fbf9; }
.wp-review-confirmation strong, .wp-review-confirmation small { display: block; }
.wp-review-confirmation small { margin-top: 4px; color: var(--muted); font-size: 8px; }
.wp-review-empty { padding: 24px; color: var(--muted); font-size: 9px; line-height: 1.6; }
.wp-technical-details { border-top: 1px solid var(--line); }
.wp-technical-details > summary, .wp-history-drawer > summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 18px; cursor: pointer; list-style: none; }
.wp-technical-details > summary::-webkit-details-marker, .wp-history-drawer > summary::-webkit-details-marker { display: none; }
.wp-technical-details > summary strong, .wp-technical-details > summary small, .wp-history-drawer > summary strong, .wp-history-drawer > summary small { display: block; }
.wp-technical-details > summary small, .wp-history-drawer > summary small { margin-top: 4px; color: var(--muted); font-size: 9.5px; }
.wp-technical-details > summary b, .wp-history-drawer > summary b { color: #7b641c; font-size: 9.5px; }
.wp-technical-body { padding: 0 18px 20px; border-top: 1px solid var(--line); }
.wp-review-inline-actions, .wp-draft-source, .wp-publish-preview { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 16px 0; }
.wp-review-inline-actions small { color: var(--muted); }
.wp-site-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 14px 0; }
.wp-site { padding: 12px; border: 1px solid var(--line); border-radius: 7px; background: #f8faf8; overflow-wrap: anywhere; }
.wp-site summary, .wp-add-spec summary { cursor: pointer; }
.wp-site ul { padding-left: 18px; }
.wp-site li { margin: 8px 0; }
.wp-draft-fieldset { min-width: 0; margin: 18px 0; padding: 0; border: 0; }
.wp-technical-form-head { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.wp-technical-form-head label { margin: 0; }
.wp-technical-form-head select { margin-top: 5px; }
.wp-technical-body table { min-width: 560px; }
.wp-technical-body .wp-position { max-width: 76px; }
.wp-technical-body input, .wp-technical-body select { max-width: 100%; }
.wp-variant-table .wp-drag-column { width: 76px; min-width: 76px; padding-left: 8px; padding-right: 4px; text-align: center; }
.wp-order-controls { display: inline-flex; align-items: center; gap: 4px; }
.wp-order-controls > span { display: grid; gap: 2px; }
.wp-order-controls [data-move-row] { width: 23px; height: 17px; display: grid; place-items: center; padding: 0; border: 1px solid #ded8ca; border-radius: 5px; color: #6f6759; background: #fff; font-size: 10px; line-height: 1; }
.wp-order-controls [data-move-row]:hover:not(:disabled), .wp-order-controls [data-move-row]:focus-visible { border-color: #a57b06; color: #765a08; background: #fff8df; outline: none; }
.wp-order-controls [data-move-row]:disabled { cursor: not-allowed; opacity: .3; }
.wp-variant-drag { display: inline-grid; width: 30px; height: 36px; place-items: center; border: 1px solid #d8d1c2; border-radius: 8px; background: #faf8f3; color: #7a7162; font-size: 15px; line-height: 1; letter-spacing: -3px; cursor: grab; touch-action: none; user-select: none; }
.wp-variant-drag:hover, .wp-variant-drag:focus-visible { border-color: var(--ink); background: #fff; color: var(--ink); outline: none; }
.wp-variant-drag:active { cursor: grabbing; }
.wp-variant-table tbody.is-drag-active tr { transition: transform .12s ease, background-color .12s ease; }
.wp-variant-table tr.is-dragging { opacity: .42; background: #fff5cf; }
.wp-variant-table tr.is-dragging td { border-top: 2px solid #d4a514; border-bottom: 2px solid #d4a514; }
.is-reordering-variant, .is-reordering-variant * { cursor: grabbing !important; user-select: none !important; }
.wp-variant-order-help [data-order-change-note] { display: inline-block; margin: 3px 4px; padding: 3px 7px; border-radius: 999px; background: #fff2bd; color: #6f5611; font-weight: 700; }
.wp-variant-order-help [data-order-change-note][hidden] { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.wp-add-spec, .wp-run-preview { margin: 16px 0; padding: 14px; border: 1px solid var(--line); border-radius: 8px; }
.wp-add-spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
.wp-add-spec-grid label:last-child { grid-column: 1 / -1; }
.wp-add-spec-grid label span { display: block; margin-bottom: 5px; }
.wp-history-drawer { margin-top: 16px; overflow: hidden; }
.wp-history-body { padding: 0 20px 20px; border-top: 1px solid var(--line); }
.wp-history-filter { display: flex; align-items: end; gap: 8px; margin: 14px 0; }
.wp-history-body table { min-width: 760px; }
.wp-history-body th { padding: 11px 14px; font-size: 10px; }
.wp-history-body td { padding: 14px; font-size: 11px; }
.wp-history-body td small { display: block; margin-top: 4px; }
.wp-history-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); color: #69716b; font-size: 11px; }
.wp-history-pagination a, .wp-history-pagination > span { min-height: 34px; display: inline-flex; align-items: center; justify-content: center; padding: 7px 12px; border: 1px solid #daddda; border-radius: 7px; background: #fff; font-weight: 700; }
.wp-history-pagination a:hover { border-color: #b7bdb8; background: #fafbf9; }
.wp-history-pagination .is-disabled { color: #a9aeaa; background: #f5f6f5; }
.wp-history-pagination .wp-history-page-status { flex: 1; border: 0; background: transparent; font-weight: 600; }
@media (max-width: 980px) {
    .wp-review-workflow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; }
    .wp-review-shell { grid-template-columns: 1fr; }
    .wp-review-inspector { position: static; max-height: none; }
    .wp-review-master-scroll { max-height: 520px; }
}
@media (max-width: 760px) {
    .workspace main.wp-review-main { padding: 22px 15px 34px; }
    .wp-review-toolbar-head, .wp-review-toolbar-sub { align-items: stretch; flex-direction: column; }
    .wp-review-workflow-heading { max-width: none; text-align: left; }
    .wp-review-workflow { grid-template-columns: 1fr; }
    .wp-review-flow-step { min-height: 0; }
    .wp-review-search input { max-width: none; width: 100%; }
    .wp-review-search { display: grid; grid-template-columns: 1fr auto; }
    .wp-review-search .button:last-child { grid-column: 1 / -1; }
    .wp-review-shell { display: block; }
    .wp-review-master { margin-bottom: 14px; }
    .wp-review-confirmation { align-items: stretch; flex-direction: column; }
    .wp-review-confirmation .button { width: 100%; }
    .wp-site-grid, .wp-technical-form-head, .wp-add-spec-grid { grid-template-columns: 1fr; }
    .wp-add-spec-grid label:last-child { grid-column: auto; }
    .wp-history-pagination { align-items: stretch; flex-direction: column; }
    .wp-history-pagination .wp-history-page-status { order: -1; }
}

.crm-auth-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.crm-auth-form label { margin: 0; }
.crm-auth-form textarea { min-height: 82px; resize: vertical; }
.crm-auth-form .button { align-self: end; min-height: 42px; }
.responsibility-owner-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 16px; }
.responsibility-owner-grid > div { padding: 10px 12px; border: 1px solid var(--line); border-radius: 7px; background: #fafafa; }
.responsibility-owner-grid strong, .responsibility-owner-grid span { display: block; overflow-wrap: anywhere; }
.responsibility-owner-grid strong { font-size: 9px; }
.responsibility-owner-grid span { margin-top: 4px; color: #7d8286; font-size: 9px; }
.crm-auth-table { min-width: 920px; }
.crm-auth-table td { vertical-align: middle; }
.inline-revoke-form { display: flex; align-items: center; gap: 6px; margin: 0; }
.inline-revoke-form select, .inline-revoke-form input { min-width: 138px; padding: 7px; }

@media (max-width: 700px) {
    .crm-auth-form, .responsibility-owner-grid { grid-template-columns: 1fr; }
    .crm-auth-form .button { width: 100%; }
}
.password-panel{margin-top:20px}.password-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:14px;align-items:end;margin-top:18px}.password-form label{margin:0}.password-form .button{margin-bottom:1px;white-space:nowrap}
@media(max-width:900px){.password-form{grid-template-columns:1fr 1fr}.password-form label:first-child{grid-column:1/-1}}
@media(max-width:600px){.password-form{grid-template-columns:1fr}.password-form label:first-child{grid-column:auto}.password-form .button{width:100%}}

.crm-page-heading { margin-bottom: 18px; }
.crm-write-panel { max-width: 1040px; margin: 0 auto; }
.crm-customer-form { display: grid; gap: 26px; }
.crm-form-section { display: grid; grid-template-columns: minmax(180px, .65fr) minmax(0, 1.35fr); gap: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.crm-form-section:last-of-type { padding-bottom: 0; border-bottom: 0; }
.crm-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.crm-form-grid label { margin: 0 0 15px; }
.crm-form-grid .crm-checkbox-row { display: flex; align-items: center; gap: 9px; min-height: 38px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 7px; background: #fafafa; }
.crm-checkbox-row input { width: auto; margin: 0; }
.crm-checkbox-row span { color: #303732; font-size: 10px; font-weight: 700; }
.crm-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 4px; }
.crm-filter-panel { margin-bottom: 18px; padding: 16px; }
.crm-filter-grid { display: grid; grid-template-columns: minmax(220px, 1.5fr) repeat(6, minmax(110px, .7fr)); align-items: end; gap: 11px; }
.crm-filter-grid label { margin: 0; }
.crm-filter-grid label > span { display: block; margin-bottom: 5px; color: #858a8f; font-size: 8.5px; font-weight: 700; }
.crm-filter-grid input, .crm-filter-grid select { width: 100%; }
.crm-filter-actions { display: flex; gap: 7px; }
.crm-filter-actions .button { flex: 1; white-space: nowrap; }
.crm-customer-panel { overflow: hidden; }
.crm-customer-table { min-width: 920px; }
.crm-customer-table td { vertical-align: middle; }
.crm-customer-table td strong, .crm-customer-table td .meta { display: block; }
.crm-customer-link { display: block; margin-bottom: 4px; color: #202429; font-size: 11px; font-weight: 800; }
.crm-customer-link:hover { color: #846719; }
.crm-pager { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.crm-pager div { display: flex; gap: 16px; }
.crm-profile-panel { margin-bottom: 18px; padding: 22px; }
.crm-contact-section { margin-bottom: 18px; padding: 22px; }
.crm-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.crm-section-heading h2 { margin: 4px 0 7px; }
.crm-company-channels { margin-bottom: 16px; padding: 14px; border: 1px solid #e1e7e3; border-radius: 8px; background: #f7faf8; }
.crm-company-channels h3 { margin: 0 0 10px; font-size: 10px; }
.crm-contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.crm-contact-card { min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.crm-contact-name { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.crm-contact-name strong, .crm-contact-name span { display: block; }
.crm-contact-name strong { font-size: 11px; }
.crm-contact-name div > span { margin-top: 5px; color: #858a8f; font-size: 9px; }
.crm-channel-list { display: flex; flex-wrap: wrap; gap: 7px; }
.crm-channel { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 7px 9px; border: 1px solid #dfe5e1; border-radius: 6px; color: #46524b; background: #f8faf9; font-size: 9px; word-break: break-all; }
.crm-channel b { color: #252b27; font-size: 8px; }
.crm-channel i { padding: 2px 4px; border-radius: 4px; color: #6d560f; background: #fff0b7; font-size: 7px; font-style: normal; font-weight: 800; }
.crm-contact-limit { margin: 14px 0 0; }
.crm-profile-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.crm-profile-heading h2 { margin: 10px 0 0; }
.crm-detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--line); overflow: hidden; }
.crm-detail-grid div { min-height: 86px; padding: 16px; background: white; }
.crm-detail-grid dt { margin-bottom: 8px; color: #8c9196; font-size: 8.5px; font-weight: 750; }
.crm-detail-grid dd { margin: 0; color: #272b2f; font-size: 11px; font-weight: 700; word-break: break-word; }
.crm-history-list { display: grid; gap: 10px; }
.crm-history-item { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 16px; border: 1px solid #e1e7e3; border-radius: 8px; background: #fbfcfb; }
.crm-history-item div { display: grid; gap: 4px; }
.crm-history-item strong { color: #272b2f; font-size: 11px; }
.crm-history-item span, .crm-history-item small { color: #7d8580; font-size: 9px; }
.crm-history-item p { margin: 0; color: #3d4540; font-size: 10px; font-weight: 700; }
.crm-history-item small { white-space: nowrap; }
.crm-followup-item { grid-template-columns: 1fr; }
.crm-followup-body { white-space: pre-wrap; overflow-wrap: anywhere; font-weight: 400 !important; }
.crm-history-limit { margin-top: 12px; }
.crm-coming-panel { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px; }
.crm-coming-panel h2 { margin: 4px 0 7px; }
.crm-pool-actions { display: grid; gap: 8px; min-width: 230px; }
.crm-pool-actions form { display: flex; align-items: center; gap: 7px; margin: 0; }
.crm-pool-actions select { min-width: 145px; padding: 7px; }
.crm-form-panel { max-width: 760px; }
.crm-form-panel .crm-form-grid { margin-top: 18px; }
.crm-form-grid.crm-transfer-form { grid-template-columns: minmax(0, 1fr); gap: 16px; }
.crm-transfer-form label { margin: 0; }
.crm-history-item.crm-transfer-task { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.crm-transfer-task strong { font-size: 12px; }
.crm-transfer-task span { font-size: 11px; }
.crm-transfer-task label { max-width: 440px; }
.crm-lifecycle-ownership { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.crm-lifecycle-confirmation .notice { overflow-wrap: anywhere; }
.crm-confirm-row { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 9px; }
.crm-confirm-row input { width: auto; margin-top: 2px; }
.crm-form-actions { grid-column: 1 / -1; display: flex; gap: 8px; }
.crm-inline-options { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.crm-inline-options .badge { white-space: normal; }

@media (max-width: 1180px) {
    .crm-filter-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .crm-search-field { grid-column: span 2; }
    .crm-filter-actions { grid-column: span 2; }
}

@media (max-width: 720px) {
    .crm-lifecycle-confirmation.padded { padding: 18px; }
    .crm-form-section, .crm-form-grid { grid-template-columns: 1fr; gap: 0; }
    .crm-form-section { gap: 14px; }
    .crm-form-footer { align-items: stretch; flex-direction: column; }
    .crm-form-footer .button { width: 100%; }
    .crm-filter-grid { grid-template-columns: 1fr 1fr; }
    .crm-search-field, .crm-filter-actions { grid-column: 1 / -1; }
    .crm-filter-actions .button { min-height: 42px; }
    .crm-profile-heading { flex-direction: column; }
    .crm-detail-grid { grid-template-columns: 1fr; }
    .crm-section-heading { flex-direction: column; }
    .crm-history-item { grid-template-columns: 1fr; gap: 8px; }
    .crm-history-item small { white-space: normal; }
    .crm-contact-grid { grid-template-columns: 1fr; }
    .crm-coming-panel { align-items: flex-start; flex-direction: column; }
    .crm-pool-actions form { align-items: stretch; flex-direction: column; }
    .crm-pool-actions select, .crm-pool-actions .button, .crm-form-actions .button { width: 100%; }
    .crm-form-actions { flex-direction: column; }
}

@media (max-width: 480px) {
    .crm-filter-grid { grid-template-columns: 1fr; }
    .crm-search-field, .crm-filter-actions { grid-column: auto; }
    .crm-filter-actions { flex-direction: column; }
}

@media print {
    .crm-filter-panel, .crm-customer-panel, .crm-contact-section, .crm-coming-panel, .crm-write-panel { display: none !important; }
}

.wp-price-heading { margin-bottom: 18px; }
.wp-price-upload { margin-bottom: 18px; }
.wp-price-intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: 28px; align-items: start; }
.wp-price-intro h2 { margin: 12px 0 7px; }
.wp-price-intro p { margin: 0; color: var(--muted); }
.wp-price-intro ul { margin: 0; padding: 14px 18px 14px 32px; border-radius: 8px; background: #f7f9f7; color: #555d58; font-size: 9px; line-height: 1.8; }
.wp-price-upload-form { display: flex; align-items: end; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.wp-price-upload-form label { flex: 1; margin: 0; }
.wp-price-upload-form label span { display: block; margin-bottom: 6px; color: #747b76; font-size: 9px; font-weight: 750; }
.wp-price-upload-form input[type=file] { width: 100%; padding: 9px; border: 1px solid var(--line); border-radius: 7px; background: white; }
.wp-price-summary { justify-content: space-between; padding: 16px 18px; }
.wp-price-summary strong, .wp-price-summary small, .wp-price-table td small { display: block; }
.wp-price-summary small { margin-top: 4px; color: var(--muted); }
.wp-price-counts { display: flex; flex-wrap: wrap; gap: 7px; }
.wp-price-table { min-width: 940px; }
.wp-price-table td { vertical-align: middle; }
.wp-price-table td strong { display: block; max-width: 300px; }
.wp-price-table td small { max-width: 330px; margin-top: 5px; color: var(--muted); line-height: 1.45; }
.wp-price-confirm { display: flex; align-items: center; justify-content: flex-end; gap: 18px; padding: 16px 18px; border-top: 1px solid var(--line); background: #fafbf9; }
.wp-price-confirm label { display: flex; align-items: center; gap: 8px; margin: 0; color: #4e5751; font-size: 9px; }
.wp-price-confirm input { width: auto; }

@media (max-width: 720px) {
    .wp-price-intro { grid-template-columns: 1fr; gap: 14px; }
    .wp-price-upload-form, .wp-price-confirm { align-items: stretch; flex-direction: column; }
    .wp-price-upload-form .button, .wp-price-confirm .button { width: 100%; }
    .wp-price-summary { align-items: flex-start; flex-direction: column; gap: 10px; }
}
/* AMV rank-one autopilot */
.amv-leaderboard-guard{margin-top:20px}.amv-guard-heading-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.amv-guard-heading-actions form{margin:0}.amv-guard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0}.amv-guard-card{border:1px solid #dce4e7;border-radius:14px;padding:16px;background:#fbfdfd;display:flex;flex-direction:column;gap:12px;min-width:0}.amv-guard-card.has-alert{border-color:#e6b55c;background:#fffaf0}.amv-guard-card-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.amv-guard-card-top>div{display:flex;flex-direction:column;gap:4px;min-width:0}.amv-guard-card-top strong{font-size:16px}.amv-guard-card-top span:not(.badge),.amv-guard-meta{font-size:12px;color:#6b7478}.amv-guard-rule{display:flex;gap:8px;flex-wrap:wrap}.amv-guard-rule span{background:#eef3f4;border-radius:999px;padding:6px 9px;font-size:12px}.amv-guard-card p{margin:0;line-height:1.5}.amv-guard-meta{display:flex;gap:12px;flex-wrap:wrap}.amv-guard-card form{margin-top:auto}.amv-guard-empty{display:flex;flex-direction:column;gap:5px;padding:20px;border:1px dashed #cfd9dc;border-radius:12px;margin:16px 0;color:#697579}.amv-guard-add{display:grid;grid-template-columns:minmax(280px,1fr) minmax(280px,1fr) auto;align-items:end;gap:12px;margin-top:16px;padding-top:16px;border-top:1px solid #e4e9eb}.amv-guard-add label{display:flex;flex-direction:column;gap:6px}.amv-guard-add select{width:100%}.amv-guard-confirm{flex-direction:row!important;align-items:center;padding-bottom:9px;font-size:13px}.amv-guard-confirm input{width:auto}@media(max-width:1100px){.amv-guard-grid{grid-template-columns:1fr}}@media(max-width:900px){.amv-guard-add{grid-template-columns:1fr}.amv-guard-confirm{padding-bottom:0}}

.amv-guard-floor-form{margin:0!important;padding:12px;border:1px solid #dfe7df;border-radius:10px;background:#f5faf6}.amv-guard-floor-form label{display:block;margin:0}.amv-guard-floor-form label>span,.amv-guard-floor-readonly>span{display:block;margin-bottom:7px;color:#627068;font-size:11px;font-weight:750}.amv-guard-floor-form label>div{display:grid;grid-template-columns:auto minmax(100px,1fr) auto;align-items:center;gap:8px}.amv-guard-floor-form input{width:100%;font-size:15px;font-weight:800}.amv-guard-floor-form .currency-prefix{color:#228554;font-size:18px;font-weight:850}.amv-guard-floor-readonly{padding:12px;border-radius:10px;background:#f5faf6}.amv-guard-floor-readonly strong{color:#146d45;font-size:18px}.amv-guard-top3{overflow:hidden;border:1px solid #e3e8ea;border-radius:10px;background:white}.amv-guard-top3-heading,.amv-guard-rank-row{display:grid;align-items:center}.amv-guard-top3-heading{grid-template-columns:1fr auto;padding:10px 12px;background:#f4f7f8}.amv-guard-top3-heading strong{font-size:12px}.amv-guard-top3-heading span{color:#7a858a;font-size:10px}.amv-guard-rank-row{grid-template-columns:26px minmax(0,1fr) auto;gap:8px;padding:9px 12px;border-top:1px solid #edf0f1}.amv-guard-rank-row>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.amv-guard-rank-row>span em{margin-left:5px;padding:2px 5px;border-radius:999px;color:#137247;background:#e4f6eb;font-size:9px;font-style:normal;font-weight:800}.amv-guard-rank-row>strong{font-size:13px}.rank-medal{display:grid;width:21px;height:21px;place-items:center;border-radius:50%;color:#687175;background:#e9edef;font-size:10px}.rank-1{color:#775900;background:#ffe89d}.rank-2{color:#59636b;background:#dfe5e9}.rank-3{color:#805126;background:#f4d0ad}.amv-guard-rank-empty{padding:14px;color:#778286;font-size:11px}.amv-guard-add{grid-template-columns:minmax(250px,1.1fr) minmax(180px,.55fr) minmax(260px,1fr) auto}@media(max-width:900px){.amv-guard-floor-form label>div{grid-template-columns:auto 1fr}.amv-guard-floor-form button{grid-column:1/-1}.amv-guard-add{grid-template-columns:1fr}}
.amv-guard-schedule-form{display:grid;grid-template-columns:minmax(130px,.75fr) minmax(120px,.55fr) minmax(190px,1fr) auto;align-items:end;gap:9px;margin:0!important;padding:12px;border:1px solid #e3e6ea;border-radius:10px;background:#f9fafb}.amv-guard-schedule-title{grid-column:1/-1;display:flex;justify-content:space-between;gap:8px}.amv-guard-schedule-title span,.amv-guard-schedule-form label>span,.amv-daily-settings>span{color:#6f797f;font-size:10px;font-weight:750}.amv-guard-schedule-form label{display:flex;flex-direction:column;gap:5px;margin:0}.amv-daily-settings{display:flex;flex-direction:column;gap:6px}.amv-daily-settings[data-hidden],.amv-guard-schedule-form [data-interval-settings][data-hidden]{display:none}.amv-daily-settings [data-daily-times]{display:flex;flex-wrap:wrap;gap:6px}.amv-daily-settings [data-daily-times]>div{display:flex;gap:4px}.amv-daily-settings input{width:115px}.amv-daily-settings [data-remove-time]{padding:5px 7px}.amv-guard-schedule-form>.button{min-height:37px}@media(max-width:1100px){.amv-guard-schedule-form{grid-template-columns:1fr 1fr}.amv-guard-schedule-form>.button{grid-column:1/-1}}@media(max-width:640px){.amv-guard-schedule-form{grid-template-columns:1fr}}
