/* _blanco projects: one hub per project */
.hub-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 8px 0 22px; }
.hub-head h1 { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.hub-head .hub-sp { flex: 1; }
.hub-sub { margin: -14px 0 22px; color: var(--text-2); }
.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.hub-card { display: flex; flex-direction: column; gap: 6px; min-height: 130px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); color: inherit; text-decoration: none; }
.hub-card:hover { border-color: var(--line-strong); }
.hub-card b { font-size: 18px; letter-spacing: -.01em; overflow-wrap: anywhere; }
.hub-card small { color: var(--text-2); font-size: 13px; }
.hub-card .hub-foot { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; gap: 10px; font: 500 12px var(--mono, monospace); color: var(--text-3, var(--text-2)); }
.hub-empty { padding: 40px 20px; border: 1px dashed var(--line-strong); border-radius: 16px; text-align: center; color: var(--text-2); }
.hub-sections { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; align-items: start; }
.hub-sec { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.hub-sec.wide { grid-column: 1 / -1; }
.hub-sec-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.hub-sec-head h2 { margin: 0; flex: 1 1 auto; font-size: 16px; letter-spacing: -.01em; }
.hub-sec-head h2 em { font-style: normal; color: var(--text-2); font-weight: 500; margin-left: 4px; }
.hub-row { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 0; border-top: 1px solid var(--line); }
.hub-row a.hub-open { flex: 1; min-width: 0; display: grid; color: inherit; text-decoration: none; }
.hub-row a.hub-open b, .hub-row .hub-text b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.hub-row small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-2); font-size: 12.5px; }
.hub-row .hub-text { flex: 1; min-width: 0; display: grid; }
.hub-row .hub-amt { font: 700 14px var(--mono, monospace); white-space: nowrap; }
.hub-x { flex: none; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--text-2); font-size: 18px; line-height: 1; cursor: pointer; }
.hub-x:hover { background: var(--field); color: var(--text); }
.hub-none { padding: 10px 0 2px; color: var(--text-2); font-size: 13.5px; }
.hub-total { display: flex; justify-content: space-between; padding: 12px 0 2px; border-top: 1px solid var(--line-strong); font-weight: 700; }
.hub-total span:last-child { font-family: var(--mono, monospace); }
.hub-dialog { width: min(480px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--card); color: var(--text); }
.hub-dialog::backdrop { background: rgba(0, 0, 0, .6); }
.hub-dialog form { display: grid; gap: 14px; padding: 20px; }
.hub-dialog h3 { margin: 0; font-size: 19px; }
.hub-actions { display: flex; justify-content: flex-end; gap: 8px; }
.hub-pick { display: grid; gap: 4px; max-height: 50dvh; overflow-y: auto; }
.hub-pick button { display: grid; gap: 1px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.hub-pick button:hover { border-color: var(--line-strong); }
.hub-pick small { color: var(--text-2); }
.hub-toast { position: fixed; left: 50%; bottom: 24px; translate: -50% 0; z-index: 60; padding: 10px 16px; border-radius: 10px; background: var(--text); color: var(--bg); font-weight: 600; font-size: 14px; }
.hub-back { flex: none; }
@media (max-width: 680px) { .hub-grid, .hub-sections { grid-template-columns: minmax(0, 1fr); } }
.hub-check { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.hub-check input { width: 18px; height: 18px; accent-color: var(--lime, #d6fb00); }
.hub-tax.on { border-color: var(--lt-ink, var(--lime, #d6fb00)); color: var(--lt-ink, var(--lime, #d6fb00)); }
.hub-row { flex-wrap: wrap; }
.hub-row .hub-text { flex: 1 1 140px; }
.hub-row .hub-amt { margin-left: auto; }
