/* Hallmark · component: advertiser CRM · genre: editorial utility · theme: existing Influmachi
 * States: default, hover, focus, active, disabled, loading, error, success.
 * Pre-emit critique: Philosophy 4, Hierarchy 5, Execution 4, Specificity 5, Restraint 5, Variety 4. */
.acrm {--ac-ink:#0f172a;--ac-muted:#475569;--ac-line:#cbd5e1;--ac-paper:#ffffff;--ac-soft:#f8fafc;--ac-accent:#9a3412;--ac-accent-bg:#fff7ed;--ac-good:#065f46;--ac-good-bg:#d1fae5;--ac-bad:#7f1d1d;--ac-bad-bg:#fee2e2;--ac-focus:#2563eb; color:var(--ac-ink)!important; background:var(--ac-paper)!important;font-family:inherit;box-sizing:border-box;}
.acrm *, .acrm *::before,.acrm *::after{box-sizing:border-box;}
.acrm [hidden]{display:none!important;}
.acrm h1,.acrm h2,.acrm h3,.acrm label,.acrm th,.acrm td,.acrm p,.acrm strong,.acrm span,.acrm b,.acrm summary,.acrm div{color:var(--ac-ink)!important;}
.acrm h1,.acrm h2,.acrm h3{font-style:normal;overflow-wrap:anywhere;}
.acrm-page{max-width:1460px;margin:0 auto;padding:24px 24px 76px;min-width:0;}
.acrm-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px;}
.acrm h1{font-size:25px;line-height:1.35;margin:0 0 5px;font-weight:800;}
.acrm h2{font-size:19px;line-height:1.4;margin:0;font-weight:800;}
.acrm h3{font-size:15px;margin:0 0 10px;font-weight:700;}
.acrm p{margin:0;line-height:1.6;}
.acrm .acrm-muted{color:var(--ac-muted)!important;font-size:12px;line-height:1.5;}
.acrm-actions{display:flex;flex-wrap:wrap;gap:7px;align-items:center;}
.acrm button,.acrm .acrm-btn{appearance:none;border:1px solid var(--ac-line)!important;background:var(--ac-paper)!important;color:var(--ac-ink)!important;border-radius:5px;min-height:38px;padding:8px 12px;font:inherit;font-size:13px;font-weight:600;line-height:1.2;cursor:pointer;white-space:nowrap;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:5px;}
.acrm button:hover,.acrm .acrm-btn:hover{background:var(--ac-soft)!important;border-color:var(--ac-muted)!important;}
.acrm button:active{transform:translateY(1px);}
.acrm button:focus-visible,.acrm input:focus-visible,.acrm select:focus-visible,.acrm textarea:focus-visible,.acrm a:focus-visible{outline:2px solid var(--ac-focus)!important;outline-offset:2px;}
.acrm button:disabled{opacity:.55;cursor:not-allowed;transform:none;}
.acrm .acrm-primary{background:var(--ac-accent)!important;border-color:var(--ac-accent)!important;color:var(--ac-paper)!important;}
.acrm .acrm-primary:hover{background:var(--ac-ink)!important;border-color:var(--ac-ink)!important;}
.acrm .acrm-danger{color:var(--ac-bad)!important;border-color:var(--ac-bad)!important;}
.acrm .acrm-link{color:var(--ac-accent)!important;min-height:32px;padding:5px 8px;border-color:transparent!important;}
.acrm a{color:var(--ac-accent)!important;text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere;}
.acrm-tabs{display:flex;gap:20px;border-bottom:1px solid var(--ac-line);margin-bottom:14px;}
.acrm-tabs button{border:0!important;border-bottom:3px solid transparent!important;border-radius:0;padding:10px 0;min-height:42px;}
.acrm-tabs button[aria-selected=true]{border-bottom-color:var(--ac-accent)!important;color:var(--ac-accent)!important;}
.acrm-summary{display:flex;gap:8px 24px;flex-wrap:wrap;padding:10px 0 14px;font-size:13px;}
.acrm-summary strong{font-size:17px;margin-right:4px;}
.acrm-filters{display:grid;grid-template-columns:minmax(170px,2fr) repeat(4,minmax(110px,1fr)) auto;gap:9px;align-items:end;padding:14px;background:var(--ac-soft)!important;border:1px solid var(--ac-line);border-radius:5px;}
.acrm-field{display:flex;flex-direction:column;gap:5px;min-width:0;}
.acrm label{font-size:12px;font-weight:600;line-height:1.4;}
.acrm input:not([type=checkbox]):not([type=radio]):not([type=file]),.acrm select,.acrm textarea{width:100%;min-width:0;border:1px solid var(--ac-line)!important;background:var(--ac-paper)!important;color:var(--ac-ink)!important;border-radius:4px;padding:8px 9px;font:inherit;font-size:13px;line-height:1.4;min-height:38px;}
.acrm input::placeholder,.acrm textarea::placeholder{color:var(--ac-muted)!important;opacity:1;}
.acrm input[type=checkbox],.acrm input[type=radio]{accent-color:var(--ac-accent);min-width:17px;width:17px;height:17px;margin:0;vertical-align:middle;}
.acrm-check{display:flex;align-items:center;gap:7px;min-height:38px;cursor:pointer;}
.acrm-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:12px 0;min-height:60px;}
.acrm-table-wrap{width:100%;overflow-x:auto;border-top:1px solid var(--ac-line);border-bottom:1px solid var(--ac-line);}
.acrm table{width:100%;border-collapse:collapse;font-size:13px;line-height:1.5;table-layout:fixed;background:var(--ac-paper)!important;color:var(--ac-ink)!important;}
.acrm th{text-align:left;padding:9px 10px;background:var(--ac-soft)!important;font-size:12px;font-weight:700;border-bottom:1px solid var(--ac-line);}
.acrm td{padding:11px 10px;vertical-align:top;border-bottom:1px solid var(--ac-line);overflow-wrap:anywhere;background:var(--ac-paper)!important;}
.acrm tbody tr:last-child td{border-bottom:0;}
.acrm tbody tr:hover td{background:var(--ac-soft)!important;}
.acrm .acrm-check-cell{width:36px;padding-top:14px;}
.acrm .acrm-company{font-weight:700;font-size:14px;margin-bottom:3px;}
.acrm .acrm-badge{display:inline-block;background:var(--ac-soft)!important;color:var(--ac-muted)!important;border:1px solid var(--ac-line);border-radius:3px;padding:1px 6px;font-size:11px;white-space:nowrap;margin:2px 2px 0 0;}
.acrm .acrm-badge.good{background:var(--ac-good-bg)!important;color:var(--ac-good)!important;border-color:var(--ac-good)!important;}
.acrm .acrm-badge.bad{background:var(--ac-bad-bg)!important;color:var(--ac-bad)!important;border-color:var(--ac-bad)!important;}
.acrm-pagination{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;padding:14px 0;}
.acrm-empty{padding:36px 18px;text-align:center;border:1px solid var(--ac-line);background:var(--ac-soft)!important;}
.acrm-status{padding:11px 13px;border-left:3px solid var(--ac-line);background:var(--ac-soft)!important;margin:10px 0;font-size:13px;line-height:1.5;overflow-wrap:anywhere;}
.acrm .acrm-status.error{background:var(--ac-bad-bg)!important;color:var(--ac-bad)!important;border-color:var(--ac-bad);}
.acrm .acrm-status.success{background:var(--ac-good-bg)!important;color:var(--ac-good)!important;border-color:var(--ac-good);}
.acrm .acrm-status.loading{border-color:var(--ac-accent);}
.acrm-dialog-overlay{position:fixed;inset:0;z-index:250;display:none;align-items:center;justify-content:center;background:rgba(15,23,42,.5)!important;padding:18px;}
.acrm-dialog-overlay.open{display:flex;}
body:has(.acrm-dialog-overlay.open) #leeo-assistant-launcher{display:none!important;}
.acrm-dialog{width:min(920px,100%);max-height:calc(100dvh - 36px);display:flex;flex-direction:column;border-radius:7px;overflow:hidden;box-shadow:0 14px 50px rgba(15,23,42,.2);background:var(--ac-paper)!important;color:var(--ac-ink)!important;}
.acrm-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid var(--ac-line);}
.acrm-dialog-head button{font-size:20px;min-width:38px;padding:5px;}
.acrm-dialog-body{overflow:auto;padding:18px 20px;min-height:0;}
.acrm-dialog-footer{display:flex;justify-content:flex-end;align-items:center;gap:8px;flex-wrap:wrap;border-top:1px solid var(--ac-line);padding:13px 20px;background:var(--ac-soft)!important;}
.acrm-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.acrm-wide{grid-column:1/-1;}
.acrm-form textarea{min-height:80px;resize:vertical;}
.acrm-options{max-height:210px;overflow:auto;border:1px solid var(--ac-line);border-radius:4px;margin-top:8px;}
.acrm-option{display:flex;align-items:flex-start;gap:9px;padding:10px;border-bottom:1px solid var(--ac-line);cursor:pointer;}
.acrm-option:last-child{border-bottom:0;}
.acrm-option input{margin-top:3px!important;flex-shrink:0;}
.acrm-option .acrm-muted{font-weight:400;}
.acrm-selected{padding:8px 0;font-size:12px;}
.acrm .acrm-mail{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:13px;line-height:1.7;background:var(--ac-paper)!important;color:var(--ac-ink)!important;border:1px solid var(--ac-line);border-radius:4px;padding:16px;max-height:340px;overflow:auto;margin:8px 0;}
.acrm-preview-top{border-top:2px solid var(--ac-accent);padding-top:15px;margin-top:18px;}
.acrm-recipient-list{max-height:140px;overflow:auto;margin:8px 0;padding:8px 10px;border:1px solid var(--ac-line);font-size:12px;line-height:1.7;}
.acrm .acrm-strong{font-weight:700;}
.acrm .acrm-job{padding:15px 0;border-bottom:1px solid var(--ac-line);}
.acrm-job-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;}
.acrm details{margin:9px 0;}
.acrm summary{cursor:pointer;font-size:12px;font-weight:600;}
@media(max-width:1050px){.acrm-filters{grid-template-columns:repeat(3,minmax(0,1fr));}.acrm-head{flex-wrap:wrap;}}
@media(max-width:760px){.acrm-page{padding:18px 12px 88px;}.acrm-head{gap:12px;margin-bottom:13px;}.acrm h1{font-size:23px;}.acrm-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:10px;}.acrm-filter-search{grid-column:1/-1;}.acrm-summary{gap:7px 16px;}.acrm button,.acrm .acrm-btn{min-height:42px;padding:9px 10px;}.acrm-table-wrap{overflow:visible;border-bottom:0;}.acrm table,.acrm tbody{display:block;}.acrm thead{display:none;}.acrm tr{display:grid;grid-template-columns:28px minmax(0,1fr);gap:0;padding:10px 0;border-bottom:1px solid var(--ac-line);}.acrm td{display:block;border:0;padding:4px 0;grid-column:2;background:var(--ac-paper)!important;}.acrm td.acrm-check-cell{grid-column:1;grid-row:1/7;width:auto;padding:8px 0;}.acrm td[data-label]::before{content:attr(data-label);display:inline-block;color:var(--ac-muted);font-size:11px;margin-right:8px;}.acrm td.acrm-cell-company::before{display:none;}.acrm .acrm-company{font-size:15px;}.acrm-dialog-overlay{padding:8px;}.acrm-dialog{max-height:calc(100dvh - 16px);}.acrm-dialog-head{padding:12px;}.acrm-dialog-body{padding:14px 12px;}.acrm-dialog-footer{padding:10px 12px;}.acrm-form{grid-template-columns:minmax(0,1fr);}.acrm-dialog-footer button{max-width:100%;}.acrm-mail{padding:12px!important;}.acrm-head>.acrm-actions{width:100%;}}
@media(prefers-reduced-motion:reduce){.acrm button:active{transform:none;}}
