
:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172033;background:#f5f7fb;font-synthesis:none;--blue:#2463eb;--muted:#778197;--line:#e8ecf3}*{box-sizing:border-box}body{margin:0;font-size:16px}button,input,select,textarea{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button,a{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #91b5ff;outline-offset:3px}aside{position:fixed;inset:0 auto 0 0;width:244px;background:#0d1321;color:#b4bdd0;padding:34px 20px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;color:white;font-weight:750;font-size:22px;letter-spacing:-.7px}.logo{background:#2463eb;width:36px;height:37px;border-radius:10px;color:white;text-align:center;padding-top:4px;font-size:25px;letter-spacing:-5px;padding-right:5px}.logo span{color:#b5d0ff}.brand-sub{font-size:11px;letter-spacing:1px;color:#97a1b7;align-self:flex-end;margin-bottom:5px}.workspace{border:1px solid #293143;border-radius:10px;display:flex;align-items:center;gap:12px;padding:13px 10px;margin:36px 0 26px;font-size:14px;color:#f1f4fa}.workspace small,.profile small{display:block;font-size:12px;color:#8d99af;margin-top:5px}.workspace-icon{background:#27314a;padding:9px 12px;border-radius:8px}.nav-label{font-size:11px;letter-spacing:1.5px;padding-left:14px;color:#77829a}nav a{display:flex;align-items:center;gap:13px;padding:13px 15px;border-radius:8px;margin:5px 0;font-size:14px}nav a.active{background:#2463eb;color:white}nav a:hover:not(.active){background:#1c2537;color:white}.nav-icon{font-size:19px;width:21px;text-align:center}.soon{font-size:10px;margin-left:auto;background:#252e40;color:#aeb9cf;padding:4px 6px;border-radius:4px}.sidebar-bottom{margin-top:auto;padding-top:28px}.mini-label{font-size:10px;color:#8292ad;letter-spacing:1.4px}.sidebar-bottom h3{color:#e5eaf4;font-size:18px;font-weight:500;line-height:1.5}.sidebar-bottom p{font-size:12px;color:#8390a7}.profile{display:flex;align-items:center;gap:10px;border-top:1px solid #273043;margin-top:28px;padding-top:22px;font-size:13px;color:#e0e6f1}.avatar{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:#dce7ff;color:#2d58aa;font-size:12px;font-weight:700}.small{width:34px;height:34px}.shell{margin-left:244px}header{height:88px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 42px;gap:24px}.breadcrumb{font-size:14px;color:#8a93a5}.breadcrumb span{margin:0 15px;color:#c0c7d2}.breadcrumb strong{font-weight:500;color:#414d62}.search{margin-left:auto;display:flex;align-items:center;gap:10px;color:#8490a7}.search input{border:0;background:transparent;width:225px;font-size:13px;padding:9px;outline-offset:0}main{padding:36px 42px;max-width:1700px;margin:auto;min-height:calc(100vh - 140px)}.eyebrow{text-transform:uppercase;color:#74829a;font-size:11px;letter-spacing:1.7px;font-weight:600}.page-top{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:28px}h1{font-size:30px;letter-spacing:-1px;margin:9px 0 10px;font-weight:650}p.sub{margin:0;color:#7b8599;font-size:14px}.button{border:1px solid var(--blue);border-radius:7px;padding:11px 16px;background:var(--blue);color:white;font-size:14px;font-weight:550;white-space:nowrap}.button:hover{filter:brightness(.95)}.secondary{background:white;color:#46526a;border-color:#dce2ec}.hero{background:#101a30;border-radius:13px;padding:27px 30px;color:white;display:flex;align-items:center;justify-content:space-between;overflow:hidden;position:relative;margin-bottom:25px}.hero:after{content:'';width:300px;height:300px;border:42px solid #1f3b72;border-radius:50%;position:absolute;right:-95px;top:-130px;opacity:.5}.hero h2{font-size:23px;letter-spacing:-.4px;margin:9px 0}.hero p{font-size:14px;color:#a8bad8;margin:9px 0}.hero .eyebrow{color:#81a8ff}.hero .button{z-index:1;background:#243757;border-color:#405471;margin-right:25px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:24px 0}.stat,.panel{background:white;border:1px solid var(--line);border-radius:11px}.stat{padding:22px}.stat-top{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#6e7a90}.stat-icon{background:#eff4ff;color:#3169de;border-radius:8px;padding:7px 10px;font-size:17px}.stat-value{font-size:30px;font-weight:650;letter-spacing:-.8px;margin:16px 0 9px}.stat-note{font-size:12px;color:#8490a3}.stat-note b{font-weight:500;color:#1d916c}.columns{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:22px}.panel{padding:23px;margin-bottom:22px;min-width:0}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.panel h2{margin:0;font-size:16px;font-weight:600}.text-button{background:none;border:0;color:var(--blue);font-size:13px;padding:4px}.panel-caption{font-size:12px;color:#8b95a7;margin-top:6px}.chart{display:flex;gap:18px;align-items:flex-end;height:166px;padding:15px 0 0;border-bottom:1px solid var(--line)}.bar-group{flex:1;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:9px}.bar{width:100%;max-width:65px;background:#3b73ee;border-radius:5px 5px 0 0;min-height:3px}.bar-group:nth-child(2) .bar{background:#6995f3}.bar-group:nth-child(3) .bar{background:#9cbbfa}.bar-group:nth-child(4) .bar{background:#bdd2fb}.bar-labels{display:flex;gap:18px;margin-top:12px}.bar-labels span{flex:1;text-align:center;font-size:11px;color:#7a879b}.chart-total{font-size:28px;font-weight:600;letter-spacing:-.6px}.chart-total small{font-size:12px;font-weight:400;color:#8290a4;letter-spacing:0;margin-left:8px}.task-row{display:flex;align-items:flex-start;gap:12px;padding:15px 0;border-bottom:1px solid #f0f2f7}.task-row:last-child{border-bottom:0}.task-row input{accent-color:var(--blue);width:17px;height:17px;margin-top:3px}.task-row strong{display:block;font-size:14px;font-weight:500}.task-row small{display:block;color:#8a95a8;font-size:12px;margin-top:6px}.task-row.done strong{text-decoration:line-through;color:#939bad}.task-row .text-button{margin-left:auto}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;white-space:nowrap;text-align:left}th{font-size:11px;color:#8c97a8;font-weight:500;letter-spacing:.5px;padding:0 12px 14px}td{padding:15px 12px;border-top:1px solid #eef1f6;font-size:13px;color:#566277}td:first-child{padding-left:0}th:first-child{padding-left:0}.person{display:flex;gap:11px;align-items:center}.person strong{display:block;font-size:13px;font-weight:550;color:#243149}.person small{font-size:11px;color:#909aab;display:block;margin-top:4px}.initials{width:33px;height:33px;border-radius:8px;background:#ecf1fd;color:#5479be;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:600}.badge{padding:5px 9px;border-radius:5px;font-size:11px;background:#edf3ff;color:#4a75ca}.badge.qualified{background:#f1edff;color:#8364ba}.badge.proposal{background:#fff4df;color:#a47d2c}.badge.won{background:#e7f7ef;color:#24865b}.board{display:grid;grid-template-columns:repeat(4,minmax(220px,1fr));gap:18px;overflow:auto;padding-bottom:20px}.lane{background:#edf0f6;border:1px solid #e4e9f1;border-radius:10px;padding:15px;min-height:400px}.lane h2{font-size:14px;margin:3px 0 8px}.lane-total{font-size:12px;color:#8994a7;margin-bottom:20px}.deal{background:white;border:1px solid #e0e6f0;border-radius:9px;padding:17px;margin-bottom:12px;cursor:grab}.deal h3{font-size:14px;margin:0 0 8px}.deal p{font-size:12px;color:#8791a4}.deal strong{font-size:16px}.deal select{display:block;width:100%;margin-top:16px;font-size:12px;padding:7px;border-color:#dfe5ef;background:#fafbfe;color:#59667b}.placeholder{text-align:center;padding:65px 24px;max-width:800px;margin:40px auto}.placeholder-icon{font-size:36px;color:var(--blue);background:#eef4ff;width:78px;height:78px;border-radius:20px;display:grid;place-items:center;margin:0 auto 25px}.placeholder h2{font-size:26px;margin-bottom:12px}.placeholder p{color:#7c889c;font-size:15px;line-height:1.8;max-width:470px;margin:0 auto 25px}.feature-list{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:24px}.feature-list span{border:1px solid var(--line);border-radius:7px;padding:10px;color:#6b7990;font-size:13px}.empty{padding:36px;text-align:center;color:#8390a4}.toolbar{display:flex;gap:12px;align-items:center;margin-bottom:22px}.toolbar select{padding:9px;border:1px solid #dce3ee;border-radius:7px;background:white;color:#526078}.toolbar span{margin-left:auto;color:#8590a4;font-size:13px}footer{display:flex;justify-content:space-between;padding:0 42px 25px;font-size:11px;color:#98a1b2}footer i{display:inline-block;width:6px;height:6px;background:#8ca2c5;border-radius:50%;margin-right:6px}dialog{border:0;border-radius:14px;padding:28px;width:460px;max-width:calc(100vw - 32px);box-shadow:0 25px 100px #0c183350}dialog::backdrop{background:#0e172b88;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.dialog-heading h2{font-size:22px;margin:0}.icon-button{border:0;background:none;font-size:26px;color:#8390a4}#fields label{display:block;font-size:13px;color:#637088;margin:14px 0 7px}#fields input,#fields select{display:block;width:100%;padding:11px;border:1px solid #d6deeb;border-radius:6px;margin-top:7px;background:white;color:#27344b}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}#form-error{color:#bb3449;font-size:13px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#172640;color:white;padding:13px 22px;border-radius:8px;font-size:14px;display:none;z-index:10}.search-message{color:#6780a5;font-size:14px;margin-bottom:20px}@media(min-width:1450px){main{padding-top:45px}.chart{height:190px}}@media(max-width:1100px){aside{width:205px;padding:28px 15px}.shell{margin-left:205px}main{padding:28px 24px}header{padding:0 24px}.stats{gap:10px}.stat{padding:17px}.columns{grid-template-columns:1fr}.sidebar-bottom h3{font-size:16px}}@media(max-width:700px){aside{position:relative;width:100%;padding:18px}.brand{font-size:22px}.workspace,.nav-label,.sidebar-bottom{display:none}nav{display:flex;overflow:auto;margin-top:15px;gap:6px}nav a{flex-shrink:0;padding:10px;font-size:12px}.nav-icon,.soon{display:none}.shell{margin-left:0}header{height:65px;padding:0 18px}.breadcrumb{display:none}.search{margin-left:0;flex:1}.search input{width:100%}main{padding:25px 18px}.page-top{align-items:flex-start}h1{font-size:25px}.sub{line-height:1.6}.hero{padding:23px}.hero .button{display:none}.hero h2{font-size:20px}.stats{grid-template-columns:repeat(2,1fr)}.stat-value{font-size:26px}.panel{padding:19px}.board{grid-template-columns:repeat(4,250px)}footer{padding:0 18px 20px}footer span:last-child{display:none}}
/* Keep record details and controls readable at every viewport. */
td,.person strong,.badge,.task-row small,.deal p,.deal select,.toolbar select{font-size:14px}.person small{font-size:13px}.bar-labels span{font-size:13px}select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,#7a879b 50%),linear-gradient(135deg,#7a879b 50%,transparent 50%)!important;background-position:calc(100% - 15px) 50%,calc(100% - 10px) 50%!important;background-size:5px 5px!important;background-repeat:no-repeat!important;padding-right:30px!important}
/* SiteNifty brand palette, matched to sitenifty.co.uk. */
:root{color-scheme:dark;--blue:#b1ff14;--muted:#aab2a4;--line:#2c3028;background:#080a08;color:#f5f5ef}body{background:#080a08}aside{background:#000;color:#aab2a4;border-right:1px solid #262b22;padding-top:20px}.brand{display:flex;justify-content:center;position:relative;min-height:117px;gap:0}.brand-logo{display:block;position:relative;width:192px;height:110px;overflow:hidden;flex-shrink:0}.brand-logo img{position:absolute;width:244px;max-width:none;left:-29px;top:-53px}.brand-sub{position:absolute;right:7px;bottom:-8px;color:#b1ff14;letter-spacing:2px}.workspace{margin-top:28px;border-color:#30372a;color:#f5f5ef}.workspace-icon{background:#202b14;color:#b1ff14}.workspace small,.profile small,.nav-label,.mini-label,.sidebar-bottom p{color:#a1ac97}nav a.active{background:#b1ff14;color:#142003;font-weight:650}nav a:hover:not(.active){background:#1c2415;color:#e4f5cc}.soon{background:#252d1e;color:#bec9b0}.sidebar-bottom h3,.profile{color:#e4e9df}.profile{border-color:#2c3028}.avatar{background:#28371b;color:#c2ff53}header{background:#0e110d;border-color:#2c3028}.breadcrumb,.search{color:#aab2a4}.breadcrumb strong,.search input{color:#e2e8da}.breadcrumb span{color:#5c6854}.search input::placeholder{color:#a1ac97}.eyebrow,p.sub{color:#aab2a4}h1{color:#f5f5ef}.button{background:#b1ff14;border-color:#b1ff14;color:#142003;font-weight:650}.button:hover{background:#c2ff53;filter:none}.secondary{background:#172011;color:#d8e6cb;border-color:#415332}.hero{background:radial-gradient(ellipse at 100% 30%,#30471166,transparent 70%),#11170d;border:1px solid #354527}.hero:after{border-color:#729c31;opacity:.15}.hero .eyebrow{color:#b1ff14}.hero p{color:#b4c5a4}.hero .button{background:#253619;border-color:#526a37;color:#d6f2ba}.stat,.panel{background:#111410;border-color:#2c3028}.stat-top,.stat-note,.panel-caption{color:#aab2a4}.stat-icon{background:#26351a;color:#b1ff14}.stat-value,.chart-total{color:#f5f5ef}.stat-note b{color:#b1ff14}.chart-total small,.bar-labels span{color:#aab2a4}.bar{background:#b1ff14}.bar-group:nth-child(2) .bar{background:#91cf28}.bar-group:nth-child(3) .bar{background:#709d2d}.bar-group:nth-child(4) .bar{background:#4d6c28}.task-row{border-color:#2c3028}.task-row small{color:#aab2a4}.task-row.done strong{color:#8c9782}th{color:#aab2a4}td{border-color:#2c3028;color:#d6dfce}.person strong{color:#f0f3eb}.person small{color:#aab2a4}.initials{background:#243419;color:#c2e7a0}.badge{background:#27391a;color:#c8ed9f}.badge.qualified{background:#303a23;color:#d2dfab}.badge.proposal{background:#40371b;color:#edce7d}.badge.won{background:#193d2c;color:#8ae0ae}.lane{background:#10160c;border-color:#2c3028}.lane-total,.deal p{color:#aab2a4}.deal{background:#181e13;border-color:#35422c}.deal select{background-color:#11170d;color:#d6e3cb;border-color:#425135}.placeholder-icon{background:#26351a;color:#b1ff14}.placeholder p,.feature-list span,.empty,.toolbar span{color:#aab2a4}.toolbar select{background-color:#141b0f;color:#d6e3cb;border-color:#425135}footer{color:#9ba68f}footer i{background:#b1ff14}dialog{background:#111410;color:#f5f5ef;border:1px solid #465837;box-shadow:0 25px 100px #0008}dialog::backdrop{background:#000a}.icon-button,#fields label{color:#bbc8b0}#fields input,#fields select{background-color:#0b0e09;color:#f5f5ef;border-color:#3b4334}#form-error{color:#ff9caa}#toast{background:#b1ff14;color:#142003}.search-message{color:#c0d5ad}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline-color:#b1ff14}@media(max-width:1100px){.brand-logo{transform:scale(.88);transform-origin:center}.brand-sub{right:4px}}@media(max-width:700px){aside{padding-top:10px}.brand{justify-content:flex-start;min-height:90px}.brand-logo{transform:scale(.8);transform-origin:left center;width:192px;height:110px;margin-top:-10px;margin-bottom:-10px}.brand-sub{position:static;align-self:center;margin-left:-24px}.brand{max-width:210px}nav{margin-top:12px}}
/* Keep the original logo and product label in separate, stable rows. */
.brand{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:8px;min-height:0;padding:0 0 4px;max-width:none}.brand-logo{width:180px;height:110px;flex-shrink:0;transform:none;margin:0}.brand-logo img{width:230px;left:-25px;top:-51px}.brand-sub{position:static;align-self:center;margin:0;padding:0;line-height:1.5;font-size:10px;letter-spacing:3px;color:#aab2a4}.workspace{margin-top:24px}@media(max-width:1100px){.brand-logo{transform:none}.brand-sub{position:static}}@media(max-width:700px){.brand{flex-direction:row;justify-content:flex-start;gap:16px;padding:0;min-height:0}.brand-logo{width:144px;height:88px;transform:none;margin:0}.brand-logo img{width:184px;left:-20px;top:-41px}.brand-sub{position:static;margin:0;align-self:center}}
aside{overflow-y:auto}.brand,.workspace,aside nav,.sidebar-bottom{flex-shrink:0}.brand{flex:none}.brand-sub{flex:none}
/* Keep the account panel visible; only navigation scrolls on short screens. */
aside{height:100dvh;overflow:hidden;padding-bottom:18px}.brand,.workspace,.nav-label,.sidebar-bottom{flex-shrink:0}aside nav{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}.sidebar-bottom{margin-top:0;padding-top:14px}.profile{margin-top:0;padding-top:15px;gap:10px}.profile .avatar{flex:0 0 38px}.profile>div{min-width:0}.profile small{line-height:1.5}.workspace{margin-bottom:15px}.nav-label{margin-top:8px;margin-bottom:8px}@media(max-height:760px) and (min-width:701px){.brand-logo{width:144px;height:88px}.brand-logo img{width:184px;left:-20px;top:-41px}.brand{gap:4px}.workspace{margin-top:16px}nav a{padding-block:10px;margin-block:3px}}@media(max-width:700px){aside{height:auto;overflow:visible;padding-bottom:12px}aside nav{flex:none;overflow-x:auto;overflow-y:hidden}.sidebar-bottom{display:none}}
.auth-panel{max-width:450px;margin:5vh auto;padding:30px}.auth-logo{display:block;width:180px;height:140px;object-fit:cover;margin:0 auto 24px}.auth-panel h1{font-size:26px}.auth-panel label{display:block;margin:22px 0;color:#c6d2bc;font-size:14px}.auth-panel input{display:block;width:100%;margin-top:9px;padding:12px;border:1px solid #425135;border-radius:6px;background:#080a08;color:#f5f5ef}.auth-panel button{width:100%;margin-bottom:18px}.auth-panel .sub{line-height:1.7}#login-error{color:#ffbdc5;font-size:14px}.setup-note{line-height:1.8;color:#c2d1b5;margin-top:30px}button:disabled{opacity:.6;cursor:wait}
.danger-link{color:#f2a4a4;margin-left:12px}.danger-button{background:#b52e3d;border-color:#b52e3d;color:#fff}.danger-button:hover{background:#cd3a4a}#delete-description{color:#c4cfba;font-size:15px;line-height:1.7}#delete-error{color:#ffb0b9;font-size:14px}
