:root{--teal:#245b67;--teal-dark:#19444e;--ink:#1d3540;--muted:#6b7d86;--line:#e0e8eb;--bg:#f4f7f8;--soft:#e9f2f3;--white:#fff;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);font-size:14px;line-height:1.55}*{box-sizing:border-box}body{margin:0;background:var(--bg)}a{color:var(--teal);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,a,input,select,summary{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #5aa3b5;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:32px;letter-spacing:-.9px;line-height:1.2;margin-bottom:10px;font-weight:650}h2{font-size:16px;font-weight:650;margin-bottom:0}h3{font-size:15px;line-height:1.4;margin-bottom:4px}small{font-size:12px}.muted,.subtle{color:var(--muted)}.eyebrow{font-size:10px;letter-spacing:1.6px;font-weight:750;color:#67828c;margin-bottom:8px}.sidebar{position:fixed;inset:0 auto 0 0;width:244px;background:var(--white);border-right:1px solid var(--line);padding:28px 20px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;gap:12px;color:var(--ink);align-items:center;margin-bottom:52px;font-weight:750;font-size:16px;letter-spacing:-.4px}.brand:hover{text-decoration:none}.brand b{font-weight:500}.brand small{display:block;font-size:11px;font-weight:400;color:var(--muted);letter-spacing:.2px;margin-top:3px}.brand-mark{display:inline-flex;width:42px;height:42px;background:var(--teal);color:white;border-radius:12px;align-items:center;justify-content:center;flex-shrink:0}.brand-mark.large{width:56px;height:56px;border-radius:16px;margin:0 auto 22px}.brand-mark.large svg{width:30px;height:30px}.nav-caption{font-size:9px;color:#8799a1;letter-spacing:1.7px;font-weight:700;padding:0 12px;margin-bottom:12px}.nav-item{display:flex;align-items:center;gap:13px;color:#667c86;padding:12px 13px;margin:4px 0;border-radius:8px;font-weight:550}.nav-item:hover{background:#f2f6f7;text-decoration:none}.nav-item.selected{color:var(--teal);background:#eaf2f3}.nav-item+.nav-caption{margin-top:30px}.sidebar-bottom{margin-top:auto;padding:20px 10px 0}.handbook-link{font-size:12px;font-weight:600;display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.handbook-link svg{width:17px}.sidebar-bottom .subtle{font-size:10px;line-height:1.6;display:block}.app-body{margin-left:244px;min-height:100vh;display:flex;flex-direction:column}.topbar{height:85px;background:var(--white);border-bottom:1px solid var(--line);padding:0 42px;display:flex;align-items:center;justify-content:space-between;gap:12px}.breadcrumb{font-size:12px;color:#899aa2}.breadcrumb span{margin:0 12px;color:#c8d2d6}.account{display:flex;align-items:center;gap:11px}.avatar{width:35px;height:35px;border-radius:50%;background:#e8f0f2;color:var(--teal);display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700}.account b{display:block;font-size:12px;font-weight:650}.account small{display:block;color:var(--muted);font-size:10px}.account form{margin-left:10px}.icon-button{border:0;background:transparent;padding:8px;color:#82969e}.main{padding:40px 42px;max-width:1560px;width:100%;margin:0 auto;flex:1}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:22px;margin-bottom:30px}.page-heading p{margin-bottom:0}.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid #d5e0e4;border-radius:7px;padding:10px 16px;background:white;color:var(--ink);font-weight:600;line-height:1.5;white-space:nowrap}.button svg{width:18px;height:18px}.button:hover{text-decoration:none;background:#f4f8f9}.button.primary{color:white;background:var(--teal);border-color:var(--teal)}.button.primary:hover{background:var(--teal-dark)}.button.small{font-size:12px;padding:7px 12px}.button.full{width:100%;margin-top:8px}.plus{font-size:20px;line-height:1;font-weight:400}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:28px}.stat{background:white;border:1px solid var(--line);border-radius:10px;padding:21px 24px;position:relative}.stat span{font-size:12px;color:#687e89}.stat strong{font-size:34px;font-weight:550;letter-spacing:-1px;line-height:1.4;display:block;margin-top:7px}.stat small{font-size:10px;color:#8a9ba2}.stat.attention strong{color:#ad6b2d}.panel{background:white;border:1px solid var(--line);border-radius:10px;margin-bottom:24px;overflow:hidden}.filters{display:flex;gap:10px;align-items:center;padding:19px 22px;background:#fff}.filters .search-label{flex:1}.filters input,.filters select{background:#f9fbfc}.section-line{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px 24px;border-bottom:1px solid #edf1f3}.section-line .muted{font-size:11px}.table-wrap{overflow-x:auto}.data-table{border-collapse:collapse;width:100%;white-space:normal}.data-table th{font-size:10px;letter-spacing:.5px;color:#8b9da5;background:#fbfcfd;text-align:left;font-weight:600;padding:13px 18px;border-bottom:1px solid var(--line)}.data-table th:first-child,.data-table td:first-child{padding-left:24px}.data-table td{padding:22px 18px;border-bottom:1px solid #edf2f4;font-size:12px;vertical-align:middle}.data-table tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:#fafcfd}.data-table td small{display:block;font-size:10px;color:#8a9ba2;margin-top:3px}.mono{font:11px ui-monospace,SFMono-Regular,Consolas,monospace;color:#596f7a;font-weight:500}.device-name{display:flex;align-items:center;gap:14px;color:var(--ink);min-width:190px}.device-name:hover{text-decoration:none}.device-name b{font-size:13px;font-weight:650}.device-icon{display:inline-flex;align-items:center;justify-content:center;width:43px;height:43px;border-radius:9px;background:#edf4f5;color:#457c89;flex-shrink:0}.device-icon.big{width:68px;height:68px;border-radius:16px}.device-icon.big svg{width:37px;height:37px}.status{display:inline-flex;align-items:center;gap:6px;font-size:10px;font-weight:550;border-radius:30px;padding:5px 9px;background:#edf1f3;color:#70818a;white-space:nowrap}.status:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}.status.ready{background:#eaf5ef;color:#3e8966}.status.defect{background:#fff3e5;color:#af763a}.status.blocked{background:#fbeceb;color:#ad5550}.status.retired{background:#edf0f2;color:#7e8a91}.document-count{display:inline-flex;align-items:center;gap:7px;color:#748c97}.document-count svg{width:15px;height:15px}.row-arrow{padding:7px;color:#8da2ab}.row-arrow svg{width:17px}.app-footer{display:flex;justify-content:space-between;gap:12px;color:#95a4aa;font-size:10px;padding:5px 42px 24px}.empty{text-align:center;padding:55px 24px}.empty h3{margin-top:15px}.empty p{font-size:13px;margin-bottom:0}.empty-icon,.empty>svg{color:#819da8}.empty.compact{padding:30px 22px}.back-link{font-size:12px;display:inline-block;margin-bottom:24px}.device-title{display:flex;align-items:center;gap:20px}.device-title h1{font-size:29px;margin-bottom:7px}.device-title .eyebrow{margin-bottom:5px}.detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:24px;align-items:start}.metadata{display:grid;grid-template-columns:1fr 1fr;padding:24px;margin:0;gap:22px 26px}.metadata dt{font-size:11px;color:var(--muted);margin-bottom:5px}.metadata dd{font-size:13px;margin:0;font-weight:550;overflow-wrap:anywhere}.notes{padding:0 24px 22px}.notes p{color:#6a7e87;font-size:12px;margin-bottom:0}.date-list{padding:6px 24px 16px}.date-list>div{padding:15px 0;border-bottom:1px solid #eef2f4}.date-list>div:last-child{border:0}.date-list span{display:block;font-size:11px;color:var(--muted);margin-bottom:4px}.date-list b{font-size:13px;font-weight:550}.qr-panel{padding:24px;text-align:center}.qr-panel h2{margin-bottom:20px}.qr-code{max-width:176px;margin:0 auto;flex-shrink:0}.qr-code svg{width:100%;height:auto;display:block}.qr-panel p{font-size:11px;margin-top:16px}.document-row{display:flex;align-items:center;gap:14px;padding:21px 24px;border-bottom:1px solid #edf1f3}.document-row:last-child{border-bottom:0}.file-icon{color:#5c8b96;background:#eff5f6;padding:10px;border-radius:8px;display:flex}.file-icon svg{width:20px;height:20px}.doc-text{flex:1;min-width:0}.doc-text h3{font-size:13px;overflow-wrap:anywhere}.doc-text h3 a{color:var(--ink)}.doc-text p{margin:0;font-size:10px}.doc-text .eyebrow{font-size:8px;margin-bottom:4px}.document-row form{margin:0}.text-button{background:none;border:0;font-size:10px;padding:6px}.danger{color:#a75f5b}.add-document{padding:20px 24px;background:#fafcfc}.add-document summary{color:var(--teal);font-weight:650;font-size:12px;cursor:pointer}.add-document[open] summary{margin-bottom:22px}.form-panel{padding:28px;max-width:920px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px 24px}.form-grid h2{margin:10px 0 0;padding-top:12px;border-top:1px solid var(--line)}.form-grid h2:first-of-type{margin-top:0;padding-top:0;border:0}.form-grid>.muted{font-size:12px;margin:0}.span-2{grid-column:span 2}.form-stack{display:flex;flex-direction:column;gap:19px}label{display:block;font-size:12px;font-weight:550;color:#56707c}input,select,textarea{width:100%;border:1px solid #d8e3e7;border-radius:6px;padding:11px 12px;color:var(--ink);background:#fff;outline:none;min-height:43px}label input,label select,label textarea{margin-top:7px}input[type=checkbox]{width:17px;min-height:0;margin:0 8px 0 0;accent-color:var(--teal)}label small{display:block;color:var(--muted);font-size:10px;font-weight:400;margin-top:6px}input::placeholder{color:#a0aeb5;font-size:12px}.checkbox-label{display:flex;align-items:center;padding-top:24px}.form-actions{display:flex;gap:10px;align-items:center;padding-top:16px}.notice{padding:14px 18px;border-radius:7px;margin-bottom:24px;font-size:12px}.notice p{margin:3px 0}.notice.success{background:#e9f4ee;color:#387c58;border:1px solid #cee6d8}.notice.error{background:#fbeeee;color:#9d4945;border:1px solid #efd1d0}.login-page{min-height:100vh;background:#edf3f4;background-image:radial-gradient(at 12% 20%,#dce9ec 0,transparent 55%)}.login-container{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:30px 18px}.login-card{width:420px;border:1px solid #dbe7ea;border-radius:16px;background:#fff;padding:38px 38px 26px;box-shadow:0 15px 65px #1e465a0a;text-align:center}.login-card h1{font-size:29px;margin-bottom:12px}.login-card>.muted{font-size:13px;margin-bottom:29px;line-height:1.7}.login-card form{text-align:left}.login-foot{font-size:10px;color:#8fa1a9;padding-top:25px;margin-bottom:0}.password-wrap{display:block;position:relative}.password-wrap input{padding-right:80px}.password-toggle{position:absolute;right:8px;top:14px;color:#77909c;border:0;background:none;font-size:10px;padding:8px}.mobile-brand{display:none}.label-sheet{display:flex;flex-wrap:wrap;gap:22px}.label{width:70mm;height:45mm;background:white;border:1px dashed #a3b8c0;border-radius:6px;padding:3mm;display:flex;align-items:center;gap:3mm;overflow:hidden}.label .qr-code{width:32mm;max-width:none;margin:0}.label-text{flex:1;min-width:0;overflow-wrap:anywhere}.label-text strong{display:block;font-size:11px;margin-bottom:8px;font-family:ui-monospace,Consolas,monospace}.label-text b{display:block;font-size:10px;line-height:1.4}.label-text span{display:block;font-size:9px;color:#6a7f89;margin-top:5px}.label-text small{display:block;font-size:8px;letter-spacing:.2px;color:#8599a1;margin-top:12px}.label-sheet+.muted{font-size:11px;margin-top:22px}.audit-event{border-bottom:1px solid var(--line)}.audit-event summary{display:flex;gap:22px;padding:20px 24px;cursor:pointer;font-size:12px}.audit-event time{color:var(--muted);min-width:140px}.audit-event summary span{margin-left:auto;color:var(--muted)}pre{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;background:#f7fafb;padding:18px 24px;font:11px/1.6 ui-monospace,Consolas,monospace}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1450px){.main{padding:48px 52px}.topbar{padding-left:52px;padding-right:52px}}
@media(max-width:1150px){.sidebar{width:205px;padding-left:15px;padding-right:15px}.brand{font-size:13px;gap:9px}.brand-mark{width:35px;height:35px}.app-body{margin-left:205px}.main{padding:30px 24px}.topbar{padding:0 24px}.detail-grid{grid-template-columns:minmax(0,1fr) 250px;gap:18px}.filters{flex-wrap:wrap}.filters .search-label{flex-basis:100%}.filters label:not(.search-label){flex:1}.data-table td,.data-table th{padding-left:13px;padding-right:13px}.document-row{flex-wrap:wrap}.document-row form{margin-left:auto}}
@media(max-width:800px){.sidebar{position:static;width:100%;padding:14px 18px;border-right:0;border-bottom:1px solid var(--line)}.brand,.sidebar>.nav-caption,.sidebar-bottom,.sidebar nav>.nav-caption{display:none}.sidebar nav{display:flex;gap:5px;overflow-x:auto}.nav-item{padding:8px 10px;margin:0;font-size:11px;white-space:nowrap;gap:7px}.nav-item svg{width:17px;height:17px}.app-body{margin-left:0}.topbar{height:65px;padding:0 18px}.mobile-brand{display:block;font-weight:700;font-size:13px}.breadcrumb{display:none}.account b{font-size:11px}.account small{font-size:9px}.account .avatar{display:none}.main{padding:26px 18px}.page-heading{align-items:flex-start;flex-direction:column;gap:18px;margin-bottom:23px}h1{font-size:27px}.stats{gap:10px}.stat{padding:15px}.stat span{font-size:10px}.stat strong{font-size:28px}.stat small{font-size:9px}.detail-grid{grid-template-columns:1fr}.detail-grid>aside{display:grid;grid-template-columns:1fr 1fr;gap:16px}.device-title h1{font-size:26px}.device-title{gap:14px}.device-icon.big{width:56px;height:56px}.filters{padding:15px}.filters input::placeholder{font-size:11px}.data-table{min-width:760px}.metadata{gap:19px;padding:20px}.document-row{padding:18px}.form-panel{padding:22px}.app-footer{padding:15px 18px;flex-wrap:wrap}.audit-event summary{gap:10px;flex-wrap:wrap}.audit-event summary span{margin-left:0}.audit-event time{min-width:0}.label-sheet{justify-content:center}}
@media(max-width:480px){.stats{grid-template-columns:1fr}.stat{display:grid;grid-template-columns:1fr auto;gap:0 10px;align-items:center;padding:13px 17px}.stat strong{grid-column:2;grid-row:1/3;margin:0}.stat small{grid-column:1}.detail-grid>aside{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.span-2{grid-column:span 1}.metadata{grid-template-columns:1fr}.login-card{padding:30px 25px}.filters .button{width:100%}.document-row .file-icon{display:none}.nav-item svg{display:none}.button{font-size:12px}.checkbox-label{padding-top:8px}}
@media print{@page{size:A4;margin:15mm}.sidebar,.topbar,.app-footer,.no-print{display:none!important}.app-body{margin:0}.main{padding:0;max-width:none}.label-sheet{display:grid;grid-template-columns:70mm 70mm;gap:6mm}.label{border:1px solid #aaa;border-radius:0;break-inside:avoid;page-break-inside:avoid}.label .qr-code{width:32mm;height:32mm}.label-text span,.label-text small{color:#333}body{background:#fff;-webkit-print-color-adjust:exact;print-color-adjust:exact}}
/* Tagesprüfung: version 0.2.0 */
.device-check-summary{padding:24px;display:flex;justify-content:space-between;gap:24px;align-items:center}.device-check-summary h2{font-size:17px}.device-check-summary p{font-size:12px;margin:12px 0 0}.device-check-summary .status{margin-right:8px}.check-intro,.check-bulk,.check-finish{padding:24px}.check-intro p,.check-bulk p,.check-finish p{font-size:12px;margin:12px 0}.check-bulk .checkbox-label,.check-finish .checkbox-label{padding-top:0;align-items:flex-start;gap:4px}.check-bulk .checkbox-label{font-size:14px;color:var(--ink)}.check-bulk input[type=checkbox],.check-finish input[type=checkbox]{flex-shrink:0;margin-top:3px}.check-progress{font-weight:700;color:var(--teal)}.check-item{border:0;border-bottom:1px solid var(--line);margin:0;min-width:0;padding:24px}.check-item:last-child{border-bottom:0}.check-item legend{float:left;width:100%;font-size:14px;font-weight:650;color:var(--ink);padding:0;margin-bottom:8px}.check-item .check-hint{clear:both}.check-hint{font-size:12px;margin-bottom:14px}.check-source{display:block;font-size:10px;margin-top:5px;color:#7e939d}.check-answer-grid{display:grid;grid-template-columns:240px minmax(0,1fr);gap:18px}.check-item[data-result=fail],.check-item[data-result=not_checked]{background:#fff6f5}.check-item[data-result=na]{background:#fafcfd}.check-finish>label{margin-top:22px}.check-finish .checkbox-label{line-height:1.7;font-weight:500}.record-item{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.record-item .status{flex-shrink:0}.record-item h3{font-size:13px}.record-note{font-size:12px;white-space:normal}.check-result-warning[hidden]{display:none}
@media(max-width:800px){.device-check-summary{flex-direction:column;align-items:flex-start}.check-answer-grid{grid-template-columns:1fr}.check-intro,.check-bulk,.check-finish,.check-item{padding:20px}.record-item{flex-direction:column;gap:12px}}
@media print{.check-bulk,.daily-form .form-actions{display:none!important}.check-group,.check-item{break-inside:avoid}.record-item{display:flex;flex-direction:row}.panel{overflow:visible}.check-item{padding:12px 18px}.check-hint{font-size:10px}.main{font-size:11px}.check-intro,.check-finish{padding:16px}.page-heading h1{font-size:22px}}
/* Auswahl modellbezogener Tagesvorlagen */
.template-tabs{margin-bottom:24px}.template-tabs .button{white-space:normal;text-align:left;max-width:100%}
