:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;color:#202441;background:#f4f5fc;--crm-ink:#202441;--crm-muted:#4c526e;--crm-teal:#6455e8;--crm-line:#e9eaf4;color-scheme:light}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;transition:background .15s,box-shadow .15s;min-height:42px;border:1px solid var(--crm-line);background:#fff;border-radius:12px;padding:10px 16px;color:var(--crm-ink);font-size:.875rem;font-weight:600}button:hover{background:#eeecff}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #a298ff;outline-offset:3px}button.primary{background:#6657e8;color:#fff;border:0;box-shadow:0 5px 14px #6557e825}button.primary:hover{background:#5142ce}button.ghost{background:transparent;border-color:transparent;color:inherit}input,select,textarea{width:100%;min-height:46px;border:1px solid #dfe1ef;background:#fff;border-radius:12px;padding:11px 13px;color:var(--crm-ink);font-size:1rem}label{display:block;font-size:.875rem;font-weight:600}label input,label select,label textarea{margin-top:7px}textarea{min-height:98px;resize:vertical}.shell{display:grid;grid-template-columns:218px minmax(0,1fr);min-height:100vh}.sidebar{background:#20213c;color:#c7c9e2;padding:28px 16px;display:flex;flex-direction:column;gap:30px}.brand{display:flex;align-items:center;gap:10px;color:white;font-size:1.35rem;font-weight:750;letter-spacing:-.7px}.mark{display:grid;place-items:center;background:#9385ff;color:white;width:36px;height:36px;border-radius:12px;font-size:1.55rem;font-style:italic}.brand small{display:block;font-size:.7rem;letter-spacing:2.2px;color:#b0b1d0;font-weight:500;margin-top:5px}.sidebar .label{font-size:.7rem;letter-spacing:1.5px;text-transform:uppercase;color:#a6a9c5;margin:0 12px 12px}.sidebar select{font-size:.875rem;background:#2e304e;color:white;border:1px solid #414360;border-radius:12px}.nav{display:grid;gap:8px}.nav button{display:flex;align-items:center;gap:12px;text-align:left;background:transparent;border:0;color:#c7c9e2;padding:13px 12px;font-size:.875rem}.nav button.active{background:#7765ec;color:#fff;box-shadow:0 5px 18px #11132638}.nav svg,.nav i{width:19px;height:19px;flex-shrink:0}.sidebar .bottom{margin-top:auto;border:1px solid #45465f;background:#2c2d49;border-radius:16px;padding:17px;font-size:.8rem;line-height:1.8}.sidebar .bottom .muted{color:#b1b4ce}.workspace{min-width:0}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 30px;background:#ffffffb8;border-bottom:1px solid #e8e9f4;min-height:76px}.location{font-size:.875rem}.topbar .right{display:flex;align-items:center;gap:8px}.identity{display:flex;align-items:center;gap:10px;font-size:.8rem}.avatar{display:inline-grid;place-items:center;width:35px;height:35px;border-radius:12px;background:#ece8ff;color:#6350c5;font-size:.8rem;font-weight:700}.muted{color:var(--crm-muted)}.mobilebrand{display:none}.accountmenu{position:relative}.accountmenu summary{list-style:none;cursor:pointer;padding:8px;border:1px solid var(--crm-line);border-radius:12px;min-height:42px;display:flex;align-items:center;gap:8px;font-size:.8rem;background:#fff}.accountmenu summary::-webkit-details-marker{display:none}.accountmenu .menubody{position:absolute;right:0;top:52px;z-index:20;min-width:170px;padding:8px;background:white;border:1px solid var(--crm-line);border-radius:14px;box-shadow:0 14px 40px #27265022}.menubody button{display:block;width:100%;text-align:left}main{max-width:1480px;margin:auto;padding:30px}.pagehead{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}.eyebrow{font-size:.7rem;letter-spacing:1.5px;color:#7365c3;font-weight:700;margin-bottom:8px}h1{font-size:1.8rem;line-height:1.2;letter-spacing:-.9px;margin:0 0 8px;font-weight:750}h2{font-size:1.05rem;letter-spacing:-.25px;margin:0}h3{font-size:1rem;margin:0}p{line-height:1.55}.pagehead p{margin:0;font-size:.875rem;color:var(--crm-muted)}.pagehead .primary{flex-shrink:0;padding:13px 19px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:24px}.stat{min-width:0;padding:20px;border-radius:20px;background:#eeeaff;border:1px solid #e3dcff;position:relative;overflow:hidden}.stat:nth-child(2){background:#e5f4ff;border-color:#d6eaf9}.stat:nth-child(3){background:#fff0e3;border-color:#f8e3cf}.stat:nth-child(4){background:#e2f6ef;border-color:#cfeee1}.stat .value{font-size:clamp(1.5rem,2.5vw,2.2rem);font-weight:750;letter-spacing:-1px;font-variant-numeric:tabular-nums;margin:19px 0 8px;white-space:nowrap}.stat .caption{font-size:.78rem;color:#696383}.stat:nth-child(2) .caption{color:#50728d}.stat:nth-child(3) .caption{color:#8f6847}.stat:nth-child(4) .caption{color:#4f7869}.stathead{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:.875rem;font-weight:600;min-height:32px}.stathead svg,.stathead i{height:32px;width:32px;padding:7px;background:#ffffffa6;border-radius:10px;color:#7a59d6}.stat:nth-child(2) .stathead svg{color:#328cc1}.stat:nth-child(3) .stathead svg{color:#c67a38}.stat:nth-child(4) .stathead svg{color:#209b78}.grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:22px}.panel{background:#fff;border:1px solid #e8eaf5;border-radius:20px;overflow:hidden;box-shadow:0 4px 18px #20244103}.panelhead{padding:21px 22px;display:flex;align-items:center;justify-content:space-between;gap:12px}.panelhead .ghost{color:#705cdc;padding:5px;min-height:36px;font-size:.8rem}.panelbody{padding:0 22px 20px}.pipelinebars{height:190px;display:flex;align-items:flex-end;gap:22px;padding:16px 0 0}.barcol{min-width:0;flex:1;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:stretch;gap:9px;text-align:center;font-size:.78rem;color:var(--crm-muted)}.barcol .bar{min-height:6px;border-radius:9px;background:linear-gradient(180deg,#aa94fb,#7d66e2);width:75%;align-self:center}.barcol:nth-child(2) .bar{background:linear-gradient(180deg,#97c9fa,#609cde)}.barcol:nth-child(3) .bar{background:linear-gradient(180deg,#ffc08b,#eb9954)}.barcol:nth-child(4) .bar{background:linear-gradient(180deg,#76d9bb,#38ae8d)}.barcol strong{font-size:.9rem;color:var(--crm-ink)}.barcol span{min-height:28px;overflow-wrap:anywhere}.help{font-size:.8rem;color:var(--crm-muted);line-height:1.6}.follow{display:flex;align-items:center;gap:13px;padding:14px 0;border-bottom:1px solid #f0f0f7}.follow:last-child{border:0}.follow .text{flex:1;min-width:0}.follow small{display:block;margin-top:5px;color:var(--crm-muted);font-size:.8rem}.datepill{background:#eeebff;color:#7152c3;padding:11px 8px;min-width:64px;border-radius:12px;text-align:center;font-size:.78rem;font-weight:600}.datepill.overdue{background:#fff0e1;color:#a05d2b}.spacer{height:22px}.filters{display:flex;gap:12px;margin-bottom:18px}.filters input{flex:1}.filters select{width:190px}.tablewrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}th{text-transform:uppercase;letter-spacing:.6px;background:#fafafe;color:#83849b;font-weight:600;font-size:.7rem;padding:13px 22px}td{padding:16px 22px;border-top:1px solid #f0f0f7;font-size:.875rem}td .sub{display:block;margin-top:5px;color:var(--crm-muted);font-size:.78rem}.namebutton{border:0;border-radius:0;min-height:0;padding:0;text-align:left;background:none;font-size:.9rem}.namebutton:hover{background:none;color:#7156d8}.badge{display:inline-block;border-radius:8px;padding:6px 9px;font-size:.75rem;font-weight:600;background:#f1effa;color:#77718d}.badge.new{background:#eee8ff;color:#7754c8}.badge.contacted{background:#e5f1ff;color:#457db7}.badge.appointment{background:#fff0df;color:#a86b2c}.badge.proposal{background:#e0f5ed;color:#26856a}.badge.won{background:#d9f5e4;color:#23784b}.badge.lost{background:#fce9ec;color:#ab4f65}.board{display:grid;grid-template-columns:repeat(6,minmax(215px,1fr));gap:14px;overflow:auto;padding-bottom:15px}.column{background:#ececf6;padding:12px;border-radius:17px;min-height:320px}.columnhead{display:flex;justify-content:space-between;align-items:center;font-size:.85rem;font-weight:650;padding:5px 3px 17px}.columnhead span{background:#fff;border-radius:7px;padding:4px 8px;color:#7a6aaf}.column:nth-child(2){background:#e7f0fa}.column:nth-child(3){background:#fbefdf}.column:nth-child(4){background:#e3f3ed}.column:nth-child(5){background:#e3f0e5}.column:nth-child(6){background:#f7e8ed}.card{display:block;width:100%;background:#fff;border:1px solid #ffffff;border-radius:14px;padding:16px;text-align:left;margin-bottom:11px;font-weight:400;box-shadow:0 3px 10px #252c4d05}.card h3{margin:13px 0 7px}.card p{font-size:.85rem;color:var(--crm-muted);margin:6px 0 17px}.cardfooter{border-top:1px solid #f0f0f7;margin-top:15px;padding-top:12px;display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:.75rem;color:var(--crm-muted)}.empty{padding:35px;text-align:center;color:var(--crm-muted);line-height:1.7}.demo{background:#ebe8fd;color:#695a9c;padding:9px 18px;display:flex;align-items:center;justify-content:center;gap:12px;font-size:.75rem}.demo button{padding:4px 9px;min-height:30px;font-size:.75rem;border:0;background:#ffffff80;color:#695a9c}dialog{width:min(710px,94vw);max-height:90vh;border:0;border-radius:22px;padding:0;background:#fff;color:var(--crm-ink);box-shadow:0 25px 100px #20244145}dialog::backdrop{background:#20244177;backdrop-filter:blur(5px)}.dialoghead{padding:22px 25px;border-bottom:1px solid var(--crm-line);display:flex;justify-content:space-between;align-items:center}.dialogbody{padding:24px}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.full{grid-column:1/-1}.actions{display:flex;justify-content:flex-end;gap:10px;margin-top:23px}.tabs{display:flex;align-items:center;gap:10px;margin-bottom:20px}.tabs button.active{color:#7156d8;border-color:#7156d8}.note{padding:16px;background:#f5f3fc;border-radius:13px;margin:12px 0}.note p{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0}.note small{color:var(--crm-muted)}.error{color:#b34459;font-size:.875rem;margin-top:12px}.check{display:flex;align-items:center;gap:10px}.check input{width:auto;min-height:0;margin:0}.login{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.loginintro{padding:10vw 7vw;background:linear-gradient(145deg,#252443,#6352b3);color:white}.loginintro h1{font-size:3rem;margin:55px 0 25px}.loginintro p{color:#d6d1f1}.loginform{display:grid;place-items:center;padding:35px}.loginform form{width:min(390px,100%)}.loginform label{margin:22px 0}.loginform h1{margin-top:25px}.loginform .primary{width:100%}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#38315c;color:#fff;padding:13px 22px;border-radius:12px;z-index:100;display:none;box-shadow:0 10px 30px #20244133}.mobile-nav-label{display:none}@media(min-width:1400px){main{padding:36px 42px}.topbar{padding-left:42px;padding-right:42px}}@media(max-width:1150px){.shell{grid-template-columns:190px minmax(0,1fr)}.sidebar{padding:24px 12px}.brand{font-size:1.15rem}.stat{padding:16px}.stat .value{font-size:1.6rem}.stathead{font-size:.8rem}.stathead svg{width:28px;height:28px}.grid{grid-template-columns:1fr 1fr}.topbar{padding:15px 22px}main{padding:25px 22px}.identity .username{display:none}}@media(max-width:850px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.grid{grid-template-columns:1fr}.stat .value{font-size:1.9rem}.location .muted{display:none}.pagehead{align-items:flex-start}.pagehead p{max-width:270px}.sidebar .label{font-size:.65rem}}@media(max-width:650px){.shell{display:flex;flex-direction:column;min-height:0}.sidebar{background:#fff;color:var(--crm-ink);padding:12px 14px 0;gap:12px;border-bottom:1px solid var(--crm-line)}.sidebar .brand,.sidebar .label,.sidebar .bottom{display:none}.sidebar select{background:#f2effc;color:#514b74;border:0;border-radius:12px;font-size:.875rem;min-height:42px;padding:10px 12px}.nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}.nav button{display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;padding:9px 2px 11px;text-align:center;color:#7b7791;min-height:58px;font-size:.68rem;border-radius:11px 11px 0 0;overflow-wrap:anywhere}.nav button.active{background:#eeebfc;color:#7155c8;box-shadow:inset 0 -3px #8165e0}.nav svg,.nav i{width:19px;height:19px}.desktop-nav-label{display:none}.mobile-nav-label{display:inline}.topbar{padding:11px 15px;background:#f4f5fc;border:0;min-height:58px}.topbar .location,.topbar .identity{display:none}.mobilebrand{display:flex;align-items:center;gap:7px;font-size:1rem;font-weight:750;letter-spacing:-.5px}.mobilebrand .mark{height:27px;width:27px;font-size:1.1rem;border-radius:9px}.topbar .right{gap:6px}.topbar .right>button{padding:6px 10px;min-height:40px;font-size:.8rem}.accountmenu summary{min-height:40px;padding:5px 8px;background:white}.accountmenu summary .avatar{height:27px;width:27px;border-radius:9px;font-size:.7rem}.accountmenu .accountlabel{display:none}.accountmenu .menubody{top:44px}main{padding:14px 15px 25px}.pagehead{gap:12px;margin-bottom:20px;align-items:center}.eyebrow{display:none}h1{font-size:1.55rem;letter-spacing:-.8px;margin-bottom:6px}.pagehead p{font-size:.8rem;max-width:215px;line-height:1.45}.pagehead .primary{padding:10px 12px;min-height:44px;border-radius:13px;font-size:.8rem;max-width:114px;line-height:1.35}.stats{gap:11px;margin-bottom:18px}.stat{padding:15px;border-radius:17px;min-height:135px}.stathead{font-size:.8rem;min-height:27px;gap:6px}.stathead svg,.stathead i{width:27px;height:27px;padding:5px;border-radius:8px}.stat .value{font-size:1.85rem;letter-spacing:-.8px;margin:12px 0 6px}.stat:nth-child(2) .value{font-size:1.55rem;line-height:1.3}.stat .caption{font-size:.7rem;line-height:1.4}.grid{gap:18px}.panel{border-radius:18px}.panelhead{padding:17px 17px 12px}.panelhead h2{font-size:.98rem}.panelhead .badge{font-size:.68rem;padding:5px 7px}.panelbody{padding:0 17px 14px}.pipelinebars{height:172px;gap:17px;padding-top:9px}.barcol{font-size:.72rem}.barcol .bar{width:72%;max-height:108px}.barcol span{min-height:27px}.help{font-size:.75rem}.follow{padding:12px 0}.follow small{font-size:.75rem}.datepill{padding:10px 7px;min-width:61px}.spacer{height:18px}.filters{flex-wrap:wrap;gap:8px}.filters input{flex-basis:100%}.filters select{flex:1;width:0;min-width:0;font-size:.875rem}.tablewrap:has(table.customer-table){overflow:visible}.customer-table{white-space:normal}.customer-table thead{display:none}.customer-table tbody{display:block;padding:0 16px 8px}.customer-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 10px;padding:15px 0;border-top:1px solid #efedf7}.customer-table td{border:0;padding:0;min-width:0}.customer-table td:first-child{grid-column:1;grid-row:1}.customer-table td:nth-child(2){grid-column:1;grid-row:2;font-size:.8rem;color:var(--crm-muted)}.customer-table td:nth-child(3){grid-column:2;grid-row:1;text-align:right}.customer-table td:nth-child(4){grid-column:1;grid-row:3;font-size:.75rem;color:var(--crm-muted)}.customer-table td:nth-child(5){grid-column:2;grid-row:3;font-size:.75rem;color:var(--crm-muted);text-align:right}.customer-table td .sub{font-size:.72rem;overflow-wrap:anywhere}.customer-table td:nth-child(2) .sub{display:none}.namebutton{font-size:.875rem}.board{display:grid;grid-template-columns:1fr;overflow:visible;gap:15px}.column{min-height:0}.columnhead{padding:4px 4px 12px}.column .card:last-child{margin-bottom:0}.card{padding:15px}.formgrid{grid-template-columns:1fr;gap:14px}.dialogbody{padding:19px}.dialoghead{padding:16px 19px}.demo{font-size:.68rem;padding:6px 12px;line-height:1.35;justify-content:space-between}.demo button{font-size:.68rem;white-space:nowrap;min-height:32px}.login{display:block;min-height:0}.loginintro{padding:28px}.loginintro h1{font-size:1.9rem;margin:25px 0 0}.loginintro p{display:none}.loginform{padding:26px}}@media(prefers-reduced-motion:reduce){button{transition:none}}
/* Readability: independent product tokens and explicit modal text colors. */
.workspace{background:#eceefa;color:#202441}
.topbar{background:#f9faff}
.help,.muted,.pagehead p,.follow small,.card p,.cardfooter,td .sub{color:#4c526e;opacity:1;font-size:.9375rem;line-height:1.5}
label{color:#303750;font-size:1rem;line-height:1.45}
input,select,textarea{color:#202441;border-color:#b9bfd5;font-size:1rem}
input::placeholder,textarea::placeholder{color:#606780;opacity:1;font-size:1rem;font-weight:400}
.dialogbody{color:#202441}
.dialogbody .help,.dialogbody label,.dialogbody .formgrid .help{color:#414967;font-size:1rem;font-weight:600;opacity:1;line-height:1.45}
.dialogbody .formgrid p{color:#202441;font-size:1.0625rem;font-weight:500;line-height:1.5;margin:6px 0 14px;overflow-wrap:anywhere}
.dialogbody h2{color:#202441;font-size:1.2rem;margin:10px 0 14px}
.dialogbody .note{background:#e9e4fc;border:1px solid #cec4ee}
.dialogbody .note small{display:block;color:#46405f;opacity:1;font-size:.9375rem;font-weight:500;line-height:1.5}
.dialogbody .note p{color:#242039;font-size:1.0625rem;line-height:1.55}
.dialogbody textarea{color:#202441;background:#fff;border:1px solid #a9afc8;font-size:1rem;line-height:1.5}
.dialoghead h2{font-size:1.2rem;color:#202441}
.stat{background:#ddd4ff;border-color:#bdaaf4;color:#332453}
.stat:nth-child(2){background:#cce9ff;border-color:#9fc8ec;color:#193d61}
.stat:nth-child(3){background:#ffe1bd;border-color:#edbe89;color:#613912}
.stat:nth-child(4){background:#c1ebda;border-color:#8ecbb3;color:#1c4e3e}
.stat .caption{color:#514367;font-size:.875rem;line-height:1.4}
.stat:nth-child(2) .caption{color:#31516c}.stat:nth-child(3) .caption{color:#6c4727}.stat:nth-child(4) .caption{color:#315747}
.stathead{font-size:.9375rem}.badge{font-size:.875rem;line-height:1.4}
.datepill{font-size:.875rem}.barcol{font-size:.875rem;color:#4c526e}.barcol span{min-height:40px}
th{color:#4c526e;font-size:.875rem}td{font-size:1rem}
button{font-size:.9375rem}.namebutton{font-size:1rem}.panelhead .ghost{font-size:.875rem}
.nav button{font-size:.9375rem}.demo,.demo button{font-size:.875rem;color:#4f416f}
@media(max-width:650px){
 .topbar{background:#eceefa}.pagehead p{font-size:.9375rem;color:#4c526e}.pagehead .primary{font-size:.9375rem;max-width:130px;padding:11px 12px}
 .nav button{font-size:.8125rem;min-height:65px;color:#4b4665}.nav button.active{color:#5433a5;background:#e3d9fa}
 .stat{padding:15px;min-height:150px}.stathead{font-size:.9375rem;line-height:1.4;align-items:flex-start}.stathead svg,.stathead i{flex-shrink:0}
 .stat .caption{font-size:.875rem}.stat .value{font-size:1.85rem}.stat:nth-child(2) .value{font-size:1.6rem}
 .panelhead h2{font-size:1.0625rem}.panelhead .badge{font-size:.8125rem}.panelhead{flex-wrap:wrap}
 .help,.follow small,.customer-table td .sub,.customer-table td:nth-child(4),.customer-table td:nth-child(5){font-size:.8750rem;color:#4c526e}
 .customer-table td:nth-child(2){font-size:.9375rem;color:#4c526e}.customer-table .namebutton{font-size:1rem}
 .datepill{font-size:.875rem;min-width:72px}.barcol{font-size:.875rem}.pipelinebars{height:190px;gap:10px}
 .badge{font-size:.8125rem}.cardfooter{font-size:.875rem}.card p{font-size:.9375rem}.columnhead{font-size:1rem}
 .dialogbody .formgrid{gap:6px}.dialogbody .formgrid p{margin-bottom:12px}.dialogbody .formgrid .help{font-size:1rem}
 .dialogbody .note small{font-size:.9375rem}.dialogbody .note p{font-size:1.0625rem}.dialogbody textarea{font-size:1rem}
 .demo{font-size:.8125rem}.demo button{font-size:.8125rem}.filters select{font-size:1rem}
}
@media(max-width:370px){.pagehead{align-items:flex-start;flex-wrap:wrap}.pagehead p{max-width:100%}.pagehead .primary{max-width:none}.stathead svg,.stathead i{display:none}.stat{padding:13px}.stat:nth-child(2) .value{font-size:1.45rem}.nav button{font-size:.75rem}}
.pipelinebars{height:auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:8px 0}.stage-tile{min-height:98px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:14px 8px;border-radius:14px;background:#e1d6ff;color:#3b2467;text-align:center}.stage-tile:nth-child(2){background:#cee6ff;color:#244b70}.stage-tile:nth-child(3){background:#ffd9b4;color:#633913}.stage-tile:nth-child(4){background:#bfe9d9;color:#1e5440}.stage-tile strong{font-size:1.65rem;font-weight:800}.stage-tile span{font-size:.9375rem;font-weight:700;overflow-wrap:anywhere}.demo-switch{display:flex;align-items:center;gap:10px;color:#403358}.demo-switch select{width:auto;max-width:320px;font-size:.875rem;min-height:40px}.demo{flex-wrap:wrap}.industry-options{display:flex;flex-wrap:wrap;gap:16px}fieldset{border:1px solid #bcc1d5;border-radius:12px;padding:16px}legend{font-weight:600}@media(max-width:650px){.pipelinebars{height:auto;grid-template-columns:repeat(2,minmax(0,1fr))}.demo-switch{flex-wrap:wrap}.demo-switch select{max-width:100%;width:100%}.stage-tile{min-height:90px}}
/* Compact record details without reducing readable text. */
.dialoghead{position:sticky;top:0;z-index:3;background:#fff;padding:12px 20px;gap:16px}
.dialoghead h2{margin:0;overflow-wrap:anywhere;min-width:0}
.dialoghead .dialog-close{display:grid;place-items:center;flex:0 0 50px;width:50px;height:50px;min-height:50px;padding:0;font-size:30px;font-weight:600;line-height:1;color:#382664;background:#ebe4fc;border:1px solid #c7b6ee;border-radius:13px}
.dialoghead .dialog-close:hover{background:#ded1f7}
.dialogbody{padding:17px 20px}.dialogbody .tabs{margin-bottom:14px;gap:8px;flex-wrap:wrap}
.client-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 22px;margin:0 0 18px}
.client-field{min-width:0}.client-details dt{color:#48506b;font-size:.875rem;font-weight:600;line-height:1.35;margin:0 0 3px}
.client-details dd{color:#202441;font-size:1rem;font-weight:500;line-height:1.4;margin:0;overflow-wrap:anywhere}
.dialogbody .notes-heading{font-size:1.125rem;line-height:1.4;margin:0 0 10px;padding-top:13px;border-top:1px solid #e0deec}
#noteform{display:grid;gap:8px;margin:0 0 12px}
#noteform .note-label{display:block;position:static;margin:0;padding:0;color:#414967;font-size:.9375rem;font-weight:600;line-height:1.45}
#noteform textarea{display:block;margin:0;min-height:88px;padding:12px;line-height:1.5;font-size:1rem;resize:vertical}
#noteform .error{margin:0;font-size:.875rem;line-height:1.4}#noteform .error:empty{display:none}
#noteform .actions{margin:0;display:flex;justify-content:flex-end}#noteform .primary{min-height:44px}
.dialogbody .note{margin:10px 0;padding:12px 14px}.dialogbody .note small{font-size:.875rem;line-height:1.45}.dialogbody .note p{margin:6px 0 0;font-size:1rem;line-height:1.45}
@media(max-width:650px){dialog{width:calc(100% - 20px);max-height:88vh;border-radius:17px}.dialoghead{padding:10px 15px}.dialogbody{padding:14px 15px}.client-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px;margin-bottom:14px}.client-details .field-email,.client-details .field-interest{grid-column:1/-1}.client-details dt{font-size:.875rem}.client-details dd{font-size:1rem}.dialogbody .tabs button{min-height:44px}.dialogbody .notes-heading{margin-bottom:10px}#noteform textarea{min-height:84px}}

.trade-section{border:1px solid #d8dcef;border-radius:12px;padding:12px 14px;margin:12px 0;background:#f6f7ff}.trade-section summary{cursor:pointer;font-weight:700;color:#223567;min-height:28px;line-height:1.5}.trade-caption{display:block;font-size:14px;font-weight:500;color:#465675;margin:3px 0 0 16px;overflow-wrap:anywhere}.trade-section .formgrid,.trade-section .client-details{margin-top:12px}.trade-wide{grid-column:1/-1}.trade-section textarea{display:block;margin-top:6px;min-height:76px;font-size:16px}.trade-section dd{white-space:pre-wrap}

.call-link{display:block;width:fit-content;color:#304bbb;font-size:1rem;font-weight:650;text-decoration:underline;text-underline-offset:3px;padding:8px 0;min-height:40px;overflow-wrap:anywhere}.quick-notes-button{background:#eee8ff;border:1px solid #d0c3f3;color:#44317c;font-weight:650;min-height:44px;white-space:nowrap}.quick-notes-dialog{width:min(560px,94vw)}.quick-note-context{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}.quick-notes-dialog .notes-heading{border-top:0;padding-top:0}.quick-notes-dialog .note{margin-top:10px}.customer-table td:first-child>.sub{overflow-wrap:anywhere}@media(max-width:650px){.customer-table td.quick-notes-cell{grid-column:2;grid-row:2;align-self:center;text-align:right}.quick-notes-button{font-size:.875rem;padding:9px 10px}.call-link{min-height:44px;padding:10px 0}.quick-notes-dialog{width:calc(100% - 20px)}}

.expandable-followup{cursor:pointer}.expandable-followup:hover,.expandable-followup.history-open{background:#f3efff}.history-toggle{display:block;margin-top:5px;padding:8px 0;min-height:40px;border:0;background:transparent;color:#49349b;font-size:.875rem;font-weight:650;text-decoration:underline;text-underline-offset:3px}.history-toggle:focus-visible{outline:3px solid #7155c8;outline-offset:3px}.customer-table tr.inline-history-row[hidden]{display:none}.customer-table tr.inline-history-row{background:#f3efff;white-space:normal;cursor:pointer}.customer-table tr.inline-history-row>td{padding:12px 20px 18px}.inline-history-row section{min-width:0}.inline-history-row h3{font-size:1rem;margin:0 0 10px}.inline-history-body .note{background:#fff;border:1px solid #ddd5ef;margin:8px 0;padding:12px 14px}.inline-history-body .note small{color:#46516c;font-size:.875rem}.inline-history-body .note p{font-size:1rem;line-height:1.45}@media(max-width:650px){.customer-table tr.inline-history-row{display:block;padding:0;border-top:0;border-radius:0 0 12px 12px}.customer-table tr.inline-history-row>td{display:block;padding:10px 12px 14px}.history-toggle{margin-left:auto;min-height:44px}.customer-table tr.history-open{border-radius:12px 12px 0 0}}

.scan-panel{margin:0 0 18px;background:#f3f0ff}.scan-actions{display:flex;flex-wrap:wrap;gap:8px}.scan-panel [hidden]{display:none!important}.scan-panel button{min-height:44px}.scan-panel [data-scan-status]{font-size:1rem;line-height:1.5}.scan-panel [data-scan-review] .primary{margin-top:12px}

.scan-file{flex:1;min-width:180px;padding:10px;border:1px solid #d0c3f3;border-radius:10px;background:#fff;font-weight:650}.scan-file input{display:block;width:100%;max-width:100%;font-size:14px}.scan-file input::file-selector-button{min-height:44px;border:0;border-radius:8px;background:#eee8ff;color:#44317c;margin-right:8px;padding:8px}.scan-panel [data-scan-status]{overflow-wrap:anywhere}

.scan-stage{position:relative;margin:28px 24px;max-width:520px}.scan-stage canvas{display:block;width:100%;height:auto;border-radius:8px}.scan-corner{position:absolute;transform:translate(-50%,-50%);width:44px;height:44px;min-height:44px;padding:0;border:3px solid white;border-radius:50%;background:#6344da;color:white;font-weight:800;touch-action:none;box-shadow:0 2px 8px #0005}.scan-corner:focus-visible{outline:3px solid #1d9bc8;outline-offset:3px}

.scan-stage{margin-left:auto;margin-right:auto}

dialog{scroll-padding-top:90px;scroll-padding-bottom:24px}.scan-stage{scroll-margin-top:90px;scroll-margin-bottom:30px}.scan-corner{user-select:none;-webkit-user-select:none}
/* Proposals: mobile input layout and an independent printable snapshot. */
.quote-toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:18px}
.quote-fee{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:12px;padding:16px;border:1px solid #d1d8ec;border-radius:14px;background:#f5f6fd;margin:12px 0}
.quote-fee-tax{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:14px}
.quote-fee-tax button{margin-left:auto}.quote-checks{display:grid;gap:12px;margin:18px 0}.quote-settings{margin:24px 0;border:1px solid #b9c4e6;border-radius:14px;padding:18px}.quote-settings legend{font-weight:700;padding:0 8px}.quote-settings>.formgrid:last-child{margin-top:20px}
.quote-warning{padding:14px;background:#fff0d9;border-left:4px solid #b5690d;color:#593706;border-radius:8px}
.quote-summary{background:#eef0ff;border-radius:16px;padding:20px;margin:22px 0;color:#18294d}
.quote-total-row{display:flex;justify-content:space-between;gap:18px;padding:10px 0;font-size:16px}.quote-total-row strong{white-space:nowrap}.quote-sale-total{border-top:1px solid #b9c4df;font-weight:bold}.quote-balance{background:#4937bc;color:white;padding:16px;border-radius:12px;font-size:20px;margin-top:10px}
.quote-list{display:grid;gap:12px}.quote-card{display:grid;grid-template-columns:1fr auto;gap:8px;text-align:left;padding:18px!important;white-space:normal!important}.quote-card span{grid-column:1;overflow-wrap:anywhere}.quote-card b{grid-column:2;grid-row:1/4;align-self:center;font-size:20px;color:#4535b2}
.proposal-paper{background:white;color:#152440;padding:26px;border:1px solid #d9deec;border-radius:12px;font-size:15px;line-height:1.5;overflow-wrap:anywhere}.proposal-paper header,.quote-parties{display:grid;grid-template-columns:1.4fr 1fr;gap:24px}.proposal-paper header{border-bottom:3px solid #5b45d6;padding-bottom:12px}.proposal-paper h1{font-size:25px;line-height:1.2;margin:8px 0}.proposal-paper h2{font-size:20px;margin:8px 0}.proposal-paper h3{font-size:16px;margin:12px 0 5px}.proposal-paper p{margin:6px 0 14px;color:#263859}.quote-eyebrow{font-size:12px;font-weight:800;letter-spacing:.1em;color:#5040bb}.quote-vehicle{background:#eff1fc;border-radius:10px;padding:14px;margin:16px 0}.quote-lines{width:100%;border-collapse:collapse;margin:10px 0}.quote-lines th,.quote-lines td{padding:10px 8px;border-bottom:1px solid #e2e7f1;white-space:normal}.quote-lines th:last-child,.quote-lines td:last-child{text-align:right;white-space:nowrap}.quote-print-totals{max-width:470px;margin:20px 0 20px auto}.quote-tax-detail{font-size:13px}.proposal-paper footer{border-top:1px solid #cad1e3;padding-top:12px;margin-top:22px;font-size:13px}.quote-prewrap{white-space:pre-wrap}
@media(max-width:600px){.quote-fee{grid-template-columns:minmax(0,1fr);padding:12px}.quote-fee-tax{grid-column:1}.quote-card{grid-template-columns:1fr}.quote-card b{grid-column:1;grid-row:auto}.proposal-paper{padding:14px}.proposal-paper header,.quote-parties{grid-template-columns:1fr;gap:4px}.quote-total-row{font-size:15px}.quote-balance{font-size:18px}.quote-toolbar button{flex:1}.quote-settings{padding:12px}.quote-print-totals{max-width:none}}
@media print{@page{size:letter;margin:14mm}html,body{height:auto!important;background:white!important}.proposal-paper{padding:0;border:0;border-radius:0;font-size:10pt;max-width:none!important}.proposal-paper header,.quote-parties{display:grid;grid-template-columns:1.4fr 1fr;gap:20px}.proposal-paper h1{font-size:20pt}.proposal-paper h2{font-size:14pt}.proposal-paper h3{font-size:11pt}.proposal-paper p{color:#152440}.quote-vehicle{break-inside:avoid}.quote-lines tr,.quote-print-totals,.proposal-paper footer{break-inside:avoid}.quote-total-row{font-size:11pt;padding:5px 0}.quote-balance{color:#152440;background:#eee;border:2px solid #4937bc;font-size:14pt;padding:10px}.quote-print-totals{max-width:440px}.proposal-paper footer{font-size:9pt}.quote-toolbar{display:none!important}}
@media screen and (max-width:600px){.proposal-paper footer,.quote-tax-detail{font-size:15px}.quote-eyebrow{font-size:14px}}
@media print{body{padding:0!important}.proposal-paper{line-height:1.25}.proposal-paper header{padding-bottom:6px}.proposal-paper h1{font-size:17pt}.proposal-paper p{margin:4px 0 8px;line-height:1.3}.proposal-paper h2{margin:5px 0}.proposal-paper h3{margin:8px 0 4px}.quote-vehicle{padding:8px 12px;margin:8px 0}.quote-lines{margin:6px 0}.quote-lines th,.quote-lines td{padding:5px 8px;font-size:10pt}.quote-print-totals{margin:10px 0 10px auto}.quote-total-row{padding:4px 0}.quote-balance{padding:8px;margin-top:6px}.proposal-paper footer{margin-top:12px;padding-top:6px}.quote-tax-detail{font-size:9pt}}
.quote-contact a{color:#263b77;overflow-wrap:anywhere;text-decoration:underline}.quote-tax-ids,.quote-prepared{font-size:13px}.proposal-paper .quote-contact{font-size:15px}@media print{.proposal-paper .quote-contact{font-size:9pt}.quote-tax-ids,.quote-prepared{font-size:8.5pt}.quote-contact a{color:inherit;text-decoration:none}}
@media print{.quote-trade-print{float:left;width:35%;padding-right:12px}.quote-print-totals{width:62%}.quote-tax-detail{clear:both}.quote-total-row{font-size:10pt;padding:3px 0}.quote-balance{font-size:13pt;padding:8px}}
/* Professional customer proposal: navy, teal and restrained document typography. */
.proposal-paper{--paper-navy:#173348;--paper-teal:#087f8c;color:#173348;border-color:#d6e1e7;padding:22px;font-variant-numeric:tabular-nums}
.proposal-paper header{background:#173348;color:#fff;border:0;border-bottom:5px solid #18a3a6;border-radius:12px 12px 0 0;padding:22px;gap:22px}
.proposal-paper header h1,.proposal-paper header h2,.proposal-paper header p,.proposal-paper header a{color:#fff}.proposal-paper header h1{letter-spacing:-.6px}.proposal-paper header .quote-eyebrow{color:#88e2d8;font-size:11px;letter-spacing:.15em}.proposal-paper header .quote-contact,.proposal-paper header .quote-prewrap{font-size:13px;line-height:1.4}
.quote-document-meta{border-left:1px solid #57707f;padding-left:20px}.quote-ref-label{color:#b5d1da;font-size:10px;letter-spacing:.12em;font-weight:700}.proposal-paper header .quote-tax-ids{border-top:1px solid #57707f;padding-top:10px;font-size:11px;color:#d8e9ef}
.quote-parties{gap:16px;margin:16px 0}.quote-parties>div{background:#f4f8fa;border:1px solid #dce7ec;border-radius:10px;padding:12px 15px}.proposal-paper .quote-parties h3{color:#087581;font-size:11px;text-transform:uppercase;letter-spacing:.08em;margin:0 0 7px}.quote-parties strong{font-size:16px}.proposal-paper .quote-parties p{margin-bottom:0}.proposal-paper .quote-vehicle{background:#edf7f6;border-left:4px solid #0a8c8e;border-radius:0 8px 8px 0;margin:16px 0;padding:12px 15px}.proposal-paper .quote-vehicle h2{color:#173348;margin:0 0 5px}.proposal-paper .quote-vehicle p{margin:0;font-size:13px}
.proposal-paper .quote-lines th{background:#173348;color:#fff;font-size:11px;letter-spacing:.05em;padding:11px 12px}.proposal-paper .quote-lines td{padding:10px 12px;border-color:#dce6eb}.proposal-paper .quote-lines tbody tr:nth-child(even){background:#f3f7f9}.quote-lines td:last-child{font-weight:600}
.proposal-paper .quote-sale-total{border-top:2px solid #adc8d2;color:#173348}.proposal-paper .quote-balance{background:#173348;color:white;border:0;border-left:5px solid #18a3a6;border-radius:8px;padding:15px;font-size:20px}.proposal-paper .quote-balance strong{color:#fff}.proposal-paper .quote-tax-detail{color:#536b78;padding-top:8px;border-top:1px solid #d8e4e9}.proposal-paper footer{border-top:2px solid #168994;background:#f4f8fa;border-radius:0 0 8px 8px;padding:13px 16px}.proposal-paper footer h3{color:#087581;text-transform:uppercase;font-size:11px;letter-spacing:.08em}.proposal-paper footer p{font-size:12px;line-height:1.4}.proposal-paper footer p:last-child{margin-bottom:0}
@media screen and (max-width:600px){.proposal-paper{padding:10px}.proposal-paper header{padding:16px;gap:15px}.quote-document-meta{border-left:0;border-top:1px solid #57707f;padding:12px 0 0}.quote-parties{gap:10px}.proposal-paper header .quote-contact,.proposal-paper header .quote-prewrap,.proposal-paper header .quote-tax-ids,.proposal-paper footer p{font-size:14px}.quote-ref-label,.proposal-paper header .quote-eyebrow,.proposal-paper .quote-parties h3{font-size:12px}.proposal-paper .quote-balance{font-size:18px}}
@media print{.proposal-paper{-webkit-print-color-adjust:exact;print-color-adjust:exact;padding:0;border:0;font-size:9.5pt;line-height:1.2}.proposal-paper header{padding:12px 15px;border-radius:8px 8px 0 0;border-bottom-width:4px;gap:16px;break-inside:avoid}.proposal-paper header h1{font-size:16pt;margin:5px 0}.proposal-paper header h2{font-size:14pt}.proposal-paper header .quote-eyebrow,.quote-ref-label{font-size:7pt}.proposal-paper header .quote-contact,.proposal-paper header .quote-prewrap{font-size:8.3pt;line-height:1.2;margin:3px 0 5px}.quote-document-meta{padding-left:15px}.proposal-paper header .quote-tax-ids{font-size:7.6pt;padding-top:6px;margin-top:7px}.proposal-paper header p{font-size:8.5pt}.quote-parties{margin:10px 0;gap:12px;break-inside:avoid}.quote-parties>div{padding:8px 11px;border-radius:6px}.proposal-paper .quote-parties h3{font-size:7.7pt;margin:0 0 4px}.quote-parties strong{font-size:10pt}.proposal-paper .quote-parties p,.proposal-paper .quote-parties .quote-contact{font-size:8.7pt;line-height:1.25;margin:3px 0 0}.proposal-paper .quote-vehicle{margin:9px 0;padding:9px 12px}.proposal-paper .quote-vehicle h2{font-size:12pt}.proposal-paper .quote-vehicle p{font-size:8.5pt}.proposal-paper .quote-lines{margin:8px 0}.proposal-paper .quote-lines th{font-size:8pt;padding:7px 9px}.proposal-paper .quote-lines td{font-size:9.2pt;padding:5px 9px}.quote-total-row{font-size:9.5pt;padding:3px 0}.proposal-paper .quote-balance{font-size:13pt;padding:9px 11px;margin-top:7px}.proposal-paper .quote-tax-detail{font-size:8pt;padding-top:6px}.proposal-paper footer{margin-top:10px;padding:8px 11px}.proposal-paper footer h3{font-size:7.7pt;margin:0 0 5px}.proposal-paper footer p{font-size:8.2pt;line-height:1.25;margin:4px 0}.proposal-paper .quote-trade-print h3{font-size:9pt}}
.dealer-address-fields{border:1px solid #c7d5e2;border-radius:12px;padding:16px;margin:8px 0}.dealer-address-fields legend{font-weight:700;padding:0 7px}

/* Compact, opt-in document scanners. */
.scan-widget{margin:0 0 14px}.scan-widget>.scan-panel[hidden]{display:none!important}.scan-toggle{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-weight:700;white-space:normal;text-align:left}.scan-toggle[aria-expanded="true"]{margin-bottom:12px}.scan-close{display:flex;align-items:center;gap:8px;margin:0 0 10px auto;font-weight:700}.scan-close span{font-size:26px;line-height:1}.scan-widget .scan-panel{min-width:0;margin-bottom:0}

.scan-edge{position:absolute;transform:translate(-50%,-50%);width:44px;height:44px;min-height:44px;padding:0;border:0;background:transparent;box-shadow:none;touch-action:none;user-select:none;-webkit-user-select:none;z-index:1}.scan-edge::after{content:"";display:block;width:32px;height:8px;margin:auto;border:2px solid white;border-radius:6px;background:#6344da;box-shadow:0 1px 5px #0008}.scan-edge-left::after,.scan-edge-right::after{width:8px;height:32px}.scan-corner{z-index:2}.scan-edge:focus-visible{outline:3px solid #1d9bc8;outline-offset:2px}
.calendar{background:#fff;border-radius:18px;padding:18px}.calendar-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:16px}.calendar-toolbar h2{margin:0;flex:1;text-transform:capitalize;font-size:1.25rem}.calendar-toolbar label{margin:0;min-width:180px}.calendar-toolbar input{width:auto}.calendar-modes{display:flex;gap:6px}.calendar-toolbar button{min-height:44px}.calendar-scroll{overflow-x:auto}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(145px,1fr));gap:1px;background:#d9dfef;border:1px solid #d9dfef;border-radius:12px;overflow:hidden}.calendar-day{background:#fafbff;min-height:150px;padding:8px;min-width:0}.calendar-day.calendar-today{background:#eeebff;box-shadow:inset 0 3px #6650df}.calendar-outside{background:#f0f2f7}.calendar-date{font-size:.9rem;font-weight:750;padding:8px 4px;background:transparent;border:0;min-height:44px}.calendar-event{display:flex;flex-direction:column;gap:5px;width:100%;text-align:left;margin:8px 0;padding:10px;background:#eeeaff;color:#24304c;border:1px solid #d3c9ff;border-left:4px solid #6951de;border-radius:9px;white-space:normal;overflow-wrap:anywhere}.calendar-event span{font-weight:700}.calendar-event small{font-size:.82rem;color:#33445b}.calendar-event.type-phone_call{background:#e5f6f1;border-color:#239a80}.calendar-event.type-video_call{background:#e8f0ff;border-color:#528bd9}.calendar-event.type-in_store{background:#fff0e0;border-color:#d88a37}.calendar-event.status-cancelled{opacity:.7;text-decoration:line-through}.calendar-event.status-completed{border-style:dashed}.calendar-empty{color:#637187;font-size:.85rem}.calendar-day .calendar-event strong{font-size:.9rem}.calendar-day.calendar-outside .calendar-date{color:#64748b}.calendar-day .calendar-empty{padding:4px}.calendar-grid.calendar-day{display:block;padding:0;background:white}.calendar-grid.calendar-day>.calendar-day{min-height:300px}.followup-kind{white-space:normal;font-size:.875rem!important;line-height:1.5}.calendar-day>.calendar-event{min-height:70px}@media(max-width:650px){.calendar{padding:10px}.calendar-grid.calendar-month{grid-template-columns:repeat(7,minmax(125px,1fr))}.calendar-grid.calendar-week{display:block}.calendar-week>.calendar-day{min-height:90px;border-bottom:1px solid #d9dfef}.calendar-toolbar h2{order:-1;flex-basis:100%}.calendar-toolbar label{flex:1}.calendar-toolbar #newappointment{width:100%}}

.calendar-mobile-count{display:none}@media(max-width:650px){.calendar-grid.calendar-month{grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-month>.calendar-day{padding:3px;min-height:88px}.calendar-month .calendar-date{width:100%;font-size:.95rem;padding:3px}.calendar-month .calendar-event,.calendar-month .calendar-empty{display:none}.calendar-month .calendar-mobile-count{display:flex;align-items:center;justify-content:center;gap:2px;padding:3px;width:100%;min-height:36px;background:#e5ddff;color:#4832ad;border:0;font-weight:750}.calendar-mobile-count span{font-size:8px}}

.calendar-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));text-align:center;font-weight:700;padding:10px 0;font-size:.875rem}

/* Cielocom branding and responsive portal login */
.cielocom-logo{display:block;width:154px;height:auto;max-width:100%;object-fit:contain;flex-shrink:0}.sidebar .brand{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.sidebar .brand .cielocom-logo{background:transparent;border-radius:0;padding:0;width:174px}.mobilebrand .cielocom-logo{width:108px;height:auto}.portal-login{min-height:85svh;display:grid;place-items:center;padding:32px 16px;background:radial-gradient(ellipse at top left,#e5edff,transparent 65%),#f4f6fb}.portal-card{position:relative;width:100%;max-width:480px;padding:34px;border:1px solid #e0e6f0;border-radius:24px;background:#fff;box-shadow:0 14px 50px #18295214}.portal-brand{margin:0 0 26px}.portal-brand .cielocom-logo{width:220px;height:86px}.portal-language{position:absolute;right:22px;top:24px}.portal-language button{font-size:13px;min-height:40px;padding:6px 12px}.portal-kicker{font-size:12px;letter-spacing:.12em;font-weight:800;color:#315a9a;margin:0 0 9px}.portal-card h1{font-size:28px;line-height:1.15;margin:0 0 12px;letter-spacing:-.5px}.portal-description{color:#657187;line-height:1.5;margin:0 0 24px}.portal-card label{display:block;font-size:14px;font-weight:650;margin-bottom:16px;color:#24344d}.portal-card input:not([type=checkbox]){display:block;width:100%;min-width:0;min-height:48px;font-size:16px;margin-top:7px;border:1px solid #cfd8e8;background:#fbfcff;border-radius:11px;padding:12px}.password-control{display:flex;align-items:stretch;gap:6px;min-width:0}.password-control input{flex:1;min-width:0!important;width:0!important}.password-control button{align-self:stretch;margin-top:7px;font-size:13px;min-width:70px;padding:8px}.portal-card .remember-login{display:flex;align-items:center;gap:10px;line-height:1.4;font-weight:500;margin:20px 0 10px}.remember-login input{width:20px;height:20px;flex-shrink:0}.portal-hint{font-size:12px;color:#637188;line-height:1.5}.portal-submit{width:100%;min-height:48px;font-size:17px!important;margin-top:6px}.portal-footer{font-size:12px;text-align:center;color:#6e7c91;margin:24px 0 0}.login-demo{margin-top:22px;padding:14px;background:#eef3ff;border-radius:12px;font-size:13px;overflow-wrap:anywhere}.login-demo p{line-height:1.5}.portal-card .error:empty{display:none}.portal-card .error{font-size:14px;line-height:1.4}#admin-logout[hidden]{display:none!important}
@media(max-width:600px){.portal-login{padding:18px 10px;min-height:90svh}.portal-card{padding:24px 20px;border-radius:20px}.portal-card h1{font-size:25px}.portal-brand{margin-top:40px}.portal-brand .cielocom-logo{width:198px;height:auto}.portal-language{top:14px;right:16px}#admin-content .portal-login{padding:8px 0}body:has(#portal-login-form)>main{padding:12px}body:has(#portal-login-form)>main>.pagehead{display:none}.loginform:has(#required-password){padding:24px 18px}}

/* Impact-F&I stock selection */
.pagehead-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.stock-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.inventory-web{font-size:14px;margin-bottom:4px}.inventory-demo{padding:10px;border-radius:10px;background:#eeeafd;color:#5145a0;font-size:14px}#inventory-panel{margin-top:24px}#inventory-panel[hidden]{display:none}.inventory-table{min-width:690px}.inventory-table th button{background:transparent;border:0;padding:4px;color:inherit;font-weight:700}.inventory-table tbody tr[data-stock-index]{cursor:pointer}.inventory-table tbody tr[data-stock-index]:hover{background:#f0edff}.inventory-vehicle{padding:20px;background:#eff7f8;border-left:4px solid #138d89;border-radius:10px;margin-bottom:20px}.inventory-vehicle h3{margin:8px 0}.inventory-vehicle strong{font-size:24px}#stock-message{min-height:24px}#stock-back{margin-top:14px}@media(max-width:600px){.pagehead-actions{width:100%;gap:8px}.pagehead-actions button{flex:1;padding:12px 10px;font-size:14px}.stock-actions{grid-template-columns:1fr}.stock-actions button{min-height:44px}#stock-customer .actions{flex-wrap:wrap}#stock-customer select{max-width:100%}}

.inventory-login-link{display:inline-block;padding:12px 16px;border-radius:10px;background:#eeeafd;color:#4835b5;font-weight:700}#inventory-connect[hidden]{display:none}

/* Align the product name with the Cielocom logo. */
.sidebar .brand > span{display:block;width:174px;max-width:100%;text-align:center}
