:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--page:#faf9f6;--surface:#fff;--ink:#252d28;--muted:#646c65;--line:#dddfd7;--soft:#efeee7;--green:#28523d;--green-hover:#1d402e;--danger:#a52e25;--focus:#768f57;color:var(--ink);background:var(--page);font-family:DM Sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:18px;line-height:1.5}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit;color:inherit}button,a,input,textarea,select,summary{-webkit-tap-highlight-color:transparent}button,.button,summary{touch-action:manipulation}button,.button{border:1px solid var(--line);background:var(--surface);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:9px;min-height:48px;padding:10px 17px;font-weight:600;line-height:1.35;text-decoration:none;display:inline-flex}button:hover,.button:hover{background:#f1f2ec;border-color:#b6bdb1}button:disabled{cursor:default;opacity:.55}button svg,.button svg{flex-shrink:0}a{color:inherit}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--focus);outline-offset:3px}.primary{background:var(--green);border-color:var(--green);color:#fff}.primary:hover{background:var(--green-hover);border-color:var(--green-hover)}.icon-button{flex-shrink:0;width:48px;height:48px;padding:11px}.subtle{background:0 0;border-color:#0000}.danger-text{color:var(--danger)}.danger-button{color:#fff;background:var(--danger);border-color:var(--danger)}.danger-button:hover{background:#82251e;border-color:#82251e}h1,h2,h3,p{margin:0}h1{letter-spacing:-.04em;overflow-wrap:anywhere;font-size:clamp(1.5rem,3.5vw,2rem);font-weight:650;line-height:1.2}h2{letter-spacing:-.02em;font-size:1.15rem;font-weight:650;line-height:1.35}h3{font-size:1rem;font-weight:600}input,textarea,select{background:var(--surface);border:1px solid #bfc5ba;border-radius:7px;width:100%;max-width:100%;min-height:50px;padding:10px 13px;font-weight:400}textarea{resize:vertical;min-height:140px;line-height:1.6}input::placeholder,textarea::placeholder{color:#747b72}select{cursor:pointer;padding-right:30px}label{font-weight:550;display:block}label>input,label>select,label>textarea{margin-top:7px;display:block}.app-shell{max-width:1320px;min-height:100dvh;margin:0 auto;padding:54px 48px 70px}.page-header{justify-content:space-between;align-items:center;gap:24px;margin-bottom:32px;display:flex}.heading-area{min-width:0}.header-actions{flex-shrink:0;align-items:center;gap:12px;display:flex}.back-button{min-height:44px;color:var(--muted);background:0 0;border:0;margin:0 0 12px;padding:0;font-size:.9rem;font-weight:500}.back-button:hover{color:var(--ink);background:0 0}.device-number{color:var(--muted);margin-top:10px;font-size:.9rem}.more-menu{position:relative}.more-menu>summary{background:0 0;border-color:#0000;list-style:none}.more-menu>summary::-webkit-details-marker{display:none}.menu-popover{z-index:10;border:1px solid var(--line);background:#fff;border-radius:10px;min-width:280px;padding:6px;position:absolute;top:56px;right:0;box-shadow:0 8px 24px #22382614}.menu-popover button{white-space:nowrap;border:0;justify-content:flex-start;width:100%;font-size:.9rem}.toolbar{align-items:center;gap:14px;display:flex}.search-field{min-width:150px;color:var(--muted);background:#fff;border:1px solid #bfc5ba;border-radius:8px;flex:1;align-items:center;height:52px;padding:0 14px;display:flex}.search-field input{outline-offset:0;min-width:0;color:var(--ink);background:0 0;border:0;height:48px;padding:12px}.search-field input::-webkit-search-cancel-button{display:none}.search-field:focus-within{outline:3px solid var(--focus);outline-offset:3px}.search-field input:focus-visible{outline:0}.search-field .icon-button{border:0;width:38px;height:44px;min-height:44px;padding:9px}.toolbar>select{width:220px;height:52px}.view-switch{border:1px solid var(--line);background:#efeee8;border-radius:8px;flex-shrink:0;padding:3px;display:flex}.view-switch button{min-height:44px;color:var(--muted);background:0 0;border:0;padding:9px 12px;font-size:.9rem}.view-switch button[aria-pressed=true]{color:var(--ink);background:#fff;box-shadow:0 1px 3px #263c2220}.results-bar{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;margin:20px 0 16px;font-size:.85rem;display:flex}.results-bar label{align-items:center;gap:6px;font-weight:400;display:flex}.results-bar select{width:auto;min-height:44px;color:var(--ink);background:0 0;border:0;margin:0;padding:8px 25px 8px 8px;font-size:.85rem}.device-collection.gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;display:grid}.device-card{min-width:0}.gallery .device-card{background:var(--surface);border:1px solid var(--line);border-radius:12px;overflow:hidden}.device-link{outline-offset:4px;text-decoration:none;display:block}.device-link:focus-visible{outline-offset:-3px}.device-image{aspect-ratio:4/3;background:#eeede6;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.device-image img{object-fit:cover;width:100%;height:100%;display:block}.placeholder-icon{color:#93998a;width:25%;max-width:88px;height:auto}.device-image:after{content:"";pointer-events:none;border-bottom:1px solid #26342106;position:absolute;inset:0}.device-copy{min-width:0;padding:17px 19px 19px}.card-number{color:var(--muted);font-variant-numeric:tabular-nums;letter-spacing:.02em;margin-bottom:5px;font-size:.75rem;display:block}.device-copy h2{overflow-wrap:anywhere;margin-bottom:7px;font-size:1.1rem}.device-copy p{color:var(--muted);overflow-wrap:anywhere;font-size:.85rem}.device-copy .location{align-items:center;gap:5px;margin-top:8px;display:flex}.location svg{flex-shrink:0}.gallery .device-card:hover{border-color:#9eac98}.gallery .device-link:hover .device-copy h2{text-underline-offset:4px;text-decoration:underline;text-decoration-thickness:1px}.device-collection.list{border-top:1px solid var(--line);flex-direction:column;display:flex}.list .device-card{border-bottom:1px solid var(--line)}.list .device-link{align-items:center;gap:22px;padding:17px 4px;display:flex}.list .device-link:hover{background:#efeee750}.list .device-image{border-radius:6px;flex-shrink:0;width:126px}.list .placeholder-icon{width:44px}.list .device-copy{flex:1;padding:0}.list .device-copy h2{margin-bottom:4px}.list .device-copy .card-number{margin-bottom:2px}.row-chevron{color:#7d867a;flex-shrink:0;margin:0 10px}.restore-card{margin:0 16px 16px;font-size:.85rem}.list .restore-card{margin-left:152px}.device-overview{grid-template-columns:1.3fr 1fr;align-items:start;gap:48px;display:grid}.cover-button{border:0;border-radius:12px;width:100%;min-width:0;padding:0;display:block;overflow:hidden}.cover-button:disabled{opacity:1}.cover-button:hover{background:0 0}.large-image{aspect-ratio:4/3}.large-image img{object-fit:contain}.large-image .placeholder-icon{max-width:120px}.device-facts{gap:15px;margin:0;padding-top:2px;display:grid}.device-facts>div{grid-template-columns:140px minmax(0,1fr);gap:14px;display:grid}.device-facts dt{color:var(--muted);font-size:.9rem}.device-facts dd{overflow-wrap:anywhere;margin:0;font-size:.95rem}.detail-section{border-top:1px solid var(--line);margin-top:36px;padding-top:25px}.detail-section>h2{margin-bottom:17px}.notes-text{white-space:pre-wrap;overflow-wrap:anywhere;max-width:960px;line-height:1.75}.component{margin:16px 0}.component h3{margin-bottom:5px}.component>p{margin-top:6px}.section-count{color:var(--muted);margin-left:5px;font-size:.85rem;font-weight:400}.photo-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px;display:grid}.photo-thumb{aspect-ratio:4/3;background:var(--soft);border-radius:8px;padding:0;overflow:hidden}.photo-thumb img{object-fit:cover;width:100%;height:100%;display:block}.file-list{border-top:1px solid var(--line)}.file-row{border-bottom:1px solid var(--line);align-items:center;gap:14px;padding:14px 0;display:flex}.file-row>svg{color:var(--muted);flex-shrink:0}.file-name{overflow-wrap:anywhere;flex:1;min-width:0;text-decoration:none}.file-name strong{font-size:.95rem;font-weight:550;display:block}.file-name span{color:var(--muted);margin-top:2px;font-size:.8rem;display:block}.file-name:hover strong{text-decoration:underline}.detail-footer{border-top:1px solid var(--line);justify-content:flex-end;margin-top:38px;padding-top:18px;display:flex}.detail-footer button{font-size:.85rem}.device-form{max-width:900px}.device-form fieldset{border:0;min-width:0;margin:0;padding:0}.form-grid{grid-template-columns:1fr 1fr;gap:22px 26px;display:grid}.full-width{grid-column:1/-1}.required{color:var(--muted);font-weight:400}.extra-fields{border-bottom:1px solid var(--line);margin-top:22px;padding-bottom:22px}.extra-fields>summary{cursor:pointer;min-height:48px;padding:10px 0;font-weight:550}.extra-fields .form-grid{margin-top:12px}.editor-section{border-bottom:1px solid var(--line);padding:24px 0}.section-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;display:flex}.upload-button{font-size:.9rem;position:relative}.upload-button input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.upload-button:focus-within{outline:3px solid var(--focus);outline-offset:3px}.edit-photo-grid{grid-template-columns:repeat(auto-fill,minmax(185px,1fr));gap:18px;display:grid}.edit-photo{border:1px solid var(--line);background:#fff;border-radius:8px;overflow:hidden}.edit-photo>img{aspect-ratio:4/3;object-fit:cover;width:100%;display:block}.edit-photo-actions{justify-content:space-between;align-items:center;gap:4px;padding:4px 7px;font-size:.8rem;display:flex}.edit-photo-actions button{border:0;min-height:44px;padding:7px;font-size:.8rem}.edit-photo-actions .icon-button{flex-shrink:0;width:44px;height:44px}.edit-photo-actions .is-cover{color:var(--green);opacity:1;background:0 0}.save-bar{background:var(--page);border-top:1px solid var(--line);z-index:5;align-items:center;gap:12px;margin-top:12px;padding:20px 0;display:flex;position:sticky;bottom:0}.save-indicator{color:var(--muted);margin-left:auto;font-size:.8rem}.feedback{overflow-wrap:anywhere;background:#efeee7;border-radius:8px;align-items:center;gap:10px;margin:0 0 22px;padding:14px 16px;font-size:.95rem;display:flex}.feedback .icon-button{background:0 0;border:0;width:36px;height:36px;min-height:36px;margin-left:auto}.feedback.error{color:#872a21;background:#fbeeea;align-items:flex-start}.feedback.error button{margin-left:8px}.feedback.success{color:#315235;background:#eaf0e5}.feedback>svg{flex-shrink:0}.empty-state{text-align:center;color:var(--muted);padding:70px 20px}.empty-state>svg{margin-bottom:14px}.empty-state p{margin-bottom:18px}.loading{min-height:250px;color:var(--muted);justify-content:center;align-items:center;gap:12px;display:flex}.spinner{animation:1s linear infinite rotate}@keyframes rotate{to{transform:rotate(360deg)}}dialog{color:var(--ink);border:1px solid var(--line);background:#fff;border-radius:14px;max-width:calc(100% - 32px);padding:28px;font-family:inherit}dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#16271ed9}.confirm-dialog{width:460px}.confirm-dialog h2{margin-bottom:28px;font-size:1.3rem}.dialog-actions{flex-wrap:wrap;justify-content:flex-end;gap:12px;display:flex}.photo-dialog{background:#faf9f6;width:1100px;max-height:95dvh;padding:18px}.photo-tools{align-items:center;gap:12px;margin-bottom:12px;display:flex}.photo-tools>span{color:var(--muted);margin-right:auto;font-size:.9rem}.photo-tools .button{font-size:.85rem}.full-photo{object-fit:contain;width:100%;max-height:70dvh;display:block}.photo-navigation{justify-content:space-between;margin-top:14px;display:flex}.photo-navigation button{font-size:.9rem}@media (width>=1280px){.device-collection.gallery{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.device-copy{padding:16px}.device-copy h2{font-size:1rem}}@media (width<=1000px){.app-shell{padding:32px 28px 60px}.device-collection.gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.device-copy{padding:14px}.device-copy h2{font-size:1rem}.toolbar{flex-wrap:wrap}.search-field{flex:55%}.toolbar>select{flex:1;min-width:160px}.view-switch{margin-left:auto}.device-overview{grid-template-columns:1.1fr 1fr;gap:26px}.device-facts>div{grid-template-columns:1fr;gap:2px}.device-facts{gap:12px}}@media (width<=720px){.app-shell{padding:25px 20px 40px}.page-header{align-items:flex-start;gap:16px;margin-bottom:25px}.header-actions{gap:4px}.add-button{padding:10px 12px;font-size:.85rem}.add-button svg{width:19px}.more-menu>summary{width:40px}.device-collection.gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.toolbar{gap:12px}.search-field{flex-basis:100%}.toolbar>select{flex:1;min-width:130px;max-width:calc(100% - 206px)}.view-switch button{padding:8px 11px}.results-bar{margin-top:14px}.device-overview{grid-template-columns:1fr;gap:24px}.large-image{max-height:470px}.device-facts{grid-template-columns:1fr 1fr;gap:18px 22px}.device-facts>div{grid-template-columns:1fr;gap:4px}.device-facts dt{font-size:.8rem}.device-facts dd{font-size:1rem}.detail-section{margin-top:28px;padding-top:22px}.photo-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.device-form{max-width:none}.form-grid{gap:20px}.save-bar{padding-bottom:max(18px,env(safe-area-inset-bottom));padding-top:16px}.list .device-image{width:110px}.list .device-link{gap:16px}.row-chevron{margin:0}.list .device-copy h2{font-size:1rem}.list .restore-card{margin-left:130px}.device-number{font-size:.85rem}}@media (width<=460px){.app-shell{padding:22px 16px 34px}.page-header{flex-wrap:wrap;align-items:center;gap:10px}.page-header:has(.back-button){align-items:flex-start}.page-header:has(.back-button) .heading-area{width:100%}.page-header:has(.back-button) .header-actions{margin-left:auto}.heading-area h1{font-size:1.5rem}.header-actions{margin-left:auto}.add-button{gap:0;min-width:48px;padding:12px;font-size:0}.add-button svg{width:23px;height:23px}.add-button span{font-size:0}.add-button:after{content:"Hinzufügen";margin-left:7px;font-size:.85rem}.device-collection.gallery{gap:12px}.device-copy{padding:12px}.card-number{font-size:.7rem}.device-copy h2{margin-bottom:5px;font-size:.95rem;line-height:1.4}.device-copy p{font-size:.77rem}.gallery .device-copy .location svg{width:13px}.toolbar>select{width:auto;min-width:0;max-width:none;padding-left:10px;font-size:.85rem}.view-switch{margin-left:0}.view-switch button{gap:6px;padding:9px;font-size:.85rem}.view-switch button svg{width:18px}.results-bar label{font-size:0}.results-bar select{font-size:.8rem}.form-grid{grid-template-columns:1fr}.full-width{grid-column:auto}.section-header h2{font-size:1.1rem}.upload-button{gap:7px;padding:9px 11px;font-size:.8rem}.edit-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.edit-photo-actions{flex-wrap:wrap;gap:0;padding:3px}.edit-photo-actions button{padding:5px;font-size:.7rem}.edit-photo-actions .icon-button{width:36px}.save-indicator{display:none}.save-bar>.primary{flex:1}.device-facts{gap:16px}.list .device-image{width:88px}.list .device-link{gap:13px}.list .placeholder-icon{width:33px}.list .device-copy h2{font-size:.95rem}.list .device-copy p{font-size:.8rem}.list .row-chevron{width:18px}.list .restore-card{margin-left:105px}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-dialog{padding:10px}.photo-tools .button span{display:none}.photo-tools .button{width:44px;padding:10px}.confirm-dialog{padding:22px}.dialog-actions{grid-template-columns:1fr;display:grid}.file-row{gap:10px}.file-name strong{font-size:.85rem}.menu-popover{min-width:260px}.feedback{font-size:.85rem}.detail-footer{justify-content:flex-start}}@media (prefers-reduced-motion:reduce){.spinner{animation:none}*{scroll-behavior:auto!important}}@media print{.header-actions,.toolbar,.results-bar,.detail-footer,.back-button,.feedback,.save-bar{display:none}.app-shell{padding:0}.device-image{-webkit-print-color-adjust:exact;print-color-adjust:exact}.device-collection.gallery{grid-template-columns:repeat(3,1fr)}.device-card{break-inside:avoid}}.login-shell{place-items:center;min-height:100dvh;padding:30px 20px;display:grid}.login-form{flex-direction:column;gap:14px;width:100%;max-width:360px;display:flex}.login-radio{width:64px;height:64px;color:var(--green);margin-bottom:2px}.login-form label{font-size:1rem}.login-form>input[type=password]{min-height:54px;font-size:1.1rem}.login-form>button{min-height:54px;margin-top:8px}.login-error{color:var(--danger);font-size:.9rem}.menu-popover button:last-child{border-top:1px solid var(--line);border-radius:0;margin-top:4px}.login-shell{flex-direction:column;justify-content:flex-start;align-items:stretch;min-height:100dvh;padding:0;display:flex}.login-hero{background:#25170d;width:100%;display:block;overflow:hidden}.login-hero img{width:100%;height:auto;display:block}.login-content{justify-content:center;padding:34px 24px 48px;display:flex}.login-form h1{margin-bottom:12px;font-size:1.65rem}.login-form{gap:12px;max-width:360px}.login-form>button{margin-top:6px}@media (width>=768px){.login-hero img{object-fit:cover;object-position:center 60%;max-height:48vh}.login-content{padding:36px 24px 50px}}@media (width<=460px){.login-content{padding:28px 24px 40px}.login-form h1{margin-bottom:10px;font-size:1.5rem}}.login-form h1{letter-spacing:-.035em;align-items:center;gap:12px;display:flex}.login-heading-icon{width:34px;height:34px;color:var(--green);flex-shrink:0}@media (width<=360px){.login-form h1{gap:10px;font-size:1.3rem}.login-heading-icon{width:30px;height:30px}}
