/* Outbound homeowner communications */
.workspace-theme-outbound { --workspace-theme-rgb: 14, 116, 144; }
[data-outbound-workspace-root],.outbound-page-shell { width:100%; }
.outbound-page-shell { display:grid;gap:18px;padding:8px 0 40px;color:#14243a; }
.outbound-summary { display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 30px;border:1px solid #dbe6ef;border-radius:22px;background:linear-gradient(135deg,#fff 0%,#f3fbfd 100%);box-shadow:0 16px 40px rgba(15,35,55,.08); }
.outbound-summary>div>span,.outbound-library-head span,.outbound-editor-head span,.outbound-outbox-recipient>span,.outbound-outbox-purpose>span { color:#0e7490;font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase; }
.outbound-summary h1 { margin:4px 0;font-size:clamp(30px,4vw,44px); }
.outbound-summary p,.outbound-library-head p { margin:0;color:#607086; }
.outbound-summary aside { min-width:112px;display:grid;place-items:center;padding:16px;border-radius:18px;background:#0f354b;color:#fff; }
.outbound-summary aside strong { font-size:30px;line-height:1; }
.outbound-summary aside span { margin-top:4px;font-size:12px; }
.outbound-tabs { display:flex;gap:8px;padding:6px;border:1px solid #dbe6ef;border-radius:16px;background:#fff; }
.outbound-tabs button { flex:1;display:flex;justify-content:center;gap:9px;padding:12px 16px;border:0;border-radius:11px;background:transparent;color:#52647a;font:inherit;font-weight:800;cursor:pointer; }
.outbound-tabs button.active { background:#10344b;color:#fff; }
.outbound-tabs span { min-width:22px;padding:1px 6px;border-radius:999px;background:rgba(14,116,144,.12);font-size:11px; }
.outbound-tabs button.active span { background:rgba(255,255,255,.18); }
.outbound-library-head { display:flex;justify-content:space-between;padding:8px 2px 0; }
.outbound-library-head h2 { margin:3px 0; }
.outbound-template-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px; }
.outbound-template-card { width:100%;display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:14px;min-height:112px;padding:18px;border:1px solid #dce6ef;border-radius:16px;background:#fff;color:inherit;text-align:left;font:inherit;box-shadow:0 8px 22px rgba(22,43,67,.05);cursor:pointer; }
.outbound-template-card:hover { border-color:#67b7c9;box-shadow:0 12px 28px rgba(14,116,144,.1);transform:translateY(-1px); }
.outbound-template-card>span { width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#e8f7fa;color:#0e7490;font-weight:900; }
.outbound-template-card strong { display:block; }
.outbound-template-card p { overflow:hidden;margin:5px 0;color:#5d6e82;white-space:nowrap;text-overflow:ellipsis; }
.outbound-template-card small { color:#8492a3; }
.outbound-template-card>b { color:#0e7490;font-size:12px; }
.outbound-template-card.is-missing { cursor:default; }
.outbound-editor-card,.outbound-outbox-card { padding:24px;border:1px solid #dbe6ef;border-radius:20px;background:#fff;box-shadow:0 12px 34px rgba(16,39,63,.07); }
.outbound-project-composer { scroll-margin-top:18px;padding:22px 24px;border:1px solid #d4e5e9;border-radius:18px;background:linear-gradient(145deg,#fff 0%,#f8fcfd 100%);box-shadow:0 10px 28px rgba(20,43,69,.07); }
.outbound-project-composer-head { display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:20px;padding-bottom:20px;border-bottom:1px solid #e5eef1; }
.outbound-project-composer-copy { min-width:0; }
.outbound-project-stage { width:max-content;display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border:1px solid #c7e7ea;border-radius:999px;background:#eaf8f9;color:#087b86;font-size:10px;font-weight:900;letter-spacing:.075em;line-height:1;text-transform:uppercase; }
.outbound-project-stage b { color:#5eabb2;font-weight:900; }
.outbound-project-composer-head h2 { margin:10px 0 5px;color:#142b45;font-size:clamp(23px,2.2vw,30px);line-height:1.15;letter-spacing:-.025em; }
.outbound-project-recipient { display:flex;align-items:center;gap:7px;margin:0;color:#64758b;font-size:13px; }
.outbound-project-recipient svg { width:15px;height:15px;flex:0 0 auto;fill:none;stroke:#138894;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round; }
.outbound-project-recipient span { overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.outbound-project-composer-head>a { min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:0 0 auto;padding:8px 12px;border:1px solid #cadde2;border-radius:10px;background:#fff;color:#31566a;font-size:12px;font-weight:850;text-decoration:none;box-shadow:0 3px 10px rgba(20,43,69,.06);transition:border-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease; }
.outbound-project-composer-head>a svg { width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round; }
.outbound-project-composer-head>a:hover,.outbound-project-composer-head>a:focus-visible { border-color:#70b9c2;color:#087f8c;box-shadow:0 6px 16px rgba(8,127,140,.12);transform:translateY(-1px);outline:2px solid rgba(8,127,140,.18);outline-offset:2px; }
.outbound-project-composer form { display:grid;gap:14px; }
.outbound-project-composer label { display:grid;gap:6px;color:#52647a;font-size:12px;font-weight:800; }
.outbound-project-composer input,.outbound-project-composer select,.outbound-project-composer textarea { width:100%;padding:11px 12px;border:1px solid #cbd9e5;border-radius:10px;background:#fff;color:#17283c;font:inherit; }
.outbound-project-composer textarea { min-height:76px;resize:vertical; }
.outbound-project-composer .outbound-message-field { min-height:150px; }
.outbound-email-preview-editor { width:min(760px,100%);margin:0 auto;border:1px solid #d5e3ea;border-radius:22px;background:#fff;box-shadow:0 16px 42px rgba(20,43,69,.1);overflow:hidden; }
.outbound-email-preview-hero { padding:34px 38px;background:linear-gradient(135deg,#004f59 0%,#00999d 62%,#08bcc0 100%);color:#fff; }
.outbound-email-preview-hero>span { display:block;margin-bottom:9px;color:#bff7f6;font-size:12px;font-weight:900;letter-spacing:.14em;text-transform:uppercase; }
.outbound-email-preview-hero label { display:block; }
.outbound-project-composer .outbound-email-preview-hero textarea { min-height:72px;padding:0;border:0;border-radius:8px;background:transparent;color:#fff;font-size:clamp(28px,3.4vw,40px);font-weight:900;line-height:1.15;letter-spacing:-.025em;resize:vertical;box-shadow:none; }
.outbound-project-composer .outbound-email-preview-hero textarea:hover { background:rgba(255,255,255,.08); }
.outbound-project-composer .outbound-email-preview-hero textarea:focus { background:rgba(255,255,255,.12);outline:2px solid rgba(191,247,246,.58);outline-offset:5px; }
.outbound-email-preview-body { padding:34px 38px 30px;color:#17304c; }
.outbound-email-preview-body p { margin:0;font-size:17px;line-height:1.6; }
.outbound-email-preview-intro { margin-top:12px!important;margin-bottom:26px!important; }
.outbound-email-preview-card { display:grid!important;gap:6px;margin-bottom:16px;padding:18px 20px;border:1px solid #d5e8e9;border-left:4px solid #00aeb3;border-radius:14px;background:#f4f9f9;color:#17304c!important;cursor:text; }
.outbound-email-preview-card>span { color:#007d82;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase; }
.outbound-project-composer .outbound-email-preview-card textarea { min-height:54px;padding:0;border:0;border-radius:7px;background:transparent;color:#17304c;font-size:16px;font-weight:650;line-height:1.55;resize:vertical;box-shadow:none; }
.outbound-email-preview-card:hover { border-color:#9edbdd;border-left-color:#00aeb3;background:#f0fafa; }
.outbound-project-composer .outbound-email-preview-card textarea:focus { background:#fff;outline:2px solid rgba(0,174,179,.22);outline-offset:5px; }
.outbound-email-preview-closing { margin-top:26px!important; }
.outbound-email-preview-signature { margin-top:6px!important;font-weight:800; }
.outbound-email-preview-footer { padding:20px 38px;border-top:1px solid #d5e8e9;background:#eef6f6;color:#51697c;font-size:14px;line-height:1.5; }
.outbound-email-preview-footer strong { color:#17304c; }
.outbound-template-editor-dialog { width:min(860px,calc(100vw - 28px));max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);padding:0;border:0;border-radius:22px;background:transparent;box-shadow:0 30px 90px rgba(4,31,43,.34);overflow:hidden; }
.outbound-template-editor-dialog::backdrop { background:rgba(4,24,37,.58);backdrop-filter:blur(4px); }
.outbound-template-visual-form,.outbound-template-text-form { max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);overflow:auto;background:#fff; }
.outbound-template-visual-form .outbound-email-preview-editor { width:100%;margin:0;border:0;border-radius:22px;box-shadow:none; }
.outbound-template-visual-form .outbound-email-preview-hero { padding:20px 24px 22px; }
.outbound-template-modal-bar { display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:14px; }
.outbound-template-modal-bar>div { display:grid;gap:3px; }
.outbound-template-modal-bar>div>span { color:#bff7f6;font-size:11px;font-weight:900;letter-spacing:.14em;text-transform:uppercase; }
.outbound-template-modal-bar small { color:rgba(255,255,255,.76);font-size:11px;font-weight:750; }
.outbound-template-modal-bar button { min-height:36px;padding:8px 13px;border:1px solid rgba(255,255,255,.38);border-radius:10px;background:rgba(255,255,255,.12);color:#fff;font:inherit;font-size:12px;font-weight:900;cursor:pointer; }
.outbound-template-modal-bar button:hover,.outbound-template-modal-bar button:focus-visible { background:rgba(255,255,255,.2);outline:2px solid rgba(191,247,246,.45);outline-offset:2px; }
.outbound-template-visual-form .outbound-email-preview-hero input[name="headline"] { display:block;width:100%;min-width:0;height:44px;padding:3px 6px;border:0;border-radius:7px;background:transparent;color:#fff;font:inherit;font-size:clamp(23px,3.2vw,30px);font-weight:900;line-height:1.12;letter-spacing:-.025em;box-sizing:border-box;box-shadow:none; }
.outbound-template-visual-form .outbound-email-preview-hero input[name="headline"]:hover { background:rgba(255,255,255,.08); }
.outbound-template-visual-form .outbound-email-preview-hero input[name="headline"]:focus { background:rgba(255,255,255,.12);outline:2px solid rgba(191,247,246,.58);outline-offset:4px; }
.outbound-template-visual-form .outbound-email-preview-body { padding:22px 24px 18px; }
.outbound-template-visual-form .outbound-email-preview-body p { font-size:14px;line-height:1.45; }
.outbound-template-visual-form .outbound-email-preview-intro { margin-top:5px!important;margin-bottom:16px!important; }
.outbound-template-card-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px; }
.outbound-template-visual-form .outbound-email-preview-card { min-width:0;margin:0;padding:13px 14px;border-radius:12px; }
.outbound-template-visual-form .outbound-email-preview-card textarea { min-height:76px;padding:0;border:0;border-radius:6px;background:transparent;color:#17304c;font:inherit;font-size:13px;font-weight:650;line-height:1.4;resize:none;box-shadow:none; }
.outbound-template-visual-form .outbound-email-preview-card textarea:focus { background:#fff;outline:2px solid rgba(0,174,179,.22);outline-offset:4px; }
.outbound-template-visual-form .outbound-email-preview-closing { margin-top:16px!important; }
.outbound-template-visual-form .outbound-email-preview-signature { margin-top:2px!important; }
.outbound-template-modal-actions { display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:14px;padding:14px 24px;border-top:1px solid #d5e8e9;background:#eef6f6; }
.outbound-template-modal-actions.is-save-only { grid-template-columns:1fr; }
.outbound-template-modal-actions p { margin:0;color:#607086;font-size:11px;font-weight:750; }
.outbound-template-modal-actions .resource-link.primary { border-color:#008b8f;background:linear-gradient(135deg,#008b8f,#05bfc4);box-shadow:0 10px 22px rgba(0,139,143,.18); }
.outbound-template-send-controls { display:grid;grid-template-columns:112px repeat(2,minmax(165px,1fr)) auto;align-items:end;gap:9px; }
.outbound-template-send-controls label { display:grid;gap:4px;color:#587082;font-size:10px;font-weight:900;text-transform:uppercase; }
.outbound-template-send-controls select,.outbound-template-send-controls input { width:100%;height:40px;padding:0 10px;border:1px solid #bfd8db;border-radius:9px;background:#fff;color:#17304c;font:inherit;font-size:12px;font-weight:800; }
.outbound-template-send-controls .resource-link { min-height:40px;padding:8px 13px;white-space:nowrap; }
.outbound-template-send-controls .resource-link:disabled { cursor:not-allowed;opacity:.48;box-shadow:none; }
.outbound-template-save-controls { display:grid;justify-items:end;gap:6px; }
.outbound-template-save-controls p:empty { display:none; }
.outbound-template-save-controls .resource-link { min-height:40px;white-space:nowrap; }
.outbound-template-text-form { padding:0;background:#fff; }
.outbound-text-preview-editor { overflow:hidden;border-radius:22px;background:#fff; }
.outbound-text-preview-hero { padding:20px 24px 22px; }
.outbound-text-preview-hero h2 { margin:0;color:#fff;font-size:clamp(23px,3.2vw,30px);line-height:1.12;letter-spacing:-.025em; }
.outbound-text-preview-body { padding:24px;background:linear-gradient(180deg,#fff,#f5fbfb); }
.outbound-phone-preview { width:min(540px,100%);margin:0 auto;padding:15px;border:1px solid #cce3e5;border-radius:22px;background:#fff;box-shadow:0 14px 32px rgba(0,79,89,.1); }
.outbound-phone-preview-head { display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 4px 12px;border-bottom:1px solid #e2eff0; }
.outbound-phone-preview-head span { color:#17304c;font-size:14px;font-weight:900; }
.outbound-phone-preview-head small { color:#708397;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.06em; }
.outbound-text-bubble { display:block;margin:16px 0 8px;padding:12px 14px;border-radius:16px 16px 4px 16px;background:linear-gradient(135deg,#007f88,#08b5b9); }
.outbound-text-bubble textarea { display:block;width:100%;min-height:96px;padding:0;border:0;border-radius:7px;background:transparent;color:#fff;font:inherit;font-size:15px;font-weight:700;line-height:1.45;resize:vertical;box-shadow:none; }
.outbound-text-bubble textarea:focus { background:rgba(255,255,255,.1);outline:2px solid rgba(191,247,246,.55);outline-offset:5px; }
.outbound-phone-preview>small { display:block;padding:0 4px;color:#74869a;font-size:10px;line-height:1.4; }
.outbound-text-source-details { width:min(720px,100%);margin:18px auto 0;border:1px solid #d8e8ea;border-radius:13px;background:#fff; }
.outbound-text-source-details summary { padding:12px 14px;color:#087f87;font-size:12px;font-weight:900;cursor:pointer; }
.outbound-text-source-details .outbound-editor-summary { padding:0 14px 14px; }
.outbound-template-text-form label { display:grid;gap:6px;color:#52647a;font-size:12px;font-weight:800; }
.outbound-template-text-form .outbound-editor-summary textarea { width:100%;min-height:72px;padding:10px;border:1px solid #cbd9e5;border-radius:9px;background:#fff;color:#17283c;font:inherit;font-size:12px;resize:vertical; }
.outbound-compose-appointment { display:grid;grid-template-columns:minmax(240px,420px) 1fr;align-items:end;gap:14px;padding:14px 16px;border:1px solid #b9dfe1;border-radius:13px;background:#f1fafa; }
.outbound-compose-appointment label { display:grid;gap:5px;color:#087f87;font-size:11px;font-weight:900;text-transform:uppercase; }
.outbound-compose-appointment input { width:100%;height:44px;padding:0 12px;border:1px solid #a9d2d5;border-radius:9px;background:#fff;color:#17304c;font:inherit;font-weight:750; }
.outbound-compose-appointment p { margin:0 0 7px;color:#607b82;font-size:12px;line-height:1.4; }
.outbound-compose-schedule { display:grid;grid-template-columns:minmax(150px,.65fr) minmax(210px,1fr) auto;align-items:end;gap:11px; }
.outbound-compose-schedule button { min-height:44px; }
.outbound-compose-feedback { margin:0;color:#68798d;font-size:12px;font-weight:750; }
.outbound-compose-feedback.is-visible { color:#087f5b; }
.outbound-editor-head { display:flex;align-items:start;justify-content:space-between;gap:16px;margin-bottom:18px; }
.outbound-editor-head h2 { margin:3px 0 0; }
.outbound-editor-head button,.outbound-outbox-actions button { padding:8px 11px;border:1px solid #cad8e4;border-radius:9px;background:#fff;color:#31506a;font-weight:800;cursor:pointer; }
.outbound-editor-card form,.outbound-review-dialog form { display:grid;gap:15px; }
.outbound-editor-card label,.outbound-review-dialog label,.outbound-outbox-tools label { display:grid;gap:6px;color:#52647a;font-size:12px;font-weight:800; }
.outbound-editor-card input,.outbound-editor-card textarea,.outbound-review-dialog input,.outbound-review-dialog textarea,.outbound-outbox-tools input,.outbound-outbox-tools select { width:100%;padding:11px 12px;border:1px solid #cbd9e5;border-radius:10px;background:#fbfdff;color:#17283c;font:inherit; }
.outbound-editor-card textarea { min-height:80px;resize:vertical; }
.outbound-editor-card .outbound-message-field,.outbound-review-dialog .outbound-message-field { min-height:210px;resize:vertical; }
.outbound-editor-summary { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px; }
.outbound-form-actions { display:flex;align-items:center;justify-content:space-between;gap:16px; }
.outbound-form-actions p { margin:0;color:#607086;font-size:12px; }
.outbound-outbox-tools { display:grid;grid-template-columns:minmax(240px,1fr) 190px;gap:12px;margin-bottom:16px; }
.outbound-outbox-list { display:grid;gap:9px; }
.outbound-outbox-row { display:grid;grid-template-columns:42px minmax(180px,.8fr) minmax(240px,1.5fr) auto;align-items:center;gap:14px;padding:15px;border:1px solid #e0e8ef;border-radius:14px; }
.outbound-channel-icon { width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#e8f7fa;color:#0e7490;font-weight:900; }
.outbound-outbox-recipient,.outbound-outbox-purpose { min-width:0;display:grid;gap:3px; }
.outbound-outbox-recipient strong,.outbound-outbox-purpose strong { overflow:hidden;white-space:nowrap;text-overflow:ellipsis; }
.outbound-outbox-recipient small,.outbound-outbox-purpose small { color:#778699; }
.outbound-outbox-actions { display:flex;gap:6px; }
.outbound-outbox-actions button.is-danger { color:#b42318; }
.outbound-status-pill { padding:6px 9px;border-radius:999px;background:#eef4f7;color:#52647a;font-size:11px;text-transform:uppercase; }
.outbound-outbox-row.is-sent .outbound-status-pill { background:#e8f7ef;color:#147a43; }
.outbound-outbox-row.is-failed .outbound-status-pill { background:#fff0ed;color:#b42318; }
.outbound-empty { display:grid;place-items:center;gap:5px;min-height:170px;padding:28px;border:1px dashed #cbd9e5;border-radius:18px;background:#f9fbfd;color:#607086;text-align:center; }
.outbound-empty strong { color:#24384e;font-size:17px; }
.outbound-review-dialog { width:min(680px,calc(100vw - 28px));padding:0;border:0;border-radius:20px;box-shadow:0 30px 80px rgba(4,20,35,.35); }
.outbound-review-dialog::backdrop { background:rgba(5,20,35,.55);backdrop-filter:blur(3px); }
.outbound-review-dialog form { padding:24px; }
@media (max-width:820px) { .outbound-template-grid{grid-template-columns:1fr}.outbound-editor-summary,.outbound-compose-schedule,.outbound-compose-appointment{grid-template-columns:1fr}.outbound-project-composer-head{align-items:stretch;flex-direction:column;gap:14px}.outbound-project-composer-head>a{width:100%;text-align:center}.outbound-outbox-row{grid-template-columns:42px 1fr}.outbound-outbox-purpose,.outbound-outbox-actions,.outbound-status-pill{grid-column:2}.outbound-template-card-grid{grid-template-columns:1fr}.outbound-template-visual-form .outbound-email-preview-card textarea{min-height:54px}.outbound-template-visual-form,.outbound-template-text-form{overflow:auto}.outbound-template-modal-actions,.outbound-template-send-controls{grid-template-columns:1fr}.outbound-template-save-controls{justify-items:stretch}.outbound-template-save-controls .resource-link{width:100%} }
@media (max-width:560px) { .outbound-summary{align-items:flex-start;padding:20px}.outbound-summary aside{min-width:78px}.outbound-tabs button{padding:10px 6px}.outbound-outbox-tools{grid-template-columns:1fr}.outbound-form-actions{align-items:stretch;flex-direction:column}.outbound-email-preview-hero,.outbound-email-preview-body,.outbound-email-preview-footer{padding-left:22px;padding-right:22px} }
.pipeline-stage-check-row { grid-template-columns:minmax(0,1fr) auto auto; }
.pipeline-stage-deliveries { min-width:180px;display:grid;gap:5px; }
.pipeline-stage-delivery { --delivery-status:#b8c4ce;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:2px 8px;padding:6px 8px;border-radius:7px;background:#f4f7fa;color:#506579;text-decoration:none;box-shadow:inset 3px 0 var(--delivery-status); }
.pipeline-stage-delivery strong { color:#18314a;font-size:11px; }
.pipeline-stage-delivery span { justify-self:end;color:#64758b;font-size:10px;font-weight:850; }
.pipeline-stage-delivery small { grid-column:1/-1;color:#8290a0;font-size:9px; }
.pipeline-stage-delivery.is-sent { --delivery-status:#20a561; }
.pipeline-stage-delivery.is-queued { --delivery-status:#e2a82f; }
.pipeline-stage-delivery.is-failed { --delivery-status:#d4473e; }
.pipeline-stage-delivery:hover,.pipeline-stage-delivery:focus-visible { background:#edf3f6;outline:2px solid rgba(8,145,156,.16);outline-offset:1px; }
.pipeline-milestone-send { grid-column:1/-1;display:grid;gap:9px;margin-top:3px;padding-top:10px;border-top:1px solid #dfe8ef; }
.pipeline-milestone-send-head { display:flex;align-items:center;justify-content:space-between;gap:12px; }
.pipeline-milestone-send-head strong { color:#18314a;font-size:12px; }
.pipeline-milestone-send-head span { color:#718295;font-size:9px;font-weight:800; }
.pipeline-milestone-send-fields { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px; }
.pipeline-milestone-send label { display:grid;gap:4px;color:#68798c;font-size:9px;font-weight:850;text-transform:uppercase; }
.pipeline-milestone-send select,.pipeline-milestone-send input { min-width:0;width:100%;height:34px;padding:0 8px;border:1px solid #cedbe5;border-radius:7px;background:#fff;color:#18314a;font:inherit;font-size:11px;text-transform:none; }
.pipeline-milestone-send.has-appointment .pipeline-milestone-send-fields { grid-template-columns:repeat(2,minmax(0,1fr)); }
.pipeline-milestone-send>button { min-height:36px;border:0;border-radius:8px;background:#088e99;color:#fff;font:inherit;font-size:11px;font-weight:900;cursor:pointer; }
.pipeline-milestone-send>button:hover,.pipeline-milestone-send>button:focus-visible { background:#077b85;outline:2px solid rgba(8,142,153,.2);outline-offset:2px; }
.pipeline-milestone-send>button:disabled { cursor:wait;opacity:.65; }
.pipeline-stage-popover.is-single-stage .pipeline-milestone-send-fields { grid-template-columns:repeat(2,minmax(0,1fr)); }
.pipeline-stage-popover.is-single-stage .pipeline-milestone-send-fields label:last-child { grid-column:1/-1; }
.pipeline-stage-popover.is-single-stage .pipeline-milestone-send.has-appointment .pipeline-milestone-send-fields label:last-child { grid-column:auto; }
.pipeline-stage-popover.is-single-stage .pipeline-stage-deliveries { min-width:0;grid-template-columns:repeat(2,minmax(0,1fr)); }
.pipeline-stage-popover-controls { display:grid;gap:8px; }
.pipeline-stage-popover.is-single-stage .pipeline-stage-popover-controls { grid-template-columns:minmax(0,1fr) auto;align-items:end; }
.pipeline-stage-popover-actions { display:flex;justify-content:flex-end;margin-top:8px; }
.pipeline-stage-popover.is-single-stage .pipeline-stage-popover-actions { margin-top:0; }
.pipeline-stage-popover-actions button { min-width:116px;min-height:34px;padding:7px 12px;border:1px solid #088e99;border-radius:8px;background:#088e99;color:#fff;font:inherit;font-size:11px;font-weight:900;cursor:pointer; }
.pipeline-stage-popover-actions button:hover,.pipeline-stage-popover-actions button:focus-visible { border-color:#077b85;background:#077b85;outline:2px solid rgba(8,142,153,.2);outline-offset:2px; }
.pipeline-stage-popover-actions button:disabled { cursor:wait;opacity:.65; }
.pipeline-stage-popover-messaging { display:grid;gap:10px;margin-top:10px; }
body[data-page-key="sales-workspace"] .pipeline-stage-popover { --pipeline-popover-teal-deep:#003d46;--pipeline-popover-teal:#008b8f;--pipeline-popover-teal-bright:#05bfc4;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);padding:16px;border-color:rgba(0,139,143,.26);border-radius:16px;background:linear-gradient(180deg,#fff 0%,#f3fbfb 100%);box-shadow:0 24px 60px rgba(0,61,70,.22); }
body[data-page-key="sales-workspace"] .pipeline-stage-popover.is-single-stage { width:min(620px,calc(100vw - 24px)); }
body[data-page-key="sales-workspace"] .pipeline-stage-popover-head { margin:-16px -16px 14px;padding:15px 18px;border-radius:15px 15px 0 0;background:radial-gradient(circle at 82% 10%,rgba(5,191,196,.28),transparent 34%),linear-gradient(135deg,var(--pipeline-popover-teal-deep),var(--pipeline-popover-teal)); }
body[data-page-key="sales-workspace"] .pipeline-stage-popover-head strong { color:#fff;letter-spacing:.01em; }
body[data-page-key="sales-workspace"] .pipeline-stage-popover-head span { color:#a7f3ef; }
body[data-page-key="sales-workspace"] .pipeline-stage-popover-head button { border-color:rgba(255,255,255,.38);background:rgba(255,255,255,.12);color:#fff;transition:background .18s ease,transform .18s ease; }
body[data-page-key="sales-workspace"] .pipeline-stage-popover-head button:hover,body[data-page-key="sales-workspace"] .pipeline-stage-popover-head button:focus-visible { background:rgba(255,255,255,.22);outline:2px solid rgba(167,243,239,.45);outline-offset:2px;transform:translateY(-1px); }
.pipeline-stage-popover .pipeline-stage-delivery { border:1px solid rgba(0,139,143,.12);border-radius:10px;background:rgba(255,255,255,.82);transition:background .18s ease,border-color .18s ease,transform .18s ease; }
.pipeline-stage-popover .pipeline-stage-delivery:hover,.pipeline-stage-popover .pipeline-stage-delivery:focus-visible { border-color:rgba(0,139,143,.32);background:#fff;transform:translateY(-1px); }
.pipeline-stage-popover .pipeline-milestone-send { margin-top:5px;padding:14px;border:1px solid rgba(0,139,143,.16);border-radius:12px;background:rgba(255,255,255,.84); }
.pipeline-stage-popover .pipeline-milestone-send-head strong { color:var(--pipeline-popover-teal-deep); }
.pipeline-stage-popover .pipeline-milestone-send-head span,.pipeline-stage-popover .pipeline-milestone-send label { color:#52777b; }
.pipeline-stage-popover .pipeline-milestone-send select { height:38px;border-color:rgba(0,139,143,.24);border-radius:10px;background:#fff; }
.pipeline-stage-popover .pipeline-milestone-send select:focus { border-color:var(--pipeline-popover-teal-bright);outline:0;box-shadow:0 0 0 3px rgba(5,191,196,.14); }
.pipeline-stage-popover .pipeline-milestone-send>button,.pipeline-stage-popover .pipeline-stage-popover-actions button { border-color:var(--pipeline-popover-teal);background:linear-gradient(135deg,var(--pipeline-popover-teal),var(--pipeline-popover-teal-bright));box-shadow:0 10px 22px rgba(0,139,143,.18);transition:box-shadow .18s ease,transform .18s ease,filter .18s ease; }
.pipeline-stage-popover .pipeline-milestone-send>button:hover,.pipeline-stage-popover .pipeline-milestone-send>button:focus-visible,.pipeline-stage-popover .pipeline-stage-popover-actions button:hover,.pipeline-stage-popover .pipeline-stage-popover-actions button:focus-visible { border-color:var(--pipeline-popover-teal);background:linear-gradient(135deg,var(--pipeline-popover-teal),var(--pipeline-popover-teal-bright));filter:brightness(.96);box-shadow:0 12px 26px rgba(0,139,143,.24);transform:translateY(-1px); }
.pipeline-project-ops-actions { display:flex;align-items:center;justify-content:center;gap:9px; }
.pipeline-project-message-action { min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 12px;border:1px solid #cbd9e5;border-radius:11px;background:#fff;color:#31506a;font-size:12px;font-weight:900;text-decoration:none;transition:border-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease; }
.pipeline-project-message-action svg { width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round; }
.pipeline-project-message-action:hover,.pipeline-project-message-action:focus-visible { border-color:#08919c;color:#087f8c;box-shadow:0 5px 14px rgba(8,145,156,.14);transform:translateY(-1px);outline:2px solid rgba(8,145,156,.16);outline-offset:2px; }
.pipeline-summary-actions { display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0; }
.pipeline-summary-outbound { min-height:36px;display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:0 0 auto;padding:7px 10px;border:1px solid #078995;border-radius:9px;background:#08919c;color:#fff;text-decoration:none;box-shadow:0 3px 9px rgba(8,145,156,.14);transition:background .18s ease,box-shadow .18s ease,transform .18s ease; }
.pipeline-summary-outbound svg { width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round; }
.pipeline-summary-outbound strong { color:inherit!important;font-size:11px!important;white-space:nowrap; }
.pipeline-summary-outbound:hover,.pipeline-summary-outbound:focus-visible { background:#077d87;box-shadow:inset 0 0 0 2px rgba(255,255,255,.22);outline:none; }
body[data-page-key="sales-workspace"] .pipeline-summary-outbound,body[data-page-key="sales-workspace"] .pipeline-rich-toolbar .pipeline-rich-send,body[data-page-key="sales-workspace"] .pipeline-reply-form .resource-link.primary { border-color:#008b8f!important;background:linear-gradient(135deg,#008b8f,#05bfc4)!important;color:#fff!important;box-shadow:0 10px 22px rgba(0,139,143,.2)!important;transition:box-shadow .18s ease,transform .18s ease,filter .18s ease!important; }
body[data-page-key="sales-workspace"] .pipeline-summary-outbound:hover,body[data-page-key="sales-workspace"] .pipeline-summary-outbound:focus-visible,body[data-page-key="sales-workspace"] .pipeline-rich-toolbar .pipeline-rich-send:hover,body[data-page-key="sales-workspace"] .pipeline-rich-toolbar .pipeline-rich-send:focus-visible,body[data-page-key="sales-workspace"] .pipeline-reply-form .resource-link.primary:hover,body[data-page-key="sales-workspace"] .pipeline-reply-form .resource-link.primary:focus-visible { border-color:#003d46!important;background:linear-gradient(135deg,#003d46,#008b8f)!important;color:#fff!important;filter:brightness(1.03);box-shadow:0 12px 26px rgba(0,97,105,.26)!important;transform:translateY(-1px);outline:2px solid rgba(5,191,196,.22)!important;outline-offset:2px; }
body[data-page-key="sales-workspace"] .pipeline-rich-toolbar .pipeline-rich-send:disabled,body[data-page-key="sales-workspace"] .pipeline-reply-form .resource-link.primary:disabled { border-color:#d5e1e3!important;background:#e8eff0!important;color:#8aa0a3!important;box-shadow:none!important;filter:none;transform:none;cursor:not-allowed; }
html[data-workspace-view="outbound"] .hero-only { display:none!important; }
html[data-workspace-view="outbound"] body[data-page-key="sales-workspace"] .sales-detail-grid { margin-top:0; }
html[data-workspace-view="outbound"] body[data-page-key="sales-workspace"] .sales-detail-grid,
html[data-workspace-view="outbound"] body[data-page-key="sales-workspace"] [data-workspace-panel="outbound"],
html[data-workspace-view="outbound"] body[data-page-key="sales-workspace"] [data-outbound-workspace-root],
html[data-workspace-view="outbound"] body[data-page-key="sales-workspace"] .outbound-projects-page { height:auto;max-height:none;overflow:visible; }
html[data-workspace-view="outbound"] body[data-page-key="sales-workspace"] [data-workspace-panel="outbound"] { display:block; }
/* Project-level purposeful update composer */
.homeowner-update-recipient,.homeowner-update-send-row,.homeowner-update-alert,.homeowner-update-outgoing-title { display:flex;align-items:center; }
.homeowner-update-outgoing-title span { margin:0;color:#64758b;font-size:12px; }
.homeowner-update-composer { display:grid;gap:13px;padding:18px;border-bottom:1px solid #dce8f5;background:#fff; }
.homeowner-update-recipient { justify-content:space-between;gap:12px;padding:11px 13px;border-radius:12px;background:#eef6ff;color:#16365c; }
.homeowner-update-channels { display:flex;gap:10px; }
.homeowner-update-channels label { display:inline-flex!important;align-items:center;gap:7px;padding:8px 12px;border:1px solid #ccdaea;border-radius:999px; }
.homeowner-update-fields { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px; }
.homeowner-update-composer label { display:grid;gap:6px; }
.homeowner-update-composer input:not([type="checkbox"]),.homeowner-update-composer select,.homeowner-update-composer textarea { width:100%;padding:9px 10px;border:1px solid #cbd8e7;border-radius:10px;background:#fff;color:#132a47;font:inherit; }
.homeowner-update-composer textarea { min-height:76px;resize:vertical; }
.homeowner-update-composer textarea.is-message { min-height:112px; }
.homeowner-update-send-row { align-items:end;gap:10px; }
.homeowner-update-send-row label { flex:1; }
.homeowner-update-outgoing { padding:15px 18px 18px; }
.homeowner-update-alert-list { display:grid;gap:8px; }
.homeowner-update-alert { gap:11px;padding:11px 12px;border:1px solid #d7e3ef;border-radius:12px;background:#fff; }
.homeowner-update-channel { min-width:48px;padding:5px 8px;border-radius:999px;background:#e8f2ff;color:#1761c9;font-size:10px;font-weight:900;text-align:center; }
@media (max-width:760px) { .homeowner-update-fields{grid-template-columns:1fr}.homeowner-update-send-row,.homeowner-update-recipient{align-items:stretch;flex-direction:column}.pipeline-project-ops-actions{width:100%;flex-wrap:wrap}.pipeline-project-message-action{flex:1} }
@media (max-width:620px) { .pipeline-summary-actions{align-items:flex-start;flex-direction:column}.pipeline-summary-outbound{width:max-content}.pipeline-stage-popover.is-single-stage .pipeline-milestone-send-fields{grid-template-columns:1fr}.pipeline-stage-popover.is-single-stage .pipeline-milestone-send-fields label:nth-child(3){grid-column:auto} }
/* Outbound hub and Projects-style workspaces */
[data-outbound-admin-only][hidden] { display:none!important; }
.outbound-hub-band .workspace-action-card { min-height:188px; }
.outbound-projects-page { min-height:calc(100vh - 24px);min-height:calc(100dvh - 24px);display:flex!important;flex-direction:column;gap:18px; }
.outbound-projects-page .projects-hero-card { box-shadow:none; }
.outbound-projects-page.is-sms .projects-hero-card,.outbound-projects-page.is-outbox .projects-hero-card { background:radial-gradient(circle at 78% 12%,rgba(5,191,196,.3),transparent 28%),radial-gradient(circle at 7% 88%,rgba(0,139,143,.28),transparent 38%),linear-gradient(180deg,#003d46 0%,#008b8f 62%,#05bfc4 100%); }
.outbound-projects-hero .projects-hero-title { align-items:center; }
.outbound-project-hero-icon { width:58px;height:58px;display:grid;place-items:center;flex:0 0 auto;border:1px solid rgba(255,255,255,.3);border-radius:17px;background:rgba(255,255,255,.14);box-shadow:inset 0 1px 0 rgba(255,255,255,.25); }
.outbound-project-hero-icon svg { width:28px!important;height:28px!important; }
.outbound-projects-hero .projects-hero-title small { display:block;margin-bottom:3px;color:rgba(255,255,255,.72);font-size:10px;font-weight:900;letter-spacing:.14em;text-transform:uppercase; }
.outbound-project-context-bar { display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 18px;border:1px solid rgba(0,139,143,.24);border-radius:15px;background:linear-gradient(135deg,#fff 0%,#f0fbfb 100%);box-shadow:0 8px 24px rgba(0,61,70,.07); }
.outbound-project-context-bar>div { min-width:0;display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:8px 14px; }
.outbound-project-context-bar>div>span { color:#007d84;font-size:10px;font-weight:950;letter-spacing:.1em;text-transform:uppercase; }
.outbound-project-context-bar>div>strong { color:#102a43;font-size:15px;font-weight:950; }
.outbound-project-context-bar>div>small { overflow:hidden;color:#64758b;font-size:12px;font-weight:750;text-overflow:ellipsis;white-space:nowrap; }
.outbound-project-context-bar>a { min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:0 0 auto;padding:8px 13px;border:1px solid #008b8f;border-radius:10px;background:linear-gradient(135deg,#008b8f,#05bfc4);color:#fff;font-size:11px;font-weight:900;text-decoration:none;box-shadow:0 8px 18px rgba(0,139,143,.16); }
.outbound-project-context-bar>a svg { width:15px!important;height:15px!important;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round; }
.outbound-project-context-bar>a:hover,.outbound-project-context-bar>a:focus-visible { background:#007d84;outline:2px solid rgba(0,139,143,.22);outline-offset:3px; }
.outbound-projects-main { min-height:0;height:auto;flex:0 0 auto; }
.outbound-projects-table .projects-table-head,.outbound-projects-table .project-table-row { grid-template-columns:56px minmax(190px,1fr) 110px minmax(240px,1.4fr) 80px 88px; }
.outbound-outbox-projects-table .projects-table-head,.outbound-outbox-projects-table .project-table-row { grid-template-columns:72px minmax(210px,1fr) minmax(220px,1.25fr) 145px 110px minmax(210px,auto); }
.outbound-template-project-row { color:#24384e;text-align:left; }
.outbound-template-project-row.is-missing { opacity:.62;cursor:default; }
.outbound-project-number { width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#e6f7fa;color:#087f8c;font-weight:950; }
.outbound-project-preview { min-width:0;overflow:hidden;color:#55687d;font-size:12px;white-space:nowrap;text-overflow:ellipsis; }
.outbound-project-status { display:inline-flex;align-items:center;width:max-content;padding:5px 9px;border-radius:999px;background:#e8f7ef;color:#147a43;font-size:10px;font-weight:900;text-transform:uppercase; }
.outbound-project-status.is-scheduled { background:#fff5df;color:#9a6500; }
.outbound-project-status.is-failed { background:#fff0ed;color:#b42318; }
.outbound-project-status.is-canceled { background:#eef2f6;color:#66758a; }
.outbound-template-project-card { position:relative;text-align:left; }
.outbound-template-project-card>.outbound-project-number { position:absolute;top:16px;right:16px; }
.outbound-template-project-card .project-card-detail strong { display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3; }
.outbound-outbox-project-row { cursor:default; }
.outbound-outbox-project-card { display:grid;gap:14px; }
.outbound-outbox-project-card .outbound-outbox-actions { margin-top:auto; }
.outbound-project-filter-panel { display:flex;align-items:center;justify-content:space-between;gap:18px;margin:14px 0;padding:14px 16px;border:1px solid #dce7ef;border-radius:14px;background:#f6f9fc; }
.outbound-project-filter-panel>div { display:grid;gap:3px; }
.outbound-project-filter-panel strong { color:#20364d;font-size:13px; }
.outbound-project-filter-panel span { color:#68798d;font-size:12px; }
.outbound-project-filter-panel button { padding:8px 11px;border:1px solid #cbd9e5;border-radius:9px;background:#fff;color:#31506a;font-weight:800;cursor:pointer; }
.outbound-projects-empty { min-height:280px; }
.outbound-projects-empty strong,.outbound-projects-empty span { display:block; }
.outbound-projects-empty strong { margin-bottom:5px;color:#263a50; }
@media (max-width:980px) { .outbound-projects-table .projects-table-head,.outbound-projects-table .project-table-row { min-width:850px; }.outbound-outbox-projects-table .projects-table-head,.outbound-outbox-projects-table .project-table-row { min-width:1080px; } }
@media (max-width:700px) { .outbound-projects-page .projects-hero-card{align-items:stretch;flex-direction:column}.outbound-projects-page .projects-hero-actions{justify-content:stretch}.outbound-projects-page .projects-search-field{width:100%}.outbound-project-filter-panel{align-items:flex-start;flex-direction:column}.outbound-hub-band .workspace-action-card{min-height:165px} }
@media (max-width:700px) { .outbound-project-context-bar{align-items:stretch;flex-direction:column}.outbound-project-context-bar>div{grid-template-columns:1fr}.outbound-project-context-bar>a{width:100%} }
/* Deal Intake v1: match the Live Activity appointment modal */
.intake-review-modal {
  --intake-teal-deep: #003d46;
  --intake-teal: #008b8f;
  --intake-teal-bright: #05bfc4;
  width: min(780px, calc(100vw - 28px));
  max-height: min(820px, calc(100vh - 28px));
  padding: 0;
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 28px 80px rgba(7, 27, 56, .28);
}

.intake-review-modal::backdrop {
  background: rgba(7, 27, 56, .46);
  backdrop-filter: blur(4px);
}

.intake-review-modal .intake-review-shell {
  max-height: min(820px, calc(100vh - 28px));
  overflow: auto;
  padding: 22px;
  gap: 18px;
  border: 1px solid rgba(0, 139, 143, .28);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f0fbfb 100%);
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 139, 143, .34) transparent;
}

.intake-review-modal .intake-review-shell::-webkit-scrollbar {
  width: 8px;
}

.intake-review-modal .intake-review-shell::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(0, 139, 143, .3);
}

.intake-review-modal .intake-review-head {
  align-items: center;
  margin: -22px -22px 0;
  padding: 20px 22px;
  background:
    radial-gradient(circle at 82% 10%, rgba(5, 191, 196, .28), transparent 32%),
    linear-gradient(135deg, var(--intake-teal-deep), var(--intake-teal));
}

.intake-review-modal .intake-review-head .crm-record-eyebrow {
  color: #a7f3ef;
  font-size: .82rem;
  font-weight: 950;
}

.intake-review-modal .intake-review-head h2 {
  margin: 6px 0 0;
  color: #ffffff;
  font-size: 1.45rem;
  line-height: 1.12;
}

.intake-review-modal .intake-review-head .mini-link {
  min-width: 70px;
  min-height: 42px;
  margin: 0;
  border-color: rgba(255, 255, 255, .4);
  border-radius: 11px;
  background: rgba(255, 255, 255, .12);
  color: #ffffff;
}

.intake-review-modal .intake-review-head .mini-link:hover,
.intake-review-modal .intake-review-head .mini-link:focus-visible {
  border-color: rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .2);
  outline: none;
}

.intake-review-modal .intake-review-grid {
  gap: 12px;
  margin: 0;
}

.intake-review-modal .crm-info-card {
  min-height: 70px;
  padding: 13px 14px;
  border-color: rgba(0, 139, 143, .2);
  border-radius: 12px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 20px rgba(0, 61, 70, .045);
}

.intake-review-modal .crm-info-card > span {
  color: #007d84;
  font-size: .76rem;
  font-weight: 950;
}

.intake-review-modal .crm-info-card strong,
.intake-review-modal .intake-review-description p {
  color: #071f3d;
}

.intake-review-modal .crm-info-card input,
.intake-review-modal .crm-info-card select,
.intake-review-modal .crm-info-card textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #c5dce1;
  border-radius: 10px;
  outline: none;
  background: #ffffff;
  color: #071f3d;
  font: inherit;
  font-weight: 850;
  box-shadow: inset 0 1px 2px rgba(7, 31, 61, .03);
}

.intake-review-modal .crm-info-card textarea {
  min-height: 102px;
  resize: vertical;
  line-height: 1.4;
}

.intake-review-modal .crm-info-card:focus-within {
  border-color: rgba(0, 139, 143, .48);
  box-shadow: 0 0 0 3px rgba(5, 191, 196, .09), 0 12px 26px rgba(0, 61, 70, .07);
}

.intake-review-modal .crm-info-card input:focus,
.intake-review-modal .crm-info-card select:focus,
.intake-review-modal .crm-info-card textarea:focus {
  border-color: var(--intake-teal-bright);
  box-shadow: 0 0 0 2px rgba(5, 191, 196, .08);
}

.intake-review-modal .intake-review-unit-input {
  position: relative;
  display: block;
  color: #071f3d;
  font-size: 1rem;
  font-weight: 400;
}

.intake-review-modal .intake-review-unit-input input {
  padding-right: 48px;
}

.intake-review-modal .intake-review-unit-input > span {
  position: absolute;
  top: 50%;
  right: 14px;
  color: #607089;
  font-weight: 850;
  pointer-events: none;
  transform: translateY(-50%);
}

.intake-review-modal .intake-review-actions {
  position: sticky;
  z-index: 5;
  bottom: -22px;
  min-height: 72px;
  margin: 0 -22px -22px;
  padding: 14px 22px 16px;
  border-top: 1px solid rgba(0, 139, 143, .16);
  background: rgba(245, 253, 253, .94);
  backdrop-filter: blur(12px);
}

.intake-review-modal .intake-review-actions .resource-link.primary {
  border-color: var(--intake-teal);
  background: linear-gradient(135deg, var(--intake-teal), var(--intake-teal-bright));
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(0, 139, 143, .18);
}

.intake-review-modal .intake-review-actions .resource-link.secondary {
  border-color: rgba(0, 139, 143, .28);
  background: #ffffff;
  color: #006f76;
}

@media (max-width: 680px) {
  .intake-review-modal {
    width: min(100vw - 16px, 780px);
    max-height: calc(100vh - 16px);
    border-radius: 16px;
  }

  .intake-review-modal .intake-review-shell {
    max-height: calc(100vh - 16px);
    padding: 16px;
    border-radius: 16px;
  }

  .intake-review-modal .intake-review-head {
    margin: -16px -16px 0;
    padding: 18px 16px;
  }

  .intake-review-modal .intake-review-head h2 {
    font-size: 1.2rem;
  }

  .intake-review-modal .crm-info-grid {
    grid-template-columns: 1fr;
  }

  .intake-review-modal .crm-info-card-wide {
    grid-column: 1;
  }

  .intake-review-modal .intake-review-actions {
    bottom: -16px;
    margin: 0 -16px -16px;
    padding: 12px 16px 14px;
  }
}
/* Deal Intake v2: structured fields and no-scroll desktop layout */
@media (min-width: 681px) {
  .intake-review-modal {
    width: min(1040px, calc(100vw - 28px));
  }

  .intake-review-modal .intake-review-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .intake-review-modal .crm-info-card {
    min-height: 64px;
    padding: 11px 12px;
  }

  .intake-review-modal .intake-review-notes-grid {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .intake-review-modal .intake-review-notes-grid .crm-info-card-wide,
  .intake-review-modal .intake-review-note-card {
    grid-column: auto;
  }

  .intake-review-modal .intake-review-note-card textarea {
    min-height: 72px;
    height: 72px;
  }

  .intake-review-modal .intake-review-folder {
    grid-column: 1 / -1;
  }
}

.intake-review-modal .intake-review-notes-grid {
  min-width: 0;
}

.intake-review-modal .intake-review-note-card {
  min-width: 0;
}

@media (max-width: 680px) {
  .intake-review-modal .intake-review-notes-grid {
    grid-column: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .intake-review-modal .intake-review-notes-grid .crm-info-card-wide,
  .intake-review-modal .intake-review-note-card {
    grid-column: 1;
  }
}

/* Deal Intake hero: mirror the Live Activity appointment treatment. */
.intake-review-modal .intake-review-head h2 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.intake-review-modal .intake-review-title-name {
  min-width: 0;
  line-height: 1;
}

.intake-review-modal .intake-review-provider-slot {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  line-height: 1;
}

.intake-review-modal .intake-review-provider-logo {
  display: block;
  width: auto;
  height: 31px;
  object-fit: contain;
}

.intake-review-modal .intake-review-smud-logo {
  width: 132px;
  aspect-ratio: 960 / 213;
}

.intake-review-modal .intake-review-smud-logo .intake-review-provider-logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
}

.intake-review-modal .intake-review-smud-logo-white {
  clip-path: inset(0 0 0 25%);
  filter: brightness(0) invert(1);
}
.aros-sign-launch-band {
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(4, 132, 139, .22);
  background: #fff;
}

.aros-sign-launch-card {
  min-height: 156px;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto 54px;
  align-items: center;
  gap: 22px;
  padding: 28px 32px;
  color: inherit;
  text-decoration: none;
  background:
    radial-gradient(circle at 86% 10%, rgba(80, 232, 219, .18), transparent 30%),
    linear-gradient(135deg, #fff 0%, #f3fbfb 62%, #e7f8f6 100%);
  transition: transform .18s ease, box-shadow .18s ease;
}

.aros-sign-launch-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 45px rgba(7, 70, 83, .12);
}

.aros-sign-launch-mark {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  color: white;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.28), transparent 34%),
    linear-gradient(145deg, #10c8bc, #006f78);
  box-shadow: 0 18px 36px rgba(0, 120, 126, .24), inset 0 1px 0 rgba(255,255,255,.42);
}

.aros-sign-launch-mark svg {
  width: 43px;
  height: 43px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.aros-sign-launch-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.aros-sign-launch-copy small {
  color: #00898e;
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .15em;
}

.aros-sign-launch-copy strong {
  color: #071b38;
  font-size: clamp(1.8rem, 2.6vw, 2.55rem);
  line-height: 1;
}

.aros-sign-launch-copy > span {
  color: #5f7186;
  font-size: 1rem;
  font-weight: 750;
}

.aros-sign-launch-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(4, 132, 139, .18);
  border-radius: 999px;
  color: #17646a;
  background: rgba(255,255,255,.78);
  font-size: .82rem;
  font-weight: 900;
  white-space: nowrap;
}

.aros-sign-secure-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #13b987;
  box-shadow: 0 0 0 5px rgba(19, 185, 135, .12);
}

.aros-sign-launch-arrow {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #078f96;
  font-size: 1.55rem;
  font-weight: 800;
}

@media (max-width: 760px) {
  .aros-sign-launch-card {
    grid-template-columns: 64px minmax(0, 1fr) 44px;
    gap: 15px;
    padding: 22px 20px;
  }
  .aros-sign-launch-mark { width: 64px; height: 64px; border-radius: 19px; }
  .aros-sign-launch-mark svg { width: 32px; height: 32px; }
  .aros-sign-launch-status { display: none; }
  .aros-sign-launch-arrow { width: 42px; height: 42px; }
}
