#marketing{position:relative;isolation:isolate}.crm-backdrop{position:absolute;inset:-30px -35px;z-index:-1;overflow:hidden;pointer-events:none}.crm-backdrop i{position:absolute;width:440px;height:440px;right:-130px;top:-175px;background:radial-gradient(circle,#dce9d6aa,transparent 70%);border-radius:50%}.crm-backdrop i+i{width:300px;height:300px;right:290px;top:240px;background:radial-gradient(circle,#e8ead888,transparent 70%)}.crm-heading{margin-bottom:23px}.crm-heading h1{margin-bottom:8px}.crm-tabs{display:flex;gap:7px;padding:5px;background:#eaf0e5;border:1px solid #dce4d6;border-radius:12px}.crm-tabs button{padding:11px 18px;border-radius:8px;border:1px solid transparent;background:transparent;color:#76816b;font-weight:600}.crm-tabs button.active{background:#fff;border-color:#e0e6d8;box-shadow:0 2px 8px #34452a09;color:#38543a}.crm-connection{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 21px;border:1px solid var(--line);border-radius:13px;background:var(--panel,#fff)}.crm-connection>div{display:flex;align-items:center;gap:13px}.crm-connection strong{display:block;font-size:13px}.crm-connection small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.crm-shopify{display:grid;place-items:center;font-size:22px;font-weight:800;width:37px;height:37px;background:#edf4e8;color:#6e973b;border-radius:10px}.crm-section-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:30px 0 19px}.crm-section-title h2{font-size:23px;margin:0 0 6px}.crm-section-title p{font-size:12px;color:var(--muted);margin:0}.crm-pill,.crm-contact-status,.crm-shop-badge{display:inline-flex;align-items:center;background:#edf3e8;color:#587348;border:1px solid #e1e9d9;border-radius:20px;padding:6px 10px;font-size:10px;font-weight:600}.crm-pill{white-space:nowrap}.crm-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 22px}.crm-metrics article{background:var(--panel,#fff);border:1px solid var(--line);border-radius:13px;padding:20px 23px}.crm-metrics span{display:block;color:var(--muted);font-size:11px}.crm-metrics strong{font:700 29px Manrope,sans-serif;color:#3f5336;display:block;margin-top:15px}.crm-table-card{border:1px solid var(--line);border-radius:15px;background:var(--panel,#fff);overflow:hidden}.crm-toolbar{padding:19px;display:flex;gap:9px;align-items:center;flex-wrap:wrap}.crm-toolbar input,.crm-toolbar select{padding:11px;font-size:12px;background:#f8faf5}.crm-toolbar select{max-width:220px}.crm-search{display:flex;align-items:center;gap:8px;padding:0 12px;border:1px solid var(--line);border-radius:9px;background:#f8faf5;flex:1;min-width:230px}.crm-search input{border:0;background:transparent!important;width:100%;outline:none}.crm-search span{font-size:22px}.crm-toolbar button{padding:11px 14px;font-size:11px}.crm-state{margin:0;padding:0 20px 18px;font-size:12px;color:var(--muted);line-height:1.65;white-space:pre-line}.crm-table-scroll{overflow:auto}.crm-table-card table{margin:0;min-width:1000px}.crm-table-card th{background:#f4f7ef;padding:15px 18px;font-size:10px}.crm-table-card td{padding:17px 18px;color:#5a6651;font-size:12px}.crm-table-card td strong{display:block;color:var(--ink);font-size:12px}.crm-table-card td small{display:block;margin-top:6px;font-size:10px;color:var(--muted);overflow-wrap:anywhere;max-width:250px}.crm-table-card tbody tr:hover{background:#f8faf5}.crm-contact-status.blocked{background:#f9f1e7;color:#96703b;border-color:#eee1d1}.crm-shop-badge{background:#f5f7f1;color:#6c795d;border:0;border-radius:5px}.crm-write{border:1px solid #d6e2ce!important;background:#edf4e8!important;color:#53713d!important;border-radius:7px;font-size:11px!important;padding:9px 12px;white-space:nowrap}.crm-table-footer{padding:13px 18px;margin:0;background:#fafbf7;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px}.crm-table-footer p{font-size:10px;color:var(--muted);margin:0}.crm-table-footer>div{display:flex;align-items:center;gap:12px;font-size:11px;white-space:nowrap}.crm-table-footer button{padding:6px 10px}.crm-empty{text-align:center;padding:48px 20px;color:var(--muted)}.crm-empty>span{display:block;font-size:34px;color:#a7b998;margin-bottom:13px}.crm-empty strong{font-size:14px!important;color:#758768!important}.crm-empty p{font-size:12px}.crm-modal{border:1px solid #dae3d4;border-radius:19px;background:var(--panel,#fff);color:var(--ink);width:min(720px,calc(100% - 30px));max-height:calc(100dvh - 40px);padding:0;box-shadow:0 30px 100px #1b291839}.crm-modal::backdrop{background:#14241166;backdrop-filter:blur(4px)}.crm-modal-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 27px;border-bottom:1px solid var(--line)}.crm-modal-heading h2{margin:0;font-size:23px}.crm-modal-heading .eyebrow{margin-bottom:8px}.crm-modal-heading>button{padding:5px 10px;font-size:21px}.crm-modal-body{padding:23px 27px;display:grid;gap:17px}.crm-recipient{display:grid;gap:6px;background:#f2f6ed;border:1px solid #e0e9d6;border-radius:10px;padding:16px}.crm-recipient span{font-size:13px;overflow-wrap:anywhere}.crm-recipient small{font-size:11px;color:var(--muted)}.crm-modal label{font-size:12px;display:grid;gap:7px}.crm-modal textarea,.crm-modal input,.crm-modal select{width:100%;background:#fafbf7;border:1px solid var(--line);border-radius:9px;padding:12px;color:var(--ink);font:inherit;font-size:13px;line-height:1.7;box-sizing:border-box}.crm-modal textarea{font-family:inherit;line-height:1.6;resize:vertical}.crm-modal details{font-size:12px;color:var(--muted)}.crm-modal summary{cursor:pointer}.crm-modal .crm-state{padding:0}.crm-modal-footer{border-top:1px solid var(--line);padding:17px 27px;display:flex;gap:9px;flex-wrap:wrap}.crm-modal-footer button{padding:11px 13px;font-size:11px}.data-embedded-tool>.page-heading h1{font-size:25px}.data-embedded-tool>.page-heading{margin-top:0}.data-embedded-tool .workspace-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.data-embedded-tool .workspace-kpis article:last-child{display:none}html[data-theme="dark"] .crm-metrics strong{color:#c6d8b8}html[data-theme="dark"] .crm-tabs,html[data-theme="dark"] .crm-recipient{background:#273723;border-color:#3d5134}html[data-theme="dark"] .crm-tabs button.active{background:#364c2d;color:#d0e3bf;border-color:#49613d}html[data-theme="dark"] .crm-table-card :is(th,footer),html[data-theme="dark"] .crm-search,html[data-theme="dark"] .crm-toolbar :is(input,select),html[data-theme="dark"] .crm-modal :is(input,textarea,select){background:#233020;color:#bcd0ac;border-color:#3b4b34}html[data-theme="dark"] .crm-table-card td{color:#b0c3a0;border-color:#36472e}html[data-theme="dark"] .crm-table-card tbody tr:hover{background:#233020}html[data-theme="dark"] .crm-modal{background:#1d2a20;border-color:#3b5032}html[data-theme="dark"] .crm-connection,html[data-theme="dark"] .crm-metrics article,html[data-theme="dark"] .crm-table-card{background:#1d2a20;border-color:#3b5032}@media(max-width:900px){.crm-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-heading{align-items:flex-start}.crm-section-title{align-items:flex-start;flex-direction:column}.crm-toolbar select{flex:1;max-width:100%}.crm-table-footer{align-items:flex-start;flex-direction:column}}@media(max-width:600px){.crm-heading{flex-direction:column}.crm-tabs{width:100%}.crm-tabs button{flex:1}.crm-connection{align-items:flex-start;flex-direction:column}.crm-metrics{gap:10px}.crm-metrics article{padding:17px}.crm-toolbar{padding:13px}.crm-search{flex-basis:100%;min-width:0}.crm-toolbar>button{flex:1}.crm-modal-heading,.crm-modal-body,.crm-modal-footer{padding:18px}.data-embedded-tool .workspace-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* CRM follow-up overview and central marketing settings */
.crm-heading h1{margin-bottom:0}.crm-section-title{margin-top:12px}.crm-toolbar{align-items:flex-end;gap:12px}.crm-toolbar>label:not(.crm-search){display:grid;gap:7px;font-size:10px;color:var(--muted)}.crm-toolbar .crm-search{align-self:flex-end;min-height:43px}.crm-toolbar>label input[type=date]{width:145px;min-height:43px;box-sizing:border-box}.crm-toolbar>label select{min-height:43px}.crm-toolbar>button{min-height:43px}.crm-table-card table{min-width:1220px}.crm-shop-cell{display:flex;align-items:center;gap:10px;min-width:150px}.crm-shop-cell img,.crm-shop-fallback{width:35px;height:35px;object-fit:contain;border:1px solid var(--line);border-radius:8px;background:#fff;padding:4px;box-sizing:border-box}.crm-shop-fallback{display:grid;place-items:center;font-weight:700;color:#58825e;background:#edf4e8}.crm-item+.crm-item{margin-top:10px}.crm-time{min-width:170px;max-width:230px;color:#ae8835}.crm-time>div{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:11px}.crm-time>div small{margin:0!important;font-size:9px!important;white-space:nowrap}.crm-time progress{appearance:none;-webkit-appearance:none;display:block;width:100%;height:5px;border:0;border-radius:10px;overflow:hidden;margin-top:10px;background:#ecf0e5;color:#d8bc67;accent-color:#d8bc67}.crm-time progress::-webkit-progress-bar{background:#ecf0e5;border-radius:10px}.crm-time progress::-webkit-progress-value{background:#d8bc67;border-radius:10px}.crm-time progress::-moz-progress-bar{background:#d8bc67;border-radius:10px}.crm-time.ready,.crm-time.contacted{color:#73985c}.crm-time:is(.ready,.contacted) progress{accent-color:#8db277}.crm-time:is(.ready,.contacted) progress::-webkit-progress-value{background:#8db277}.crm-time:is(.ready,.contacted) progress::-moz-progress-bar{background:#8db277}.crm-follow-status{display:inline-flex;padding:8px 12px;border-radius:30px;border:1px solid #e8d9b5;background:#fbf7eb;color:#9f7b2c;font-size:10px;white-space:nowrap}.crm-follow-status.ready{background:#eef6e6;border-color:#d4e7c1;color:#648c46}.crm-follow-status.contacted{background:#edf3ee;border-color:#dbe5dc;color:#688371}.crm-metric-ready strong{color:#658c47}.crm-metric-waiting strong{color:#b48e35}.crm-metric-sent strong{color:#688b7a}#crmFootnote{font-size:10px;color:var(--muted)}.marketing-settings form{display:grid;gap:22px}.marketing-settings label{display:grid;gap:8px;font-size:12px;color:var(--muted)}.marketing-settings input,.marketing-settings textarea{padding:12px;border:1px solid var(--line);border-radius:9px;background:var(--bg);color:var(--ink);width:100%;box-sizing:border-box;font:inherit}.marketing-settings input[type=number]{max-width:150px}.marketing-settings textarea{font:12px/1.65 Consolas,monospace;resize:vertical}.marketing-template{border:1px solid var(--line);padding:20px;border-radius:12px}.marketing-template summary{cursor:pointer;font-weight:650;margin-bottom:20px}.marketing-template label{margin-bottom:17px}.marketing-settings iframe{width:100%;height:260px;border:1px solid var(--line);border-radius:10px;background:white}.marketing-save{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.shop-logo-rows{display:grid}.shop-logo-row{display:flex;align-items:center;gap:15px;padding:18px 0;border-bottom:1px solid var(--line)}.shop-logo-row>div:nth-child(2){flex:1;min-width:0}.shop-logo-row strong{font-size:13px}.shop-logo-row small{display:block;color:var(--muted);font-size:11px;margin-top:5px}.shop-logo-preview{display:grid;place-items:center;width:48px;height:48px;border:1px solid var(--line);border-radius:9px;background:white;flex-shrink:0;color:#638649;font-weight:700}.shop-logo-preview img{max-width:40px;max-height:40px;object-fit:contain}.shop-logo-upload{position:relative;overflow:hidden;cursor:pointer;font-size:11px;white-space:nowrap}.shop-logo-upload input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.shop-logo-delete{color:#bd5147!important;padding:8px 13px!important}html[data-theme=dark] .crm-follow-status.waiting{background:#393322;color:#ead28f;border-color:#5c5033}html[data-theme=dark] .crm-follow-status.ready{background:#2b3e2b;color:#bad9a6;border-color:#49613b}html[data-theme=dark] .crm-follow-status.contacted{background:#293b36;color:#b9d5c7;border-color:#405b51}@media(max-width:600px){.crm-toolbar>label:not(.crm-search){flex:1;min-width:130px}.crm-toolbar>label input[type=date]{width:100%}.shop-logo-row{flex-wrap:wrap}.shop-logo-row>div:nth-child(2){flex-basis:calc(100% - 70px)}.marketing-template{padding:14px}}

.crm-item strong,.crm-item small{white-space:nowrap;overflow-wrap:normal!important}.crm-table-card table{table-layout:auto}.crm-table-card th:nth-child(3){min-width:115px}

/* More readable columns, with the shop close to the customer. */
.crm-table-card table{table-layout:fixed;min-width:1350px;width:100%}.crm-col-customer{width:19%}.crm-col-shop{width:16%}.crm-col-items{width:12%}.crm-col-shipped{width:11%}.crm-col-revenue{width:11%}.crm-col-time{width:15%}.crm-col-status{width:8%}.crm-col-message{width:8%}.crm-table-card th{font-size:11px;padding:17px 18px}.crm-table-card td{font-size:14px;padding:19px 18px;vertical-align:middle}.crm-table-card td strong{font-size:14px;line-height:1.5}.crm-table-card td small{font-size:12px;line-height:1.5}.crm-shop-cell{min-width:0;gap:11px;font-size:13px}.crm-shop-cell>span:last-child{overflow-wrap:anywhere}.crm-shop-cell img,.crm-shop-fallback{flex-shrink:0;width:38px;height:38px}.crm-time{min-width:0;max-width:none}.crm-time>div{font-size:12px}.crm-time>div small{font-size:10px!important}.crm-follow-status{font-size:11px;padding:9px 11px}.crm-write{font-size:12px!important;padding:10px 11px}.crm-footer-info{min-width:0;display:grid;gap:8px}.crm-footer-info details{font-size:11px;color:var(--muted);max-width:780px}.crm-footer-info summary{cursor:pointer;width:fit-content}.crm-footer-info details p{font-size:11px;white-space:pre-line;line-height:1.65;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--panel)}
.crm-col-customer{width:18%}.crm-col-shop{width:15%}.crm-col-shipped{width:10%}.crm-col-status{width:9%}.crm-col-message{width:10%}.crm-table-footer>.crm-footer-info{display:grid;white-space:normal;align-items:start;gap:8px;flex:1}

