/* Князь: editorial operations desk. Local media and type; no new dependencies. */
:root{--ink:#102d31;--paper:#eef0e7;--cream:#fffef8;--lime:#d4ed86;--pink:#dc806a;--mint:#6abfa9;--muted:#5c706e;--line:#c8d2c7;--v4-teal:#0a3a3b;--v4-deep:#082b2f;--v4-shadow:0 12px 35px #173a3010}
body{background:var(--paper);color:var(--ink);-webkit-font-smoothing:antialiased}button,input,select,textarea{font-family:Onest,Arial,sans-serif}button,a{touch-action:manipulation}::selection{color:#082b2f;background:#d4ed86}:focus-visible{outline:3px solid #278270;outline-offset:3px}
.v4-shell{grid-template-columns:230px minmax(0,1fr)}.v4-shell .sidebar{width:230px;padding:30px 16px 18px;background:linear-gradient(164deg,#103b3d,#092b30 60%,#08282d);border-right:1px solid #b4d7bd33;gap:29px}.v4-shell .sidebar:before{height:3px;background:linear-gradient(90deg,#d4ed86 0 45%,#6abfa9 45% 85%,#dc806a 85%)}.v4-shell .sidebar>.brand{padding:0 9px 26px;border-bottom:1px solid #a1bcad3b;gap:12px}.v4-shell .sidebar .brand strong{font-size:17px;font-weight:600;letter-spacing:-.06em}.v4-shell .brand img{width:34px;height:43px;filter:drop-shadow(0 0 9px #84f0d446)}.v4-shell .brand small{font-size:7px;letter-spacing:.15em;color:#a3c2b5;margin-top:8px}.v4-shell .nav-link{position:relative;font-size:13px;padding:14px 17px;color:#ced9d0;transition:background .18s,color .18s,border-color .18s}.v4-shell .nav-link.selected{color:#f5f8e8;background:#ffffff0b;border:1px solid #6ebfa55c;border-left:3px solid #d4ed86;border-right:1px solid #6ebfa55c;box-shadow:none}.v4-shell .nav-link.selected:hover{background:#ffffff13;color:#fff;border-color:#6ebfa55c;border-left-color:#d4ed86}.v4-shell .nav-link:hover:not(.selected){background:#ffffff09;border-color:#87bfa03a;color:#fff}.v4-shell .crm-navigation>summary{padding:13px 17px;border:0;font-size:11px;letter-spacing:.11em;color:#8ebca9}.v4-shell .crm-navigation>summary small{font-size:9px;letter-spacing:0;color:#9fb8ad}.v4-shell .crm-submenu{border-color:#7daa8f44;padding-left:5px;margin-left:15px}.v4-shell .crm-submenu .nav-link{font-size:13px;padding-left:18px}.v4-shell .workspace-mail{margin-top:13px!important;padding-top:16px;padding-bottom:16px;border:1px solid #8baa9745;background:#bad3ac07}.v4-shell .workspace-mail small{font-size:9px;color:#a6bdb1}.v4-shell .secondary-menu .nav-link{font-size:12px;color:#b2c8bb}.v4-shell .secondary-menu .nav-link.selected{color:#f5f8e8}.v4-shell .more-navigation>summary{color:#8aa99b;padding:14px 17px;font-size:10px}.v4-shell .more-navigation .nav-link{font-size:11px;padding-left:17px}.v4-shell .sidebar-bottom{border-top-color:#8aaa943d;padding-top:16px}.v4-shell .logout-quiet{color:#99b4a6!important;font-size:10px;letter-spacing:.07em;margin-top:7px}.v4-shell .logout-quiet:hover{color:white!important;box-shadow:none}.v4-shell .topbar{height:74px;padding:0 34px;background:#fffef8e8;border-bottom:1px solid #b9cbbc;box-shadow:none;backdrop-filter:blur(10px)}.v4-shell .topbar>.row{gap:27px}.v4-shell .workspace-current{color:#154a43;border-bottom:2px solid #337d64;font-size:12px}.v4-shell .workspace-shortcut{color:#526e64;font-size:12px}.v4-shell .global-search-control{border:1px solid #c8d2c7;background:#e9eee342;color:#4a685a;font-size:12px;padding:10px 16px}.v4-shell .global-search-control:hover{background:#f5f7eb;border-color:#74a085;box-shadow:none}.v4-shell .global-search-control kbd{color:#697e72;border-color:#b7c9b9}.v4-shell .user>span{font-size:12px;color:#29483d}.v4-shell .user small{font-size:10px;color:#6a8272}.v4-shell .avatar{color:#d4ed86;background:#103d38;box-shadow:3px 3px 0 #ccddb3;border:0;width:34px;height:34px}.v4-shell .content{padding:27px 34px 40px;max-width:1780px}
.v4-head{padding:28px 30px!important;min-height:180px!important;border:1px solid #a0b8a0!important;background:linear-gradient(110deg,#173e3b,#0d3034 66%,#082a30)!important;margin-bottom:23px!important;box-shadow:var(--v4-shadow)}.v4-head .head-copy{max-width:67%!important}.v4-head .eyebrow{display:flex;align-items:center;gap:13px;font-size:9px!important;letter-spacing:.12em;color:#bfd2b2}.v4-chapter-number{font:600 11px Unbounded,Onest,sans-serif;letter-spacing:0;border-right:1px solid #829e824d;padding-right:13px;color:#d4ed86}.v4-brandline{font-size:8px;color:#8fae9c;margin-left:auto;letter-spacing:.12em}.v4-head h1{font-size:clamp(27px,2.8vw,39px)!important;font-weight:550!important;letter-spacing:-.055em;margin:19px 0 12px!important;line-height:1.2!important;color:#f5f5e6}.v4-head p{font-size:12px!important;color:#b7cabc;line-height:1.7!important;max-width:95%!important}.v4-head .stage-art{width:42%;right:0;opacity:.44;height:100%;mask-image:linear-gradient(90deg,transparent,#000 50%)}.v4-head .stage-art img,.v4-head .stage-art video{object-position:72% center}.v4-head .v4-head-coordinator{position:absolute;z-index:1;right:4%;top:-32px;height:250px;width:auto;pointer-events:none;filter:drop-shadow(8px 7px 0 #91d9b415);object-fit:contain;transform:rotate(5deg)}.v4-head:after{display:none}.v4-head-rule{position:absolute;bottom:0;left:30px;width:calc(100% - 60px);height:1px;background:linear-gradient(90deg,#c9e5a3 0 15%,#88b39370 15% 65%,transparent 65%)}.v4-head-rule:after{content:'';display:block;width:37px;height:4px;background:#d4ed86;position:absolute;top:-3px;left:0}
.v4-shell .workspace-heading{margin-bottom:19px;gap:15px}.v4-shell .desk-tabs{gap:25px}.v4-shell .desk-tabs button,.v4-shell .desk-tabs span{font-size:12px;color:#667c6b;padding:10px 0}.v4-shell .desk-tabs .selected{color:#174336;border-bottom:2px solid #22674d}.v4-shell .button,.v4-shell button.button,#modal .button{font-size:12px;letter-spacing:0;padding:12px 18px;min-height:46px;background:#fffef8;border:1px solid #9aaf9b;box-shadow:none;color:#183e31;transition:background .18s,color .18s,border-color .18s,box-shadow .18s}.v4-shell .button.primary,#modal .button.primary{background:#173f37;color:#f3f5e5;border:1px solid #173f37;box-shadow:inset 0 -2px #628a613b}.v4-shell .button[data-design="new-lead"],.v4-shell .button[data-design="compose"]{background:#d4ed86;border:1px solid #afcb76;color:#133a2c;box-shadow:inset 0 -3px #a3c36a}.v4-shell .button.primary:not(:disabled):hover,#modal .button.primary:not(:disabled):hover{background:#184e40;border-color:#5da489;color:#f4f9df;box-shadow:0 0 0 1px #7ebca948,0 0 20px #79b9a22e,inset 0 0 15px #a6dda51a}.v4-shell .button[data-design="new-lead"]:not(:disabled):hover,.v4-shell .button[data-design="compose"]:not(:disabled):hover{background:#e2f4ad;color:#183b2c;box-shadow:0 0 0 1px #bbd58055,0 0 23px #acc98b55}.v4-shell .button.primary:hover:before,#modal .button.primary:hover:before,.v4-shell .button.primary:focus-visible:before,#modal .button.primary:focus-visible:before{transform:translateX(140%);transition:transform .72s var(--ease)}.v4-shell .button:not(:disabled):hover,#modal .button:not(:disabled):hover{border-color:#678d77;background:#eef3e3}.v4-shell .button:disabled,#modal .button:disabled{opacity:.5;box-shadow:none}.v4-shell .button[data-design="refresh"],.v4-shell .button[data-design="search"],.v4-shell .button[data-design="mail-prev"],.v4-shell .button[data-design="mail-next"]{border:1px solid #b8c9b9;background:#e9efdf;color:#3a6049}.v4-shell input,.v4-shell select,.v4-shell textarea,#modal input,#modal select,#modal textarea{background:#fffef8;border:1px solid #adbfac;box-shadow:inset 0 2px 3px #153a2f04;color:#153c30}.v4-shell input::placeholder,#modal input::placeholder,#modal textarea::placeholder{color:#6b806f;opacity:1}.v4-shell label,#modal label{color:#455e4c;font-size:12px;letter-spacing:0}.v4-shell input:focus,.v4-shell select:focus,.v4-shell textarea:focus,#modal input:focus,#modal select:focus,#modal textarea:focus{outline:2px solid #74a786;outline-offset:2px;border-color:#315f43;box-shadow:none}
.v4-shell .work-metrics,.v4-shell .admin-metrics{gap:0;border:1px solid #16483e;box-shadow:var(--v4-shadow);background:#123d35;margin-bottom:23px}.v4-shell .work-metric{background:transparent;border:0;border-right:1px solid #bfdbb331;border-top:0;padding:23px 23px 21px;gap:11px;position:relative;color:#f4f6e6}.v4-shell .work-metric:last-child{border-right:0}.v4-shell .work-metric>span{font-size:12px;color:#c3d4bd;font-weight:500}.v4-shell .work-metric>strong{font-size:40px;line-height:1.1;font-weight:550;color:#f6f7e8;letter-spacing:-.07em}.v4-shell .work-metric>small{font-size:11px;color:#9fbfa8}.v4-shell .work-metric:first-child>strong{color:#d4ed86}.v4-shell .work-metric[type=button]:hover{background:#1c5240;border-color:#bfdbb331;box-shadow:inset 0 -3px #d4ed86}.v4-shell .work-grid{grid-template-columns:minmax(0,1.18fr) minmax(0,1fr);gap:22px}.v4-shell .panel{padding:25px;background:#fffef8;border:1px solid #bcccb9;box-shadow:var(--v4-shadow);position:relative}.v4-shell .panel-head{margin-bottom:19px;padding-bottom:13px;border-bottom:1px solid #cbd6c4;gap:14px}.v4-shell .panel h2{font-size:20px;letter-spacing:-.035em;font-weight:650;color:#123c31}.v4-shell .priority-panel:before,.v4-shell .new-requests:before{content:'';position:absolute;top:-1px;left:24px;width:46px;height:3px;background:#426d48}.v4-shell .new-requests:before{background:#afc56d}.v4-shell .text-control{font-size:11px;color:#316b4c;font-weight:650;min-height:44px}.v4-shell .text-control:hover{color:#143c2b}.v4-shell .work-item{padding:17px 0!important;border-top:0;border-bottom:1px solid #d9e0d3;gap:16px!important;align-items:start}.v4-shell .work-item:last-child{border-bottom:0}.v4-shell .work-item-copy strong{font-size:14px;line-height:1.45;letter-spacing:-.015em;font-weight:650}.v4-shell .work-item-copy>span{font-size:12px;line-height:1.65;color:#607763}.v4-shell .work-item-meta{padding-top:2px;max-width:160px}.v4-shell .work-item-meta>b{font-size:11px;font-weight:650;white-space:nowrap;color:#3d6448}.v4-shell .work-item-meta>small{font-size:10px;color:#71816c}.v4-shell .work-item.is-overdue .work-item-meta>b{color:#a8483c}.v4-shell .work-item.is-overdue .work-item-meta{border-right:2px solid #c57964;padding-right:9px}.v4-shell .upcoming{border-color:#bdcdb7;padding-top:6px}.v4-shell .upcoming summary{font-size:11px;color:#496847}.v4-shell .v3-empty{padding:35px 13px!important;min-height:151px;display:grid;align-content:center;text-align:center}.v4-shell .v3-empty h3{font-size:16px;color:#2b5139;font-weight:600;margin:0 0 9px}.v4-shell .v3-empty p{font-size:12px;color:#637a64;line-height:1.8}.v4-shell .work-secondary{gap:24px;border-color:#becdb8;padding:13px 0;margin-top:21px}.v4-shell .work-secondary a,.v4-shell .work-secondary button{font-size:11px;color:#5d775c;min-height:44px}.v4-shell .market-card{margin-top:22px!important;background:#e7ecde;border-color:#b9c8ae;box-shadow:none}.v4-shell .market-card .panel-head{border-color:#b9c9b0;margin-bottom:0}.v4-shell .market-card h2{font-size:16px}.v4-shell .market-card .panel-head>span{font-size:10px;color:#5c7358}.v4-shell .rates-grid{border:0;margin-top:13px}.v4-shell .rate-item{padding:15px 17px;border-color:#bdcbb2;background:transparent}.v4-shell .rate-item:first-child{padding-left:0}.v4-shell .rate-item:hover{background:#dce6ca}.v4-shell .rate-item>span{font-size:11px;letter-spacing:.015em;color:#48643f}.v4-shell .rate-item>strong{font-family:Onest,sans-serif;font-size:23px;color:#173c2c;font-weight:650;font-variant-numeric:tabular-nums}.v4-shell .rate-item strong small{font-size:10px;color:#6b8061}.v4-shell .rate-item>small{font-size:10px;color:#65785b;line-height:1.7}.v4-shell .rate-item.rate-stale{background:#f3e9c9}.v4-shell .market-note,.v4-shell .market-details summary,.v4-shell .metric-source{font-size:10px;color:#65795e;line-height:1.85}.v4-shell .market-note{margin-top:9px}.v4-shell .admin-grid{gap:22px}.v4-shell .period-switch{border-color:#a9bea3;background:#fffef8}.v4-shell .period-switch button{border-color:#a9bea3;font-size:11px;background:#fffef8;color:#506e4d}.v4-shell .period-switch button[aria-pressed=true]{background:#204d39;color:#ecf2d9}.v4-shell .daily-bars{min-height:185px;border-bottom:1px solid #b8cbb0;background:repeating-linear-gradient(0deg,transparent 0 40px,#d4dfcc66 40px 41px);padding-top:28px}.v4-shell .daily-bar i{background:linear-gradient(0deg,#2d6750,#80ae70);width:80%}.v4-shell .daily-bar>span{color:#486945;font-size:10px}.v4-shell .daily-bar small{font-size:9px;color:#678264}.v4-shell .funnel-summary{counter-reset:stage}.v4-shell .funnel-summary button{position:relative;padding:15px 0;min-height:51px;border-color:#d6dfcd;font-size:12px;gap:14px}.v4-shell .funnel-summary button:before{content:counter(stage,decimal-leading-zero);counter-increment:stage;color:#829275;font-size:9px;min-width:20px}.v4-shell .funnel-summary button>span{flex:1}.v4-shell .funnel-summary button:hover{background:#f3f6e9;color:#345e2f}.v4-shell .funnel-summary strong{font-size:18px;font-weight:500;color:#265431}.v4-shell .attention-link{background:#eaf0de;border-color:#bfd0b2;padding:15px;color:#2f5234;font-size:12px}.v4-shell .system-alert{color:#9c473a}.v4-shell .system-fine{color:#46734b}.v4-shell .channel-counts{border-color:#c9d7bf;font-size:11px;color:#5c7956}
.v4-shell .deal-toolbar{grid-template-columns:minmax(220px,1fr) 270px;gap:12px;margin-bottom:18px}.v4-stage-nav{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(145px,1fr);overflow-x:auto;border:1px solid #b5c6b3;background:#dfe6d6;margin-bottom:20px;scrollbar-width:thin;scrollbar-color:#83a079 #dfe6d6;max-width:100%;overscroll-behavior-x:contain}.v4-stage-nav button{display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:65px;padding:12px 14px;border:0;border-right:1px solid #b9ccb4;background:transparent;text-align:left;color:#42613b;font-size:10px;line-height:1.45;font-weight:650;transition:background .18s}.v4-stage-nav button:last-child{border-right:0}.v4-stage-nav button:hover,.v4-stage-nav button.is-current{background:#cadbb9;color:#183d2b;box-shadow:inset 0 -3px #557a45}.v4-stage-order{font:500 9px Unbounded;color:#7a906f}.v4-stage-nav b{font:500 15px Unbounded;color:#2d5131}.v4-shell .kanban{gap:17px;scroll-snap-type:x proximity;scrollbar-color:#769b79 #dbe5d3;scrollbar-width:thin;padding-bottom:20px;min-height:380px}.v4-shell .stage{flex:1 0 294px;min-width:294px;max-width:380px;padding:0 12px 12px;scroll-snap-align:start;background:#e0e7d8;border:1px solid #b8cab3;border-top:3px solid #487953;position:relative}.v4-shell .stage:nth-child(2n){border-top-color:#9aac64}.v4-shell .stage:nth-child(3n){border-top-color:#ba8467}.v4-shell .stage>header{min-height:76px;padding:15px 5px 19px;gap:18px;align-items:start}.v4-shell .stage>header strong{font-size:12px;line-height:1.5;color:#325039;max-width:170px}.v4-shell .stage>header span{font-size:19px;font-weight:500;color:#597650}.v4-shell .stage.over{background:#d0e3bc;outline-color:#457d52}.v4-shell .stage-empty{font-size:11px;color:#6d8664;border:1px dashed #b5c7ae;margin:0;padding:29px 10px}.v4-shell .lead-card{background:#fffef8;border:1px solid #bdcdb5;padding:0!important;box-shadow:0 4px 11px #244a3010;margin-bottom:14px;overflow:hidden;cursor:pointer}.v4-shell .lead-card:before{display:none}.v4-shell .lead-card:hover,.v4-shell .lead-card:focus-within{border-color:#678d61;box-shadow:0 5px 18px #244a3021}.v4-card-label{display:flex;justify-content:space-between;gap:15px;min-height:36px;padding:11px 16px 9px;background:#f3f4e8;border-bottom:1px solid #d6dfca;color:#587447;font-size:9px;line-height:1.4;font-weight:650}.v4-lead[data-product="energy"] .v4-card-label{background:#e9eeea;color:#3f695a}.v4-lead[data-product="grain"] .v4-card-label{background:#f3eedc;color:#87703e}.v4-lead[data-product="growth"] .v4-card-label{background:#edf2dc;color:#678447}.v4-shell .lead-card h3{margin:0;padding:0;line-height:1.4}.v4-card-open{padding:17px 16px 5px;display:block;width:100%;border:0;background:transparent;text-align:left;color:#183d2d;font-size:14px;line-height:1.5;font-weight:700;min-height:44px}.v4-card-open:focus-visible{outline-offset:-4px}.v4-shell .lead-card p.v4-card-need{font-size:12px;color:#6a7c5e;line-height:1.75;margin:0;padding:0 16px;-webkit-line-clamp:3}.v4-card-contact{padding:13px 16px 0;font-size:11px;color:#44603e;overflow-wrap:anywhere}.v4-next-step{margin:16px 16px 0;padding:11px 12px;background:#edf3e0;border-left:2px solid #8bac73;display:grid;gap:6px}.v4-next-step>span{font-size:8px;text-transform:uppercase;letter-spacing:.1em;color:#718460}.v4-next-step>strong{font-size:11px;line-height:1.6;color:#385230;font-weight:550;overflow-wrap:anywhere}.v4-shell .lead-card footer{margin:14px 16px 0;border-top:1px solid #d8e0cc;padding:12px 0 14px;display:flex;align-items:start;justify-content:space-between;gap:11px;font-size:10px;color:#667c58}.v4-card-date{line-height:1.6;overflow-wrap:anywhere}.v4-card-amount{font-size:11px;white-space:nowrap;color:#335b37;font-weight:650}.v4-shell .lead-card.is-overdue footer{color:#a54f3c}.v4-shell .intake-card-actions{padding:0 16px 16px}.v4-shell .intake-card-actions .button{width:100%;font-size:11px;padding:11px;min-height:44px}.v4-shell .intake-grid{gap:20px;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));align-items:start}.v4-shell .intake-filters{padding:14px;background:#e0e7d6;border:1px solid #bdccb3;margin-bottom:23px;grid-template-columns:minmax(160px,1fr) 230px auto}.v4-shell .toolbar{gap:16px;align-items:center}.v4-shell .toolbar>.muted{font-size:11px;color:#67815c}.v4-shell .intake-review{font-size:11px;color:#668057}
.v4-contact-search{display:grid;grid-template-columns:minmax(220px,1fr) auto;align-items:center;gap:16px;flex:1;min-width:0;margin-left:auto;max-width:650px}.v4-contact-search input{width:100%}.v4-contact-search>span{font-size:10px;color:#6a805e;white-space:nowrap}.v4-shell .data-table{border:1px solid #b9ccb2;background:#fffef8}.v4-shell .data-table table{border-collapse:collapse}.v4-shell .data-table th{background:#204a36;color:#d6e7c4;padding:18px;font-size:10px;font-weight:500;letter-spacing:.04em;text-align:left}.v4-shell .data-table td{padding:18px;font-size:12px;color:#4b6640;border-bottom:1px solid #dae3cf;line-height:1.65}.v4-shell .data-table td:first-child{font-size:13px;font-weight:700;color:#274c30}.v4-shell .data-table td .button{font-size:10px;min-height:44px;padding:10px 14px}.v4-shell .data-table tbody tr:hover{background:#f1f5e5}.v4-shell .data-table tr[hidden]{display:none!important}.v4-shell .users-list{gap:16px}.v4-shell .user-card{padding:24px 26px;background:#fffef8;border:1px solid #bbceaf;border-left:3px solid #65884e;box-shadow:var(--v4-shadow)}.v4-shell .user-card h2{color:#284b2e;font-size:19px;font-weight:600}.v4-shell .user-card p{font-size:12px;color:#5c7450}.v4-shell .user-card small{font-size:11px;line-height:1.7;color:#637c55}.v4-shell .preferences-grid,.v4-shell .settings-grid{gap:22px}.v4-shell .preferences-grid p,.v4-shell .settings-grid p{font-size:12px;line-height:1.85;overflow-wrap:anywhere}.v4-shell .preferences-grid .panel>a,.v4-shell .settings-grid .panel>a,.v4-shell .guide>a{font-size:12px;color:#447744}.v4-shell .setting-row{border-color:#c1d1b7;color:#365b34;font-size:13px}.v4-shell .queue-health{margin-top:22px}.v4-shell .status-line{background:#eaf1dd;border-color:#83a96b;color:#4a6d3d;font-size:11px}.v4-shell .sources{grid-column:1 / -1;background:#e4ebd9}.v4-shell .sources h2{font-size:15px}.v4-shell .sources p,.v4-shell .sources a{font-size:10px}
.v4-shell .mail-workspace{border-color:#b5c9b0;background:#fffef8;box-shadow:var(--v4-shadow)}.v4-shell .mail-list{border-color:#c0d0b9}.v4-shell .mail-row{padding:20px 22px;border-color:#d1ddc6}.v4-shell .mail-row:hover,.v4-shell .mail-row.selected{background:#edf3df;box-shadow:inset 3px 0 #6c9956}.v4-shell .mail-row h3{font-size:14px;color:#224c31}.v4-shell .mail-row .sender{color:#4a6a40}.v4-shell .mail-row p{font-size:12px;color:#718467}.v4-shell .mail-preview h2{font-size:24px;color:#20482e}.v4-shell .mail-body{font-size:14px;line-height:1.9;color:#345236;border-color:#c4d3b9}.v4-shell .mail-header-facts{background:#edf2e1;color:#5a7650;border-color:#739e5e}.v4-shell .facts{background:#ecf2df;border-color:#c4d3b5;border-left-color:#749b5e}.v4-shell .badge{background:#e8eedc;border:1px solid #c2d0b2;color:#5c744c;font-size:9px}.v4-shell .badge.orange{background:#f6ebd3;border-color:#cebb8a;color:#8e7036}.v4-shell .badge.green{background:#e0edd8;border-color:#aac89a;color:#417444}.v4-shell .tabs button{border-color:#b8cca9;color:#60804d;background:#fbfcf2;font-size:11px}.v4-shell .tabs button.active{background:#1d4c35;color:#e5efcc;box-shadow:inset 0 -3px #a6c96e}.v4-shell .draft-state{background:#fffef8;border:1px solid #b9cbaa;border-left:3px solid #6b9852;box-shadow:var(--v4-shadow)}.v4-shell .draft-state h3{font-size:17px;color:#254b2d}.v4-shell .queue-ledger{background:#f8eadf;border-color:#ddbd9f;color:#91613a}.v4-shell .attachment{border-color:#bccdad;background:#f8faee;font-size:11px}
#modal{background:#fffef8;border:1px solid #719778;box-shadow:0 30px 100px #062b3266;max-width:min(870px,calc(100vw - 34px))}#modal::backdrop{background:#052b30ba;backdrop-filter:blur(6px)}#modal .modal-header{padding:23px 27px;background:linear-gradient(120deg,#1a493a,#0c3033);border-bottom:2px solid #a6c57a;align-items:center;gap:20px}#modal .modal-header h2{font-size:19px;font-weight:550;letter-spacing:-.045em;line-height:1.55;color:#edf2db}#modal .close{color:#d7e4c7;border-color:#668671;background:#d5eeb30b;font-size:10px;min-height:44px;min-width:78px}#modal .close:hover{background:#ffffff0d;border-color:#a2c278;box-shadow:none}#modal .modal-body{padding:25px 28px 29px;max-height:calc(92svh - 95px)}#modal .lead-summary{border-color:#d3dfc9;padding:0 0 18px;color:#69805a;font-size:11px}#modal .form-grid{gap:0 22px}#modal .lead-primary-actions{position:sticky;bottom:-29px;background:#fffef8f5;backdrop-filter:blur(8px);padding:16px 0 19px;margin:22px 0 -8px;border-top:1px solid #c9d6bf;z-index:3}#modal .form-details,#modal .card-context{border:1px solid #c6d5b9;background:#f2f5e9;margin-top:18px;padding:0 17px}#modal .form-details>summary,#modal .card-context>summary{font-size:12px;color:#496a3d;min-height:53px;gap:13px}#modal .form-details[open],#modal .card-context[open]{padding-bottom:17px}#modal .card-context>summary:before{content:attr(data-section);font:500 8px Unbounded;color:#89a077;padding-right:12px;border-right:1px solid #bdcdb0}#modal .form-details>summary:after,#modal .card-context>summary:after{font-size:9px;color:#779167}#modal .owner-note{color:#657d58}#modal .mailbox-options{border-color:#bfceb2;background:#f4f7eb}#modal .mailbox-options label{font-size:12px}#modal .history{border-color:#b4c8a5}#modal .history time{color:#789168}#modal .history p{color:#46643b;font-size:12px}#modal .facts{background:#edf3df;border-color:#c5d6b4}#modal .error{font-size:12px;color:#ad4b3e}.v4-form-intro{border-bottom:1px solid #c5d4b9;padding:0 0 16px;margin-bottom:18px}.v4-form-intro>span{font-size:9px;letter-spacing:.13em;color:#6d8c57}.v4-form-intro>p{font-size:12px;color:#627b50;line-height:1.8;margin:8px 0 0}#toast{background:#153f35;color:#f2f5dc;border-color:#98bd7b;box-shadow:0 6px 25px #1b4e3433;font-size:12px}
.login-art{background:linear-gradient(140deg,#1c4b3d,#092b31)}.login-art h1 em{color:#d4ed86}.login-panel{background:#eef0e7}.login-panel .button{background:#d4ed86!important;color:#1b3e2f!important;box-shadow:4px 4px 0 #164431}.login-art:after{background:#bdd989}.login-panel h2{color:#193f32}.login-help a{color:#446e43}.v4-shell .content.is-changing{animation:v4-arrive .24s ease-out}@keyframes v4-arrive{from{opacity:.75;transform:translateY(3px)}to{opacity:1;transform:none}}
@media(min-width:1700px){.v4-shell .content{padding:34px 42px 48px}.v4-head{min-height:193px!important}.v4-head .v4-head-coordinator{right:8%;top:-30px;height:269px}.v4-shell .work-metric>strong{font-size:46px}.v4-shell .stage{flex-basis:310px}}
@media(max-width:1200px){.v4-shell{grid-template-columns:205px minmax(0,1fr)}.v4-shell .sidebar{width:205px;padding-left:12px;padding-right:12px}.v4-shell .brand strong{font-size:15px!important}.v4-shell .brand small{font-size:6px}.v4-shell .content{padding:23px}.v4-shell .topbar{padding:0 23px}.v4-head{padding:26px!important;min-height:168px!important}.v4-head h1{font-size:31px!important}.v4-head .head-copy{max-width:73%!important}.v4-head .v4-head-coordinator{height:225px;top:-24px;right:0;opacity:.85}.v4-brandline{display:none}.v4-shell .work-grid{gap:18px}.v4-shell .panel{padding:22px}.v4-shell .admin-grid{gap:18px}.v4-shell .work-metric{padding:20px}.v4-shell .admin-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.v4-shell .admin-metrics .work-metric:nth-child(2){border-right:0}.v4-shell .admin-metrics .work-metric:nth-child(-n+2){border-bottom:1px solid #bfdbb331}.v4-shell .intake-filters{grid-template-columns:minmax(150px,1fr) 195px auto}.v4-contact-search{grid-template-columns:minmax(170px,1fr)}.v4-contact-search>span{font-size:9px}}
@media(max-width:1000px){.v4-shell .work-grid,.v4-shell .admin-grid{grid-template-columns:1fr}.v4-shell .rates-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.v4-shell .rate-item:first-child{padding-left:17px}.v4-shell .rate-item:nth-child(-n+3){border-bottom:1px solid #bdcbb2}.v4-shell .topbar>.row{gap:19px}.v4-shell .user>span{max-width:135px;font-size:10px}.v4-shell .user small{font-size:9px}.v4-shell .intake-filters{grid-template-columns:minmax(150px,1fr) 170px}.v4-shell .intake-filters .button{grid-column:1/-1;justify-self:start;min-width:100px}}
@media(max-width:767px){.v4-shell{display:block}.v4-shell .sidebar{width:267px;padding:27px 19px 20px;gap:25px}.v4-shell .sidebar .brand strong{font-size:19px!important}.v4-shell .sidebar .brand small{font-size:8px}.v4-shell .sidebar .brand img{width:33px}.v4-shell .sidebar>.brand{padding-bottom:23px}.v4-shell .topbar{height:66px;padding:0 16px}.v4-shell .topbar>.row{gap:18px}.v4-shell .mobile-menu{background:#d8e9b7;border:1px solid #a5bc8d;color:#284a2c;min-height:44px;width:67px;min-width:67px;font-size:11px}.v4-shell .workspace-current,.v4-shell .workspace-shortcut{font-size:11px}.v4-shell .global-search-control{font-size:11px;min-height:44px;padding:9px 11px}.v4-shell .global-search-control kbd{display:none}.v4-shell .content{padding:18px 16px 28px}.v4-head{padding:22px!important;min-height:150px!important;margin-bottom:19px!important}.v4-head .head-copy{max-width:88%!important}.v4-head h1{font-size:28px!important;margin:15px 0 11px!important}.v4-head p{font-size:11px!important;line-height:1.7!important;max-width:100%!important}.v4-head .eyebrow{font-size:8px!important;gap:10px;letter-spacing:.08em}.v4-chapter-number{font-size:9px;padding-right:10px}.v4-head .v4-head-coordinator{height:190px;top:4px;right:-26px;opacity:.24}.v4-head .stage-art{width:48%;right:0;opacity:.34}.v4-head-rule{left:22px;width:calc(100% - 44px)}.v4-shell .workspace-heading{gap:9px;margin-bottom:16px}.v4-shell .desk-tabs{gap:16px}.v4-shell .desk-tabs button,.v4-shell .desk-tabs span{font-size:11px}.v4-shell .workspace-heading>.button{font-size:10px;min-height:44px;padding:10px 13px}.v4-shell .work-metrics{grid-template-columns:1fr;margin-bottom:20px}.v4-shell .work-metrics .work-metric{padding:17px 18px;grid-template-columns:minmax(0,1fr) auto;gap:6px 16px;border-right:0;border-bottom:1px solid #bfdbb331;min-height:90px}.v4-shell .work-metrics .work-metric:last-child{border-bottom:0}.v4-shell .work-metrics .work-metric>span{font-size:12px}.v4-shell .work-metrics .work-metric>strong{grid-column:2;grid-row:1/3;font-size:33px}.v4-shell .work-metrics .work-metric>small{font-size:11px}.v4-shell .panel{padding:21px 18px}.v4-shell .panel h2{font-size:18px}.v4-shell .panel-head{padding-bottom:9px;margin-bottom:13px;gap:9px}.v4-shell .work-grid,.v4-shell .admin-grid{gap:18px}.v4-shell .work-item-copy strong{font-size:13px}.v4-shell .work-item-copy>span{font-size:11px}.v4-shell .work-item-meta{max-width:103px}.v4-shell .work-item-meta>b{font-size:10px}.v4-shell .work-item-meta>small{font-size:9px}.v4-shell .work-item{gap:12px!important;padding:16px 0!important}.v4-shell .text-control{font-size:10px}.v4-shell .v3-empty{min-height:138px;padding:25px 9px!important}.v4-shell .v3-empty h3{font-size:15px}.v4-shell .v3-empty p{font-size:12px}.v4-shell .admin-metrics{margin-bottom:20px}.v4-shell .admin-metrics .work-metric{padding:18px 15px;gap:11px}.v4-shell .admin-metrics .work-metric>span{font-size:11px;line-height:1.5}.v4-shell .admin-metrics .work-metric>strong{font-size:31px}.v4-shell .admin-metrics .work-metric>small{font-size:10px;line-height:1.6}.v4-shell .period-switch button{padding:10px 13px;min-height:44px;font-size:10px}.v4-shell .rates-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v4-shell .rate-item,.v4-shell .rate-item:first-child{padding:15px 11px;border-color:#bdcbb2!important}.v4-shell .rate-item>strong{font-size:22px}.v4-shell .rate-item>small{font-size:10px}.v4-shell .market-card .panel-head>span{font-size:10px}.v4-shell .market-note,.v4-shell .metric-source{font-size:10px}.v4-shell .work-secondary{gap:5px 22px;margin-top:18px}.v4-shell .deal-toolbar{grid-template-columns:1fr;gap:10px}.v4-shell input,.v4-shell select,.v4-shell textarea,#modal input,#modal select,#modal textarea{font-size:16px;min-height:48px}.v4-stage-nav{margin-bottom:16px;grid-auto-columns:156px}.v4-stage-nav button{min-height:64px;font-size:10px;padding:11px 12px;gap:8px;grid-template-columns:17px minmax(0,1fr) auto}.v4-shell .stage{flex-basis:calc(100vw - 55px);min-width:calc(100vw - 55px);max-width:360px;padding-left:12px;padding-right:12px}.v4-shell .kanban{gap:13px;min-height:0}.v4-shell .stage>header{min-height:66px}.v4-shell .stage>header strong{font-size:12px;max-width:195px}.v4-shell .stage>header span{font-size:19px}.v4-shell .intake-grid{grid-template-columns:1fr;gap:17px}.v4-shell .intake-filters{grid-template-columns:1fr;padding:12px;gap:10px}.v4-shell .intake-filters .button{grid-column:auto;width:100%;font-size:12px}.v4-shell .lead-card h3 .v4-card-open{font-size:15px}.v4-shell .lead-card p.v4-card-need{font-size:12px}.v4-shell .lead-card footer{font-size:10px}.v4-contact-search{grid-template-columns:1fr;flex-basis:100%;max-width:none;width:100%;gap:7px}.v4-contact-search>span{font-size:10px}.v4-shell .data-table{border:0;background:transparent;box-shadow:none}.v4-shell .data-table tr{padding:20px;border:1px solid #becfb0;background:#fffef8;margin-bottom:14px}.v4-shell .data-table td{padding:5px 0;border:0;font-size:12px}.v4-shell .data-table td:first-child{font-size:16px}.v4-shell .data-table td:last-child{padding-top:15px}.v4-shell .data-table .button{width:100%;font-size:11px}.v4-shell .user-card{padding:22px 20px}.v4-shell .user-card h2{font-size:18px}.v4-shell .user-card .button{font-size:11px}.v4-shell .preferences-grid,.v4-shell .settings-grid{grid-template-columns:1fr;gap:18px}.v4-shell .sources{grid-column:auto}.v4-shell .mail-preview{padding:21px 18px}.v4-shell .mail-preview h2{font-size:21px}.v4-shell .mail-row{padding:18px}.v4-shell .mail-body{font-size:13px}.v4-shell .tabs button{font-size:10px;padding:11px 13px}#modal{max-width:calc(100vw - 18px);max-height:94svh}#modal .modal-header{padding:18px 16px;gap:14px;align-items:start}#modal .modal-header h2{font-size:16px;line-height:1.6}#modal .close{min-width:66px;font-size:10px;padding:8px 9px}#modal .modal-body{padding:20px 18px 24px;max-height:calc(94svh - 88px)}#modal .form-grid{grid-template-columns:1fr;gap:0}#modal .lead-primary-actions{bottom:-24px;flex-direction:column;gap:9px;padding:15px 0 18px}#modal .lead-primary-actions .button{width:100%;flex:0 0 auto;min-height:46px}#modal .card-context,#modal .form-details{padding-left:12px;padding-right:12px}#modal .card-context>summary,#modal .form-details>summary{font-size:11px;min-height:53px;gap:9px}#modal .card-context>summary:before{padding-right:9px}#modal .form-details>summary:after,#modal .card-context>summary:after{font-size:8px}#modal .mailbox-options{padding:10px}#modal .mailbox-options label{font-size:11px}#modal .mailbox-options input{min-height:20px}.v4-form-intro>p{font-size:11px}}
@media(max-width:350px){.v4-shell .topbar{padding:0 12px}.v4-shell .topbar>.row{gap:12px}.v4-shell .mobile-menu{width:60px;min-width:60px}.v4-shell .global-search-control{padding:9px 10px!important;font-size:10px!important}.v4-shell .content{padding:15px 12px 24px}.v4-head{padding:19px!important;min-height:150px!important}.v4-head h1{font-size:25px!important}.v4-head .head-copy{max-width:94%!important}.v4-head .eyebrow{font-size:7px!important}.v4-head .v4-head-coordinator{right:-40px;opacity:.15}.v4-head-rule{left:19px;width:calc(100% - 38px)}.v4-shell .workspace-heading>.button{padding:10px;font-size:10px}.v4-shell .desk-tabs{gap:12px}.v4-shell .desk-tabs button,.v4-shell .desk-tabs span{font-size:10px}.v4-shell .panel{padding:19px 15px}.v4-shell .panel h2{font-size:17px}.v4-shell .work-metrics .work-metric{padding:16px}.v4-shell .work-item-meta{max-width:92px}.v4-shell .stage{min-width:calc(100vw - 46px);flex-basis:calc(100vw - 46px)}.v4-shell .rate-item>strong{font-size:20px}.v4-shell .admin-metrics .work-metric>strong{font-size:28px}}
@media(prefers-reduced-motion:reduce){.v4-shell .content.is-changing{animation:none!important}.v4-shell *,#modal *{scroll-behavior:auto!important}.v4-shell .button:before,#modal .button:before{display:none!important}.v4-shell .button,.v4-shell .nav-link{transition:none!important}}
.motion-paused .v4-shell .content.is-changing{animation:none!important}.motion-paused .v4-shell .button:before,.motion-paused #modal .button:before{display:none!important}
/* The portrait stays complete inside the chapter, including its face and hands. */
.v4-head .stage-art{width:43%;opacity:.27;mask-image:linear-gradient(90deg,transparent,#000 60%)}
.v4-head .stage-art img,.v4-head .stage-art video{object-fit:cover;object-position:center}
.v4-head .v4-head-coordinator{height:calc(100% - 18px);width:145px;top:9px;right:5%;object-fit:contain;transform:none;opacity:1}
.v4-shell .text-control,.v4-shell .desk-tabs button,.v4-shell .desk-tabs span,.v4-shell .work-secondary a,.v4-shell .work-secondary button,.v4-shell .secondary-menu .nav-link,.v4-shell .more-navigation .nav-link,.v4-shell .workspace-heading>.button,.v4-shell .period-switch button,.v4-shell .intake-card-actions .button,.v4-shell .data-table td .button,.v4-shell .user-card .button{font-size:12px}
.v4-shell .workspace-mail small,.v4-shell .more-navigation>summary,.v4-shell .logout-quiet,.v4-shell .work-item-meta>small,.v4-shell .rate-item>small,.v4-card-label,.v4-next-step>span,.v4-card-date,.v4-contact-search>span,.v4-stage-order,.v4-shell .daily-bar small,.v4-shell .sources p,.v4-shell .sources a{font-size:10px}
.v4-shell .upcoming summary,.v4-stage-nav button,.v4-shell .stage-empty{font-size:12px}
@media(max-width:767px){.v4-head .v4-head-coordinator{height:calc(100% - 20px);width:95px;top:10px;right:-5px;opacity:.25}.v4-head .stage-art{width:47%;opacity:.2}.v4-shell .desk-tabs{gap:13px}.v4-shell .desk-tabs button,.v4-shell .desk-tabs span{font-size:11px}.v4-shell .workspace-heading>.button{font-size:11px}.v4-shell .period-switch button{font-size:11px}.v4-shell .text-control{font-size:11px}.v4-stage-nav button{font-size:11px}}
@media(max-width:350px){.v4-head .v4-head-coordinator{right:-12px;opacity:.17}.v4-shell .desk-tabs{gap:10px}.v4-shell .workspace-heading>.button{font-size:10px}.v4-shell .desk-tabs button,.v4-shell .desk-tabs span{font-size:10px}.v4-shell .work-secondary a,.v4-shell .work-secondary button{font-size:11px}}
