/* Persistent home identity and the six primary destinations. */
.app-header{display:flex;position:sticky;top:0;z-index:32;justify-content:space-between;align-items:center;height:auto;min-height:70px;padding:12px 28px;background:var(--paper);border-bottom:1px solid var(--line)}
.home-brand{display:inline-flex;gap:10px;align-items:center;min-height:44px;font-size:22px;font-weight:800;letter-spacing:-.7px;color:var(--ink)}
/* Dedicated face artwork stays legible without cropping the full-body mascot. */
.brand-mascot{display:grid;place-items:center;width:44px;height:44px;overflow:hidden;border-radius:14px;background:var(--mint);flex-shrink:0}
.brand-mascot img{display:block;width:44px;height:44px;object-fit:contain}
.home-brand:focus-visible{outline:2px solid var(--green);outline-offset:5px;border-radius:10px}
.app-header-tools{display:flex;align-items:center}.app-header .theme-toggle{margin:0;width:42px;height:42px}
.app-header [hidden]{display:none!important}.rail{top:70px;height:calc(100dvh - 70px)}.rail nav{margin-top:26px}.shell{min-height:calc(100dvh - 70px)}
.home-sections{display:grid;gap:20px}.home-section{margin:0;padding:28px}.home-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.home-section h1,.home-section h2{font-size:21px;line-height:1.4;margin:0;letter-spacing:-.4px}.home-more{display:inline-flex;align-items:center;gap:12px;min-height:44px;font-size:15px;color:var(--muted)}.home-more:hover{color:var(--accent-text)}
.home-notice-title{display:flex;align-items:center;gap:16px;min-width:0}.home-mascot{display:block;width:80px;height:80px;object-fit:contain;flex-shrink:0}.home-notice-title h1,.home-notice-title h2{margin:0}
.home-notice-list{padding:0;margin:14px 0 0;list-style:none}.home-notice-list li+li{border-top:1px solid var(--line)}.home-notice-list button{background:none;border:0;color:var(--ink);text-align:left;font:inherit;font-size:17px;line-height:1.6;min-height:58px;width:100%;padding:14px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home-notice-list button:hover{color:var(--accent-text)}.home-no-notice{font-size:16px;color:var(--muted);margin:22px 0 6px}
.home-action{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:18px;align-items:center}.home-action-icon{display:grid;place-items:center;width:48px;height:48px;background:var(--mint);color:var(--accent-text);border-radius:14px}.home-action-icon svg{width:24px;height:24px}.home-action p{margin:8px 0 0;font-size:16px;color:var(--muted);line-height:1.7;word-break:keep-all}.home-action .button{display:inline-flex;justify-content:center;align-items:center;min-height:44px;font-size:16px;white-space:nowrap}.home-foot{display:flex;justify-content:space-between;align-items:center;padding:24px 4px;color:var(--muted);font-size:14px}.home-foot a{display:inline-flex;align-items:center;min-height:44px}
#feedback-dialog{width:480px;background:var(--paper);color:var(--ink)}#feedback-dialog .service-form{padding:22px}#feedback-dialog textarea{min-height:140px}#feedback-dialog .service-note{margin:16px 0;font-size:14px;word-break:keep-all}
.saved-export{border:1px solid var(--line);border-top:0;border-radius:0 0 10px 10px;padding:18px 22px;background:var(--paper)}.saved-share-preview{font-family:ui-monospace,Consolas,monospace;font-size:16px;line-height:1.9;margin:0 0 16px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:240px;overflow:auto;color:var(--ink)}.saved-export-actions{display:flex;gap:10px}.saved-export-actions .button{flex:1;min-height:44px;font-size:16px}.saved-export-actions .primary{background:var(--green);color:white}.copy-fallback{width:100%;min-height:240px;padding:14px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink);font-size:16px;line-height:1.7}.support-panel p{word-break:keep-all}
@media(max-width:900px){
  .app-header{min-height:64px;padding:8px max(14px,var(--safe-right)) 8px max(14px,var(--safe-left));padding-top:calc(8px + var(--safe-top))}.home-brand{font-size:21px}
  .home-notice-title{gap:12px}.home-mascot{width:68px;height:68px}
  .rail{top:auto;height:auto}.rail nav{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));margin:0;min-height:68px}.rail .nav{width:auto;min-width:0;margin:0;padding:2px 1px;font-size:14px;line-height:1.2;gap:2px;word-break:keep-all;overflow-wrap:normal}.rail .nav svg{width:22px;height:22px}
  .home-sections{gap:16px}.home-section{padding:20px}.home-section h1,.home-section h2{font-size:20px}.home-action{grid-template-columns:42px minmax(0,1fr);gap:12px}.home-action-icon{width:42px;height:42px;border-radius:12px}.home-action>.button{grid-column:1/-1;margin-top:6px;width:100%}.home-action p{font-size:16px}.home-notice-list button{font-size:16px}.saved-export{padding:16px}.saved-share-preview{font-size:16px}
}
@media(max-width:360px){.home-section{padding:18px}.rail .nav{padding-left:0;padding-right:0;letter-spacing:-.6px}}
