/* V8.11 - navigation and daily workflow refinement. */
.v811-global-search{position:relative;z-index:45}
.v811-search-results{position:absolute;z-index:100;top:46px;left:0;width:min(680px,calc(100vw - 34px));max-height:min(620px,75vh);overflow:auto;border:1px solid #d9e3e4;border-radius:13px;background:#fff;box-shadow:0 22px 65px #102b3430}
.v811-search-results>header{position:sticky;z-index:2;top:0;display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid var(--line);background:#f8fbfb}
.v811-search-results>header strong{font-size:10px}.v811-search-results>header small{color:var(--muted);font-size:8px}
.v811-search-loading{padding:22px;color:var(--muted);font-size:10px;text-align:center}
.v811-search-result{width:100%;min-height:66px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;padding:9px 14px;border:0;border-bottom:1px solid var(--line);background:#fff;text-align:left}
.v811-search-result:hover{background:#f3f9f8}.v811-search-result:last-child{border-bottom:0}
.v811-search-result>i{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;color:#fff;background:var(--teal);font-size:11px;font-style:normal}
.v811-search-result>span strong,.v811-search-result>span small{display:block}.v811-search-result>span strong{font-size:10px}.v811-search-result>span small{margin-top:4px;color:var(--muted);font-size:8px}
.v811-search-result>em{color:#6b7c80;font-size:8px;font-style:normal}.v811-search-result.invoice>i{color:#78591e;background:#fff4d9}

.v811-today-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px;padding:19px 21px;border:1px solid #dbe5e6;border-radius:14px;background:linear-gradient(135deg,#fff,#f5faf9);box-shadow:var(--shadow)}
.v811-today-head small{color:var(--teal);font-size:8px;font-weight:800;letter-spacing:.12em}.v811-today-head h2{margin:4px 0 3px;font-size:25px}.v811-today-head p{margin:0;color:var(--muted);font-size:10px}
.v811-today-head>b{padding:9px 12px;border-radius:9px;font-size:9px}.v811-today-head>b.attention{color:#8b5914;background:#fff1d7}.v811-today-head>b.clear{color:#0e6b62;background:#e9f7f4}
.v824-upcoming-weddings{margin-bottom:17px}.v824-upcoming-weddings .record-row:last-child{border-bottom:0}.v824-dashboard-tasks>article{grid-column:1/-1}
.v811-queue-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:17px}
.v811-queue-cards>button{min-height:106px;display:flex;align-items:flex-start;gap:11px;padding:14px;border:1px solid #e0e8e9;border-radius:12px;background:#fff;text-align:left;box-shadow:0 5px 16px #102b3409}
.v811-queue-cards>button:hover,.v811-queue-cards>button.has-items{border-color:#c7d9d8;background:#fbfefd}.v811-queue-cards>button.has-items:first-child{border-color:#e6caca;background:#fffafa}
.v811-queue-cards i{width:32px;height:32px;display:grid;flex:0 0 auto;place-items:center;border-radius:9px;color:var(--teal);background:#eaf5f3;font-size:13px;font-style:normal}
.v811-queue-cards span,.v811-queue-cards strong,.v811-queue-cards small,.v811-queue-cards em{display:block}.v811-queue-cards strong{font-size:22px}.v811-queue-cards small{margin-top:2px;font-size:9px;font-weight:800}.v811-queue-cards em{margin-top:5px;color:var(--muted);font-size:8px;font-style:normal;line-height:1.4}
.v819-payment-total{display:block;margin-top:6px;color:var(--teal);font-size:16px;line-height:1.15;letter-spacing:-.02em}
.v811-worklists{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-bottom:17px}.v811-queue-panel{overflow:hidden}.v811-queue-panel .panel-title{padding:15px 17px}.v811-queue-panel .panel-title b{width:29px;height:29px;display:grid;place-items:center;border-radius:9px;color:#fff;background:var(--teal);font-size:10px}
.v811-queue-item{width:100%;min-height:68px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;padding:10px 16px;border:0;border-top:1px solid var(--line);background:#fff;text-align:left}
.v811-queue-item:hover{background:#f5faf9}.v811-queue-item>span:nth-child(2) strong,.v811-queue-item>span:nth-child(2) small{display:block}.v811-queue-item>span:nth-child(2) strong{font-size:10px}.v811-queue-item>span:nth-child(2) small{margin-top:4px;color:var(--muted);font-size:8px;line-height:1.45}.v811-queue-item>b{color:var(--teal);font-size:8px}.v811-dashboard-lower{margin-top:0}

.record-workspace-tabs.v811-tabs{grid-template-columns:repeat(5,1fr)}
.v811-journey{display:grid;gap:17px}.v811-journey-block{overflow:hidden;border:1px solid var(--line);border-radius:13px;background:#f8fbfb}
.v811-journey-block>header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 18px;border-bottom:1px solid var(--line);background:#fff}.v811-journey-block>header small{color:var(--teal);font-size:8px;font-weight:800;letter-spacing:.1em}.v811-journey-block>header h3{margin:4px 0 0;font-size:14px}.v811-journey-block>header>span{color:var(--muted);font-size:9px}.v811-journey-block>[data-v811-quote],.v811-journey-block>[data-v811-forms]{padding:17px}
.v811-journey-block .workflow-email-proof{margin-top:0}

.v811-note-composer{margin-bottom:15px}.v811-activity-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:10px;padding:15px 17px;border:1px solid var(--line);border-radius:11px;background:#fff}.v811-activity-heading small{color:var(--teal);font-size:8px;font-weight:800;letter-spacing:.1em}.v811-activity-heading h3{margin:4px 0;font-size:15px}.v811-activity-heading p{margin:0;color:var(--muted);font-size:9px}.v811-activity-heading>b{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;color:#fff;background:var(--teal);font-size:11px}
.v811-timeline{overflow:hidden;border:1px solid var(--line);border-radius:11px;background:#fff}.v811-timeline-event{min-height:60px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 15px;border-bottom:1px solid var(--line)}.v811-timeline-event:last-child{border-bottom:0}
.v811-timeline-event>i{width:28px;height:28px;display:grid;place-items:center;border:2px solid #a8c9c6;border-radius:50%;color:var(--teal);background:#f4fbfa;font-size:9px;font-style:normal}.v811-timeline-event.sent>i{color:#08775f;border-color:#8ed1bf;background:#e9faf4}.v811-timeline-event.failed>i{color:#a44632;border-color:#e3a99d;background:#fff2ef}.v811-timeline-event.note>i{color:#795b20;border-color:#dec38b;background:#fff9eb}
.v811-timeline-event span strong,.v811-timeline-event span small{display:block}.v811-timeline-event span strong{font-size:10px}.v811-timeline-event span small{margin-top:4px;color:var(--muted);font-size:8px;line-height:1.5}.v811-timeline-event.legacy{background:#fafafa}

@media(max-width:1100px){.v811-queue-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.v811-worklists{grid-template-columns:1fr}}
@media(max-width:820px){.record-workspace-tabs.v811-tabs{grid-template-columns:repeat(5,minmax(138px,1fr))}.v811-search-results{position:fixed;top:61px;left:12px;right:12px;width:auto}.v811-journey-block>header{align-items:flex-start;flex-direction:column}}
@media(max-width:560px){.v811-today-head{align-items:flex-start;flex-direction:column}.v811-queue-cards{grid-template-columns:1fr}.v811-queue-cards>button{min-height:88px}.v811-queue-item{grid-template-columns:auto minmax(0,1fr)}.v811-queue-item>b{display:none}.v811-journey-block>[data-v811-quote],.v811-journey-block>[data-v811-forms]{padding:10px}.v811-activity-heading{align-items:flex-start}.v811-activity-heading p{line-height:1.45}}

/* V8.28 — one truthful journey stage and a calmer Today screen. */
.v828-stage-help{display:block;margin-top:7px;max-width:760px;color:#668087;font-size:9px;font-weight:650;line-height:1.45}
.v828-journey-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center;padding:18px 20px;border:1px solid #c9dcd9;border-left:5px solid var(--teal);border-radius:13px;background:linear-gradient(135deg,#f6fbfa,#fff)}
.v828-journey-summary.warning{border-left-color:#c48b27;background:linear-gradient(135deg,#fff9eb,#fff)}.v828-journey-summary.danger{border-left-color:#b64b4b;background:linear-gradient(135deg,#fff4f3,#fff)}
.v828-journey-summary small,.v828-dashboard-group>header small{color:var(--teal);font-size:8px;font-weight:850;letter-spacing:.12em}.v828-journey-summary h3{margin:4px 0 5px;font-size:18px}.v828-journey-summary p{margin:0;max-width:680px;color:var(--muted);font-size:10px;line-height:1.5}
.v828-progress-pills{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px;max-width:360px}.v828-progress-pills span{display:inline-flex;gap:5px;align-items:center;padding:7px 9px;border-radius:999px;background:#f2f4f3;color:#68777a;font-size:8px;font-weight:750}.v828-progress-pills span.done{background:#e3f4ee;color:#176a5f}.v828-progress-pills i{font-style:normal}
.v828-dashboard-group{margin-top:20px}.v828-dashboard-group>header{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:0 2px 10px}.v828-dashboard-group>header h2{margin:3px 0 2px;font-size:17px}.v828-dashboard-group>header p{margin:0;color:var(--muted);font-size:9px}.v828-dashboard-group>header>b{display:grid;place-items:center;min-width:38px;height:38px;padding:0 11px;border-radius:999px;background:#e7f3f0;color:#166d63;font-size:14px}.v828-dashboard-group.action>header>b{background:#fff0d7;color:#8b5b10}.v828-dashboard-group.waiting{padding-top:18px;border-top:1px solid #dce5e3}.v828-dashboard-group.waiting .v811-queue-cards>button{background:#fafcfb}
@media(max-width:560px){.v828-stage-help{font-size:9px}.v828-journey-summary{grid-template-columns:1fr;padding:15px;gap:13px}.v828-journey-summary h3{font-size:16px}.v828-progress-pills{justify-content:flex-start;max-width:none}.v828-progress-pills span{flex:1 1 calc(50% - 7px);justify-content:center;min-height:38px}.v828-dashboard-group>header{align-items:flex-start}.v828-dashboard-group>header h2{font-size:16px}.v828-dashboard-group>header p{font-size:9px;line-height:1.4}}
