/* The surrounding stage owns the phone masthead. This region alone scrolls. */
#phone-home-host .ph-home {
  --ph-ink:#1a263b;
  --ph-muted:#59697c;
  --ph-hair:#d8e0e9;
  --ph-blue:#224fae;
  --ph-gutter:clamp(13px,4.4vw,24px);
  display:block;
  width:100%;
  min-width:0;
  height:100%;
  overflow:auto;
  overscroll-behavior-y:contain;
  -webkit-overflow-scrolling:touch;
  background:#f5f7fa;
  color:var(--ph-ink);
  text-align:left;
  font:400 15px/1.45 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;
  letter-spacing:normal;
  scrollbar-width:thin;
}
.ph-home *, .ph-home *::before, .ph-home *::after {box-sizing:border-box;}
#phone-home-host .ph-home [hidden] {display:none!important;}
.ph-home .ph-page {
  width:100%;
  max-width:48rem;
  margin:0 auto;
  padding:17px max(var(--ph-gutter),env(safe-area-inset-right,0px)) max(28px,env(safe-area-inset-bottom,0px)) max(var(--ph-gutter),env(safe-area-inset-left,0px));
}
#phone-home-host .ph-home :is(h1,h2,p) {color:inherit;padding:0;margin:0;background:none;letter-spacing:normal;}
#phone-home-host .ph-home :is(a,button,select,input,summary) {font:inherit;letter-spacing:normal;color:inherit;}
#phone-home-host .ph-home a {text-decoration:none;touch-action:manipulation;-webkit-tap-highlight-color:rgba(44,90,179,.12);}
#phone-home-host .ph-home :is(a,button,summary,select,input):focus-visible {outline:3px solid #e3a938;outline-offset:1px;}
#phone-home-host .ph-home :is(a,button,summary):active {filter:brightness(.94);}
.ph-home .ph-icon {display:block;width:20px;height:20px;flex:none;pointer-events:none;}
.ph-home .ph-top {display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 14px;}
#phone-home-host .ph-home .ph-date {font-size:12px;color:var(--ph-muted);line-height:1.6;}
#phone-home-host .ph-home h1 {font-size:clamp(24px,7vw,30px);font-weight:750;line-height:1.23;}
.ph-home .ph-floor {position:relative;display:flex;align-items:center;gap:4px;min-width:0;max-width:50%;height:44px;margin:0;padding:0;color:#455873;}
#phone-home-host .ph-home .ph-floor select {
  appearance:none;-webkit-appearance:none;
  height:44px;max-width:100%;width:132px;min-width:0;
  padding:0 19px 0 21px;text-align:center;
  border:1px solid var(--ph-hair);border-radius:7px;background:#fff;box-shadow:none;
  font-weight:600;font-size:13px;cursor:pointer;color:#435475;text-overflow:ellipsis;
}
.ph-home .ph-floor > .ph-icon {position:absolute;z-index:1;width:14px;height:14px;}
.ph-home .ph-floor > .ph-icon:first-child {left:8px;}
.ph-home .ph-floor > .ph-icon:last-child {right:6px;width:12px;height:12px;}
.ph-home .ph-inbox {
  background:linear-gradient(112deg,#183766 0%,#213f76 55%,#264980 100%);
  border:1px solid #183762;border-radius:13px;
  color:white;overflow:hidden;
  padding:7px 14px 14px;
  box-shadow:0 3px 8px rgba(29,54,90,.10);
}
.ph-home .ph-inbox-head,.ph-home .ph-line-heading {display:flex;justify-content:space-between;align-items:center;gap:6px;}
#phone-home-host .ph-home h2 {font-size:17px;font-weight:700;line-height:1.4;}
#phone-home-host .ph-home .ph-inbox-head {min-height:44px;border-bottom:1px solid rgba(255,255,255,.18);}
#phone-home-host .ph-home .ph-inbox-head h2 {font-size:16px;color:white;}
#phone-home-host .ph-home .ph-all {min-height:44px;color:#e7efff;font-size:12px;display:inline-flex;align-items:center;gap:4px;}
.ph-home .ph-all svg {width:13px;height:13px;}
.ph-home .ph-counters {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:13px 0 0;}
#phone-home-host .ph-home .ph-counters a {position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;min-width:0;min-height:58px;color:white;padding:0 9px 0 15px;border-left:1px solid rgba(255,255,255,.18);}
#phone-home-host .ph-home .ph-counters a:first-child {border:0;padding-left:2px;}
.ph-home .ph-counters strong {font-size:clamp(27px,7.5vw,34px);font-weight:660;line-height:1.12;letter-spacing:-.045em;font-variant-numeric:tabular-nums;}
.ph-home .ph-counters span {display:flex;align-items:center;gap:6px;color:#edf3ff;font-size:13px;}
.ph-home .ph-counters span::before {content:"";display:block;width:6px;height:6px;background:#c4dafd;border-radius:50%;}
.ph-home [data-ph-queue="review"] span::before {background:#a7e0dd;}
.ph-home [data-ph-queue="late"] span::before {background:#ffb799;}
.ph-home [data-ph-queue="arrange"] span::before {background:#c7baf9;}
.ph-home .ph-actions {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:9px 0 6px;}
#phone-home-host .ph-home .ph-actions a {display:flex;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:48px;font-size:13px;font-weight:650;color:#344764;}
.ph-home .ph-actions svg {width:18px;height:18px;color:#4e6890;}
.ph-home .ph-map-links {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid var(--ph-hair);border-radius:8px;background:#fff;}
#phone-home-host .ph-home .ph-map-links a {display:flex;align-items:center;gap:6px;min-width:0;min-height:44px;padding:4px 10px;font-size:13px;font-weight:550;color:#3d577d;}
.ph-home .ph-map-links a+a {border-left:1px solid var(--ph-hair);}
.ph-home .ph-map-links svg:first-child {width:17px;height:17px;}
.ph-home .ph-map-links svg:last-child {width:13px;height:13px;margin-left:auto;color:#71829a;}
.ph-home .ph-directory {margin-top:24px;}
.ph-home .ph-line-heading {margin-bottom:9px;}
.ph-home [data-ph-total] {color:var(--ph-muted);font-size:12px;}
.ph-home .ph-find {display:flex;align-items:center;gap:8px;padding:0 11px;background:#fff;border:1px solid #cfd8e4;border-radius:7px;color:#617189;}
.ph-home .ph-find:focus-within {border-color:#5278b1;}
.ph-home .ph-find>svg {width:16px;height:16px;}
#phone-home-host .ph-home .ph-find input {
  flex:1;display:block;min-width:0;height:44px;margin:0;padding:0;
  border:0;outline:none;background:transparent;box-shadow:none;
  color:var(--ph-ink);font-size:16px;appearance:none;
}
#phone-home-host .ph-home .ph-find input:focus-visible {outline:none;}
.ph-home .ph-find input::-webkit-search-cancel-button {display:none;}
.ph-home .ph-find input::placeholder {color:#66768c;}
#phone-home-host .ph-home .ph-find button {display:grid;place-items:center;width:44px;min-height:44px;border:0;border-radius:0;background:transparent;box-shadow:none;padding:0;margin:0 -7px 0 0;color:var(--ph-muted);}
.ph-home .ph-find button svg {width:15px;height:15px;}
.ph-home [data-ph-groups] {margin-top:9px;}
.ph-home .ph-group {border-bottom:1px solid var(--ph-hair);}
#phone-home-host .ph-home .ph-group summary {
  display:flex;align-items:center;gap:10px;min-height:50px;
  list-style:none;cursor:pointer;color:#263754;font-size:15px;font-weight:700;
}
.ph-home .ph-group summary::-webkit-details-marker {display:none;}
.ph-home .ph-group summary small {margin-left:auto;color:var(--ph-muted);font-size:11px;font-weight:400;white-space:nowrap;}
.ph-home .ph-group summary > svg {width:15px;height:15px;color:#5f7291;transition:transform .12s ease;}
.ph-home .ph-group[open] summary > svg {transform:rotate(180deg);}
.ph-home .ph-index {display:inline-flex;justify-content:center;align-items:center;width:27px;height:26px;color:#496388;background:#e5ebf3;border-radius:5px;font:600 12px/1 ui-monospace,SFMono-Regular,Consolas,monospace;}
.ph-home .ph-index svg {width:15px;height:15px;}
.ph-home .ph-room-list {margin:0 0 8px 8px;padding-left:10px;border-left:2px solid #c7d5e8;}
#phone-home-host .ph-home .ph-room-list a {display:flex;align-items:center;gap:8px;min-height:48px;padding:7px 1px;color:var(--ph-ink);}
.ph-home .ph-room-list a+a {border-top:1px solid #e2e7ef;}
.ph-home .ph-room-copy {flex:1;min-width:0;overflow-wrap:anywhere;}
.ph-home .ph-room-copy b {display:block;color:#263a56;font-size:14px;line-height:1.4;font-weight:620;}
.ph-home .ph-room-copy small {font-size:12px;color:var(--ph-muted);line-height:1.35;}
.ph-home .ph-room-list svg {width:13px;height:13px;color:#64768f;}
.ph-home .ph-grant {font-size:11px;color:#346751;white-space:nowrap;}
#phone-home-host .ph-home .ph-empty {color:var(--ph-muted);font-size:14px;padding:17px 3px;}
@media(max-width:350px) {
  .ph-home .ph-page {padding-top:12px;}
  .ph-home .ph-top {margin-bottom:10px;}
  #phone-home-host .ph-home .ph-floor select {width:122px;font-size:12px;}
  #phone-home-host .ph-home .ph-actions a {gap:4px;font-size:12px;}
  .ph-home .ph-actions svg {width:16px;height:16px;}
}
@media (prefers-reduced-motion:reduce) {.ph-home .ph-group summary > svg {transition:none;}}
