/* Canonical header component. No page may override its geometry. */
html{overflow-y:scroll;scrollbar-gutter:stable}
.site-header,.site-header *{box-sizing:border-box}
.site-header{position:sticky;top:0;z-index:30;width:100%;background:#fff;border-bottom:1px solid #ddd}
.site-header__inner{position:relative;display:grid;width:min(1150px,92%);max-width:100%;min-height:130px;margin:0 auto;grid-template-columns:auto 1fr auto;align-items:center;gap:24px}
.site-header__logo{display:flex;min-width:0;align-items:center}
.site-header__logo img{display:block;width:auto;height:100px;object-fit:contain;object-position:left center}
.site-header__menu{min-width:0}
.site-header__nav{display:flex;align-items:center;justify-content:flex-end;gap:28px;color:#111;font-weight:800}
.site-header__nav a,.site-header__nav button{display:inline-flex;min-height:44px;align-items:center;padding:10px 0;border:0;background:transparent;color:#333;font:inherit;font-weight:800;text-decoration:none;white-space:nowrap;cursor:pointer}
.site-header__nav a:hover,.site-header__nav button:hover,.site-header__nav .active{color:#d4001c}
.site-header__nav .site-header__request-action{min-height:44px;padding:9px 13px;border:1px solid #9ca3af;border-radius:8px;background:#fff;color:#4b5563}
.site-header__nav .site-header__request-action:hover{border-color:#6b7280;background:#f3f4f6;color:#374151}
.site-header__logout{display:flex;margin:0}
.site-header__actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}
.app-install-button{display:inline-flex;min-height:44px;align-items:center;justify-content:center;gap:7px;padding:10px 13px;border:1px solid #d4001c;border-radius:8px;background:#fff;color:#d4001c;font:inherit;font-weight:800;white-space:nowrap;cursor:pointer}
.app-install-button:hover{background:#fff1f2}.app-install-button[hidden]{display:none!important}.app-install-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.site-header__toggle{display:none;width:40px;height:40px;align-items:center;justify-content:center;padding:9px;border:1px solid #ddd;border-radius:9px;background:#fff;color:#111;cursor:pointer}
.site-header__toggle svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.site-header__close{display:none}.site-header__toggle[aria-expanded=true] .site-header__open{display:none}.site-header__toggle[aria-expanded=true] .site-header__close{display:block}
.site-header__backdrop{display:none}
.install-guide[hidden]{display:none!important}.install-guide{position:fixed;inset:0;z-index:1000;display:grid;padding:16px;place-items:center}.install-guide__backdrop{position:absolute;inset:0;border:0;background:rgba(0,0,0,.58);cursor:pointer}.install-guide__panel{position:relative;width:min(500px,100%);max-height:calc(100dvh - 32px);overflow:auto;padding:28px;border-radius:16px;background:#fff;box-shadow:0 24px 80px rgba(0,0,0,.28);scrollbar-width:none}.install-guide__panel::-webkit-scrollbar{display:none}.install-guide__panel h2{margin:0 40px 18px 0;color:#111}.install-guide__panel p{margin:0 0 18px;color:#6b7280;line-height:1.55}.install-guide__panel ol{display:grid;gap:12px;margin:0 0 22px;padding-left:22px;color:#1f2933}.install-guide__close{position:absolute;top:12px;right:12px;width:36px;height:36px;padding:0;border:0;border-radius:8px;background:transparent;color:#111;font:700 28px/1 Arial,sans-serif;cursor:pointer}.install-guide__close:hover{background:#fff1f2;color:#d4001c}.install-guide__actions{display:grid;gap:10px}.install-guide__primary,.install-guide__secondary{display:inline-flex;width:100%;min-height:46px;align-items:center;justify-content:center;padding:11px 16px;border-radius:8px;font:inherit;font-weight:800;cursor:pointer}.install-guide__primary{border:0;background:#d4001c;color:#fff}.install-guide__secondary{border:1px solid #d4001c;background:#fff;color:#d4001c}.install-guide__secondary:hover{background:#fff1f2}body.app-install-guide-open{position:fixed;left:0;right:0;width:auto;overflow:hidden}
@media(max-width:1080px){
  .site-header__inner{height:96px;min-height:96px;padding:10px 0;grid-template-columns:minmax(0,1fr) auto;column-gap:16px}
  .site-header__logo{max-width:150px}
  .site-header__logo img{width:min(38vw,150px);max-width:100%;height:auto}
  .site-header__menu{position:absolute;top:100%;left:0;z-index:20;display:none;width:100%;padding:8px 12px 12px;border:1px solid #ddd;border-top:0;border-radius:0 0 14px 14px;background:#fff;box-shadow:0 14px 30px rgba(0,0,0,.12)}
  .site-header__menu.is-open{display:block}
  .site-header__nav{display:flex;width:100%;flex-direction:column;align-items:stretch;gap:0}
  .site-header__nav a,.site-header__nav button{width:100%;padding:13px 6px;border-bottom:1px solid #ececec;text-align:left}
  .site-header__nav .site-header__request-action{width:min(100%,320px);margin:10px auto 4px;justify-content:center;padding:11px 16px;border:1px solid #9ca3af;text-align:center}
  .site-header__logout{width:100%}
  .site-header__actions{grid-column:2;grid-row:1;gap:8px}
  .app-install-button{padding:8px 10px;gap:6px;font-size:14px}.app-install-button svg{width:17px;height:17px}
  .site-header__toggle{display:inline-flex;flex:0 0 40px}
  .site-header__backdrop{position:fixed;inset:96px 0 0;z-index:29;display:block;width:100%;padding:0;border:0;background:rgba(0,0,0,.72);opacity:0;visibility:hidden;pointer-events:none;cursor:default;transition:opacity .18s ease,visibility 0s linear .18s}
  .site-header__backdrop.is-open{opacity:1;visibility:visible;pointer-events:auto;transition-delay:0s}
}
@media(max-width:340px){
  .site-header__inner{column-gap:12px}
  .site-header__logo{max-width:124px}.site-header__logo img{width:min(38vw,124px)}
  .site-header__actions{gap:6px}.app-install-button{padding:7px 8px;font-size:13px}.app-install-button svg{width:15px;height:15px}
  .site-header__toggle{width:38px;height:38px;flex-basis:38px;padding:8px}
}
@media(max-width:600px){.install-guide{padding:max(8px,env(safe-area-inset-top)) 8px max(8px,env(safe-area-inset-bottom))}.install-guide__panel{max-height:calc(100dvh - max(16px,env(safe-area-inset-top) + env(safe-area-inset-bottom)));padding:24px 16px 18px;border-radius:14px}}
.install-guide__panel .install-guide__steps{counter-reset:install-step;display:grid;gap:10px;margin:0 0 22px;padding:0;list-style:none}.install-guide__steps li{counter-increment:install-step;display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:12px;min-height:54px;padding:8px 10px;border:1px solid #e5e7eb;border-radius:11px;background:#f8f8f8;line-height:1.35}.install-guide__steps li::before{content:counter(install-step);position:absolute;width:0;height:0;overflow:hidden}.install-guide__step-icon{display:grid;width:42px;height:42px;place-items:center;border-radius:10px;background:#fff;color:#111;box-shadow:0 1px 4px rgba(0,0,0,.12)}.install-guide__step-icon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}.install-guide__step-icon--menu svg{fill:currentColor;stroke:none}.install-guide__step-icon--toggle svg circle{fill:#fff;stroke:none}.install-guide__step-icon--toggle svg rect{fill:#34c759;stroke:#34c759}
