:root{color-scheme:dark;--bg:#0a0d0f;--panel:#11161a;--panel2:#151b20;--line:#252d34;--ink:#f2f5f6;--muted:#87939f;--dim:#57646f;--lime:#a4ff52;--limebg:#182313;--green:#9df05c;--red:#ff747e;--yellow:#edc66b;--accent:#a4ff52}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.5 Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid transparent;border-radius:9px;padding:10px 16px;color:#142009;background:var(--lime);font-weight:650;transition:background .15s,border-color .15s,transform .15s}button:hover{filter:brightness(1.06)}button:active{transform:translateY(1px)}button:disabled{cursor:wait;opacity:.5}button.ghost,button.secondary{background:#141b20;color:#c0cad2;border-color:var(--line);font-weight:500}button.ghost:hover,button.secondary:hover{background:#1c252c;border-color:#46535e}input,select,textarea{width:100%;margin:7px 0 17px;padding:11px 13px;border:1px solid #303a43;background:#0c1115;color:#e6edf2;border-radius:8px;outline:none}input::placeholder,textarea::placeholder{color:#5e6a76}input:focus,select:focus,textarea:focus{border-color:#91cd55;box-shadow:0 0 0 3px #a4ff5210}input:disabled{background:#12181c;color:#687782}select{cursor:pointer}label{display:block;color:#97a5b1;font-size:12px;font-weight:500}h1,h2,h3,p{margin-top:0}h1{font-size:29px;line-height:1.2;letter-spacing:-1px;font-weight:730;margin:0 0 9px}h2{font-size:16px;font-weight:650}h3{font-size:13px;font-weight:650;margin-top:22px;color:#d2dbe2}small,.muted{color:var(--muted)}[hidden]{display:none!important}svg{flex-shrink:0}.shell{min-height:100vh;display:grid;grid-template-columns:254px minmax(0,1fr)}.sidebar{width:254px;position:fixed;inset:0 auto 0 0;border-right:1px solid #20282f;padding:28px 18px 19px;background:#0b0f11;display:flex;flex-direction:column;z-index:4;overflow:auto}.brand{display:block;padding:0 10px 24px;border-bottom:1px solid var(--line);margin-bottom:23px}.brand img{display:block;width:190px;max-width:100%;height:auto}.brand span{display:block;font-size:9px;letter-spacing:2.7px;color:#667b8a;margin-top:16px}.nav{display:grid;gap:7px}.nav button{display:flex;gap:12px;align-items:center;padding:12px 13px;border-radius:8px;background:transparent;border:1px solid transparent;font-size:13px;font-weight:550;color:#92a0ad;text-align:left}.nav button svg{width:17px;height:17px;stroke:currentColor;stroke-width:1.7;fill:none}.nav button:hover{color:#e4f0de;background:#151c19}.nav button.active{color:#d2ffa8;border-color:#394f26;background:#192215}.summary-nav-label{flex:1}.nav .count{color:#8db86a;font-size:10px;border:1px solid #364a28;border-radius:5px;min-width:21px;text-align:center;padding:0 4px}.nav-label{font-size:9px;letter-spacing:1.8px;color:#576774;font-weight:650;margin:26px 11px 10px}.project-tree{padding-bottom:12px}.project-tree summary{list-style:none;color:#8b99a6;font-size:11px;cursor:pointer;padding:8px 10px}.project-tree summary::-webkit-details-marker{display:none}.project-tree summary:before{content:'›';display:inline-block;width:15px;color:#587047}.project-tree details[open]>summary:before{transform:rotate(90deg);transform-origin:5px 8px}.project-tree details{margin-bottom:6px}.project-tree button{display:flex;gap:9px;text-align:left;width:100%;padding:9px 10px 9px 24px;background:transparent;border:0;border-radius:6px;font-size:11px;line-height:1.5;color:#84939f;font-weight:450}.project-tree button:hover{background:#141c20;color:#e6eef4}.project-tree button.active{background:#151f13;color:#d5f5ba}.project-tree .dot{height:5px;width:5px;border-radius:50%;background:#64717c;margin-top:6px;flex-shrink:0}.project-tree .project-side-sub{display:block;font-size:9px;color:#586d7b;margin-top:3px}.side-foot{margin-top:auto;padding:22px 10px 0;border-top:1px solid var(--line);font-size:10px;color:#5f7281}.side-foot .session-line{color:#9aa9b4;margin-bottom:5px;display:flex;align-items:center;gap:7px}.session-dot{height:6px;width:6px;border-radius:100%;background:#a4ff52;box-shadow:0 0 12px #a4ff5240}.side-foot small{font-size:9px;color:#526672}.main{grid-column:2;min-width:0;padding:0 32px 36px}.topbar{height:67px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #1b242b;margin-bottom:27px}.crumb{font-size:10px;color:#617582}.crumb strong{color:#94a2ad;font-weight:450}.top-right{display:flex;align-items:center;gap:11px}.top-right .muted{font-size:11px;color:#8393a0}.avatar{height:29px;width:29px;border-radius:8px;background:#202c1b;border:1px solid #354a29;color:#b9f58e;display:grid;place-items:center;font-size:11px;font-weight:650}.compact{font-size:11px;padding:7px 11px}.top-right .ghost{font-size:10px;padding:6px 11px}.heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:24px}.eyebrow{font-size:9px;font-weight:750;color:var(--lime);letter-spacing:2px;margin-bottom:10px}.heading p{font-size:12px;line-height:1.5;color:#778b9a;margin-bottom:0}.toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end;padding-top:3px}.toolbar button{font-size:11px;white-space:nowrap}.report-settings{background:#141b20;color:#c4cfd8;border-color:#303b44;font-weight:500}.report-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:11px;margin-bottom:20px}.report-switch{display:flex;padding:3px;background:#10161b;border:1px solid #26313a;border-radius:9px;gap:2px}.report-switch button{padding:7px 13px;background:transparent;border:0;font-size:11px;color:#6e8292;border-radius:6px;font-weight:500}.report-switch button.active{color:#b6ed8e;background:#22311c;box-shadow:inset 0 0 0 1px #3d522b}.period{width:auto;max-width:220px;margin:0;font-size:11px;padding:9px 12px;color:#a6b6c3;border-color:#26333d;background:#10171c}.date-note{font-size:10px;color:#5b7283;margin-left:auto}.cards{display:grid;grid-template-columns:1.25fr 1fr 1fr 1fr;gap:13px;margin-bottom:23px}.stat-card{padding:21px 20px 18px;border-radius:13px;min-height:168px;background:linear-gradient(140deg,#151c20,#10161a);border:1px solid #28333c;position:relative;overflow:hidden}.stat-card:first-child{background:radial-gradient(ellipse at 100% 0%,#263b1e66,transparent 65%),#12191a;border-color:#34462c}.stat-card .stat-title{font-size:11px;font-weight:600;color:#8fa0ac;margin:0 0 19px;display:flex;align-items:center;justify-content:space-between;gap:5px}.stat-card .stat-mark{font-size:12px;color:#537044;font-weight:450}.stat-card .stat-value{font-size:31px;line-height:1.15;letter-spacing:-1px;font-weight:730;color:#f0f5f8;overflow-wrap:anywhere}.stat-card .stat-sub{font-size:10px;color:#637b8b;margin-top:12px}.stat-card .stat-sub strong{color:#9baeb8;font-weight:450}.stat-card .currency-list{display:flex;gap:18px;flex-wrap:wrap}.stat-card .currency-label{font-size:9px;color:#7b909d;letter-spacing:1px;margin-bottom:4px}.stat-card .currency-value{font-size:25px;font-weight:700;line-height:1.2;letter-spacing:-.6px}.stat-value.missing{color:#596f7e}.box,section{background:#11171c;border:1px solid #29343e;border-radius:12px;padding:21px}.box-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px}.box-head h2{font-size:14px;font-weight:600;margin:0;color:#cbd6df}.box-head .muted{font-size:10px;color:#526d80}.table-wrap{width:100%;overflow:auto}.table-wrap table{width:100%;border-collapse:collapse;font-size:11px;white-space:nowrap}.table-wrap th{font-size:9px;text-transform:uppercase;letter-spacing:.85px;font-weight:650;color:#617b8e;padding:13px 12px;text-align:right;border-bottom:1px solid #2b3843;background:#11181e;vertical-align:middle}.table-wrap td{padding:18px 12px;text-align:right;border-bottom:1px solid #202d36;vertical-align:middle;font-size:11px;color:#b9c8d3}.table-wrap th:first-child,.table-wrap td:first-child{text-align:left}.table-wrap th:first-child{min-width:205px}.table-wrap tbody tr:last-child td{border:0}.table-wrap tbody tr:hover{background:#152027}.table-wrap tbody tr.clickable{cursor:pointer}.table-wrap td:first-child button{padding:0;background:transparent;color:#eef3f6;font-size:12px;font-weight:650;text-align:left}.project-cell{display:flex;align-items:center;gap:11px}.project-avatar{width:30px;height:30px;flex-shrink:0;border-radius:8px;background:#1b2921;color:#a4c58d;border:1px solid #304333;display:grid;place-items:center;font-size:10px;font-weight:650}.project-name{font-size:12px;font-weight:650;color:#edf2f6}.project-niche,.metric-secondary{font-size:10px;color:#607c8f;margin-top:5px;line-height:1.5}.metric-primary{font-size:13px;font-weight:650;color:#dae5ec;line-height:1.35;white-space:nowrap}.metric-primary.dim{color:#587080}.metric-line{font-size:10px;color:#647c8d;margin:3px 0}.metric-line strong{font-weight:500;color:#bfd0da}.metric-ratio{margin-top:5px}.table-action{font-size:11px!important;color:#89bb6d!important;border:1px solid #354d2a!important;border-radius:6px!important;padding:4px 8px!important;background:#1b2b17!important}.pill{display:inline-flex;align-items:center;gap:5px;border:1px solid #30414d;padding:3px 7px;border-radius:5px;background:#19232b;color:#879dad;font-size:9px;font-weight:500;line-height:1.4;white-space:nowrap}.pill.green{background:#1b2c19;color:#a0d978;border-color:#3b562b}.pill.yellow{background:#322b18;color:#d6b96d;border-color:#544829}.pill.red{background:#321e22;color:#e88c94;border-color:#5a343b}.zone-badges{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-bottom:16px}.health-strip{display:flex;align-items:center;gap:18px;padding:0 2px;color:#637e90;font-size:10px;margin-bottom:17px}.health-strip .health-item{display:flex;align-items:center;gap:6px}.health-dot{width:5px;height:5px;background:#6e8d67;border-radius:50%}.health-dot.yellow{background:#d6b96d}.health-dot.red{background:#e88c94}.foot-hint{color:#4f6b7f;font-size:10px;border-top:1px solid #1b2c39;padding-top:12px;margin-top:10px;line-height:1.8}.report-small{color:#5f7c8f;font-size:10px}.section-foot{font-size:10px;color:#597386;margin:15px 0 0;line-height:1.8}.report-context{display:flex;align-items:center;gap:10px;margin-bottom:17px;color:#638092;font-size:10px}.battery{display:inline-flex;gap:2px;border:1px solid #354552;border-radius:4px;padding:3px;vertical-align:middle}.battery i{height:10px;width:4px;background:#23303a;border-radius:1px}.battery[data-level="2"] i.on{background:#ff747e}.battery[data-level="3"] i.on{background:#e6a463}.battery[data-level="4"] i.on{background:#e2cb5a}.battery[data-level="5"] i.on{background:#a4ff52}.report-note{padding:16px 19px;background:#141c17;border:1px solid #31492a;border-radius:11px;margin-bottom:20px}.report-note-head{display:flex;justify-content:space-between;align-items:center;color:#b2c1a9;font-size:11px;font-weight:600;gap:15px}.report-note-head button{padding:5px 10px;font-size:10px;color:#b4d39e;background:#21331c;border-color:#3a552e;font-weight:500}.report-note textarea{background:transparent;border:0;box-shadow:none;padding:9px 0 0;resize:vertical;min-height:67px;margin:0;color:#c0cec0;font-size:12px}.report-note small,.report-note .muted{font-size:9px;color:#657d62}.report-period-table{margin-top:18px}.report-period-table h3{margin-top:0;color:#adbfcb}.empty{padding:35px 15px;text-align:center;color:#607f93;font-size:11px}.empty strong{display:block;color:#a4bac9;font-size:13px;margin:8px 0 5px;font-weight:550}.empty-icon{font-size:28px;color:#688a58}.filters{display:flex;gap:9px;align-items:center;margin-bottom:17px;flex-wrap:wrap}.filters input{margin:0;max-width:340px;background:#111920;border-color:#2b3b48;font-size:12px;padding:12px 14px}.filters select{margin:0;width:auto;min-width:145px;font-size:11px;background:#111920;border-color:#2b3b48}.notice{font-size:11px;color:#94a8b7;line-height:1.7;padding:14px 17px;background:#121d24;border:1px solid #293f4c;border-radius:8px;margin-bottom:18px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.settings-grid section{margin:0;min-width:0}.settings-grid h2{font-size:15px}.settings-grid h3{padding-top:14px;border-top:1px solid #253541}.settings-grid p{font-size:11px;color:#738c9f;line-height:1.7}.settings-grid button{font-size:12px}.split-form{display:grid;grid-template-columns:1fr 1fr;gap:0 17px}.span2{grid-column:span 2}.actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.actions button{font-size:11px;padding:9px 13px}.connection-card{border:1px solid #2a3b48;background:#121c23;border-radius:9px;padding:17px;margin-bottom:13px}.connection-card .box-head{margin-bottom:9px}.connection-card strong{font-size:13px}.connection-card p{font-size:11px;color:#7893a5;line-height:1.7;margin-bottom:10px}.connection-card>.ghost{margin-bottom:12px}.connection-card .actions button{font-size:10px;padding:7px 10px}dialog{padding:0;width:min(850px,95vw);max-height:91vh;color:var(--ink);background:#10191f;border:1px solid #3b4d5b;border-radius:15px;box-shadow:0 25px 100px #0009}dialog::backdrop{background:#050a0dc9;backdrop-filter:blur(7px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:22px 26px;border-bottom:1px solid #263b48;background:#131f27}.dialog-head .eyebrow{display:block;font-size:8px;margin:0 0 5px}.dialog-head h2{margin:0;font-size:18px}.dialog-body{padding:23px 26px}.close{font-size:24px;color:#738b9c;padding:0 9px;background:transparent;line-height:1.3;border:0}.close:hover{color:#dbe8ee}.tabs{display:flex;gap:7px;border-bottom:1px solid #263a47;padding-bottom:15px;margin-bottom:21px}.tabs button{background:transparent;color:#738fa2;font-size:11px;padding:8px 14px}.tabs button.active{background:#22331b;color:#b8e59d;border:1px solid #3c582c}.dialog-body .section-foot{font-size:10px}.dialog-body hr{border-color:#2c404f!important}.role-note{max-width:620px;margin:100px auto;color:#9cb0bf}#toast{position:fixed;left:50%;bottom:26px;transform:translateX(-50%);background:#20331a;color:#c7eeaf;border:1px solid #4b7036;box-shadow:0 12px 55px #0006;border-radius:10px;z-index:30;max-width:min(600px,92vw);padding:13px 20px;font-size:12px;line-height:1.7}#toast.error{background:#361e24;border-color:#78424c;color:#f2bdc4}.login-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 50% 0%,#223b1b4d,transparent 55%),#090e10}.login-box{width:min(430px,100%);padding:36px;background:#111a20;border:1px solid #314534;border-radius:17px;box-shadow:0 35px 100px #0005}.login-brand{display:block;width:190px;height:auto;margin-bottom:32px}.login-box h2{font-size:23px;letter-spacing:-.5px;margin-bottom:8px}.login-box p{font-size:12px;color:#6c8799;margin-bottom:25px}.login-box label{font-size:11px}.login-box button{width:100%;padding:12px}.login-box details{font-size:11px;color:#516f81;margin-top:24px}.login-box details section{padding:16px 0 0;background:none;border:0}.login-box details p{font-size:10px}.report-empty{padding:20px}.metric-note{font-size:11px;color:#738c9e;margin-bottom:14px}.qualification-line{display:flex;gap:24px;color:#7895a8}.qualification-line strong{color:#c3d2dd}.chart{display:flex;align-items:flex-end;height:180px;gap:5px}.bar{background:#84c958;flex:1;border-radius:4px 4px 0 0;min-height:3px}.chart-legend{display:flex;justify-content:space-between;color:#5c798d;font-size:10px;padding-top:10px}
@media(min-width:1650px){.main{padding-left:40px;padding-right:40px}.cards{gap:16px}.stat-card{padding:23px 23px 19px}.stat-card .stat-value{font-size:34px}.table-wrap td{padding-top:21px;padding-bottom:21px}.sidebar{width:270px;padding-left:22px;padding-right:22px}.shell{grid-template-columns:270px minmax(0,1fr)}}@media(max-width:1200px){.shell{grid-template-columns:220px minmax(0,1fr)}.sidebar{width:220px;padding:24px 14px}.brand img{width:165px}.brand span{font-size:8px;letter-spacing:2px}.main{padding:0 23px 30px}.cards{grid-template-columns:1fr 1fr;gap:12px}.stat-card{min-height:150px}.heading{gap:12px}h1{font-size:26px}.toolbar{max-width:330px}.table-wrap th:first-child{min-width:180px}}@media(max-width:850px){.settings-grid{grid-template-columns:1fr}.date-note{margin-left:0;width:100%}.topbar .top-right .muted{display:none}.toolbar{max-width:250px}.heading{align-items:flex-start}.heading .toolbar button{padding:8px 10px;font-size:10px}h1{font-size:23px}.report-toolbar{gap:10px}}@media(max-width:650px){.shell{display:block}.sidebar{position:relative;width:100%;inset:auto;padding:16px 16px 0;border-right:0;border-bottom:1px solid #233440;overflow:visible}.brand{padding:0 0 14px;margin:0;border:0}.brand img{width:136px}.brand span{display:none}.nav{display:flex;overflow-x:auto;gap:5px;padding-bottom:12px}.nav button{white-space:nowrap;font-size:10px;gap:6px;padding:9px 10px}.nav button svg{width:13px;height:13px}.nav .count{font-size:8px;min-width:16px}.nav-label,.project-tree,.side-foot{display:none}.main{padding:0 16px 25px}.topbar{height:48px;margin-bottom:21px}.crumb{font-size:9px}.avatar{width:25px;height:25px;font-size:10px}.top-right{gap:7px}.heading{display:block;margin-bottom:20px}.eyebrow{font-size:8px;margin-bottom:8px}h1{font-size:26px}.heading p{font-size:11px}.toolbar{max-width:none;justify-content:flex-start;margin-top:16px;gap:7px}.heading .toolbar button{font-size:10px;padding:9px 12px}.cards{gap:9px}.stat-card{min-height:143px;padding:17px 14px}.stat-card .stat-title{font-size:10px;margin-bottom:14px;min-height:17px}.stat-card .stat-value{font-size:27px}.stat-card .currency-value{font-size:23px}.stat-card .currency-list{gap:12px}.stat-card .stat-sub{font-size:9px;margin-top:10px}.report-toolbar{margin-bottom:17px;gap:9px}.report-switch button{font-size:10px;padding:7px 11px}.period{font-size:10px;padding:9px;max-width:170px}.date-note{font-size:9px}.health-strip{gap:12px;flex-wrap:wrap;font-size:9px}.box,section{padding:16px;border-radius:10px}.box-head h2{font-size:12px}.table-wrap td{padding:16px 10px}.table-wrap th{padding:12px 10px;font-size:8px}.report-note{padding:14px}.report-context{font-size:9px;flex-wrap:wrap}.filters{gap:8px}.filters input{max-width:none;font-size:11px}.filters select{font-size:10px;min-width:0;flex:1}.split-form{grid-template-columns:1fr}.span2{grid-column:auto}.dialog-head{padding:18px}.dialog-body{padding:19px}.dialog-head h2{font-size:16px}.actions{gap:6px}.actions button{font-size:10px;padding:8px 10px}.login-box{padding:28px}.login-brand{width:165px}.box-head .muted{font-size:9px}.health-strip .health-item{white-space:nowrap}}
/* Reading density: secondary facts stay legible on laptop displays. */
.brand{text-decoration:none}.nav button{font-size:14px}.stat-card .stat-title{font-size:12px}.stat-card .stat-sub{font-size:11px}.table-wrap th{font-size:10px}.table-wrap td{font-size:12px}.project-name,.table-wrap td:first-child button{font-size:13px}.project-niche,.metric-secondary{font-size:11px;color:#7b94a6}.metric-primary{font-size:14px}.pill{font-size:10px}.box-head h2{font-size:15px}.heading p{font-size:13px}.foot-hint,.section-foot{font-size:11px;color:#718b9d}.project-tree button{font-size:12px}.reportDate{font-size:11px}.overview-filters{margin:3px 0 15px}.overview-filters input{max-width:360px;flex:1;min-width:180px}.table-summary{font-size:11px;color:#738c9f}.report-context{font-size:11px}
@media(max-width:650px){.nav button{font-size:11px}.stat-card .stat-title{font-size:11px}.stat-card .stat-sub{font-size:10px}.heading p{font-size:12px}.overview-filters input{max-width:none;flex-basis:100%}.overview-filters select{font-size:11px}.foot-hint,.section-foot{font-size:10px}.table-wrap td{font-size:11px}.metric-primary{font-size:13px}}

.admin-controls{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:19px}.channel-tabs{display:flex;gap:5px}.channel-tabs button{padding:7px 13px;background:#111b22;border:1px solid #293d4b;color:#839cae;border-radius:7px;font-size:11px;font-weight:500}.channel-tabs button.active{background:#23351d;border-color:#486b33;color:#b6e992}.admin-mode-label{color:#526f82;font-size:10px}.cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.admin-kpi{padding:19px 21px;border:1px solid #2d414f;border-radius:11px;background:linear-gradient(130deg,#172229,#11191f)}.admin-kpi-title{font-size:12px;font-weight:650;color:#b2c4d2;margin-bottom:18px}.admin-kpi-plan{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#6d899d;margin-bottom:13px}.admin-kpi-plan strong{font-size:19px;font-weight:550;color:#7891a1}.admin-kpi-fact{border-top:1px solid #293d48;padding-top:12px}.admin-kpi-fact span{display:block;font-size:10px;color:#7f98a9;margin-bottom:5px}.admin-kpi-fact strong{font-size:24px;color:#e7f1f6;letter-spacing:-.5px;font-weight:650;overflow-wrap:anywhere}.admin-kpi-caption{font-size:10px;line-height:1.6;color:#617e92;margin-top:9px}.admin-table-actions{display:flex;gap:8px;align-items:center}.column-menu{position:relative;font-size:11px}.column-menu summary{cursor:pointer;list-style:none;background:#15222b;border:1px solid #2d4554;border-radius:7px;padding:7px 12px;color:#9bb4c5}.column-menu summary::-webkit-details-marker{display:none}#adminColumns{position:absolute;right:0;top:38px;background:#172731;border:1px solid #405d70;border-radius:9px;padding:12px;min-width:200px;z-index:6;box-shadow:0 15px 35px #0007}.column-option{display:flex;align-items:center;gap:9px;padding:5px 4px;font-size:11px;white-space:nowrap;color:#b3cad8;cursor:pointer}.column-option input{width:13px;height:13px;margin:0;accent-color:#a4ff52}.admin-stats-table{min-width:780px}.admin-stats-table th{font-size:10px!important;text-transform:none!important;letter-spacing:0!important;white-space:normal!important;line-height:1.6!important;min-width:115px}.admin-stats-table th:first-child{min-width:240px}.admin-stats-table td{padding-top:17px!important;padding-bottom:17px!important;vertical-align:middle}.admin-stats-table .admin-plan{font-size:10px;line-height:1.65;color:#7392a8;white-space:nowrap}.admin-fact{margin-top:4px;line-height:1.5;white-space:nowrap;font-size:13px}.admin-fact span{color:#7996aa;font-size:10px}.admin-fact strong{color:#e2edf4;font-weight:650}.admin-origin{font-size:9px;color:#546f82;margin-top:3px}.admin-missing{color:#59798e;font-size:12px;margin-top:3px;white-space:nowrap}.admin-project-cell{display:flex;gap:9px;align-items:flex-start}.row-expand{width:20px;min-width:20px;height:21px;padding:0!important;font-size:14px!important;color:#8badc5!important;background:#172b37!important;border:1px solid #385465!important;border-radius:5px!important;line-height:19px!important;text-align:center!important;font-weight:400!important}.channel-title{color:#a8c1d2;font-size:11px;font-weight:550}.channel-subrow{background:#0d171e}.channel-subrow td:first-child{padding-left:42px!important}.channel-subrow .admin-fact strong{font-size:12px;color:#afc9da}.project-total-row{background:#131e26}.project-total-row>td:first-child{font-weight:650}.table-wrap:has(.admin-stats-table){max-height:70vh;isolation:isolate;position:relative;border-bottom:1px solid #203542}.admin-stats-table thead th{position:sticky;top:0;z-index:2;background:#15242e}.admin-stats-table th:first-child,.admin-stats-table td:first-child{position:sticky;left:0;z-index:1;background:#131e26;border-right:1px solid #2a4253}.admin-stats-table thead th:first-child{z-index:3;background:#15242e}.admin-stats-table .channel-subrow td:first-child{background:#0d171e}.admin-stats-table tr:hover td:first-child{background:#1a2b36}.comparison-table{min-width:1080px}.comparison-table th{min-width:195px}.comparison-table th:first-child{min-width:230px}.comparison-table td{vertical-align:top;min-width:195px}.comparison-metric{display:flex;justify-content:space-between;align-items:baseline;gap:14px;font-size:10px;color:#7897ad;margin:4px 0}.comparison-metric strong{font-weight:600;font-size:12px;color:#c7dce9;white-space:nowrap}.week-delta{color:#8fa9bb;font-size:9px;line-height:1.6;margin-top:10px;white-space:normal;max-width:190px;border-top:1px solid #2a4050;padding-top:7px}.admin-stats-table .project-niche{white-space:normal;max-width:205px}.overview-filters{margin-top:3px}.overview-filters select{min-width:125px}.overview-filters input{max-width:none;min-width:200px}.box:has(.admin-stats-table){overflow:visible}.box-head{flex-wrap:wrap}.admin-table-actions .compact{font-size:10px;padding:7px 10px}.cards .admin-kpi:first-child{border-color:#3b5730;background:radial-gradient(ellipse at top right,#283f2550,transparent 80%),#141f1d}
@media(max-width:1150px){.admin-kpi{padding:16px}.admin-kpi-fact strong{font-size:21px}.overview-filters{flex-wrap:wrap}.overview-filters input{flex-basis:100%;max-width:none}.overview-filters select{flex:1;min-width:100px}.admin-stats-table th:first-child{min-width:215px}}@media(max-width:650px){.cards{grid-template-columns:1fr;gap:10px}.admin-kpi{display:grid;grid-template-columns:1fr 1fr;column-gap:20px;padding:15px}.admin-kpi-title{grid-column:1/-1;margin-bottom:11px}.admin-kpi-plan{display:block;grid-column:1;grid-row:2;margin:0}.admin-kpi-plan span{display:block;font-size:10px}.admin-kpi-plan strong{display:block;font-size:21px;margin-top:5px}.admin-kpi-fact{border:0;padding:0;grid-column:2;grid-row:2}.admin-kpi-fact strong{font-size:21px}.admin-kpi-caption{grid-column:1/-1;margin-top:10px;font-size:9px}.admin-mode-label{display:none}.admin-controls{margin-bottom:15px}.channel-tabs button{font-size:10px;padding:7px 11px}.admin-stats-table th:first-child{min-width:175px}.admin-stats-table td:first-child{min-width:175px;max-width:190px}.comparison-table th:first-child{min-width:175px}.comparison-table th,.comparison-table td{min-width:170px}.admin-project-cell{gap:6px}.admin-stats-table .project-niche{max-width:140px;font-size:10px}.admin-table-actions{gap:6px}.column-menu summary{font-size:10px}.overview-filters select{min-width:0}.admin-table-actions .compact{font-size:9px;padding:7px}.row-expand{min-width:18px;width:18px}.channel-subrow td:first-child{padding-left:23px!important}}
/* Four weekly columns fit a standard laptop; daily comparison scrolls horizontally. */
.comparison-table{min-width:900px}.comparison-table th,.comparison-table td{min-width:165px}.comparison-table th:first-child,.comparison-table td:first-child{min-width:210px;width:210px}.daily-comparison{min-width:1420px}.daily-comparison th,.daily-comparison td{min-width:165px}

.project-gear{width:38px;height:38px;display:grid;place-items:center;background:#16232d;border:1px solid #385061;border-radius:9px;padding:8px!important;color:#a2bdce}.project-gear svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.5}.project-gear:hover{border-color:#8bbc69;color:#b5e990}#projectDialog{width:min(1040px,96vw)}.settings-section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:22px 0 13px;padding-top:17px;border-top:1px solid #2d4453}.settings-section-head h3{margin:0;font-size:14px}.settings-section-head small{font-size:10px;color:#6b899d}.budget-settings{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.budget-pair{display:flex;gap:6px}.budget-pair input{min-width:0}.budget-pair select{width:80px;flex-shrink:0;padding:10px 7px}.kpi-setting-row{display:grid;grid-template-columns:2fr 1.2fr 1.2fr 85px 32px;gap:8px;align-items:start}.kpi-setting-row input,.kpi-setting-row select{font-size:11px;margin-top:0;margin-bottom:10px;padding:10px}.kpi-remove{font-size:20px;padding:2px 6px;background:transparent;color:#a28088;border:1px solid #4b3542}.kpi-column-head{display:grid;grid-template-columns:2fr 1.2fr 1.2fr 117px;gap:8px;font-size:9px;color:#6b899d;padding:0 3px 9px}.settings-help{font-size:11px;color:#7895a9;line-height:1.8;margin:0 0 19px}.settings-save-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center;padding-top:17px;border-top:1px solid #2d4453}.settings-save-row button{font-size:12px}.channel-source-grid{display:grid;grid-template-columns:1fr;gap:18px}.channel-source-block{padding:20px;background:#121e26;border-color:#314b5c}.channel-block-head{display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid #304958;padding-bottom:15px;margin-bottom:18px}.channel-block-head>div{display:flex;gap:10px;align-items:center}.channel-block-head h3{margin:0;font-size:17px;color:#dce9f0}.channel-logo{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#233951;color:#9fc3ed;font-weight:750;font-size:14px}.channel-logo.google{background:#263d28;color:#a2d79a}.source-section-label{font-size:11px;font-weight:650;color:#9db6c7;margin-bottom:10px}.account-connect-row{display:flex;align-items:center;gap:8px}.account-connect-row select{margin:0;flex:1;min-width:100px;font-size:11px}.account-connect-row button{white-space:nowrap;font-size:10px}.account-directory-error{font-size:11px;color:#d7aa78;background:#332b1d;border:1px solid #5c4c30;border-radius:7px;line-height:1.7;padding:10px 12px;margin:12px 0 0}.spend-source-status{display:flex;align-items:center;gap:10px;margin-top:12px;flex-wrap:wrap}.source-stage{font-size:10px;color:#6e8fa6;margin-top:9px;line-height:1.6}.conversion-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #2c4453;padding-top:20px;margin-top:20px;margin-bottom:11px}.conversion-section-head .source-section-label{margin:0}.conversion-source{padding:13px 14px;background:#101b23;border:1px solid #2b4354;border-radius:8px;margin-top:9px}.conversion-source-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.conversion-source-head strong{font-size:12px;font-weight:550}.conversion-source-head .actions button{font-size:9px;padding:5px 8px}.conversion-empty{border:1px dashed #365366;border-radius:8px;padding:17px;text-align:center;font-size:11px;color:#68899f}.conversion-chooser{display:flex;gap:9px;align-items:center;margin-top:12px}.conversion-chooser select{margin:0;font-size:11px}.conversion-chooser button{font-size:11px;white-space:nowrap}#sourceEditor{padding:18px;background:#14242e;border:1px solid #3c5a6d;border-radius:10px;margin-top:18px}#sourceEditor>hr{display:none}#sourceEditorTitle{margin-top:0}.source-stage+.actions{margin-top:10px}.account-connect-row~.source-stage{margin-top:10px}
@media(max-width:700px){.budget-settings{grid-template-columns:1fr}.budget-pair{max-width:none}.settings-section-head{align-items:flex-start}.settings-section-head small{max-width:150px}.kpi-setting-row{grid-template-columns:1fr 1fr 32px;gap:7px;border-bottom:1px solid #2a4353;padding-bottom:10px;margin-bottom:13px}.kpi-setting-row .kpi-metric{grid-column:1/3}.kpi-setting-row .kpi-scope{grid-column:1}.kpi-setting-row .kpi-value{grid-column:2}.kpi-setting-row .kpi-currency{grid-column:1/3}.kpi-setting-row .kpi-remove{grid-column:3;grid-row:1}.kpi-column-head{display:none}.account-connect-row{flex-wrap:wrap}.account-connect-row select{flex-basis:100%}.account-connect-row button{flex:1}.conversion-source-head{align-items:flex-start;flex-direction:column}.conversion-section-head{align-items:flex-start}.conversion-section-head button{font-size:10px}.channel-source-block{padding:15px}.channel-block-head .pill{font-size:9px}.settings-save-row{display:grid;grid-template-columns:1fr}#projectDialog{width:96vw}.settings-section-head h3{font-size:13px}}

#projectDialog{width:min(1180px,96vw);background:#0d151c;border-color:#34434e;border-radius:20px}#projectDialog>.dialog-head{background:#121e27}#projectEdit .project-card-layout{display:grid;grid-template-columns:1.3fr 1fr;gap:16px}#projectEdit .project-panel{border:1px solid #2a3842;border-radius:14px;background:linear-gradient(135deg,#17222c,#111b23);padding:22px;margin-bottom:16px;min-width:0}#projectEdit .project-card-layout .project-panel{margin:0}.project-panel-heading{position:relative;margin-bottom:18px}.project-panel-heading h3{font-size:16px!important;color:#eef5f7;margin:0 0 5px!important;letter-spacing:-.2px}.project-panel-heading p{font-size:11px;color:#8195a4;margin:0;line-height:1.5}#projectEdit label{font-size:11px;color:#99adbc}#projectEdit input,#projectEdit select,#projectEdit textarea{background:#0c151d;border:1px solid #35434e;border-radius:8px;font-size:13px;padding:12px;margin-top:7px;margin-bottom:0;color:#e7eff4;box-sizing:border-box;width:100%}#projectEdit input:focus,#projectEdit select:focus,#projectEdit textarea:focus{border-color:#a4ef5b;outline:2px solid #a4ef5b19}#projectEdit small{display:block;color:#708795;font-size:10px;margin-top:6px}.identity-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.identity-fields label:first-child{grid-column:1/-1}.identity-fields input[name=name]{font-size:23px!important;font-weight:700;padding:10px 12px!important}.identity-fields label:nth-child(2){grid-column:1/-1}.health-panel{background:radial-gradient(ellipse at top right,#34452766,transparent 70%),#17221f!important}.success-battery{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:27px}.battery-choice{background:#101a20;border:1px solid #37433f;padding:16px 7px 12px;border-radius:10px;color:#8e9f9a;min-width:0}.battery-choice:hover{background:#223127;border-color:#7f9d6f}.battery-choice.selected{border-color:var(--battery);box-shadow:0 0 0 2px color-mix(in srgb,var(--battery) 15%,transparent);background:#233027}.battery-choice[data-level="2"]{--battery:#f46d79}.battery-choice[data-level="3"]{--battery:#f2a65e}.battery-choice[data-level="4"]{--battery:#e5d365}.battery-choice[data-level="5"]{--battery:#a5f367}.battery-shell{position:relative;display:flex;gap:3px;border:1.5px solid #65736d;border-radius:5px;padding:4px;height:26px;margin:0 4px 11px 0}.battery-shell:after{content:'';position:absolute;width:3px;height:10px;right:-5px;top:6px;background:#65736d;border-radius:0 2px 2px 0}.battery-shell i{flex:1;background:#28352e;border-radius:1px}.battery-shell i.charged{background:var(--battery);opacity:.65}.selected .battery-shell{border-color:var(--battery)}.selected .battery-shell i.charged{opacity:1}.battery-number{font-size:11px;font-weight:700;color:#acbdb4}.selected .battery-number{color:var(--battery)}.health-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:23px}.health-caption{font-size:13px;color:#d2dfd4}.reset-success{font-size:10px;padding:7px 10px;background:transparent;border:1px solid #485747;color:#9eaf9c;border-radius:6px}.reset-success.selected{color:#baff86;border-color:#8aa86b;background:#394b2d}.people-panel,.cycle-panel,.notes-panel{grid-column:1/-1}.people-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.person-setting{display:flex;gap:12px;align-items:flex-start;padding:15px;background:#101a23;border:1px solid #2b3b48;border-radius:10px}.person-avatar{display:grid;place-items:center;flex-shrink:0;width:34px;height:34px;border-radius:10px;background:#33304a;color:#c2b6fa;font-weight:750;font-size:12px;margin-top:20px}.person-setting.google .person-avatar{background:#293d2b;color:#a9d992}.person-setting.meta .person-avatar{background:#23354c;color:#91bfff}.person-setting label{flex:1;min-width:0}.cycle-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.notes-panel textarea{min-height:85px;resize:vertical}.notes-panel label{font-size:0!important}.notes-panel .project-panel-heading{margin-bottom:10px}#projectEdit>.budget-panel{margin-top:16px}.budget-panel .budget-settings>label{padding:15px;border:1px solid #30404c;border-radius:10px;background:#101a22}.budget-panel .budget-pair select{width:78px!important}.budget-panel .budget-pair input{font-size:20px!important;font-weight:650}.targets-panel .project-panel-heading{padding-right:140px}.targets-panel #addKpi{position:absolute;right:0;top:0;border-radius:7px;background:#2c4025;color:#bbf28a;border:1px solid #526d3a}.targets-panel .kpi-setting-row{padding:9px 0;border-top:1px solid #293942;align-items:center}.targets-panel .kpi-setting-row select,.targets-panel .kpi-setting-row input{margin:0!important}.targets-panel .settings-help{margin:14px 0 0}.settings-save-row{position:sticky;bottom:-1px;z-index:3;padding:16px 0!important;background:#0d151cf5;backdrop-filter:blur(10px);justify-content:flex-end}.settings-save-row button{padding:13px 20px;border-radius:8px}.settings-save-row button[type=submit]{order:2;box-shadow:0 4px 20px #a7f35418}.settings-save-row .secondary{background:#172630;border:1px solid #3c5261;color:#b6c8d4}
@media(max-width:760px){#projectEdit .project-card-layout{grid-template-columns:1fr}.health-panel{grid-column:1}.people-grid,.cycle-grid{grid-template-columns:1fr}.person-avatar{margin-top:10px}#projectEdit .project-panel{padding:17px}.success-battery{margin-top:15px}.identity-fields{gap:12px}.settings-save-row{position:static}.targets-panel .project-panel-heading{padding-right:0;padding-bottom:42px}.targets-panel #addKpi{top:auto;bottom:0;right:auto;left:0}.settings-save-row button[type=submit]{order:0}}

.conversion-chooser{display:flex;flex-wrap:wrap;padding:12px;border:1px dashed #486538;border-radius:10px;background:#19271a;margin-top:14px;gap:9px}.source-type-button{background:#263a21;border:1px solid #587247;color:#c5f5a5;padding:12px 18px;border-radius:8px;font-size:12px}.conversion-chooser.highlight{outline:2px solid #a4ff52}.conversion-events{color:#b4d297;font-size:11px;line-height:1.7;margin-top:7px}#conversionDialog{width:min(760px,94vw);max-height:92vh;z-index:10}#conversionDialog::backdrop{background:#030809bb}#conversionDialog #sourceEditor{margin:0;border:0;padding:0;background:none}.meta-event-choices{display:grid;gap:8px;margin:14px 0 20px}.meta-event-choices label{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #354a56;border-radius:9px;background:#101c24;color:#d5e3ec;font-size:12px;margin:0}.meta-event-choices label:has(input:checked){border-color:#82b651;background:#24341e}.meta-event-choices input{width:18px;height:18px;margin:0;accent-color:#a4ff52;flex-shrink:0}.meta-event-choices span{line-height:1.5}#customMetaActions{margin-bottom:12px}.conversion-chooser[hidden]{display:none!important}@media(max-width:600px){.source-type-button{flex:1;padding:12px 8px}.conversion-section-head{flex-wrap:wrap}}

/* Dense workspace: smaller controls, closer grouping, no page scaling. */
#app button{padding:7px 11px;font-size:11px}#app input,#app select{padding:8px 10px;font-size:12px}#app .heading{margin-bottom:15px}#app .heading h1{font-size:25px}#app .admin-kpi{padding:14px 16px}#app .admin-kpi-plan strong{font-size:23px}#app .admin-kpi-fact strong{font-size:15px}#app .admin-kpi-caption{margin-top:9px}#app .admin-stats-table td{padding:10px 12px}#app .admin-stats-table th{padding:10px 12px}#app .report-note{padding:10px 13px}#app .report-note textarea{min-height:44px}#app .report-toolbar{gap:8px;margin-bottom:12px}#app .project-gear{padding:7px;width:33px;height:33px}
#projectDialog{width:min(1120px,96vw);max-height:94vh;border-radius:13px}#projectDialog .dialog-head{padding:13px 18px}#projectDialog .dialog-head h2{font-size:17px}#projectDialog .dialog-body{padding:14px 18px}#projectDialog .tabs{padding-bottom:10px;margin-bottom:12px}#projectDialog .tabs button{font-size:11px;padding:7px 11px}#projectEdit{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:10px}#projectEdit .project-card-layout{grid-column:1/-1;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:10px}#projectEdit .project-panel{padding:13px 14px;border-radius:9px;margin:0!important}#projectEdit .identity-panel{grid-column:span 8}#projectEdit .health-panel{grid-column:span 4}#projectEdit .people-panel{grid-column:span 7}#projectEdit .cycle-panel{grid-column:span 5}#projectEdit .notes-panel{grid-column:1/-1}#projectEdit .budget-panel{grid-column:span 5}#projectEdit .targets-panel{grid-column:span 7}#projectEdit .project-panel-heading{margin-bottom:10px}#projectEdit .project-panel-heading h3{font-size:13px!important;margin-bottom:3px!important}#projectEdit .project-panel-heading p{font-size:10px}#projectEdit label{font-size:10px}#projectEdit input,#projectEdit select,#projectEdit textarea{font-size:12px;padding:7px 9px;margin-top:4px;border-radius:6px;min-height:32px}#projectEdit small{font-size:9px;line-height:1.4;margin-top:4px}#projectEdit .identity-fields{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px 12px}#projectEdit .identity-fields label{grid-column:span 2}#projectEdit .identity-fields input[name=name]{font-size:17px!important;padding:6px 9px!important}#projectEdit .people-grid{gap:8px}#projectEdit .person-setting{padding:0;background:none;border:0;border-radius:0;gap:6px}#projectEdit .person-avatar{width:23px;height:23px;font-size:9px;border-radius:6px;margin-top:18px}#projectEdit .cycle-grid{gap:8px}#projectEdit .cycle-grid input{font-size:11px;padding-left:6px;padding-right:6px}#projectEdit .cycle-grid label:last-child small{max-width:150px}#projectEdit .notes-panel .project-panel-heading{display:flex;align-items:baseline;gap:10px;margin-bottom:5px}#projectEdit .notes-panel textarea{min-height:46px;height:46px;margin-top:0;font-size:12px}#projectEdit .budget-settings{grid-template-columns:1fr;gap:7px}#projectEdit .budget-settings>label{display:grid;grid-template-columns:80px 1fr;align-items:center;gap:10px;padding:0;background:none;border:0}#projectEdit .budget-pair{gap:5px}#projectEdit .budget-pair input{font-size:15px!important;margin-top:0}#projectEdit .budget-pair select{margin-top:0;padding:6px;width:72px!important}#projectEdit .targets-panel .project-panel-heading{padding-right:110px}#projectEdit .targets-panel #addKpi{font-size:10px;padding:6px 9px}#projectEdit .kpi-column-head{font-size:9px;padding-bottom:5px}#projectEdit .kpi-setting-row{gap:5px;padding:5px 0;grid-template-columns:1.5fr 1fr 1fr 62px 26px}#projectEdit .kpi-setting-row select,#projectEdit .kpi-setting-row input{font-size:10px;padding:6px;min-height:29px}#projectEdit .kpi-remove{padding:2px;font-size:17px}#projectEdit .targets-panel .settings-help{font-size:9px;line-height:1.5;margin-top:8px}#projectEdit .settings-save-row{grid-column:1/-1;gap:8px;padding:10px 0!important}#projectEdit .settings-save-row button{font-size:11px;padding:9px 14px;min-height:34px}
.single-success-battery{--cell:#68776b;position:relative;display:flex;align-items:stretch;gap:4px;padding:5px;border:2px solid #6b8070;border-radius:6px;width:170px;height:40px;flex-shrink:0}.single-success-battery:after{content:'';position:absolute;width:4px;height:15px;right:-7px;top:10px;background:#6b8070;border-radius:0 3px 3px 0}.single-success-battery[data-value="2"]{--cell:#f46d79}.single-success-battery[data-value="3"]{--cell:#f2a65e}.single-success-battery[data-value="4"]{--cell:#e5d365}.single-success-battery[data-value="5"]{--cell:#a5f367}.single-success-battery .battery-segment{display:block;flex:1;min-width:0;min-height:0;margin:0;padding:0;border:0;border-radius:2px;background:#344139;transition:background .12s;box-shadow:none}.single-success-battery .battery-segment.charged{background:var(--cell)}.single-success-battery button:hover{outline:2px solid #d7f8bc;outline-offset:1px}.single-success-battery button:focus-visible{outline:2px solid white;outline-offset:1px}.battery-control-row{display:flex;align-items:center;gap:18px;margin:17px 0 13px}.battery-value{font-size:16px;color:#e2eedf;font-variant-numeric:tabular-nums;white-space:nowrap}#projectEdit .health-foot{margin-top:0}.health-caption{font-size:11px}.reset-success{padding:4px 7px;font-size:9px}
#projectDialog .channel-source-block{padding:14px}#projectDialog .channel-block-head{padding-bottom:10px;margin-bottom:12px}#projectDialog .channel-block-head h3{font-size:15px}#projectDialog .conversion-section-head{padding-top:12px;margin-top:12px;margin-bottom:8px}#projectDialog .conversion-source{padding:10px;margin-top:7px}#projectDialog .source-type-button{font-size:11px;padding:8px 12px}#projectDialog .conversion-chooser{padding:8px;gap:7px}#projectDialog .account-connect-row select{padding:9px;font-size:11px}#conversionDialog .dialog-head{padding:13px 18px}#conversionDialog .dialog-body{padding:14px 18px}#conversionDialog .meta-event-choices label{padding:10px;font-size:11px}#conversionDialog input:not([type=checkbox]),#conversionDialog select{padding:8px 10px;font-size:12px}#conversionDialog .meta-event-choices{gap:6px;margin:10px 0 14px}
@media(max-width:900px){#projectEdit .people-panel,#projectEdit .cycle-panel{grid-column:1/-1}.battery-control-row{gap:12px}.single-success-battery{width:140px;height:36px}.single-success-battery:after{top:8px}}
@media(max-width:650px){#projectEdit .identity-panel,#projectEdit .health-panel,#projectEdit .budget-panel,#projectEdit .targets-panel{grid-column:1/-1}#projectEdit .people-grid{grid-template-columns:1fr;gap:9px}#projectEdit .cycle-grid{grid-template-columns:1fr 1fr}#projectEdit .cycle-grid label:last-child{grid-column:1/-1}#projectEdit .targets-panel .project-panel-heading{padding-right:110px;padding-bottom:0}#projectEdit .targets-panel #addKpi{left:auto;right:0;top:0;bottom:auto}#projectEdit .kpi-setting-row{grid-template-columns:1fr 1fr 26px}#projectEdit .project-panel{padding:12px}#projectDialog .dialog-body{padding:12px}.battery-control-row{margin:12px 0}#projectEdit .settings-save-row{display:flex;position:sticky}#projectEdit .settings-save-row button{flex:1}#app .admin-stats-table td{padding:9px}}

#projectEdit .kpi-setting-row .kpi-remove{grid-column:5;width:26px}@media(max-width:650px){#projectEdit .kpi-setting-row .kpi-remove{grid-column:3;grid-row:1}}

/* Overview composition: controls, compact totals, zones, table. */
#app{grid-template-columns:224px minmax(0,1fr);background:#171b21}#app .sidebar{width:224px;padding:20px 15px;background:#22272f;border-right:1px solid #39424d}#app .brand{padding:0 8px 13px;margin-bottom:15px}#app .brand img{width:174px;max-height:65px;object-fit:contain}#app .brand small{display:none}#app .nav{gap:4px}#app .nav button{padding:10px 12px;font-size:12px}#app .nav-label{margin-top:20px;margin-bottom:12px}#app .main{padding:0 26px 24px}#app .topbar{height:43px;margin-bottom:15px;border-bottom:1px solid #303842;font-size:10px}#app .heading{margin-bottom:15px;align-items:center}#app .heading .eyebrow{display:none}#app .heading h1{font-size:25px;margin:0 0 5px}#app .heading p{font-size:11px;margin:0}#app .heading button{padding:8px 12px}#view-overview .overview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px;flex-wrap:wrap}#view-overview .report-toolbar{margin:0;gap:8px;display:flex;align-items:center;flex-wrap:wrap}#view-overview .report-switch{padding:0;background:none;border:0;gap:5px}#view-overview .report-switch button{padding:9px 12px;border:1px solid #3c4653;background:#22272f;color:#d6e1ee;font-size:12px;border-radius:7px}#view-overview .report-switch button.active{background:#e7eef8;color:#152332;border-color:#d3dce9}#view-overview .period{padding:8px 10px;background:#22272f;border-color:#3c4653;font-size:11px}#view-overview .date-note{font-size:10px;order:5;margin:0;color:#9db1cb}#view-overview .overview-month{font-size:11px;color:#a8bed8;order:4;text-transform:capitalize}#view-overview .admin-controls{margin:0;padding:0;display:flex}#view-overview .channel-tabs{gap:5px}#view-overview .channel-tabs button{padding:7px 9px;font-size:10px;background:#22272f;border-color:#3c4653;color:#b3c4d9}#view-overview .channel-tabs button.active{background:#354631;color:#c9f9a6;border-color:#617f43}#view-overview #reportContext:empty{display:none}#view-overview .cards{gap:10px;margin-bottom:14px}#view-overview .admin-kpi{display:flex;flex-direction:column;align-items:flex-start;background:#22272f;border:1px solid #3a4451;border-radius:9px;padding:16px 17px;min-height:176px;gap:0;box-shadow:none}#view-overview .admin-kpi-title{font-size:11px;font-weight:400;color:#a5bad3;margin-bottom:12px}#view-overview .overview-period-value{font-size:23px;line-height:1.25;color:#edf3fb;letter-spacing:-.5px;margin-bottom:12px;font-variant-numeric:tabular-nums}#view-overview .overview-fact-label{font-size:10px;color:#a5bad3;margin-bottom:8px}#view-overview .overview-fact-value{font-size:21px;line-height:1.3;letter-spacing:-.4px;color:#edf3fb;margin-bottom:9px;font-variant-numeric:tabular-nums}#view-overview .admin-kpi-caption{font-size:10px;color:#9db2cc;margin:4px 0 0;line-height:1.3}.pace-badge,.zone-chip{display:inline-block;width:fit-content;font-size:10px;line-height:1.5;padding:4px 8px;border-radius:5px;white-space:nowrap;font-variant-numeric:tabular-nums}.pace-badge.green,.zone-chip.green{background:#163c2c;color:#78ecc0}.pace-badge.yellow,.zone-chip.yellow{background:#443719;color:#f4cd6b}.pace-badge.red,.zone-chip.red{background:#482730;color:#ffabae}.pace-badge.neutral,.zone-chip.new{background:#2f3845;color:#afc2db}.overview-zone-strip{display:flex;gap:7px;align-items:center;margin:0 0 14px;flex-wrap:wrap}.overview-health{font-size:10px;color:#8498af;margin-left:auto}#view-overview .overview-table-box{padding:15px 16px;background:#22272f;border:1px solid #3a4451;border-radius:9px}#view-overview .box-head{margin-bottom:13px}#view-overview .box-head h2{font-size:13px;color:#edf3fb}#view-overview .box-head button,#view-overview .column-menu>summary{padding:6px 9px;font-size:10px;background:#29313d;border-color:#445162}#view-overview .overview-filters{gap:6px;margin-bottom:10px;display:flex}#view-overview .overview-filters input,#view-overview .overview-filters select{margin:0;padding:7px 9px;font-size:10px;background:#1a2028;border:1px solid #3c4754;border-radius:6px}#view-overview .overview-filters input{flex:1;min-width:140px}#view-overview .admin-stats-table{font-size:11px;min-width:760px}#view-overview .admin-stats-table th{font-size:10px;font-weight:500;color:#a6bdd9;padding:10px 8px;background:#22272f;border-bottom:1px solid #414b58}#view-overview .admin-stats-table td{padding:11px 8px;border-bottom:1px solid #3c4552;vertical-align:middle;background:#22272f}#view-overview .admin-stats-table td:not(:first-child),#view-overview .admin-stats-table th:not(:first-child){text-align:right}#view-overview .admin-plan{font-size:10px;color:#abc0dc;line-height:1.5;margin:0 0 4px}#view-overview .overview-cell-fact{font-size:10px;color:#c1d1e6;margin-bottom:5px;white-space:nowrap}#view-overview .admin-stats-table .pace-badge{padding:3px 7px;font-size:10px}#view-overview .admin-project-cell button:not(.row-expand){padding:0;font-size:12px;color:#f2f5fa;line-height:1.5}#view-overview .project-niche{font-size:10px;color:#a1b7d2;margin-top:3px}#view-overview .channel-subrow td{background:#1e242d}#view-overview .foot-hint{font-size:9px;padding-top:10px;color:#7e92a9;line-height:1.5}#view-overview .section-foot{font-size:9px;margin:10px 0;color:#7e92a9}.rating-zone{display:flex;align-items:center;justify-content:flex-end;gap:6px}.rating-zone .zone-chip{font-size:9px;padding:3px 6px}
@media(max-width:1100px){#view-overview .overview-toolbar{gap:8px}#view-overview .admin-controls{width:100%}#view-overview .admin-kpi{padding:13px;min-height:170px}#view-overview .overview-fact-value{font-size:18px}}
@media(max-width:760px){#app{grid-template-columns:1fr}#app .sidebar{position:relative;width:100%;padding:12px}#app .main{padding:0 13px 20px}#view-overview .cards{grid-template-columns:1fr}#view-overview .admin-kpi{min-height:0}#view-overview .overview-filters{flex-wrap:wrap}#view-overview .overview-filters input{flex-basis:100%}.overview-health{margin-left:0}#view-overview .overview-toolbar{align-items:flex-start}#view-overview .overview-table-box{padding:12px}}

#app .zone-dot{width:7px;height:7px;flex-shrink:0}#app .zone-dot.red{background:#ffa4ae}#app .zone-dot.yellow{background:#f1cc6b}#app .zone-dot.green{background:#8ae1b1}#app .zone-dot.new{background:#8394a9}#app .brand .tagline{display:none}

#sheetsImportDialog{width:min(1080px,96vw);max-height:94vh;background:#111a23;border-radius:12px}#sheetsImportDialog .dialog-head{padding:15px 20px}#sheetsImportDialog h2{font-size:18px}#sheetsDialogContext{display:block;margin-top:6px;color:#93a8b9;font-size:11px}#sheetsImportDialog .dialog-body{padding:16px 20px}#sheetsImportDialog label{font-size:11px;color:#a9bdce;display:flex;flex-direction:column;gap:5px;min-width:0}#sheetsImportDialog input:not([type=checkbox]),#sheetsImportDialog select{width:100%;margin:0;padding:9px 10px;font-size:12px;color:#e3edf4;background:#0c151d;border:1px solid #354959;border-radius:6px;min-height:35px}#sheetsImportDialog input[type=checkbox]{accent-color:#a4ff52;width:16px;height:16px;flex-shrink:0}#sheetsImportDialog button{font-size:11px;padding:8px 12px;border-radius:6px}.sheet-step{padding:15px;border:1px solid #2e414e;border-radius:9px;margin-bottom:13px;background:#16212a}.sheet-step-head{display:flex;gap:10px;align-items:flex-start;margin-bottom:14px}.sheet-step-head>b{width:25px;height:25px;display:grid;place-items:center;background:#2c4026;color:#b8ef91;border-radius:7px;font-size:12px;flex-shrink:0}.sheet-step-head h3{margin:0 0 4px;font-size:14px}.sheet-step-head p,.sheet-help{font-size:10px;line-height:1.65;color:#8ca5b9;margin:0 0 12px}.sheet-top-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}.sheet-url{grid-column:1/-1}.sheet-small-grid{display:grid;grid-template-columns:1fr 1fr 1.5fr;gap:10px;margin-bottom:12px}.sheet-card-body .sheet-small-grid{grid-template-columns:1.4fr .65fr 1.3fr auto;align-items:end}.sheet-available-list{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}#sheetsImportDialog .sheet-choice{display:flex;flex-direction:row;align-items:center;gap:8px;padding:9px 12px;border:1px solid #3c5162;border-radius:7px;background:#14222c}#sheetsImportDialog .sheet-choice:has(input:checked){background:#293b23;border-color:#71974e;color:#c8eeb0}.sheet-config-card{margin-top:13px;border:1px solid #3b5162;border-radius:8px;background:#101c25}.sheet-config-card>summary{padding:12px 14px;color:#cce5b6;font-size:12px;cursor:pointer;font-weight:650}.sheet-card-body{padding:5px 14px 14px}.sheet-mappings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin-bottom:12px}.sheet-status-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:12px}.sheet-subhead{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #304450;padding-top:12px;margin-top:13px;margin-bottom:9px}.sheet-subhead strong{font-size:11px;color:#9db4c6}.sheet-filter-row{display:grid;grid-template-columns:1fr 1fr 1.2fr 30px;gap:7px;margin-top:7px}.sheet-filter-row .ghost{padding:4px!important}.sheet-import-actions{position:sticky;bottom:-16px;background:#111a23f5;display:flex;justify-content:flex-end;gap:9px;padding:13px 0;z-index:2;border-top:1px solid #354959}.sheet-preview{overflow:auto;border:1px solid #3b5162;border-radius:8px;padding:12px;margin-top:14px;font-size:11px}.sheet-preview p{font-size:10px;color:#a7bacc}.sheet-preview table{min-width:660px}.sheet-preview th,.sheet-preview td{padding:8px;font-size:10px}.sheet-warning{color:#ebc579!important}#sheetImportStatus{font-size:11px;color:#bfd8a6;line-height:1.6;margin-bottom:0}.sheet-run{padding:13px;border:1px solid #354959;border-radius:8px;margin-bottom:10px}.sheet-run strong{font-size:12px}.sheet-run p,.sheet-run small{font-size:11px;line-height:1.5;color:#97afc1}#sheetsImportDialog [hidden]{display:none!important}.sheet-source-actions{display:flex;gap:7px;margin-top:10px;flex-wrap:wrap}
@media(max-width:700px){.sheet-top-grid,.sheet-small-grid,.sheet-card-body .sheet-small-grid{grid-template-columns:1fr 1fr}.sheet-mappings{grid-template-columns:1fr 1fr}.sheet-status-grid{grid-template-columns:1fr}.sheet-filter-row{grid-template-columns:1fr 1fr 30px}.sheet-filter-row input{grid-column:1/3}.sheet-filter-row button{grid-column:3;grid-row:1}.sheet-import-actions{flex-wrap:wrap}.sheet-import-actions button{flex:1}#sheetsImportDialog .dialog-body{padding:12px}.sheet-step{padding:11px}}

.projects-list-tools{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;font-size:12px;color:#93acbf}.project-delete-button,.danger-button{background:#45232d!important;color:#ffb1b9!important;border:1px solid #8c4453!important;border-radius:6px!important;padding:7px 11px!important;font-size:11px!important;white-space:nowrap}.project-delete-button:hover,.danger-button:hover{background:#67303b!important}.delete-project-name{font-size:19px;font-weight:650;color:#edf4fb}.delete-explanation{font-size:12px;line-height:1.8;color:#9bb3c5}.delete-dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}#deleteProjectDialog{width:min(520px,94vw)}#projectTrashDialog{width:min(680px,94vw)}.trash-project-row{display:flex;align-items:center;justify-content:space-between;padding:13px;border:1px solid #354959;border-radius:8px;margin-bottom:9px;gap:15px}.trash-project-row strong{font-size:13px}.trash-project-row small{display:block;color:#839daf;font-size:10px;margin-top:5px}.trash-project-row button{font-size:11px;padding:8px 12px}

#createDialog{width:min(780px,95vw);max-height:94vh;background:#101820;border:1px solid #344654;border-radius:13px}#createDialog .dialog-head{align-items:flex-start;padding:17px 20px;background:#15212b}#createDialog .dialog-head h2{font-size:20px;line-height:1.25;margin:5px 0 0;letter-spacing:-.4px}.create-eyebrow{font-size:8px;color:#a5ef70;letter-spacing:1.7px;font-weight:750}.create-subtitle{font-size:10px;line-height:1.5;color:#89a0b3;margin:7px 0 0}#createDialog .close{font-size:23px;margin-top:2px}#createDialog .dialog-body{padding:15px 20px 0}#createDialog form{margin:0}#createDialog .create-section{padding:0 0 14px;margin:0 0 13px;border:0;border-bottom:1px solid #293c49;background:none;border-radius:0}.create-section-title{display:flex;align-items:center;gap:8px;margin-bottom:10px}.create-section-mark{font-size:9px;color:#8cac73;letter-spacing:.5px;font-weight:700}.create-section-title h3{font-size:12px;color:#dce7ef;margin:0;font-weight:650}.create-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px 15px}#createDialog label{display:block;font-size:10px;color:#99b0c1;line-height:1.5;margin:0;min-width:0}#createDialog input,#createDialog select,#createDialog textarea{box-sizing:border-box;width:100%;min-width:0;margin:5px 0 0;padding:7px 10px;min-height:34px;height:34px;font-size:12px;line-height:18px;background:#0b141b;color:#dfebf3;border:1px solid #344a59;border-radius:6px;box-shadow:none}#createDialog input:focus,#createDialog select:focus,#createDialog textarea:focus{outline:2px solid #a4ff5218;border-color:#91c459}#createDialog input::placeholder,#createDialog textarea::placeholder{color:#627b8e}#createDialog textarea{height:52px;min-height:52px;resize:vertical}#createDialog input[type=date]{color-scheme:dark}.create-required{color:#a7dc7f}.create-channel{padding:10px 12px;border:1px solid #2e4655;border-radius:8px;background:#14212b}.create-channel-title{display:flex;align-items:center;gap:7px;margin-bottom:7px}.create-channel-title>span{display:grid;place-items:center;width:21px;height:21px;border-radius:5px;font-size:10px;font-weight:750;background:#2b4128;color:#b3dd99}.create-channel.meta .create-channel-title>span{background:#273e58;color:#a5c6ef}.create-channel-title strong{font-size:11px;font-weight:650}.create-channel .assignment-team{display:block;min-height:12px;margin:5px 0 0;color:#7796ac;font-size:9px;line-height:1.4}.create-hint{font-size:9px;line-height:1.5;color:#7894a9;margin:8px 0 0}.create-comment{margin-top:0!important}.create-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0 14px;margin-top:10px;background:#101820;position:sticky;bottom:0;border-top:1px solid #293c49;z-index:2}.create-footer>small{font-size:9px;color:#7692a6}.create-footer>div{display:flex;gap:7px}#createDialog .create-footer button{min-height:33px;font-size:11px;padding:7px 14px;border-radius:6px}#createDialog .create-footer .secondary{background:#1d2d39;border:1px solid #3a5264;color:#acc2d3}
@media(max-width:580px){#createDialog{width:94vw}#createDialog .dialog-head{padding:14px}#createDialog .dialog-body{padding:13px 14px 0}.create-grid{grid-template-columns:1fr;gap:10px}.create-subtitle{max-width:260px}.create-footer>small{max-width:90px}.create-footer{padding-bottom:12px}#createDialog .create-footer button{padding:7px 10px}}

#createDialog{width:min(900px,96vw)}#createDialog .create-budget-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 15px}#createDialog .create-budget-pair{display:flex;gap:5px}#createDialog .create-budget-pair input{min-width:0;flex:1}#createDialog .create-budget-pair select{width:74px;flex-shrink:0}#createDialog .create-rating{display:flex;align-items:center;gap:14px;padding-top:12px}#createDialog .create-rating>span{font-size:11px;color:#99b0c1}#createDialog .single-success-battery{width:140px;height:32px;padding:4px;gap:3px}#createDialog .single-success-battery .battery-segment{height:auto;min-height:0;padding:0;min-width:0;border:0;border-radius:2px}#createDialog .single-success-battery:after{top:6px}#createRatingValue{font-size:12px;min-width:30px}#createDialog #resetCreateRating{font-size:9px;padding:5px 7px}.create-kpi-head{justify-content:space-between}.create-kpi-head>div{display:flex;align-items:center;gap:8px}#createDialog .create-kpi-head>button{font-size:10px;padding:6px 9px}#createDialog .kpi-setting-row{display:grid;grid-template-columns:1.5fr 1fr 1fr 75px 26px;gap:6px;padding:6px 0;border-top:1px solid #2b3e4b;align-items:center}#createDialog .kpi-setting-row input,#createDialog .kpi-setting-row select{font-size:11px;margin:0;padding:6px 8px;min-height:32px;height:32px}#createDialog .kpi-setting-row .kpi-remove{grid-column:5;padding:1px;font-size:19px;width:26px;height:28px}#createDialog .create-footer{align-items:flex-start}#createDialog .create-footer>div{flex-wrap:wrap;justify-content:flex-end}#createProjectSources{background:#283d24;color:#c6f5a9;border:1px solid #5b7a40}#projectDialog .settings-plans-link{color:#9fb8ca}#projectDialog .budget-panel{scroll-margin-top:10px}#createDialog [hidden]{display:none!important}
@media(max-width:650px){#createDialog .create-rating{gap:9px;flex-wrap:wrap}#createDialog .kpi-setting-row{grid-template-columns:1fr 1fr 26px}#createDialog .kpi-metric{grid-column:1/3}#createDialog .kpi-scope{grid-column:1}#createDialog .kpi-value{grid-column:2}#createDialog .kpi-currency{grid-column:1/3}#createDialog .kpi-setting-row .kpi-remove{grid-column:3;grid-row:1}#createDialog .create-footer>small{display:none}#createDialog .create-footer>div{width:100%}#createDialog .create-footer button{flex:1}.create-budget-grid{grid-template-columns:1fr!important}}

.searchable-account{display:grid;grid-template-columns:minmax(160px,.8fr) minmax(180px,1.2fr);gap:7px;flex:1;min-width:0;align-items:center}.searchable-account input[type=search]{width:100%;min-width:0;margin:0;padding:10px 11px;font-size:11px;background:#0d1821;border:1px solid #3b5364;border-radius:7px;height:37px;color:#dceaf3}.searchable-account input[type=search]:focus{outline:2px solid #a4ff5218;border-color:#8bb762}.searchable-account>select{width:100%;min-width:0!important;height:37px!important;margin:0!important}.account-search-result{grid-column:1/-1;font-size:10px!important;color:#8ca9bf!important;margin:0!important}.account-search-result[hidden]{display:none!important}#conversionDialog .searchable-account{margin-top:7px}#conversionDialog .searchable-account input{margin:0!important}#conversionDialog .searchable-account>select{margin:0!important}.account-connect-row{align-items:flex-start}@media(max-width:700px){.searchable-account{grid-template-columns:1fr;flex-basis:100%}.account-search-result{grid-column:1}.searchable-account input[type=search]{font-size:12px}}
/* Report layout v0.21 */
.top-nav{display:flex!important;align-items:center;gap:5px;padding:10px 0 14px;border-bottom:1px solid #343b45;margin:0 0 16px;overflow-x:auto;flex-shrink:0}.top-nav button{display:flex;align-items:center;gap:8px;white-space:nowrap;width:auto!important;padding:9px 14px!important;border:1px solid transparent;border-radius:7px;background:transparent;color:#b2bdcc;font-size:12px}.top-nav button.active{background:#303b27;color:#b6f654;border-color:#4c6336}.top-nav svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.6}.top-nav .count{font-size:10px;background:#3a4432;padding:1px 5px;border-radius:4px}.sidebar .brand{margin-bottom:20px}.result-fact{display:block;font-size:13px;font-weight:600;white-space:nowrap}.admin-kpi .result-fact{font-size:24px;margin:12px 0 7px}.date-rows-table td{padding:13px 12px!important;vertical-align:top}.date-rows-table td .pace-badge{display:inline-block;margin-top:6px}.date-rows-table th:first-child,.date-rows-table td:first-child{min-width:135px}.date-rows-table{min-width:650px}.trend-panel,.report-alerts{margin-top:16px;padding:18px}.trend-panel h2,.report-alerts h2{font-size:15px;margin:0 0 12px}.trend-panel svg{display:block;width:100%;min-height:180px;max-height:350px}.trend-legend{display:flex;flex-wrap:wrap;gap:12px;font-size:12px;margin:10px 0}.trend-panel p{margin:8px 0}.report-alerts label{display:flex;align-items:center;gap:5px;font-size:12px;white-space:nowrap}.report-alerts input{width:65px;min-height:30px;padding:5px 8px}.decline-alert{display:block;width:100%;text-align:left;background:#382729;border:1px solid #714144;color:#ffb6b8;padding:10px 12px;margin-top:8px;font-size:12px}.overview-month:empty{display:none}.date-note{font-weight:600;color:#dce5ef!important;font-size:12px}.admin-kpi .pace-badge{margin:0}.topbar{min-height:50px}.admin-table-actions #expandChannels[hidden]{display:none!important}@media(max-width:760px){.top-nav{gap:2px}.top-nav button{padding:8px!important;font-size:11px}.admin-kpi .result-fact{font-size:18px}.report-alerts .box-head{flex-wrap:wrap;gap:8px}}
.report-switch button{background:transparent!important;color:#b8c2ce!important;border:1px solid #3a424e!important}.report-switch button.active{background:#303e26!important;color:#c3fc77!important;border-color:#526c3b!important}.cards .admin-kpi{min-height:125px!important;padding:18px!important}.admin-kpi .result-fact{line-height:1.35}.admin-kpi-title{margin-bottom:4px}
.sidebar-views{display:grid;gap:5px;padding:0 0 17px;margin-bottom:13px;border-bottom:1px solid #39414a}.project-tree .sidebar-view{display:flex;align-items:center;gap:9px;width:100%;padding:10px!important;font-size:12px!important;border-radius:7px}.sidebar-view small{margin-left:auto;color:#8e9baa}.sidebar-view-icon{font-size:18px;width:20px;flex-shrink:0}.sidebar-view.green .sidebar-view-icon{color:#8ddca9}.sidebar-view.purple .sidebar-view-icon{color:#bc9bf0}.project-tree .sidebar-view.active{color:#c7fa83;background:#34432a}.report-channel-toggle{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;min-height:22px;padding:0;margin-right:8px;background:#334329;color:#c4f97d;border:1px solid #536a3f;border-radius:5px;font-size:16px}.report-channel-icon{display:inline-flex;width:18px;height:18px;align-items:center;justify-content:center;border-radius:4px;background:#334459;color:#a8cfff;font-size:10px;margin-right:8px}.report-channel-icon.google{background:#3b4130;color:#d1eea0}.date-rows-table .channel-subrow td:first-child{padding-left:30px!important}.date-rows-table .channel-subrow{background:#1d232b}.date-rows-table .channel-subrow .result-fact{font-size:12px;font-weight:400}
.google-budget-panel{padding:18px;margin-top:16px}.google-budget-panel h2{font-size:15px;margin:0 0 10px}.google-budget-panel>p{line-height:1.6;margin-bottom:15px;max-width:1050px}.google-budget-panel td,.google-budget-panel th{padding:11px 9px!important;font-size:12px!important;white-space:nowrap}.google-budget-panel td:first-child{min-width:160px}.google-budget-panel .table-wrap{margin:0}.google-budget-panel .pill{font-size:10px}
#googleConversionsDialog{width:680px;max-width:95vw}#googleConversionsForm{display:grid;gap:13px}#googleConversionsForm>label{display:grid;gap:5px;font-size:12px}#googleConversionsForm input:not([type=checkbox]),#googleConversionsForm select{min-height:35px;padding:8px;font-size:12px}#googleConversionActions{display:grid;gap:5px;max-height:300px;overflow:auto}.google-conversion-choice{display:flex!important;align-items:center;gap:9px;padding:9px;background:#202a34;border-radius:5px;font-size:12px}.google-conversion-choice input{width:15px;height:15px;min-height:15px;flex-shrink:0}
.top-nav .bulk-open{margin-left:auto;background:#28362c;color:#b9f785;border-color:#456040}#bulkDialog{width:1700px;max-width:98vw;height:90vh;max-height:94vh;padding:0;overflow:hidden}#bulkDialog[open]{display:flex;flex-direction:column}#bulkDialog .dialog-head{flex-shrink:0}#bulkDialog .dialog-head h2{font-size:18px}#bulkDialog .dialog-head p{margin:6px 0 0;font-size:11px}.bulk-body{display:flex;flex-direction:column;min-height:0;flex:1;padding:14px 18px;gap:12px}.bulk-tools{display:flex;align-items:center;gap:8px}.bulk-tools .muted{margin-left:auto;font-size:12px}.bulk-grid{flex:1;overflow:auto;min-height:150px;border:1px solid #3a444f;border-radius:7px}.bulk-grid table{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%}.bulk-grid th{position:sticky;top:0;background:#26303b;z-index:3;padding:9px 7px;font-size:11px;text-transform:none;white-space:nowrap}.bulk-grid td{padding:0!important;border-right:1px solid #313b46;border-bottom:1px solid #313b46;min-width:135px;max-width:240px}.bulk-grid th:first-child,.bulk-grid td:first-child{position:sticky;left:0;min-width:35px;max-width:35px;background:#242e38;text-align:center;font-size:11px;z-index:2}.bulk-grid th:nth-child(2),.bulk-grid td:nth-child(2){position:sticky;left:35px;background:#202a34;min-width:200px;z-index:2}.bulk-grid th:first-child,.bulk-grid th:nth-child(2){z-index:4;background:#2a3541}.bulk-grid input{border:0;border-radius:0;background:transparent;min-height:34px;padding:7px 8px;width:100%;font-size:12px;color:#dce5f0;box-shadow:none}.bulk-grid input:focus{background:#334333;outline:1px solid #a5de62}.bulk-grid td:last-child{min-width:290px}.bulk-grid input[readonly]{font-size:10px;color:#8393a5}.bulk-grid td.bulk-invalid{background:#54292e!important;box-shadow:inset 0 0 0 1px #df7d85}.bulk-row-number.saved{color:#b3f56e}.bulk-footer{display:flex;justify-content:flex-end;gap:8px;padding:13px 18px;border-top:1px solid #3a444f;flex-shrink:0}.bulk-footer button{font-size:12px;min-height:35px}.bulk-instructions{font-size:12px;color:#a8b8c9;flex-shrink:0}.bulk-instructions p{max-width:1100px;line-height:1.7}.bulk-instructions textarea{width:100%;height:75px;min-height:60px;font-size:11px}.bulk-instructions[open]{max-height:230px;overflow:auto}.bulk-message{font-size:12px;color:#b5e97f;min-height:17px}.bulk-message.error,#bulkErrors{color:#f5a0a5}#bulkErrors{font-size:11px;max-height:110px;overflow:auto}#bulkErrors p{margin:4px 0}#bulkStop{margin-right:auto}#bulkSave:disabled{opacity:.4}
.sidebar>.nav-label[hidden]{display:none!important}.sidebar-view-section{border:0!important;padding:0!important;margin:0 0 14px!important}.sidebar-view-section>.sidebar-section-heading{padding:8px 8px 12px!important;cursor:pointer;color:#8fa1b5;font-size:10px;letter-spacing:.08em;text-transform:uppercase}.sidebar-view-section .sidebar-views{margin:0!important;padding-bottom:13px}.sidebar-projects-heading{padding:8px;font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#7e91a8}.sidebar-flat-projects{display:grid;gap:3px}.sidebar-flat-projects>button{width:100%;text-align:left}.sidebar-view-section>summary::marker{color:#a7dd6a}
.fx-note{margin:10px 0 16px;line-height:1.5}.fx-warning{color:#f3cb70}.admin-kpi .result-fact{overflow-wrap:anywhere}
.expense-account-card{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px;margin:8px 0;background:#0e1920;border:1px solid #30434d;border-radius:8px}.expense-account-info{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.expense-account-card .actions{flex-shrink:0}.account-subrow{background:#121b22;font-size:12px}.account-subrow td:first-child{padding-left:44px}.account-subrow small{color:#8296a5}.bulk-grid input[data-col="13"],.bulk-grid input[data-col="14"]{min-width:290px}@media(max-width:800px){.expense-account-card{align-items:flex-start;flex-direction:column}}
#bulkWarnings{color:#e6bd63;font-size:12px;line-height:1.5;margin-top:10px}.bulk-grid .bulk-warning{box-shadow:inset 0 0 0 1px #b9903b;background:#292619}.bulk-grid .bulk-invalid{box-shadow:inset 0 0 0 2px #d65b66}.pending-account{border-color:#8b733b;background:#1f2118}.pending-account .pill{margin-left:10px}
.sidebar-specialist-label{display:flex;flex-direction:column;gap:7px;margin:8px 10px 14px;font-size:11px;color:#8da4ba}.sidebar-specialist-label select{width:100%;min-width:0;font-size:12px;line-height:1.4;padding:8px 7px;border-radius:6px;background:#161e25;color:#dbe6ed;border:1px solid #415264}.sidebar-empty{font-size:12px;line-height:1.5;padding:4px 12px}.sidebar-view button:disabled,[data-admin-channel]:disabled{opacity:.4;cursor:default}
#view-overview .management-summary-card{min-height:206px!important;padding:18px!important}#view-overview .management-summary-card .admin-kpi-title{font-size:12px;margin-bottom:12px}#view-overview .summary-period-plan{font-size:25px;line-height:1.25;margin-bottom:14px;color:#edf3fb;letter-spacing:-.3px;font-variant-numeric:tabular-nums}#view-overview .summary-fact-label{font-size:11px;color:#a5bad3;margin-bottom:9px}#view-overview .summary-plan-fact{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px;margin-bottom:10px;font-size:clamp(18px,1.6vw,25px);color:#edf3fb;font-variant-numeric:tabular-nums;line-height:1.3}#view-overview .summary-plan-fact>span{color:#8298af;font-weight:400}#view-overview .management-summary-card .admin-kpi-caption{font-size:10px;margin-top:6px}.management-project-name{display:flex;align-items:flex-start;gap:8px}.management-project-link{padding:0!important;background:none!important;border:0!important;text-align:left;font-size:12px!important;font-weight:650;color:#e5eff8!important;white-space:normal;line-height:1.4}.management-project-cell{min-width:210px!important;max-width:270px}.management-projects-table th:nth-child(2){min-width:125px}.management-date{font-size:11px;color:#9fb4cb;white-space:nowrap}.project-group-start td{border-top:2px solid #4a5563!important}.management-channel{display:flex;gap:8px;align-items:center;font-size:11px}.management-projects-table .result-fact{font-size:12px}.interactive-trend{position:relative}.trend-toggles{gap:7px!important;align-items:center}#app .trend-toggle{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;font-size:11px;border-radius:6px;background:#192028;border:1px solid #37424f;color:#8494a5;opacity:.65}#app .trend-toggle.is-on{color:var(--series-color);border-color:var(--series-color);background:#202a30;opacity:1}#app .trend-toggle i{width:7px;height:7px;border-radius:50%;background:var(--series-color)}#app .trend-toggle small{font-size:10px;color:inherit}#app .trend-toggle:focus-visible{outline:2px solid #d8e5f2;outline-offset:2px}.trend-tooltip{position:absolute;z-index:8;pointer-events:none;max-width:280px;background:#202a34;border:1px solid #5c748a;border-radius:7px;box-shadow:0 8px 22px #0006;padding:9px 12px;font-size:12px;color:#e9f1f8;line-height:1.5}.trend-tooltip[hidden]{display:none}.trend-tooltip-date{font-size:10px;color:#b8c7d8;margin-bottom:3px}.trend-canvas svg{overflow:visible;min-height:215px}.trend-canvas circle[role=button]{cursor:crosshair;outline:none}.trend-canvas circle[role=button]:focus{stroke:#fff;stroke-width:1.5}@media(max-width:760px){#view-overview .management-summary-card{min-height:190px!important}.management-project-cell{min-width:170px!important}.trend-toggles{gap:5px!important}#app .trend-toggle{padding:6px;font-size:10px}.trend-toggle small{display:none}}
.management-channel{display:table-cell;white-space:nowrap}.management-channel .report-channel-icon{display:inline-flex;margin-right:6px;vertical-align:middle}
/* PM workspace: shared data and controls, a separate light presentation. */
body.pm-mode{color-scheme:light;--bg:#f5f7f9;--panel:#fff;--panel2:#f0f3f5;--line:#dde4e9;--ink:#17212b;--muted:#687887;--dim:#8a99a7;--lime:#a4f44c;--limebg:#edf8e0;--green:#3d8620;--red:#ba3549;--yellow:#906419;background:var(--bg);color:var(--ink)}
.pm-shell{display:grid;grid-template-columns:224px minmax(0,1fr);min-height:100vh}.pm-sidebar{position:sticky;top:0;height:100vh;overflow:auto;background:#fff;border-right:1px solid var(--line);padding:18px 14px}.pm-brand{background:#22282e;border-radius:14px;padding:18px 14px;margin-bottom:24px}.pm-brand img{width:100%;max-width:177px;display:block}.pm-brand small{display:block;font-size:10px;letter-spacing:1.8px;text-transform:uppercase;color:#b2c1c8;margin-top:15px}.pm-nav-button,.pm-project-link{display:flex;align-items:center;text-align:left;gap:9px;width:100%;padding:10px 12px;border:0;background:transparent;color:#637180;font-size:12px;font-weight:550;border-radius:8px;margin:3px 0}.pm-nav-button.active,.pm-project-link.active{background:#edf7df;color:#305710}.pm-nav-button:hover,.pm-project-link:hover{background:#f1f5ed}.pm-nav-button:first-child{color:#233323;font-weight:700}#pmTeamNav{padding-bottom:18px;border-bottom:1px solid var(--line)}#pmProjectList{padding-top:18px}#pmProjectList>small{display:block;font-size:10px;letter-spacing:1.3px;margin:0 10px 14px}.pm-dot{height:7px;width:7px;border-radius:50%;flex-shrink:0;background:#9baab6}.pm-dot.green{background:#54aa7c}.pm-dot.yellow{background:#e5b54b}.pm-dot.red{background:#df6876}.pm-main{padding:0 28px 30px;min-width:0}.pm-topbar{display:flex;align-items:center;justify-content:space-between;min-height:66px;border-bottom:1px solid var(--line);font-size:12px;color:#73818c}.pm-account,.pm-heading,.pm-toolbar,.pm-period-extra{display:flex;align-items:center;gap:10px}.pm-account .pill{font-size:10px}.pm-heading{justify-content:space-between;margin:28px 0 22px}.pm-heading h1{font-size:29px;letter-spacing:-.7px;margin:5px 0 0}.pm-eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:1.6px;color:#73818c;font-weight:650}.pm-toolbar{background:#fff;border:1px solid var(--line);padding:12px;border-radius:12px;flex-wrap:wrap;margin-bottom:20px}.pm-toolbar select,.pm-toolbar input{width:auto;max-width:235px;margin:0;height:36px;padding:7px 10px;font-size:12px}.pm-toolbar input[type=search]{flex:1;min-width:160px}.pm-period-extra{font-size:11px;color:#6a7985}.pm-period-extra input[type=number]{width:64px}.pm-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:16px}.pm-summary-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px 20px;position:relative;overflow:hidden}.pm-summary-card:before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:#a4ed56}.pm-summary-card:nth-child(2):before{background:#7da9e6}.pm-summary-card:nth-child(3):before{background:#b6a3e6}.pm-summary-card:nth-child(4):before{background:#5bbda9}.pm-summary-card>span{font-size:11px;color:#6a7986;display:block}.pm-summary-card>strong{display:block;font-size:25px;font-variant-numeric:tabular-nums;letter-spacing:-.6px;margin-top:12px;font-weight:720}.pm-notice{display:block;padding:10px 13px;border-radius:8px;text-align:left;font-size:11px;margin:7px 0;border:1px solid transparent}.pm-notice.red{background:#fff0f1;color:#a42c3f;border-color:#f3d4d9}.pm-notice.yellow{background:#fff8e7;color:#876013;border-color:#eedfb8}#pmAlertStrip{margin-bottom:16px}#pmAlertStrip>small{font-size:10px}.pm-box{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;margin-top:18px}.pm-box-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px 18px;border-bottom:1px solid var(--line)}.pm-box-head h2{font-size:14px;margin:0}.pm-box-head .actions{gap:6px}.pm-table-wrap{overflow:auto;max-height:70vh}.pm-results-table{border-collapse:separate;border-spacing:0;width:100%;font-size:11px;white-space:nowrap;margin:0}.pm-results-table th{background:#f5f8fa;color:#6c7b88;font-size:10px;text-transform:none;font-weight:600;position:sticky;top:0;z-index:3;line-height:1.3}.pm-results-table td,.pm-results-table th{padding:13px 14px;border-bottom:1px solid #e7edf1;text-align:right;vertical-align:middle}.pm-results-table th:first-child,.pm-results-table td:first-child{text-align:left;position:sticky;left:0;z-index:2;min-width:230px;max-width:300px;white-space:normal;background:#fff;border-right:1px solid #e7edf1}.pm-results-table th:first-child{background:#f5f8fa;z-index:4}.pm-results-table td:nth-child(2){color:#73818c;font-size:10px}.pm-results-table td strong{font-weight:650;color:#21313e;font-variant-numeric:tabular-nums}.pm-results-table tbody tr:hover>td{background:#f7faf5}.pm-results-table .pm-channel-row>td{background:#f7f9fc;color:#65798b;font-size:10px}.pm-results-table .pm-channel-row>td:first-child{padding-left:52px}.pm-results-table .pm-row-danger>td:first-child{border-left:3px solid #da5266}.pm-project-heading{display:flex;align-items:center;gap:5px;margin-bottom:7px}.pm-project-heading .row-expand{width:21px;height:21px;min-width:21px;padding:0;border-color:#dce4e8;background:#fff;color:#566771}.pm-name-link,.pm-project-settings{border:0;background:transparent;color:#22313d;padding:2px 3px;text-align:left;font-size:12px}.pm-name-link{font-weight:650;max-width:180px;white-space:normal;line-height:1.3}.pm-project-settings{margin-left:auto;color:#7d8a93;font-size:15px}.pm-project-settings+button{margin-left:0;font-size:12px}.pm-cell-hint{display:block;font-size:9px;max-width:220px;white-space:normal;line-height:1.5;margin-top:5px}.pm-cell-problem{display:block;color:#b43f52;font-size:10px;line-height:1.3;max-width:230px;margin-top:6px}.pm-note-button{border:0;background:transparent;color:#5e7180;font-size:11px;padding:2px;text-align:left;width:190px;white-space:normal;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.pm-editable{position:relative;padding-right:26px!important}.pm-pencil{position:absolute;right:4px;top:50%;transform:translateY(-50%);padding:2px 4px;color:#587344;background:#eef6e7;font-size:14px;border:0;opacity:0;transition:opacity .12s}.pm-editable:hover .pm-pencil,.pm-pencil:focus-visible{opacity:1}.pm-footnote{font-size:10px;color:#7a8a96;padding:12px 18px;margin:0;line-height:1.6}.pm-columns{position:relative;font-size:11px;color:#5a6d7c}.pm-columns summary{border:1px solid var(--line);border-radius:7px;padding:7px 10px;cursor:pointer;list-style:none}.pm-columns[open]{z-index:10;background:white;box-shadow:0 8px 25px #22334412;border:1px solid var(--line);border-radius:9px;padding-bottom:9px}.pm-columns[open]>label{padding:5px 12px;font-size:11px;display:flex;align-items:center;gap:7px;white-space:nowrap}.pm-columns input[type=checkbox]{width:13px;height:13px;margin:0;accent-color:#71a83f}.pm-columns[open]>label:not(:last-child){margin-bottom:0}.pm-columns[open]{position:absolute;right:0;top:0}.pm-box-head>.actions{position:relative}.pm-box-head>.actions:has(.pm-columns){padding-right:95px}.pm-dialog{max-width:540px;width:calc(100% - 30px)}.pm-dialog .dialog-body{padding:20px}.pm-dialog label{margin-bottom:10px}.pm-dialog label:has([type=checkbox]){display:flex;align-items:center;gap:9px}.pm-dialog input[type=checkbox]{width:15px;height:15px;margin:0;accent-color:#71a83f}.pm-dialog textarea{margin:0 0 12px}.pm-dialog .actions{margin-top:18px;justify-content:flex-end}#pmAlertsForm{display:grid;grid-template-columns:1fr 1fr;gap:5px 16px}#pmAlertsForm>.settings-help,#pmAlertsForm>button{grid-column:1/-1}#pmManualStatus{font-size:11px;color:#6e7f8d}.pm-mode button{font-size:12px}.pm-mode button.ghost,.pm-mode button.secondary{background:#fff;color:#425465;border-color:#dbe3e9}.pm-mode button.ghost:hover,.pm-mode button.secondary:hover{background:#f1f5ec;border-color:#b3c59d}.pm-mode input,.pm-mode select,.pm-mode textarea{background:#fff;color:#243443;border-color:#d5dfe6}.pm-mode input:disabled,.pm-mode select:disabled{background:#f0f3f6;color:#71818e}.pm-mode label{color:#586c7c}.pm-mode h2,.pm-mode h3{color:#263744}.pm-mode dialog{background:white;color:#263744;border-color:#dce4e9;box-shadow:0 28px 100px #24384c38}.pm-mode dialog::backdrop{background:#24313e70;backdrop-filter:blur(3px)}.pm-mode .dialog-head,.pm-mode .tabs{background:#f6f8fa;border-color:#dfe6eb}.pm-mode .tabs button{color:#617484}.pm-mode .tabs button.active{color:#47711f;background:#eef7e4;border-color:#d1e3b8}.pm-mode .close{color:#677988;background:transparent}.pm-mode .settings-help,.pm-mode .metric-secondary,.pm-mode .assignment-team{color:#728390}.pm-mode .pill.green,.pm-mode .pace-badge.green{background:#e6f5eb;color:#29734b}.pm-mode .pill.yellow,.pm-mode .pace-badge.yellow{background:#fff2d2;color:#8b6418}.pm-mode .pill.red,.pm-mode .pace-badge.red{background:#fce8ec;color:#ac3a4d}.pm-mode .pill.neutral,.pm-mode .pace-badge.neutral{background:#edf1f5;color:#647687}.pm-mode .battery{border-color:#adb9c0;background:#f3f6f8}.pm-mode .battery i{background:#ced8dd}.pm-mode .battery.green i.on{background:#59ab66}.pm-mode .battery.yellow i.on{background:#e4bb48}.pm-mode .battery.red i.on{background:#db6f7a}.pm-mode .login-screen{background:#f3f6f8}.pm-mode .login-box{background:white;border-color:#dfe6eb;box-shadow:0 14px 60px #22334410}.pm-mode .login-brand{padding:15px;background:#22282e;border-radius:10px}.pm-mode .box,.pm-mode .channel-source-block,.pm-mode .expense-account-card,.pm-mode .conversion-source,.pm-mode .settings-section,.pm-mode .settings-panel,.pm-mode .visual-project-hero,.pm-mode .visual-project-panel,.pm-mode .budget-panel,.pm-mode .kpi-panel,.pm-mode .create-section,.pm-mode .create-card,.pm-mode .sheet-card,.pm-mode .sheet-step{background:#fff;border-color:#dce4e9;color:#273b49}.pm-mode .settings-section h3,.pm-mode .visual-field-label,.pm-mode .create-section h3{color:#526b7b}.pm-mode .project-identity,.pm-mode .project-status-panel,.pm-mode .project-plan-panel,.pm-mode .project-responsible-panel{background:#f6f8fa;border-color:#dce4e9}.pm-mode .trend-panel{background:#fff;border-color:#dde4e9;margin-top:20px;box-shadow:none}.pm-mode .trend-panel svg line{stroke:#e0e7ec}.pm-mode .trend-panel svg text{fill:#738695}.pm-mode .trend-toggle{background:#f4f7f9;color:#627788;border-color:#dee5eb}.pm-mode .trend-toggle.is-on{background:#eef6e6;color:#304334}.pm-mode .trend-toggle span{color:#364958}.pm-mode .trend-tooltip{background:#fff;color:#273b49;box-shadow:0 5px 20px #2233441a}.pm-mode .trend-tooltip-date{color:#718594}.pm-mode .channel-source-block h3{color:#263d4e}.pm-mode #toast{background:#243b2b;color:#e4f6da}.pm-mode #pmAccessUser{max-width:350px}
@media(hover:none){.pm-pencil{opacity:1}}@media(max-width:1100px){.pm-shell{grid-template-columns:190px minmax(0,1fr)}.pm-main{padding:0 18px 24px}.pm-summary-card{padding:16px}.pm-summary-card>strong{font-size:21px}.pm-box-head{align-items:flex-start;flex-wrap:wrap}}@media(max-width:760px){.pm-shell{display:block}.pm-sidebar{position:relative;height:auto;padding:10px 14px;border-right:0;border-bottom:1px solid var(--line)}.pm-brand{display:none}#pmTeamNav{display:flex;overflow:auto;gap:5px;padding:0;border:0}.pm-nav-button{width:auto;white-space:nowrap}.pm-project-link{width:auto;white-space:nowrap}#pmProjectList{display:flex;overflow:auto;max-height:65px;padding-top:6px}#pmProjectList>small{display:none}.pm-summary{grid-template-columns:1fr 1fr}.pm-heading{margin:20px 0 16px}.pm-heading h1{font-size:24px}.pm-heading .actions{gap:5px}.pm-main{padding:0 12px 20px}.pm-toolbar{gap:7px}.pm-toolbar select{max-width:100%}.pm-results-table td:first-child,.pm-results-table th:first-child{min-width:180px;max-width:220px}.pm-box-head .actions{flex-wrap:wrap}.pm-box-head>.actions:has(.pm-columns){padding-right:85px}.pm-topbar{min-height:52px;font-size:10px}.pm-account{gap:5px}.pm-summary-card>strong{font-size:23px}}
.pm-mode #pmChart{background:transparent;padding:0;border:0;border-radius:0}.pm-pencil:active{transform:translateY(-50%)}.pm-mode .trend-panel svg path[data-trend-series=clicks]{stroke:#649627}.pm-mode .trend-panel svg path[data-trend-series=leads]{stroke:#488bcb}.pm-mode .trend-panel svg path[data-trend-series=spend]{stroke:#d28b36}
body.pm-mode :is(#projectDialog,#createDialog,#sheetsDialog,#conversionDialog,#googleConversionsDialog){background:#fff;border-color:#d9e2e8;color:#253947}body.pm-mode :is(#projectDialog,#createDialog)>.dialog-head{background:#f6f8fa;color:#243b49}body.pm-mode #projectEdit .project-panel{background:#fff;border-color:#dce5eb}body.pm-mode #projectEdit .health-panel{background:#f4f9ed}body.pm-mode :is(#projectEdit,#project,#createDialog) :is(input,select,textarea){background:#fff;color:#243747;border-color:#d5dfe5;color-scheme:light}body.pm-mode #projectEdit :is(input,select,textarea):disabled{background:#f2f5f7;color:#7e8c95}body.pm-mode :is(#projectEdit,#createDialog) label{color:#607687}body.pm-mode :is(.project-panel-heading,.create-section-title) h3{color:#263b4a}body.pm-mode :is(.create-footer,.settings-save-row){background:#fff!important;border-color:#dce5eb}body.pm-mode .create-channel{background:#f5f8fa;border-color:#dce5eb}body.pm-mode .create-eyebrow{color:#678d43}body.pm-mode .single-success-battery{border-color:#aab9a1;background:#ecf1e7}body.pm-mode .single-success-battery:after{background:#aab9a1}body.pm-mode .health-foot{color:#5a7348}body.pm-mode #projectEdit .reset-success{background:#fff;color:#728265;border-color:#d4dfc9}body.pm-mode :is(.sheet-config,.sheet-mapping,.sheet-filter,.sheet-section,.sheets-settings,.conversion-chooser,.connection-card,.account-directory,.meta-event-options){background:#f7f9fb;border-color:#dce5eb;color:#354d5c}body.pm-mode :is(.sheet-tab-card,.sheet-mapping-card,.source-type-button){background:#fff;border-color:#dce5eb;color:#354d5c}body.pm-mode .settings-save-row .secondary{background:#f2f5f7;color:#566f80}body.pm-mode .project-panel-heading p{color:#7a8b97}
body.pm-mode #projectEdit .health-panel{background:#f4f9ed!important}body.pm-mode .health-caption{color:#52703b}body.pm-mode .health-panel .health-value,body.pm-mode .health-panel strong{color:#385323}body.pm-mode .project-eyebrow{color:#718b59}

/* v0.34 — stronger success battery in PM result rows. */
body.pm-mode .pm-results-table .battery{position:relative;gap:3px;padding:3px;border:1.5px solid #687c8a;border-radius:4px;background:#eef2f5;margin:2px 5px 2px 0;box-shadow:0 1px 2px #172b3a15}
body.pm-mode .pm-results-table .battery:after{content:'';position:absolute;right:-4px;top:6px;width:3px;height:9px;background:#687c8a;border-radius:0 2px 2px 0}
body.pm-mode .pm-results-table .battery i{width:6px;height:14px;background:#ccd6de;border-radius:1px}
body.pm-mode .pm-results-table .battery[data-level="2"] i.on{background:#d83b50}
body.pm-mode .pm-results-table .battery[data-level="3"] i.on{background:#d8751b}
body.pm-mode .pm-results-table .battery[data-level="4"] i.on{background:#c89c10}
body.pm-mode .pm-results-table .battery[data-level="5"] i.on{background:#339b42}
/* v0.35: a dedicated success column, sortable headers and denser PM rows. */
body.pm-mode .pm-results-table th,body.pm-mode .pm-results-table td{padding:8px 11px}
body.pm-mode .pm-results-table .pm-project-heading{margin-bottom:0;gap:6px}
body.pm-mode .pm-results-table .pm-name-link{font-size:12px;line-height:1.3;padding:1px 2px}
body.pm-mode .pm-results-table .pm-project-heading .row-expand{background:#edf0f3!important;color:#61717e!important;border:1px solid #cfd8df!important;box-shadow:none;width:20px;min-width:20px;height:20px;line-height:18px!important}
body.pm-mode .pm-results-table .pm-project-heading .row-expand:hover{background:#e0e6eb!important;color:#405867!important;border-color:#aebdc8!important}
body.pm-mode .pm-results-table .pm-success-cell{text-align:center;min-width:85px;width:85px}
body.pm-mode .pm-results-table .pm-period-cell{color:#73818c;font-size:10px;white-space:nowrap}
body.pm-mode .pm-results-table td:nth-child(2){color:inherit;font-size:inherit}
body.pm-mode .pm-results-table .battery{border-color:#8c9ca8;background:#f2f5f7;box-shadow:none;margin:0 4px 0 0}
body.pm-mode .pm-results-table .battery:after{background:#8c9ca8}
body.pm-mode .pm-results-table .battery i{background:#d7dfe5}
body.pm-mode .pm-results-table .battery[data-level="2"] i.on{background:#d96776}
body.pm-mode .pm-results-table .battery[data-level="3"] i.on{background:#d99a59}
body.pm-mode .pm-results-table .battery[data-level="4"] i.on{background:#ceb354}
body.pm-mode .pm-results-table .battery[data-level="5"] i.on{background:#6caf79}
body.pm-mode .pm-results-table .pm-success-cell>.pill{background:#eef2f5;color:#70818e;border:1px solid #d6dfe6;font-size:9px;padding:2px 5px}
body.pm-mode .pm-results-table .pm-sort-button{display:inline-flex;justify-content:flex-end;align-items:center;gap:5px;max-width:100%;border:0;background:none;color:#657a89;font-size:10px;font-weight:600;border-radius:4px;padding:2px 0;white-space:nowrap}
body.pm-mode .pm-results-table th:first-child .pm-sort-button{justify-content:flex-start}
body.pm-mode .pm-results-table th[data-column=success]{text-align:center;min-width:85px}
body.pm-mode .pm-results-table th[aria-sort]:not([aria-sort=none]) .pm-sort-button{color:#375b36}
body.pm-mode .pm-results-table .pm-sort-button:hover{color:#2b4658;filter:none}
body.pm-mode .pm-results-table .pm-sort-button:focus-visible{outline:2px solid #9ab27d;outline-offset:3px}
body.pm-mode .pm-results-table .pm-sort-button:active{transform:none}
body.pm-mode .pm-results-table .pm-sort-arrow{font-size:11px;color:#a2aeb8;font-weight:500}
body.pm-mode .pm-results-table th:not([aria-sort=none]) .pm-sort-arrow{color:#678d47}
body.pm-mode .pm-results-table .pm-cell-hint{font-size:9px;line-height:1.3;margin-top:3px;max-width:215px}
body.pm-mode .pm-results-table .pm-cell-problem{font-size:9px;line-height:1.25;margin-top:3px}
body.pm-mode .pm-results-table .pm-note-button{-webkit-line-clamp:2;font-size:10px;line-height:1.4}
body.pm-mode .pm-results-table .pm-channel-row>td{padding-top:6px;padding-bottom:6px}
/* v0.36: management views, trustworthy facts, goals and decision-oriented reporting. */
.a-workbench{background:transparent!important;border:0!important;padding:0!important;margin:0 0 16px!important;min-width:0}.a-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 12px}.a-controls select{width:230px;max-width:100%;margin:0;padding:7px 10px;font-size:12px;min-height:34px;background:var(--panel);color:var(--ink)}.a-status-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-left:auto;font-size:11px}.a-status-line small{font-size:10px}.a-status-button{border:1px solid var(--line);background:var(--panel);color:var(--ink);padding:7px 10px;font-size:11px}.a-focus-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:10px}.a-focus-card{display:flex;align-items:center;gap:14px;text-align:left;background:var(--panel);border:1px solid var(--line);color:var(--ink);padding:14px;border-radius:10px}.a-focus-card strong{font-size:23px;font-variant-numeric:tabular-nums}.a-focus-card span{font-size:11px;line-height:1.4;color:var(--muted)}.a-focus-card.active{border-color:#87ae58;background:var(--limebg)}.a-issues{background:var(--panel);border:1px solid var(--line);border-radius:9px;padding:10px 14px}.a-issues>summary{font-size:12px;font-weight:600;cursor:pointer;color:var(--ink)}.a-issue-list{padding-top:8px}.a-issue-row{display:grid;grid-template-columns:minmax(120px,1fr) minmax(180px,2fr) minmax(100px,1fr) auto;gap:10px;align-items:center;padding:9px 0;border-top:1px solid var(--line);font-size:11px}.a-issue-row>span{color:var(--ink);line-height:1.45}.a-issue-row.red{border-left:3px solid #dc7886;padding-left:10px}.a-issue-row.yellow{border-left:3px solid #d9bb68;padding-left:10px}.a-project-button{border:0;background:transparent;color:var(--ink);text-align:left;padding:2px;font-size:12px;font-weight:650}.a-warning{color:#b77c28;font-size:11px}.a-dialog-body{max-height:74vh;overflow:auto}.a-data-project{border:1px solid var(--line);border-radius:8px;background:var(--panel);padding:14px;margin-bottom:12px}.a-data-project>strong{margin-right:10px}.a-data-project p{font-size:11px;line-height:1.6;overflow-wrap:anywhere;margin:8px 0}.a-data-project .pill{font-size:10px}.a-history-event{border-bottom:1px solid var(--line);padding:10px 0}.a-history-event>small,.a-history-event>strong{display:block;margin-bottom:6px}.a-history-event p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.a-history-link{display:block;border:0;background:transparent;padding:3px 0;color:var(--muted);font-size:10px}.a-rule-field{border:1px solid var(--line);border-radius:9px;margin:12px 0;padding:12px}.a-rule-field legend{font-weight:650;font-size:12px}.a-rule-field label{display:flex;align-items:center;gap:8px;margin:8px 0;font-size:12px;line-height:1.5}.a-rule-field input[type=checkbox]{width:14px;height:14px;margin:0;accent-color:#7fae4c}.a-rule-button{margin-top:10px}.a-goal-cell{min-width:230px;max-width:330px}.a-goal-line{display:grid;grid-template-columns:1fr auto;align-items:center;gap:2px 8px;padding:3px 0;font-size:11px;white-space:nowrap}.a-goal-line>span:first-child{text-align:left;color:var(--muted)}.a-goal-line>.pill{grid-column:1/-1;justify-self:end;font-size:9px}.a-data-link{background:transparent;border:0;font-size:11px;padding:2px;color:var(--muted)}.a-data-link.red{color:#c85f73}.a-data-link.yellow{color:#a78732}.a-data-link.green{color:#6d9b64}.a-renewal-cell{min-width:110px}.a-renewal-cell .pill{display:block;width:fit-content;margin:4px 0 0 auto;font-size:9px}.a-forecast-line{padding:3px 0}.a-forecast-line>strong,.a-forecast-line>small{display:block;font-size:11px}.a-forecast-line>.pill{margin-top:3px;font-size:9px}.a-delta-cell>strong,.a-delta-cell>span{display:block;font-size:11px}.a-charts{padding:18px!important;margin-top:18px!important;position:relative;min-width:0}.a-chart-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:13px}.a-chart-heading h2{font-size:15px;margin:0;margin-right:auto}.a-chart-heading select{width:235px;margin:0;padding:6px 8px;font-size:11px}.a-chart-heading label{display:flex;align-items:center;gap:6px;font-size:10px}.a-chart-heading input[type=checkbox]{width:13px;height:13px;margin:0;accent-color:#7d9d4d}.a-chart-plots{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}.a-mini-chart{border:1px solid var(--line);border-radius:9px;padding:12px;min-width:0;background:var(--panel)}.a-mini-chart h3{margin:0 0 10px;font-size:12px}.a-mini-chart svg{display:block;width:100%;height:auto;min-height:130px}.a-chart-help{color:var(--muted);font-size:10px;line-height:1.6;margin:12px 0 0}.a-chart-events{grid-column:1/-1;font-size:11px;color:var(--muted)}.a-charts .trend-toggle{font-size:11px;padding:6px 10px}.a-charts .trend-tooltip{min-width:205px;max-width:300px;font-size:11px;pointer-events:none}.a-charts .trend-tooltip>strong{display:block;font-size:12px;margin-bottom:5px}.a-chart-plots:has(.a-mini-chart:only-child){grid-template-columns:1fr}.a-source-foot{color:var(--muted);font-size:10px}.pm-mode .a-workbench{margin-bottom:14px!important}.pm-mode .pm-box{padding:0!important}.pm-mode .pm-box-head{padding:13px 16px}.pm-mode .pm-results-table th,.pm-mode .pm-results-table td{font-size:12px}.pm-mode .pm-results-table th .pm-sort-button{font-size:11px}.pm-mode .pm-results-table .pm-cell-hint{font-size:10px}.pm-mode .pm-results-table .pm-period-cell{font-size:11px}.pm-mode .pm-results-table .a-goal-line{font-size:11px}.pm-mode .pm-results-table .a-goal-line strong{font-size:12px}.pm-mode .pm-columns[open]{max-height:65vh;overflow:auto;min-width:200px}.pm-mode .pm-table-wrap{max-height:none}.pm-mode .a-data-link.green{color:#42734e}.pm-mode .a-data-link.yellow{color:#9c7b2b}.pm-mode .a-data-link.red{color:#b5485b}.pm-mode .a-charts{background:#fff}.pm-mode .a-mini-chart{background:#fff}.pm-mode .a-chart-heading h3{color:#314958}.pm-mode .a-charts .trend-tooltip{background:#fff;color:#253b4c}.pm-mode .a-history-link{color:#708796}.pm-mode .a-chart-help{color:#718591}.pm-mode .a-issue-row.red{background:#fff9fa}.pm-mode .a-issue-row.yellow{background:#fffdf7}.pm-mode .a-issue-row .ghost{font-size:10px;padding:5px 8px}.pm-mode .a-rule-field{background:#f8fafb}.pm-mode .a-controls .ghost{padding:7px 10px;font-size:11px}.pm-mode .pm-heading{margin:20px 0 16px}.pm-mode .pm-toolbar{margin-bottom:14px}.pm-mode[data-a-view=daily] #pmSummary,.pm-mode[data-a-view=data] #pmSummary,.pm-mode[data-a-view=renewals] #pmSummary,body[data-a-view=daily] #summary,body[data-a-view=data] #summary,body[data-a-view=renewals] #summary{display:none}
@media(max-width:1050px){.a-status-line{margin-left:0;width:100%}.a-chart-plots{grid-template-columns:1fr}.a-issue-row{grid-template-columns:1fr 2fr auto}.a-issue-row>small{display:none}.a-focus-card{gap:9px;padding:12px}.a-focus-card span{font-size:10px}}@media(max-width:650px){.a-focus-cards{grid-template-columns:1fr 1fr}.a-controls select{width:100%}.a-chart-heading select{width:100%}.a-chart-heading label{font-size:10px}.a-issue-row{grid-template-columns:1fr auto}.a-issue-row>span{grid-column:1/-1;grid-row:2}.a-chart-heading h2{font-size:13px}.a-charts{padding:12px!important}}
.a-event-form{padding:14px 0;border-top:1px solid var(--line);margin-top:12px}.a-event-form input{max-width:200px}.a-goal-cell details summary{font-size:10px;color:var(--muted);cursor:pointer;margin-top:5px}.a-goal-cell details p{font-size:11px;white-space:normal;margin:5px 0}.pm-mode .pm-results-table .pm-account-row>td{font-size:10px;background:#f8fafc;padding:6px 11px;color:#718595}.pm-mode .pm-results-table .pm-account-row>td:first-child{padding-left:45px;font-size:10px;min-width:230px}.pm-mode .pm-results-table .pm-channel-row>td:first-child{padding-left:25px}.pm-mode .pm-results-table .pm-channel-row .row-expand{margin-right:6px;background:#eef2f5!important;color:#778a97!important;border-color:#d9e2e8!important}.a-sticky-head{position:fixed;z-index:20;overflow:hidden;background:var(--panel);box-shadow:0 3px 8px #24384818;pointer-events:auto}.a-sticky-head table{margin:0;border-collapse:separate;border-spacing:0;table-layout:fixed}.a-sticky-head th{background:var(--panel2);padding:8px 11px;border-bottom:1px solid var(--line);white-space:nowrap}.a-sticky-head .pm-sort-button{font-size:11px;background:transparent;border:0;padding:2px 0;color:var(--muted)}.a-sticky-head .pm-sort-arrow{margin-left:5px}.pm-mode .a-sticky-head th{background:#f5f8fa}.a-sticky-head[hidden]{display:none!important}

.a-alert-threshold{display:flex;align-items:center;gap:8px;padding:8px 12px;color:var(--muted);font-size:12px;flex-wrap:wrap}.a-alert-threshold input{width:65px;min-width:65px;padding:5px 7px}.a-sticky-head th{box-sizing:border-box}

.campaign-filter-toggle{display:flex;align-items:center;gap:7px;font-size:12px;width:fit-content;margin:9px 0;color:var(--text)}.campaign-filter-toggle input{width:15px!important;height:15px;margin:0;accent-color:#79a84d}.campaign-filter-hint{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border:1px solid var(--line);border-radius:50%;font-size:11px;color:var(--muted);cursor:help}.campaign-filter-toggle:focus-within{outline:1px solid var(--line);outline-offset:3px}

.sheet-status-panel{margin:12px 0}.sheet-status-picker{position:relative;border:1px solid var(--line);border-radius:7px;padding:10px 12px;min-width:0}.sheet-status-picker summary{cursor:pointer;font-size:13px}.sheet-status-options{max-height:240px;overflow:auto;padding-top:10px}.sheet-status-options label{display:flex;align-items:center;gap:8px;margin:7px 0;font-size:13px}.sheet-status-options input{width:15px!important;height:15px;margin:0}.sheet-status-options label:has(input:disabled){opacity:.5}.bulk-tools{flex-wrap:wrap}

.sheet-status-panel{padding:14px!important}.sheet-status-grid{align-items:start}.sheet-status-options label{flex-direction:row!important;justify-content:flex-start!important;line-height:1.35}.sheet-status-options input{flex:0 0 15px}.sheet-status-options{max-height:210px}.sheet-status-picker{padding:10px 12px!important}

/* Keep validation feedback scrollable without covering the import footer. */
#bulkDialog .bulk-body{overflow:auto}
#bulkErrors,#bulkWarnings{flex:0 0 auto;max-height:16vh;overflow:auto;margin:0}
#bulkErrors:empty,#bulkWarnings:empty{display:none}
#bulkWarnings p{margin:4px 0}

/* Project connections overview */
.source-project-card{display:grid;grid-template-columns:minmax(220px, .8fr) minmax(0, 1.2fr);gap:14px 24px;align-items:center}
.source-project-main{display:grid;gap:10px;justify-items:start}
.source-project-actions,.source-project-pills{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.source-project-channels{display:grid;gap:6px}
.source-project-channel{display:grid;grid-template-columns:64px minmax(0,1fr);gap:8px;align-items:start}
.source-project-platform{font-weight:650;padding-top:4px}
.conversion-picker{width:min(480px,calc(100% - 24px))}
#conversionPickerForm{display:grid;gap:12px}
#conversionPickerForm label{display:grid;gap:5px}
#conversionPickerForm button[type=submit]{justify-self:end}
@media(max-width:850px){.source-project-card{grid-template-columns:1fr}}
.source-project-channel-unused .source-project-platform{color:var(--muted,#94a7b9)}
