/* Shared AUTO CRM interface theme. Business data and document PDF typography are unchanged. */
:root{--ui-text:#243247;--ui-heading:#17263c;--ui-muted:#66758a;--ui-border:#dfe6ef;--ui-bg:#f5f7fb;--ui-blue:#1769d5;--ui-soft:#eaf2ff;--ui-shadow:0 2px 8px #20365006;--ui-font:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;font-family:var(--ui-font);font-size:14px;line-height:1.5;color:var(--ui-text);background:var(--ui-bg);font-synthesis:none;text-rendering:optimizeLegibility}
body{background:var(--ui-bg);color:var(--ui-text)}
button,input,select,textarea{font-family:var(--ui-font);font-size:14px;line-height:1.45}
h1,h2,h3{color:var(--ui-heading);font-weight:650;line-height:1.3;letter-spacing:-.025em}
h1,.admin-dashboard>h1{font-size:28px;font-weight:700}h2{font-size:16px}h3{font-size:15px}
button{font-weight:550;border-radius:10px;transition:background-color .15s,box-shadow .15s;color:#fff;background:var(--ui-blue)}
button:not(:disabled):hover{box-shadow:0 2px 7px #1769d51a}
button.ghost{background:#edf2f9;color:#36506e}
button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:3px solid #90baff;outline-offset:3px}
input,select,textarea{color:var(--ui-text);border-color:var(--ui-border);border-radius:9px;background:#fff;padding:10px 12px;transition:border-color .15s,box-shadow .15s}
input::placeholder,textarea::placeholder{color:#768497;opacity:1}
input:focus,select:focus,textarea:focus{outline:none;border-color:#76a7e9;box-shadow:0 0 0 3px #1769d512}
input[type=checkbox],input[type=radio]{accent-color:var(--ui-blue)}
label{font-size:12px;line-height:1.5;font-weight:500;color:#617187}
.muted{color:var(--ui-muted)}a{color:#1764bd;text-underline-offset:3px}a:hover{text-decoration:underline}
.top{background:#1969c4;border-bottom:1px solid #ffffff18}
.shell>aside{background:#edf2fa;border-right-color:var(--ui-border);padding:16px 8px}
.shell>aside .nav{font-size:14px;font-weight:500;height:43px;line-height:21px;border-radius:10px;gap:13px;color:#47576d}
.shell>aside .nav:hover{background:#e3ebf7;color:#225790}
.shell>aside .nav.active{background:#dceaff;color:#1559ad;font-weight:600}
.content{padding:24px;gap:0}.heading{margin-bottom:20px;gap:16px}
.panel,.deal,.modal,.dashboard-card,.dashboard-filters{border-color:var(--ui-border);box-shadow:var(--ui-shadow)}
.panel,.dashboard-card{border-radius:14px;background:#fff}
.panel h2{font-size:15px;letter-spacing:0;text-transform:none;font-weight:650}
.board{border-top-color:var(--ui-border)}.lane{border-right-color:#e3e9f1}
.deal{border-radius:12px;padding:14px;background:#fff}.deal strong{font-size:14px;line-height:1.45;font-weight:650;color:var(--ui-heading)}
.deal small{font-size:11px;font-weight:500;color:#69798d;letter-spacing:.025em;margin-top:12px}.deal p{font-size:13px;line-height:1.5;margin:4px 0 0}
.deal.click:hover{border-color:#a9c6ec;box-shadow:0 4px 12px #2036500c}.deal .full{font-size:13px;padding:9px 12px;margin-top:14px}
.funnel-stage-chip{font-size:12px;font-weight:600;line-height:1.4}.funnel-stage-count{font-variant-numeric:tabular-nums}
table{font-size:13px}thead th{font-size:12px;font-weight:600;color:#5b6c82;background:#f4f7fb}td,th{border-color:#e7edf4}tbody td{line-height:1.55}tbody tr:hover{background:#f8faff}.table-scroll{border:1px solid var(--ui-border);border-radius:13px;box-shadow:var(--ui-shadow)}
.contact-cell .muted{font-size:12px;margin-top:2px}
.contract-panel{background:#fff;border-color:var(--ui-border)}.contract-panel h2{color:#41546c;font-size:13px}.contract-panel label{color:#64758b;font-size:12px}.contract-panel input,.contract-panel .contract-words{font-size:14px;line-height:1.6;color:#34465f;padding:5px 6px;margin-left:-6px}.contract-panel input::placeholder{color:#768497}
.fieldline label{color:#64758b;font-size:12px}.fieldline{font-size:14px;line-height:1.6}
.deal-overlay-dialog{background:#f1f5f9}.deal-overlay-dialog .heading h1{font-size:26px}.manager-profile-dialog .heading h1{font-size:24px}
.profile-info input{font-size:14px}.profile-info label{color:#617187;font-size:12px}
.dashboard-metric h2{font-size:13px;font-weight:600;color:#43536a;letter-spacing:0}.dashboard-metric strong{font-size:32px;font-weight:700;letter-spacing:-.04em;color:#17263c;font-variant-numeric:tabular-nums}.dashboard-metric p{font-size:12px;color:#66758a}.dashboard-card h2{font-size:16px;font-weight:650}.dashboard-metric h2{font-size:13px}
.admin-dashboard th,.admin-dashboard td{padding:10px 14px}.admin-dashboard thead th{background:#f0f4f9;color:#45566d;font-size:12px;font-weight:600}.admin-dashboard tfoot th,.admin-dashboard tfoot td{background:#eaf2ff;font-size:15px}.admin-dashboard .danger{color:#d92d45}.admin-dashboard .success{color:#228347}
.documents-menu{border-radius:13px;box-shadow:0 10px 30px #2036501a}.documents-menu button{font-size:13px;line-height:1.55;color:#34465f;padding:10px 7px}.document-templates-header h1{font-size:26px}.document-template-table{font-size:13px}
.modal{border-radius:16px;box-shadow:0 20px 65px #17263c26}.modal h2{font-size:20px}.modal-back{background:#17263c50}
footer{color:#718096;font-size:11px;border-top-color:var(--ui-border)}
@media(max-width:900px){.content{padding:20px 18px}.dashboard-metric strong{font-size:29px}}
@media(max-width:620px){:root{font-size:14px}.content{padding:18px 12px}h1,.admin-dashboard>h1{font-size:24px}.heading{gap:12px;margin-bottom:16px}.deal-overlay-dialog .heading h1{font-size:22px}.dashboard-card h2{font-size:15px}.dashboard-metric h2{font-size:13px}.dashboard-metric strong{font-size:30px}input,select,textarea{font-size:16px}.contract-panel input{font-size:16px}.shell>aside .nav{font-size:13px}}
@media(prefers-reduced-motion:reduce){button,input,select,textarea{transition:none}}
.activity-timeline{background:#f1f5f9;color:#43556d}.activity-card{border:1px solid #e3eaf2;border-radius:13px;padding:16px}.activity-card>header{font-size:12px;line-height:1.5}.activity-card>header>b{color:#34465f}.activity-card time{font-size:12px;color:#68798e}.activity-card p,.activity-comment-text{font-size:14px;line-height:1.65}.activity-divider>span{background:#e5ecf4;color:#5d6f86;font-weight:500}.activity-comment-symbol{background:#edf5ff;color:#3682d9}
.auth-card{border-color:var(--ui-border);box-shadow:0 12px 40px #2036500b}.auth-card h1{font-size:27px}.auth-card label{color:#5d6d82}
