/* Bring the service homepage into the modern, playful application-guide theme. */
body { min-width:0; }
.app-shell { border-radius:26px; box-shadow:0 14px 48px rgba(30,69,55,.07); }
.topbar { min-height:104px; gap:12px; padding:22px 18px 16px; border:0; color:var(--ink); background:var(--paper); }
.guide-mascot { width:58px; height:60px; flex:0 0 58px; align-self:center; margin:0; padding:3px; border:1px solid #f2e2d8; border-radius:18px; background:#fff9f3; object-fit:contain; }
.topbar>div { min-width:0; flex:1; }
.topbar .eyebrow { color:var(--muted); font-size:12px; line-height:1.5; opacity:1; }
.topbar h1 { margin-top:4px; color:var(--primary-dark); font-size:21px; line-height:1.4; }
.icon-button { width:44px; height:44px; flex-basis:44px; border-radius:14px; color:var(--primary); background:var(--primary-soft); }
main { padding-bottom:calc(110px + env(safe-area-inset-bottom)); }
.view { padding:16px 18px; }
.hotline-strip { grid-template-columns:40px minmax(0,1fr); min-height:76px; margin-bottom:13px; padding:15px; border:1px solid var(--line); border-radius:20px; color:var(--primary-dark); background:var(--paper); box-shadow:var(--shadow); }
.hotline-strip:first-child { min-height:90px; border-color:#cbe8d7; background:var(--primary-soft); }
.hotline-strip>svg:first-child { width:38px; height:38px; padding:8px; border-radius:13px; color:var(--primary); background:#fff; }
.hotline-strip:nth-child(2)>svg:first-child { color:var(--blue); background:var(--blue-soft); }
.hotline-strip>svg:last-child { display:none; }
.hotline-strip strong { font-size:17px; line-height:1.5; }
.hotline-strip small { margin-top:3px; color:var(--muted); font-size:14px; line-height:1.6; }
.notice-strip { grid-template-columns:30px minmax(0,1fr) auto; gap:9px; min-height:86px; padding:14px; border-color:#efddc9; border-radius:20px; background:var(--amber-soft); box-shadow:none; }
.notice-strip strong { font-size:16px; line-height:1.55; }
.notice-strip span { color:#826746; font-size:14px; line-height:1.5; }
.notice-strip button { min-height:44px; padding:8px 13px; border-radius:13px; background:var(--amber); }
.group-qr-strip { grid-template-columns:38px minmax(0,1fr) 18px; gap:10px; min-height:80px; margin:12px 0; padding:13px; border:1px solid #f0dce4; border-radius:20px; background:var(--pink-soft); box-shadow:none; }
.group-qr-icon { width:38px; height:38px; border-radius:13px; color:var(--pink); background:#fff; }
.group-qr-strip>svg { color:var(--pink); }
.group-qr-copy strong { font-size:15px; line-height:1.5; }
.group-qr-copy small { font-size:13px; line-height:1.6; }
.search-box { height:auto; min-height:60px; gap:8px; margin:18px 0; padding:5px 5px 5px 14px; border-radius:18px; box-shadow:var(--shadow); }
.search-box input { width:100%; min-width:0; height:48px; font-size:16px; }
.search-box button { min-height:48px; margin:0; padding:0 14px; border-radius:13px; }
.section-block { margin-top:24px; }
.section-heading { min-height:38px; margin-bottom:13px; }
.section-heading h2 { font-size:19px; line-height:1.5; }
.section-heading button { min-height:44px; font-size:14px; }
.service-grid { gap:10px; }
.service-tile { min-height:110px; padding:13px 5px; gap:9px; border-radius:18px; background:#fff; box-shadow:var(--shadow); }
.service-tile .tile-icon { width:41px; height:41px; border-radius:14px; }
.tile-icon svg { width:22px; height:22px; }
.service-tile span { font-size:14px; line-height:1.5; }
.compact-row,.service-row,.tool-row,.venue-card,.topic-question,.answer-panel,.flow-card,.answer-questions details,.experience-item { border-radius:18px; box-shadow:var(--shadow); }
.row-icon { border-radius:13px; }
.compact-row,.service-row { min-height:80px; padding:14px; }
.row-copy strong { font-size:16px; line-height:1.5; }
.row-copy span { font-size:14px; line-height:1.6; }
.page-title h2 { font-size:24px; line-height:1.45; }
.page-title.with-back .icon-button { color:var(--primary); background:var(--primary-soft); }
.topic-lead,.detail-hero { border:1px solid #cfe5d9; border-radius:18px; padding:16px; font-size:15px; line-height:1.7; }
.topic-question { padding:14px; }
.topic-question strong { font-size:15px; }
.topic-question small,.panel-lead,.answer-empty p { font-size:14px; line-height:1.7; }
.filter-row button,.quick-questions button { min-height:44px; border-radius:14px; font-size:14px; }
.primary-button,.primary-link,.secondary-button { min-height:48px; border-radius:16px; font-size:16px; }
.form-stack input,.form-stack select { height:48px; border-radius:14px; font-size:16px; }
.form-stack label { font-size:14px; }
.segmented { min-height:48px; height:auto; padding:4px; border-radius:16px; }
.segmented button { min-height:40px; border-radius:12px; font-size:14px; }
.calc-result,.detail-warning,.source-note,.teacher-intro { border-radius:18px; }
.source-note { background:#f5faf7; }
.support-tile { min-height:108px; padding:14px 12px; border-radius:18px; }
.support-tile strong { font-size:15px; line-height:1.5; }
.support-tile small { font-size:13px; line-height:1.6; }
.campus-comic { border-radius:20px; overflow:hidden; }
.comic-story-card,.comic-story-tile { border-radius:18px; }
.venue-actions a,.venue-actions button { min-height:44px; border-radius:13px; font-size:14px; }
.bottom-nav { bottom:calc(10px + env(safe-area-inset-bottom)); width:min(calc(100% - 24px),536px); min-height:66px; gap:3px; padding:6px; border:1px solid var(--line); border-radius:23px; background:#fffffff5; box-shadow:0 8px 28px rgba(30,69,55,.10); }
.bottom-nav button { min-height:52px; border-radius:17px; }
.bottom-nav button.active { color:var(--primary); background:var(--primary-soft); }
.bottom-nav .flow-home-link { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; min-width:0; min-height:52px; border-radius:17px; color:var(--primary); background:var(--primary-soft); text-decoration:none; }
.bottom-nav svg { width:21px; height:21px; }
.bottom-nav span { font-size:12px; }
.qr-modal-card { padding:24px 18px 20px; border:1px solid var(--line); border-radius:24px; background:#fff; }
.qr-close { width:44px; height:44px; background:var(--pink-soft); color:var(--pink); }
@media(max-width:370px) {
  .topbar { padding:18px 13px 12px; gap:9px; }
  .guide-mascot { width:48px; height:54px; flex-basis:48px; border-radius:16px; }
  .topbar h1 { font-size:19px; }
  .view { padding:14px 12px; }
  .service-grid { gap:7px; }
  .service-tile { min-height:108px; padding:12px 3px; border-radius:16px; }
  .service-tile span { font-size:14px; }
  .search-box { grid-template-columns:19px minmax(0,1fr) auto; gap:5px; padding-left:10px; }
  .search-box button { padding:0 10px; }
  .notice-strip { padding:12px 10px; gap:7px; }
  .notice-strip strong { font-size:15px; }
}
@media(max-width:560px) { .app-shell { border-radius:0; box-shadow:none; } }
@media(hover:hover) { .service-tile:hover { border-color:#9ccfb7; background:#fbfefc; } .hotline-strip:hover { border-color:#9ccfb7; } }
