/* Client service detail: the same compact page language as the approved home mock. */
body.service-active { background: #ecebf2; }
body.service-active .topbar { display: none; }
body.service-active #app { background: #f7f6fa; }
@media (min-width: 480px) { body.service-active #app, body.service-active .mobile-tabbar { width: min(100%, 390px); } }
#service.page:not(#home) { min-height: 100vh; padding: 0 16px 96px; color: #283a3c; background: #f7f6fa; }
#service .service-page-head { display: flex; align-items: center; gap: 12px; min-height: 61px; margin: 0 -16px; padding: 10px 16px; border-bottom: 1px solid #e8ebee; }
#service .service-page-head h2 { margin: 0; font-size: 16px; line-height: 1.3; }
#service .service-back { width: 38px; height: 38px; display: grid; place-items: center; flex: none; border: 1px solid #e7e9eb; border-radius: 12px; color: #38544d; background: #fff; font-size: 27px; line-height: 1; text-decoration: none; }
#service #clientServiceOverview.panel { margin: 0; padding: 0; border: 0; border-radius: 0; color: inherit; background: transparent; box-shadow: none; }
#service .service-intro { padding: 23px 2px 19px; }
#service .service-intro h3 { margin: 0 0 6px; font-size: 22px; line-height: 1.35; overflow-wrap: anywhere; }
#service .service-intro p { margin: 0; color: #819097; font-size: 12px; line-height: 1.55; }
#service .service-current-card,#service .service-next-card,#service .service-more,#service .service-empty { margin: 0 0 12px; padding: 17px 16px; border: 1px solid #ebeef0; border-radius: 20px; background: #fff; box-shadow: 0 5px 17px rgba(46,58,65,.045); }
#service .service-current-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
#service .service-current-top h3,#service .service-next-card h3 { margin: 0; font-size: 15px; }
#service .service-status { padding: 5px 8px; border-radius: 99px; color: #1d896b; background: #e6f6ed; font-size: 10px; font-weight: 700; white-space: nowrap; }
#service .service-status.expiring { color: #a77423; background: #fff2dc; }
#service .service-stage-name { margin: 9px 0 0; color: #56726a; font-size: 12px; }
#service .service-milestones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin: 17px 0 14px; text-align: center; }
#service .service-milestones div { position: relative; padding-top: 18px; color: #7c8b90; font-size: 11px; }
#service .service-milestones div::before { content: ''; position: absolute; top: 0; left: calc(50% - 6px); width: 12px; height: 12px; border-radius: 50%; background: #dce6e1; }
#service .service-milestones .done::before { background: #29ab7c; }
#service .service-milestones .current::before { background: #e7ae52; }
#service .service-milestones b { display: block; margin-bottom: 3px; color: #31484a; }
#service .service-time-percent { margin: 0 0 5px; color: #819097; font-size: 11px; }
#service .service-time-track { height: 7px; margin: 4px 0 12px; overflow: hidden; border-radius: 9px; background: #dcebe2; }
#service .service-time-track i { display: block; height: 100%; border-radius: inherit; background: #31b58a; }
#service .service-time-label { margin: 0; color: #7a898d; font-size: 12px; line-height: 1.5; }
#service .service-time-label.expiring { color: #aa7829; }
#service .service-next-card > p { margin: 12px 0 8px; color: #708087; font-size: 12px; line-height: 1.65; }
#service .service-next-card > a,#service .service-next-card > button { width: 100%; min-height: 47px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0; border: 0; border-top: 1px solid #eff1f2; color: #34484c; background: none; font: inherit; font-size: 13px; text-align: left; text-decoration: none; cursor: pointer; }
#service .service-next-card > a span,#service .service-next-card > button span { color: #9baaab; font-size: 19px; }
#service .service-more { padding: 0 16px; }
#service .service-more > summary { padding: 16px 0; color: #38544d; font-size: 13px; font-weight: 700; cursor: pointer; }
#service .service-more[open] > summary { border-bottom: 1px solid #eff1f2; }
#service .service-more .service-detail-block { padding: 18px 0; border-top: 1px solid #eff1f2; }
#service .service-more .service-detail-block:first-of-type { border-top: 0; }
#service .service-more .service-detail-block h3 { font-size: 15px; }
#service .service-more .service-detail-block p,#service .service-more .service-detail-block li { font-size: 12px; }
#service .service-more .service-slots li { align-items: flex-start; }
#service .service-empty { margin-top: 22px; }
#service .service-empty h3 { margin: 0 0 8px; font-size: 17px; }
#service .service-empty p { color: #708087; font-size: 13px; line-height: 1.6; }
#service .service-empty .btn.primary,#service .service-retry { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 16px; border: 0; border-radius: 12px; color: #fff; background: #13866f; font: inherit; font-size: 13px; font-weight: 700; text-decoration: none; cursor: pointer; }
#service a:focus-visible,#service button:focus-visible,#service summary:focus-visible { outline: 3px solid #5acaa3; outline-offset: 2px; }
@media (max-width: 360px) { #service.page:not(#home) { padding-inline: 12px; } #service .service-page-head { margin-inline: -12px; padding-inline: 12px; } }
