@import "https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap";.status-overlay{z-index:10;color:#20c997;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#080a0ac7;align-content:center;place-items:center;gap:16px;display:grid;position:fixed;inset:0}.status-overlay p{color:#c2cbc6;margin:0;font-size:14px}.schedule-view{min-width:0;min-height:0;display:grid}.schedule-controls{flex-wrap:wrap;justify-content:flex-end;align-items:flex-end;gap:12px;display:flex}.date-field{color:#aeb7b2;gap:6px;font-size:12px;display:grid}.date-field input{color:#e7ece8;background:#171a1c;border:1px solid #3a4044;border-radius:8px;min-height:42px;padding:0 12px}.schedule-frame{background:#171a1c;border:1px solid #303538;border-radius:8px;min-height:0;overflow:hidden}.schedule-scroll{width:100%;height:100%;overflow:auto}.schedule-grid{min-width:max(100%, 190px + var(--day-count) * 46px);grid-template-columns:190px minmax(0,1fr);display:grid}.schedule-corner,.schedule-day-header{z-index:3;background:#0e1011;border-bottom:1px solid #303538;position:sticky;top:0}.schedule-corner{z-index:4;color:#aeb7b2;padding:14px 16px;font-size:12px;font-weight:700;left:0}.schedule-day-header{display:grid}.schedule-day{color:#aeb7b2;text-align:center;border-left:1px solid #303538b3;align-content:center;gap:2px;min-height:45px;padding:8px;font-size:12px;font-weight:700;display:grid}.schedule-day small{font-size:10px;font-weight:700}.schedule-day.saturday{color:#a8dcff;background:#15476b}.schedule-day.sunday{color:#ffc0cf;background:#6d2437}.schedule-day.holiday{color:#ffe2a0;background:#735018}.schedule-category-label,.schedule-category-track{background:#202528;border-bottom:1px solid #303538}.schedule-category-label{z-index:2;color:#d7ded9;align-items:center;min-height:36px;padding:8px 16px;font-size:12px;font-weight:800;display:flex;position:sticky;left:0}.schedule-category-label span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.schedule-category-track{border-left:1px solid #303538b3;min-height:36px}.schedule-equipment{z-index:2;background:#171a1c;border-bottom:1px solid #3035388c;align-content:center;padding:12px 16px;display:grid;position:sticky;left:0}.schedule-equipment strong{color:#fff;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.schedule-bars{background:#171a1c;border-bottom:1px solid #3035388c;gap:6px 0;min-height:54px;padding:12px 0;display:grid;position:relative}.schedule-cell{z-index:0;pointer-events:none;border-left:1px solid #30353873;align-self:stretch}.schedule-cell.saturday{background:#102f47}.schedule-cell.sunday{background:#451a28}.schedule-cell.holiday{background:#503812}.schedule-bar{z-index:1;background:var(--schedule-bar-background,#20c997);color:#07100d;border:1px solid #20c99773;border-radius:6px;align-content:center;gap:1px;min-width:0;padding:2px 8px;text-decoration:none;display:grid;position:relative}.schedule-bar:hover{filter:brightness(1.08)}.schedule-bar span,.schedule-bar small{text-overflow:ellipsis;white-space:nowrap;min-width:0;line-height:1;overflow:hidden}.schedule-bar span{font-size:12px;font-weight:800}.schedule-bar small{font-size:10px}.schedule-empty{z-index:1;color:#6f7974;grid-area:1/1/auto/-1;align-self:start;padding-left:16px;font-size:13px;line-height:30px;position:sticky;left:214px}.schedule-message{color:#9da7a2;text-align:center;grid-column:1/-1;padding:28px}@media (width<=860px){.schedule-controls{justify-content:stretch}.schedule-controls .date-field,.schedule-controls .icon-button{flex:140px}.schedule-grid{min-width:max(100%, 154px + var(--day-count) * 46px);grid-template-columns:154px minmax(0,1fr)}.schedule-empty{left:178px}}.table-frame{background:#171a1c;border:1px solid #303538;border-radius:8px;overflow:auto}.table-frame table{border-collapse:collapse;width:100%;min-width:100%}.table-frame th,.table-frame td{text-align:left;vertical-align:middle;padding:16px 20px}.table-frame th{color:#aeb7b2;background:#0e1011;border-bottom:1px solid #303538;font-size:12px;font-weight:700}.table-frame td{color:#d6ddd9;border-bottom:1px solid #3035388c;font-size:14px}.table-frame tbody tr:hover{background:#202426}.table-frame tbody tr:last-child td{border-bottom:0}.badge{white-space:nowrap;border-radius:999px;align-items:center;min-height:24px;padding:3px 9px;font-size:12px;font-weight:700;display:inline-flex}.success-badge{color:#20c997;background:#20c9971f}.warning-badge{color:#ffb84d;background:#ffb84d1f}.neutral-badge{color:#c2cbc6;background:#9da7a21f}.table-frame .inventory-table{width:max-content;min-width:100%}.table-frame .inventory-table th,.table-frame .inventory-table td{white-space:nowrap}@media (width<=860px){.view-header{flex-direction:column;align-items:stretch}}.meta-item{gap:4px;display:grid}.meta-item span{color:#87928d;font-size:12px}.meta-item strong{overflow-wrap:anywhere;color:#fff;min-width:0;font-size:14px}.project-print-report{display:none}@media print{@page{size:A4 landscape;margin:10mm}html,body,#root{color:#111!important;background:#fff!important}body *{visibility:hidden}.project-print-report,.project-print-report *{visibility:visible}.project-print-report{color:#111;width:100%;font-family:Noto Sans JP,system-ui,sans-serif;font-size:10px;line-height:1.45;display:block;position:absolute;top:0;left:0}.project-print-page{break-after:page;page-break-after:always;align-content:start;min-height:180mm;display:grid}.project-print-page:last-child{break-after:auto;page-break-after:auto}.project-print-header{border-bottom:1px solid #222;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);align-items:end;gap:12mm;margin-bottom:5mm;padding-bottom:5mm;display:grid}.project-print-header h1,.project-print-header p,.project-print-header dl,.project-print-header dt,.project-print-header dd{margin:0}.project-print-header h1{color:#111;overflow-wrap:anywhere;font-size:18px;line-height:1.25}.project-print-header dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:3mm;display:grid}.project-print-header div{min-width:0}.project-print-header dt{color:#555;font-size:8px;font-weight:700}.project-print-header dd{color:#111;overflow-wrap:anywhere;font-size:10px}.project-print-kicker{color:#555;font-size:9px;font-weight:700}.project-print-table{border-collapse:collapse;table-layout:fixed;color:#111;width:100%}.project-print-table thead{display:table-header-group}.project-print-table tr{break-inside:avoid;page-break-inside:avoid}.project-print-table th,.project-print-table td{overflow-wrap:anywhere;vertical-align:middle;border:1px solid #777;padding:2.4mm 2mm}.project-print-table th{color:#111;text-align:left;font-size:9px;font-weight:700;background:#eee!important}.project-print-table td{color:#111;min-height:8mm;font-size:10px}.project-print-table .center{text-align:center}.project-print-check-column{width:13mm;text-align:center!important}.project-print-check-cell{height:9mm;position:relative}.project-print-check-cell:before{content:"";border:1px solid #444;width:4.5mm;height:4.5mm;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.project-print-empty{text-align:center;height:24mm;color:#555!important}}.qr-scanner-backdrop{z-index:50;background:#050708c7;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.qr-scanner-modal{background:#151819;border:1px solid #303538;border-radius:8px;gap:14px;width:min(520px,100%);padding:16px;display:grid;box-shadow:0 24px 80px #00000073}.qr-scanner-header{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.qr-scanner-header h3{color:#fff;margin:0;font-size:18px;line-height:1.3}.qr-scanner-header p{color:#9da7a2;margin:5px 0 0;font-size:12px}.qr-scanner-preview{aspect-ratio:1;background:#0e1011;border:1px solid #303538;border-radius:8px;position:relative;overflow:hidden}.qr-scanner-preview video{object-fit:cover;width:100%;height:100%}.qr-scanner-frame{pointer-events:none;border:2px solid #20c997;border-radius:8px;position:absolute;inset:18%;box-shadow:0 0 0 999px #00000042,0 0 22px #20c9973d}.qr-scanner-error{color:#ffb84d;background:#ffb84d1f;border-radius:8px;margin:0;padding:10px 12px;font-size:13px}.operation-panel{background:#171a1c;border:1px solid #303538;border-radius:8px;gap:16px;padding:16px;display:grid}.operation-toolbar{justify-content:flex-end;align-items:center;gap:12px;display:flex}.operation-fields{gap:12px;display:grid}.scan-input{color:#9da7a2;background:#111315;border:1px solid #3a4044;border-radius:8px;align-items:center;gap:8px;min-height:42px;padding:0 10px;display:flex}.scan-input input{color:#e7ece8;background:0 0;border:0;width:100%;min-width:0;padding:0}.scan-input input:focus{outline:0}.scan-camera-button{color:#e7ece8;background:#24282b;border:1px solid #3a4044;border-radius:8px;flex:none;place-items:center;width:34px;height:34px;display:inline-grid}.scan-camera-button:disabled{cursor:not-allowed;opacity:.42}.scan-camera-button:hover{background:#2d3336}.field-message{color:#9da7a2;align-items:center;gap:6px;margin:0;font-size:12px;display:flex}.inline-icon{flex:none}.qty-field{max-width:180px}.operation-confirm{border-top:1px solid #303538;justify-content:space-between;align-items:center;gap:14px;padding-top:16px;display:flex}.operation-confirm div{gap:3px;min-width:0;display:grid}.operation-confirm span,.operation-confirm small{color:#9da7a2;font-size:12px}.operation-confirm strong{color:#fff;text-overflow:ellipsis;white-space:nowrap;font-size:18px;overflow:hidden}.operation-notice{border-radius:8px;align-items:center;gap:8px;padding:10px 12px;font-size:13px;display:flex}.operation-notice.success{color:#20c997;background:#20c9971f}.operation-notice.warning{color:#ffb84d;background:#ffb84d1f}@media (width<=860px){.operation-toolbar,.operation-confirm{flex-direction:column;align-items:stretch}.qty-field{max-width:none}}.view{gap:24px;display:grid}.view-header{justify-content:space-between;align-items:flex-end;gap:20px;display:flex}.view-header h2{color:#fff;margin:0;font-size:26px;line-height:1.25}.view-header p{color:#9da7a2;margin:6px 0 0;font-size:14px}.view-header-actions{justify-content:flex-end;align-items:flex-end;gap:12px;display:flex}.segmented{background:#171a1c;border:1px solid #303538;border-radius:8px;flex-wrap:wrap;gap:4px;padding:4px;display:flex}.segmented button{color:#aeb7b2;white-space:nowrap;background:0 0;border:0;border-radius:6px;min-height:38px;padding:8px 14px}.segmented button.selected{color:#07100d;background:#20c997;font-weight:700}.select-field{color:#aeb7b2;align-items:center;gap:10px;font-size:14px;display:flex}.select-field select{color:#e7ece8;background:#171a1c;border:1px solid #3a4044;border-radius:8px;width:min(320px,55vw);min-height:42px;padding:0 12px}.project-meta{background:#171a1c;border:1px solid #303538;border-radius:8px;grid-template-columns:1fr 1.5fr 1fr 1fr;gap:16px;padding:20px;display:grid}.list-toolbar{flex-wrap:wrap;justify-content:flex-start;gap:12px;display:flex}.project-operation-frame{width:min(720px,100%)}.project-list-form{background:#151819;border-bottom:1px solid #303538;align-items:flex-end;gap:12px;width:100%;padding:14px;display:flex}.project-list-form.in-row{background:0 0;border-bottom:0;padding:0}.project-list-form>.icon-button{min-height:38px;margin-top:auto}.project-list-form:not(.in-row) .picker-field{flex:auto}.project-list-form:not(.in-row)>.compact-field:not(.picker-field){flex:0 auto;min-width:0}.compact-field{color:#aeb7b2;flex:2;gap:6px;min-width:190px;font-size:12px;display:grid}.compact-field.grow{flex:1}.compact-field input,.compact-field select{color:#e7ece8;background:#171a1c;border:1px solid #3a4044;border-radius:8px;min-width:0;min-height:38px;padding:0 10px}.compact-field input:disabled,.compact-field select:disabled{cursor:not-allowed;opacity:.55}.compact-field select{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.picker-field{flex:auto}.table-frame.project-list-frame{overflow:hidden}.table-frame .project-table-scroll{width:100%;overflow:auto hidden}.table-frame .project-table{table-layout:auto;width:max-content;min-width:100%}.table-frame .project-table th,.table-frame .project-table td{white-space:nowrap;padding:12px 14px}button:disabled{cursor:not-allowed;opacity:.55}.table-actions{align-items:center;gap:6px;display:flex}.icon-only-button{color:#e7ece8;background:#24282b;border:1px solid #3a4044;border-radius:8px;place-items:center;width:34px;height:34px;display:inline-grid}.icon-only-button:hover{background:#2d3336}.danger-button{color:#ff6b6b}.readonly-summary{align-items:center;gap:10px;padding:8px;display:flex}.readonly-summary span{color:#9da7a2}.readonly-summary strong{color:#fff}.icon-button{color:#e7ece8;white-space:nowrap;background:#24282b;border:1px solid #3a4044;border-radius:8px;justify-content:center;align-self:center;align-items:center;gap:8px;min-height:42px;padding:0 14px;display:inline-flex}.icon-button:hover{background:#2d3336}.icon-button.primary-button{color:#07100d;background:#20c997;border-color:#20c997;font-weight:700}.icon-button.primary-button:hover{background:#35d6a7}.empty{color:#9da7a2;text-align:center;height:96px}.empty svg{vertical-align:middle;margin-right:8px}.modal-backdrop{z-index:40;background:#050708b8;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.project-create-modal{background:#151819;border:1px solid #303538;border-radius:8px;gap:20px;width:min(640px,100%);max-height:min(760px,100%);padding:20px;display:grid;overflow:auto;box-shadow:0 24px 80px #00000073}.modal-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.modal-header h3{color:#fff;margin:0;font-size:20px;line-height:1.3}.modal-header p{color:#9da7a2;margin:6px 0 0;font-size:13px}.project-create-form{gap:16px;display:grid}.project-create-form .compact-field{min-width:0}.form-grid{gap:12px;display:grid}.form-grid.two-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.modal-actions{justify-content:flex-end;gap:10px;padding-top:4px;display:flex}@media (width<=860px){.view-header{flex-direction:column;align-items:stretch}.view-header-actions{flex-flow:row;align-items:stretch}.view-header-actions .select-field{flex:auto;min-width:0}.view-header-actions .icon-button{flex:none}.project-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.project-list-form{flex-direction:column;align-items:stretch}.compact-field,.compact-field.grow{min-width:0}.picker-field{flex:0 auto;width:100%}.select-field{flex-direction:column;align-items:stretch}.select-field select{width:100%}}@media (width<=560px){.project-meta{grid-template-columns:1fr}.modal-backdrop{align-items:end;padding:12px}.project-create-modal{max-height:calc(100vh - 24px)}.form-grid.two-columns{grid-template-columns:1fr}.modal-actions{flex-direction:column-reverse}}.app-shell{background:#111315;min-height:100vh;display:flex}.sidebar{background:#171a1c;border-right:1px solid #303538;flex-direction:column;width:264px;padding:24px;display:flex}.sidebar-header{justify-content:space-between;align-items:center;gap:16px;display:flex}.sidebar-panel{flex-direction:column;flex:1;justify-content:space-between;min-height:0;display:flex}.brand{align-items:center;gap:12px;margin-bottom:32px;display:flex}.brand h1{margin:0;font-size:18px;line-height:1.3}.brand span{color:#9da7a2;font-size:12px}.brand-mark{color:#0b1110;letter-spacing:0;background:#20c997;border-radius:8px;place-items:center;width:44px;height:44px;font-weight:800;display:grid}.menu-toggle{color:#e7ece8;background:#24282b;border:1px solid #3a4044;border-radius:8px;place-items:center;width:40px;height:40px;display:none}.nav{gap:8px;display:grid}.nav-item{color:#aeb7b2;text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:12px;width:100%;padding:12px 14px;text-decoration:none;display:flex}.nav-item:hover,.nav-item.active{color:#20c997;background:#24282b}.sync-status{color:#9da7a2;border-top:1px solid #303538;align-items:center;gap:8px;padding-top:20px;font-size:12px;display:flex}.sync-user{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.pulse-dot{background:#20c997;border-radius:999px;width:8px;height:8px;box-shadow:0 0 0 6px #20c9971a}.login-screen{color:#e7ece8;background:#111315;place-items:center;min-height:100vh;padding:24px;display:grid}.login-panel{background:#171a1c;border:1px solid #303538;border-radius:8px;justify-items:start;gap:20px;width:min(100%,360px);padding:28px;display:grid}.login-panel h1{margin:0;font-size:24px}.login-panel p{color:#9da7a2;margin:6px 0 0}.login-form{gap:14px;width:100%;display:grid}.login-form label{color:#cbd4cf;gap:6px;font-size:13px;display:grid}.login-form input{color:#e7ece8;background:#111315;border:1px solid #3a4044;border-radius:8px;width:100%;padding:11px 12px}.login-form input:focus{border-color:#20c997;outline:0}.login-form button{color:#0b1110;background:#20c997;border:0;border-radius:8px;min-height:44px;margin-top:16px;font-weight:800}.login-form button:disabled{cursor:progress;opacity:.72}.login-form button:not(:disabled):hover{background:#2ee0aa}.login-form button,.login-form input{font:inherit}.login-form input:-webkit-autofill{-webkit-text-fill-color:#e7ece8;box-shadow:inset 0 0 0 1000px #111315}.login-error{font-size:13px;color:#ff8f8f!important}.main{flex:1;min-width:0;padding:36px;overflow:auto}@media (width<=860px){.app-shell{flex-direction:column}.sidebar{border-bottom:1px solid #303538;border-right:0;width:100%;padding:16px}.brand{margin-bottom:0}.menu-toggle{flex:none;display:grid}.sidebar-panel{flex:none;gap:16px;margin-top:16px;display:none}.sidebar-panel.open{display:grid}.sync-status{padding-top:16px}.main{padding:24px 16px}}@media (width<=560px){.brand{min-width:0}.brand h1,.brand span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}}:root{color:#e7ece8;font-synthesis:none;text-rendering:optimizelegibility;background:#111315;font-family:Noto Sans JP,system-ui,sans-serif}*{box-sizing:border-box}body{background:#111315;min-width:320px;min-height:100vh;margin:0}button,input,select{font:inherit}button{cursor:pointer}.muted{color:#9da7a2}.strong{color:#fff;font-weight:700}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px}.center{text-align:center}.tag{color:#c2cbc6;white-space:nowrap;background:#272c2f;border-radius:999px;align-items:center;min-height:24px;padding:3px 9px;font-size:12px;font-weight:700;display:inline-flex}.success{color:#20c997}.warning{color:#ffb84d}.danger{color:#ff6b6b}.spin{animation:.85s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}
