:root{--fh-bg:#f6f7f9;--fh-surface:#fff;--fh-text:#1f2328;--fh-muted:#59636e;--fh-border:#d1d9e0;--fh-accent:#0b5cad;--fh-error:#c62828;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}body{background:var(--fh-bg);color:var(--fh-text);margin:0;font-family:system-ui,-apple-system,Hiragino Sans,Noto Sans JP,sans-serif;font-size:14px}.fh-shell{min-height:100vh;display:flex}.fh-main{flex:1;min-width:0;padding:24px 32px}.fh-userbar{color:var(--fh-muted);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px 16px;margin-bottom:12px;font-size:13px;display:flex}.fh-userbar__switch{align-items:center;gap:8px;display:flex}.fh-userbar__switch .fh-input{width:auto}.fh-sidenav{background:var(--fh-surface);border-right:1px solid var(--fh-border);flex-shrink:0;width:220px;padding:16px 0}.fh-sidenav__title{padding:0 16px 16px;font-weight:700}.fh-sidenav__section{margin-bottom:12px}.fh-sidenav__section-label{color:var(--fh-muted);padding:4px 16px;font-size:12px}.fh-sidenav ul{margin:0;padding:0;list-style:none}.fh-sidenav__link{color:inherit;padding:6px 16px;text-decoration:none;display:block}.fh-sidenav__link:hover{background:var(--fh-bg)}.fh-sidenav__link--active{color:var(--fh-accent);border-left:3px solid var(--fh-accent);padding-left:13px;font-weight:600}.fh-page-header{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.fh-page-header h1{margin:0;font-size:20px}.fh-card{background:var(--fh-surface);border:1px solid var(--fh-border);border-radius:6px;padding:16px 20px}.fh-card h2{margin:0 0 12px;font-size:15px}.fh-card dl{grid-template-columns:max-content 1fr;gap:6px 16px;margin:0;display:grid}.fh-card dt{color:var(--fh-muted)}.fh-card dd{margin:0}.fh-error{color:var(--fh-error)}.fh-muted{color:var(--fh-muted)}.fh-visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.fh-page-header__actions{align-items:center;gap:12px;display:flex}.fh-main a{color:var(--fh-accent)}.fh-main>*+*{margin-top:16px}.fh-button{border:1px solid var(--fh-border);background:var(--fh-surface);color:var(--fh-text);font:inherit;cursor:pointer;border-radius:6px;align-items:center;padding:6px 14px;text-decoration:none;display:inline-flex}.fh-button:hover:not(:disabled){background:var(--fh-bg)}.fh-button:disabled{opacity:.5;cursor:default}.fh-main a.fh-button--primary,.fh-button--primary{background:var(--fh-accent);border-color:var(--fh-accent);color:#fff}.fh-button--primary:hover:not(:disabled){background:#094c8f}.fh-button--danger{background:var(--fh-error);border-color:var(--fh-error);color:#fff}.fh-button--danger:hover:not(:disabled){background:#a51f1f}:is(.fh-button,.fh-input,.fh-tabs__tab):focus-visible{outline:2px solid var(--fh-accent);outline-offset:1px}.fh-input{border:1px solid var(--fh-border);background:var(--fh-surface);width:100%;font:inherit;color:inherit;border-radius:4px;padding:6px 8px}.fh-input[readonly],.fh-input:disabled{background:var(--fh-bg);color:var(--fh-muted)}.fh-input--num{text-align:right}.fh-field--invalid .fh-input{border-color:var(--fh-error)}.fh-field__label{margin-bottom:4px;font-weight:600;display:block}.fh-field__required{color:var(--fh-error);margin-left:6px;font-size:11px;font-weight:400}.fh-field__error{color:var(--fh-error);margin:4px 0 0}.fh-field__hint{color:var(--fh-muted);margin:4px 0 0;font-size:12px}.fh-form{flex-direction:column;gap:16px;display:flex}.fh-form__grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px 24px;display:grid}.fh-form__section{border:1px solid var(--fh-border);border-radius:6px;margin:0;padding:12px 16px 16px}.fh-form__section legend{padding:0 4px;font-weight:600}.fh-form__actions{gap:8px;display:flex}.fh-filter{flex-wrap:wrap;align-items:flex-end;gap:16px 24px;display:flex}.fh-filter>label{flex-direction:column;gap:4px;min-width:180px;font-weight:600;display:flex}.fh-filter__statuses{border:0;flex-wrap:wrap;gap:4px 12px;margin:0;padding:0;display:flex}.fh-filter__statuses legend{margin-bottom:4px;padding:0;font-weight:600}.fh-checkbox{align-items:center;gap:4px;display:inline-flex}.fh-table-wrap{overflow-x:auto}.fh-table{border-collapse:collapse;width:100%}.fh-table th,.fh-table td{border-bottom:1px solid var(--fh-border);text-align:left;white-space:nowrap;padding:8px 10px}.fh-table th{color:var(--fh-muted);font-size:12px;font-weight:600}.fh-table .fh-table__num{text-align:right;font-variant-numeric:tabular-nums}.fh-table__empty{text-align:center;color:var(--fh-muted);padding:24px}.fh-pagination{justify-content:flex-end;align-items:center;gap:8px;margin-top:12px;display:flex}.fh-status{background:var(--fh-bg);border:1px solid var(--fh-border);border-radius:10px;padding:1px 8px;font-size:12px;display:inline-block}.fh-status--active{color:#1e6b34;background:#e6f4ea;border-color:#b7dfc1}.fh-status--maintenance,.fh-status--suspended{color:#8a4b00;background:#fff4e5;border-color:#f5d3a1}.fh-status--sold,.fh-status--scrapped{color:var(--fh-muted)}.fh-alert{border:1px solid;border-radius:6px;padding:10px 14px}.fh-alert--error{color:var(--fh-error);background:#fdecea;border-color:#f5c2bd}.fh-alert--warning{color:#8a4b00;background:#fff4e5;border-color:#f5d3a1}.fh-alert--info{background:#e8f1fb;border-color:#bcd5f0}.fh-tabs__list{border-bottom:1px solid var(--fh-border);gap:4px;margin-bottom:16px;display:flex}.fh-tabs__tab{font:inherit;color:var(--fh-muted);cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;padding:8px 14px}.fh-tabs__tab--active{color:var(--fh-accent);border-bottom-color:var(--fh-accent);font-weight:600}.fh-alert__action{color:var(--fh-text);margin:8px 0 0}.fh-status--retired{color:var(--fh-muted)}.fh-status--expired{color:var(--fh-error);background:#fdecea;border-color:#f5c2bd;margin-left:6px}.fh-plain-list{margin:0;padding:0;list-style:none}.fh-qualification-row{flex-wrap:wrap;align-items:flex-start;gap:8px;margin-bottom:8px;display:flex}.fh-qualification-row .fh-field{flex:200px}.fh-qualification-row__remove{align-self:flex-end;margin-bottom:22px}.fh-status--report-draft{background:var(--fh-bg)}.fh-status--report-submitted{color:var(--fh-accent);background:#e8f1fb;border-color:#bcd5f0}.fh-status--report-confirmed{color:#1e6b34;background:#e6f4ea;border-color:#b7dfc1}.fh-status--report-rejected{color:var(--fh-error);background:#fdecea;border-color:#f5c2bd}.fh-filter__buttons{gap:8px;display:flex}.fh-filter__note{color:#8a4b00;flex-basis:100%;margin:0;font-size:13px}.fh-entry-title{flex-wrap:wrap;align-items:center;gap:10px;margin:0;display:flex}.fh-entry-section{flex-direction:column;gap:12px;display:flex}.fh-entry{border:0;min-width:0;margin:0;padding:0}.fh-entry-table th,.fh-entry-table td{vertical-align:top;padding:4px 6px}.fh-entry-table__cell .fh-input{min-width:96px}.fh-entry-table__cell select.fh-input{min-width:150px}.fh-entry-table__cell .fh-input--short{width:72px;min-width:64px}.fh-entry-table__cell .fh-field__error{white-space:normal;max-width:220px;font-size:12px}.fh-entry-table__actions{gap:4px;display:flex}.fh-button[aria-disabled=true]{opacity:.5;cursor:default}.fh-entry-totals{font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:8px 24px;margin:0;font-weight:600;display:flex}.fh-form__actions-spacer{flex:1}.fh-alert__list{margin:6px 0 0;padding-left:20px}.fh-status--warning{color:#8a4b00;background:#fff4e5;border-color:#f5d3a1}.fh-table .fh-table__check{text-align:center;width:32px}.fh-approvals__actions{flex-wrap:wrap;align-items:center;gap:8px 16px;margin-bottom:12px;display:flex}.fh-table tr.fh-row--alert>*{background:#fff4e5}.fh-row__alert{color:#8a4b00;font-size:12px;display:block}.fh-report-actions{flex-direction:column;gap:16px;display:flex}textarea.fh-input{resize:vertical;width:100%;max-width:640px;min-height:80px;font:inherit}.fh-calendar th,.fh-calendar td{vertical-align:top;padding:4px 6px}.fh-calendar tbody th{white-space:nowrap;color:var(--fh-text);font-size:14px}.fh-calendar__meta{color:var(--fh-muted);font-size:12px;font-weight:400;display:block}.fh-calendar__today{background:#e8f1fb}.fh-calendar__cell .fh-input{min-width:150px}.fh-calendar__cell--off{background:var(--fh-bg)}.fh-calendar__cell--changed .fh-input{background:#fff8e1;border-color:#e0b84a}.fh-calendar__cell .fh-field__error{white-space:normal;max-width:180px;margin:2px 0 0;font-size:12px}.fh-calendar__note{color:#8a4b00;white-space:normal;max-width:180px;margin:2px 0 0;font-size:12px}.fh-filter__error{color:var(--fh-error);flex-basis:100%;margin:0;font-size:13px}.fh-filter__month{flex-direction:column;gap:4px;display:flex}.fh-filter__label{font-weight:600}.fh-filter__hint{color:var(--fh-muted);flex-basis:100%;margin:0;font-size:13px}.fh-dashboard{flex-direction:column;gap:16px;margin-top:16px;transition:opacity .15s;display:flex}.fh-dashboard--loading{opacity:.6}.fh-dashboard__error{flex-wrap:wrap;align-items:center;gap:8px;margin-top:16px;display:flex}.fh-dashboard__error>:first-child{flex:240px;margin:0}.fh-stats{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:0;display:grid}.fh-stat{background:var(--fh-surface);border:1px solid var(--fh-border);border-radius:6px;padding:12px 16px}.fh-stat dt{color:var(--fh-muted);font-size:12px;font-weight:600}.fh-stat dd{font-variant-numeric:tabular-nums;margin:4px 0 0;font-size:22px;font-weight:700}.fh-stat__note{color:var(--fh-muted);font-size:12px;font-weight:400;display:block}.fh-chart{position:relative;overflow-x:auto}.fh-chart__svg{display:block;overflow:visible}.fh-filter>label.fh-checkbox{flex-direction:row;min-width:0;padding-bottom:8px;font-weight:400}.fh-chart__grid{stroke:var(--fh-border);stroke-width:1px;stroke-dasharray:2 3}.fh-chart__baseline{stroke:var(--fh-muted);stroke-width:1px}.fh-chart__tick{fill:var(--fh-muted);font-variant-numeric:tabular-nums;font-size:11px}.fh-chart__bar{fill:var(--fh-accent)}.fh-chart__bar--active{fill:#3d82c9}.fh-chart__hit{fill:#0000;cursor:default;outline:none}.fh-chart__hit:focus-visible{stroke:var(--fh-accent);stroke-width:2px}.fh-chart__tooltip{background:var(--fh-surface);border:1px solid var(--fh-border);color:var(--fh-muted);white-space:nowrap;pointer-events:none;border-radius:6px;flex-direction:column;gap:2px;padding:8px 10px;font-size:12px;display:flex;position:absolute;top:0;box-shadow:0 2px 8px #0000001f}.fh-chart__tooltip strong{color:var(--fh-text);font-variant-numeric:tabular-nums;font-size:14px}.fh-details{margin-top:8px}.fh-details summary{cursor:pointer;color:var(--fh-accent)}.fh-link-button{font:inherit;color:var(--fh-accent);cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.fh-input-unit{align-items:center;gap:6px;display:inline-flex}.fh-input-unit>span{color:var(--fh-muted);white-space:nowrap;font-size:13px}.fh-version-list{flex-direction:column;gap:12px;display:flex}.fh-version{border:1px solid var(--fh-border);border-radius:6px;padding:12px 16px}.fh-version--current{border-color:var(--fh-accent)}.fh-version__head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.fh-version__head h3{margin:0;font-size:15px}.fh-version__actions{align-items:center;gap:8px;display:flex}.fh-version__head h3 .fh-status{margin-left:8px;font-weight:400}.fh-row__note{color:var(--fh-muted);font-size:12px;display:block}.fh-elements{gap:4px;margin:0;padding-left:1.2em;display:grid}
