:root{--teal:#096bd9;--nav:#172333;--ink:#162339;--muted:#75839a;--line:#dfe6f0;--bg:#f1f5fa;--radius:12px}
body{background:var(--bg)}.icon{width:20px;height:20px;display:inline-block;vertical-align:middle;flex-shrink:0}.sidebar{background:linear-gradient(145deg,#202b3b,#121c29);padding:25px 16px}.brand{font-size:31px;padding:0 6px}.brand-mark{color:#25b7f3}.brand-mark .icon{width:33px;height:33px}.brand-dot{color:#28baf0}.sidebar nav{gap:3px;overflow-y:auto}.sidebar nav a{padding:10px 13px;gap:12px;font-size:13px}.sidebar nav .icon{width:19px;height:19px;color:#c0cbd8}.sidebar nav a:hover,.sidebar nav a[aria-current=page]{background:linear-gradient(110deg,#285b94,#234d7e);box-shadow:inset 0 0 0 1px #779bcd2b}.sidebar nav a[aria-current=page] .icon{color:#fff}.nav-caption{margin-bottom:26px;font-size:8px}.sidebar-bottom{padding-top:15px;margin-top:auto}.sidebar-bottom>a{display:flex;gap:10px;align-items:center;font-size:12px}.sidebar-bottom .user{margin-top:18px}.topbar{background:#ffffffdb}.page-heading{margin-bottom:24px}.page-heading h1{font-size:28px;color:#102035}.eyebrow{font-size:9px;letter-spacing:1.3px;color:#7888a1}.button{gap:8px;border-radius:7px;font-size:12px}.button .icon{width:17px;height:17px}.button.primary{background:linear-gradient(#137ce9,#0864d0);border-color:#0864d0;box-shadow:0 2px 4px #096bd91a}.button.primary:hover{background:#075dbe}.badge.good{background:#dff3e8;color:#25804e}.badge.warn{background:#fff2d6;color:#ac7316}.badge.danger{background:#ffe4e6;color:#bc3741}.panel{box-shadow:0 2px 6px #1b3c6711}.panel-heading{padding:16px 20px;min-height:62px}.panel-heading h2{font-size:14px;gap:10px}.panel-heading h2 .icon{color:#1c3a62;width:20px;height:20px}.panel-heading>a{color:var(--teal);font-size:11px}.text-link{display:flex;gap:7px;align-items:center}.text-link .icon{width:15px;height:15px}.stats{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.stat{min-height:145px;padding:19px 18px;display:flex;align-items:flex-start;background:linear-gradient(135deg,#fff,#f9fbfd);gap:3px}.stat-icon,.stat:nth-child(n) .stat-icon{position:static;width:auto;height:auto;background:transparent!important;border-radius:0;color:#1479ec;order:0;margin-bottom:3px}.stat-icon .icon{width:25px;height:25px}.stat strong{font-size:29px;line-height:1.2;font-weight:700;order:1;color:#162239}.stat .stat-label{font-size:11px;line-height:1.4;order:2;color:#334661;margin-top:4px}.stat-green{border-color:#d7e8df}.stat-red{border-color:#f0dce0;background:linear-gradient(135deg,#fff,#fff6f6)}.stat-blue{border-color:#dce6f8}.stat-green .stat-icon,.stat:nth-child(n).stat-green .stat-icon{color:#21a15a}.stat-red .stat-icon,.stat:nth-child(n).stat-red .stat-icon{color:#e75660}.dashboard-main{grid-template-columns:1fr 1fr;gap:20px}.timeline-row{margin:0 20px;gap:12px;padding:17px 0}.event-icon{height:35px;width:35px;border-radius:7px;background:#eaf2ff;display:grid;place-items:center;color:#1479ec}.event-icon.red{background:#ffe9ec;color:#e15766}.timeline-info{flex:1;min-width:0}.timeline-info strong{display:block;font-size:12px}.timeline-info small{font-size:10px}.critical-item{display:flex;align-items:center;gap:12px;margin:0 18px;padding:13px 0;border-bottom:1px solid #edf1f6}.critical-item:last-child{border:0}.product-thumb{width:59px;height:49px;background:linear-gradient(145deg,#fafbfe,#edf2f7);border:1px solid #e6ebf3;border-radius:7px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.product-thumb .object-illustration{width:100%;height:100%}.critical-info{flex:1;min-width:0}.critical-info strong{display:block;font-size:12px}.critical-info small{font-size:9px;overflow-wrap:anywhere}.critical-quantity{text-align:right;min-width:100px}.critical-quantity strong{font-size:12px;color:#bd3e49}.critical-quantity small{font-size:9px}.stock-track{display:block;width:54px;height:4px;background:#fde8e9;border-radius:4px;margin-top:7px}.stock-track>span{display:block;background:#ee6e78;width:35%;height:4px;border-radius:4px}.chart-legend{display:flex;gap:17px;justify-content:flex-end;padding:17px 22px 0;font-size:10px}.chart-legend span:before{content:'';display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:6px}.legend-in:before{background:#32a661}.legend-out:before{background:#1479ec}.chart{padding:0 18px}.chart svg{display:block;width:100%;height:auto}.chart text{font:10px 'Segoe UI',sans-serif;fill:#7889a2}.chart-caption{font-size:9px;padding:0 22px 15px;margin:0}.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:21px}.quick-grid a{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:13px;min-height:105px;padding:15px 9px;border:1px solid #dfe7f3;border-radius:8px;background:linear-gradient(#fff,#f6f9fd);text-align:center;font-size:11px;font-weight:600}.quick-grid a .icon{width:28px;height:28px;color:#1479ec}.quick-grid a:hover{background:#edf5ff;border-color:#b2cdf2}.contact-summary{display:flex;align-items:center;gap:13px;padding:16px 21px;margin-bottom:21px;border:1px solid var(--line);border-radius:10px;background:linear-gradient(105deg,#fff,#f6f9fe);font-size:12px}.summary-icon{display:grid;place-items:center;background:#eaf2ff;color:#1479ec;border-radius:9px;width:42px;height:42px}.contact-summary>strong{font-size:28px}.contact-summary>span:not(.summary-icon){color:var(--muted)}.summary-note{margin-left:auto;font-size:11px}.contact-browser{margin-bottom:20px;box-shadow:none}.contact-browser .toolbar{padding:14px 18px}.contact-search{max-width:none;align-items:center}.search-input{display:flex;align-items:center;gap:10px;flex:1;min-width:0}.search-input .icon{color:#8394ac}.search-input input{width:100%;border:none;padding-left:0;min-width:80px;background:transparent}.contact-search select{min-width:135px;font-size:12px}.contact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.contact-card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 2px 6px #1b3c6707;transition:box-shadow .2s,border-color .2s}.contact-card:hover{box-shadow:0 6px 18px #1b3c6712;border-color:#b2c8e4}.contact-card-top{display:flex;justify-content:space-between;align-items:center;padding:22px 22px 17px}.contact-logo{background:#eaf2ff;color:#2979cf;width:46px;height:46px;border-radius:10px;display:inline-grid;place-items:center}.contact-logo .icon{width:25px;height:25px}.contact-logo.purple,.related-icon.purple{background:#f0edfb;color:#8572ba}.contact-name{font-size:16px;font-weight:650;margin:0 22px 3px;overflow-wrap:anywhere;line-height:1.4}.contact-code{font-size:10px;color:#8c9aaf;margin:0 22px}.specialties{font-size:11px;margin:13px 22px 0;color:#647992}.contact-lines{display:grid;align-content:start;gap:10px;padding:20px 22px 24px;flex:1;min-height:116px}.contact-lines>div,.contact-lines>a{display:flex;gap:10px;align-items:center;font-size:11px;min-width:0}.contact-lines .icon{width:15px;height:15px;color:#879bb5}.contact-lines span{overflow-wrap:anywhere;min-width:0}.contact-lines p{font-size:11px}.contact-card-footer{display:flex;align-items:center;justify-content:space-between;padding:14px 22px;border-top:1px solid #edf1f7;color:#246bc0;font-size:11px;font-weight:600;background:#fbfcff}.contact-card-footer .icon{width:16px;height:16px}.contact-empty{grid-column:1/-1;text-align:center;padding:45px}.contact-empty .contact-logo{margin-bottom:16px}.contact-empty p{font-size:12px;margin:12px auto 22px;max-width:400px}.contact-detail-grid{display:grid;grid-template-columns:350px minmax(0,1fr);gap:24px;align-items:start}.contact-identity{text-align:center;padding:27px 20px 18px;border-bottom:1px solid #edf1f7}.contact-logo.large{width:66px;height:66px;margin-bottom:12px}.contact-logo.large .icon{width:34px;height:34px}.contact-identity>strong{display:block;font-size:16px;overflow-wrap:anywhere}.contact-detail-grid dl{grid-template-columns:115px 1fr;gap:15px;font-size:11px}.contact-work{min-width:0}.contact-notes{padding:22px;font-size:12px;line-height:1.8;color:#63768c;overflow-wrap:anywhere}.related-record{display:flex;align-items:center;gap:13px;padding:18px 20px;border-bottom:1px solid #edf1f7}.related-record:last-child{border-bottom:0}.related-icon{display:grid;place-items:center;background:#eaf2ff;color:#4387cf;min-width:35px;height:35px;border-radius:8px}.related-record>span:nth-child(2){flex:1;min-width:0}.related-record strong{font-size:12px;font-weight:600}.related-record small{font-size:10px}.related-record>.icon{width:16px;height:16px;color:#8498b1}.archive-panel{padding:6px 0;color:#8c9bb0;font-size:12px}.archive-panel summary{display:flex;align-items:center;gap:8px;cursor:pointer;width:fit-content}.archive-panel p{max-width:500px;margin:15px 0;font-size:12px}.object-overview{display:grid;grid-template-columns:300px 1fr;gap:22px;margin-bottom:23px;border:1px solid var(--line);background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 2px 6px #1b3c670a}.object-visual{padding:20px;text-align:center;background:linear-gradient(145deg,#fff,#f7f9fd);border-right:1px solid var(--line)}.object-photo{height:205px;display:flex;align-items:center;justify-content:center}.object-photo img{width:100%;height:100%;object-fit:contain;border-radius:8px}.object-illustration{display:block;width:100%;height:auto;max-height:230px}.illustration-caption{font-size:9px;color:#8c9db1;line-height:1.5}.photo-upload{display:flex;justify-content:center;align-items:center;gap:7px;margin-top:13px;color:#397ac6;font-size:10px}.photo-upload .icon{width:15px;height:15px}.photo-thumbnails{display:flex;justify-content:center;gap:7px;margin-top:12px}.photo-thumbnails img{width:42px;height:38px;object-fit:contain;border:1px solid var(--line);border-radius:5px;background:#fff}.object-intro{min-width:0;padding:16px 22px 24px 0}.section-tabs{display:flex;gap:20px;border-bottom:1px solid var(--line);min-height:42px;align-items:start;overflow-x:auto}.section-tabs a{font-size:11px;font-weight:600;white-space:nowrap;padding:6px 0 14px}.section-tabs a:first-child{border-bottom:2px solid #1479ec;color:#1479ec}.object-intro-body{padding:28px 0 10px}.object-intro-body h2{font-size:22px;margin:7px 0}.object-intro-body p{font-size:12px;margin:9px 0 15px}.object-intro-body .badge{margin-top:7px}.list-product{display:flex;gap:13px;align-items:center}.list-product .product-thumb{width:51px;height:43px}.form-panel{max-width:900px}.data-form{display:grid;grid-template-columns:1fr 1fr;column-gap:24px}.data-form>.notice,.data-form>.form-actions{grid-column:1/-1}.data-form .field:has(textarea){grid-column:1/-1}.data-form .field{min-width:0}.data-form textarea{min-height:110px}.field input,.field select,.field textarea{font-size:13px}.field input:disabled,.field select:disabled{background:#f3f6fa;color:#788aa0}.page-heading h1 .badge{vertical-align:middle;letter-spacing:0;font-size:10px}.toolbar .contact-link{display:flex;align-items:center;gap:7px}.contact-link .icon{width:16px;height:16px}
@media(min-width:1500px){.stat{min-height:150px;padding:22px}.dashboard-main{gap:24px}.contact-grid{gap:24px}.contact-card-top{padding-top:24px}}
@media(max-width:1200px){.stats{gap:10px}.stat{padding:15px 13px;min-height:140px}.stat-label{font-size:10px}.contact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.contact-detail-grid{grid-template-columns:300px 1fr;gap:18px}.dashboard-main{grid-template-columns:1fr}.timeline-row{min-height:75px}.quick-grid{grid-template-columns:repeat(3,1fr)}.object-overview{grid-template-columns:240px 1fr}.object-visual{padding:15px}.contact-detail-grid dl{grid-template-columns:100px 1fr;padding:18px}}
@media(max-width:900px){.stats{grid-template-columns:repeat(3,minmax(0,1fr))}.contact-detail-grid{grid-template-columns:1fr}.contact-detail-grid>.panel{margin-bottom:0}.contact-identity{display:none}.contact-detail-grid dl{grid-template-columns:140px 1fr}.object-overview{grid-template-columns:210px 1fr}.object-intro{padding-right:16px}.section-tabs{gap:14px}.object-intro-body h2{font-size:19px}}
@media(max-width:720px){.sidebar{padding:13px 16px}.sidebar .brand{padding:0;font-size:26px}.sidebar .brand-mark{font-size:32px}.sidebar nav{overflow-y:hidden;margin-top:12px}.sidebar nav a{padding:9px 12px;font-size:11px}.sidebar nav .icon{width:16px;height:16px}.page-heading h1{font-size:26px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.stat{min-height:124px;padding:15px}.stat strong{font-size:27px}.stat-icon .icon{width:22px;height:22px}.stat .stat-label{font-size:10px}.stat:last-child:nth-child(odd){grid-column:1/-1;min-height:95px;display:grid;grid-template-columns:40px 65px 1fr;align-items:center;gap:5px}.stat:last-child:nth-child(odd) .stat-label{margin:0}.stat:last-child:nth-child(odd) .stat-icon{margin:0}.contact-grid{grid-template-columns:1fr;gap:15px}.contact-card-top{padding:19px 20px 13px}.contact-name,.contact-code{margin-left:20px;margin-right:20px}.contact-lines{padding:18px 20px;min-height:0}.contact-card-footer{padding:14px 20px}.summary-note{display:none}.contact-summary{padding:13px 15px;gap:10px}.contact-summary>span:not(.summary-icon){font-size:11px}.contact-search{flex-wrap:wrap;gap:10px}.search-input{flex-basis:100%}.contact-search select{flex:1}.contact-browser .toolbar{padding:10px 15px}.contact-search .button{min-width:100px}.contact-detail-grid{gap:18px}.contact-detail-grid dl{font-size:11px;grid-template-columns:110px 1fr}.quick-grid{gap:10px;padding:16px;grid-template-columns:repeat(2,minmax(0,1fr))}.quick-grid a{min-height:90px;font-size:10px;gap:10px}.quick-grid a .icon{width:25px;height:25px}.panel-heading{padding:15px 16px}.panel-heading h2{font-size:12px}.panel-heading h2 .icon{width:18px;height:18px}.critical-item{margin:0 13px;gap:9px}.critical-info strong{font-size:11px}.critical-quantity{min-width:85px}.critical-quantity strong{font-size:11px}.critical-info small{font-size:8px}.product-thumb{width:45px;height:43px}.critical-quantity small{font-size:8px}.timeline-row{margin:0 15px;gap:10px}.timeline-info strong{font-size:11px}.timeline-info small{font-size:9px}.timeline-row .badge{font-size:9px}.event-icon{width:30px;height:32px}.event-icon .icon{width:18px;height:18px}.object-overview{grid-template-columns:1fr;gap:0}.object-visual{border-right:0;border-bottom:1px solid var(--line);padding:15px 20px}.object-photo{height:180px}.object-illustration{max-height:180px}.object-intro{padding:10px 18px 20px}.object-intro-body{padding:20px 0 0}.object-intro-body h2{font-size:20px}.section-tabs{gap:25px}.data-form{grid-template-columns:1fr;column-gap:0}.data-form .field:has(textarea){grid-column:auto}.related-record{padding:16px}.related-record small{font-size:9px}.related-record strong{font-size:11px}.related-record .badge{font-size:9px}.chart-caption{font-size:8px}.contact-empty{padding:32px 20px}.page-heading .actions{width:100%}.contact-detail-grid .panel-heading .button{font-size:10px;padding:7px 10px}.contact-detail-grid .panel-heading .button .icon{width:14px;height:14px}.contact-name{font-size:15px}}
@media print{.object-visual{background:#fff}.object-photo{height:150px}.label .icon{width:20px}.contact-browser,.archive-panel{display:none}}

.sidebar nav{scrollbar-width:thin;scrollbar-color:#5a6f8a transparent}.sidebar nav::-webkit-scrollbar{width:4px}.sidebar nav::-webkit-scrollbar-thumb{background:#5a6f8a;border-radius:8px}

.intro-specs{padding:10px 0 0;font-size:11px;gap:10px;grid-template-columns:140px 1fr}.intro-specs dt,.intro-specs dd{padding-bottom:6px;border-bottom:1px solid #edf1f7}.object-intro-body{padding-top:19px}.object-overview~.dashboard-grid{grid-template-columns:minmax(0,.9fr) minmax(0,1.3fr)}@media(max-width:900px){.object-overview~.dashboard-grid{grid-template-columns:1fr}}@media(max-width:720px){.intro-specs{grid-template-columns:110px 1fr;font-size:10px}}
.product-thumb img{width:100%;height:100%;object-fit:contain;border-radius:inherit;background:#fff}
