@font-face{font-family:System;src:local('Segoe UI')}*{box-sizing:border-box}body{margin:0;background:#f5f4f2;color:#292929;font:15px/1.5 System,system-ui,-apple-system,sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}a{color:#da251d}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #ee9994;outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:30px;line-height:1.2;letter-spacing:-1px;font-weight:650}h2{font-size:21px;line-height:1.3;letter-spacing:-.4px}h3{font-size:17px;font-weight:650}svg{width:20px;height:20px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}small,.sub{color:#666666;font-size:13px}.shell{display:grid;grid-template-columns:236px minmax(0,1fr);min-height:100vh}.sidebar{background:#ffffff;border-right:1px solid #e3e0dd;padding:30px 20px;display:flex;flex-direction:column;gap:34px}.brand{display:flex;align-items:center;gap:12px;color:#252525}.brandmark{display:grid;place-items:center;background:#da251d;color:white;border-radius:13px;width:43px;height:43px}.brandmark svg{width:25px;height:25px}.brand strong{font-size:20px;letter-spacing:-.5px}.brand small{display:block;font-size:11px;letter-spacing:1.2px;text-transform:uppercase}.navigation{display:grid;gap:7px}.nav-btn{border:0;background:transparent;color:#666666;display:flex;align-items:center;gap:12px;text-align:left;border-radius:10px;padding:12px 14px;font-size:14px}.nav-btn:hover{background:#f2efed}.nav-btn.active{background:#f9e7e5;color:#a4211b;font-weight:650}.sidebar-footer{margin-top:auto;padding:16px 10px;color:#666666;font-size:12px}.sidebar-footer strong{display:block;color:#555555;font-weight:500}.dot{display:inline-block;width:7px;height:7px;background:#529c73;border-radius:50%;margin-right:6px}.workspace{min-width:0}.topbar{height:73px;padding:0 36px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #e3e0dd;background:#ffffff}.topbar-label{font-size:13px;color:#666666}.topbar-right{display:flex;gap:12px;align-items:center}.avatar{border-radius:50%;width:31px;height:31px;background:#f9e7e5;color:#a4211b;display:grid;place-items:center;font-size:12px;font-weight:600}.main{max-width:1350px;padding:34px 36px 50px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;margin-bottom:26px}.eyebrow{color:#6b6b6b;text-transform:uppercase;font-size:11px;font-weight:600;letter-spacing:1.5px;margin-bottom:8px}.page-head .sub{margin-top:8px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #d8d4d1;background:#ffffff;color:#444444;border-radius:9px;min-height:43px;padding:10px 15px;text-decoration:none;font-size:13px;font-weight:550;white-space:normal;line-height:1.4}.btn:hover{background:#f5efed;border-color:#c2aaa5}.btn.primary{background:#da251d;border-color:#da251d;color:white}.btn.primary:hover{background:#b91f18}.btn.soft{background:#f9e9e6;border-color:#f9e9e6;color:#9c3027}.btn.ghost{border-color:transparent;background:transparent;color:#666666}.btn.danger{color:#9a4434;background:#fcf1eb;border-color:#eed9cf}.btn.small{padding:7px 10px;min-height:35px;font-size:12px}.actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:26px}.stat{padding:19px 22px;background:#ffffff;border:1px solid #e2dedb;border-radius:12px;display:flex;justify-content:space-between;align-items:center}.stat-label{font-size:12px;color:#6b6b6b}.stat-value{font-size:28px;font-weight:600;letter-spacing:-.8px;margin-top:4px}.stat-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:11px;color:#a33c32;background:#faeeeb}.toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:21px;flex-wrap:wrap}.search{position:relative;flex:1;max-width:420px;min-width:180px}.search svg{position:absolute;left:13px;top:12px;color:#737373;width:18px;height:18px}.search input{padding-left:41px}.filters{display:flex;gap:7px;flex-wrap:wrap}.filter{background:transparent;border:1px solid #ded9d5;border-radius:7px;padding:7px 12px;color:#666666;font-size:12px}.filter.active{background:#f9e7e5;border-color:#eac1bb;color:#a12b23}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.product-card{border:1px solid #e2dedb;border-radius:13px;background:#ffffff;overflow:hidden;display:flex;flex-direction:column;min-width:0}.product-image{height:126px;background:#f0edeb;display:flex;justify-content:center;align-items:center;position:relative;color:#a99590}.product-image>svg{width:51px;height:51px;stroke-width:1.2}.product-image img{width:100%;height:100%;object-fit:contain;padding:9px}.product-image .badge{position:absolute;left:13px;top:12px}.product-body{padding:18px;display:flex;flex-direction:column;flex:1;gap:15px}.product-heading{background:none;border:0;text-align:left;padding:0;color:#303030}.product-heading h3{overflow-wrap:anywhere}.product-meta{font-size:12px;color:#6b6b6b;margin-top:4px}.badge{display:inline-flex;align-items:center;gap:5px;font-size:11px;padding:4px 8px;border-radius:6px;line-height:1.5;color:#416b3b;background:#e8f0df;width:fit-content}.badge.warn{background:#f8ecd1;color:#8d681f}.badge.red{background:#f9e2db;color:#a04b38}.badge.neutral{background:#efedeb;color:#666666}.facts{display:grid;gap:8px;font-size:12px;margin:0}.facts div{display:flex;justify-content:space-between;gap:12px}.facts dt{color:#6b6b6b}.facts dd{margin:0;text-align:right;overflow-wrap:anywhere}.product-bottom{display:flex;gap:8px;margin-top:auto}.product-bottom .btn{flex:1;padding:9px 8px;min-width:0}.low-note{color:#986e22;font-size:12px;display:flex;align-items:center;gap:6px}.section-label{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;gap:12px;flex-wrap:wrap}.section-label h2{font-size:15px;font-weight:600}.hint{margin-top:20px;color:#6b6b6b;font-size:12px;display:flex;align-items:flex-start;gap:8px}.hint svg{width:16px;height:16px;flex-shrink:0;margin-top:2px}.panel{background:#ffffff;border:1px solid #e2dedb;border-radius:13px;padding:23px;min-width:0}.panel>h2,.panel>h3{margin-bottom:16px}.panel+.panel{margin-top:20px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:21px}.two-col>.panel+.panel{margin-top:0}.stack{display:grid;gap:16px}.empty{padding:48px 24px;text-align:center;background:#ffffff;border:1px dashed #d5ceca;border-radius:14px;display:grid;gap:13px;justify-items:center}.empty>svg{width:46px;height:46px;color:#a08983;margin-bottom:6px}.empty p{max-width:450px;color:#666666;font-size:14px}.empty .actions{justify-content:center;margin-top:8px}.form{display:grid;gap:17px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}label{display:grid;gap:6px;font-size:12px;color:#666666}input,select,textarea{width:100%;min-width:0;background:#ffffff;border:1px solid #d8d2ce;border-radius:8px;padding:11px 12px;color:#303030;min-height:43px;font-size:14px}textarea{resize:vertical;min-height:85px}.full{grid-column:1/-1}.check{display:flex;align-items:center;gap:9px;font-size:13px;color:#555555}.check input{width:17px;height:17px;min-height:17px;padding:0;accent-color:#da251d}.error{color:#a04431;background:#fff0e9;border:1px solid #f0cfc0;border-radius:8px;padding:11px 14px;font-size:13px}.error:empty{display:none}.callout{padding:14px 16px;background:#f8efec;border:1px solid #e8d4cf;border-radius:9px;color:#70483f;font-size:13px;line-height:1.6}.callout.warn{background:#fcf3df;color:#896622;border-color:#f0dfb7}.callout strong{display:block;font-weight:650;margin-bottom:3px}dialog{width:min(640px,calc(100% - 24px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #d6ceca;border-radius:16px;color:#292929;background:#ffffff;box-shadow:0 24px 90px #24242433}dialog::backdrop{background:#17171766;backdrop-filter:blur(3px)}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:23px 25px;border-bottom:1px solid #e4dfdc;gap:12px}.modal-body{padding:23px 25px}.modal-close{background:none;border:0;color:#666666;padding:5px;display:grid;place-items:center}.modal-head h2{font-size:21px}.modal-footer{display:flex;gap:9px;justify-content:flex-end;flex-wrap:wrap;border-top:1px solid #e3dedb;padding-top:18px;margin-top:4px}.timeline{display:grid}.event{display:grid;grid-template-columns:112px minmax(0,1fr);gap:20px;padding:19px 0;border-bottom:1px solid #e5e0dd}.event:last-child{border-bottom:0}.event-date{font-size:12px;color:#6c6c6c;font-variant-numeric:tabular-nums}.event-title{font-size:14px;font-weight:600}.event-info{font-size:12px;color:#666666;margin-top:5px;overflow-wrap:anywhere}.event .badge{margin-top:7px}.event .actions{margin-top:8px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:12px}th,td{text-align:left;border-bottom:1px solid #e5e0dd;padding:12px 10px;vertical-align:top}th{font-weight:500;color:#6b6b6b;font-size:11px}td{overflow-wrap:anywhere}.file-list{display:grid;gap:0}.file-row{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #e5e0dd;align-items:center}.file-name{font-size:12px;overflow-wrap:anywhere;min-width:0}.file-row .btn{flex-shrink:0}.mini{font-size:11px;color:#6b6b6b}.auth-wrap{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 15% 10%,#f9e7e5,transparent 60%),#f5f4f2}.auth{width:100%;max-width:440px;padding:34px;background:#ffffff;border:1px solid #ddd7d3;border-radius:18px;box-shadow:0 12px 60px #30303008}.auth .brand{margin-bottom:30px}.auth h1{font-size:26px;margin-bottom:12px}.auth .form{margin-top:25px}.auth-foot{margin-top:24px;font-size:12px;color:#6b6b6b}.loading{padding:40px;text-align:center;color:#666666}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#252525;color:#fff;padding:13px 20px;border-radius:11px;box-shadow:0 6px 30px #29292922;z-index:20;max-width:calc(100% - 32px);width:max-content;font-size:13px;display:none}#toast.show{display:block}.photo-preview{max-width:100%;height:100px;object-fit:contain;border-radius:9px;background:#f2efed}.workday-grid{display:flex;gap:12px;flex-wrap:wrap}.workday-grid label{min-width:65px}.muted-link{background:transparent;border:0;color:#9d2b22;padding:0;text-decoration:underline;font-size:12px}.offline{padding:10px 20px;background:#fbefce;color:#836221;font-size:13px}.detail-header{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:22px}.detail-photo{width:90px;height:90px;object-fit:contain;border-radius:12px;background:#f0edeb}.pack{padding:15px 0;border-bottom:1px solid #e4dfdc;display:flex;justify-content:space-between;gap:13px;flex-wrap:wrap}.pack:last-child{border-bottom:0}.pack-label{font-size:14px;font-weight:550}.pack .actions{align-self:center}.no-wrap{white-space:nowrap}.toolbar label{min-width:180px}.photo-label{font-size:12px}.photo-label input{font-size:12px}.calendar-item{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:13px 0;border-bottom:1px solid #e5dfdc}.calendar-item p{font-size:13px}.restore-note{font-size:12px;color:#846921}hr{border:0;border-top:1px solid #e3ddda;margin:6px 0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
[hidden]{display:none!important}
.inventory-name{min-width:220px}.table-wrap td{min-width:85px}.callout+.panel{margin-top:20px}
@media(min-width:1600px){.main{padding-top:45px}.product-image{height:160px}}
@media(max-width:1150px){.shell{grid-template-columns:205px minmax(0,1fr)}.sidebar{padding:26px 14px}.main{padding:28px 25px}.topbar{padding:0 25px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.brand strong{font-size:18px}.brandmark{width:37px;height:37px}.two-col{grid-template-columns:1fr}}
@media(max-width:760px){.shell{display:block}.sidebar{padding:18px 18px 10px;border-right:0;border-bottom:1px solid #e3e0dd;gap:18px}.sidebar .brand small{display:none}.navigation{display:flex;overflow-x:auto;gap:4px}.nav-btn{flex-shrink:0;padding:10px 11px;font-size:12px;gap:7px}.nav-btn svg{width:17px;height:17px}.sidebar-footer{display:none}.topbar{height:49px;padding:0 19px}.topbar-label{font-size:11px}.topbar-right>.sub{display:none}.main{padding:25px 18px 40px}h1{font-size:26px}.stats{gap:9px;margin-bottom:21px}.stat{padding:13px 12px}.stat-icon{display:none}.stat-label{font-size:11px}.stat-value{font-size:24px}.page-head{margin-bottom:21px}.product-grid{gap:13px}.product-body{padding:14px}.product-image{height:100px}.product-bottom{flex-wrap:wrap}.btn{min-height:44px}.panel{padding:19px}.event{grid-template-columns:87px minmax(0,1fr);gap:12px}.modal-head,.modal-body{padding:20px}.eyebrow{font-size:10px}input,select,textarea{font-size:16px}.file-row{align-items:flex-start}}
@media(max-width:460px){.product-grid{grid-template-columns:1fr}.product-card{display:grid;grid-template-columns:83px minmax(0,1fr)}.product-image{height:100%;min-height:215px;border-right:1px solid #e2ddda}.product-image>svg{width:35px;height:35px}.product-image .badge{top:10px;left:7px;right:7px;justify-content:center;font-size:10px;padding:4px;white-space:normal;text-align:center}.product-image img{padding:7px}.product-body{padding:16px 13px;gap:12px}.fields{grid-template-columns:1fr}.product-bottom{gap:7px}.product-bottom .btn{font-size:12px;padding:8px}.stat-value{font-size:22px}.stat{padding:13px 10px}.stats{gap:7px}.event{grid-template-columns:1fr;gap:4px}.event-date{font-size:11px}.auth{padding:28px 22px}.file-row .btn{padding:7px 9px}.toolbar .filters{width:100%}.brandmark{width:35px;height:35px}.topbar-right .btn{min-height:32px;font-size:11px;padding:5px 8px}.page-head>.actions{width:100%}.page-head>.actions .btn{flex:1}}
@media(prefers-reduced-motion:no-preference){.btn,.nav-btn{transition:background .15s,border-color .15s}}

/* Lehnert Zahntechnik: Anthrazit/Weiss, Website-Akzent #DA251D. */
:root{--lehnert-red:#da251d;--lehnert-dark:#141414}
.sidebar{background:var(--lehnert-dark);border-color:#303030}.sidebar .brand{color:#fff}.sidebar .brand small{color:#bcbcbc}.sidebar .nav-btn{color:#bdbdbd}.sidebar .nav-btn:hover{background:#252525;color:#fff}.sidebar .nav-btn.active{background:#35201e;color:#fff;box-shadow:inset 3px 0 var(--lehnert-red)}.sidebar-footer{color:#b2b2b2}.sidebar-footer strong{color:#eee}.brandmark{background:var(--lehnert-red)}.auth-wrap{background:radial-gradient(ellipse at 15% 10%,#f3dfdc,transparent 60%),#f5f4f2}.btn.primary{background:var(--lehnert-red);border-color:var(--lehnert-red)}.btn.primary:hover{background:#b91f18}.auth .brand{color:#252525}.search svg{color:#707070}
