:root{color-scheme:light;--background:#f6f7f9;--surface:#fff;--surface-muted:#eef3f6;--line:#d8dee5;--text:#18212f;--muted:#657386;--primary:#0f7c80;--primary-strong:#095e63;--accent:#395b9d;--danger:#bb3b3b;--success:#2f7d55;--warning:#a16418}*{box-sizing:border-box}body,html{min-height:100%}body{margin:0;background:var(--background);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;letter-spacing:0}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.appShell{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:100vh}.sidebar{border-right:1px solid var(--line);background:#fbfcfd;padding:24px 18px}.brand{display:flex;align-items:center;gap:12px;margin-bottom:28px}.brandMark{display:grid;width:42px;height:42px;place-items:center;border-radius:8px;background:var(--primary);color:#fff;font-size:14px;font-weight:800}.brand span,.brand strong{display:block}.brand span{color:var(--muted);font-size:13px}.navList{display:grid;grid-gap:6px;gap:6px}.navList a{border-radius:8px;color:#344153;font-weight:700;padding:12px 14px}.navList a:hover{background:var(--surface-muted);color:var(--primary-strong)}.mainContent{min-width:0;padding:32px}.pageHeader{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:22px}.pageHeader h1{font-size:28px;line-height:1.2;margin:0}.pageHeader p{color:var(--muted);margin:6px 0 0}.statsGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(450px,1fr));grid-gap:21px;gap:21px;max-width:1600px}.emptyPanel,.panel,.statCard{border:1px solid var(--line);border-radius:8px;background:var(--surface)}.statCard{min-height:186px;padding:27px}.statCard span{color:var(--muted);font-size:16px;font-weight:700}.statCard strong{display:block;font-size:44px;margin-top:27px;overflow-wrap:anywhere}.summaryActions{align-items:flex-end;display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.summaryFilter{align-items:end;display:grid;grid-gap:10px;gap:10px;grid-template-columns:auto 140px auto}.summaryFilter label{color:var(--muted);font-size:13px;font-weight:800;grid-column:1/-1}.summaryKpiGrid{display:grid;grid-gap:14px;gap:14px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));margin-bottom:18px}.summaryMetricCard{border:1px solid var(--line);border-radius:8px;background:var(--surface);display:block;min-height:128px;padding:20px}.summaryMetricCard span{color:var(--muted);display:block;font-size:14px;font-weight:800}.summaryMetricCard strong{color:var(--text);display:block;font-size:30px;line-height:1.2;margin-top:20px;overflow-wrap:anywhere}.metricBreakdown{color:var(--muted);display:block;font-size:13px;font-weight:800;line-height:1.5;margin-top:10px}.summaryReferencePanel{align-items:center;background:#fbfcfd;border:1px solid var(--line);border-radius:8px;display:grid;grid-gap:18px;gap:18px;grid-template-columns:minmax(0,1fr) auto;margin-bottom:18px;padding:16px 18px}.summaryReferencePanel strong{display:block;font-size:14px;margin-bottom:6px}.summaryReferencePanel p{color:var(--muted);font-size:13px;font-weight:700;line-height:1.6;margin:0}.summaryReferenceGrid{display:grid;grid-gap:10px;gap:10px;grid-template-columns:repeat(2,minmax(140px,1fr));margin:0}.summaryReferenceGrid div{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:12px}.summaryReferenceGrid dt{color:var(--muted);font-size:12px;font-weight:800}.summaryReferenceGrid dd{color:var(--text);font-size:18px;font-weight:800;margin:6px 0 0}.summaryPanel{margin-top:18px}.summarySectionGrid{display:grid;grid-gap:18px;gap:18px;grid-template-columns:repeat(auto-fit,minmax(380px,1fr))}.summaryLegend{display:flex;gap:12px;color:var(--muted);font-size:13px;font-weight:800}.summaryLegend span{align-items:center;display:inline-flex;gap:6px}.summaryLegend span:before{border-radius:999px;content:"";display:inline-block;height:10px;width:10px}.legendInspection:before{background:var(--primary)}.legendRepair:before{background:var(--warning)}.summaryChart{align-items:flex-end;display:grid;grid-gap:12px;gap:12px;grid-template-columns:repeat(12,minmax(56px,1fr));min-height:260px;overflow-x:auto;padding:10px 20px 22px}.summaryChartColumn{align-items:center;display:grid;grid-gap:8px;gap:8px;min-width:56px;text-align:center}.summaryChartBars{align-items:flex-end;border-bottom:1px solid var(--line);display:flex;gap:5px;height:190px;justify-content:center;width:100%}.summaryChartBar{border-radius:6px 6px 0 0;display:block;min-height:0;width:16px}.summaryChartBar.inspection{background:var(--primary)}.summaryChartBar.repair{background:var(--warning)}.summaryChartColumn strong{font-size:13px}.summaryChartColumn span{color:var(--muted);font-size:12px;font-weight:700}.summaryTable{min-width:720px}.summaryTable.wide{min-width:980px}.summaryTable td,.summaryTable th{white-space:nowrap}.summaryTextCell{line-height:1.5;min-width:320px;white-space:normal!important}.panelCount{color:var(--danger);font-size:14px;white-space:nowrap}.statusPill.danger{background:#fce8e8;color:var(--danger)}.emptyCell{color:var(--muted);text-align:center}.routeState{border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--muted);padding:24px}.routeState h1,.routeState h2{color:var(--text);margin:0 0 8px}.routeState p{margin:0 0 16px}.panel{margin-bottom:18px;overflow:hidden}.panelHeader{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:16px 18px}.panelHeader h2{font-size:18px;margin:0}.panelBody{padding:18px}.emptyPanel{color:var(--muted);padding:24px}.filterBar{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));grid-gap:10px;gap:10px;margin-bottom:16px}.filterBar button{align-self:end}.formGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:16px;gap:16px}.filterBar label,.formGrid label{display:grid;grid-gap:7px;gap:7px;color:#273343;font-size:14px;font-weight:700}.filterBar input,.filterBar select,.formGrid input,.formGrid select,.formGrid textarea{width:100%;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--text);padding:10px 12px}.paginationBar{align-items:center;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;margin-top:16px;padding-top:16px}.paginationMeta{color:var(--muted);font-size:14px;font-weight:800}.pageSizeForm,.pageSizeForm label,.paginationControls{align-items:center;display:flex;gap:8px}.pageSizeForm label{color:var(--muted);font-size:13px;font-weight:800}.pageSizeForm select{border:1px solid var(--line);border-radius:8px;color:var(--text);padding:9px 10px}.button.disabled{cursor:default;opacity:.45;pointer-events:none}.formGrid textarea{min-height:110px;resize:vertical}.spanTwo{grid-column:1/-1}.checkboxLabel{align-items:center;display:flex!important;gap:10px!important;min-height:42px}.checkboxLabel input{width:18px;height:18px}.formActions{display:flex;gap:8px;justify-content:flex-end}.button{align-items:center;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--text);cursor:pointer;display:inline-flex;font-weight:800;justify-content:center;min-height:40px;padding:9px 13px;white-space:nowrap}.button.primary{border-color:var(--primary);background:var(--primary);color:#fff}.button.secondary{border-color:rgba(37,99,235,.35);color:var(--primary);font-weight:800;text-decoration:none}.button.ghost{background:transparent}.button.danger{border-color:rgba(187,59,59,.35);color:var(--danger)}.button:disabled{cursor:not-allowed;opacity:.68}.tableWrap{overflow-x:auto}.categoryList{display:grid;grid-gap:16px;gap:16px}.categoryGroup{border:1px solid var(--line);border-radius:8px;background:#fff;overflow:hidden}.categoryHeader{align-items:center;border-bottom:1px solid var(--line);display:flex;gap:12px;justify-content:space-between;padding:14px 16px}.categoryHeader h2{font-size:18px;margin:0}.categoryHeader span{color:var(--muted);display:block;font-size:12px;font-weight:800;margin-top:4px}.categoryHeader strong{color:var(--accent);font-size:16px}table{width:100%;border-collapse:collapse;min-width:1080px}.fixedTable{table-layout:fixed}.fixedTable td,.fixedTable th{overflow-wrap:anywhere}.partTable{min-width:1080px}.partTable col:first-child{width:10%}.partTable col:nth-child(2){width:16%}.partTable col:nth-child(3){width:8%}.partTable col:nth-child(4){width:10%}.partTable col:nth-child(5){width:9%}.partTable col:nth-child(6){width:7%}.partTable col:nth-child(7),.partTable col:nth-child(8){width:15%}.partTable col:nth-child(9){width:10%}.inspectionCheckCategoryTable{min-width:900px}.inspectionCheckCategoryTable col:first-child{width:9%}.inspectionCheckCategoryTable col:nth-child(2){width:20%}.inspectionCheckCategoryTable col:nth-child(3){width:24%}.inspectionCheckCategoryTable col:nth-child(4){width:10%}.inspectionCheckCategoryTable col:nth-child(5){width:12%}.inspectionCheckCategoryTable col:nth-child(6){width:25%}.inspectionCheckItemTable{min-width:1080px}.inspectionCheckItemTable col:first-child{width:7%}.inspectionCheckItemTable col:nth-child(2){width:16%}.inspectionCheckItemTable col:nth-child(3){width:17%}.inspectionCheckItemTable col:nth-child(4),.inspectionCheckItemTable col:nth-child(5){width:15%}.inspectionCheckItemTable col:nth-child(6){width:9%}.inspectionCheckItemTable col:nth-child(7){width:11%}.inspectionCheckItemTable col:nth-child(8){width:10%}.inspectionResultTable{min-width:900px}.inspectionResultTable col:first-child{width:22%}.inspectionResultTable col:nth-child(2){width:30%}.inspectionResultTable col:nth-child(3){width:14%}.inspectionResultTable col:nth-child(4){width:34%}.checkResultEditTable{min-width:840px}.checkResultEditTable col:first-child{width:34%}.checkResultEditTable col:nth-child(2){width:20%}.checkResultEditTable col:nth-child(3){width:46%}td,th{border-bottom:1px solid var(--line);padding:13px 14px;text-align:left;vertical-align:top}th{background:#f9fafb;color:var(--muted);font-size:13px}td{font-size:14px}.actions{display:flex;flex-wrap:wrap;gap:8px}.stack{display:grid;grid-gap:16px;gap:16px}.inlineForm{align-items:end;display:grid;grid-template-columns:minmax(220px,1fr) 140px auto auto;grid-gap:10px;gap:10px}.inlineForm label{display:grid;grid-gap:7px;gap:7px;color:#273343;font-size:14px;font-weight:700}.inlineForm input:not([type=checkbox]),.inlineForm select,td input:not([type=checkbox]),td select,td textarea{width:100%;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--text);padding:9px 10px}td textarea{min-height:74px;resize:vertical}.resultOptions{border:1px solid var(--line);border-radius:8px;display:flex;flex-wrap:wrap;gap:12px;margin:0;padding:12px}.resultOptions legend{color:#273343;font-size:14px;font-weight:800;padding:0 6px}.modalScrim{position:fixed;inset:0;z-index:40;background:rgba(24,33,47,.42)}.itemEditModal{position:fixed;left:50%;top:50%;z-index:50;width:min(960px,calc(100vw - 32px));max-height:calc(100vh - 32px);overflow:auto;transform:translate(-50%,-50%);border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 22px 70px rgba(24,33,47,.22);padding:18px}.itemEditModalHeader{align-items:center;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;margin:-2px 0 4px;padding-bottom:14px}.itemEditModalHeader h3{font-size:18px;margin:0}.pillList{display:flex;flex-wrap:wrap;gap:6px}.statusPill{border-radius:999px;display:inline-flex;font-size:12px;font-weight:800;padding:5px 9px}.statusPill.active{background:rgba(47,125,85,.12);color:var(--success)}.statusPill.inactive{background:rgba(101,115,134,.14);color:var(--muted)}.statusPill.warning{background:rgba(161,100,24,.12);color:var(--warning)}.detailGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px 20px;gap:12px 20px}.detailItem{display:grid;grid-gap:5px;gap:5px}.detailItem span{color:var(--muted);font-size:13px;font-weight:800}.detailItem p,.detailItem strong{margin:0}.costBand{background:var(--surface-muted);border:1px solid var(--line);border-radius:8px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px}.costBand span{color:var(--muted);font-weight:800}.costBand strong{color:var(--accent);font-size:28px}.uploadBox{display:grid;grid-gap:16px;gap:16px}.uploadBox label{display:grid;grid-gap:7px;gap:7px;color:#273343;font-size:14px;font-weight:700}.uploadBox input[type=file]{border:1px dashed var(--line);border-radius:8px;background:#fbfcfd;padding:16px}.errorText{color:var(--danger);font-weight:800;margin:0}.uploadResult{border:1px solid var(--line);border-radius:8px;background:var(--surface-muted);padding:16px}.resultHeader{align-items:center;display:flex;justify-content:space-between;gap:12px;margin-bottom:14px}.resultGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:10px;gap:10px;margin:0}.resultGrid div{border:1px solid var(--line);border-radius:8px;background:#fff;padding:12px}.resultGrid dt{color:var(--muted);font-size:12px;font-weight:800}.resultGrid dd{font-size:18px;font-weight:800;margin:6px 0 0}.resultSummary{color:var(--muted);margin:12px 0 0}.resultNotice,.resultSummary{font-size:13px;line-height:1.5}.resultNotice{border-radius:8px;font-weight:800;margin:0 0 12px;padding:10px 12px}.resultNotice.success{background:#e8f8ef;color:#166534}.resultNotice.warning{background:#fff7ed;color:#9a3412}.errorList{display:grid;grid-gap:6px;gap:6px;margin-top:12px}.errorList p{color:var(--danger);margin:0}.codeBlock{background:#18212f;border-radius:8px;color:#fff;font-size:12px;margin:0;max-height:180px;min-width:260px;overflow:auto;padding:12px;white-space:pre-wrap}@media (max-width:980px){.appShell{grid-template-columns:1fr}.sidebar{border-bottom:1px solid var(--line);border-right:0}.navList{grid-template-columns:repeat(3,minmax(0,1fr))}.statsGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:680px){.mainContent{padding:20px}.costBand,.pageHeader,.panelHeader{align-items:stretch;flex-direction:column}.detailGrid,.filterBar,.formGrid,.inlineForm,.resultGrid,.statsGrid,.summaryActions,.summaryFilter,.summaryReferenceGrid,.summaryReferencePanel,.summarySectionGrid{grid-template-columns:1fr}.pageSizeForm,.paginationBar,.paginationControls,.summaryActions,.summaryActions .button,.summaryFilter button{width:100%}.summaryKpiGrid{grid-template-columns:1fr}.summaryChart{padding-inline:8px}.spanTwo{grid-column:auto}.navList{grid-template-columns:1fr}}