/* Shared care-board geometry and interaction states; no business status changes. */
:root{--focus:#168578;--ease-out:cubic-bezier(.2,.7,.2,1)}
[hidden]{display:none!important}
html{scroll-padding-top:20px}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.skip-link{position:fixed;top:12px;left:16px;z-index:40;padding:12px 18px;background:#fff;color:#125e56;border-radius:10px;transform:translateY(-150%)}
.skip-link:focus{transform:none}
main{padding-top:20px}
.hero{min-height:0;padding:24px 32px;border-radius:21px;align-items:center;box-shadow:0 10px 24px #174a4b0c}
.hero h1{font-size:clamp(28px,3vw,42px);line-height:1.08;margin:10px 0 8px}
.hero h1 br{display:none}
.hero h1 em{margin-left:.16em}
.hero p{max-width:650px;font-size:13px}
.hero-art{width:200px;min-width:200px;height:132px;align-self:center;transform:scale(.7);transform-origin:center}
.art-core{top:8px;left:56px}.art-one{top:8px;left:-22px}.art-two{top:-44px;left:0}.art-dot{top:105px;left:17px}
.view-switch{max-width:none;margin-top:16px}
.view-switch button{padding:10px 15px;transition:background .18s,border-color .18s,color .18s}
.overview{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:15px 0 25px}
.metric{min-height:100px;padding:14px 17px}
.metric strong{font-variant-numeric:tabular-nums;font-size:30px;margin:6px 0 3px}
.metric small{display:block;line-height:1.45}
.section-heading{gap:18px;margin-bottom:16px}
.section-heading h2{font-size:26px;margin-top:6px}
.section-heading p{line-height:1.6}
.toolbar{flex-wrap:wrap;gap:12px}
.toolbar-right{min-width:0;margin-left:auto}
.toolbar select{max-width:240px}
.board-meta{align-items:center;flex-wrap:wrap;margin:14px 2px 12px;gap:10px}
#sort-note{margin-left:auto}
.quiet-button{padding:7px 10px;border:1px solid #cbded8;border-radius:8px;background:#fff;color:#2b665d;font-size:11px;min-height:32px}
.quiet-button:hover{background:#e9f5ef}
.refresh-notice{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 15px;margin-bottom:14px;border:1px solid #eed1a5;border-radius:12px;background:#fff8ec;color:#805820;font-size:12px;line-height:1.6}
.refresh-notice button{flex:none}
.property-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,285px),1fr))}
.property-card{min-width:0;transition:transform .18s var(--ease-out),box-shadow .18s,border-color .18s}
.card-top{grid-template-columns:34px minmax(0,1fr) auto;gap:9px}
.house-icon{width:34px;height:34px}
.community{display:block}
.card-aside{min-width:0;max-width:124px}
.card-spec{white-space:normal}
.card-bottom{gap:8px;flex-wrap:wrap}
.card-progress{display:block;flex:none}
.card-progress i{transform-origin:left center}
.mt-card{display:flex;flex-direction:column;align-items:stretch}
.mt-card .status-badge{align-self:flex-start}
.mt-card-foot{margin-top:auto}
.gift-ci,.mt-task-row,.detail-stat strong{overflow-wrap:anywhere}
.loading-card,.empty-card{padding:38px 20px;font-size:14px;line-height:1.6}
.modal-shell{width:min(650px,100%);max-height:calc(100dvh - 40px)}
.modal-shell .modal{max-height:calc(100dvh - 40px);padding:26px;overscroll-behavior:contain;scrollbar-gutter:stable}
.modal-shell .modal-close{right:12px;top:12px;width:36px;height:36px;border:1px solid #d6e5e0;box-shadow:0 3px 12px #123e4212}
.modal h2,.modal-kicker{padding-right:32px}
.modal h2{overflow-wrap:anywhere}
.detail-stat{min-width:0}
.task-row,.mt-task-row{overflow-wrap:anywhere}
.gift-notice{font-size:12px;padding:11px 14px}
/* One-shot entrances only. Unchanged background polls keep the same DOM. */
@media(prefers-reduced-motion:no-preference){
  .property-card:nth-child(-n+8){animation:care-enter .3s var(--ease-out) both}
  .property-card:nth-child(2){animation-delay:25ms}
  .property-card:nth-child(3){animation-delay:50ms}
  .property-card:nth-child(4){animation-delay:75ms}
  .property-card:nth-child(n+5):nth-child(-n+8){animation-delay:90ms}
  .card-progress i{animation:care-fill .55s var(--ease-out) both}
  .modal-backdrop:not([hidden]) .modal-shell{animation:care-enter .2s var(--ease-out) both}
}
@keyframes care-enter{from{opacity:0;translate:0 6px}to{opacity:1;translate:0 0}}
@keyframes care-fill{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@media(max-width:900px){
  .topbar{padding:0 20px}.topbar-right{gap:10px}.topbar-right .live{display:none}
  .hero{padding:24px}.hero-art{display:none}.hero p{max-width:none}
  .toolbar-right{width:100%;margin-left:0}.search{flex:1;width:auto}
  .metric{padding:13px 12px}.metric-label{font-size:9px;letter-spacing:.06em}
}
@media(max-width:600px){
  main{padding:14px}.topbar{height:66px;padding:0 16px}.brand small{font-size:8px}
  .hero{padding:21px 20px;border-radius:17px}.hero h1{font-size:29px}.hero h1 br{display:block}.hero h1 em{margin-left:0}
  .hero p{font-size:12px}.eyebrow{font-size:9px;letter-spacing:.13em}
  .view-switch{gap:3px;padding:4px}.view-switch button{padding:10px 8px}.view-switch button span{font-size:12px}.view-switch button small{display:none}
  .overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0 23px}
  .overview .metric:first-child{grid-column:1/-1;display:grid;grid-template-columns:1fr auto;align-items:center;min-height:64px}
  .overview .metric:first-child strong{grid-column:2;grid-row:1/3;margin:0}
  .metric{min-height:91px}.metric strong{font-size:28px}.metric-label{font-size:10px}
  .section-heading h2{font-size:24px}.section-heading .eyebrow{display:none}
  .toolbar-left,.toolbar-right{width:100%}.toolbar-right{flex-wrap:wrap}
  .search{min-width:100%}.toolbar select{max-width:none;width:100%}
  .segmented{width:100%;overflow:auto}.segmented button{padding:10px 12px;flex:1}
  .board-meta #sort-note{display:none}.board-meta #reset-filters{margin-left:auto}
  .property-grid{grid-template-columns:1fr}.card-aside{max-width:45%}
  .today-pill{display:none}.modal-backdrop{padding:12px}.modal-shell,.modal-shell .modal{max-height:calc(100dvh - 24px)}
  .modal-shell .modal{padding:22px 18px}.modal h2{font-size:26px}.detail-grid{gap:7px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.hero-art,.refresh-button,.toolbar,.skip-link,.modal-backdrop{display:none!important}.property-card{break-inside:avoid;box-shadow:none}.property-grid{grid-template-columns:repeat(2,minmax(0,1fr))}*{animation:none!important;transition:none!important}}
