:root{--navy:#0A3C64;--ink:#103B5A;--blue:#1878C0;--cyan:#60C0E0;--muted:#688094;--line:#E4ECF2;--bg:#F4F7FB;--green:#137B61;--red:#BE4044;--amber:#996411;--radius:16px;--shadow:0 3px 18px #173C5A05;font-family:Inter,Arial,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}a{color:var(--blue);text-decoration:none}button:disabled{cursor:wait;opacity:.6}button:focus-visible,a:focus-visible{outline:3px solid var(--cyan);outline-offset:3px}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:30px;letter-spacing:-1px;font-weight:750}h2{font-size:18px;letter-spacing:-.35px}h3{font-size:14px}small{font-size:12px;color:var(--muted)}.boot{min-height:100vh;display:grid;place-content:center;text-align:center;gap:18px}.boot img{width:64px;margin:auto}.boot strong{font-size:26px}.boot span{color:var(--muted)}.shell{display:grid;grid-template-columns:242px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--navy);color:#ABCADB;padding:32px 19px 18px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;overflow-y:auto}.brand{display:flex;align-items:center;gap:11px;color:white;padding:0 10px 28px}.brand img{width:42px;height:42px}.brand b{font-size:22px;letter-spacing:-.7px}.brand small{display:block;color:#90B9CF;font-size:11px;letter-spacing:2px;text-transform:uppercase;margin-top:3px}.nav-label{text-transform:uppercase;font-size:10px;letter-spacing:1.6px;color:#749EB7;padding:22px 14px 8px;font-weight:bold}.nav-item{width:100%;display:flex;align-items:center;gap:13px;color:#BED6E4;background:transparent;border:0;border-radius:10px;padding:12px 14px;margin:3px 0;text-align:left;font-weight:550;font-size:13px}.nav-item:hover{background:#FFFFFF0A;color:white}.nav-item.active{background:#1878C0;color:white;box-shadow:0 4px 12px #062A4938}.nav-item .count{margin-left:auto;background:#ffffff20;border-radius:6px;padding:2px 7px;font-size:10px}.side-bottom{margin-top:auto;padding-top:25px}.app-link{display:flex;align-items:center;gap:10px;padding:14px;border:1px solid #709BBB40;border-radius:12px;color:#D9EEF7;font-size:12px}.status-dot{width:6px;height:6px;background:var(--cyan);border-radius:50%;box-shadow:0 0 0 4px #60C0E015;flex-shrink:0}.profile{display:flex;align-items:center;gap:10px;border-top:1px solid #ffffff12;margin:24px 8px 0;padding-top:20px}.avatar{display:grid;place-items:center;width:34px;height:34px;background:#DCEEF8;border-radius:10px;color:var(--blue);font-size:12px;font-weight:bold}.profile small{color:#8AAEC4}.workspace{min-width:0}.topbar{height:80px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 34px;background:#fff;gap:20px}.search{display:flex;align-items:center;gap:10px;color:#9AAAB6;max-width:430px;flex:1}.search input{border:0;background:transparent;outline:0;width:100%;font-size:12px;color:var(--ink)}.top-actions{display:flex;gap:17px;align-items:center;white-space:nowrap}.tag{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:6px;font-size:10px;font-weight:650;letter-spacing:.25px;background:#EAF4FC;color:var(--blue)}.tag.green{background:#E6F4EF;color:var(--green)}.tag.amber{background:#FFF4DB;color:var(--amber)}.tag.red{background:#FCECEF;color:var(--red)}.tag.gray{background:#EFF3F7;color:#698094}.page{padding:31px 34px 40px;max-width:1700px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px}.eyebrow{color:var(--muted);font-size:11px;letter-spacing:1.2px;text-transform:uppercase;font-weight:650;margin-bottom:8px}.subtitle{color:var(--muted);font-size:12px;line-height:1.7;margin-top:9px}.actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.btn{border:1px solid var(--line);background:white;color:var(--ink);padding:10px 14px;border-radius:9px;font-size:12px;font-weight:650;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:39px;white-space:nowrap}.btn svg{width:15px;height:15px}.btn.primary{background:var(--blue);color:white;border-color:var(--blue);box-shadow:0 3px 6px #1878C015}.btn.danger{color:var(--red);border-color:#F0CFD5}.btn:hover{filter:brightness(.97)}.btn.ghost{background:transparent;border-color:transparent;color:var(--muted)}.hero{border-radius:var(--radius);background:linear-gradient(110deg,#0A3C64,#126199);padding:28px 30px;display:flex;justify-content:space-between;gap:25px;position:relative;overflow:hidden;color:white;margin-bottom:24px}.hero:after{content:'';position:absolute;right:85px;top:-120px;width:340px;height:340px;border:50px solid #60C0E009;border-radius:50%;pointer-events:none}.hero h2{font-size:23px;letter-spacing:-.5px;margin:9px 0}.hero p{font-size:12px;line-height:1.7;max-width:490px;color:#A8CFE6}.hero .eyebrow{color:var(--cyan);margin:0}.hero .btn{background:#60C0E0;color:var(--navy);border:0;align-self:center;position:relative;z-index:1}.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);min-width:0}.kpi{padding:21px 22px}.kpi-top{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:12px}.kpi-icon{width:32px;height:32px;background:#EDF6FC;border-radius:9px;display:grid;place-items:center;color:var(--blue)}.kpi-icon svg{width:17px;height:17px}.kpi-value{font-size:28px;font-weight:700;letter-spacing:-1px;margin:15px 0 12px;white-space:nowrap}.kpi-bottom{font-size:11px;display:flex;align-items:center;gap:8px;color:var(--muted)}.grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr);gap:22px;margin-bottom:22px}.grid.equal{grid-template-columns:repeat(2,minmax(0,1fr))}.card-head{padding:23px 24px 17px;display:flex;justify-content:space-between;align-items:center;gap:15px}.card-head small{display:block;margin-top:7px;line-height:1.5}.card-body{padding:5px 24px 24px}.chart{height:210px;display:flex;align-items:flex-end;justify-content:space-between;gap:15px;padding:18px 8px 0;border-bottom:1px solid var(--line);background:repeating-linear-gradient(to bottom,transparent 0,transparent 51px,#EDF2F6 51px,#EDF2F6 52px)}.bar-pair{display:flex;align-items:flex-end;gap:4px;height:100%;flex:1;position:relative;padding-bottom:29px;justify-content:center}.bar{width:14px;border-radius:4px 4px 0 0;background:var(--blue);min-height:2px}.bar.light{background:#9EDDF0}.bar-pair small{position:absolute;bottom:5px;left:0;right:0;text-align:center;font-size:10px}.legend{display:flex;gap:18px;align-items:center;font-size:10px;color:var(--muted);margin-top:19px}.legend i{width:7px;height:7px;display:inline-block;border-radius:2px;background:var(--blue);margin-right:6px}.legend i.light{background:#9EDDF0}.row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0;border-bottom:1px solid #EFF3F7}.row:last-child{border-bottom:0}.row-title{font-size:12px;font-weight:650}.row small{display:block;font-size:11px;margin-top:5px;line-height:1.5}.row-main{display:flex;gap:12px;align-items:center;min-width:0}.circle{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:#EDF6FC;color:var(--blue);flex-shrink:0}.circle svg{width:16px;height:16px}.amount{font-size:13px;font-weight:650;white-space:nowrap}.table-wrap{overflow:auto}.table{border-collapse:collapse;width:100%;white-space:nowrap;text-align:left}.table th{font-size:10px;font-weight:650;text-transform:uppercase;letter-spacing:.7px;color:#8296A7;background:#FAFCFE;padding:13px 24px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.table td{padding:17px 24px;border-bottom:1px solid #EDF2F6;font-size:12px}.table td strong{font-size:12px}.table td small{display:block;margin-top:5px;font-size:10px}.table tbody tr:last-child td{border-bottom:0}.table tbody tr:hover{background:#FBFDFF}.table .actions .btn{font-size:10px;padding:6px 8px;min-height:31px}.table-footer{padding:15px 24px;font-size:11px;color:var(--muted);display:flex;justify-content:space-between;border-top:1px solid var(--line)}.filters{display:flex;gap:10px;margin-bottom:20px;align-items:center;flex-wrap:wrap}.filters input,.filters select{padding:10px 12px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);font-size:12px;min-height:40px}.empty{padding:38px 24px;text-align:center;color:var(--muted);line-height:1.8;font-size:12px}.empty>svg{width:34px;height:34px;color:#9BBCCC;display:block;margin:0 auto 14px}.empty strong{display:block;color:var(--ink);font-size:14px;margin:0 0 7px}.empty p{overflow-wrap:anywhere}.empty .btn{margin:15px auto 0;display:flex;width:fit-content;max-width:100%;white-space:normal}.pipeline{display:grid;grid-template-columns:repeat(5,minmax(190px,1fr));gap:15px;overflow-x:auto}.lane{background:#ECF1F6;border:1px solid #E3EBF1;border-radius:13px;padding:15px;min-height:380px}.lane-title{font-weight:650;font-size:12px;display:flex;align-items:center;justify-content:space-between;margin-bottom:7px}.lane small{font-size:10px}.lead-card{background:white;padding:17px;border:1px solid #E0EAF1;border-radius:12px;margin-top:15px;box-shadow:0 3px 9px #1C425807}.lead-card h3{font-size:12px;line-height:1.6}.lead-card p{font-size:11px;color:var(--muted);margin:7px 0 14px}.lead-card .amount{font-size:17px;margin-bottom:15px}.lead-card footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:12px;gap:8px;align-items:center}.lead-card select{border:0;max-width:100%;color:var(--blue);font-size:10px;background:transparent}.notice{padding:16px 20px;border:1px solid #CAE4F5;background:#EBF6FD;color:#225B7E;border-radius:12px;font-size:12px;line-height:1.8;margin-bottom:22px}.notice.warn{border-color:#EFDCAE;background:#FFF9EB;color:#8B650C}.notice.error{background:#FFF1F3;border-color:#F3CDD3;color:var(--red)}.health{display:flex;align-items:center;gap:8px;font-size:11px}.progress{height:5px;border-radius:6px;background:#EAF0F5;overflow:hidden;margin:11px 0}.progress span{display:block;height:100%;background:var(--cyan);border-radius:6px}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.step{padding:23px;border:1px solid var(--line);border-radius:12px;background:white}.step .number{font-size:11px;width:25px;height:25px;background:#ECF5FC;border-radius:8px;display:grid;place-items:center;color:var(--blue);margin-bottom:15px}.step p{font-size:11px;line-height:1.8;color:var(--muted);margin-top:8px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.settings-section{padding:25px}.settings-section h2{margin-bottom:20px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:16px;min-width:0}.field label{font-size:11px;font-weight:650;color:#5B7285}.field input,.field select,.field textarea{padding:11px 12px;background:#fff;border:1px solid #D7E2EB;border-radius:8px;width:100%;outline:0;color:var(--ink);min-height:41px;font-size:13px}.field textarea{resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px #1878C010}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.full{grid-column:1/-1}.form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.login{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr}.login-brand{background:linear-gradient(145deg,#0A3C64,#126AA4);padding:60px;color:white;display:flex;flex-direction:column;justify-content:space-between}.login-brand .brand{padding:0}.login-brand h1{font-size:48px;letter-spacing:-2px;max-width:500px;line-height:1.15;margin-bottom:22px}.login-brand p{color:#A8CBDF;line-height:1.9;max-width:400px}.login-form{display:grid;place-items:center;background:#fff;padding:40px}.login-form form{width:100%;max-width:350px}.login-form h2{font-size:26px;margin-bottom:12px}.login-form .subtitle{margin-bottom:30px}.login-form .btn{width:100%;margin-top:5px}.calendar{display:grid;grid-template-columns:repeat(7,minmax(100px,1fr));border:1px solid var(--line);border-radius:12px;overflow:hidden}.day{padding:12px;min-height:130px;background:white;border-right:1px solid var(--line);border-bottom:1px solid var(--line);font-size:11px}.day.today{background:#F0F9FE}.day-number{font-weight:650;color:#70899B;margin-bottom:12px}.calendar-job{padding:8px;background:#EBF5FE;border-left:2px solid var(--blue);border-radius:4px;font-size:10px;line-height:1.5;margin-bottom:6px;color:var(--ink);cursor:pointer}.report-number{font-size:38px;font-weight:700;letter-spacing:-1.5px;margin:18px 0}.metric-row{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}.connection{padding:23px;display:flex;gap:16px;align-items:flex-start}.connection .circle{width:44px;height:44px}.connection p{font-size:11px;line-height:1.8;color:var(--muted);margin:7px 0 12px}.connection .tag{margin-top:10px}dialog{border:0;border-radius:18px;padding:0;width:660px;max-width:calc(100vw - 28px);box-shadow:0 28px 100px #0A3C6433;color:var(--ink);max-height:90vh}dialog::backdrop{background:#052F4D65;backdrop-filter:blur(3px)}.modal-head{padding:24px 26px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.modal-head h2{font-size:20px}.modal-content{padding:24px 26px}.line-editor{border:1px solid var(--line);border-radius:10px;padding:12px;margin-bottom:12px;display:grid;grid-template-columns:2fr .7fr 1fr .7fr 35px;gap:8px}.line-editor input,.line-editor select{width:100%;padding:8px;border:1px solid var(--line);border-radius:6px;min-width:0;font-size:11px}.line-editor label{font-size:10px;color:var(--muted);display:block;margin-bottom:7px}.doc-totals{margin-top:20px;background:var(--bg);padding:18px;border-radius:12px;display:grid;gap:12px;font-size:12px}.doc-totals div{display:flex;justify-content:space-between}.doc-totals div:last-child{border-top:1px solid var(--line);padding-top:12px;font-weight:bold;font-size:15px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 30px);border-radius:10px;box-shadow:0 6px 22px #0A3C6420;padding:14px 20px;background:var(--navy);color:white;font-size:12px;display:none;z-index:100}#toast.show{display:block}#toast.error{background:#9F343B}.mobile-menu{display:none}.file-input{display:none}.footer-note{font-size:10px;color:#9AACBA;text-align:center;margin-top:30px}.split{display:flex;gap:20px;align-items:center}.hide{display:none}.right{text-align:right}.mono{font-variant-numeric:tabular-nums}.chart-empty{font-size:11px;color:var(--muted);padding:20px 0 0}.skeleton{background:linear-gradient(90deg,#F0F4F8,#E5EDF3,#F0F4F8);background-size:200% 100%;animation:pulse 2s infinite;border-radius:8px;height:30px}.quick-links{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.quick-links .btn{padding:15px}#modal .notice{margin-bottom:15px}.error-message{color:var(--red);font-size:12px;margin:14px 0}.public-data .metric-row small{display:block}.public-data a{font-size:11px}@keyframes pulse{to{background-position:-200% 0}}@media(min-width:1600px){.page{padding:40px 48px}.topbar{padding:0 48px}.kpi-value{font-size:32px}}@media(max-width:1200px){.shell{grid-template-columns:210px minmax(0,1fr)}.sidebar{padding:25px 12px}.page{padding:26px 23px}.topbar{padding:0 23px}.kpis{gap:12px}.kpi{padding:18px}.kpi-value{font-size:24px}.grid{grid-template-columns:1fr 1fr}.table th,.table td{padding:14px 18px}}@media(max-width:960px){.grid,.grid.equal{grid-template-columns:1fr}.steps{grid-template-columns:1fr 1fr}.settings-grid{grid-template-columns:1fr}.kpis{grid-template-columns:repeat(2,1fr)}.quick-links{grid-template-columns:repeat(2,1fr)}.hero h2{font-size:21px}.calendar{overflow:auto}.top-actions .today-text{display:none}}@media(max-width:700px){.shell{display:block}.sidebar{display:none;position:fixed;z-index:20;width:242px}.sidebar.open{display:flex;box-shadow:30px 0 70px #0A3C6440}.mobile-menu{display:grid;border:0;background:transparent;color:var(--ink);padding:6px}.topbar{height:65px;padding:0 18px;gap:12px}.page{padding:23px 17px}.top-actions{gap:9px}.top-actions .btn{display:none}.search input{font-size:11px}.page-head{align-items:flex-start;gap:12px}.page-head>.actions{justify-content:flex-end}h1{font-size:25px}.page-head .btn{padding:9px 11px}.hero{padding:23px;flex-direction:column;gap:18px}.hero .btn{align-self:flex-start}.hero p{font-size:11px}.kpis{gap:11px}.kpi{padding:17px 14px}.kpi-value{font-size:23px}.kpi-top{font-size:11px}.kpi-icon{width:27px;height:27px}.kpi-bottom{font-size:10px}.card-head{padding:20px}.card-body{padding:0 20px 20px}.steps{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.login{display:block}.login-brand{display:none}.login-form{min-height:100vh;padding:28px}.line-editor{grid-template-columns:1fr 1fr}.line-editor>:first-child{grid-column:1/-1}.calendar{grid-template-columns:repeat(7,115px)}.modal-content{padding:20px}.chart{gap:7px}.bar{width:10px}.report-number{font-size:30px}.table-footer{font-size:10px}.top-actions .tag{font-size:9px}.page-head{flex-wrap:wrap}.page-head>.actions{justify-content:flex-start}}@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}

.avatar{flex-shrink:0}.profile>div{min-width:0;flex:1}.profile strong,.profile small{display:block}.profile .btn{padding:6px;min-width:28px}.row-main>div{min-width:0}.row-title{overflow-wrap:anywhere}.card-head>div{min-width:0}.kpi-bottom{flex-wrap:wrap}.kpi-bottom .tag{white-space:nowrap}
.account-menu{position:relative}.account-trigger{cursor:pointer;border:1px solid transparent;font:inherit;min-width:44px;min-height:44px;padding:0;list-style:none;overflow:hidden}.account-trigger::-webkit-details-marker{display:none}.account-trigger:focus-visible{outline:3px solid var(--blue);outline-offset:3px}.avatar-image{width:100%;height:100%;object-fit:cover;border-radius:inherit}.account-popover{position:absolute;right:0;top:calc(100% + 10px);z-index:35;width:min(260px,calc(100vw - 32px));padding:16px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 14px 44px #0A3C6426;color:var(--ink)}.account-popover>strong,.account-popover>small{display:block;overflow-wrap:anywhere}.account-popover>small{font-size:11px;color:var(--muted);margin:5px 0 12px}.top-actions .account-popover .btn{display:flex;justify-content:flex-start;width:100%;min-height:44px;margin:7px 0}.profile-editor{display:flex;align-items:center;gap:18px;margin-bottom:20px}.profile-picture{width:72px;height:72px;overflow:hidden;font-size:22px}.profile-editor>div{min-width:0}.profile .account-trigger{color:var(--blue);background:#DBF0FA}.profile [data-account-name]{overflow-wrap:anywhere}
.meta-history{margin-top:30px}.meta-history>.card,.developer-detail>.card{margin-bottom:22px}.meta-history-values{padding:20px}.meta-history-values>summary{min-height:44px;display:flex;align-items:center}
.meta-chart{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:12px 10px;width:100%;min-width:0}.meta-chart-scale{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end;max-width:90px;text-align:right}.meta-chart-label{font-size:12px;line-height:1.4;color:var(--muted);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.meta-chart-plot{display:block;width:100%;height:145px;stroke:none}.meta-chart-dates{grid-column:2;display:flex;justify-content:space-between;gap:8px}.meta-chart-dates>:last-child{text-align:right}.meta-chart-bar{fill:var(--blue)}.meta-chart-bar.light{fill:var(--sky,#58BDD9)}.meta-chart-axis,.meta-chart-grid{stroke:var(--line);stroke-width:1;vector-effect:non-scaling-stroke}
.developer-config{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:20px 0}.developer-config dt{font-size:11px;color:var(--muted);margin-bottom:5px}.developer-config dd{font-size:13px;overflow-wrap:anywhere}.developer-check{display:flex;align-items:center;gap:10px;min-height:44px;font-size:12px}.developer-check input{width:18px;height:18px;flex-shrink:0}.log-detail{font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere}.developer-detail,.developer-detail+.card{margin-top:24px}.developer-detail .table td{max-width:300px}.developer-detail .table small{overflow-wrap:anywhere}.page>.card+#developer-period{margin-top:24px}@media(max-width:420px){.developer-config{grid-template-columns:1fr}.profile-editor{align-items:flex-start;gap:12px}}

.marketing-filter{margin-bottom:24px}.marketing-filter-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 16px;align-items:end}.marketing-filter-fields .btn{margin-bottom:18px;min-height:44px}.marketing-filter-fields input,.marketing-filter-fields select{min-width:0;width:100%}.marketing-connection{padding:22px 24px;margin-bottom:24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.marketing-connection h2{font-size:17px;margin-bottom:7px}.marketing-connection p{font-size:12px;line-height:1.8;color:var(--muted);max-width:680px}.marketing-connection .row-main{align-items:flex-start;min-width:0}.marketing-connection .tag{flex-shrink:0}.marketing-scope strong{display:block}.marketing-scope p{margin-top:6px}.marketing-kpis .kpi-value{font-size:clamp(17px,1.8vw,26px);white-space:normal;overflow-wrap:anywhere;line-height:1.3}.marketing-kpis .kpi-bottom{line-height:1.7}.marketing-metric{display:flex;justify-content:space-between;gap:20px;padding:13px 0;border-bottom:1px solid var(--line);font-size:12px;line-height:1.7}.marketing-metric strong{text-align:right;flex-shrink:0;max-width:48%;overflow-wrap:anywhere}.marketing-bottom{margin-top:24px;margin-bottom:24px}.form-section-title{margin:20px 0 12px;font-size:16px}.csv-example{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;background:#F4F7FB;padding:14px;border-radius:9px}
@media(max-width:960px){.marketing-filter-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.marketing-connection{align-items:flex-start;flex-wrap:wrap}.marketing-connection .tag{margin-left:52px}}
@media(max-width:420px){.marketing-filter-fields{grid-template-columns:1fr}.marketing-kpis{grid-template-columns:1fr}.marketing-kpis .kpi-value{font-size:25px}.marketing-connection{padding:20px}.marketing-connection .row-main{gap:10px}.marketing-connection .tag{margin-left:0}.marketing-metric{gap:12px}.marketing-metric strong{max-width:45%;flex-shrink:1}.page-head .actions .btn{max-width:100%;white-space:normal}}

.marketing-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin:12px 0 18px}.marketing-section-head h2{font-size:20px;margin-bottom:6px}.marketing-section-head p{color:var(--muted);font-size:12px;line-height:1.8}.marketing-section-head .tag{flex-shrink:0}.marketing-report-note{margin-bottom:18px}.marketing-results{margin-top:30px}.marketing-presets{flex-wrap:wrap}.marketing-presets .btn{padding:8px 12px}.marketing-filter .card-head{flex-wrap:wrap;gap:14px}.marketing-details{margin-top:16px}.marketing-details summary{cursor:pointer;font-size:12px;font-weight:600;line-height:1.8;color:var(--navy)}.marketing-details[open] summary{margin-bottom:12px}.marketing-quality{padding-top:20px}.marketing-quality>summary{padding:0 24px 18px}.marketing-quality .card-body{padding-top:0}
@media(max-width:640px){.marketing-section-head{flex-wrap:wrap}.marketing-section-head h2{font-size:18px}.marketing-presets{gap:7px}.marketing-presets .btn{font-size:11px;padding:8px 10px}}

.footer-note a{color:inherit;text-decoration:none}.footer-note a:hover,.footer-note a:focus-visible{text-decoration:underline}.search-area{position:relative;min-width:0;flex:1;max-width:600px}.search-area .search{max-width:none;width:100%}.search-area .search input{width:100%;min-width:0}.search-results{position:absolute;z-index:30;top:calc(100% + 18px);left:0;width:min(600px,calc(100vw - 44px));max-height:min(560px,75vh);overflow:auto;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 14px 44px #0A3C6426}.search-results[hidden]{display:none}.search-results-head{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-bottom:1px solid var(--line);font-size:13px}.search-result{display:grid;grid-template-columns:95px minmax(0,1fr);width:100%;padding:13px 16px;border:0;border-bottom:1px solid var(--line);text-align:left;background:#fff;font:inherit;cursor:pointer;gap:4px 12px;align-items:center}.search-result:hover,.search-result:focus-visible{background:#F1F8FC;outline:2px solid var(--blue);outline-offset:-2px}.search-result-kind{grid-row:1/3;color:var(--muted);font-size:10px}.search-result strong{font-size:12px;font-weight:600;overflow-wrap:anywhere}.search-result small{font-size:10px;color:var(--muted);overflow-wrap:anywhere}.search-empty{padding:20px;font-size:12px;color:var(--muted);line-height:1.8}.search-results-foot{display:block;padding:12px 16px;color:var(--muted);font-size:10px}.customer-profile>.btn{margin-bottom:18px}.customer-section{margin:24px 0}.customer-contact{display:grid;gap:16px}.customer-contact-row small,.customer-note small{display:block;color:var(--muted);font-size:10px;margin-bottom:6px}.customer-contact-row a,.customer-contact-row span{font-size:12px;line-height:1.7;color:var(--navy);overflow-wrap:anywhere}.customer-note p{font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.customer-history{padding:20px 0}.customer-history>summary{cursor:pointer;font-size:12px;font-weight:600;padding:0 24px 16px;line-height:1.8}.customer-event{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid var(--line)}.customer-event>div{min-width:0}.customer-event small{font-size:10px;color:var(--muted);display:block;margin-bottom:5px}.customer-event strong{font-size:12px;display:block}.customer-event p{font-size:11px;color:var(--muted);line-height:1.7;margin-top:5px;overflow-wrap:anywhere}.customer-kpis .kpi-value{font-size:clamp(18px,2vw,27px);white-space:normal;overflow-wrap:anywhere}.customer-profile .page-head h1{overflow-wrap:anywhere}.customer-profile .actions{flex-wrap:wrap}
@media(max-width:640px){.search-results{position:fixed;top:65px;left:16px;width:calc(100vw - 32px);max-height:calc(100dvh - 85px)}.search-result{grid-template-columns:75px minmax(0,1fr);gap:4px 9px}.customer-kpis{grid-template-columns:1fr 1fr}.customer-event{gap:10px}.customer-event .btn{padding:8px 10px}.customer-history>summary{padding-left:20px;padding-right:20px}}
@media(max-width:380px){.customer-kpis{grid-template-columns:1fr}.search-results{left:12px;width:calc(100vw - 24px)}.search-result{padding:12px}.customer-profile .page-head .actions .btn{white-space:normal;max-width:100%}}
.chart .bar.negative { background-image: repeating-linear-gradient(135deg, transparent 0 5px, rgba(255,255,255,.7) 5px 8px); }
.follow-up-note{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:0 0 13px;line-height:1.5}.follow-up-note .tag{white-space:normal}.table .follow-up-note{margin:0}.lane-empty{padding:24px 5px;color:var(--muted);font-size:11px;line-height:1.7}.lead-card footer{flex-wrap:wrap}.lead-card h3,.lead-card p{overflow-wrap:anywhere}#follow-up-filter{max-width:100%}
.follow-up-empty .btn{display:flex;width:fit-content}.follow-up-empty .btn svg{width:15px;height:15px;margin:0}
.invoice-search{display:flex;align-items:center;gap:8px;flex:1;min-width:0;max-width:480px}.invoice-search svg{flex:0 0 16px;color:var(--muted)}.invoice-search input{min-width:0;width:100%}.invoice-result-count{margin-bottom:18px}.invoice-filters select{max-width:100%}@media(max-width:640px){.invoice-search{flex-basis:100%;max-width:none}.invoice-filters select{flex:1;min-width:0}}

.sidebar-head{display:flex;align-items:flex-start;gap:6px}.sidebar-head .brand{flex:1;min-width:0}.sidebar-close,.menu-backdrop{display:none}
html.menu-open{overflow:hidden}body.menu-open{position:fixed;top:var(--menu-scroll-top);width:100%;overflow:hidden}
.form-actions{flex-wrap:wrap}.form-actions>.btn{max-width:100%;white-space:normal}
.dialog-discard[hidden],[data-save-status][hidden]{display:none}.dialog-discard p{margin:7px 0 12px}.dialog-discard .btn{min-height:44px;max-width:100%;white-space:normal}.dialog-discard .actions{align-items:stretch}
.modal-head{position:sticky;top:0;background:#fff;z-index:1;gap:12px}.modal-head h2{min-width:0;overflow-wrap:anywhere}.modal-head>[data-close]{flex-shrink:0}
dialog{max-height:90dvh;overscroll-behavior:contain}.quick-links .btn{min-width:0;white-space:normal}
.kpi-value{white-space:normal;overflow-wrap:anywhere}
.search-area .search,.search-area .search input{min-height:44px}
.account-access{margin-top:24px}
@media(max-width:360px){.topbar{padding-inline:12px;gap:8px}.top-actions{gap:6px}}
@media(pointer:coarse){.field input,.field select,.field textarea,.filters input,.filters select,.line-editor input,.line-editor select,.lead-card select{font-size:16px;min-height:44px}.calendar-job,.table .actions .btn{min-height:44px}}
@media(min-width:641px){.search-results{width:100%}}
.job-schedule-notice{overflow-wrap:anywhere}
.job-team label.btn{max-width:100%;min-width:0;white-space:normal;text-align:left;justify-content:flex-start}.job-team label.btn>span{min-width:0;overflow-wrap:anywhere}.job-team input[type=checkbox]{flex:0 0 16px;min-width:16px;min-height:16px}
.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:18px}.calendar-toolbar .subtitle{margin-top:5px}.calendar-nav{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.calendar-nav .btn{min-width:44px;min-height:44px}.calendar-nav [data-id="-1"] svg{transform:rotate(180deg)}.calendar-nav input{min-width:0;max-width:100%;min-height:44px;border:1px solid var(--line);border-radius:9px;padding:9px 10px;color:var(--ink);background:white}.calendar-job{width:100%;text-align:left;border-top:0;border-right:0;border-bottom:0;overflow-wrap:anywhere}.calendar-job>strong,.calendar-job>span,.calendar-job>small{display:block}.calendar-job>small{font-size:10px;margin-top:3px}.calendar-job .tag{font-size:9px;margin-top:5px;white-space:normal}.planning-pending{margin-top:22px}@media(max-width:700px){.calendar-nav{width:100%}.calendar-nav input{flex:1;font-size:16px}.calendar-toolbar h2{font-size:20px}}
@media(max-width:700px){
  .sidebar{left:0;top:0;height:100vh;height:100dvh;max-width:calc(100vw - 44px);padding:14px 14px max(18px,env(safe-area-inset-bottom));overscroll-behavior:contain;scroll-padding-top:76px}
  .sidebar-head{position:sticky;top:0;z-index:1;background:var(--navy);align-items:center;padding:0 0 12px}
  .sidebar-head .brand{padding:0;gap:9px}.sidebar-head .brand img{width:34px;height:34px}.sidebar-head .brand b{font-size:20px}.sidebar-head .brand small{font-size:9px}
  .sidebar-close{display:grid;place-items:center;order:2;flex-shrink:0;border:1px solid #ffffff30;border-radius:9px;background:transparent;color:#fff;width:44px;height:44px}
  .menu-backdrop:not([hidden]){display:block;position:fixed;inset:0;z-index:19;border:0;padding:0;background:#052F4D65;touch-action:none}
  .mobile-menu{width:44px;min-height:44px;flex-shrink:0}.profile .btn{min-width:44px;min-height:44px}
  .search-area .search{min-height:44px}.search-area .search input{font-size:16px;min-height:44px}
  .top-actions .tag:not(.amber){display:none}
  .field input,.field select,.field textarea,.filters input,.filters select,.line-editor input,.line-editor select{font-size:16px;min-height:44px}
  .btn{min-height:44px}.modal-head{padding:16px 20px}.modal-head [data-close]{min-width:44px;min-height:44px}
  .lead-card select{min-height:44px;font-size:16px}.calendar-job,.table .actions .btn{min-height:44px}
  .quick-links{grid-template-columns:repeat(2,minmax(0,1fr))}
}
.connection-status{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 32px;background:#fff;border-bottom:1px solid var(--line);font-size:12px}.connection-status>div{min-width:0;overflow-wrap:anywhere}.connection-status strong{font-weight:550}.connection-status p{color:var(--muted);margin-top:5px;line-height:1.6}.connection-status p:empty{display:none}.connection-status .btn{flex-shrink:0;min-width:44px;min-height:44px;font-size:12px}.connection-status .btn[aria-disabled=true]{cursor:wait;opacity:.6}.connection-status[data-phase=error],.connection-status[data-phase=paused]{background:#FFF8EC;color:var(--amber)}.state-recovery{max-width:560px;margin:auto;padding:24px}.state-recovery .connection-status{border:1px solid var(--line);border-radius:var(--radius);padding:20px;text-align:left}.state-recovery .footer-note{margin-top:0}@media(max-width:700px){.connection-status{padding:12px 17px;gap:12px}}@media(max-width:380px){.state-recovery .connection-status{flex-wrap:wrap}.state-recovery .connection-status .btn{width:100%}}
.accounting-check{flex-wrap:wrap;align-items:flex-start;gap:12px}.accounting-check>div:first-child{flex:1 1 230px;min-width:0}.accounting-check small{display:block;line-height:1.7;margin-top:6px;overflow-wrap:anywhere}.accounting-check .actions{flex-wrap:wrap}.accounting-check .tag{white-space:normal}.accounting-page .notice p{margin-top:6px;line-height:1.7}.accounting-page .card-body>p{line-height:1.8;margin-bottom:14px}.accounting-details{margin-top:18px}.accounting-details>summary{cursor:pointer}.accounting-details>summary:focus-visible{outline:3px solid var(--cyan);outline-offset:3px}