.crm-modal input[readonly],.crm-modal textarea[readonly]{background:var(--bg,#f8faf6);line-height:1.7}.crm-modal #crmDialogState:empty{display:none}
.crm-language-row{padding:0 28px 18px;display:flex;justify-content:flex-end}.crm-language-row label{display:flex;align-items:center;gap:12px;font-size:12px;color:var(--muted)}.crm-language-row select{width:150px;min-height:40px;padding:8px 12px;border:1px solid var(--line);border-radius:9px;background:var(--panel,#fff);color:var(--text,#102c44)}@media(max-width:600px){.crm-language-row{padding-inline:20px;justify-content:flex-start}}
.review-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:22px 0}.review-settings-grid label{display:grid;gap:8px}.review-shop-brand{display:flex;align-items:center;gap:15px;padding:17px 20px;border:1px solid var(--line);border-radius:12px;margin-bottom:24px;background:var(--bg,#f6f8f3)}.review-shop-brand img{width:64px;height:52px;object-fit:contain}.review-shop-brand strong,.review-shop-brand small{display:block}.review-shop-brand small{font-size:12px;color:var(--muted);margin-top:5px}.review-brand-initial{display:grid;place-items:center;background:var(--panel,#fff);border-radius:12px;width:50px;height:50px;font-size:22px;color:#287a60}.marketing-settings #marketingHtmlPreview{width:100%;height:480px;border:1px solid var(--line);border-radius:12px;background:#fff}@media(max-width:700px){.review-settings-grid{grid-template-columns:1fr}}

.mail-setup{margin-top:32px;border-top:1px solid #d9ded8;padding-top:24px}.mail-setup>summary{display:flex;justify-content:space-between;gap:12px;cursor:pointer;font-weight:700}.mail-setup>summary span:last-child{font-size:12px;color:#28785d}.mail-setup-body{padding-top:18px}.mail-setup-body ol{line-height:1.8;padding-left:22px}.mail-setup form{display:grid;gap:16px;margin-top:22px;max-width:800px}.mail-setup-actions{display:flex;gap:10px;flex-wrap:wrap}.mail-enable{display:flex!important;align-items:center;gap:10px}.mail-enable input{width:auto!important}.mail-delivery{display:grid;gap:5px;padding:14px 0;border-bottom:1px solid #ddd}.mail-delivery small{color:#718096;overflow-wrap:anywhere}

.crm-html-preview{width:100%;height:520px;border:1px solid #dce3db;border-radius:12px;background:#fff}.crm-send-reason:empty{display:none}.crm-send-reason{padding:12px;background:#fff7e8;color:#805d26;border-radius:9px}.crm-mail-metrics{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin:18px 0}.crm-mail-metrics article{min-width:170px}.crm-mail-metrics strong{display:block;font-size:22px}.crm-mail-metrics small{display:block;color:#718096;font-size:12px}.crm-mail-metrics p{font-size:12px;color:#718096;width:100%;margin:0}.review-auto-settings{margin:24px 0}.review-auto-settings>label{margin:16px 0;display:block}
/* Review state: explicit elapsed time, actionable reason and request timestamp. */
.crm-time>div{display:grid;gap:4px;align-items:start}.crm-time>div>span{font-size:14px;line-height:1.45}.crm-time>div small{font-size:12px!important;white-space:normal;line-height:1.45}.crm-follow-status.contacted{background:#e8f4ec;border-color:#cce5d5;color:#226343}.crm-request-info{display:inline-grid;place-items:center;vertical-align:middle;position:relative;width:20px;height:20px;margin-left:5px;padding:0!important;border:1px solid #a9cdb6;border-radius:50%;background:transparent;color:#286c49;font:bold 12px Georgia,serif;box-shadow:none;cursor:help}.crm-request-info:focus-visible{outline:2px solid #43835e;outline-offset:3px}.crm-request-info:is(:hover,:focus-visible,[data-open])::after{content:attr(aria-label);position:absolute;bottom:calc(100% + 10px);right:0;z-index:20;width:max-content;max-width:260px;padding:10px 12px;border:1px solid #cce5d5;border-radius:9px;background:#f1faf4;color:#22583b;box-shadow:0 6px 22px #143b2120;font:500 13px/1.5 system-ui,sans-serif;white-space:normal;text-align:left}.crm-request-info:is(:hover,:focus-visible,[data-open])::before{content:'';position:absolute;right:5px;bottom:calc(100% + 5px);width:8px;height:8px;transform:rotate(45deg);background:#f1faf4;border-right:1px solid #cce5d5;border-bottom:1px solid #cce5d5;z-index:21}.crm-modal .crm-send-reason.crm-requested{margin:0;padding:10px 14px;background:#edf7f0;border:1px solid #cfe7d7;color:#216440;font-size:14px;font-weight:600;line-height:1.5}.crm-modal .crm-send-reason{font-size:14px;margin:0;line-height:1.45}
/* The dialog fits the viewport. Only the email preview or expanded text scrolls. */
.crm-review-modal{box-sizing:border-box;width:min(980px,calc(100vw - 32px));height:min(800px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);overflow:hidden}.crm-review-modal[open]{display:flex;flex-direction:column}.crm-review-modal .crm-modal-heading{padding:18px 24px;flex:none;gap:16px}.crm-review-modal .crm-modal-heading h2{font-size:24px;line-height:1.2}.crm-review-modal .crm-modal-heading .eyebrow{margin:0 0 6px;font-size:11px}.crm-review-modal .crm-modal-heading #crmClose{width:36px;height:36px;min-width:36px;display:grid;place-items:center;padding:0;border:1px solid var(--line);border-radius:9px;background:var(--panel,#fff);color:var(--ink);font:24px/1 system-ui}.crm-review-modal .crm-modal-body{flex:1;min-height:0;display:flex;flex-direction:column;gap:12px;padding:16px 24px 12px;overflow:hidden}.crm-review-modal .crm-recipient{flex:none;padding:10px 14px;display:flex;align-items:baseline;column-gap:14px;row-gap:2px;flex-wrap:wrap;border:1px solid var(--line);border-radius:9px;background:var(--bg,#f8faf6);margin:0}.crm-recipient strong{font-size:15px}.crm-recipient span{font-size:14px;overflow-wrap:anywhere}.crm-recipient small{font-size:12px;color:var(--muted);margin:0}.crm-review-modal label{font-size:14px;gap:6px;flex:none}.crm-review-modal input{padding:8px 11px;font-size:14px;line-height:1.5}.crm-review-modal .crm-preview-label{flex:1;min-height:60px;display:flex;flex-direction:column}.crm-review-modal .crm-html-preview{display:block;flex:1;min-height:0;height:100%;width:100%;box-sizing:border-box}.crm-review-modal .crm-plaintext{flex:none;max-height:130px;overflow:auto;font-size:12px}.crm-review-modal .crm-plaintext textarea{display:block;height:95px;resize:none;font-size:12px;margin-top:8px}.crm-review-modal .crm-state{flex:none;max-height:54px;overflow:auto;margin:0;font-size:13px;line-height:1.4}.crm-review-modal .crm-language-row{flex:none;padding:0 24px 12px}.crm-review-modal .crm-language-row label{font-size:13px}.crm-review-modal .crm-language-row select{min-height:34px;padding:5px 10px;line-height:1.5;font-size:13px}.crm-review-modal .crm-modal-footer{flex:none;padding:14px 24px;gap:9px;justify-content:flex-end;align-items:center}.crm-review-modal .crm-modal-footer button{font-size:13px;line-height:1.4;min-height:38px;padding:9px 13px}.crm-review-modal .crm-modal-footer #crmDraftSave{margin-right:auto}.crm-review-modal [hidden]{display:none!important}html[data-theme=dark] .crm-review-modal .crm-send-reason.crm-requested{background:#243e30;border-color:#416650;color:#bce4c9}html[data-theme=dark] .crm-request-info{color:#bce4c9;border-color:#52765f}html[data-theme=dark] .crm-request-info:is(:hover,:focus-visible,[data-open])::after{background:#243e30;color:#c7ead1;border-color:#416650}html[data-theme=dark] .crm-request-info:is(:hover,:focus-visible,[data-open])::before{background:#243e30;border-color:#416650}@media(max-height:700px){.crm-review-modal .crm-modal-heading{padding-block:12px}.crm-review-modal .crm-modal-body{gap:8px;padding-block:10px}.crm-review-modal .crm-recipient{padding-block:6px}.crm-review-modal .crm-language-row{padding-bottom:8px}.crm-review-modal .crm-modal-footer{padding-block:10px}}@media(max-width:600px){.crm-review-modal{width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);border-radius:14px}.crm-review-modal .crm-modal-heading{padding:12px 16px}.crm-review-modal .crm-modal-heading h2{font-size:20px}.crm-review-modal .crm-modal-body{padding-inline:16px;gap:9px}.crm-review-modal .crm-recipient{gap:2px 9px}.crm-review-modal .crm-language-row{padding-inline:16px}.crm-review-modal .crm-modal-footer{padding:10px 16px;gap:7px}.crm-review-modal .crm-modal-footer button{font-size:12px;min-height:34px;padding:7px 10px}}
.crm-status-wrap{display:inline-flex;align-items:center;gap:5px}.crm-status-wrap .crm-request-info{margin-left:0;flex:none}.crm-col-customer{width:17%}.crm-col-status{width:10%}
/* Returns remain visible, but are excluded from review requests. */
.crm-follow-status.return{background:#fcebea;border-color:#efc6c2;color:#a43431}.crm-time.return{color:#a43431}.crm-time.return progress{accent-color:#c66a64}.crm-time.return progress::-webkit-progress-value{background:#c66a64}.crm-time.return progress::-moz-progress-bar{background:#c66a64}.crm-metric-return strong{color:#aa3935}.crm-modal .crm-send-reason.crm-return-notice{background:#fceeee;border:1px solid #efceca;color:#a43431;font-weight:600}html[data-theme=dark] .crm-follow-status.return,html[data-theme=dark] .crm-modal .crm-send-reason.crm-return-notice{background:#472b2a;border-color:#754440;color:#efaaa4}html[data-theme=dark] .crm-metric-return strong,html[data-theme=dark] .crm-time.return{color:#efaaa4}@media(min-width:901px){#crmPane .crm-metrics{grid-template-columns:repeat(5,minmax(0,1fr))}}
.crm-follow-status.blocked{background:#fcebea;border-color:#efc6c2;color:#a43431}.crm-time.blocked{color:#a43431}.crm-time.blocked>div small,.crm-time.return>div small{color:#a43431!important}.crm-time.blocked progress{accent-color:#c66a64}.crm-time.blocked progress::-webkit-progress-value{background:#c66a64}.crm-time.blocked progress::-moz-progress-bar{background:#c66a64}html[data-theme=dark] .crm-follow-status.blocked{background:#472b2a;border-color:#754440;color:#efaaa4}html[data-theme=dark] .crm-time.blocked,html[data-theme=dark] .crm-time.blocked>div small,html[data-theme=dark] .crm-time.return>div small{color:#efaaa4!important}
/* Per-order internal notes. */
#crmPane .crm-note-button{display:flex;align-items:flex-start;gap:5px;margin:7px 0 0;padding:3px 0;min-height:0;border:0;background:transparent;box-shadow:none;color:#718079;font-size:11px;line-height:1.45;text-align:left;max-width:100%;cursor:pointer}#crmPane .crm-note-button svg{flex:none;margin-top:1px}#crmPane .crm-note-button span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}#crmPane .crm-note-button.has-note{color:#315e4c}#crmPane .crm-note-button.is-blocked{color:#a43431}#crmPane .crm-note-button:hover{text-decoration:underline}#crmPane .crm-note-button:focus-visible{outline:2px solid #47745f;outline-offset:3px;border-radius:3px}.review-note-dialog{box-sizing:border-box;width:min(540px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:0;border:1px solid #dce3dd;border-radius:18px;background:#fff;color:#203a30;box-shadow:0 24px 80px #10271d38}.review-note-dialog::backdrop{background:#12221970;backdrop-filter:blur(4px)}.review-note-dialog header{display:flex;justify-content:space-between;align-items:center;padding:22px 24px;border-bottom:1px solid #e6eae6}.review-note-dialog header p{margin:0 0 5px;font-size:10px;letter-spacing:1.6px;color:#7a857e}.review-note-dialog h2{margin:0;font-size:21px}.review-note-dialog button{cursor:pointer;border:1px solid #dce3dd;background:#fff;color:inherit;border-radius:9px;padding:10px 14px;font:inherit;font-size:13px}.review-note-dialog [data-note-close]{width:34px;height:34px;padding:0;font-size:23px;line-height:1}.review-note-dialog form{padding:21px 24px}.review-note-dialog form>label:first-child{display:block;font-size:13px;font-weight:600}.review-note-dialog textarea{display:block;box-sizing:border-box;width:100%;resize:vertical;min-height:100px;max-height:220px;margin:9px 0 17px;padding:12px;border:1px solid #d3ddd6;border-radius:9px;background:#fafbf9;color:inherit;font:inherit;line-height:1.5}.review-note-dialog .review-note-block{display:flex;align-items:flex-start;gap:10px;padding:13px;border:1px solid #e2e7e2;border-radius:10px;background:#f6f8f5;font-size:13px}.review-note-block input{width:16px;height:16px;margin:2px 0 0;accent-color:#315f49}.review-note-block small{display:block;font-size:12px;font-weight:400;line-height:1.5;margin-top:4px;color:#738078}.review-note-help{font-size:11px;color:#738078;line-height:1.5;margin:12px 0}.review-note-dialog [role=status]{font-size:12px;color:#a43431;line-height:1.5}.review-note-dialog [role=status]:empty{display:none}.review-note-dialog footer{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.review-note-dialog .primary{background:#214d3b;border-color:#214d3b;color:white;font-weight:600}.review-note-dialog button:disabled{opacity:.5;cursor:wait}.review-note-dialog :is(button,input,textarea):focus-visible{outline:2px solid #6c977f;outline-offset:2px}html[data-theme=dark] .review-note-dialog{background:#202824;color:#e5ebe6;border-color:#3e4b42}html[data-theme=dark] .review-note-dialog :is(header,button,textarea,.review-note-block){border-color:#3e4b42}html[data-theme=dark] .review-note-dialog :is(button,textarea,.review-note-block){background:#29352d;color:#e5ebe6}html[data-theme=dark] .review-note-dialog .primary{background:#315f49}html[data-theme=dark] #crmPane .crm-note-button.has-note{color:#b4d7bf}html[data-theme=dark] #crmPane .crm-note-button.is-blocked{color:#efaaa4}
.review-note-dialog header{position:static;background:#fff;color:#203a30;box-shadow:none;min-height:0;width:auto}.review-note-dialog [data-note-close]{background:#f6f8f5;color:#203a30;display:grid;place-items:center}.review-note-dialog header p{color:#7a857e}.review-note-dialog footer{position:static;background:transparent;padding:0;border:0}.crm-customer-name{display:flex;align-items:center;gap:7px}.crm-country-flag{display:inline-flex;flex:none;vertical-align:middle;line-height:1}.crm-country-flag img{display:block;width:20px;height:14px;object-fit:cover;border:1px solid #122b241c;border-radius:3px;box-shadow:0 1px 2px #122b2412}html[data-theme=dark] .review-note-dialog header{background:#202824;color:#e5ebe6}html[data-theme=dark] .review-note-dialog [data-note-close]{background:#29352d;color:#e5ebe6}
