:root {
  --marine: #12394f;
  --deep-blue: #0d5278;
  --ice: #64abd5;
  --ice-light: #e9f7fd;
  --white: #fff;
  --danger: #b42318;
  --ink: #17333f;
  --muted: #67808b;
  --shadow: 0 18px 45px rgba(18, 57, 79, .10);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--ice-light);
}
* { box-sizing: border-box; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background-color: var(--ice-light); background-image: url("../img/eis-spuren.svg"); background-position: center; background-size: cover; background-repeat: no-repeat; background-attachment: fixed; }
body.theme-messe { --deep-blue: #282d23; --ice: #f2c934; --ice-light: #fff8d7; --marine: #20261d; background-color: #fff8d7; }
body.theme-messe .hero { background: linear-gradient(112deg,#20261d 0%,#394035 62%,#686e5c 100%); }
body.theme-messe .eyebrow { color: #d6a900; }
body.theme-ice { --deep-blue: #0d5278; --ice: #64abd5; --ice-light: #e9f7fd; --marine: #12394f; }
.ice-lines { display: none; }
.topbar { min-height: 72px; padding: 12px clamp(20px,4vw,64px); display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(18,57,79,.09); }
.brand { display: flex; gap: 12px; align-items: center; color: var(--marine); font-weight: 800; text-decoration: none; }
.brand-mark { width: 46px; height: 46px; display: block; flex: 0 0 46px; object-fit: contain; border-radius: 14px; }
.brand-name { font-size: 1.05rem; }
.brand-product { padding-left: 12px; border-left: 1px solid #c5d9e3; color: var(--deep-blue); font-size: .92rem; }
.topbar-actions { display: flex; gap: 12px; align-items: center; }
.topbar-actions form { margin: 0; }
.user-menu { min-width: 112px; padding: 7px; display: grid; gap: 6px; text-align: center; background: var(--ice-light); border: 1px solid #cfe3ed; border-radius: 12px; }
.user-menu .user-name { padding: 2px 8px 0; color: var(--marine); font-size: .9rem; font-weight: 800; }
.user-menu .user-role { padding: 0 6px; color: var(--muted); font-size: .71rem; font-weight: 750; line-height: 1.2; }
.user-menu .link-button { width: 100%; min-height: 34px; padding: 7px 12px; color: white; background: var(--deep-blue); border-radius: 8px; font-weight: 800; }
.link-button { color: var(--deep-blue); background: none; border: 0; font: inherit; cursor: pointer; }
.page-shell { width: min(1200px, calc(100% - 32px)); margin: 32px auto 64px; flex: 1 0 auto; }
.application-nav { display: grid; grid-template-columns: repeat(auto-fit,minmax(150px,1fr)); gap: 8px; padding: 8px; margin-bottom: 24px; background: rgba(255,255,255,.96); border: 1px solid #dce7e9; border-radius: 20px; box-shadow: 0 8px 24px rgba(18,57,79,.05); }
.application-tab { min-width: 0; display: grid; align-content: center; gap: 6px; padding: 18px 22px; border: 2px solid transparent; border-radius: 14px; text-decoration: none; color: var(--ink); transition: background .15s ease, border-color .15s ease; }
.application-tab-name { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 1.14rem; font-weight: 800; }
.application-tab-description { color: var(--muted); font-size: .84rem; line-height: 1.4; }
.application-tab[aria-current="true"] { background: #fff8d7; border-color: #eac331; }
.application-tab[aria-current="true"] .application-tab-name { color: #20261d; }
a.application-tab:hover { background: #f7fafb; border-color: #d8e4e8; }
a.application-tab[aria-current="true"]:hover { background: #fff3ba; border-color: #eac331; }
a.application-tab:focus-visible { outline: 3px solid var(--deep-blue); outline-offset: 3px; }
.application-tab-disabled { background: #f5f7f7; }
.application-tab-disabled .application-tab-name { color: #6c7d84; }
.application-tab-status { padding: 4px 7px; background: #e8edee; border-radius: 6px; font-size: .64rem; font-weight: 750; }
@media (max-width: 700px) { .application-nav { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px; padding: 5px; border-radius: 14px; margin-bottom: 18px; }.application-tab { padding: 12px 8px; border-radius: 10px; gap: 6px; }.application-tab-name { font-size: .9rem; }.application-tab-description { font-size: .68rem; }.application-tab-status { font-size: .58rem; } }
@media print { .application-nav { display: none !important; } }
.card { background: rgba(255,255,255,.94); border: 1px solid rgba(18,57,79,.08); border-radius: 22px; box-shadow: var(--shadow); }
.hero { position: relative; isolation: isolate; overflow: hidden; color: white; padding: clamp(28px,5vw,54px); border-radius: 28px; background: linear-gradient(112deg,#12658e 0%,#2786b2 52%,#64abd5 100%); display: flex; justify-content: space-between; gap: 28px; align-items: center; box-shadow: 0 24px 55px rgba(18,57,79,.18); }
.hero::before { content: ""; position: absolute; z-index: -1; width: 270px; height: 180px; right: -22px; top: -118px; border: 10px solid rgba(255,255,255,.18); border-radius: 50%; transform: rotate(-10deg); }
.hero::after { display: none; }
.hero > * { position: relative; z-index: 1; }
.hero .button { flex: 0 0 auto; white-space: nowrap; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
h1,h2,h3,p { margin-top: 0; }
h1 { font-size: clamp(2rem,5vw,3.4rem); line-height: 1.05; margin-bottom: 12px; }
h2 { font-size: clamp(1.55rem,3vw,2.1rem); margin-bottom: 0; }
h3 { font-size: 1.3rem; margin-bottom: 8px; }
.eyebrow { color: var(--ice); font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 10px; }
.muted { color: var(--muted); }.small { font-size: .88rem; }
.shift-panel { min-width: 270px; padding: 20px; border-radius: 20px; background: rgba(255,255,255,.12); display: grid; gap: 12px; }
.status { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: var(--ice-light); color: var(--deep-blue); font-size: .8rem; font-weight: 800; }
.status-active { background: #d7f5e7; color: #14643c; }
.button { min-height: 46px; padding: 11px 18px; border: 0; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font: inherit; font-weight: 800; cursor: pointer; }
.button-primary { color: white; background: var(--deep-blue); }.button-secondary { color: white; background: var(--marine); }.button-light { color: var(--marine); background: white; }.button-ghost { color: var(--deep-blue); background: var(--ice-light); }.button-large { min-height: 54px; }
.button:disabled { opacity: .45; cursor: not-allowed; }
.button-row.task-completion-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }.task-completion-actions .button { width: 100%; min-height: 84px; padding: 14px 12px; color: white; background: var(--deep-blue); text-align: center; line-height: 1.2; }.task-completion-actions .button:last-child { grid-column: 1 / -1; margin-top: 10px; }.button-icon { width: 23px; height: 23px; margin-right: 8px; flex: 0 0 23px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dashboard-overview { margin: 26px 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }.overview-card { padding: 20px; min-width: 0; }.overview-heading { display: flex; align-items: start; justify-content: space-between; gap: 14px; }.overview-heading span,.overview-heading strong { display: block; }.overview-heading span { color: var(--muted); font-weight: 800; }.overview-heading strong { margin-top: 3px; color: var(--marine); font-size: 2.25rem; }.overview-heading > b { width: 38px; height: 38px; display: grid; place-items: center; color: white; background: var(--ice); border-radius: 11px; font-size: 1.2rem; }.overview-defects .overview-heading > b { background: var(--danger); }.overview-list { margin-top: 14px; display: grid; gap: 8px; }.overview-list a { padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--deep-blue); border-top: 1px solid #deebf1; text-decoration: none; }.overview-list a:hover strong,.overview-list a:focus-visible strong { text-decoration: underline; }.overview-list span,.overview-list strong,.overview-list small { min-width: 0; display: block; }.overview-list strong { overflow-wrap: anywhere; }.overview-list small { margin-top: 2px; color: var(--muted); }.overview-list em { flex: 0 0 auto; color: var(--muted); font-size: .78rem; font-style: normal; font-weight: 700; }.overview-list p { margin: 0; color: var(--muted); line-height: 1.45; }
.overview-defects .overview-heading > b { background: var(--ice); }
.material-hero { background: linear-gradient(112deg,#174b54 0%,#26727a 52%,#5aa9a7 100%); }
.material-list { display: grid; gap: 10px; }
.material-row { padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--ink); background: #f8fcfc; border: 1px solid #d9ebeb; border-radius: 12px; text-decoration: none; }
.material-row:hover,.material-row:focus-visible { border-color: #77b8b8; }
.material-row strong,.material-row small { display: block; }.material-row small { margin-top: 4px; color: var(--muted); }
.material-form-card { max-width: 900px; }
.material-documents { max-width: 900px; margin-top: 22px; }
.material-photo-card { max-width: 900px; margin-top: 22px; padding: 18px; }.material-photo-card img,.material-scan-photo { width: 100%; max-height: 480px; display: block; object-fit: contain; border-radius: 14px; }
.scan-card { max-width: 820px; margin: 0 auto; padding: clamp(24px,5vw,48px); }
.access-notice { margin-top: 24px; padding: 22px; background: var(--ice-light); border-radius: 16px; }
.material-details { margin: 28px 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.material-details > div { padding: 14px; background: #f5fbfc; border: 1px solid #d9ebeb; border-radius: 12px; }
.material-details dt { color: var(--muted); font-size: .82rem; font-weight: 800; }.material-details dd { margin: 5px 0 0; font-weight: 700; }
.detail-note { margin: 20px 0; padding: 18px; border-left: 4px solid #5aa9a7; background: #f5fbfc; }.detail-note p { margin: 7px 0 0; }
.scan-documents { margin-top: 28px; }
.section-heading { margin: 34px 0 18px; display: flex; align-items: end; justify-content: space-between; }
.connection-status { padding: 8px 12px; color: #14643c; background: #d7f5e7; border-radius: 999px; font-weight: 700; }.connection-status.offline { color: #7a271a; background: #ffead5; }
.area-grid,.metric-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 18px; }
.statistics-metrics { margin-top: 20px; }
.area-card { padding: 24px; display: block; min-width: 0; }.area-heading { display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 16px; align-items: start; }.area-heading h3 { overflow-wrap: anywhere; }.area-heading p { margin-bottom: 0; }.area-icon { width: 48px; height: 48px; display: grid; place-items: center; color: white; background: var(--ice); border-radius: 15px; font-weight: 900; }.area-content { width: 100%; min-width: 0; }
.progress { height: 7px; margin: 14px 0; background: #dceef7; border-radius: 9px; overflow: hidden; }.progress span { display: block; height: 100%; background: var(--ice); }
.point-list { display: grid; gap: 8px; min-width: 0; }.point-list form { margin: 0; min-width: 0; max-width: 100%; }.point-button { width: 100%; min-width: 0; max-width: 100%; padding: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid #d8ebf4; border-radius: 10px; color: var(--deep-blue); background: #f8fcfe; font: inherit; cursor: pointer; text-align: left; }.point-button > span:first-child { min-width: 0; overflow-wrap: anywhere; }.point-button strong,.point-button small { display: block; }.point-button small { margin-top: 3px; color: var(--muted); font-weight: 600; }.point-button .open-icon { flex: 0 0 36px; width: 36px; height: 36px; display: grid; place-items: center; color: white; background: var(--marine); border-radius: 10px; font-size: 1.25rem; font-weight: 900; line-height: 1; transition: transform .15s ease, background .15s ease; }.point-button:hover .open-icon,.point-button:focus-visible .open-icon { background: var(--deep-blue); transform: translateX(2px); }
.management-nav { margin: 20px 0; padding: 8px; display: flex; flex-wrap: wrap; gap: 4px; }.management-nav a { padding: 10px 13px; color: var(--deep-blue); text-decoration: none; font-size: .9rem; font-weight: 800; border-radius: 9px; }.management-nav a:hover,.management-nav a:focus-visible { background: var(--ice-light); }.management-nav a[aria-current="page"] { color: white; background: var(--deep-blue); }.management-nav .mode-link { margin-left: auto; color: white; background: var(--deep-blue); }
.action-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(340px,1fr)); gap: 18px; }.action-card { min-height: 190px; padding: 26px; display: grid; grid-template-columns: 48px minmax(0,1fr) 42px; gap: 18px; align-items: start; color: var(--ink); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }.action-card:hover { transform: translateY(-3px); box-shadow: 0 24px 55px rgba(18,57,79,.17); }.action-card p { color: var(--muted); line-height: 1.55; }.action-card strong { color: var(--deep-blue); }.action-number { width: 48px; height: 48px; display: grid; place-items: center; color: white; background: var(--ice); border-radius: 15px; font-weight: 900; }.action-arrow { width: 42px; height: 42px; display: grid; place-items: center; align-self: center; color: white; background: var(--marine); border-radius: 12px; font-size: 1.3rem; font-weight: 900; }
.start-choice-heading { align-items: start; }.start-choice-actions { margin-bottom: 24px; grid-template-columns: repeat(2,minmax(0,1fr)); }.start-choice-actions .action-card { min-height: 168px; }.search-panel,.admin-section[id] { scroll-margin-top: 18px; }.protected-search { margin: 0 0 22px; padding: 18px; background: var(--ice-light); border-radius: 14px; }.protected-search label { display: block; margin-bottom: 8px; color: var(--marine); font-weight: 850; }.protected-search > div { display: flex; gap: 10px; }.protected-search input { min-width: 0; min-height: 48px; padding: 11px 13px; flex: 1 1 auto; color: var(--ink); background: white; border: 1px solid #afcad7; border-radius: 10px; font: inherit; }
.material-start-heading { align-items: start; }.material-start-heading .muted { margin: 8px 0 0; }.material-start-actions { margin-bottom: 20px; grid-template-columns: repeat(2,minmax(0,1fr)); }.material-metrics { grid-template-columns: repeat(4,minmax(0,1fr)); }.material-dashboard-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }.material-dashboard-grid .admin-section { min-width: 0; }.material-attention .material-row > span:last-child { color: var(--deep-blue); font-size: .85rem; font-weight: 800; white-space: nowrap; }
.material-search { margin-bottom: 24px; padding: 18px; scroll-margin-top: 18px; background: var(--ice-light); border-radius: 14px; }.material-search > label { display: block; margin-bottom: 8px; color: var(--marine); font-weight: 850; }.material-search > div { display: flex; gap: 10px; flex-wrap: wrap; }.material-search input { min-width: min(100%, 270px); min-height: 48px; padding: 11px 13px; flex: 1 1 270px; color: var(--ink); background: white; border: 1px solid #afcad7; border-radius: 10px; font: inherit; }.material-search select { min-height: 48px; max-width: 260px; padding: 11px 32px 11px 13px; color: var(--ink); background: white; border: 1px solid #afcad7; border-radius: 10px; font: inherit; }.material-search p { margin: 10px 0 0; }.inventory-note { margin: 0 0 18px; }.inventory-check { font-size: 1.45rem; text-align: center; }.material-stat-list { display: grid; gap: 9px; }.material-stat-list > div { padding: 14px 16px; display: flex; justify-content: space-between; gap: 20px; background: #f8fcfc; border: 1px solid #d9ebeb; border-radius: 12px; }.material-stat-list strong { color: var(--deep-blue); font-size: 1.15rem; }.material-warning-title,.material-upcoming-title { margin: 22px 0 10px; font-size: 1rem; }.material-warning-title { color: var(--danger); }.material-status-warning { color: #8a251c; background: #fff0ed; }
.metric { padding: 22px; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }.metric[href]:hover { transform: translateY(-2px); box-shadow: 0 22px 50px rgba(18,57,79,.16); }.metric span,.metric strong,.metric small { display: block; }.metric span { color: var(--muted); }.metric strong { margin-top: 8px; color: var(--marine); font-size: 2.3rem; }.metric small { margin-top: 8px; color: var(--deep-blue); font-weight: 800; }.metric-alert strong { color: var(--danger); }
.admin-section { margin-top: 20px; padding: 26px; }.admin-section .section-heading { margin-top: 0; }.admin-list article { padding: 16px 4px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #e3eef3; }.admin-list article div span { display: block; color: var(--muted); font-size: .88rem; }
.text-link { color: var(--deep-blue); font-weight: 800; text-decoration: none; }.list-section { margin-top: 16px; }.list-section h1 { margin-bottom: 0; }.table-scroll { overflow-x: auto; }.data-table { width: 100%; border-collapse: collapse; }.data-table th,.data-table td { padding: 14px 12px; border-bottom: 1px solid #dcebf2; text-align: left; }.data-table th { color: var(--deep-blue); background: var(--ice-light); font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; }.data-table tbody tr:hover { background: rgba(233,247,253,.65); }
.login-card,.form-card,.task-card { width: min(620px,100%); margin: 8vh auto; padding: clamp(28px,5vw,48px); }.form-card,.task-card { margin-top: 16px; }
.password-reset-content { display: grid; gap: 24px; margin-top: 28px; }
.reset-link-message { margin: 0; padding: 18px 20px; border: 0; border-radius: 12px; background: #fff3f0; color: var(--danger); line-height: 1.6; }
.password-reset-content > .button { justify-self: start; }
.form-card > h1 { margin-bottom: 26px; }
.form-title-row { margin-bottom: 26px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.form-title-row h1 { margin-bottom: 0; }
.form-stack { display: grid; gap: 18px; }.form-stack label { display: grid; gap: 7px; font-weight: 750; }.form-control,.form-stack input,.form-stack select,.form-stack textarea { width: 100%; min-height: 48px; padding: 11px 13px; color: var(--ink); background: white; border: 1px solid #afcad7; border-radius: 10px; font: inherit; }.form-stack input[type="checkbox"] { width: 22px; min-height: 22px; }.form-stack .helptext { color: var(--muted); font-size: .82rem; }.form-stack ul.errorlist { color: var(--danger); margin: 0; }
.form-stack [id$="notification_contacts"] > div > label,.form-stack [id$="work_groups"] > div > label,.form-stack [id$="assignment_groups"] > div > label,.form-stack [id$="areas"] > div > label { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.form-stack [id$="notification_contacts"] input[type="checkbox"],.form-stack [id$="work_groups"] input[type="checkbox"],.form-stack [id$="assignment_groups"] input[type="checkbox"],.form-stack [id$="areas"] input[type="checkbox"] { flex: 0 0 22px; margin: 0; padding: 0; }
.form-stack [id$="notification_contacts"],.form-stack [id$="work_groups"],.form-stack [id$="assignment_groups"],.form-stack [id$="areas"] { display: grid; gap: 11px; }
.form-stack [id$="notification_contacts"] > div,.form-stack [id$="work_groups"] > div,.form-stack [id$="assignment_groups"] > div,.form-stack [id$="areas"] > div { min-height: 32px; }
.form-card .form-stack > div:has(> input[type="checkbox"]) { display: grid; grid-template-columns: 22px minmax(0,1fr); column-gap: 10px; align-items: center; }
.form-card .form-stack > div:has(> input[type="checkbox"]) > label { grid-column: 2; grid-row: 1; display: block; cursor: pointer; }
.form-card .form-stack > div:has(> input[type="checkbox"]) > input[type="checkbox"] { grid-column: 1; grid-row: 1; margin: 0; padding: 0; }
.form-card .form-stack > div:has(> input[type="checkbox"]) > .helptext { grid-column: 2; grid-row: 2; margin-top: 3px; }
.task-settings > div:has(> #id_task-is_active) { display: grid; grid-template-columns: 22px minmax(0,1fr); column-gap: 10px; align-items: center; }
.task-settings > div:has(> #id_task-is_active) > label { grid-column: 2; grid-row: 1; display: block; cursor: pointer; }
.task-settings > div:has(> #id_task-is_active) > #id_task-is_active { grid-column: 1; grid-row: 1; margin: 0; padding: 0; }
.task-settings > div:has(> #id_task-is_active) > .helptext { grid-column: 2; grid-row: 2; margin-top: 3px; }
.button-row { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; }.back-link { color: var(--deep-blue); text-decoration: none; font-weight: 750; }.autosave-state { margin: 20px 0; padding: 10px 13px; color: var(--deep-blue); background: var(--ice-light); border-radius: 10px; font-size: .88rem; font-weight: 700; }
.measurement-input { display: flex; align-items: stretch; }.measurement-input input { border-radius: 10px 0 0 10px; }.measurement-input .number-prefix { min-width: 56px; display: grid; place-items: center; color: white; background: var(--deep-blue); border: 1px solid var(--deep-blue); border-radius: 10px 0 0 10px; font-size: 1.6rem; font-weight: 900; }.measurement-input .number-prefix + input { border-left: 0; border-radius: 0; }.measurement-input .unit { min-width: 90px; padding: 12px; display: grid; place-items: center; color: var(--marine); background: var(--ice-light); border: 1px solid #afcad7; border-left: 0; border-radius: 0 10px 10px 0; }
.sign-choice { flex: 0 0 116px; padding: 4px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--ice-light); border: 1px solid #afcad7; border-radius: 10px 0 0 10px; }.sign-choice label { display: block; cursor: pointer; }.sign-choice input { position: absolute; width: 1px; height: 1px; min-height: 0; opacity: 0; }.sign-choice span { height: 100%; min-height: 46px; display: grid; place-items: center; border-radius: 7px; color: var(--deep-blue); font-size: 1.45rem; font-weight: 900; }.sign-choice input:checked + span { color: white; background: var(--deep-blue); }.sign-choice + input { border-left: 0; border-radius: 0; }
.boolean-field { min-width: 0; margin: 0; padding: 0; border: 0; }.boolean-field legend { margin-bottom: 9px; font-weight: 750; }.boolean-choices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }.boolean-choice { position: relative; cursor: pointer; }.boolean-choice input { position: absolute; width: 1px; height: 1px; min-height: 0; opacity: 0; pointer-events: none; }.boolean-choice span { min-height: 64px; padding: 14px 20px; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--deep-blue); background: white; border: 2px solid #afcad7; border-radius: 14px; font-size: 1.08rem; font-weight: 850; transition: background .15s ease,border-color .15s ease,color .15s ease,transform .15s ease; }.boolean-choice b { font-size: 1.35rem; }.boolean-choice:hover span { border-color: var(--ice); transform: translateY(-1px); }.boolean-choice input:focus-visible + span { outline: 3px solid rgba(100,171,213,.38); outline-offset: 2px; }.boolean-yes input:checked + span { color: #0e5b38; background: #d7f5e7; border-color: #2a9361; }.boolean-no input:checked + span { color: #8a251c; background: #fff0ed; border-color: #d44b40; }
.conditional-alert { margin-top: 12px; padding: 16px 18px; color: #7a271a; background: #fff0ed; border: 2px solid #f97066; border-radius: 14px; }.conditional-alert strong,.conditional-alert span { display: block; }.conditional-alert span { margin-top: 4px; }.conditional-alert[hidden] { display: none; }
.defect-notification-preview { margin-top: 14px; padding-top: 13px; border-top: 1px solid rgba(180,35,24,.24); }.defect-notification-preview strong { color: var(--marine); }.defect-notification-preview span { color: var(--ink); line-height: 1.4; }
.photo-upload input[type="file"] { min-height: 58px; padding: 10px; background: var(--ice-light); border: 2px dashed #8eb6ca; cursor: pointer; }.photo-upload input[type="file"]::file-selector-button { margin-right: 12px; padding: 10px 14px; color: white; background: var(--deep-blue); border: 0; border-radius: 9px; font: inherit; font-weight: 800; cursor: pointer; }.inspection-photos { display: grid; grid-template-columns: repeat(auto-fit,minmax(140px,1fr)); gap: 12px; }.inspection-photos a { padding: 8px; color: var(--deep-blue); background: var(--ice-light); border-radius: 12px; text-decoration: none; }.inspection-photos img { width: 100%; height: 120px; display: block; object-fit: cover; border-radius: 8px; }.inspection-photos span { margin-top: 7px; display: block; font-size: .78rem; font-weight: 700; }
.task-reference-photo { margin: 20px 0 26px; padding: 10px; background: var(--ice-light); border: 1px solid #b8d8e7; border-radius: 14px; }.task-reference-photo img { width: 100%; max-height: 340px; display: block; object-fit: cover; border-radius: 9px; }.task-reference-photo figcaption { margin: 9px 4px 2px; color: var(--marine); font-size: .9rem; font-weight: 800; }
.confirmation-field { min-width: 0; margin: 0; padding: 0; border: 0; }.confirmation-choice { position: relative; display: block; cursor: pointer; }.confirmation-choice input { position: absolute; width: 1px; height: 1px; min-height: 0; opacity: 0; }.confirmation-choice > span { min-height: 68px; padding: 14px 18px; display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: center; color: var(--marine); background: white; border: 2px solid #afcad7; border-radius: 14px; font-size: 1.05rem; font-weight: 800; }.confirmation-choice > span > b { width: 38px; height: 38px; display: grid; place-items: center; color: transparent; border: 2px solid #8eb6ca; border-radius: 10px; font-size: 1.25rem; }.confirmation-choice input:checked + span { color: #0e5b38; background: #d7f5e7; border-color: #2a9361; }.confirmation-choice input:checked + span > b { color: white; background: #2a9361; border-color: #2a9361; }.confirmation-choice input:focus-visible + span { outline: 3px solid rgba(100,171,213,.38); outline-offset: 2px; }
.messages { display: grid; gap: 8px; margin-bottom: 18px; }.message,.alert { padding: 13px 16px; border-radius: 10px; background: white; border-left: 4px solid var(--ice); }.message.error,.alert-danger { border-color: var(--danger); color: var(--danger); }
.empty-state { padding: 32px; text-align: center; }
.statistics-filter { margin-bottom: 18px; padding: 18px 22px; display: flex; flex-wrap: wrap; align-items: end; gap: 14px; }.statistics-filter label { display: grid; gap: 6px; color: var(--deep-blue); font-weight: 800; }.statistics-filter input { min-height: 46px; padding: 9px 12px; color: var(--ink); background: white; border: 1px solid #afcad7; border-radius: 10px; font: inherit; }.period-panel { padding: clamp(22px,3vw,32px); }.period-panel > h1 { margin-bottom: 22px; }.period-panel-heading h2 { margin-bottom: 6px; }.period-panel-heading p:last-child { margin-bottom: 0; }.period-choice { margin-top: 22px; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; }.period-choice label { position: relative; cursor: pointer; }.period-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }.period-choice span { min-height: 48px; padding: 10px 12px; display: grid; place-items: center; color: var(--deep-blue); background: var(--ice-light); border: 2px solid transparent; border-radius: 11px; font-weight: 850; }.period-choice input:checked + span { color: white; background: var(--deep-blue); }.period-choice input:focus-visible + span { outline: 3px solid rgba(100,171,213,.38); outline-offset: 2px; }.period-inputs { min-height: 76px; margin-top: 18px; padding: 16px 18px; background: #f8fcfe; border: 1px solid #d5e8f1; border-radius: 14px; }.period-inputs > div { display: flex; align-items: end; gap: 14px; }.period-inputs > div[hidden] { display: none; }.period-inputs label { display: grid; gap: 6px; color: var(--deep-blue); font-weight: 800; }.period-inputs input { min-height: 46px; padding: 9px 12px; color: var(--ink); background: white; border: 1px solid #afcad7; border-radius: 10px; font: inherit; }.period-summary { margin: 0; color: var(--deep-blue); font-weight: 850; }.period-actions { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }.statistics-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }.statistics-grid .admin-section { margin-top: 20px; }.report-list { display: grid; gap: 4px; }.report-row { padding: 14px 0; display: grid; grid-template-columns: minmax(150px,1fr) minmax(100px,1.2fr) 54px; gap: 14px; align-items: center; border-top: 1px solid #e3eef3; }.report-row > div:first-child > strong,.report-row > div:first-child > span { display: block; }.report-row > div:first-child > span { margin-top: 3px; color: var(--muted); font-size: .82rem; }.report-row b { color: var(--deep-blue); text-align: right; }.report-progress { height: 9px; overflow: hidden; background: #dceef7; border-radius: 999px; }.report-progress span { display: block; height: 100%; background: linear-gradient(90deg,var(--deep-blue),var(--ice)); border-radius: inherit; }
.chart-grid,.correlation-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(360px,1fr)); gap: 16px; }.chart-card,.correlation-card,.analysis-empty { padding: 20px; background: #f8fcfe; border: 1px solid #d5e8f1; border-radius: 16px; }.chart-heading { display: flex; justify-content: space-between; gap: 16px; }.chart-heading strong,.chart-heading span,.correlation-card strong,.correlation-card span { display: block; }.chart-heading span,.correlation-card span { color: var(--muted); font-size: .82rem; }.line-chart,.scatter-chart { width: 100%; height: auto; margin-top: 12px; overflow: visible; }.line-chart line,.scatter-chart line { stroke: #b7d7e7; stroke-width: 2; }.line-chart polyline { fill: none; stroke: var(--deep-blue); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }.line-chart circle,.scatter-chart circle { fill: var(--ice); stroke: white; stroke-width: 3; }.chart-dates { display: flex; justify-content: space-between; color: var(--muted); font-size: .78rem; }.chart-hint { margin: 10px 0 0; color: var(--deep-blue); font-size: .85rem; font-weight: 700; }.correlation-card > div { min-height: 64px; }.correlation-card p { margin-bottom: 0; }.correlation-card p span { margin-top: 4px; }.analysis-empty { grid-column: 1 / -1; }.analysis-empty p { margin: 8px 0 0; }.analysis-note { margin: 18px 0 0; padding: 14px 16px; color: #654f00; background: #fff8d8; border-radius: 10px; }
.task-admin-form { padding-bottom: 92px; }.task-settings { max-width: 720px; }.admin-formset { display: grid; gap: 20px; }.admin-formset fieldset { min-width: 0; padding: 22px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; background: #f8fcfe; border: 1px solid #cfe3ed; border-radius: 16px; }.admin-formset legend { padding: 0 8px; color: var(--deep-blue); font-size: 1.05rem; font-weight: 850; }.admin-formset fieldset > div { min-width: 0; }.admin-formset label { display: block; margin-bottom: 6px; color: var(--marine); font-weight: 800; }.admin-formset input:not([type="checkbox"]),.admin-formset select,.admin-formset textarea { width: 100%; min-height: 46px; padding: 10px 12px; color: var(--ink); background: white; border: 1px solid #afcad7; border-radius: 10px; font: inherit; }.admin-formset input[type="checkbox"] { width: 22px; height: 22px; }.admin-formset .helptext { display: block; margin-top: 5px; color: var(--muted); font-size: .8rem; }.admin-formset ul:not(.errorlist) { margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }.admin-formset ul:not(.errorlist) label { padding: 8px 10px; display: flex; align-items: center; gap: 7px; background: white; border: 1px solid #cfe3ed; border-radius: 9px; }.sticky-save { position: sticky; z-index: 4; bottom: 12px; margin: 20px 0; padding: 14px 18px; display: flex; justify-content: flex-end; gap: 10px; background: rgba(255,255,255,.96); border: 1px solid #cfe3ed; border-radius: 16px; box-shadow: var(--shadow); }
.admin-formset fieldset fieldset { padding: 14px 16px 16px; display: grid; grid-template-columns: 1fr; gap: 8px; }
.table-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.qr-card { margin-top: 20px; padding: clamp(26px,4vw,44px); }
.qr-layout { display: grid; grid-template-columns: minmax(260px,420px) minmax(280px,1fr); gap: clamp(28px,5vw,64px); align-items: center; }
.qr-preview { padding: 18px; background: white; border: 1px solid #cfe3ed; border-radius: 18px; }
.qr-preview img { width: 100%; height: auto; display: block; }
.qr-print-label { margin-top: 14px; display: block; color: var(--marine); text-align: center; overflow-wrap: anywhere; font-size: 1.05rem; }.qr-preview.qr-label-right { display: grid; grid-template-columns: minmax(180px,1fr) minmax(130px,.7fr); align-items: center; gap: 18px; }.qr-preview.qr-label-right .qr-print-label { margin-top: 0; text-align: left; }.qr-print-label[hidden] { display: none; }
.qr-information p { line-height: 1.55; }
.qr-target { padding: 14px; background: var(--ice-light); border-radius: 12px; }
.qr-target > strong { display: block; margin-bottom: 9px; }
.qr-copy-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; align-items: stretch; }
.qr-copy-row > span { min-width: 0; padding: 10px 12px; display: flex; align-items: center; overflow-wrap: anywhere; color: var(--deep-blue); background: white; border: 1px solid #cfe3ed; border-radius: 9px; font-size: .84rem; }
.qr-copy-row .button { white-space: nowrap; }.qr-copy-row .button span { margin-right: 7px; font-size: 1.1rem; }
.qr-label-controls { margin: 18px 0 0; padding: 16px; display: grid; gap: 13px; background: #f8fcfe; border: 1px solid #cfe3ed; border-radius: 12px; }.qr-label-controls legend { padding: 0 6px; color: var(--marine); font-weight: 850; }.qr-label-controls label { display: grid; gap: 6px; color: var(--marine); font-weight: 750; }.qr-label-controls .qr-label-toggle { grid-template-columns: 22px minmax(0,1fr); align-items: center; }.qr-label-toggle input { width: 22px; height: 22px; margin: 0; }.qr-label-controls p { margin: 0; }
.qr-actions { margin-top: 22px; justify-content: flex-start; flex-wrap: nowrap; }.qr-actions .button { padding-inline: 14px; white-space: nowrap; }
@media print { .topbar,.hero,.management-nav,.site-footer,.qr-information p,.qr-target,.qr-label-controls,.qr-actions,.inventory-actions { display: none !important; }.page-shell { width: 100%; margin: 0; }.qr-card,.inventory-printout { border: 0; box-shadow: none; }.qr-layout { display: block; }.qr-preview { width: 110mm; margin: 0 auto; border: 0; }.qr-preview.qr-label-right { width: 170mm; display: grid; }.qr-heading,.qr-information h2 { display: none; } }
.admin-formset fieldset > div:has(> fieldset) { grid-column: 1 / -1; }
.admin-formset [id$="-weekdays"] { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px; }
.admin-formset [id$="-weekdays"] > div > label { margin: 0; padding: 7px 9px; display: flex; align-items: center; gap: 9px; background: white; border: 1px solid #cfe3ed; border-radius: 8px; cursor: pointer; }
.admin-formset [id$="-weekdays"] input[type="checkbox"] { flex: 0 0 22px; margin: 0; }
.formset-actions { margin-top: 16px; display: flex; justify-content: flex-start; }
.admin-formset fieldset > div:has(> .field-active-checkbox) { display: grid; grid-template-columns: 22px minmax(0,1fr); column-gap: 10px; align-items: center; }
.admin-formset fieldset > div:has(> .field-active-checkbox) > label { grid-column: 2; grid-row: 1; margin: 0; cursor: pointer; }
.admin-formset fieldset > div:has(> .field-active-checkbox) > .field-active-checkbox { grid-column: 1; grid-row: 1; margin: 0; padding: 0; }
.admin-formset fieldset > div:has(> .field-active-checkbox) > .helptext { grid-column: 2; grid-row: 2; margin-top: 3px; }
.site-footer { width: min(1200px, calc(100% - 32px)); min-height: 86px; margin: 0 auto 18px; padding: 24px clamp(22px,4vw,42px); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); background: rgba(255,255,255,.94); border: 1px solid rgba(18,57,79,.08); border-radius: 22px; box-shadow: var(--shadow); font-size: .9rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; }.site-footer a { color: var(--deep-blue); font-weight: 800; text-decoration: none; }.site-footer a:hover,.site-footer a:focus-visible { text-decoration: underline; }
.legal-hero { padding: clamp(30px,5vw,48px); }.legal-hero p { max-width: 760px; margin-bottom: 0; font-size: 1.08rem; line-height: 1.6; }
.legal-card { margin-top: 22px; padding: clamp(28px,5vw,48px); line-height: 1.65; }.legal-card h2 { margin: 30px 0 10px; font-size: 1.35rem; }.legal-card h2:first-child { margin-top: 0; }.legal-card p,.legal-card ul { max-width: 920px; }.legal-card a { color: var(--deep-blue); }.legal-card address { font-style: normal; }.legal-card hr { margin: 28px 0; border: 0; border-top: 1px solid #d5e8f1; }.legal-notice { padding: 16px 18px; color: #6b4f00; background: #fff8d8; border-left: 4px solid #e3b341; border-radius: 10px; }
.task-card .autosave-state { margin: 20px 0 0; }.boolean-field legend { margin-bottom: 12px; color: var(--marine); font-size: clamp(1.15rem,2vw,1.35rem); line-height: 1.3; font-weight: 850; }
.task-card > h1 { margin-bottom: 28px; }
.area-link-card { color: var(--ink); text-decoration: none; transition: transform .15s ease,box-shadow .15s ease; }.area-link-card:hover,.area-link-card:focus-visible { transform: translateY(-3px); box-shadow: 0 24px 55px rgba(18,57,79,.17); }.area-open { margin-top: 18px; display: flex; justify-content: space-between; align-items: center; color: var(--deep-blue); font-weight: 850; }.area-open b { width: 38px; height: 38px; display: grid; place-items: center; color: white; background: var(--marine); border-radius: 10px; font-size: 1.25rem; }.area-hero { margin-top: 18px; }.area-task-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 12px; }.area-task-list form { margin: 0; }.area-task-button,.completed-task { min-height: 82px; padding: 14px 16px; }.completed-task { cursor: default; }
.frequency-section { margin-top: 28px; padding: clamp(22px,3vw,30px); background: rgba(255,255,255,.52); border: 1px solid rgba(18,57,79,.09); border-radius: 22px; }.frequency-section + .frequency-section { margin-top: 42px; }.frequency-section > h2 { margin: 0 0 24px; color: var(--ink); font-size: clamp(1.35rem,2.5vw,1.8rem); line-height: 1.2; }.time-groups { display: grid; gap: 20px; }.time-group { padding: 20px; background: rgba(255,255,255,.9); border: 1px solid rgba(18,57,79,.08); border-radius: 18px; box-shadow: var(--shadow); }.time-group > h3 { margin: 0 0 14px; color: var(--deep-blue); font-size: 1.05rem; }
.room-groups { display: grid; gap: 14px; }.room-group { overflow: hidden; background: rgba(255,255,255,.92); border: 1px solid rgba(18,57,79,.12); border-radius: 18px; }.room-group > summary { padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--marine); cursor: pointer; font-weight: 850; list-style: none; }.room-group > summary::-webkit-details-marker { display: none; }.room-group > summary::after { content: "⌄"; margin-left: 8px; color: var(--deep-blue); font-size: 1.2rem; }.room-group[open] > summary::after { transform: rotate(180deg); }.room-group > summary span { font-size: 1.12rem; }.room-group > summary small { margin-left: auto; color: var(--muted); font-size: .8rem; }.room-group > .time-groups { padding: 0 16px 16px; }.room-group .time-group { box-shadow: none; }
.room-task-group { box-shadow: none; }.task-subgroup + .task-subgroup { margin-top: 18px; padding-top: 16px; border-top: 1px solid #dcebf2; }.task-subgroup > .task-subgroup-title { margin: 0 0 12px; color: var(--marine); font-size: 1rem; }
.schedule-time-groups { gap: 32px; }
.material-capture-intro { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.material-capture-intro > div { min-width: 0; }
.material-capture-intro .muted { margin-bottom: 0; line-height: 1.5; }
.material-capture-intro > .button { flex-shrink: 0; }
@media (max-width: 700px) { .material-capture-intro { align-items: stretch; flex-direction: column; gap: 18px; }.material-search #capture-search { flex-basis: auto; } }
.back-to-top { position: fixed; z-index: 20; right: max(20px,env(safe-area-inset-right)); bottom: calc(24px + env(safe-area-inset-bottom)); width: 54px; height: 54px; display: grid; place-items: center; padding: 12px; border: 2px solid white; border-radius: 17px; color: white; background: var(--marine); box-shadow: 3px 4px 0 #f2c934,0 6px 20px rgba(18,57,79,.2); cursor: pointer; }
.back-to-top[hidden] { display: none; }
.site-footer { padding-right: 96px; }
.back-to-top svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.back-to-top:hover { background: var(--deep-blue); }
.back-to-top:focus-visible { outline: 3px solid #f2c934; outline-offset: 4px; }
@media print { .back-to-top { display: none !important; } }
.checklist-jump-nav { position: sticky; top: 10px; z-index: 10; display: flex; flex-wrap: wrap; gap: 10px; width: fit-content; max-width: 100%; padding: 8px; margin-bottom: 22px; border: 1px solid #c7d9e3; border-radius: 16px; background: #fff; box-shadow: 0 5px 18px rgba(18,57,79,.12); }
.checklist-jump-nav .button { gap: 14px; color: #fff; background: #12394f; text-align: center; }
.checklist-jump-nav .button:hover,.checklist-jump-nav .button:focus-visible { color: #17333f; background: #f6d968; }
.checklist-jump-nav .button:focus-visible { outline: 3px solid #12394f; outline-offset: 2px; }
.frequency-section[id] { scroll-margin-top: 100px; }
@media (max-width: 700px) { .checklist-jump-nav { width: 100%; flex-wrap: nowrap; gap: 6px; padding: 6px; }.checklist-jump-nav .button { flex: 1 1 0; min-width: 0; gap: 6px; padding: 10px 8px; font-size: .85rem; }.frequency-section[id] { scroll-margin-top: 110px; } }
.time-group.schedule-time-group { padding: 0; overflow: hidden; border: 2px solid #12394f; background: #e8f1f6; }
.schedule-time-group > .schedule-time-heading { display: grid; gap: 5px; margin: 0; padding: 20px 24px; background: #12394f; color: #fff; font-size: clamp(1.15rem,2.5vw,1.45rem); line-height: 1.3; }
.schedule-time-heading > small { color: #c6e4f5; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.schedule-time-group > .room-groups { padding: 22px; gap: 22px; }
.schedule-time-group .room-task-group { overflow: hidden; padding: 0; border: 1px solid #c7d9e3; border-radius: 13px; background: #fff; }
.schedule-room-heading { display: grid; gap: 4px; margin: 0; padding: 15px 20px; background: #f6d968; color: #17333f; border-bottom: 1px solid #d3b343; font-size: 1.15rem; line-height: 1.3; }
.schedule-room-heading > small { font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; color: #4d4a2a; }
.schedule-room-content { padding: 20px; }
.schedule-room-content .area-task-list { grid-template-columns: repeat(auto-fit,minmax(min(100%,280px),1fr)); }
.schedule-time-group .point-button { border-color: #bad0dc; background: #f7fbfd; }
@media (max-width: 700px) { .frequency-section:has(.schedule-time-groups) { padding: 14px 10px; }.schedule-time-group > .schedule-time-heading { padding: 16px; }.schedule-time-group > .room-groups { padding: 12px; gap: 16px; }.schedule-room-heading { padding: 13px 15px; }.schedule-room-content { padding: 15px; } }
@media (max-width: 900px) { .dashboard-overview { grid-template-columns: 1fr; }.material-dashboard-grid { grid-template-columns: 1fr; } }
.period-inputs > .period-range { width: 100%; display: grid; grid-template-columns: auto 230px auto 230px; place-content: center; align-items: center; gap: 12px; }
.period-inputs .period-range label { display: flex; align-items: center; align-self: stretch; margin: 0; line-height: 1; }
.period-inputs .period-range input { width: 100%; }
@media (max-width: 900px) { .period-choice { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 700px) { body { background-attachment: scroll; }.hero { align-items: stretch; flex-direction: column; }.shift-panel { min-width: 0; }.page-shell { width: min(100% - 20px,1200px); margin-top: 16px; }.area-card { padding: 18px; }.button-row .button { flex: 1 1 100%; }.management-nav { flex-wrap: nowrap; overflow-x: auto; }.management-nav a { white-space: nowrap; }.management-nav .mode-link { margin-left: 0; }.action-grid,.statistics-grid,.chart-grid,.correlation-grid { grid-template-columns: 1fr; }.action-card { grid-template-columns: 44px minmax(0,1fr) 38px; padding: 20px; gap: 12px; }.statistics-filter label,.statistics-filter input,.statistics-filter .button { width: 100%; }.report-row { grid-template-columns: minmax(110px,1fr) 52px; }.report-row .report-progress { grid-column: 1 / -1; grid-row: 2; }.chart-heading { flex-direction: column; }.site-footer { align-items: flex-start; flex-direction: column; } }
@media (max-width: 700px) { .start-choice-actions { grid-template-columns: 1fr; }.protected-search > div { align-items: stretch; flex-direction: column; }.protected-search .button { width: 100%; } }
@media (max-width: 700px) { .material-search > div { align-items: stretch; flex-direction: column; }.material-search .button { width: 100%; } }
@media (max-width: 700px) { .period-choice { grid-template-columns: repeat(2,minmax(0,1fr)); }.period-inputs > div { align-items: stretch; flex-direction: column; }.period-inputs > .period-range { display: grid; grid-template-columns: auto minmax(0,1fr); }.period-inputs label,.period-inputs input,.period-actions .button { width: 100%; }.admin-formset [id$="-weekdays"] { grid-template-columns: repeat(2,minmax(0,1fr)); }.button-row.task-completion-actions { grid-template-columns: 1fr; }.task-completion-actions .button:last-child { grid-column: auto; } }
@media (max-width: 700px) { .admin-formset fieldset,.qr-layout,.qr-copy-row { grid-template-columns: 1fr; }.form-title-row { align-items: stretch; flex-direction: column; }.sticky-save { flex-direction: column; }.sticky-save .button,.qr-copy-row .button { width: 100%; }.qr-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }.qr-actions .button { width: 100%; white-space: normal; } }
@media (max-width: 520px) { .topbar { padding-inline: 10px; }.brand { gap: 8px; }.brand-mark { width: 42px; height: 42px; flex-basis: 42px; }.brand-name { display: none; }.brand-product { padding-left: 0; border-left: 0; }.user-menu { min-width: 96px; } }

/* Eismeister-Buch modules */
.facility-switcher { margin: 0 0 12px auto; width: fit-content; }
.facility-switcher label { display: flex; align-items: center; gap: 10px; color: var(--marine); font-weight: 800; }
.facility-switcher select { padding: 9px 34px 9px 12px; border: 1px solid #b9d2df; border-radius: 10px; background: #fff; color: var(--ink); }
.form-card { width: min(960px,100%); margin-inline: auto; padding: clamp(24px,4vw,44px); }
.photo-settings-card { width: 100%; margin-inline: 0; }
.form-card fieldset { margin: 28px 0; padding: 22px; border: 1px solid #c7dce8; border-radius: 16px; }
.form-card legend { padding: 0 8px; color: var(--marine); font-size: 1.15rem; font-weight: 850; }
.form-grid,.filter-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.form-grid label,.filter-grid label,.form-card > form > label { display: grid; gap: 7px; color: var(--marine); font-weight: 750; }
.form-span { grid-column: 1 / -1; }
.privacy-notice,.identity-warning,.final-warning { margin: 18px 0; padding: 16px 18px; border-radius: 13px; line-height: 1.5; }
.privacy-notice { display: grid; gap: 4px; background: #e6f3fa; border-left: 5px solid var(--deep-blue); }
.identity-warning,.final-warning { background: #fff5cf; border-left: 5px solid #d6a900; }
.data-list { display: grid; gap: 10px; }
.data-row { padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid #d5e8f1; border-radius: 13px; background: #f8fcfe; }
.data-row div:first-child { display: grid; gap: 4px; }.data-row small { color: var(--muted); }
.detail-grid { display: grid; grid-template-columns: minmax(150px,.3fr) 1fr; margin: 0; }
.detail-grid dt,.detail-grid dd { margin: 0; padding: 14px; border-bottom: 1px solid #d7e7ef; }
.detail-grid dt { color: var(--marine); font-weight: 850; background: #f1f9fc; }
.search-panel { margin: 20px 0; padding: 22px; }.search-panel .button { margin-top: 18px; }
.lost-found-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(290px,1fr)); gap: 18px; }
.lost-found-card { padding: 0; overflow: hidden; }.lost-found-card img { width: 100%; height: 220px; object-fit: cover; background: #dcebf2; }.lost-found-card > div { padding: 20px; }
.status-pill { display: inline-flex; padding: 6px 10px; border-radius: 999px; font-size: .8rem; font-weight: 850; }.status-available { color: #14643c; background: #d7f5e7; }.status-collected { color: #475467; background: #eef1f4; }
.button-danger { color: white; background: var(--danger); border-color: var(--danger); }
@media (max-width:700px) { .form-grid,.filter-grid { grid-template-columns: 1fr; }.form-span { grid-column: auto; }.data-row { align-items: stretch; flex-direction: column; }.detail-grid { grid-template-columns: 1fr; }.detail-grid dt { padding-bottom: 4px; border-bottom: 0; }.detail-grid dd { padding-top: 4px; } }

