/* Shared business workspace; retain the original delivery styles. */
[hidden]{display:none!important}html,body{min-width:360px}.sidebar{padding-top:18px}.nav{gap:3px;padding-top:14px;overflow:auto}.nav-item{padding:10px 12px}.crm-nav-icon{font-size:21px;text-align:center}.sidebar-bottom{margin-top:auto;padding-top:14px}.crm-account{display:flex;justify-content:space-between;font-size:12px;align-items:center}.crm-account span{color:var(--muted)}.crm-account-actions{display:flex;gap:4px;margin-top:10px}.crm-account-actions button{padding:6px;font-size:12px}.crm-page-head,.crm-welcome{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:26px}.crm-page-head h1,.crm-welcome h1{font-size:29px;letter-spacing:-.7px;margin:6px 0 10px;font-weight:720}.crm-page-head p,.crm-welcome p{color:var(--muted);font-size:13px;line-height:1.7;margin:0}.crm-page-head .kicker,.crm-welcome .kicker{font-size:10px;color:var(--blue);letter-spacing:2px}.crm-live{font-size:12px;color:#227854;white-space:nowrap}.crm-live i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#38ab78;margin-right:5px}.crm-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.crm-metric{text-align:left;border:1px solid var(--line);background:white;border-radius:18px;padding:24px;box-shadow:var(--shadow)}.crm-metric span{display:block;color:var(--muted);font-size:12px}.crm-metric strong{display:block;font-size:40px;color:var(--navy);margin:14px 0}.crm-metric small{color:var(--blue);font-size:11px}.crm-panel{padding:24px;margin-bottom:20px}.crm-pipeline{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.crm-pipeline button{text-align:left;background:var(--canvas);border:1px solid var(--line);border-radius:12px;padding:16px}.crm-pipeline strong{display:block;font-size:25px;color:var(--navy);margin-bottom:8px}.crm-pipeline span{font-size:12px;color:var(--muted)}.crm-table-scroll{overflow:auto}.crm-table{border-collapse:collapse;width:100%;text-align:left;font-size:13px}.crm-table th{font-size:11px;font-weight:600;color:var(--muted);padding:17px 15px;background:#f8fafd;white-space:nowrap}.crm-table td{padding:17px 15px;border-top:1px solid var(--line);line-height:1.5}.crm-table td small{display:block;color:var(--muted);margin-top:5px;font-size:11px}.crm-table td strong{font-weight:650}.crm-table .ghost-button{white-space:nowrap;padding:7px 10px;font-size:12px}.crm-filters{display:flex;gap:10px;margin-bottom:18px;flex-wrap:wrap}.crm-filters input{flex:1;min-width:220px}.crm-filters input,.crm-filters select{padding:11px 14px;border:1px solid var(--line);border-radius:10px;background:white;font-size:13px}.crm-grade{display:inline-flex;gap:6px;align-items:center;white-space:nowrap;font-size:11px;color:var(--grade);padding:5px 8px;background:color-mix(in srgb,var(--grade) 9%,white);border-radius:6px;font-weight:650}.crm-grade:before{content:'';width:5px;height:5px;border-radius:50%;background:var(--grade)}.crm-stage{font-size:11px;background:var(--blue-soft);color:var(--navy);border-radius:6px;padding:5px 8px}.crm-empty{padding:44px 25px;color:var(--muted);line-height:1.9;font-size:13px;text-align:center}.crm-dialog{padding:0;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow-high);width:min(840px,94vw);max-height:90vh;color:var(--ink);background:white}.crm-dialog::backdrop{background:rgba(16,35,61,.38);backdrop-filter:blur(3px)}.crm-dialog form{display:flex;flex-direction:column;max-height:90vh}.crm-dialog header{padding:23px 28px 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.crm-dialog header h2{margin:6px 0 0;font-size:22px}.crm-dialog header .kicker{margin:0;font-size:9px;letter-spacing:2px;color:var(--blue)}.crm-dialog-body{padding:24px 28px;overflow:auto}.crm-dialog footer{display:flex;justify-content:flex-end;gap:10px;padding:16px 28px;border-top:1px solid var(--line)}.crm-dialog h3{font-size:15px;margin:26px 0 14px}.crm-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.crm-field{display:flex;flex-direction:column;gap:9px;font-size:12px;margin-bottom:17px}.crm-form-grid .crm-field{margin-bottom:0}.crm-field.full{grid-column:1/-1}.crm-field span{font-weight:600;color:#4d5e73}.crm-field input,.crm-field select,.crm-field textarea{width:100%;border:1px solid #dae2ec;background:#fbfcfe;border-radius:9px;padding:11px 12px;outline:none;line-height:1.6;color:var(--ink);font-size:13px}.crm-field input:focus,.crm-field select:focus,.crm-field textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px #2078f012}.crm-field input[type=color]{height:45px}.crm-field textarea{resize:vertical;min-height:110px}.crm-help{font-size:12px;line-height:1.8;color:var(--muted);margin:18px 0 0}.crm-form-error{color:#c24440;font-size:12px;margin:0 28px 12px;line-height:1.7}.crm-form-error:empty{display:none}.crm-lead-summary{display:flex;gap:13px;align-items:center;flex-wrap:wrap;font-size:12px;margin-bottom:24px}.crm-detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:0 0 20px}.crm-detail-grid dt{font-size:11px;color:var(--muted);margin-bottom:8px}.crm-detail-grid dd{margin:0;font-size:13px;overflow-wrap:anywhere;line-height:1.6}.crm-note{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--canvas);border:1px solid var(--line);padding:17px;border-radius:10px;font-size:13px;line-height:1.8}.crm-warning{font-size:12px;color:#98600b;padding:12px;border-radius:8px;background:#fff6e4}.crm-detail-actions{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0}.crm-detail-actions button{font-size:12px;padding:10px 12px}.crm-timeline article{border-left:2px solid #dce7f6;margin-left:3px;padding:0 0 22px 20px}.crm-timeline small{color:var(--muted);font-size:11px}.crm-timeline strong{display:block;font-size:13px;margin-top:8px}.crm-timeline p{white-space:pre-wrap;font-size:13px;line-height:1.8;margin:8px 0}.crm-list-row{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:12px 0;font-size:13px}.crm-document{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:2;background:#fafbfc;padding:25px;border-radius:10px}.crm-strategies{font-size:12px;color:var(--muted);margin-top:20px}.crm-permissions{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.crm-permissions label{display:flex;align-items:center;gap:8px;padding:13px;background:var(--canvas);border-radius:8px;font-size:12px}.crm-permissions input{accent-color:var(--blue)}.crm-audit{max-height:290px;overflow:auto;font-size:12px}.crm-audit p{padding:10px 0;border-bottom:1px solid var(--line)}.crm-audit span,.crm-audit small{color:var(--muted);margin-right:10px}.crm-grade-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.crm-grade-cards>div{border:1px solid var(--line);border-radius:12px;padding:20px}.crm-grade-cards h3{margin:0}.crm-grade-cards p{font-size:13px;line-height:1.8}.crm-grade-cards small{font-size:11px;color:var(--muted);display:block;margin-bottom:12px}.crm-qr{width:120px;height:120px;object-fit:contain}.crm-member-button{font-size:11px;margin-top:14px;align-self:flex-start}.crm-chat-layout{display:grid;grid-template-columns:285px minmax(0,1fr);height:calc(100vh - 245px);min-height:390px;overflow:hidden}.crm-chat-list{overflow:auto;border-right:1px solid var(--line);background:#fbfcfe}.crm-conversation{width:100%;padding:20px;text-align:left;background:transparent;border-bottom:1px solid var(--line)}.crm-conversation.selected{background:#edf4ff;border-left:3px solid var(--blue);padding-left:17px}.crm-conversation>div{display:flex;justify-content:space-between;gap:10px}.crm-conversation strong{font-size:13px}.crm-conversation b{font-size:10px;background:var(--blue);color:white;border-radius:10px;padding:2px 6px}.crm-conversation p{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--muted);font-size:12px;margin:10px 0}.crm-conversation small{color:var(--muted);font-size:10px}#chat-detail{display:flex;min-height:0;flex-direction:column}.crm-chat-head{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:18px 20px;border-bottom:1px solid var(--line)}.crm-chat-head strong{font-size:14px}.crm-chat-head small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.crm-chat-head button{font-size:11px;padding:7px 9px}.crm-messages{flex:1;min-height:0;overflow:auto;padding:22px;background:#f7f9fc}.crm-message{max-width:83%;width:fit-content;margin-bottom:20px}.crm-message small{font-size:10px;color:var(--muted)}.crm-message p{font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;background:white;border:1px solid var(--line);padding:12px 15px;border-radius:0 12px 12px;margin:7px 0 0}.crm-message.staff{margin-left:auto}.crm-message.staff p{background:var(--navy);color:white;border:none;border-radius:12px 0 12px 12px}.crm-message.system{max-width:100%;width:auto}.crm-message.system p{background:transparent;border:0;text-align:center;color:var(--muted);font-size:11px;padding:0}.crm-message.system small{display:none}#chat-compose{padding:14px 20px;border-top:1px solid var(--line)}#chat-compose textarea{border:0;resize:none;outline:none;width:100%;font-size:13px;line-height:1.7}#chat-compose>div{display:flex;align-items:center;justify-content:space-between}#chat-error{color:var(--muted);font-size:11px}#chat-compose button{font-size:12px;padding:10px 15px}.crm-auth-required .app-shell{display:none}#crm-auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;align-items:center;padding:8vw;gap:8vw;background:radial-gradient(ellipse at top left,#e5effd,transparent 60%),#f7f9fc}.auth-brand img{width:min(400px,100%);mix-blend-mode:multiply}.auth-brand p{color:var(--navy);font-size:20px;line-height:1.9;margin-top:-10px}#auth-form{background:white;padding:40px;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow);max-width:440px;width:100%}#auth-form h1{font-size:28px;margin:14px 0}.auth-note{font-size:13px;line-height:1.8;color:var(--muted);margin-bottom:26px}#auth-form .kicker{color:var(--blue);font-size:9px;letter-spacing:2px}#auth-form button{width:100%;margin-top:8px}#auth-form small{display:block;color:var(--muted);font-size:11px;line-height:1.8;margin-top:20px}#auth-form .crm-form-error{margin:10px 0}.crm-auth-required{overflow:auto}
@media(max-height:850px){.sidebar .brand{padding-bottom:8px}.nav{gap:1px;padding-top:8px}.nav-item{padding:8px 11px}.sidebar-bottom{padding-top:8px}.app-shell{min-height:600px}}
@media(max-width:1000px){.sidebar{width:188px;flex-basis:188px;padding:16px 10px}.brand-crop,.brand-crop img{width:155px}.product-name{margin-left:30px}.crm-metrics{grid-template-columns:repeat(2,1fr)}.crm-chat-layout{grid-template-columns:225px minmax(0,1fr)}.crm-page-head h1,.crm-welcome h1{font-size:24px}.crm-page-head{align-items:flex-start}.crm-chat-head{flex-wrap:wrap}.crm-table td,.crm-table th{padding:13px 10px}}
@media(max-width:700px){body{overflow:auto}.app-shell{display:block;height:auto;min-height:100vh}.sidebar{width:100%;position:sticky;top:0;z-index:10;padding:8px;background:white}.sidebar .brand,.sidebar-bottom{display:none}.sidebar .nav{display:flex;overflow:auto;padding:0;gap:4px}.nav-item{width:auto;flex-shrink:0;display:flex;padding:10px;font-size:12px}.crm-nav-icon{display:none}.main{min-width:0}.topbar{padding:12px 16px}.content{padding:20px 14px;overflow:visible}.crm-live{display:none}.crm-welcome h1,.crm-page-head h1{font-size:23px}.crm-page-head{display:block}.crm-page-head>button{margin-top:14px}.crm-metrics{gap:10px}.crm-metric{padding:18px}.crm-metric strong{font-size:32px}.crm-pipeline{grid-template-columns:repeat(2,1fr)}.crm-panel{padding:18px}.crm-table{min-width:610px}.panel:has(>.crm-table){overflow:auto}.crm-form-grid,.crm-detail-grid{grid-template-columns:1fr 1fr}.crm-permissions{grid-template-columns:1fr 1fr}.crm-grade-cards{grid-template-columns:1fr}.crm-dialog-body{padding:20px}.crm-dialog header,.crm-dialog footer{padding:18px 20px}.crm-chat-layout{display:flex;flex-direction:column;height:70vh;min-height:530px}.crm-chat-list{display:flex;flex-shrink:0;height:110px;border-bottom:1px solid var(--line);overflow:auto}.crm-conversation{min-width:210px;padding:12px}.crm-conversation.selected{padding-left:9px}#chat-detail{flex:1;min-height:0}.crm-chat-head{padding:10px}.crm-messages{padding:14px}.crm-chat-head strong{font-size:12px}#crm-auth{display:block;padding:35px 20px}.auth-brand{max-width:340px;margin:auto}.auth-brand img{width:220px}.auth-brand p{font-size:15px}#auth-form{padding:28px;margin:24px auto}.crm-form-grid .full{grid-column:1/-1}.crm-table-scroll{max-width:100%}}

.crm-mobile-account{display:none}@media(max-width:700px){.crm-mobile-account{display:block;padding:7px;font-size:11px}.top-actions{gap:6px}.topbar .primary-button{font-size:11px;padding:11px}.content{height:auto}.node-builder{grid-template-columns:1fr}.modal-backdrop{padding:10px}.modal{padding:20px}.task-table-wrap{overflow:auto}.crm-form-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}

.crm-test-banner{padding:8px 16px;background:#fff5da;color:#8a651c;font-size:11px;text-align:center;flex-shrink:0}

/* Keep existing draft dialogs in memory while the session is locked. */
.crm-session-locked .app-shell,.crm-session-locked .modal-backdrop,.crm-session-locked .crm-dialog,.crm-session-locked #toast{visibility:hidden!important;pointer-events:none!important}
.crm-session-dialog{width:min(460px,calc(100vw - 32px));max-height:calc(100vh - 32px);padding:32px;border:1px solid var(--line);border-radius:20px;color:var(--ink);box-shadow:var(--shadow);overflow:auto}
.crm-session-dialog::backdrop{background:#eef2f8}
.crm-session-dialog h1{font-size:26px;color:var(--navy);margin:12px 0}
.crm-session-dialog .kicker{font-size:10px;letter-spacing:2px;color:var(--blue)}
.crm-session-dialog button{width:100%;margin-top:10px}
.crm-session-dialog .crm-form-error{margin:12px 0}
/* Wide tables use explicit column widths; never inherit the page's 100% table width. */
.ledger-panel{min-width:0;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:var(--surface)}
.ledger-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;background:#fff;border-bottom:1px solid var(--line)}
.ledger-toolbar strong{font-size:13px;color:var(--navy)}
.ledger-toolbar span{font-size:12px;color:var(--muted)}
.ledger-scroll{width:100%;max-width:100%;overflow:auto;max-height:65vh;overscroll-behavior:contain;scrollbar-color:#b6cbe6 #f0f5fb;scrollbar-width:auto}
.ledger-scroll::-webkit-scrollbar{width:11px;height:11px}
.ledger-scroll::-webkit-scrollbar-track{background:#f0f5fb}
.ledger-scroll::-webkit-scrollbar-thumb{background:#b6cbe6;border:2px solid #f0f5fb;border-radius:8px}
.ledger-scroll:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}
.ledger-table{width:var(--table-width);min-width:var(--table-width);table-layout:fixed;border-collapse:separate;border-spacing:0}
.ledger-table th,.ledger-table td{border-right:1px solid #e7edf5;vertical-align:middle;padding:17px 20px;font-size:13px}
.ledger-table th{text-align:left;white-space:nowrap;font-weight:650;line-height:1.5}
.ledger-table thead,.report-table thead{position:sticky;top:0;z-index:3}
.ledger-table thead th,.report-table thead th{background:var(--blue-soft);color:var(--navy);border-bottom:1px solid #dbe7f5}
.ledger-table thead .ledger-band{color:var(--navy);background:#e3eefc;padding-top:13px;padding-bottom:13px;font-size:12px;letter-spacing:.03em}
.ledger-table thead .ledger-band.meeting{background:#d5e6fb;color:var(--navy-deep)}
.ledger-table thead .ledger-band.source{background:#edf4fe}
.ledger-table td{height:98px;border-top:0;border-bottom:1px solid #edf1f6;color:#526071;background:#fff}
.ledger-table tbody tr:nth-child(even) td{background:#fbfdff}
.ledger-table tbody tr:hover td{background:#f0f6ff}
.ledger-fixed{position:sticky;left:0;z-index:2;background:#fff;box-shadow:5px 0 12px -8px #073b7880}
.ledger-table thead .ledger-fixed{z-index:4;background:var(--navy);color:#fff}
.ledger-table .ledger-fixed small{max-width:195px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ledger-client{border:0;background:none;color:var(--navy);font:inherit;font-size:14px;font-weight:700;text-align:left;cursor:pointer;padding:0;max-width:198px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ledger-client:hover{color:var(--blue);text-decoration:underline;text-underline-offset:4px}
.ledger-cell{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.65;font-variant-numeric:tabular-nums}
.ledger-number{text-align:right}
.ledger-table .crm-grade{margin-top:7px;font-size:10px}
.ledger-form-group{border:1px solid #e1e9f3;border-radius:14px;margin:14px 0;background:#fff;overflow:hidden}
.ledger-form-group summary{padding:17px 20px;cursor:pointer;font-weight:700;color:var(--navy);display:flex;justify-content:space-between;align-items:center;gap:16px;background:#f5f9ff}
.ledger-form-group summary:after{content:'＋';font-weight:400;color:var(--blue)}
.ledger-form-group[open] summary:after{content:'−'}
.ledger-form-group summary small{color:#7c8b9f;font-size:11px;font-weight:400;margin-left:auto}
.ledger-form-group .crm-form-grid{padding:20px;gap:16px 20px}
.ledger-readonly input,.ledger-readonly textarea,.ledger-readonly select{background:#f5f7fa!important;color:#708095!important;opacity:1;-webkit-text-fill-color:#708095}
.crm-required{color:var(--blue);font-weight:600}
.report-filter{display:flex;align-items:end;gap:18px;flex-wrap:wrap;background:#fff;padding:22px;border:1px solid var(--line);border-radius:16px;margin:20px 0}
.report-filter .crm-field{margin:0;min-width:170px;flex:1;max-width:300px}
.report-filter button{height:43px}
.report-range-separator{padding-bottom:12px;color:var(--quiet);font-size:13px}
.report-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin-bottom:20px}
.report-summary article{padding:22px 24px;background:#fff;border:1px solid var(--line);border-radius:16px;border-top:3px solid #dbe9fc}
.report-summary span{display:block;color:var(--muted);font-size:13px}
.report-summary strong{display:block;font-size:30px;color:var(--navy);margin-top:10px;font-variant-numeric:tabular-nums}
.report-panel{overflow:hidden;border:1px solid var(--line);border-radius:18px}
.report-title{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px 24px;border-bottom:1px solid #dfebfa;background:#f3f8ff;color:var(--navy)}
.report-title h2{margin:0;font-size:20px}.report-title span{font-size:13px;color:#607b9c}
.report-notes{padding:14px 24px;font-size:12px;color:#75849a;background:#fbfdff}
.report-notes p{margin:4px 0;line-height:1.7}
.report-table{width:max-content;min-width:1900px;table-layout:auto;border-spacing:0;border-collapse:separate;font-variant-numeric:tabular-nums}
.report-table th{text-align:center;white-space:nowrap;min-width:120px;border-right:1px solid #dce7f4}
.report-table td{text-align:right;min-width:120px;border-right:1px solid #edf1f6;font-size:12px}
.report-table .ledger-band{background:var(--navy);color:#fff}.report-table .ledger-band.rates{background:#2268bb}
.report-table .report-total td,.report-table .report-total th{font-weight:700;background:#e9f2ff;color:var(--navy)}
.report-table thead .ledger-fixed{background:var(--blue-soft);z-index:4}
.report-method{color:#7a8494;font-size:12px;line-height:1.8;margin:18px 4px}.report-method p{margin:5px 0}
.crm-inbox{padding:24px;margin:0 0 24px;border:1px solid #dbe8fa;background:linear-gradient(110deg,#f4f8ff,#fff 65%)}
.crm-inbox-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:18px}
.crm-inbox-heading h2{font-size:20px;color:var(--navy);margin:8px 0}.crm-inbox-heading h2 span{display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:26px;border-radius:8px;background:var(--blue);color:white;font-size:13px;margin-left:8px;padding:0 5px}
.crm-inbox-heading p:not(.kicker){font-size:12px;color:var(--muted);margin:0;line-height:1.7}
.crm-inbox-list{display:grid;gap:8px;max-height:320px;overflow:auto}
.crm-inbox-item{display:flex;align-items:center;gap:14px;padding:15px 18px;background:#fff;border:1px solid #e3ebf5;border-radius:12px;text-align:left;transition:border-color .15s,background .15s}
.crm-inbox-item:hover{border-color:#a8c9f6;background:#f8fbff}.crm-inbox-dot{width:7px;height:7px;border-radius:50%;background:var(--blue);flex-shrink:0}.crm-inbox-item strong{display:block;font-size:13px;color:var(--navy)}.crm-inbox-item small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.crm-inbox-view{margin-left:auto;color:var(--blue);font-size:12px;white-space:nowrap}.crm-inbox-empty{padding:16px;background:#fff;border-radius:12px;color:var(--muted);font-size:12px}
@media(max-width:700px){.report-summary{grid-template-columns:repeat(2,1fr)}.ledger-toolbar,.report-title{align-items:flex-start;flex-direction:column;gap:8px}.report-summary article{padding:16px}.report-summary strong{font-size:24px}.ledger-form-group summary{font-size:14px}.report-filter{padding:16px;gap:12px}.report-filter .crm-field{min-width:0;max-width:none;flex-basis:40%}.report-filter button{width:100%}.report-range-separator{display:none}.crm-inbox{padding:18px}.crm-inbox-heading{align-items:flex-start}.crm-inbox-view{font-size:11px}.ledger-table th,.ledger-table td{padding:15px 18px}}

.ledger-supplement{display:block;margin-top:10px;border:1px solid #cce0ff;background:#edf5ff;color:var(--blue);border-radius:7px;padding:6px 10px;font-size:12px;font-weight:600;cursor:pointer}.ledger-supplement:hover{background:#dcecff}.crm-note p{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 0}
:root{--workflow-blue:#2478ee}
.role-switcher{display:grid;gap:6px;margin:12px 0;color:#64748b;font-size:12px}.role-switcher select{width:100%;padding:10px 12px;border:1px solid #d9e5f5;border-radius:10px;background:#f5f9ff;color:#174b87;font:inherit;font-weight:650}
.workflow-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 20px}.workflow-tabs .active{background:#eaf3ff;border-color:#97bfee;color:#175cac}.workflow-badge{display:inline-flex;padding:5px 9px;margin:6px 0;border-radius:7px;background:#edf4fd;color:#285a93;font-size:12px;white-space:nowrap}.workflow-badge.returned{background:#fff0ed;color:#ab4536}.workflow-badge.verified{background:#eaf7f0;color:#21825d}.workflow-badge.draft{background:#f0f3f7;color:#6a7789}
.ledger-table tbody tr[data-lead-row]{cursor:pointer}.ledger-table tbody tr[data-lead-row]:hover td{background:#f1f7ff}.crm-detail-grid dd{overflow-wrap:anywhere;white-space:pre-wrap}.import-steps{display:grid;gap:15px}.import-steps p{color:#66758a;line-height:1.7}.import-steps input[type=file]{padding:22px;background:#f5f9ff;border:1px dashed #a9c5eb;border-radius:12px}.import-steps .import-success{padding:14px;background:#eff9f3;color:#21825d;border-radius:10px}

/* One customer, repeated service cycles. */
.life-duty,.life-private,.life-repeat{display:inline-flex;padding:8px 13px;border-radius:20px;background:#e8f1ff;color:#1d64bb;font-size:12px;font-weight:650;white-space:nowrap}
.life-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:18px;margin:26px 0}
.life-stats>article,.life-stats>button{display:flex;flex-direction:column;align-items:flex-start;background:#fff;border:1px solid #e1e9f3;border-radius:20px;padding:24px;text-align:left;color:#18395f}
.life-stats small{font-size:14px;color:#60738d}.life-stats strong{font-size:38px;line-height:1.5;letter-spacing:-1px}.life-stats span{font-size:12px;color:#7b8ba0}
.life-work-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(260px,1fr);gap:24px}.life-next,.life-journey{padding:27px}.life-next h2,.life-journey h2{font-size:23px}
.life-todos{display:flex;flex-direction:column;gap:8px}.life-todo{display:flex;align-items:center;gap:14px;border:0;border-radius:13px;background:#f7faff;padding:17px;text-align:left;color:#214b7b;transition:background .16s,transform .16s}
.life-todo:hover{background:#eaf3ff;transform:translateX(3px)}.life-todo>span:nth-child(2){flex:1}.life-todo strong,.life-todo small{display:block}.life-todo small{margin-top:6px;color:#788ba3}.life-todo time{font-size:12px;color:#637e9b}.life-todo-dot{height:8px;width:8px;flex:0 0 8px;background:#2580f5;border-radius:50%}
.life-overview{display:grid;gap:0;margin:22px 0}.life-overview>div{display:flex;gap:16px;padding:18px 0;border-bottom:1px solid #edf1f7}.life-overview b{font-size:13px;color:#327ff0;background:#eef5ff;width:38px;height:38px;border-radius:12px;display:grid;place-items:center}.life-overview strong,.life-overview small{display:block}.life-overview strong{font-size:15px;color:#173e6b}.life-overview small{font-size:12px;color:#7c8ba0;margin-top:6px}
.life-phase-panel{margin-top:24px;padding:26px}.life-stage-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}.life-stage-grid button{border:1px solid #e2ecf8;background:#f8fbff;border-radius:14px;padding:18px;text-align:left;color:#38628f}.life-stage-grid strong,.life-stage-grid span{display:block}.life-stage-grid strong{font-size:26px;color:#1767c3;margin-bottom:5px}
.life-client-filter{display:flex;gap:14px;align-items:center;margin-bottom:24px}.life-client-filter input{flex:1;min-width:120px}.life-client-filter input,.life-client-filter select{padding:14px;border:1px solid #dce7f3;border-radius:12px;background:#fff;color:#385270;font:inherit}.life-client-filter span{font-size:13px;color:#7a8aa0;white-space:nowrap}
.life-customer-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:22px}.life-client-card{display:block;min-width:0;padding:24px;background:#fff;border:1px solid #e2eaf5;border-radius:21px;box-shadow:0 8px 24px #22466b06;text-align:left;transition:transform .2s,box-shadow .2s;color:#18385e}
.life-client-card:hover{transform:translateY(-3px);box-shadow:0 16px 32px #22466b10;border-color:#b7d4f7}.life-client-card>div:first-child{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.life-client-card h2{font-size:23px;line-height:1.4;margin:20px 0 6px;overflow-wrap:anywhere}.life-client-card p{font-size:13px;color:#7d8da2;margin:0 0 26px}.life-client-meta{display:flex;gap:18px;font-size:12px;color:#7991ac}.life-client-card footer{display:flex;justify-content:space-between;gap:15px;border-top:1px solid #edf2f8;margin-top:17px;padding-top:17px;font-size:12px}.life-client-card footer strong{color:#2277df}
.life-phase{display:inline-flex;font-size:12px;line-height:1.4;color:#266cbb;background:#edf5ff;border:1px solid #dcecff;border-radius:8px;padding:6px 10px}.life-phase.returned{color:#a1463a;background:#fff0ed;border-color:#ffdcd4}.life-phase.completed{color:#217764;background:#ecf8f4;border-color:#d5eee6}.life-phase.closed{color:#747e8b;background:#f1f3f6;border-color:#e7eaf0}
.life-breadcrumb{display:flex;align-items:center;gap:15px;font-size:13px;color:#8796a7;margin-bottom:25px}.life-breadcrumb button{padding-left:0}.life-customer-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 26px}.life-customer-hero h1{font-size:35px;letter-spacing:-.7px;margin:6px 0 12px;overflow-wrap:anywhere}.life-customer-hero p{color:#75869b}.life-hero-note{display:flex;flex-direction:column;gap:8px;text-align:right}.life-hero-note strong{font-size:22px;color:#22558e}.life-hero-note span{font-size:12px;color:#7890ac}.life-private{font-size:11px;padding:3px 8px;margin-left:10px}
.life-cycle-tabs{display:flex;gap:12px;overflow-x:auto;padding:4px 0 18px;scrollbar-width:thin}.life-cycle-tabs button{flex:0 0 215px;display:flex;flex-direction:column;gap:6px;background:#fff;color:#657d98;border:1px solid #dfe9f5;border-radius:15px;padding:17px 20px;text-align:left}.life-cycle-tabs button.active{background:#176be0;color:#fff;border-color:#176be0;box-shadow:0 8px 16px #176be01c}.life-cycle-tabs small,.life-cycle-tabs span{font-size:11px;opacity:.85}.life-cycle-tabs strong{font-size:16px}
.life-current{padding:28px;margin-bottom:24px}.life-current-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.life-current h2{font-size:25px;margin:6px 0}.life-current p{color:#7790a9;font-size:13px}.life-track{display:flex;overflow:auto;gap:0;margin:24px -3px;padding:8px 3px 16px;scrollbar-width:thin}.life-track>span{display:flex;align-items:center;gap:8px;flex-shrink:0;color:#8c9cb0;font-size:11px}.life-track>span:not(:last-child):after{content:'';width:22px;height:1px;background:#dbe5f1;margin:0 10px}.life-track b{display:grid;place-items:center;background:#eff3f8;color:#899bb0;width:23px;height:23px;border-radius:50%;font-size:10px}.life-track .current{color:#176fe1;font-weight:750}.life-track .current b{background:#176fe1;color:#fff;box-shadow:0 0 0 4px #e8f2ff}.life-track .passed b{color:#258666;background:#e9f6f1}
.life-detail-columns{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,1fr);gap:24px;align-items:start}.life-information{padding:26px;margin-bottom:24px;min-width:0}.life-information h2{font-size:20px;margin:0 0 23px}.life-information p,.life-information dd{overflow-wrap:anywhere;white-space:pre-wrap}.life-information .crm-detail-grid{margin:0}.life-information .ledger-form-group{margin:14px 0 0}.life-history{max-height:950px;overflow-y:auto}.life-history .crm-timeline{padding-top:4px}.life-meeting{padding:15px 0;border-bottom:1px solid #ecf0f6}.life-meeting strong,.life-meeting small{display:block}.life-meeting strong{color:#36567c;font-size:14px}.life-meeting small{font-size:12px;margin-top:7px;color:#8a9bb0}.life-meeting p{color:#607791;line-height:1.7;font-size:13px}.life-amount{font-size:28px;color:#1c67bb}.life-source{border-left:3px solid #4d93ed;padding-left:12px;margin-top:20px}
.life-project-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:18px}.life-project{padding:23px;background:#f7faff;border:1px solid #e1ecf9;border-radius:16px}.life-project>span{color:#287bd2;font-size:12px}.life-project h3{font-size:18px;line-height:1.5;color:#294e7a}.life-project p,.life-project small{color:#7b8fa8;font-size:12px}.life-project footer{display:flex;gap:10px;margin-top:20px;flex-wrap:wrap}.life-need{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #e7eef6;padding:22px 0}.life-need h3{font-size:18px}.life-need p{color:#60748f;line-height:1.7;font-size:14px}.life-need small{color:#8093ac}.ledger-band.qualification{background:#236cb4}
@media(max-width:1100px){.life-work-grid,.life-detail-columns{grid-template-columns:1fr}.life-journey{display:none}.life-history{max-height:none}.life-customer-hero{align-items:flex-start}.life-hero-note{max-width:180px}.life-stats{gap:12px}.life-stats>article,.life-stats>button{padding:18px}}
@media(max-width:650px){.life-customer-hero{display:block}.life-customer-hero h1{font-size:28px}.life-hero-note{text-align:left;margin-top:18px;max-width:none}.life-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.life-stats strong{font-size:29px}.life-client-filter{flex-wrap:wrap}.life-client-filter input{width:100%;flex-basis:100%}.life-customer-grid{grid-template-columns:1fr}.life-current,.life-information,.life-next{padding:20px}.life-need{display:block}.life-todo time{max-width:65px}.life-current-head{align-items:flex-start}}
@media(prefers-reduced-motion:reduce){.life-client-card,.life-todo{transition:none}}

.life-task-planner{margin-top:24px;padding:22px;background:#f5f8fc;border:1px solid #e2eaf4;border-radius:16px}.life-task-row{display:grid;grid-template-columns:minmax(180px,2fr) minmax(140px,1fr) minmax(140px,1fr) auto;gap:12px;align-items:end;margin:16px 0}.life-task-row input{width:100%;min-width:0}.life-task-row>button{margin-bottom:6px}@media(max-width:640px){.life-task-row{grid-template-columns:1fr 1fr}.life-task-row>label:first-child{grid-column:1/-1}}

body:not(.crm-layout-ready) .sidebar,body:not(.crm-layout-ready) .main{visibility:hidden}
/* Local customer-centre visual exploration. Uses only the existing scoped API. */
.vc-center{--vc-ink:#173757;--vc-blue:#2178ed;--vc-soft:#eaf3ff;color:var(--vc-ink)}
.vc-icon{width:19px;height:19px;flex:0 0 19px;display:inline-block;vertical-align:middle}
.vc-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:25px}.vc-heading h1{font-size:30px;letter-spacing:-1px;display:flex;align-items:center;gap:12px;margin:8px 0}.vc-heading p:not(.kicker){font-size:13px;color:#7e8ca0;margin:8px 0}.vc-live-dot{width:7px;height:7px;border-radius:50%;background:#2583f0;box-shadow:0 0 0 5px #e7f1ff}
.vc-overview{display:grid;grid-template-columns:minmax(230px,.95fr) minmax(0,2.05fr);background:#fff;border:1px solid #e0e8f2;border-radius:20px;margin-bottom:25px;overflow:hidden;box-shadow:0 8px 22px #1c4d8210}
.vc-overview-intro{padding:27px 28px;background:linear-gradient(120deg,#103f77,#1c65b7);position:relative;overflow:hidden;color:#fff}.vc-overview-intro:after{content:'';position:absolute;width:170px;height:170px;border:1px solid #ffffff15;border-radius:50%;right:-63px;top:12px;box-shadow:0 0 0 25px #ffffff05,0 0 0 52px #ffffff03;pointer-events:none}.vc-overline{font-size:8px;letter-spacing:1.4px;color:#a9d0fa}.vc-overview-intro h2{font-size:23px;line-height:1.65;font-weight:600;margin:12px 0 20px;letter-spacing:.4px;position:relative;z-index:1}.vc-scope{display:flex;align-items:center;gap:6px;font-size:10px;color:#b6d5f7;position:relative;z-index:1}.vc-scope .vc-icon{width:13px;height:13px;flex-basis:13px}
.vc-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;padding:20px 12px}.vc-metrics>button,.vc-metrics>div{min-width:0;text-align:left;padding:14px 20px;background:transparent;display:flex;flex-direction:column;gap:13px;border-radius:13px;color:var(--vc-ink);position:relative;transition:background .18s}.vc-metrics>button:hover{background:#f0f6ff}.vc-metrics>button:after{content:'';height:64px;width:1px;background:#eaf0f7;position:absolute;right:0;top:30px}.vc-metrics span{font-size:12px;color:#73839b}.vc-metrics strong{font-size:40px;font-weight:650;letter-spacing:-1.8px;white-space:nowrap}.vc-metrics strong small{font-size:11px;color:#8293aa;margin-left:7px;font-weight:400;letter-spacing:0}.vc-metrics em{font-size:10px;line-height:1.6;color:#8798ac;font-style:normal;display:flex;gap:5px;align-items:center;white-space:nowrap}.vc-metrics .vc-icon{width:12px;height:12px;flex-basis:12px}
.vc-journey{background:#fff;border:1px solid #e2eaf4;border-radius:18px;padding:22px 23px;margin-bottom:30px}.vc-section-title,.vc-section-title>div{display:flex;align-items:center;gap:10px}.vc-section-title{justify-content:space-between;margin-bottom:20px}.vc-section-title h2{font-size:15px;white-space:nowrap;margin:0;font-weight:650}.vc-section-title>div>span:last-child:not(.vc-section-dot){color:#8b98a9;font-size:10px;margin-left:4px}.vc-section-dot{height:13px;width:3px;border-radius:3px;background:var(--vc-blue)}.vc-text-button{font-size:11px;color:#6e819a;background:transparent;display:flex;align-items:center;gap:6px}.vc-text-button .vc-icon{width:13px;height:13px;flex-basis:13px}
.vc-journey-stages{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.vc-stage{background:#f7f9fc;border:1px solid transparent;padding:16px 12px 13px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px;border-radius:12px;text-align:left;position:relative;color:var(--vc-ink);transition:transform .2s,background .2s,border-color .2s,box-shadow .2s;min-width:0}.vc-stage:hover,.vc-stage.selected{background:#eef5ff;border-color:#8dbbf5;box-shadow:0 5px 16px #2678df0b;transform:translateY(-2px)}.vc-stage-icon{width:30px;height:30px;display:grid;place-items:center;background:#e9f1fc;border-radius:9px;color:#4481cb;grid-column:1}.vc-stage-info{grid-column:1;grid-row:2;display:flex;flex-direction:column;gap:6px}.vc-stage-info b{font-size:13px;font-weight:650;white-space:nowrap}.vc-stage-info small{font-size:9px;color:#8b9aae;white-space:nowrap}.vc-stage>strong{grid-column:2;grid-row:1;font-size:27px;font-weight:600;letter-spacing:-.8px}.vc-stage>strong>small{font-size:9px;color:#8d9bae;font-weight:400;margin-left:5px}.vc-stage-line{grid-column:1/-1;height:3px;border-radius:3px;background:#e5ebf4;overflow:hidden;margin-top:1px}.vc-stage-line i{display:block;height:100%;background:#8eb8ed;border-radius:3px;min-width:0;transition:width .3s}.vc-stage.selected .vc-stage-line i{background:#267eea}.vc-stage.delivery .vc-stage-icon{color:#2d889d;background:#e7f3f5}.vc-stage.growth .vc-stage-icon{color:#3c907c;background:#e5f3ef}.vc-stage.commerce .vc-stage-icon{color:#4972b6;background:#e9eefc}
.vc-directory{scroll-margin-top:20px}.vc-directory-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:19px;gap:12px;border-bottom:1px solid #e2e9f2}.vc-tabs{display:flex;gap:27px;min-width:0}.vc-tabs button{display:flex;align-items:center;gap:7px;color:#8190a4;background:transparent;padding:0 0 15px;border-bottom:2px solid transparent;border-radius:0;font-size:13px;white-space:nowrap}.vc-tabs button.active{border-color:#247aeb;color:#1b62b7;font-weight:650}.vc-tabs b{font-size:10px;background:#e9eef5;color:#8d9bb0;border-radius:5px;padding:2px 5px;font-weight:550}.vc-tabs button.active b{background:#e3eeff;color:#347ac9}.vc-view-switch{display:flex;gap:3px;background:#eaf0f7;padding:3px;border-radius:8px;margin-bottom:10px}.vc-view-switch button{height:30px;width:33px;display:grid;place-items:center;color:#92a1b4;background:transparent;border-radius:6px;transition:background .2s}.vc-view-switch button.active{background:#fff;color:#2874cf;box-shadow:0 2px 4px #233e6510}.vc-view-switch .vc-icon{height:16px;width:16px}
.vc-tools{display:flex;align-items:center;gap:12px;margin-bottom:20px}.vc-search{display:flex;align-items:center;gap:10px;border:1px solid #dfe7f2;border-radius:9px;background:#fff;padding:0 13px;flex:1;min-width:100px;color:#91a0b2}.vc-search input{border:0;background:transparent;min-width:0;width:100%;outline:0;font-size:12px;padding:12px 0;color:#39516f}.vc-search:focus-within{border-color:#83b5f5;box-shadow:0 0 0 3px #e7f1ff}.vc-search .vc-icon{height:16px;width:16px;flex-basis:16px}.vc-tools select{font-size:11px;max-width:165px;color:#667d98;border:1px solid #dfe7f2;background:#fff;border-radius:9px;padding:12px 25px 12px 12px}.vc-tools>span{font-size:11px;white-space:nowrap;color:#8c99a9}.vc-filter-hint{display:flex;align-items:center;gap:14px;color:#4c7fae;font-size:11px;margin:-3px 0 16px}.vc-filter-hint button{color:#3982cd;background:#e9f3ff;border-radius:5px;padding:5px 8px;font-size:10px}
.vc-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:start}.vc-client-card{background:#fff;border:1px solid #e0e8f3;border-radius:15px;padding:20px 19px 0;text-align:left;display:block;color:var(--vc-ink);min-width:0;box-shadow:0 4px 12px #17385603;transition:border-color .18s,transform .18s,box-shadow .18s;animation:vc-reveal .24s ease-out both}.vc-client-card:hover{border-color:#8bb7ed;transform:translateY(-3px);box-shadow:0 12px 25px #1a589010}.vc-client-card:focus-visible,.vc-center button:focus-visible{outline:3px solid #aacdf8;outline-offset:3px}.vc-card-top{display:flex;align-items:center;gap:11px;margin-bottom:18px;min-width:0}.vc-avatar{height:41px;width:41px;flex:0 0 41px;background:linear-gradient(145deg,#e8f2ff,#dceafd);color:#4e82bf;border:1px solid #e4edfa;border-radius:12px;display:grid;place-items:center;font-size:18px;font-weight:600}.vc-avatar.delivery{color:#418395;background:#eaf4f6;border-color:#dfedef}.vc-avatar.growth{color:#4b8a77;background:#eaf4ef;border-color:#e1eee7}.vc-card-identity{display:flex;flex-direction:column;gap:7px;min-width:0;flex:1}.vc-card-identity strong{font-size:15px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vc-card-identity small{font-size:10px;color:#8c9aad}.vc-repeat{display:flex;align-items:center;gap:3px;color:#329385;background:#edf8f4;padding:4px 5px;border-radius:5px;font-size:9px;white-space:nowrap}.vc-repeat .vc-icon{width:12px;height:12px;flex-basis:12px}.vc-card-state{display:flex;justify-content:space-between;align-items:center;gap:6px;margin-bottom:11px}.vc-card-state .life-phase{padding:4px 7px;font-size:10px;border:0;border-radius:5px}.vc-card-state>span:last-child:not(.life-phase){font-size:9px;color:#9aa6b7;white-space:nowrap}.vc-mini-route{display:flex;gap:4px;margin-bottom:17px}.vc-mini-route span{height:3px;border-radius:3px;flex:1;background:#edf1f7}.vc-mini-route .past{background:#cadff9}.vc-mini-route .current{background:#3685e9}.vc-card-focus{padding:11px 10px;background:#f6f8fb;border-radius:9px;display:flex;align-items:center;gap:9px;color:#9baabd;min-height:55px}.vc-card-focus.has-todo{background:#f0f6ff;color:#6293ce}.vc-card-focus>div{min-width:0;flex:1}.vc-card-focus small{display:block;color:#9aaabd;font-size:9px;margin-bottom:4px}.vc-card-focus strong{color:#627b9b;font-size:11px;font-weight:550;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vc-card-focus.has-todo strong{color:#3b6a9f}.vc-card-focus .vc-icon{width:17px;height:17px;flex-basis:17px}.vc-todo-more{font-size:10px;background:#e3efff;padding:3px 5px;border-radius:4px}.vc-card-numbers{display:flex;gap:13px;align-items:center;color:#92a0b2;font-size:9px;padding:16px 0;white-space:nowrap}.vc-card-numbers b{color:#617a9b;font-size:12px;font-weight:600;margin-right:3px}.vc-card-numbers>span:last-child{margin-left:auto;display:flex;align-items:center;gap:5px;min-width:0;overflow:hidden;text-overflow:ellipsis}.vc-card-numbers .vc-icon{width:12px;height:12px;flex-basis:12px}.vc-client-card footer{border-top:1px solid #edf1f7;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 0;font-size:9px;color:#a0abba}.vc-client-card footer strong{font-size:10px;color:#528acb;display:flex;align-items:center;gap:7px;font-weight:550}.vc-client-card footer .vc-icon{width:13px;height:13px;flex-basis:13px}.vc-footer-note{display:flex;align-items:center;gap:7px;font-size:10px;color:#9ba8b9;margin:23px 0}.vc-footer-note .vc-icon{width:13px;height:13px;flex-basis:13px}.vc-empty{grid-column:1/-1;background:#fff;text-align:center;border:1px dashed #dbe5f3;border-radius:15px;padding:50px 25px;min-width:260px;width:100%;color:#8a9eb8}.vc-empty .vc-icon{width:30px;height:30px}.vc-empty h3{font-size:16px;color:#637d9d;margin-top:16px}.vc-empty p{font-size:12px}
.vc-board{display:flex;align-items:flex-start;gap:15px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding:0 2px 18px;scroll-snap-type:x proximity}.vc-board-column{background:#edf2f8;border:1px solid #e5ebf3;border-radius:13px;padding:12px;flex:0 0 282px;scroll-snap-align:start;min-height:340px}.vc-board-column>header{display:flex;gap:8px;align-items:center;color:#6784a7;margin:4px 4px 16px}.vc-board-column>header h3{font-size:12px;font-weight:600;margin:0;flex:1}.vc-board-column>header b{font-size:11px;background:#fff;border-radius:6px;padding:4px 6px}.vc-board-column>header .vc-icon{width:16px;height:16px;flex-basis:16px}.vc-board .vc-client-card{width:100%;margin-bottom:13px;padding:16px 14px 0;border-color:#e0e7f0}.vc-board .vc-client-card:last-child{margin-bottom:0}.vc-column-empty{border:1px dashed #d6e0ed;border-radius:10px;color:#a1b0c1;font-size:11px;text-align:center;padding:25px}
.vc-profile-hero{padding:27px 30px;background:#fff;border:1px solid #e1e9f3;border-radius:18px;margin-bottom:18px;position:relative;overflow:hidden}.vc-profile-identity{display:flex;align-items:center;gap:21px;min-width:0}.vc-avatar.large{width:70px;height:70px;flex-basis:70px;font-size:30px;border-radius:19px}.vc-profile-hero h1{font-size:28px;line-height:1.4;margin:7px 0 7px}.vc-profile-hero p:not(.kicker){font-size:12px;margin:0;color:#8193aa}.vc-profile-hero p>span:not(.life-private){margin:0 9px;color:#bcc7d5}.vc-profile-counts{display:flex;gap:26px;margin-left:15px;flex-shrink:0}.vc-profile-counts>span{display:flex;flex-direction:column;gap:8px;color:#96a5b7;font-size:10px}.vc-profile-counts b{font-size:26px;color:#456f9f;font-weight:550}.vc-profile-route{background:#fff;border:1px solid #e1e9f3;border-radius:17px;padding:22px 26px;margin-bottom:18px}.vc-profile-role{display:flex;align-items:center;gap:5px;font-size:10px;color:#8ba0b7}.vc-profile-role .vc-icon{width:14px;height:14px;flex-basis:14px}.vc-route-nodes{display:grid;grid-template-columns:repeat(5,1fr);margin:24px 0 22px}.vc-route-nodes>div{display:flex;flex-direction:column;align-items:center;gap:10px;position:relative;text-align:center;min-width:0}.vc-route-nodes>div:not(:last-child):after{content:'';position:absolute;height:1px;background:#e5edf6;top:21px;left:calc(50% + 29px);width:calc(100% - 58px)}.vc-route-nodes>div>span{width:43px;height:43px;display:grid;place-items:center;background:#f2f5f9;border:1px solid #eaf0f5;border-radius:13px;color:#a2b2c6;z-index:1}.vc-route-nodes strong{font-size:12px;font-weight:550;color:#8c9bb0}.vc-route-nodes small{font-size:9px;color:#a6b2c2}.vc-route-nodes .past>span{background:#eef5ff;border-color:#e2edfd;color:#6f9cce}.vc-route-nodes .past strong{color:#708eae}.vc-route-nodes .current>span{background:#2479e8;border-color:#2479e8;box-shadow:0 0 0 5px #eef5ff;color:#fff}.vc-route-nodes .current strong{color:#2e72bd;font-weight:650}.vc-route-nodes .current small{color:#72a0d3}.vc-collaborators{border-top:1px solid #eef2f7;display:flex;align-items:center;gap:22px;padding-top:17px;color:#9daabc;font-size:10px;flex-wrap:wrap}.vc-collaborators>div{display:flex;align-items:center;gap:8px}.vc-collaborators i{height:27px;width:27px;border-radius:50%;display:grid;place-items:center;background:#edf3fa;color:#7e9cbd;font-size:11px;font-style:normal}.vc-collaborators b,.vc-collaborators small{display:block;font-size:10px;font-weight:450}.vc-collaborators b{color:#6986a8}.vc-collaborators small{font-size:9px;color:#acb6c3;margin-top:3px}
.vc-center .life-cycle-tabs{gap:10px;padding:0 0 18px}.vc-center .life-cycle-tabs button{padding:13px 18px;flex-basis:220px;border-radius:11px;position:relative}.vc-center .life-cycle-tabs button.active{background:#edf5ff;color:#326eaf;border-color:#a2c7f4;box-shadow:none}.vc-center .life-cycle-tabs button.active:before{content:'';position:absolute;left:0;top:16px;bottom:16px;width:3px;border-radius:2px;background:#2f82e9}.vc-center .life-cycle-tabs strong{font-size:13px}.vc-center .life-cycle-tabs small,.vc-center .life-cycle-tabs span{font-size:10px}.vc-center .life-current{background:#f0f6ff;border:1px solid #dbe9fc;border-radius:15px;padding:22px 25px;box-shadow:none}.vc-center .life-track{display:none}.vc-center .life-current-head{justify-content:flex-start;gap:15px}.vc-current-symbol{width:43px;height:43px;background:#fff;border:1px solid #e1ebfa;border-radius:12px;display:grid;place-items:center;color:#397fd3;flex:0 0 43px}.vc-center .life-current-head>div{flex:1}.vc-center .life-current-head h2{font-size:19px;margin-top:7px;color:#245991}.vc-center .life-current-head p{font-size:11px;margin-bottom:0}.vc-center .life-current .crm-detail-actions{margin-top:18px;border-top:1px solid #dce8f8;padding-top:16px}.vc-center .life-current .ghost-button{background:#fff;border:1px solid #dce8f7}.vc-center .life-current .kicker{font-size:9px;font-weight:500;color:#80a3ca;letter-spacing:.05em}.vc-detail-jumps{display:flex;gap:5px;flex-wrap:wrap;margin:26px 0 20px;border-bottom:1px solid #e0e8f2;padding-bottom:12px}.vc-detail-jumps button{padding:7px 12px;border-radius:7px;color:#7890ab;background:transparent;font-size:11px}.vc-detail-jumps button:hover{background:#eaf2ff;color:#3d7ec4}.vc-center .life-detail-columns{grid-template-columns:minmax(0,1.55fr) minmax(260px,1fr);gap:20px}.vc-center .life-information{padding:24px;border-radius:15px;box-shadow:none;border:1px solid #e1e9f4;scroll-margin-top:20px}.vc-center .life-information h2{display:flex;gap:9px;align-items:center;font-size:15px;color:#315878;margin-bottom:21px}.vc-section-symbol{color:#77a0cf;display:inline-grid;place-items:center}.vc-section-symbol .vc-icon{height:18px;width:18px}.vc-center .crm-detail-grid dt{font-size:10px;color:#9ba9bc}.vc-center .crm-detail-grid dd{font-size:12px;color:#456585;margin-top:8px}.vc-center .crm-note{background:#f5f8fc;border:0;border-left:3px solid #a4c7ef;padding:15px 18px;margin-top:19px;border-radius:0 10px 10px 0}.vc-center .crm-note strong{font-size:10px;color:#88a0bd}.vc-center .crm-note p{font-size:12px;line-height:1.9;color:#647e9e}.vc-details-fold{margin-top:20px;border-top:1px solid #edf1f7;padding-top:16px}.vc-details-fold summary{font-size:11px;color:#647f9f;cursor:pointer}.vc-details-fold summary span{float:right;color:#92a5bc;font-size:10px}.vc-details-fold[open] summary span{font-size:0}.vc-details-fold[open] summary span:after{content:'收起';font-size:10px}.vc-center .life-history>.kicker{display:none}.vc-center .life-history{max-height:none}.vc-center .crm-timeline article{border-left-color:#dfebf9;padding-left:20px;margin-left:4px;padding-bottom:22px}.vc-center .crm-timeline article:before{background:#fff;border:2px solid #8eb5e5;box-shadow:0 0 0 4px #fff}.vc-center .crm-timeline strong{font-size:12px;color:#5d7e9f}.vc-center .crm-timeline small{font-size:9px;color:#a0aec0}.vc-center .crm-timeline p{font-size:11px;color:#8b9db3;line-height:1.8}.vc-center .life-project{background:#f7faff;border-color:#e3edf9}.vc-center .life-project h3{font-size:15px}.vc-center .life-project footer button{font-size:11px}.vc-center .progress-track{height:5px}.vc-center .life-amount{font-size:31px;font-weight:550}.vc-center .life-meeting strong{font-size:12px}.vc-center .life-meeting small{font-size:10px}.vc-center .life-meeting p{font-size:12px}
@keyframes vc-reveal{from{opacity:.4;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1550px){.vc-cards{grid-template-columns:repeat(4,minmax(0,1fr))}.vc-journey-stages{gap:17px}.vc-stage{grid-template-columns:35px 1fr auto;gap:12px;padding:18px 16px}.vc-stage-info{grid-column:2;grid-row:1}.vc-stage>strong{grid-column:3}.vc-overview-intro h2{font-size:26px}.vc-metrics>button,.vc-metrics>div{padding:14px 30px}.vc-metrics strong{font-size:44px}}
@media(max-width:1200px){.vc-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.vc-overview{grid-template-columns:240px minmax(0,1fr)}.vc-metrics{padding:18px 8px}.vc-metrics>button,.vc-metrics>div{padding:10px}.vc-metrics em{font-size:9px}.vc-metrics strong{font-size:33px}.vc-overview-intro{padding:22px}.vc-overview-intro h2{font-size:22px}.vc-stage-info small{font-size:8px}.vc-profile-counts{gap:18px}.vc-profile-hero{padding:22px}.vc-profile-hero h1{font-size:24px}}
@media(max-width:900px){.vc-overview{grid-template-columns:1fr}.vc-overview-intro{display:none}.vc-metrics{padding:18px}.vc-metrics strong{font-size:35px}.vc-stage-info small{display:none}.vc-journey{padding:18px}.vc-section-title>div>span:last-child:not(.vc-section-dot){display:none}.vc-center .life-detail-columns{grid-template-columns:1fr}.vc-profile-counts{display:none}.vc-route-nodes small{display:none}.vc-tools{flex-wrap:wrap}.vc-search{flex-basis:100%}.vc-profile-route{padding:20px}}
@media(max-width:600px){.vc-heading{align-items:flex-start;flex-direction:column;gap:8px}.vc-heading h1{font-size:25px}.vc-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.vc-metrics em{display:none}.vc-journey-stages{gap:6px}.vc-stage{padding:11px 6px;gap:8px}.vc-stage-icon{display:none}.vc-stage>strong{grid-column:1;grid-row:1;font-size:22px}.vc-stage-info b{font-size:10px}.vc-cards{grid-template-columns:1fr}.vc-tabs{gap:15px}.vc-tabs button{font-size:11px;gap:4px}.vc-tools>span{margin-left:auto}.vc-tools select{padding:10px;font-size:10px;max-width:150px}.vc-route-nodes strong{font-size:10px}.vc-route-nodes>div>span{width:35px;height:35px}.vc-route-nodes>div:not(:last-child):after{top:17px}.vc-profile-identity{gap:14px}.vc-avatar.large{width:48px;height:48px;flex-basis:48px;font-size:23px}.vc-profile-hero h1{font-size:22px}.vc-center .life-current{padding:20px}.vc-current-symbol{display:none}.vc-center .life-current-head h2{font-size:17px}.vc-collaborators{gap:14px}.vc-footer-note{align-items:flex-start;line-height:1.8}}
@media(prefers-reduced-motion:reduce){.vc-center *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Compact desktop panels retain room for the actual customer cards. */
.content:has(.vc-center.active){padding:26px 30px}
.vc-heading{margin-bottom:20px}.vc-heading h1{font-size:28px}.vc-heading p:not(.kicker){font-size:12px}
.vc-overview-intro h2{font-size:20px;white-space:nowrap;line-height:1.6;margin:10px 0 17px}
.vc-stage>strong{display:flex;align-items:baseline;white-space:nowrap;justify-content:flex-end;line-height:1.2}.vc-stage>strong>small{display:inline;margin-left:4px}
.vc-overview-intro{padding:23px 25px}.vc-journey{padding:19px 21px;margin-bottom:25px}.vc-stage{gap:10px;padding:13px 11px 11px}.vc-stage-info{gap:6px}.vc-stage-icon{width:27px;height:27px}.vc-stage-icon .vc-icon{width:17px;height:17px}
@media(max-width:1200px){.vc-overview-intro{padding:22px 20px}.vc-overview{grid-template-columns:230px minmax(0,1fr)}.vc-metrics{padding:13px 8px}.vc-metrics>button,.vc-metrics>div{padding:8px}.vc-metrics strong{font-size:32px}.vc-stage-info small{font-size:8px}.vc-tools{gap:9px}.vc-tools select{max-width:140px;padding-right:20px}}
@media(max-width:900px){.vc-overview{grid-template-columns:1fr}.vc-overview-intro{display:none}}
@media(max-width:600px){.content:has(.vc-center.active){padding:20px 16px}.vc-stage{padding:12px 6px}.vc-stage>strong{justify-content:flex-start}.vc-metrics{padding:16px}.vc-heading h1{font-size:25px}}
/* Rounded navigation icons share one stroke weight and selected-state treatment. */
.sidebar .nav-item{grid-template-columns:30px minmax(0,1fr) auto;gap:9px;padding:8px 10px}
.sidebar .crm-nav-icon{display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;border:1px solid transparent;border-radius:9px;background:#f5f8fc;color:#7d96b3;transition:color .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease}
.sidebar .crm-nav-icon svg{width:20px;height:20px;display:block;fill:none;stroke-width:1.65}
.sidebar .crm-nav-icon .nav-icon-wash{fill:currentColor;fill-opacity:.09;stroke:none}
.sidebar .nav-item:hover .crm-nav-icon{background:#e8f1fd;color:#4582cc;border-color:#dce9fa}
.sidebar .nav-item.active .crm-nav-icon{background:#fff;color:#247aeb;border-color:#dce9fb;box-shadow:0 2px 5px #2b78d60c}
.sidebar .nav-item.active .crm-nav-icon svg{color:inherit;stroke-width:1.8}
.sidebar .nav-item.active .nav-icon-wash{fill-opacity:.14}
.sidebar .nav-item:focus-visible{outline:2px solid #90b9ed;outline-offset:-2px}
@media(max-width:700px){.sidebar .nav-item{gap:6px;padding:6px 9px}.sidebar .crm-nav-icon{width:25px;height:25px;flex-basis:25px;border-radius:7px}.sidebar .crm-nav-icon svg{width:18px;height:18px}}
@media(prefers-reduced-motion:reduce){.sidebar .nav-item,.sidebar .crm-nav-icon{transition:none}}

/* Local ledger: a compact, frozen customer column and softly grouped business fields. */
.content:has(#page-leads.active){padding:26px 30px}
#page-leads{color:#173757}
#page-leads .crm-page-head{margin-bottom:24px;align-items:center}
#page-leads .crm-page-head h1{font-size:28px;font-weight:700;letter-spacing:-1px;color:#173757;margin:8px 0}
#page-leads .crm-page-head p{font-size:12px;color:#7e8ca0}
#page-leads .crm-page-head .kicker{font-size:9px;font-weight:780;letter-spacing:.15em;color:var(--blue)}
#page-leads .crm-page-head .crm-detail-actions{margin:0;flex-shrink:0}
#page-leads .crm-page-head button{font-size:11px;border-radius:9px;padding:11px 15px}
#page-leads .ledger-panel{border:1px solid #e0e8f3;border-radius:17px;box-shadow:0 6px 22px #17385606}
#page-leads .ledger-controls{padding:0 20px;background:#fff}
#page-leads .workflow-tabs{gap:24px;margin:0;border-bottom:1px solid #e8eef6;flex-wrap:nowrap;overflow:auto;scrollbar-width:thin}
#page-leads .workflow-tabs button{display:flex;align-items:center;gap:7px;flex-shrink:0;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;box-shadow:none;font-size:12px;font-weight:450;padding:19px 0 16px;color:#7c8da4}
#page-leads .workflow-tabs button.active{border-bottom-color:#247aeb;color:#2467b8;font-weight:650}
#page-leads .workflow-tabs b{font-size:10px;font-weight:550;line-height:1.3;padding:2px 5px;border-radius:5px;background:#f0f3f8;color:#94a1b3}
#page-leads .workflow-tabs .active b{background:#eaf3ff;color:#4080cf}
#page-leads .crm-filters{margin:0;padding:17px 0;gap:9px}
#page-leads .ledger-search{display:flex;align-items:center;gap:9px;flex:1 1 260px;min-width:180px;padding:0 12px;border:1px solid #e1e8f2;border-radius:9px;background:#f9fbfe;color:#92a4ba}
#page-leads .ledger-search .vc-icon{width:15px;height:15px;flex-basis:15px}
#page-leads .ledger-search input{border:0;background:transparent;box-shadow:none;outline:0;min-width:0;width:100%;padding:11px 0;font-size:11px;color:#456585}
#page-leads .ledger-search:focus-within{border-color:#87b7f0;box-shadow:0 0 0 3px #eff5ff}
#page-leads .crm-filters select{font-size:11px;color:#667d98;border-color:#e1e8f2;border-radius:9px;padding:10px 12px;max-width:155px}
#page-leads .ledger-toolbar{padding:11px 20px;background:#fbfcfe;border-top:1px solid #edf1f7;border-bottom:1px solid #e3eaf4;min-height:48px;flex-direction:row;align-items:center}
#page-leads .ledger-result{display:flex;align-items:center;gap:8px}
#page-leads .ledger-result strong{font-size:11px;font-weight:550;color:#68829f}
#page-leads .ledger-result-dot{width:5px;height:5px;border-radius:50%;background:#6da2e3}
#page-leads .ledger-scroll-tools{display:flex;align-items:center;gap:6px}
#page-leads .ledger-scroll-tools>span{font-size:10px;color:#90a0b4;margin-right:5px}
#page-leads .ledger-scroll-tools button{display:grid;place-items:center;width:26px;height:26px;border:1px solid #dfe8f4;border-radius:7px;background:#fff;color:#4e86c8;font-size:14px;transition:background .15s}
#page-leads .ledger-scroll-tools button:hover:not(:disabled){background:#eaf3ff}
#page-leads .ledger-scroll-tools button:disabled{opacity:.35;cursor:default}
#page-leads .ledger-scroll{--ledger-project-width:360px;max-height:62vh;scrollbar-color:#c3d4e9 #f4f7fb}
#page-leads .ledger-table th,#page-leads .ledger-table td{padding:13px 16px;border-right:1px solid #f0f3f8;font-size:12px;letter-spacing:0;writing-mode:horizontal-tb}
#page-leads .ledger-table thead th{font-size:11px;font-weight:550;color:#7187a2;background:#f7faff;height:43px;border-bottom:1px solid #e6edf6;white-space:normal;line-height:1.5}
#page-leads .ledger-table thead .ledger-band{height:40px;padding:8px 16px;background:#edf4fd;color:#4e79ad;font-size:11px}
#page-leads .ledger-table thead .ledger-band.qualification{background:#e8f1fd;color:#3e72b1}
#page-leads .ledger-table thead .ledger-band.meeting{background:#e4effc;color:#3d6da7}
#page-leads .ledger-band-title{display:inline-flex;align-items:center;gap:8px;position:sticky;left:calc(var(--ledger-project-width) + 16px);max-width:100%}
#page-leads .ledger-band-title i{font-size:9px;font-style:normal;font-weight:550;color:#7f9fc6;background:#ffffff9c;padding:2px 4px;border-radius:4px}
#page-leads .ledger-table thead .ledger-fixed{background:#f0f6ff;color:#315f96;text-align:left;box-shadow:5px 0 12px -9px #789bc655}
#page-leads .ledger-head-client{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:650}
#page-leads .ledger-head-client .vc-icon{width:16px;height:16px;flex-basis:16px;color:#7ba2d1}
#page-leads .ledger-table thead .ledger-fixed small{display:block;font-size:9px;font-weight:400;color:#90a5bd;margin:6px 0 0}
#page-leads .ledger-table tbody td{height:96px;background:#fff;color:#617992;border-bottom:1px solid #edf1f7}
#page-leads .ledger-table tbody tr:nth-child(even) td{background:#fcfdff}
#page-leads .ledger-table tbody tr:hover td,#page-leads .ledger-table tbody tr:focus-within td{background:#f1f7ff}
#page-leads .ledger-table tbody td.ledger-fixed{text-align:left;padding:14px 17px;box-shadow:5px 0 12px -9px #789bc655}
#page-leads .ledger-table .ledger-group-start{border-left:2px solid #dae7f7}
#page-leads .ledger-identity{display:flex;align-items:center;gap:10px;min-width:0}
#page-leads .ledger-avatar{display:grid;place-items:center;width:32px;height:32px;flex:0 0 32px;border:1px solid #e2ecf9;border-radius:9px;background:linear-gradient(145deg,#eef5ff,#e5effc);color:#688fbf;font-size:14px;font-weight:550}
#page-leads .ledger-identity>div{min-width:0;flex:1}
#page-leads .ledger-client{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:13px;font-weight:650;color:#244c76;max-width:100%;line-height:1.6;white-space:normal;overflow-wrap:anywhere;text-align:left}
#page-leads .ledger-identity small{max-width:100%;font-size:10px;color:#94a3b5;margin:3px 0 0;line-height:1.5}
#page-leads .ledger-row-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:10px}
#page-leads .ledger-row-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;margin-top:8px}
#page-leads .ledger-row-actions:empty{display:none}
#page-leads .ledger-row-actions .ledger-supplement{margin:0}
#page-leads .ledger-row-actions button{flex-shrink:0;white-space:nowrap}
#page-leads .ledger-row-actions .ledger-delete{font-size:10px;padding:5px 0}
#page-leads .workflow-badge{display:inline-flex;align-items:center;gap:5px;border-radius:5px;padding:3px 6px;font-size:9px;line-height:1.5;margin:0;color:#5983b4;background:#edf4fd}
#page-leads .workflow-badge:before{content:'';width:4px;height:4px;flex-shrink:0;background:currentColor;border-radius:50%;opacity:.75}
#page-leads .workflow-badge.verified{color:#4f9980;background:#edf7f2}
#page-leads .workflow-badge.returned{color:#ba7967;background:#fff2ec}
#page-leads .workflow-badge.draft{color:#94a0b2;background:#f1f4f8}
#page-leads .ledger-supplement{font-size:10px;font-weight:500;color:#6b93c1;background:transparent;border:0;padding:3px 0;margin:0 0 0 auto;white-space:nowrap}
#page-leads .ledger-supplement:hover{color:#2479e8;text-decoration:underline;text-underline-offset:3px}
#page-leads .ledger-cell{font-size:11px;line-height:1.7}
#page-leads .ledger-cell.is-empty{color:#c2cddc}
#page-leads .ledger-cell.is-code{font-size:11px;color:#6b819b;letter-spacing:.02em}
#page-leads .ledger-cell.is-note{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#8394a9;overflow-wrap:anywhere}
#page-leads .ledger-cell.is-channel{display:inline-block;padding:3px 8px;border-radius:5px;background:#eff5ff;color:#6a8fbc;font-size:10px;max-width:100%}
#page-leads .ledger-footnote{display:flex;align-items:flex-start;gap:7px;font-size:10px;color:#93a1b3;margin-top:17px;line-height:1.8}
#page-leads .ledger-footnote .vc-icon{width:13px;height:13px;flex-basis:13px;margin-top:3px}
#page-leads button:focus-visible{outline:2px solid #92bdf1;outline-offset:3px}
@media(max-width:700px){.content:has(#page-leads.active){padding:20px 16px}#page-leads .crm-page-head{display:flex;align-items:flex-start;flex-direction:column;gap:15px}#page-leads .crm-page-head h1{font-size:25px}#page-leads .ledger-controls{padding:0 14px}#page-leads .workflow-tabs{gap:20px}#page-leads .ledger-search{flex-basis:100%}#page-leads .crm-filters select{flex:1;min-width:0}#page-leads .ledger-scroll-tools>span{display:none}#page-leads .ledger-toolbar{padding:10px 14px}#page-leads .ledger-scroll{--ledger-project-width:280px;max-height:65vh}}
@media(prefers-reduced-motion:reduce){#page-leads *{scroll-behavior:auto!important;transition:none!important}}

/* Workbench typography follows the customer centre's heading, metric and card scale. */
#page-workbench{color:#173757;font-family:inherit;font-size:12px}
#page-workbench .crm-welcome h1{font-size:28px;font-weight:700;letter-spacing:-1px;color:#173757}
#page-workbench .crm-welcome p:not(.kicker){font-size:12px;font-weight:400;line-height:1.6;color:#7e8ca0}
#page-workbench .kicker{font-size:9px;font-weight:780;line-height:normal;letter-spacing:.15em;color:var(--blue)}
#page-workbench .life-duty{font-size:10px;font-weight:550}
#page-workbench .life-stats small{font-size:12px;font-weight:400;color:#73839b}
#page-workbench .life-stats strong{font-size:40px;font-weight:650;line-height:normal;letter-spacing:-1.8px;color:#173757;margin:10px 0}
#page-workbench .life-stats span{font-size:10px;font-weight:400;line-height:1.6;color:#8798ac}
#page-workbench .panel h2{font-size:15px;font-weight:650;line-height:normal;letter-spacing:normal;color:#173757}
#page-workbench .panel-head button{font-size:11px;font-weight:550}
#page-workbench .life-todo{font-size:12px}
#page-workbench .life-todo strong{font-size:13px;font-weight:650;line-height:1.6;color:#3b6a9f}
#page-workbench .life-todo small{font-size:10px;font-weight:400;line-height:1.6;color:#8c9aad}
#page-workbench .life-todo time{font-size:10px;font-weight:400;line-height:1.6}
#page-workbench .life-overview strong{font-size:13px;font-weight:650;line-height:1.6;color:#173757}
#page-workbench .life-overview small{font-size:10px;font-weight:400;line-height:1.6;color:#8b9aae}
#page-workbench .life-stage-grid strong{font-size:27px;font-weight:600;line-height:1.2;letter-spacing:-.8px;color:#173757}
#page-workbench .life-stage-grid span{font-size:13px;font-weight:650;line-height:1.6;color:#173757}
@media(min-width:1550px){#page-workbench .life-stats strong{font-size:44px}}
@media(max-width:1200px){#page-workbench .life-stats strong{font-size:32px}#page-workbench .life-stats span{font-size:9px}}
@media(max-width:600px){#page-workbench .crm-welcome h1{font-size:25px}#page-workbench .life-stage-grid strong{font-size:22px}#page-workbench .life-stage-grid span{font-size:10px}}

/* Six grade rules and calendar deadline reminders. */
.vc-card-tags{display:flex;gap:6px;align-items:center;min-width:0;flex-wrap:wrap}.vc-card-tags .crm-grade{font-size:10px;white-space:nowrap;padding:4px 7px;border-radius:5px}.vc-follow-deadline{display:flex;align-items:center;gap:6px;padding:10px 0 0;font-size:10px;color:#6f88a6}.vc-follow-deadline .vc-icon{width:13px;height:13px;flex-basis:13px}.vc-follow-deadline small{font-size:9px;margin-left:auto;color:#98a9bc}.vc-follow-deadline.today{color:#bd822b}.vc-follow-deadline.overdue{color:#b75d53}.vc-follow-deadline.detail{background:#fff9eb;border:1px solid #efdfbf;border-radius:9px;padding:13px;margin-top:15px;flex-wrap:wrap}.vc-follow-deadline.detail.scheduled,.vc-follow-deadline.detail.off{background:#fff;border-color:#e1eaf4}.vc-follow-deadline.detail.overdue{background:#fff2ed;border-color:#f0d7cf}.vc-tools{flex-wrap:wrap}.vc-tools .vc-search{flex:1 1 230px}.vc-tools #vc-sort{max-width:185px}.vc-tools #customer-grade{max-width:115px}.grade-due-count{background:#fff0d4;color:#a9762e}.life-todo.grade-due-todo{background:#fff8e8;border:1px solid #f5e8cb}.life-todo.grade-due-todo .life-todo-dot{background:#d7a044}.life-todo.grade-due-todo.overdue{background:#fff2ee;border-color:#f4ded6}.life-todo.grade-due-todo.overdue .life-todo-dot{background:#c97968}.life-todo.grade-due-todo time{color:#ad7b37;font-size:10px}.grade-policy-fixed{padding:12px;border:1px solid #dce8f8;background:#f3f8ff;border-radius:8px;color:#3c75b1;font-size:14px}

/* Document library, private file previews, and meeting evidence. */
.content:has(#page-proposals.active),.content:has(#page-workbench.active),.content:has(#page-lead_reports.active){padding:26px 30px}
#page-proposals{color:#173757}.proposal-overview{display:flex;align-items:center;gap:19px;background:linear-gradient(110deg,#edf5ff,#f8fbff);border:1px solid #dce9f9;border-radius:17px;padding:24px;margin-bottom:23px}.proposal-overview-icon{display:grid;place-items:center;width:49px;height:49px;border-radius:13px;background:#fff;color:#4b8cdb;box-shadow:0 5px 16px #2f75b70b}.proposal-overview-icon .vc-icon{width:26px;height:26px}.proposal-overview>div:nth-child(2){flex:1}.proposal-overview strong{font-size:15px;font-weight:650;color:#365e8c}.proposal-overview p{font-size:11px;color:#8199b5;margin:9px 0 0}.proposal-overview>span{font-size:10px;color:#89a0bb;white-space:nowrap}.proposal-overview>span b{display:block;font-size:29px;font-weight:550;color:#5082bd;margin-bottom:5px}.proposal-list{display:grid;gap:13px}.proposal-card{display:flex;align-items:center;gap:19px;padding:23px;background:#fff;border:1px solid #e0e8f3;border-radius:15px;transition:border-color .18s,box-shadow .18s,transform .18s}.proposal-card:hover{border-color:#a4c6ed;box-shadow:0 7px 21px #205d9910;transform:translateY(-1px)}.proposal-file-icon{width:52px;height:61px;flex:0 0 52px;border-radius:11px;background:#f2f6fc;color:#95abc6;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px}.proposal-file-icon.has-file{color:#4387dc;background:#edf5ff}.proposal-file-icon .vc-icon{width:23px;height:23px}.proposal-file-icon small{font-size:8px;letter-spacing:.05em}.proposal-card-main{min-width:0;flex:1}.proposal-card-title{display:flex;align-items:center;gap:9px}.proposal-card h2{margin:0;font-size:15px;font-weight:650;color:#244b74}.proposal-cycle{font-size:9px;color:#799cc3;background:#eff5fd;padding:3px 6px;border-radius:4px;white-space:nowrap}.proposal-card-main>p{font-size:11px;color:#8196b0;margin:9px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.proposal-card-meta{display:flex;flex-wrap:wrap;gap:14px;font-size:9px;color:#a0afc0}.proposal-card-actions{display:flex;gap:9px;align-items:center;flex-shrink:0}.proposal-card-actions button,.proposal-card-actions a{font-size:11px;white-space:nowrap}.proposal-preview-button{background:#edf5ff;color:#2c76ce;padding:10px 13px;border:1px solid #dceafb;border-radius:8px}.proposal-preview-button:hover{background:#e0eeff}.proposal-download{color:#6a8fbc;text-decoration:none;padding:8px 4px}.proposal-download:hover{text-decoration:underline}.proposal-waiting{font-size:10px;color:#acb8c7}.proposal-card-actions .ghost-button{font-weight:450;color:#7895b7}.file-upload-section,.meeting-evidence{padding:19px;border:1px solid #dfe9f5;background:#f9fbff;border-radius:13px;margin-top:18px}.file-section-title{display:flex;align-items:center;gap:8px;color:#6189b8;margin-bottom:17px;flex-wrap:wrap}.file-section-title strong{font-size:12px;font-weight:650}.file-section-title>span{margin-left:auto;font-size:10px;color:#94a7bd;overflow-wrap:anywhere}.file-section-title .vc-icon{width:16px;height:16px}.file-picker{display:flex;align-items:center;gap:13px;position:relative;background:#fff;border:1px dashed #b7cfea;border-radius:11px;padding:20px;cursor:pointer;color:#6689b0;transition:background .15s,border-color .15s}.file-picker:hover,.file-picker:focus-within{background:#f0f7ff;border-color:#568ed5}.file-picker input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.file-picker-icon{display:grid;place-items:center;width:39px;height:39px;flex:0 0 39px;background:#ecf4ff;color:#5593dc;border-radius:10px}.file-picker b{font-size:12px;font-weight:600;display:block}.file-picker small{display:block;font-size:10px;color:#9aaec6;line-height:1.7;margin-top:5px}.file-picker-plus{font-size:20px;color:#95b6dd;margin-left:auto}.file-replace-note{font-size:10px;line-height:1.8;color:#a18a6c;margin:13px 0 0}.file-consent{display:flex;align-items:center;gap:7px;margin-top:13px;font-size:11px;color:#7c8fa6}.file-consent input{accent-color:#267deb}.file-selection:empty{display:none}.file-selection{display:grid;gap:7px;margin-top:13px}.selected-file{display:flex;align-items:center;gap:8px;padding:9px 10px;border:1px solid #e3edf9;background:#fff;border-radius:7px;color:#6a92c0}.selected-file b{font-size:11px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selected-file small{margin-left:auto;font-size:9px;white-space:nowrap;color:#97abc2}.selected-file .vc-icon{width:14px;height:14px}.media-viewer{width:min(1050px,95vw);max-height:93vh;padding:0;border:1px solid #dfe8f4;border-radius:18px;box-shadow:0 25px 100px #15334b40;color:#365b83;background:#fff;overflow:hidden}.media-viewer::backdrop{background:#152f4c66;backdrop-filter:blur(4px)}.media-viewer[open]{display:flex;flex-direction:column}.media-viewer>header{display:flex;align-items:center;justify-content:space-between;padding:18px 23px;border-bottom:1px solid #e4ecf7;gap:18px}.media-viewer h2{font-size:16px;font-weight:650;overflow-wrap:anywhere;margin:6px 0 0}.media-viewer .kicker{font-size:8px;margin:0;color:#8eabc9;letter-spacing:.12em}.media-viewer-body{background:#f1f5fa;overflow:auto;min-height:220px;flex:1}.media-viewer>footer{display:flex;align-items:center;justify-content:flex-end;padding:13px 22px;gap:13px;border-top:1px solid #e4ecf7}.media-viewer footer a{font-size:11px;text-decoration:none;padding:10px 14px}.media-viewer footer button{font-size:11px}.media-file-note{font-size:10px;color:#8ba1ba;margin-right:auto}.proposal-frame{width:100%;height:67vh;border:0;display:block;background:#f1f5fa}.proposal-text-preview{background:white;border:1px solid #e3eaf3;max-width:760px;margin:30px auto;padding:44px;min-height:450px}.proposal-paper-label{font-size:10px;color:#8da7c3}.proposal-text-preview h1{font-size:23px;line-height:1.6;color:#1d4b7c;margin:20px 0 30px}.proposal-text-preview>div{white-space:pre-wrap;line-height:2;font-size:14px;color:#657e9a}.media-image-page{padding:24px;text-align:center}.media-image-page img{max-width:100%;height:auto;background:#fff}.meeting-appointment{display:flex;gap:10px;padding:15px 0;border-bottom:1px solid #edf1f7;color:#9cb2cc}.meeting-appointment strong{font-size:11px;font-weight:550;color:#6c8bab}.meeting-appointment small{display:block;font-size:10px;color:#9baabd;line-height:1.7;margin-top:7px}.meeting-record-card{display:flex;gap:11px;padding:21px 0;border-bottom:1px solid #eaf0f7}.meeting-record-icon{display:grid;place-items:center;width:32px;height:32px;flex:0 0 32px;border-radius:9px;background:#eef5ff;color:#6f9dce}.meeting-record-icon .vc-icon{width:16px;height:16px}.meeting-record-content{flex:1;min-width:0}.meeting-record-content>strong{font-size:12px;font-weight:650;color:#52769c}.meeting-record-content>small{display:block;margin-top:7px;font-size:9px;color:#a1b0c2}.meeting-record-content>p{font-size:11px!important;color:#8297b0;line-height:1.8}.meeting-thumbnails{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:12px 0}.meeting-thumbnails button{background:#f0f5fc;border:1px solid #e3ecf7;border-radius:7px;padding:0;overflow:hidden}.meeting-thumbnails img{display:block;width:55px;height:65px;object-fit:cover;object-position:top}.meeting-thumbnails .meeting-more{padding:8px;font-size:9px;color:#5c8ec6;display:flex;align-items:center;gap:5px;border:0;background:transparent}.meeting-more .vc-icon{width:12px;height:12px}.meeting-record-links{display:flex;gap:15px;align-items:center}.meeting-record-links a,.meeting-record-links button{font-size:10px;color:#7399c5;text-decoration:none;padding:5px 0}.meeting-record-links a:hover{text-decoration:underline}.meeting-legacy-note{font-size:9px;color:#a7b4c5}.customer-proposal-file{display:flex;align-items:center;gap:11px;background:#f6f9ff;border:1px solid #e1ebf9;border-radius:11px;padding:14px;margin-top:17px;flex-wrap:wrap}.customer-proposal-file .proposal-file-icon{width:34px;height:42px;flex-basis:34px;background:#e9f2ff;color:#719ad0}.customer-proposal-file>div{flex:1;min-width:120px}.customer-proposal-file strong{display:block;font-size:11px;color:#5b7fa7;overflow-wrap:anywhere}.customer-proposal-file small{display:block;font-size:9px;color:#9ab0c9;margin-top:5px}.customer-proposal-file button,.customer-proposal-file a{font-size:10px;color:#4384ce;text-decoration:none}.meeting-preview-intro{padding:25px 30px;background:#fff}.meeting-preview-intro strong{font-size:12px}.meeting-preview-intro p{font-size:12px;line-height:1.8;white-space:pre-wrap;color:#7b91aa}.meeting-preview-intro a{font-size:12px;color:#367bcd}.meeting-image-pages{padding:22px}.meeting-image-pages figure{margin:0 auto 24px;max-width:850px;background:white;border:1px solid #dce7f4;border-radius:10px;overflow:hidden}.meeting-image-pages figcaption{display:flex;justify-content:space-between;align-items:center;padding:13px 17px;font-size:11px;color:#7694b6}.meeting-image-pages figcaption a{color:#4583c9;text-decoration:none}.meeting-image-pages img{display:block;width:100%;height:auto}.crm-dialog:has([data-file-picker]){width:min(900px,94vw)}

/* Workbench shares the customer centre's visual rhythm and journey language. */
#page-workbench .wb-hero{border:1px solid #dce7f5;border-radius:19px;overflow:hidden;background:#fff;margin-bottom:24px;box-shadow:0 7px 20px #17385607}
#page-workbench .wb-hero .crm-welcome{margin:0;padding:26px 29px;background:linear-gradient(115deg,#12447e,#286bbb);position:relative;overflow:hidden;min-height:180px}
#page-workbench .wb-hero .crm-welcome h1{color:#fff;font-size:26px;font-weight:600;letter-spacing:-.5px;margin:11px 0}
#page-workbench .wb-hero .crm-welcome .kicker{color:#a6cef9;font-size:8px;letter-spacing:.17em}
#page-workbench .wb-hero .crm-welcome p:not(.kicker){color:#b7d3f1;font-size:11px;max-width:620px;position:relative;z-index:1}
#page-workbench .wb-hero .life-duty{display:inline-flex;align-items:center;gap:5px;color:#c6dff8;background:#ffffff0c;border:1px solid #ffffff1f;font-size:9px;padding:5px 9px;margin-top:17px}
#page-workbench .life-duty .vc-icon{width:12px;height:12px}
.wb-hero-art{position:absolute;right:45px;top:16px;color:#c4e3ff18;width:160px;height:160px;border-radius:50%;border:1px solid #ffffff15;display:grid;place-items:center;box-shadow:0 0 0 27px #ffffff04,0 0 0 58px #ffffff03;transform:rotate(-12deg)}.wb-hero-art .vc-icon{width:90px;height:90px;stroke-width:.75}
#page-workbench .wb-hero .life-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0;padding:19px 10px}
#page-workbench .wb-hero .life-stats:has(>article:last-child){grid-template-columns:repeat(3,minmax(0,1fr))}
#page-workbench .wb-hero .life-stats>article,#page-workbench .wb-hero .life-stats>button{position:relative;padding:10px 22px;border:0;border-radius:0;background:transparent;min-width:0}
#page-workbench .wb-hero .life-stats>*+*{border-left:1px solid #edf1f7}
#page-workbench .wb-hero .life-stats small{font-size:11px;color:#7a90ac}
#page-workbench .wb-hero .life-stats strong{font-size:36px;margin:13px 0 10px;font-weight:600;color:#294f79;letter-spacing:-1.1px}
#page-workbench .wb-hero .life-stats strong em{font-size:10px;font-weight:400;font-style:normal;letter-spacing:0;color:#9aaec4;margin-left:7px}
#page-workbench .wb-hero .life-stats>button:hover{background:#f6faff;border-radius:9px}
#page-workbench .wb-hero .wb-stat-icon{position:absolute;right:17px;top:7px;color:#9cbbdf;background:#f2f7fd;width:27px;height:27px;display:grid;place-items:center;border-radius:8px}
.wb-stat-icon .vc-icon{width:15px;height:15px}
#page-workbench .wb-hero .life-stats span:not(.wb-stat-icon){font-size:9px;line-height:1.7;color:#a0aec0}
#page-workbench .wb-next,#page-workbench .wb-phases{padding:23px;border-radius:17px;border:1px solid #e1e9f4;box-shadow:0 5px 18px #18385604}
#page-workbench .vc-section-title{margin-bottom:18px}#page-workbench .vc-section-title button{font-size:10px;color:#7b98b9;padding:5px 0}
.wb-todo-tabs{display:flex;gap:22px;border-bottom:1px solid #edf1f7;margin:0 0 17px}.wb-todo-tabs button{background:transparent;padding:0 0 12px;border-bottom:2px solid transparent;border-radius:0;font-size:11px;color:#91a2b8;display:flex;align-items:center;gap:6px}.wb-todo-tabs button.active{color:#4783ca;border-bottom-color:#5292dd}.wb-todo-tabs b{font-size:9px;font-weight:500;background:#f1f5fb;border-radius:4px;padding:2px 4px}
#page-workbench .wb-next .life-todos{display:grid;grid-template-columns:1fr;gap:9px}
#page-workbench .wb-todo{border:1px solid #edf2f8;background:#f8fafe;padding:14px;border-radius:11px;gap:12px;min-width:0;transition:background .18s,border-color .18s,transform .18s}
#page-workbench .wb-todo:hover{border-color:#b7d3f5;background:#eff6ff;transform:translateX(2px)}
#page-workbench .wb-todo-icon{display:grid;place-items:center;background:#ebf2fc;border:1px solid #e3ecf9;color:#709bd0;border-radius:10px;width:37px;height:37px;flex:0 0 37px}
#page-workbench .wb-todo-icon .vc-icon{width:18px;height:18px}#page-workbench .wb-todo>span:nth-child(2){min-width:0}
#page-workbench .wb-todo strong{font-size:12px;font-weight:550;color:#4b709a;line-height:1.6}#page-workbench .wb-todo small{font-size:10px;color:#94a6bd;margin:0 0 3px}
#page-workbench .wb-todo time{font-size:9px;color:#93a9c2;white-space:nowrap}.wb-todo-arrow{color:#a1bad6}.wb-todo-arrow .vc-icon{width:15px;height:15px}
#page-workbench .wb-todo.grade-due-todo{background:#fffbf3;border-color:#f3e8d0}#page-workbench .wb-todo.grade-due-todo .wb-todo-icon{background:#fff4db;border-color:#f4e6bd;color:#c7a263}#page-workbench .wb-todo.grade-due-todo time{color:#b1925e}
#page-workbench .wb-todo.overdue{background:#fff7f3;border-color:#f3e1d7}#page-workbench .wb-todo.overdue .wb-todo-icon{background:#fff0e7;color:#c99077;border-color:#f3dfd0}#page-workbench .wb-todo.overdue time{color:#bd8a72}
.wb-empty{display:flex;align-items:center;flex-direction:column;padding:28px;color:#95aac2;gap:13px;grid-column:1/-1}.wb-empty strong{font-size:13px;font-weight:550}.wb-empty p{font-size:11px;margin:0}
.wb-journey-board{display:grid;grid-template-columns:repeat(5,minmax(170px,1fr));gap:13px;overflow:auto;padding:1px 1px 12px;scrollbar-width:thin;scrollbar-color:#c3d5eb #f2f6fc}.wb-journey-column{background:#f7f9fd;border:1px solid #e9eff7;border-radius:12px;padding:14px}.wb-journey-column header{display:flex;align-items:center;gap:9px}.wb-journey-column header>span:nth-child(2){flex:1}.wb-journey-column header strong{display:block;font-size:12px;font-weight:600;color:#4a6d97}.wb-journey-column header small{display:block;font-size:8px;color:#9aafc7;margin-top:5px;white-space:nowrap}.wb-journey-column header>b{font-size:22px;font-weight:550;color:#6a91bd}.wb-journey-column .vc-stage-icon{width:27px;height:27px}.wb-journey-column .vc-icon{width:15px;height:15px}.wb-stage-progress{height:3px;border-radius:3px;background:#e9eff7;margin:15px 0}.wb-stage-progress i{display:block;height:100%;border-radius:3px;background:#8db5e5;min-width:0}.wb-phase-items{display:grid;gap:7px}.wb-phase-items button{display:flex;align-items:center;gap:6px;text-align:left;padding:10px 8px;border:1px solid #e9eff7;background:#fff;border-radius:7px;color:#829bb6;font-size:10px;transition:background .16s,border-color .16s}.wb-phase-items button span{flex:1}.wb-phase-items button b{font-weight:550;color:#658ebd;font-size:11px}.wb-phase-items button .vc-icon{width:11px;height:11px;color:#bbcee3}.wb-phase-items button:hover{background:#edf5ff;border-color:#b8d3f2;color:#4c87ca}.wb-phase-items>p{font-size:9px;color:#adbacc;text-align:center;line-height:2}.wb-journey-column.delivery .vc-stage-icon{background:#e8f4f7;color:#70a4b4}.wb-journey-column.growth .vc-stage-icon{background:#e8f5ef;color:#70a998}.wb-closed{text-align:right;margin-top:12px}.wb-closed button{font-size:10px;color:#8b9fb7}

/* Analysis details use the ledger's soft banded table and frozen date column. */
#page-lead_reports .crm-page-head h1{font-size:28px;font-weight:700;color:#173757;letter-spacing:-1px}#page-lead_reports .crm-page-head p{font-size:12px;color:#8195af}#page-lead_reports .crm-page-head .kicker{font-size:9px;color:#2078f0;letter-spacing:.15em}.report-heading{display:flex;align-items:center;gap:10px}#page-lead_reports .report-panel{border:1px solid #e0e8f3;border-radius:17px;box-shadow:0 5px 18px #18385604}#page-lead_reports .report-title{padding:20px 23px;background:#fff;border-bottom:1px solid #edf1f7}#page-lead_reports .report-title h2{font-size:15px;font-weight:650;color:#315d8b;margin:0}#page-lead_reports .report-title>span{font-size:10px;color:#8ea4bd;background:#f3f7fd;border-radius:6px;padding:6px 9px}#page-lead_reports .report-notes{background:#fbfcff;padding:13px 23px;border-bottom:1px solid #e8eff7;color:#92a6bf}#page-lead_reports .report-notes summary{cursor:pointer;font-size:10px}#page-lead_reports .report-notes p{font-size:10px;line-height:1.8}#page-lead_reports .report-table{width:max(100%,var(--report-width));min-width:var(--report-width);table-layout:fixed;border-collapse:separate;border-spacing:0}#page-lead_reports .report-table th,#page-lead_reports .report-table td{padding:12px 15px;font-size:11px;border-right:1px solid #edf2f8;white-space:normal;line-height:1.6}#page-lead_reports .report-table thead th{background:#f5f9ff;color:#7791af;font-weight:550;border-bottom:1px solid #e4ecf7}#page-lead_reports .report-table thead .ledger-band{background:#eaf2fd;color:#5d83b2;font-size:11px}#page-lead_reports .report-table .ledger-band span{position:sticky;left:164px;display:inline-block}#page-lead_reports .report-table td{color:#728ca9;font-variant-numeric:tabular-nums;background:#fff;height:48px;border-bottom:1px solid #edf2f8}#page-lead_reports .report-table tbody tr:nth-child(odd):not(.report-total) td{background:#fcfdff}#page-lead_reports .report-table tbody th{color:#7e98b6;font-size:11px;font-weight:500;background:#fbfdff;border-bottom:1px solid #edf2f8}#page-lead_reports .report-table .report-total td,#page-lead_reports .report-table .report-total th{background:#edf5ff;color:#4981c2;font-weight:650}#page-lead_reports .report-table tbody tr:hover td,#page-lead_reports .report-table tbody tr:hover th{background:#f0f6ff}#page-lead_reports .report-table .ledger-fixed{box-shadow:5px 0 12px -9px #789bc655}#page-lead_reports .report-summary article{border:1px solid #e1eaf5;border-radius:15px;box-shadow:none}#page-lead_reports .report-summary article>span{font-size:11px;color:#8ba0b9}#page-lead_reports .report-summary strong{font-size:32px;font-weight:600;color:#3e6ea7}#page-lead_reports .report-filter{border:1px solid #e0e9f4;border-radius:14px;box-shadow:none}#page-lead_reports .report-method p{font-size:10px;color:#96a7bc}
@media(min-width:1400px){#page-workbench .wb-next .life-todos{grid-template-columns:1fr 1fr}}
@media(max-width:1100px){.proposal-card-actions{flex-direction:column;gap:4px}.proposal-overview{gap:12px}.proposal-overview>span{display:none}#page-workbench .wb-hero .life-stats>article,#page-workbench .wb-hero .life-stats>button{padding:10px 13px}#page-workbench .wb-hero .wb-stat-icon{display:none}#page-workbench .wb-hero .life-stats strong{font-size:31px}}
@media(max-width:700px){.content:has(#page-proposals.active),.content:has(#page-workbench.active),.content:has(#page-lead_reports.active){padding:20px 16px}.proposal-card{padding:16px;gap:12px}.proposal-card h2{font-size:13px}.proposal-card-title{flex-wrap:wrap;gap:5px}.proposal-card-actions button{font-size:10px;padding:7px 9px}.proposal-file-icon{width:38px;flex-basis:38px;height:48px}.proposal-overview{padding:17px}.proposal-overview strong{font-size:13px}.file-picker{padding:14px}.file-section-title>span{margin-left:0}.media-viewer>footer{flex-wrap:wrap}.media-file-note{flex-basis:100%}.proposal-text-preview{padding:25px;margin:15px}.meeting-image-pages{padding:12px}#page-workbench .wb-hero .crm-welcome{padding:24px;min-height:195px}#page-workbench .wb-hero .crm-welcome h1{font-size:23px}#page-workbench .wb-hero .life-stats{grid-template-columns:repeat(2,1fr)}#page-workbench .wb-hero .life-stats>*+*{border:0}#page-workbench .wb-next,#page-workbench .wb-phases{padding:17px}.wb-hero-art{right:-30px;top:20px}#page-workbench .wb-todo{gap:8px;padding:11px}#page-workbench .wb-todo strong{font-size:11px}#page-workbench .wb-todo time{white-space:normal}#page-workbench .wb-todo-arrow{display:none}.report-title{gap:12px}}
@media(prefers-reduced-motion:reduce){.proposal-card,.file-picker,.wb-phase-items button,#page-workbench .wb-todo{transition:none;transform:none}}

.pdf-pages{padding:0 25px 30px;min-height:420px;background:#eaf0f8}.pdf-loading{text-align:center;padding:100px 20px;color:#7b90ad}.pdf-page-controls{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:center;gap:22px;padding:13px;background:#eaf0f8ee;backdrop-filter:blur(12px)}.pdf-page-controls span{font-size:12px;color:#6682a1;font-variant-numeric:tabular-nums}.pdf-page-controls button{background:#fff;border:1px solid #dce6f3;padding:8px 15px;border-radius:9px;font-size:11px}.pdf-page-controls button:disabled{opacity:.35;cursor:default}.pdf-page-sheet{max-width:1000px;margin:auto}.pdf-page-sheet img{display:block;width:100%;height:auto;box-shadow:0 3px 20px #233b5920}.pdf-image-error{padding:80px 25px;text-align:center;color:#a15555}@media(max-width:600px){.pdf-pages{padding:0 8px 20px}.pdf-page-controls{gap:12px}}

/* Project and task pages share the customer center's delivery workspace. */
.content:has(#page-projects.active),.content:has(#project-task-pane.active){padding:26px 30px}
#page-projects.active,#project-task-pane.active{display:block;height:auto;min-height:100%;padding-bottom:20px}
.delivery-page .vc-heading{margin-bottom:25px}.delivery-page .vc-heading h1{font-size:28px;color:#173757;font-weight:700;letter-spacing:-1px}.delivery-page .vc-heading p:not(.kicker){font-size:12px;color:#8195af}.delivery-page .kicker{font-size:9px;color:#2078f0;letter-spacing:.15em}
.delivery-scope{color:#90a3bb;font-size:10px;white-space:nowrap}.delivery-icon{width:18px;height:18px;flex:0 0 18px;vertical-align:middle}
.delivery-overview{display:flex;align-items:center;gap:28px;background:linear-gradient(120deg,#edf4ff,#f9fbff);border:1px solid #dfeafa;border-radius:18px;padding:23px 27px;margin-bottom:28px}.delivery-overview-intro{display:flex;gap:15px;align-items:center;flex:1}.delivery-overview-icon{height:47px;width:47px;display:grid;place-items:center;flex-shrink:0;border-radius:14px;background:#fff;color:#5d92d7;box-shadow:0 6px 18px #d9e6fb77}.delivery-overview-icon svg{width:23px;height:23px}.delivery-overview-intro strong{font-size:14px;font-weight:650;color:#45688f}.delivery-overview-intro p{font-size:10px;color:#91a7c0;margin:7px 0 0}.delivery-overview-stat{min-width:86px;padding-left:25px;border-left:1px solid #dee8f7}.delivery-overview-stat>span{display:block;font-size:10px;color:#8ba2bd}.delivery-overview-stat strong{display:block;margin-top:9px;color:#4671a7;font-size:29px;line-height:1;font-weight:600;font-variant-numeric:tabular-nums}.delivery-overview-stat small{font-size:10px;font-weight:400;margin-left:5px;color:#8c9fb8}
.delivery-directory-head{display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid #e3eaf4;margin-bottom:17px}.delivery-directory-head .vc-tabs{gap:23px;overflow-x:auto;scrollbar-width:thin}.delivery-directory-head .vc-tabs button{font-size:12px;padding-bottom:14px}.delivery-directory-head>span{font-size:10px;color:#8d9fb5;white-space:nowrap;padding-bottom:13px}
.delivery-filters{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:18px}.delivery-search{display:flex;flex:1 1 270px;align-items:center;gap:9px;padding:0 13px;background:#fff;border:1px solid #dfe7f2;border-radius:10px;color:#91a5bd;min-width:0}.delivery-search svg{width:16px;height:16px;flex:0 0 16px}.delivery-search input{width:100%;min-width:0;border:0;background:transparent;padding:0;height:40px;box-shadow:none;color:#4f6d90;font-size:12px}.delivery-search:focus-within{border-color:#8ab7f0;box-shadow:0 0 0 3px #e7f0fe}.delivery-filters select{height:42px;padding:0 28px 0 12px;font-size:11px;color:#627d9b;border-color:#dfe7f2;background-color:#fff;max-width:200px;min-width:0;border-radius:10px}.delivery-reset{background:transparent;color:#8299b4;font-size:11px;padding:10px 9px;white-space:nowrap}.delivery-reset:hover{color:#277ce5;background:#ecf4ff}.delivery-filter-hint{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 18px}.delivery-filter-hint:empty{display:none}.delivery-filter-hint span{padding:5px 9px;border-radius:6px;background:#eaf3ff;color:#5f87b8;font-size:10px;max-width:100%;overflow-wrap:anywhere}
#page-projects .project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));gap:18px;padding:0;overflow:visible;align-items:stretch;scrollbar-gutter:auto}#page-projects .project-card{position:relative;min-height:0;padding:23px;border:1px solid #dfe8f4;box-shadow:0 4px 18px #20467404;border-radius:18px;display:flex;flex-direction:column;transition:border-color .2s,box-shadow .2s,transform .2s}#page-projects .project-card:hover{border-color:#b9d4f7;box-shadow:0 10px 26px #244f870a;transform:translateY(-2px)}#page-projects .project-card:has(.project-more[open]){z-index:10}#page-projects .project-card-top{gap:12px;align-items:center}#page-projects .delivery-project-avatar{width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;background:#edf4ff;color:#6e99d0;border:1px solid #e1ecfc;border-radius:13px;font-size:20px;font-weight:500}.project-card-identity{flex:1;min-width:0}#page-projects .project-card h3{font-size:14px;color:#375a81;font-weight:650;letter-spacing:0;line-height:1.6;overflow-wrap:anywhere}#page-projects .project-client{font-size:10px;line-height:1.5;color:#98a9bd;margin:4px 0 0}#page-projects .status-badge{padding:5px 7px;font-size:10px;border-radius:6px;gap:5px;font-weight:500;align-self:flex-start;flex-shrink:0}.status-badge i,.delivery-task-status i{height:5px;width:5px;border-radius:50%;background:currentColor;flex-shrink:0}#page-projects .status-active{background:#edf4ff;color:#5189cb}#page-projects .status-closed{background:#edf7f4;color:#6ca590}#page-projects .status-paused{background:#fff6e7;color:#b38d49}#page-projects .status-ended{background:#fbefed;color:#b67c74}.delivery-project-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:19px;font-size:10px;color:#8ca0b9}#page-projects .type-badge{font-size:10px;font-weight:500;background:#f3f6fb;color:#869db9;border-radius:5px;padding:4px 7px}#page-projects .project-progress{margin-top:22px}.project-progress-head{align-items:center}#page-projects .project-progress-head>span{font-size:10px;color:#8da2bc}#page-projects .project-progress-head strong{font-size:24px;color:#5284c4;font-weight:550}.project-progress-head small{font-size:10px;margin-left:2px}#page-projects .project-progress .progress-track{height:5px;background:#edf3fb;margin:10px 0}#page-projects .progress-fill{background:linear-gradient(90deg,#4089ed,#95bdf0)}#page-projects .project-progress p{display:flex;justify-content:space-between;font-size:10px;color:#97a8bd;margin:0}#page-projects .project-progress b{font-weight:500;color:#5e87b8}.delivery-next-node{display:flex;gap:8px;align-items:center;background:#f7faff;border:1px solid #edf2f9;border-radius:9px;padding:12px;margin:20px 0 0;color:#8da6c4;font-size:10px}.delivery-next-node .delivery-icon{width:15px;height:15px;flex-basis:15px}.delivery-next-node strong{margin-left:auto;color:#7193ba;font-size:11px;font-weight:550}#page-projects .project-card-foot{gap:9px;margin-top:19px;padding-top:16px;border-color:#edf2f8;flex-wrap:wrap}.project-task-link{display:flex;gap:10px;align-items:center;font-size:11px;padding:8px 11px;border-radius:8px;background:#edf5ff;color:#4d85c6;font-weight:550}.project-task-link:hover{background:#dfedff;color:#2275d8}.project-task-link .delivery-icon{width:14px;height:14px;flex-basis:14px}.project-context-actions{margin-left:auto;display:flex;gap:8px}.project-context-actions .crm-member-button{margin:0;padding:7px;color:#8ca1bb;font-size:10px}.project-more{position:relative}.project-more summary{list-style:none;display:grid;place-items:center;width:30px;height:30px;color:#8ba1bc;border:1px solid #e6edf7;border-radius:8px;cursor:pointer;font-size:16px}.project-more summary::-webkit-details-marker{display:none}.project-more summary:hover{background:#ecf4ff}.project-more-menu{position:absolute;right:0;bottom:calc(100% + 9px);z-index:12;width:156px;padding:7px;background:#fff;border:1px solid #dce7f5;border-radius:12px;box-shadow:0 14px 36px #193e651a}.project-more-menu button,.project-more-menu .crm-member-button{display:block;width:100%;margin:0;text-align:left;padding:10px 12px;background:transparent;color:#6984a4;font-size:11px;font-weight:450;border-radius:7px}.project-more-menu button:hover{background:#edf5ff;color:#347dce}.delivery-footer-note{font-size:10px;color:#9aabc0;margin:23px 0}
.delivery-task-panel{background:#fff;border:1px solid #e0e9f4;border-radius:17px;padding:19px 21px 1px;margin-bottom:18px}.task-filters .delivery-search{flex:1 1 340px}.task-filters #task-project-filter{flex:1 1 195px;max-width:250px}.task-filters #task-status-filter{flex:1 1 100px;max-width:130px}.task-filters #task-phase-filter{flex:1 1 130px;max-width:180px}.task-filters #task-sort{flex:1 1 140px;max-width:165px}.delivery-task-panel .delivery-search input{height:39px}.delivery-table-card{border:1px solid #dfe8f4;background:#fff;border-radius:17px;overflow:hidden;box-shadow:0 4px 18px #173e6504}.delivery-table-heading{padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #edf2f8}.delivery-table-heading>div{display:flex;align-items:center;gap:10px}.delivery-table-heading i{height:14px;width:3px;background:#418bea;border-radius:3px}.delivery-table-heading h2{font-size:13px;font-weight:600;color:#43688f;margin:0}.delivery-table-heading #task-total{font-size:10px;color:#9aacbf}.delivery-scroll-tools>span{font-size:9px;color:#9aacbf}.delivery-scroll-tools button{width:25px;height:25px;border:1px solid #e5edf7;border-radius:7px;background:#fafcff;color:#8ba7c9;padding:0}.delivery-scroll-tools button:hover{background:#eaf3ff;color:#357ecd}
#project-task-pane .table-panel{border:0;border-radius:0;box-shadow:none;max-height:64vh;min-height:180px;overflow:auto;scrollbar-gutter:auto}#project-task-pane table{min-width:1193px;width:100%;border-collapse:separate;border-spacing:0}#project-task-pane th{width:auto;font-size:10px;font-weight:550;color:#839bb7;padding:14px 16px;background:#f4f8fe;border-bottom:1px solid #e4edf8;box-shadow:none;letter-spacing:0;backdrop-filter:none}#project-task-pane td{height:78px;padding:16px;font-size:11px;color:#8199b5;border-bottom:1px solid #edf2f9;line-height:1.6;background:#fff}#project-task-pane tr:nth-child(even) td{background:#fcfdff}#project-task-pane tbody tr:hover td{background:#f3f8ff}#project-task-pane tbody tr.selected td{background:#edf5ff}#project-task-pane th:first-child,#project-task-pane td:first-child{position:sticky;left:0;z-index:2;text-align:center;padding:8px;box-shadow:5px 0 10px -8px #82a5d233}#project-task-pane th:first-child{z-index:5}#project-task-pane th:last-child,#project-task-pane td:last-child{position:sticky;right:0;z-index:2;box-shadow:-6px 0 12px -9px #7796bc55}#project-task-pane th:last-child{z-index:5}#project-task-pane th:first-child,#project-task-pane th:last-child{background:#f4f8fe}#project-task-pane .task-check,#project-task-pane #select-all-tasks{width:14px;height:14px;accent-color:#4d91e9}#project-task-pane .task-title-cell{white-space:normal;font-weight:500}#project-task-pane .task-title-button{padding:0;border-radius:3px;text-align:left;color:#426a97;background:transparent;font-size:12px;font-weight:550;line-height:1.65;overflow-wrap:anywhere}.task-title-button:hover{text-decoration:underline;text-underline-offset:3px}.task-owner-caption,.task-client-caption{display:block;font-size:9px;color:#a0b0c3;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.task-project-name{font-size:11px;color:#7f97b1;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.task-phase-label{display:inline-block;font-size:10px;color:#7f99b7;background:#f1f6fc;padding:4px 7px;border-radius:5px;white-space:normal}.task-date{color:#7490b2;font-size:11px;font-variant-numeric:tabular-nums}.task-date.overdue,.task-date-hint.overdue{color:#ba7a70}.task-date.today,.task-date-hint.today{color:#b5965a}.task-date.tomorrow,.task-date-hint.tomorrow{color:#6a99d1}.task-date-hint{display:block;font-size:9px;margin-top:3px}.delivery-task-status{display:inline-flex;align-items:center;gap:5px;background:#f1f5fa;color:#9aaac0;border-radius:6px;padding:4px 7px;font-size:10px;white-space:nowrap}.delivery-task-status.done{background:#edf7f4;color:#71a592}.delivery-task-status.active{background:#ecf4ff;color:#658eca}.delivery-task-status.paused{background:#fff6e8;color:#ba9b68}.task-progress-number{font-size:12px;color:#6e92be;line-height:1.2;font-variant-numeric:tabular-nums}.task-progress-number small{font-size:9px;margin-left:2px;color:#9fb0c6}#project-task-pane td .progress-track{max-width:76px;background:#edf2f9;margin-top:7px;height:4px}#project-task-pane .progress-fill{background:#87b3ed}#project-task-pane .row-actions{gap:5px;justify-content:flex-start}#project-task-pane .row-actions button{width:26px;height:29px;display:grid;place-items:center;border-radius:7px;padding:5px}#project-task-pane .row-actions .delivery-icon{width:15px;height:15px}#project-task-pane .quick-complete{background:#eef7f3;color:#7aa993}#project-task-pane .row-more{background:#f0f5fc;color:#83a1c5}#project-task-pane .quick-delete{color:#b9a4a1;background:transparent}#project-task-pane .quick-delete:hover{color:#b25f52;background:#fff0ec}#project-task-pane .quick-complete:hover{color:#438c71;background:#e0f3e9}#project-task-pane .row-more:hover{color:#347bcc;background:#e4f0ff}#project-task-pane .table-foot{background:#fbfcff;color:#9bafc5;font-size:9px;padding:13px 20px;border-color:#edf2f8}#project-task-pane .batch-toolbar{background:#edf5ff;border-color:#dbe9fc;box-shadow:none;border-radius:12px}#project-task-pane .batch-toolbar strong{color:#5e89be;font-size:11px}#project-task-pane .batch-toolbar span{font-size:9px;color:#91a6c1}.delivery-page .empty-state{grid-column:1/-1;min-height:205px;width:100%;color:#8ba4c3;background:#fff;border:1px dashed #dfe9f7;border-radius:16px}.delivery-page .empty-state strong{font-size:13px;font-weight:500;color:#6c8bad}.delivery-page .empty-state span{font-size:11px;color:#a0b0c3}#project-task-pane .empty-state{border:0}#project-task-pane td[colspan]{position:static!important;padding:0}
.delivery-page button:focus-visible,.delivery-page summary:focus-visible,.delivery-page [tabindex]:focus-visible{outline:2px solid #73a9ed;outline-offset:3px}
@media(max-width:1200px){.delivery-overview-intro p{display:none}.delivery-overview{gap:20px;padding:22px}.delivery-overview-intro{gap:11px}.delivery-overview-intro strong{font-size:12px}.delivery-overview-stat{padding-left:18px;min-width:70px}.delivery-overview-stat strong{font-size:26px}.delivery-directory-head{align-items:flex-start}.delivery-directory-head .vc-tabs{gap:18px}.delivery-directory-head .vc-tabs button{font-size:11px}.delivery-scroll-tools>span{display:none}}
@media(max-width:1000px){.delivery-overview-intro{display:none}.delivery-overview-stat{flex:1;border:0;padding:0 10px}.delivery-overview-stat+.delivery-overview-stat{border-left:1px solid #deE8f7;padding-left:22px}.delivery-filters .delivery-search{flex-basis:100%}.delivery-directory-head>span.delivery-scope{display:none}}
@media(max-width:700px){.content:has(#page-projects.active),.content:has(#project-task-pane.active){padding:20px 16px}.delivery-page .vc-heading h1{font-size:25px}.delivery-page .vc-heading{align-items:flex-start;gap:15px;flex-wrap:wrap}.delivery-page .vc-heading>.delivery-scope{display:none}.delivery-page .vc-heading>.primary-button{padding:10px 13px;font-size:11px}.delivery-directory-head{gap:9px}.delivery-directory-head .vc-tabs{gap:16px}.delivery-directory-head>span{font-size:9px;padding-top:3px}.delivery-directory-head #project-result-count{display:none}.delivery-overview{padding:20px 16px}.delivery-overview-stat{padding:0 5px}.delivery-overview-stat strong{font-size:24px}.delivery-overview-stat+.delivery-overview-stat{padding-left:13px}.delivery-task-panel{padding:17px 14px 1px}.delivery-task-panel .vc-tabs{gap:17px}.delivery-task-panel .vc-tabs button{font-size:10px}.delivery-filters{gap:8px}.delivery-filters select{font-size:10px;height:39px;flex:1;max-width:none}.task-filters #task-project-filter{max-width:none;flex:1 1 100%}.task-filters #task-status-filter,.task-filters #task-phase-filter,.task-filters #task-sort{max-width:none;flex:1 1 100px}.delivery-reset{margin-left:auto}.delivery-table-heading{padding:15px 13px}.delivery-table-heading h2{font-size:12px}.delivery-scroll-tools{gap:5px!important}.delivery-table-heading>div{gap:7px}#page-projects .project-card{padding:18px}#page-projects .delivery-project-avatar{width:37px;height:37px;flex-basis:37px;font-size:18px}#page-projects .project-card h3{font-size:12px}#page-projects .project-card-top{gap:9px}#page-projects .status-badge{font-size:9px;padding:4px 6px}.delivery-project-meta{font-size:9px}#project-task-pane .table-foot>span:last-child{display:none}#project-task-pane .batch-toolbar{align-items:flex-start;flex-direction:column;gap:9px}#project-task-pane .table-panel{max-height:62vh}.delivery-page .vc-heading .kicker{margin-top:0}}
@media(prefers-reduced-motion:reduce){#page-projects .project-card{transition:none;transform:none!important}}
#project-task-pane th:nth-child(2),#project-task-pane td:nth-child(2){position:sticky;left:46px;z-index:2;box-shadow:7px 0 12px -10px #7597c45c}#project-task-pane th:nth-child(2){z-index:5;background:#f4f8fe}@media(max-width:700px){#project-task-pane th:nth-child(2),#project-task-pane td:nth-child(2){position:static;box-shadow:none}}

/* Administrator-only, recoverable lead removal. */
.ledger-delete{margin-left:auto;border:0;background:transparent;color:#b55151;font:inherit;font-size:12px;padding:5px 8px;border-radius:7px;cursor:pointer;transition:background .15s ease}
.ledger-delete:hover,.ledger-delete:focus-visible{background:#fff0f0;color:#922e2e}
.lead-delete-summary{display:grid;gap:8px;padding:18px 20px;border:1px solid #e0e8f2;border-radius:14px;background:#f7faff;margin-bottom:20px}
.lead-delete-summary strong{color:#123e70;font-size:20px}.lead-delete-summary span{color:#77889e;font-size:13px}
.primary-button.lead-delete-confirm{background:#b64c4c;box-shadow:none}.primary-button.lead-delete-confirm:hover{background:#9e3d3d}
.deleted-lead-list .crm-list-row>div{display:grid;gap:7px;min-width:0}.deleted-lead-list strong{overflow-wrap:anywhere}.deleted-lead-list small{color:#7d8da2}

/* Persistent project workspace: project directory and task sheet scroll independently. */
.content:has(#page-projects.active){padding:22px 26px 24px;overflow:hidden;flex:1;min-height:0;height:auto}
#page-projects.active{display:flex;flex-direction:column;min-height:0;height:100%;max-width:none;padding:0;animation:none}
.project-workspace-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;flex:0 0 auto;margin-bottom:21px}
.project-workspace-heading .kicker{font-size:9px;letter-spacing:.2em}
.project-workspace-heading h1{font-size:25px;line-height:1.3;color:#1e426d;letter-spacing:-.5px;margin:7px 0}
.project-workspace-heading p:last-child{font-size:11px;color:#8499b3;margin:0}
#project-overview{display:flex;gap:28px;align-items:center;padding:0 6px}
#project-overview>div{padding-left:26px;border-left:1px solid #dfe8f4;min-width:96px}
#project-overview span{display:block;color:#8b9eb5;font-size:10px;margin-bottom:7px}
#project-overview strong{font-weight:600;font-size:25px;line-height:1;color:#426eaa;font-variant-numeric:tabular-nums}
#project-overview small{font-size:10px;font-weight:400;color:#8ea5c1;margin-left:5px}
.project-task-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:20px;align-items:stretch;flex:1;min-height:0}
.project-list-pane{display:flex;flex-direction:column;min-width:0;min-height:0;background:#f9fbfe;border:1px solid #e0e8f4;border-radius:19px;overflow:hidden}
.project-directory-title{display:flex;align-items:center;justify-content:space-between;padding:20px 18px 13px;flex:0 0 auto}
.project-directory-title h2{font-size:14px;color:#3a5d87;margin:0;font-weight:600}
#project-result-count{font-size:10px;color:#8fa2ba;background:#edf2f9;border-radius:6px;padding:4px 7px}
.project-list-pane .delivery-directory{padding:0 14px 5px;flex:0 0 auto}
.project-list-pane .delivery-directory-head{margin:0 0 13px;gap:0;border:0}
.project-list-pane .vc-tabs{display:flex;gap:3px;width:100%;justify-content:space-between;overflow:visible;border:0;background:#edf2f9;border-radius:9px;padding:4px}
.project-list-pane .vc-tabs button{padding:7px 5px!important;font-size:10px!important;white-space:nowrap;border:0;border-radius:6px;color:#8396af}
.project-list-pane .vc-tabs button b{display:none}
.project-list-pane .vc-tabs button.active{background:#fff;color:#2879de;box-shadow:0 2px 5px #365c8910}
.project-list-pane .delivery-filters{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0}
.project-list-pane .delivery-search{grid-column:1/-1;min-width:0;padding:0 10px}
.project-list-pane .delivery-search input{height:36px;font-size:11px}
.project-list-pane .delivery-filters select{font-size:10px;height:34px;width:100%;max-width:none;padding-left:8px;padding-right:20px}
.project-list-pane .delivery-reset{grid-column:1/-1;padding:7px 4px;justify-self:end;font-size:10px}
.project-list-pane .delivery-filter-hint{margin:4px 0 7px}.project-list-pane .delivery-filter-hint span{font-size:9px;padding:4px 6px}
#page-projects .project-grid{display:flex;flex-direction:column;gap:11px;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:3px 12px 16px;scrollbar-width:thin;scrollbar-color:#c9d9ed transparent}
#page-projects .project-card{padding:16px;flex:0 0 auto;border-radius:13px;box-shadow:0 2px 8px #23497503;cursor:pointer;transition:border-color .18s,background .18s,box-shadow .18s}
#page-projects .project-card:hover{transform:none;border-color:#b3cef0;background:#fcfdff;box-shadow:0 3px 12px #2a67b30a}
#page-projects .project-card:focus-visible{outline:2px solid #247dec;outline-offset:1px}
#page-projects .project-card.task-project-selected{background:#f0f6ff;border-color:#7fb0f3;box-shadow:0 0 0 1px #bdd7fc,0 5px 15px #276cba09}
#page-projects .project-card.task-project-selected:before{content:'';position:absolute;width:3px;left:-1px;top:27px;bottom:27px;background:#2a7fea;border-radius:3px}
#page-projects .project-card-top{gap:10px;align-items:flex-start;flex-wrap:wrap}
#page-projects .delivery-project-avatar{width:34px;height:34px;flex-basis:34px;font-size:15px;border-radius:10px;background:#edf4fe;color:#739bd0}
#page-projects .task-project-selected .delivery-project-avatar{background:#fff;color:#307ee2;border-color:#d7e6fc}
#page-projects .project-card h3{font-size:12px;line-height:1.7;color:#36577e;font-weight:600}
#page-projects .project-client{font-size:10px;margin-top:4px;color:#8c9fb7}
#page-projects .project-card .status-badge{font-size:9px;margin:0 0 0 44px;padding:3px 6px}
#page-projects .delivery-project-meta{margin-top:11px;font-size:9px;gap:5px}
#page-projects .type-badge{font-size:9px;padding:3px 5px}
#page-projects .project-progress{margin-top:13px}
#page-projects .project-progress-head>span{font-size:10px}
#page-projects .project-progress-head strong{font-size:16px}
#page-projects .project-progress .progress-track{margin:7px 0;height:4px}
#page-projects .project-progress p{font-size:9px}
#page-projects .delivery-next-node{margin-top:11px;padding:0;border:0;background:none;font-size:9px;gap:5px}
#page-projects .delivery-next-node .delivery-icon{width:12px;height:12px;flex-basis:12px}
#page-projects .delivery-next-node strong{font-size:10px}
#page-projects .project-card-foot{margin-top:11px;padding-top:9px;gap:5px;flex-wrap:nowrap}
.project-selection-mark{display:none;align-items:center;gap:5px;color:#347bd4;font-size:10px;white-space:nowrap}
.project-selection-mark .delivery-icon{width:12px;height:12px;flex-basis:12px}
.task-project-selected .project-selection-mark{display:flex}
.project-context-actions{margin-left:auto}
.project-context-actions .crm-member-button{font-size:9px;padding:5px 3px;color:#7e96b3;white-space:nowrap}
.project-more summary{width:24px;height:24px;background:#fff;font-size:15px;border-radius:6px}
.project-list-pane .delivery-footer-note{flex:0 0 auto;font-size:9px;line-height:1.6;margin:0;padding:12px 16px;border-top:1px solid #e5ecf5;color:#8fa3bd;background:#f9fbfe}
#project-task-pane{position:relative;inset:auto;display:flex;flex-direction:column;width:auto;min-width:0;min-height:0;height:auto;border:1px solid #dce6f4;border-radius:19px;background:#fff;overflow:hidden;box-shadow:0 6px 26px #204e8406;animation:none}
#project-task-pane[hidden]{display:none!important}
.project-task-header{display:flex;align-items:center;justify-content:space-between;gap:24px;background:linear-gradient(110deg,#f0f6ff 0%,#fbfdff 70%);padding:24px;border-bottom:1px solid #e5edf8;flex:0 0 auto;position:static}
.project-task-header>div:first-child{flex:1;min-width:0}
.project-task-header .kicker{font-size:9px;letter-spacing:.15em;margin:0 0 9px;color:#7e9fc7}
.project-task-header h2{font-size:19px;font-weight:600;line-height:1.6;color:#284e7e;margin:0;overflow-wrap:anywhere}
.project-task-header h2:focus{outline:none}
.project-task-header p:last-child{font-size:10px;line-height:1.8;margin:7px 0 0;color:#819ab8}
.project-task-progress{width:104px;flex:0 0 104px;text-align:right;padding-left:17px;border-left:1px solid #e2eaf6}
.project-task-progress strong{font-size:29px;font-weight:600;color:#327fdf;line-height:1}
.project-task-progress small{font-size:12px;font-weight:400;margin-left:3px}
.project-task-progress>span{display:block;font-size:9px;color:#8ca4c1;margin:8px 0}
.project-task-progress .progress-track{height:4px;background:#e0ebfa}
.project-task-progress .progress-fill{background:#5a9aec}
.project-task-actions{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 22px 7px;flex:0 0 auto}
.project-task-actions>span{font-size:14px;color:#3d618d;font-weight:600}
.project-task-actions .primary-button{font-size:11px;padding:10px 13px;border-radius:9px;box-shadow:0 3px 8px #287deb12}
#project-task-pane .delivery-task-panel{border:0;border-radius:0;padding:0 22px 5px;margin:0;box-shadow:none;flex:0 0 auto}
#project-task-pane .delivery-directory-head{margin-bottom:12px}.delivery-directory-head>.delivery-scope{display:none}
#project-task-pane .vc-tabs{gap:22px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}
#project-task-pane .vc-tabs button{font-size:11px;padding:11px 0;white-space:nowrap}
#project-task-pane .task-filters{margin:0 0 10px;gap:8px}
#project-task-pane .task-filters select{font-size:11px;flex:1;max-width:180px;min-width:0;height:35px;border-radius:8px;padding-left:10px}
#project-task-pane .delivery-reset{font-size:10px;margin-left:auto}
#project-task-pane .delivery-filter-hint{margin-bottom:10px}
#project-task-pane .delivery-table-card{display:flex;flex-direction:column;flex:1;min-height:0;border:0;border-top:1px solid #e9eff7;border-radius:0;box-shadow:none}
#project-task-pane .delivery-table-heading{padding:14px 22px;flex:0 0 auto}
#project-task-pane .delivery-table-heading h2{font-size:11px}.delivery-scroll-tools>span{display:none}
#project-task-pane .table-panel{flex:1;min-height:80px;max-height:none;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c5d7ee #f6f9fd}
#project-task-pane table{min-width:850px;table-layout:fixed;width:100%}
#project-task-pane th{font-size:10px;padding:12px 10px;position:sticky;top:0;z-index:4}
#project-task-pane td{height:75px;padding:14px 10px;font-size:11px}
#project-task-pane th:nth-child(2),#project-task-pane td:nth-child(2){left:38px}
#project-task-pane .task-title-button{font-size:12px;font-weight:500}
#project-task-pane .task-phase-label{font-size:10px;padding:4px 6px}
#project-task-pane .row-actions{gap:3px}#project-task-pane .row-actions button{width:25px;height:27px}
#project-task-pane .table-foot{padding:11px 22px;flex:0 0 auto}
#project-task-pane .batch-toolbar{flex:0 0 auto;margin:0 20px 12px;padding:10px;flex-wrap:wrap;gap:8px}
#project-task-pane .batch-toolbar span{display:none}#project-task-pane .batch-actions button{padding:7px 10px;font-size:10px}
.project-task-empty{flex:1;display:grid;place-items:center;padding:24px;color:#8da5c2}
.project-task-empty[hidden]{display:none}
#project-task-pane.is-empty .project-task-actions,#project-task-pane.is-empty .delivery-task-panel,#project-task-pane.is-empty .delivery-table-card,#project-task-pane.is-empty .batch-toolbar,#project-task-pane.is-empty .project-task-progress{display:none}
.project-task-empty .empty-state{background:none;min-height:180px}
@media(min-width:1700px){.project-task-layout{grid-template-columns:340px minmax(0,1fr);gap:24px}#page-projects .project-card{padding:19px}#page-projects .project-card h3{font-size:13px}}
@media(min-width:701px) and (max-width:1250px){.content:has(#page-projects.active){padding:18px 18px 20px}.project-task-layout{grid-template-columns:255px minmax(0,1fr);gap:14px}#project-overview{gap:15px}#project-overview>div{padding-left:15px;min-width:72px}#project-overview strong{font-size:22px}.project-task-header{padding:20px 18px;gap:12px}.project-task-header h2{font-size:16px}.project-task-progress{width:75px;flex-basis:75px;padding-left:12px}.project-task-progress strong{font-size:25px}#project-task-pane .delivery-task-panel{padding-left:16px;padding-right:16px}#project-task-pane .project-task-actions{padding-left:16px;padding-right:16px}#project-task-pane .task-filters select{font-size:10px;flex:1 1 90px}#project-task-pane .vc-tabs{gap:14px}#page-projects .project-card{padding:13px}.project-list-pane .vc-tabs button{font-size:9px!important;padding:7px 4px!important}}
@media(max-width:700px){.content:has(#page-projects.active){padding:16px 12px 24px;overflow:visible}.project-workspace-heading{gap:15px;margin-bottom:15px}.project-workspace-heading h1{font-size:21px}.project-workspace-heading p:last-child{font-size:10px}#project-overview{gap:10px;padding:0}#project-overview>div{padding-left:10px;min-width:0}#project-overview>div:last-child{display:none}#project-overview strong{font-size:20px}#project-overview span{font-size:8px}.project-task-layout{display:flex;flex-direction:column;gap:16px}.project-list-pane{max-height:none;overflow:hidden}.project-directory-title{padding:14px 14px 11px}.project-list-pane .delivery-filters{grid-template-columns:minmax(0,1fr) auto}.project-list-pane .delivery-search{grid-column:auto}.project-list-pane .delivery-filters select{display:none}.project-list-pane .delivery-reset{grid-column:auto}.project-list-pane .delivery-directory-head{margin-bottom:10px}.project-list-pane .delivery-filter-hint{display:none}#page-projects .project-grid{display:flex;flex-direction:row;overflow-x:auto;overflow-y:hidden;padding:5px 12px 12px;scroll-snap-type:x proximity;flex:none}#page-projects .project-card{width:260px;scroll-snap-align:start;min-height:0;padding:14px}#page-projects .project-card .delivery-project-meta,#page-projects .project-card .delivery-next-node{display:none}#page-projects .project-card h3{font-size:12px}#page-projects .project-card .project-progress{margin-top:9px}#page-projects .project-card .project-progress-head{display:none}#page-projects .project-card-foot{margin-top:8px;padding-top:7px}.project-list-pane .delivery-footer-note{display:none}#project-task-pane{position:relative;inset:auto;width:100%;height:640px;min-height:540px;box-shadow:none;border-radius:17px}.project-task-header{padding:18px 15px;gap:14px}.project-task-header h2{font-size:16px}.project-task-progress{width:65px;flex-basis:65px;padding-left:10px}.project-task-progress strong{font-size:24px}.project-task-progress>span{font-size:8px}.project-task-actions{padding:16px 14px 5px}#project-task-pane .delivery-task-panel{padding:0 14px 5px}#project-task-pane .vc-tabs{gap:15px}#project-task-pane .vc-tabs button{font-size:10px}#project-task-pane .task-filters select{font-size:10px;flex:1 1 80px;padding-left:7px;height:34px}#project-task-pane .delivery-reset{padding:7px;font-size:9px}#project-task-pane .delivery-table-heading{padding:12px 14px}#project-task-pane th:nth-child(2),#project-task-pane td:nth-child(2){position:static}#project-task-pane .table-foot{padding:10px 14px}#project-task-pane .table-foot>span:last-child{display:none}}
@media(prefers-reduced-motion:reduce){#page-projects .project-card{transition:none}}

/* Keep the list content visible even on a laptop-sized window. */
#page-projects .project-card .status-badge{margin:0}
#page-projects .delivery-project-meta>span:last-child{display:none}
#page-projects .delivery-project-meta{justify-content:flex-start;gap:7px;margin-top:10px}
#page-projects .project-card .project-progress{margin-top:10px}
#page-projects .project-card .delivery-next-node{margin-top:9px}
.project-task-header{padding:18px 22px}
.project-task-header .kicker{font-size:8px;margin-bottom:5px}
.project-task-header h2{font-size:18px;line-height:1.5}
.project-task-header p:last-child{margin-top:5px}
#project-task-pane .delivery-task-panel{padding-top:10px}
#project-task-pane .delivery-directory-head{gap:12px;margin-bottom:10px}
#project-task-pane #add-node-button{padding:8px 11px;border-radius:8px;font-size:10px;white-space:nowrap;box-shadow:none}
#project-task-pane .vc-tabs{gap:18px}
#project-task-pane .vc-tabs button{font-size:10px;padding:9px 0}
#project-task-pane .delivery-table-heading{padding:8px 18px}
#project-task-pane .table-foot{padding:8px 18px}
#project-task-pane td{height:70px}
#page-projects .project-selection-mark{font-size:9px}
@media(min-width:701px) and (max-height:820px){
 .main:has(#page-projects.active) .topbar{height:68px;flex-basis:68px}
 .content:has(#page-projects.active){padding:16px 22px 20px}
 .project-workspace-heading{margin-bottom:16px}
 .project-workspace-heading .kicker{display:none}
 .project-workspace-heading h1{font-size:22px;margin:0 0 5px}
 .project-task-header{padding:16px 20px}
 .project-directory-title{padding-top:16px;padding-bottom:12px}
 #page-projects .project-card{padding:14px}
 .project-list-pane .delivery-filters select{height:32px}
 .project-list-pane .delivery-reset{padding:4px}
 #project-task-pane .delivery-table-heading{padding-top:6px;padding-bottom:6px}
}
@media(max-width:1050px){#project-task-pane .delivery-directory-head{flex-wrap:wrap;gap:4px}#project-task-pane #add-node-button{margin-left:auto;margin-bottom:6px}#project-task-pane .vc-tabs{flex:1;min-width:280px}.project-task-header h2{font-size:16px}}

/* One page heading, with the existing actions in the same row. */
.workspace-compact .main>.content,.workspace-compact .content:has(#page-projects.active),.workspace-compact .content:has(#page-leads.active){flex:1;min-height:0;height:auto;padding:28px 30px 32px}
.workspace-compact .workspace-heading{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:24px;margin:0 0 24px;padding:0;min-height:54px;flex:0 0 auto}
.workspace-compact .workspace-heading>div:first-child:not(.workspace-actions){flex:1;min-width:160px}
.workspace-compact .workspace-heading h1{display:flex;align-items:center;gap:10px;font-size:25px!important;line-height:1.4;font-weight:650!important;letter-spacing:-.5px;color:#173f69!important;margin:0!important}
.workspace-compact .workspace-heading p:not(.kicker){font-size:12px!important;line-height:1.7;color:#8194ac!important;margin:6px 0 0!important;max-width:620px}
.workspace-heading>.welcome-note,.workspace-heading .kicker,.workspace-heading .vc-live-dot,.workspace-heading .wb-hero-art{display:none}
.workspace-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:9px;flex-shrink:0;margin:0!important}
.workspace-actions .top-actions{display:contents}
.workspace-compact .workspace-actions button{font-size:12px;padding:10px 14px;white-space:nowrap;border-radius:10px;min-height:38px;margin:0}
.workspace-actions button.primary-button{box-shadow:0 5px 14px #2479df17}
.workspace-actions .ghost-button{color:#7187a1;font-weight:500}
.workspace-actions .ghost-button:hover{background:#eaf2fc;color:#2168bb}
.workspace-compact .workspace-actions .icon-button{width:38px;height:38px;min-width:38px;padding:0;border-radius:10px;color:#8095ad}
.workspace-actions .icon-button svg{width:17px;height:17px}
.workspace-actions button:focus-visible{outline:2px solid #287feb;outline-offset:3px}
.workspace-compact .project-workspace-heading{gap:22px;margin-bottom:22px;min-height:54px}
.workspace-compact #project-overview{gap:16px;padding:0 5px 0 0}
.workspace-compact #project-overview>div{min-width:65px;padding-left:17px}
.workspace-compact #project-overview strong{font-size:22px}
.workspace-compact #project-overview span{font-size:9px;margin-bottom:5px}
.workspace-compact .workspace-breadcrumb{display:flex;align-items:center;gap:13px;min-height:38px;margin-bottom:20px;font-size:12px}
.workspace-breadcrumb>.workspace-actions{margin-left:auto!important}
.workspace-compact .life-customer-hero .kicker{display:none}
.workspace-compact .life-customer-hero h1{margin-top:0}
.workspace-compact .crm-chat-layout{height:calc(100vh - 150px)}
@media(min-width:701px) and (max-width:1250px){
 .workspace-compact .main>.content,.workspace-compact .content:has(#page-projects.active),.workspace-compact .content:has(#page-leads.active){padding:24px 22px 26px}
 .workspace-compact .workspace-heading{gap:17px;margin-bottom:21px}
 .workspace-compact .workspace-heading h1{font-size:23px!important}
 .workspace-compact .workspace-actions button{font-size:11px;padding:10px 11px}
 .workspace-compact .project-workspace-heading{gap:16px}
 .workspace-compact #project-overview{gap:12px}
 .workspace-compact #project-overview>div{min-width:54px;padding-left:12px}
 .workspace-compact #project-overview strong{font-size:20px}
}
@media(max-width:700px){
 .workspace-compact .main>.content,.workspace-compact .content:has(#page-projects.active),.workspace-compact .content:has(#page-leads.active){padding:20px 16px 26px;overflow:visible}
 .workspace-compact .workspace-heading{flex-wrap:wrap;gap:13px;align-items:center;margin-bottom:20px;min-height:0}
 .workspace-compact .workspace-heading h1{font-size:22px!important}
 .workspace-compact .workspace-heading p:not(.kicker){font-size:11px!important}
 .workspace-heading>.workspace-actions{margin-left:auto!important}
 .workspace-actions{gap:7px;flex-shrink:1}
 .workspace-compact .workspace-actions button{font-size:11px;padding:9px 11px;min-height:36px}
 .workspace-compact .workspace-actions .icon-button{width:36px;height:36px;min-width:36px}
 .workspace-compact .project-workspace-heading>div:first-child{flex-basis:100%}
 .workspace-compact #project-overview{order:3;flex:1 1 100%;padding:13px 0 0;margin:0;border-top:1px solid #e0e9f4;justify-content:flex-start;gap:28px}
 .workspace-compact #project-overview>div{min-width:0;padding:0;border:0;display:block}
 .workspace-compact #project-overview span{font-size:10px}
 .workspace-compact #project-overview strong{font-size:21px}
 .workspace-compact .project-workspace-heading>.workspace-actions{margin-left:0!important;justify-content:flex-start}
 .workspace-compact .workspace-breadcrumb{gap:8px;flex-wrap:wrap;font-size:11px}
 .workspace-compact .crm-chat-layout{height:70vh}
}

/* The workbench keeps its welcome card as its single page header. */
.workspace-welcome>.workspace-actions{position:absolute;top:22px;right:24px;z-index:2}
.workspace-welcome>div:first-child{padding-right:62px}
.workspace-welcome .wb-hero-art{pointer-events:none}
.workspace-compact .workspace-welcome .workspace-actions .icon-button{background:#ffffff14;border-color:#ffffff35;color:#e4efff}
.workspace-compact .workspace-welcome .workspace-actions .icon-button:hover{background:#ffffff28;color:#fff}
.workspace-welcome .workspace-actions .crm-mobile-account{background:#ffffff14;color:#e4efff}
@media(max-width:700px){
 .workspace-welcome>.workspace-actions{top:15px;right:15px}
 .workspace-welcome>div:first-child{padding-right:78px}
 .workspace-welcome .workspace-actions{gap:5px}
}

@media(max-width:1000px){
 .workspace-compact .workspace-heading{flex-wrap:wrap}
 .workspace-compact .workspace-actions{max-width:100%}
}

/* Registration dates and explicit, scoped lifecycle handoffs. */
#page-leads .ledger-date-filters{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:0 0 16px;font-size:12px;color:#617b97}
#page-leads .ledger-date-filters label{display:flex;align-items:center;margin:0}
#page-leads .ledger-date-filters input{width:148px;min-width:0;border:1px solid #dfe8f4;border-radius:8px;background:#f8fbff;color:#315878;padding:8px 10px;font:inherit}
#page-leads .ledger-date-filters input:focus{outline:2px solid #b8d5fa;outline-offset:1px}
#page-leads .ledger-date-filters .ghost-button{font-size:11px;padding:8px 10px;color:#397bcc}
#page-leads .ledger-date-hint{color:#93a2b6;font-size:11px}
#page-leads #lead-date-error{color:#b44545;font-size:11px}
#page-leads .ledger-next{color:#1f6dcc;background:#eef5ff;border-radius:5px;padding:5px 7px}
#page-leads .ledger-close{color:#98766c;font-size:11px;background:transparent;padding:5px 0}
#page-leads .ledger-row-meta{row-gap:9px}
.life-current .life-flow-guidance{line-height:1.9;margin:15px 0 0;color:#597ea4;font-size:12px}
.crm-dialog footer{flex-wrap:wrap;gap:8px}
.crm-dialog footer .lifecycle-danger,.vc-center .life-current .lifecycle-danger{color:#a6514b;border-color:#ead7d4;background:#fff}
@media(max-width:700px){#page-leads .ledger-date-filters{gap:8px}#page-leads .ledger-date-filters>span:first-child{flex-basis:100%}#page-leads .ledger-date-filters input{width:132px}#page-leads .ledger-date-hint{display:none}.crm-dialog footer button{font-size:12px}}
#page-leads .ledger-date-filters .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Structured teacher feedback and the two post-meeting routes. */
.crm-dialog:has(.meeting-feedback-fields){width:min(820px,94vw)}
.meeting-meta{grid-template-columns:1fr 1fr 1fr;gap:14px}
.meeting-feedback-fields{display:grid;gap:14px;margin-top:20px}
.meeting-feedback-fields .crm-field{margin:0}
.meeting-feedback-fields .crm-help{margin:0;color:#71859d}
.meeting-feedback-fields .crm-field>span{font-weight:600;color:#365b83}
.meeting-feedback-fields textarea{height:88px;min-height:88px;max-height:240px;resize:vertical;line-height:1.75;padding:12px 14px;background:#fbfcff}
.meeting-route{border:0;padding:0;margin:24px 0 0;min-width:0}
.meeting-route legend{font-size:13px;font-weight:600;color:#365b83;margin-bottom:12px}
.meeting-route-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.meeting-route-options label{position:relative;display:flex;gap:10px;align-items:flex-start;padding:16px;border:1px solid #dce6f2;border-radius:12px;background:#fff;cursor:pointer;transition:background .15s,border-color .15s}
.meeting-route-options label:hover{background:#f5f9ff;border-color:#9dbde7}
.meeting-route-options label:has(input:checked){background:#eef5ff;border-color:#267deb;box-shadow:0 0 0 1px #267deb}
.meeting-route-options label:focus-within{outline:2px solid #92bfff;outline-offset:3px}
.meeting-route-options input{width:16px;height:16px;flex:0 0 16px;accent-color:#267deb;margin:3px 0}
.meeting-route-options span{display:grid;grid-template-columns:20px 1fr;gap:8px;align-items:center}
.meeting-route-options .vc-icon{width:18px;height:18px;color:#4187dc}
.meeting-route-options strong{font-size:13px;font-weight:600;color:#214f82}
.meeting-route-options small{grid-column:1/-1;line-height:1.7;font-size:11px;color:#788fa9}
.meeting-proposal{padding:0;border:0;min-width:0;margin:0}
[data-completed-meeting][hidden]{display:none!important}
.meeting-notes{display:grid;gap:14px;margin:18px 0}
.meeting-notes>div{padding-left:12px;border-left:2px solid #c9ddf6}
.meeting-notes dt{font-size:12px;font-weight:650;color:#45698f;margin-bottom:6px}
.meeting-notes dd{margin:0;font-size:12px;line-height:1.85;color:#667e99;white-space:pre-wrap;overflow-wrap:anywhere}
.quote-record{padding:20px;border:1px solid #dae6f5;border-radius:12px;background:#f7faff;margin-top:20px}
.quote-record header{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.quote-record header strong{font-size:14px;color:#365b83}
.quote-record header small{display:block;font-size:10px;color:#8a9db3;margin-top:6px}
.quote-record header b{font-size:24px;color:#246dc2;font-weight:650;font-variant-numeric:tabular-nums}
.quote-record>p{font-size:11px;color:#8a9db3;margin:14px 0 0}
@media(max-width:650px){.meeting-meta{grid-template-columns:1fr 1fr}.meeting-meta>.crm-field:last-child{grid-column:1/-1}.meeting-route-options{grid-template-columns:1fr}.meeting-feedback-fields textarea{min-height:110px}}
