/* ORS workspace: pearl surfaces, sky-blue navigation and blue actions.
   Presentation only. File inspection gates, status colours and lab canvases
   remain owned by their feature styles and scripts. */
body.crm-type.crm-premium{
 --type-page:36px;--type-section:22px;--type-subsection:18px;
 --type-body:14px;--type-card:16px;
 --ui-ink:#202932;--ui-muted:#52616c;--ui-border:#94a4ae;
 --ui-accent:#246bb5;--ui-accent-hover:#1c5896;
 --accent-ink:#245780;--accent-soft:#e8f3ff;--accent-edge:#a7c9e7;
 --ink:#202932;--line:#d7dfe4;
 --surface-edge:#d3e0e3;
 --surface-light:radial-gradient(ellipse at 15% 0,#fff 25%,transparent 75%),linear-gradient(145deg,#fff 55%,#f4f8fc);
 --surface-shadow:inset 0 1px #fff,0 2px 3px #304a5b05,0 8px 12px -8px #304a5b1c,0 16px 32px -16px #496d802b;
 --surface-shadow-raised:inset 0 1px #fff,0 4px 8px #304a5b09,0 20px 36px -16px #3e728539;
 --panel-shadow:inset 0 1px #fff,0 10px 30px -12px #4164771f;
 --control-light:linear-gradient(180deg,#ffffff10,transparent);
 --control-shadow:inset 0 1px #ffffff50,0 2px 4px #182b3b0a;
 --cabinet-light:radial-gradient(ellipse at 90% 0,#fffdf8 0,transparent 55%),radial-gradient(ellipse at 0 80%,#e1eefb 0,transparent 60%),linear-gradient(125deg,#f5f8fc,#edf4fa 65%,#f8fafc);
 color:var(--ui-ink);background:var(--cabinet-light);
}
body.crm-premium :is(.page-heading,.emp-head){margin-bottom:24px}
body.crm-premium :is(.page-heading,.emp-head,.auth-heading) h1,
body.crm-premium .review-heading h2{letter-spacing:-.035em!important;font-weight:700!important;color:#18242d}
body.crm-premium :is(.eyebrow,.emp-caption,.auth-eyebrow){text-transform:uppercase;letter-spacing:.1em!important}
body.crm-premium :is(.page-heading,.emp-head) .eyebrow,
body.crm-premium .emp-head .emp-caption{margin:0 0 8px}
body.crm-premium .topbar{background:#f7f9fbd9;backdrop-filter:blur(16px);border-bottom:1px solid #dde4e8;box-shadow:none}
body.crm-premium .global-search{border-radius:14px;background:#fff;border-color:#c6d7df;box-shadow:inset 0 2px 3px #496d8008,0 2px 4px #fff}
body.crm-premium :is(.metric-card,.order-tile,.client-tile,.contract-row,.cities-card,.admin-card,.auth-card){border-radius:20px}
body.crm-premium :is(.board-panel,.contracts-panel,.clients-panel,.emp-home-section,.bubble-panel){border:1px solid #d7dfe4;border-radius:24px}
body.crm-premium :is(.metric-card,.order-tile,.client-tile,.contract-row):hover{border-color:#9cbddc}
body.crm-premium :is(.button,.auth-primary,.admin-primary,.auth-secondary,.admin-secondary){border-radius:11px;min-height:42px;padding:10px 16px}
body.crm-premium :is(.button,.board-tool,.auth-secondary,.admin-secondary):not(:disabled):not([aria-disabled=true]){background-image:linear-gradient(180deg,#fff9,transparent)!important;box-shadow:inset 0 1px #fff,0 2px 3px #304a5b0c,0 5px 10px -5px #304a5b25}
body.crm-premium :is(.button-primary,.auth-primary,.admin-primary,.feed-primary,.review-next,.profile-footer .button):not(:disabled):not([aria-disabled=true]){
 background:linear-gradient(160deg,#2775bf,#205fad)!important;border-color:#246bb5!important;color:#fff!important;
 box-shadow:inset 0 1px #ffffff60,inset 0 -2px #134c8b26,0 3px 5px #246bb520,0 9px 18px -6px #246bb54a;
}
body.crm-premium :is(.button-primary,.auth-primary,.admin-primary,.feed-primary,.review-next):hover:enabled{background:linear-gradient(160deg,#246bb5,#1c5896)!important}
body.crm-premium :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea){border-radius:12px;box-shadow:inset 0 2px 4px #29475808,0 1px #fff}
body.crm-premium :is(.crm-meta-badge,.contract-pack-number,time){background:#edf1f4;border-color:#d0dbe2;color:#405565;box-shadow:inset 0 1px #fff}
/* Light pearl navigation; colour is reserved for the selected destination. */
body.crm-premium :is(#crm-navigation,.emp-sidebar){background:linear-gradient(145deg,#fff 28%,#f9fcff 65%,#eaf3fd)!important;border:1px solid #fff;box-shadow:inset 0 0 0 1px #fff,0 4px 8px #476a8009,0 22px 44px -12px #476a8030}
body.crm-premium :is(#crm-navigation,.emp-sidebar) .brand{border-color:#d9e5e9;color:#284455}
body.crm-premium :is(#crm-navigation,.emp-sidebar) .brand :is(strong,em,strong>span){color:#284455!important}
body.crm-premium :is(#crm-navigation,.emp-sidebar) :is(.brand small,.emp-caption,.user-chip small,.workspace-chip span){color:#607987!important}
body.crm-premium #crm-navigation :is(.workspace-chip,.user-chip){background:#eff6f8;border-color:#d9e6ec;color:#355563}
body.crm-premium #crm-navigation .workspace-chip strong{color:#355563}
body.crm-premium #crm-navigation .sidebar-footer{border-color:#d9e5e9}
body.crm-premium #crm-navigation .nav-item,
body.crm-premium .emp-sidebar nav button{color:#405b6b!important;background:transparent!important;border:1px solid transparent!important;box-shadow:none;min-height:46px;border-radius:12px}
body.crm-premium #crm-navigation .nav-item:hover,
body.crm-premium .emp-sidebar nav button:hover{color:var(--accent-ink)!important;background:#edf6ff!important;border-color:#c6dff3!important}
body.crm-premium #crm-navigation .nav-item.is-active,
body.crm-premium .emp-sidebar nav button[aria-pressed=true]{color:#235b8b!important;background:linear-gradient(110deg,#d5eafb,#eef7ff)!important;border-color:#9bc4e7!important;box-shadow:inset 3px 0 #4c91cc,inset 0 1px #fff,0 5px 12px #397fb31e}
body.crm-premium #crm-navigation .nav-item b,
body.crm-premium .emp-sidebar nav button b{color:#426171!important;background:#e5eef2!important;border:0;border-radius:6px;min-width:24px;margin-left:auto}
body.crm-premium #crm-navigation .nav-icon{color:inherit;opacity:1}
body.crm-premium .emp-sidebar nav button{justify-content:flex-start;gap:10px}
body.crm-premium .emp-sidebar nav button::before{content:"";width:19px;height:19px;flex:0 0 19px;background:currentColor;mask:var(--nav-symbol) center/contain no-repeat}
body.crm-premium #go-home{--nav-symbol:url('vendor/lucide-static/icons/house.svg')}
body.crm-premium [data-filter=new]{--nav-symbol:url('vendor/lucide-static/icons/clipboard-list.svg')}
body.crm-premium [data-filter=review]{--nav-symbol:url('vendor/lucide-static/icons/scan-eye.svg')}
body.crm-premium [data-filter=needs_info]{--nav-symbol:url('vendor/lucide-static/icons/message-square-text.svg')}
body.crm-premium [data-filter=done]{--nav-symbol:url('vendor/lucide-static/icons/circle-check.svg')}
body.crm-premium #go-sms{--nav-symbol:url('vendor/lucide-static/icons/message-square-text.svg')}
body.crm-premium #go-cities{--nav-symbol:url('vendor/lucide-static/icons/map-pin.svg')}
body.crm-premium #go-documents{--nav-symbol:url('vendor/lucide-static/icons/file-text.svg')}
/* Large numbers and calm hierarchy on the partner overview. */
body.crm-premium .dashboard-view>.page-heading{display:flex}
body.crm-premium .dashboard-view .panel-heading{display:flex}
body.crm-premium .metric-card{padding:20px;min-height:110px;border-color:#d7dfe4}
body.crm-premium .metric-body strong,body.crm-premium .emp-metrics strong{font-size:34px!important;letter-spacing:-.04em!important}
body.crm-premium .metric-grid{gap:16px;margin-bottom:24px}
/* The SVG used to be 42px inside a 32px cell at compact widths.
   Give the icon and the label independent, non-overlapping columns. */
body.crm-premium .metric-card{gap:14px;align-items:center}
body.crm-premium .metric-icon{width:44px;height:44px;flex:0 0 44px;place-items:center;border:1px solid #fff;border-radius:15px;box-shadow:inset 0 1px #fff,0 4px 8px -3px #376c7b24; background:linear-gradient(145deg,#fff,#e5f2ff)}
body.crm-premium .metric-icon .svg-icon{width:28px;height:28px;max-width:100%;max-height:100%}
body.crm-premium .metric-body{display:grid;gap:4px;min-width:0;text-align:left}
body.crm-premium .metric-body strong{margin:0;line-height:1.25!important}
body.crm-premium .metric-body>span{display:flex;align-items:center;min-height:2.8em;margin:0;overflow-wrap:break-word}
body.crm-premium .metric-card:first-child{background:radial-gradient(ellipse at 90% 0,#fff,transparent 70%),linear-gradient(120deg,#d6eafa,#edf6ff);border-color:#b4d1e9;color:var(--accent-ink);box-shadow:var(--surface-shadow)}
body.crm-premium .metric-card:first-child .metric-body :is(strong,span){color:var(--accent-ink)!important}
body.crm-premium .metric-card:first-child .metric-icon{background:#ffffffb3;color:#377fbd}
body.crm-premium .status-column{border-radius:16px;background:linear-gradient(180deg,#edf4f5,#f8fbfc);border-color:#d9e4e8;box-shadow:inset 0 1px 3px #35566707}
body.crm-premium #view-dashboard .board-panel{padding:20px}
body.crm-premium .contract-row{padding:20px 20px 20px 76px;position:relative;background:#fff}
body.crm-premium .contract-row::before{content:"";position:absolute;left:20px;top:22px;width:36px;height:42px;background:#eaf4fd url('vendor/lucide-static/icons/file-text.svg') center/23px no-repeat;border:1px solid #c7dfef;border-radius:10px;box-shadow:inset 0 1px #fff}
body.crm-premium .contracts-panel{padding:24px}
body.crm-premium .contracts-list{gap:12px;margin-top:20px}
body.crm-premium .partner-profile-form fieldset,body.crm-premium .profile-summary{border-radius:20px;border-color:#ccd7de}
body.crm-premium .profile-type{border-radius:14px}
body.crm-premium #view-messages .messages-shell{border:1px solid #d4dde2;border-radius:22px;overflow:hidden}
body.crm-premium #view-feed .feed-post{border:1px solid #d7dfe4;border-radius:22px;overflow:hidden}
body.crm-premium :is(.modal-card,.contract-dialog,.access-dialog,#city-settings,#preview){border-radius:22px;border-color:#cbd8df;box-shadow:0 25px 100px #152c3c38}
body.crm-premium #view-print :is(.wizard-main,.wizard-side,.wizard-card){border-radius:22px}
body.crm-premium :is(.wizard-footer,.profile-footer,.contract-heading,.emp-preview-head){background:#fff}
/* Review workspace: four clear material cards and a contrasting check panel. */
body.crm-premium .review-heading{padding:4px 0 16px}
body.crm-premium .review-flow{border-radius:14px;background:#ffffffb3;border-color:#d4dde2;padding:12px 16px}
body.crm-premium .review-flow-step{font-weight:600!important}
body.crm-premium.employee .intake-workspace .mat-group{border-radius:22px;border-color:#d1dce2;overflow:hidden}
body.crm-premium.employee .review-card-heading{padding:16px 18px 12px}
body.crm-premium.employee .review-card-heading h4{font-size:18px!important}
body.crm-premium.employee .review-card-names h4{display:flex;align-items:center;gap:7px}
body.crm-premium.employee .review-card-names h4::before{content:"";width:17px;height:17px;flex:none;background:#397fb3;mask:var(--material-symbol) center/contain no-repeat}
body.crm-premium.employee [data-material=meter]{--material-symbol:url('vendor/lucide-static/icons/ruler.svg')}
body.crm-premium.employee [data-material=ankle]{--material-symbol:url('vendor/lucide-static/icons/footprints.svg')}
body.crm-premium.employee [data-material=scans]{--material-symbol:url('vendor/lucide-static/icons/box.svg')}
body.crm-premium.employee [data-material=planogram]{--material-symbol:url('vendor/lucide-static/icons/scan.svg')}
body.crm-premium.employee :is([data-material=baro],[data-material=extra]){--material-symbol:url('vendor/lucide-static/icons/images.svg')}
body.crm-premium.employee .review-tile-cover{width:calc(100% - 24px);margin:0 12px;border-radius:16px;border:1px solid #d9e8ee;background:radial-gradient(ellipse at 40% 10%,#fff,transparent 65%),linear-gradient(125deg,#e8f2fb,#eef7ff);box-shadow:inset 0 1px #fff,0 3px 7px #476a8008}
body.crm-premium.employee .review-category-art{height:158px;object-fit:contain}
body.crm-premium.employee .review-tile-footer{padding:12px 18px 15px}
body.crm-premium.employee .review-card-open{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:8px 13px;border-radius:11px;font-size:13px!important;background:var(--accent-soft)!important;border:1px solid var(--accent-edge);color:var(--accent-ink)!important;box-shadow:inset 0 1px #fff,0 3px 7px #377bb517!important}
body.crm-premium.employee .review-card-open::after{content:"";width:15px;height:15px;flex:none;background:currentColor;mask:url('vendor/lucide-static/icons/arrow-right.svg') center/contain no-repeat;transition:transform .22s cubic-bezier(.2,.7,.2,1)}
body.crm-premium.employee .mat-strip{padding:0 16px;margin:10px 0}
body.crm-premium.employee .mat-frame{width:48px;height:42px;border-radius:8px}
body.crm-premium.employee .review-side{padding:12px;border:1px solid #d2dce2;border-radius:24px;box-shadow:var(--surface-shadow)}
body.crm-premium.employee #detail .review-status{background:radial-gradient(ellipse at 90% 0,#fff,transparent 75%),linear-gradient(145deg,#d9ecfb,#f2f9ff);padding:20px;border:1px solid #b0cfe7;border-radius:17px;color:var(--accent-ink);box-shadow:inset 0 1px #fff,0 8px 20px #4580b318}
body.crm-premium.employee #detail .review-status :is(h3,.review-progress,.review-next-hint){color:var(--accent-ink)!important}
body.crm-premium.employee #detail .review-status-top svg{color:#397fb3}
body.crm-premium.employee #detail .review-status-top img{filter:none;opacity:.75}
body.crm-premium.employee #detail .review-progress{font-size:18px!important;font-weight:600!important;margin:16px 0 12px}
body.crm-premium.employee #detail .review-progress-bar{height:6px;border-radius:10px;overflow:hidden;background:#cfdfed;accent-color:#4a91cc}
body.crm-premium.employee #detail .review-progress-bar::-webkit-progress-bar{background:#cfdfed}
body.crm-premium.employee #detail .review-progress-bar::-webkit-progress-value{background:#4a91cc;border-radius:10px}
body.crm-premium.employee #detail .review-status.is-ready{background:linear-gradient(145deg,#e0f3e9,#f7fcf9);border-color:#a9d5c3}
body.crm-premium.employee #detail .review-status.is-ready :is(h3,.review-progress,.review-next-hint){color:#275748!important}
body.crm-premium.employee #detail .review-status.is-ready .review-progress-bar{accent-color:#2ca780}
body.crm-premium.employee #detail .review-status.is-ready .review-progress-bar::-webkit-progress-value{background:#2ca780}
body.crm-premium.employee #detail .review-next{width:100%;margin-top:18px;background:linear-gradient(180deg,#fff,#f2f8ff)!important;color:var(--accent-ink)!important;border-color:#9abfdd!important;box-shadow:inset 0 1px #fff,0 3px 8px #4580b310}
body.crm-premium.employee .review-locked{border:1px solid #d7e1e6;background:#f2f5f7;border-radius:13px;margin:12px 0;padding:14px}
body.crm-premium.employee .review-clarification{padding:8px}
body.crm-premium.employee .review-side #result{padding:8px}
body.crm-premium.employee .emp-list{border-radius:22px;padding:18px}
body.crm-premium.employee .emp-order{border:1px solid #d8e2e7;border-radius:14px;padding:16px;background:#fff}
body.crm-premium.employee .emp-order[aria-pressed=true]{background:#edf5ff;border-color:#93bddd}
body.crm-premium.employee .cities-card{padding:20px}
/* A bright title surface separates navigation from the working content. */
body.crm-premium .app-shell .view>.page-heading,
body.crm-premium.employee .emp-head{
 padding:20px 24px;border:1px solid #fff;border-radius:24px;
 background:linear-gradient(90deg,#ffffffed 0%,#ffffff80 55%,transparent 85%),url('assets/atelier-contours.svg?v=blue1') right center/min(62%,480px) auto no-repeat,linear-gradient(115deg,#ffffffed,#f1f8ffcc);
 box-shadow:inset 0 1px #fff,0 10px 30px -16px #3d647a36;
}
body.crm-premium :is(.page-heading,.emp-head) :is(.eyebrow,.emp-caption){display:table;padding:2px 0;border:0;background:none;color:#436985!important;max-width:100%}
body.crm-premium :is(.page-heading,.emp-head) :is(.eyebrow,.emp-caption)::before{content:"";display:inline-block;width:6px;height:6px;margin:0 8px 2px 0;border-radius:50%;background:#5c9dce;box-shadow:0 0 0 3px #e9f3fc;vertical-align:middle}
body.crm-premium.employee .review-heading{padding:12px 16px 14px;border-left:2px solid #8ab9de;border-radius:0 16px 16px 0;background:linear-gradient(100deg,#ffffffed,#ffffff26)}
/* The contour motif stays in the chrome; source photos and scan surfaces are unchanged. */
body.crm-premium.employee .mat-gallery:not(.focus-mode) .review-tile-cover{border-radius:16px 16px 28px 16px;background:radial-gradient(ellipse at 40% 10%,#fff,transparent 65%),linear-gradient(125deg,#eaf3fc,#f3f8ff);transition:border-color .22s ease,box-shadow .22s ease}
body.crm-premium.employee .review-art-label{border:1px solid #ffffffc9;border-radius:7px;background:#ffffffdc;color:#52636b;box-shadow:0 1px 4px #304a5b08}
body.crm-premium .contract-row::before{border-radius:9px 9px 16px 9px;background-color:#eaf4fd}
body.crm-premium .metric-icon{border-radius:14px 14px 20px 14px}
body.crm-premium :is(#crm-navigation .nav-item,.emp-sidebar nav button){transition:background-color .22s ease,border-color .22s ease,box-shadow .22s ease,color .22s ease}
body.crm-premium .review-flow{background:#ffffffcf;border-color:#d1e0ee;box-shadow:inset 0 1px #fff,0 4px 10px #3d647a09}
body.crm-premium .review-flow-step.is-current b{background:linear-gradient(145deg,#2775bf,#205fad);box-shadow:inset 0 1px #ffffff70,0 3px 6px #397fb325}
body.crm-premium .review-flow-step.is-done b{background:#18836f;color:#fff}
body.crm-premium .mat-gallery:not(.focus-mode) .mat-group[data-review-state=done]{border-color:#9fcfbc;box-shadow:inset 0 3px #61b497,var(--surface-shadow)}
body.crm-premium :is(.profile-type,.contract-workspace-tabs button,.contract-tabs button){transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease}
body.crm-premium :is(.contract-workspace-tabs button[aria-selected=true],.profile-type.is-selected){box-shadow:inset 0 1px #fff,0 4px 10px #397fb31a}
body.crm-premium .profile-type.is-selected{background:linear-gradient(145deg,#eef7ff,#e1effb);border-color:#8cb9db}
body.crm-premium .profile-type.is-selected :is(strong,small){color:var(--accent-ink)}
body.crm-premium .profile-type.is-selected .profile-type-symbol{background:linear-gradient(145deg,#d4eafa,#f2f9ff);color:#286ca4;border-color:#aacde8}
body.crm-premium :is(.contract-tabs,.contract-workspace-tabs,.filter-tabs,.feed-tabs) :is(button[aria-selected=true],button[aria-pressed=true],button.is-active){color:var(--accent-ink)!important;background:var(--accent-soft)!important;border-color:var(--ui-accent)!important}
body.crm-premium .contract-workspace-tabs button[aria-selected=true] .contract-step-number{background:var(--ui-accent);color:#fff}
body.crm-premium .contract-agreement-toc button[aria-current=true]{background:var(--accent-soft);border-color:#c6dff3;color:var(--accent-ink)}
body.crm-premium .contract-agreement-toc button[aria-current=true]>span:first-child{color:#286ca4}
@media(hover:hover){
 body.crm-premium.employee .review-card-open:hover:enabled{background:#d8ebfd!important;border-color:#7eadd3;box-shadow:inset 0 1px #fff,0 5px 12px #397fb329!important}
 body.crm-premium.employee .review-card-open:hover:enabled::after{transform:translateX(2px)}
 body.crm-premium.employee .review-tile-cover:hover{border-color:#9bbfdf;box-shadow:inset 0 1px #fff,0 5px 14px #476a801c}
}
/* Sign-in and admin use the same materials without exposing other entrances. */
body.crm-premium.auth-page{background:url('assets/atelier-contours.svg?v=blue1') right top/800px auto no-repeat,var(--cabinet-light)}
body.crm-premium .auth-card{padding:36px;border:1px solid #fff;border-radius:28px;box-shadow:inset 0 1px #fff,0 30px 100px #52798e24;background:#fbfcfd}
body.crm-premium .auth-brand{margin-bottom:30px}
body.crm-premium .auth-heading h1{font-size:32px!important}
body.crm-premium .auth-form{gap:17px}
body.crm-premium .auth-form input{min-height:48px}
body.crm-premium .auth-primary{min-height:48px}
body.crm-premium .admin-head{padding:26px 30px;border-radius:24px;background:linear-gradient(90deg,#ffffffed 0%,#ffffff80 55%,transparent 85%),url('assets/atelier-contours.svg?v=blue1') right center/min(62%,480px) auto no-repeat,linear-gradient(120deg,#fff,#edf6ff);border:1px solid #fff;color:var(--accent-ink);box-shadow:inset 0 1px #fff,0 10px 30px #52798e18}
body.crm-premium .admin-brand :is(h1,p,span){color:var(--accent-ink)!important}
body.crm-premium .admin-card{padding:28px}
body.crm-premium .admin-card-head{flex-wrap:wrap}
body.crm-premium .admin-card-head>div{flex:1 1 220px;min-width:0}
body.crm-premium .admin-card-head button{flex:none;white-space:nowrap}
/* One rhythm for section titles and their actions. Do not override display:
   role-specific duplicate headings and hidden panels remain hidden. */
body.crm-premium .app-shell .view>.page-heading{margin:0 0 20px!important;gap:12px;align-items:flex-start}
body.crm-premium :is(.page-heading,.emp-head)>div:first-child{min-width:0}
body.crm-premium :is(.page-heading,.emp-head) :is(.heading-actions,.emp-head-actions){gap:8px;align-items:center}
body.crm-premium :is(.panel-heading,.emp-section-head){gap:12px;margin-bottom:16px}
body.crm-premium :is(.panel-heading,.emp-section-head) h2{margin:0 0 4px}
body.crm-premium :is(.panel-heading,.emp-section-head) p{margin:0}
body.crm-premium :is(.review-card-heading,.review-tile-footer,.contract-row)>*{min-width:0}
body.crm-premium .review-card-badge{max-width:100%;white-space:normal;text-align:center}
body.crm-premium .review-tile-footer{flex-wrap:wrap;gap:8px}
body.crm-premium .review-tile-footer :is(.review-card-open,.review-card-request){flex-shrink:0;max-width:100%}
/* Every material card uses the same left and right text edge. Large focused
   previews retain the independent layout provided by the laboratory. */
body.crm-premium.employee .mat-gallery:not(.focus-mode){--material-inset:14px}
body.crm-premium.employee .mat-gallery:not(.focus-mode) :is(.review-card-heading,.mat-strip,.review-tile-footer){padding-inline:var(--material-inset)}
body.crm-premium.employee .mat-gallery:not(.focus-mode) .review-tile-cover{margin-inline:var(--material-inset);width:calc(100% - 2 * var(--material-inset))}
body.crm-premium.employee .mat-gallery:not(.focus-mode) .mat-open{min-width:0;gap:8px}
body.crm-premium.employee .mat-gallery:not(.focus-mode) .mat-frame{flex-basis:auto;flex-shrink:0}
body.crm-premium.employee .mat-gallery:not(.focus-mode) .mat-name{min-width:0;overflow-wrap:break-word;word-break:normal}
body.crm-premium.employee .mat-gallery:not(.focus-mode) .mat-filemeta{gap:4px 8px}
@media(min-width:861px){
 body.crm-premium .page-content{padding:28px 30px 30px}
 body.crm-premium #crm-navigation{margin:16px 0 16px 16px;top:16px;height:calc(100dvh - 32px);padding:22px 13px;border-radius:22px}
 body.crm-premium #crm-navigation .nav-list{gap:6px}
 body.crm-premium #crm-navigation .workspace-chip{padding:12px;margin:20px 0}
 body.crm-premium.employee{grid-template-columns:234px minmax(0,1fr)}
 body.crm-premium.employee>.emp-sidebar{position:sticky;top:16px;height:calc(100dvh - 32px);margin:16px 0 16px 16px;padding:22px 12px;border-radius:22px;gap:22px;overflow:auto;align-self:start}
 body.crm-premium.employee>main{padding:28px 30px}
 body.crm-premium.employee #detail.intake-workspace{grid-template-columns:minmax(0,1fr) 288px;gap:22px}
}
@media(min-width:861px) and (max-width:1200px){
 body.crm-premium .page-content,body.crm-premium.employee>main{padding:22px}
 body.crm-premium.employee #detail.intake-workspace{grid-template-columns:minmax(0,1fr) 264px;gap:16px}
 body.crm-premium.employee .review-category-art{height:132px}
}
@media(min-width:1100px){body.crm-premium .metric-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:861px) and (max-width:1120px){
 body.crm-premium.employee #detail.intake-workspace{grid-template-columns:minmax(0,1fr)}
 body.crm-premium.employee .review-side{position:static}
}
@media(min-width:861px) and (max-height:800px){
 body.crm-premium.employee .review-heading{padding:8px 16px}
 body.crm-premium.employee .review-heading h2{font-size:30px!important}
 body.crm-premium.employee .review-flow{padding:8px 12px}
 body.crm-premium.employee .review-card-heading{padding:10px 14px 8px}
 body.crm-premium.employee .review-category-art{height:84px}
 body.crm-premium.employee .review-card-heading h4{font-size:16px!important}
 body.crm-premium.employee .mat-strip{margin:6px 0;padding:0 12px}
 body.crm-premium.employee .mat-frame{width:34px;height:32px}
 body.crm-premium.employee .review-tile-footer{padding:5px 12px 8px}
 body.crm-premium.employee .review-card-open{min-height:32px;padding:5px 10px}
}
@media(max-width:860px){
 body.crm-type.crm-premium{--type-page:28px}
 body.crm-premium.employee{display:block}
 body.crm-premium #crm-navigation{border-radius:18px 18px 0 0}
 body.crm-premium #crm-navigation .nav-item{min-height:48px;border-radius:10px;padding:5px}
 body.crm-premium .page-content{padding:20px 16px}
 body.crm-premium .app-shell .view>.page-heading,body.crm-premium.employee .emp-head{padding:16px;border-radius:20px}
 body.crm-premium :is(.page-heading,.emp-head){margin-bottom:18px}
 body.crm-premium .metric-card{min-height:100px;padding:16px}
 body.crm-premium .metric-grid{gap:10px;margin-bottom:16px}
 body.crm-premium .contract-row{padding:16px 16px 16px 66px}
 body.crm-premium .contract-row::before{left:16px;top:18px;width:32px;height:38px}
 body.crm-premium .contracts-panel{padding:16px}
 body.crm-premium.employee>.emp-sidebar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:14px;border-radius:0 0 20px 20px}
 body.crm-premium.employee>.emp-sidebar .brand{grid-column:1/-1;padding:0 4px 12px}
 body.crm-premium.employee>.emp-sidebar>.emp-caption{display:none}
 body.crm-premium.employee>.emp-sidebar nav{display:contents}
 body.crm-premium.employee>.emp-sidebar nav button{position:relative;display:flex;flex-direction:column;justify-content:center;gap:5px;padding:9px 3px;white-space:normal;text-align:center;font-size:11px!important;min-height:64px}
 body.crm-premium.employee>.emp-sidebar nav button b{position:absolute;right:3px;top:3px;font-size:10px!important;min-width:18px;padding:1px 3px}
 body.crm-premium.employee>main{padding:20px 16px}
 body.crm-premium.employee #detail.intake-workspace{grid-template-columns:1fr}
 body.crm-premium.employee .review-side{position:static}
 body.crm-premium.employee .review-category-art{height:150px}
 body.crm-premium .auth-card{padding:28px 22px}
 body.crm-premium .admin-head{padding:20px}
}
@media(max-width:480px){
 body.crm-premium .app-shell .view>.page-heading,body.crm-premium.employee .emp-head,body.crm-premium .admin-head{background-size:auto,75% auto,auto;background-position:center,right bottom,center}
 body.crm-premium .metric-card{gap:12px;padding:14px}
 body.crm-premium .metric-icon{width:32px;height:32px;flex-basis:32px}
 body.crm-premium .metric-icon .svg-icon{width:24px;height:24px}
 body.crm-premium .metric-body strong,body.crm-premium .emp-metrics strong{font-size:28px!important}
 body.crm-premium #view-dashboard .board-panel{padding:14px}
 body.crm-premium .auth-heading h1{font-size:28px!important}
}
@media(max-width:520px){
 body.crm-premium .admin-head{flex-wrap:wrap}
 body.crm-premium .admin-brand{flex:1 1 100%;min-width:0}
 body.crm-premium .admin-brand>div{min-width:0}
 body.crm-premium .admin-card{padding:20px}
 body.crm-premium.employee .intake-workspace .mat-grid{grid-template-columns:minmax(0,1fr)}
 body.crm-premium.employee .review-card-heading{flex-direction:row}
}
@media(prefers-reduced-motion:reduce){body.crm-premium *{scroll-behavior:auto!important}body.crm-premium.employee .review-card-open::after{transition:none;transform:none!important}}
@media print{
 body.crm-type.crm-premium{background:#fff;color:#000}
 body.crm-premium :is(.contract-row,.review-status,.metric-card,.admin-head,.auth-card){box-shadow:none;background:#fff;color:#000}
}
