.hdr.unified-header{flex-wrap:nowrap}.unified-header .brand{display:flex;align-items:center;flex-wrap:nowrap;gap:14px;min-width:0}.unified-header .brand .ttl,.unified-header .page-subtitle{white-space:nowrap}.unified-header .work-status{flex-wrap:nowrap;min-width:0}.project-menu-wrap{position:relative;display:inline-flex;align-items:center;flex:none}.project-menu-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:34px;padding:7px 10px;font-size:12px;white-space:nowrap}.project-menu{position:absolute;top:calc(100% + 8px);left:0;z-index:1000;display:grid;min-width:190px;padding:6px;border:1px solid var(--color-border);border-radius:10px;background:var(--color-surface);box-shadow:0 12px 28px rgba(23,32,51,.2)}.project-menu[hidden]{display:none}.project-menu-item{width:100%;padding:9px 11px;border-radius:7px;background:transparent;color:var(--color-text);font-size:12px;font-weight:650;text-align:left;white-space:nowrap}.project-menu-item:hover:not(:disabled),.project-menu-item:focus-visible{background:var(--color-surface-muted);color:var(--color-primary)}.project-status{color:var(--color-text-muted);font-size:11px;white-space:nowrap}.work-status>input[type=file]{display:none}.project-import-modal{position:fixed;inset:0;z-index:2000;display:grid;place-items:center;padding:24px;background:rgba(12,18,32,.48)}.project-import-modal[hidden]{display:none}.project-import-dialog{width:min(100%,460px);padding:24px;border:1px solid var(--color-border);border-radius:14px;background:var(--color-surface);box-shadow:0 20px 60px rgba(23,32,51,.28);color:var(--color-text)}.project-import-dialog h2{margin:0 0 10px;font-size:20px}.project-import-dialog p{margin:0;color:var(--color-text-muted);font-size:14px}.project-import-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.project-import-actions button{min-width:132px}@media(max-width:760px){.hdr.unified-header{flex-wrap:wrap}.unified-header .brand{flex-wrap:wrap;gap:4px 10px}.unified-header .work-status{flex-wrap:wrap}.project-menu{left:auto;right:0}.project-menu-button{min-height:44px;font-size:14px}.project-menu-item{padding:10px 12px;font-size:14px}.project-import-dialog{padding:20px}.project-import-actions{flex-direction:column-reverse}.project-import-actions button{width:100%}}
.project-header-group{display:inline-flex;align-items:center;gap:10px;min-width:0}.project-header-group #fileStatus,.project-header-group .project-status{min-width:0;max-width:clamp(100px,16vw,220px)}.project-header-group #fileStatus{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--color-text-muted);font-size:11px}.project-header-group .project-status{display:inline-block;color:var(--color-text-muted);font-size:12px;white-space:normal;overflow-wrap:anywhere}.project-import-dialog p{white-space:pre-line}
button.project-menu-button.secondary,button.project-menu-button.secondary:focus-visible{background:var(--color-input-bg)}
button.project-menu-button.secondary:active{background:var(--color-input-bg);box-shadow:none;transform:translateY(0)}
button.project-menu-button.secondary:hover:not(:disabled){background:color-mix(in srgb,var(--color-primary) 7%,var(--color-input-bg));border-color:color-mix(in srgb,var(--color-primary) 50%,var(--color-border));color:var(--color-primary);box-shadow:0 3px 9px rgba(36,68,130,.1);transform:translateY(-1px)}
button.project-menu-button.secondary{transition:background-color 170ms ease,border-color 170ms ease,color 170ms ease,box-shadow 170ms ease,transform 170ms ease}
@media(prefers-reduced-motion:reduce){button.project-menu-button.secondary{transition:none}button.project-menu-button.secondary:hover:not(:disabled),button.project-menu-button.secondary:active{transform:none}}
.unified-header .language-control select,.unified-header .theme-control select{width:auto;min-height:34px;padding:7px 26px 7px 10px;border:1px solid var(--color-border);border-radius:9px;background:var(--color-input-bg);color:var(--color-text);font-size:12px;transition:background-color 170ms ease,border-color 170ms ease,color 170ms ease,box-shadow 170ms ease,transform 170ms ease}
.unified-header .language-control select:hover,.unified-header .theme-control select:hover{background:color-mix(in srgb,var(--color-primary) 7%,var(--color-input-bg));border-color:color-mix(in srgb,var(--color-primary) 50%,var(--color-border));color:var(--color-primary);box-shadow:0 3px 9px rgba(36,68,130,.1);transform:translateY(-1px)}
.unified-header .language-control select:active,.unified-header .theme-control select:active{box-shadow:none;transform:translateY(0)}
.unified-header .language-control,.unified-header .theme-control{position:relative}
.unified-header .language-control select,.unified-header .theme-control select{-webkit-appearance:none;appearance:none}
.unified-header .language-control::after,.unified-header .theme-control::after{position:absolute;top:50%;right:10px;z-index:1;color:var(--color-text);content:"▼";font-family:inherit;font-size:12px;font-weight:700;line-height:inherit;pointer-events:none;transform:translateY(-50%)}
.unified-header .language-control:hover::after,.unified-header .theme-control:hover::after{color:var(--color-primary)}
@media(max-width:760px){.unified-header .language-control select,.unified-header .theme-control select{min-height:44px;padding-right:28px;font-size:14px}.unified-header .language-control::after,.unified-header .theme-control::after{font-size:14px}}
@media(prefers-reduced-motion:reduce){.unified-header .language-control select,.unified-header .theme-control select{transition:none}.unified-header .language-control select:hover,.unified-header .theme-control select:hover,.unified-header .language-control select:active,.unified-header .theme-control select:active{transform:none}}
