/* shared unit-card + empty state for favourites / budget (uses tokens from how.css) */
.mylist-page .ml-wrap{padding-top:32px;padding-bottom:64px;min-height:50vh}
.ml-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;color:var(--text-light);font-size:14.5px}
.ml-bar[hidden]{display:none}
.ml-link{background:none;border:none;color:var(--green);font-weight:600;font-size:14px;padding:4px 2px}
.ml-link:hover{text-decoration:underline}
.ml-empty{text-align:center;max-width:460px;margin:40px auto;padding:36px 24px;background:var(--bg-soft);border:1px solid var(--border);border-radius:var(--radius-lg)}
.ml-empty[hidden]{display:none}
.ml-empty.small{margin:16px 0;padding:24px 20px;max-width:none}
.ml-empty .icon{width:44px;height:44px;color:var(--green);margin:0 auto 12px}
.ml-empty h2{font-size:20px;margin-bottom:8px}
.ml-empty p{color:var(--text-light);font-size:15px;margin-bottom:18px}
.ml-empty .btn{display:inline-flex}
.btn.small{padding:10px 18px;font-size:14px}
.uc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.uc-grid[hidden]{display:none}
.uc{background:#fff;border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;display:flex;flex-direction:column;box-shadow:var(--shadow-soft);transition:transform .15s ease,box-shadow .15s ease}
.uc:hover{transform:translateY(-3px);box-shadow:var(--shadow-card)}
.uc-ph{position:relative;display:block;height:190px;background:var(--bg-soft)}
.uc-ph img{width:100%;height:100%;object-fit:cover}
.uc-badge{position:absolute;top:12px;inset-inline-start:12px;background:#fff;color:var(--green-dark);font-weight:600;font-size:12.5px;padding:5px 11px;border-radius:999px;box-shadow:var(--shadow-soft)}
.uc-b{padding:16px 18px 18px;display:flex;flex-direction:column;gap:8px;flex:1}
.uc-code{font-size:12.5px;color:var(--text-light);direction:ltr;unicode-bidi:plaintext;align-self:flex-start}
.uc-b h3{font-size:16.5px;line-height:1.5}
.uc-loc{color:var(--text-light);font-size:13.5px}
.uc-nums{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:4px 0 0}
.uc-nums div{background:var(--bg-soft);border-radius:var(--radius-sm);padding:9px 11px}
.uc-nums dt{font-size:12px;color:var(--text-light);margin-bottom:2px}
.uc-nums dd{margin:0;font-weight:600;color:var(--navy);font-size:14.5px}
.uc-why{font-size:13.5px;line-height:1.8;color:var(--green-dark);background:var(--green-soft);border-radius:var(--radius-sm);padding:9px 12px}
.uc-why.warn{color:#8a5a00;background:#fff4dc}
.uc-act{display:flex;gap:10px;margin-top:auto;padding-top:8px;flex-wrap:wrap}
.uc-act .btn{flex:1;justify-content:center;white-space:nowrap}
.uc-act .btn.ghost{background:#fff;border:1.5px solid var(--border);color:var(--navy)}
.uc-act .btn.ghost:hover{border-color:#c0392b;color:#c0392b}
@media (max-width:1024px){.uc-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.uc-grid{grid-template-columns:1fr}.mylist-page .ml-wrap{padding-top:22px}}

/* logo size (theme.css sizes logos per data-page) */
html[data-page] .site-header .logo img{height:38px}
@media(max-width:700px){html[data-page] .site-header .logo img{height:26px}}
