:root {
    --hb-bg: #0079bf;
    --hb-panel: rgba(255, 255, 255, 0.92);
    --hb-panel-solid: #ffffff;
    --hb-text: #172b4d;
    --hb-text-light: #5e6c84;
    --hb-border: #dfe1e6;
    --hb-accent: #0c66e4;
    --hb-brand: #0c66e4;
    --hb-brand-dark: #0055cc;
    --hb-radius: 8px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--hb-text);
    background: var(--hb-bg);
}

a {
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
}

.hb-home {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    background: linear-gradient(135deg, var(--hb-brand), #0a3d8f);
}

.hb-home-card {
    background: var(--hb-panel-solid);
    border-radius: 12px;
    padding: 40px;
    width: 100%;
    max-width: 460px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    text-align: center;
}

.hb-home-card h1 {
    margin: 0 0 8px;
    font-size: 28px;
}

.hb-home-sub {
    color: var(--hb-text-light);
    margin: 0 0 24px;
}

.hb-create-form {
    display: flex;
    gap: 8px;
}

.hb-create-form input {
    flex: 1;
    padding: 12px 14px;
    border: 1px solid var(--hb-border);
    border-radius: var(--hb-radius);
    font-size: 15px;
}

.hb-create-form button,
.hb-btn-link {
    padding: 12px 18px;
    border: none;
    border-radius: var(--hb-radius);
    background: var(--hb-accent);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

.hb-error {
    color: #c9372c;
    margin-top: 12px;
    font-size: 14px;
}

.hb-home-recent {
    width: 100%;
    max-width: 460px;
    margin-top: 24px;
    background: var(--hb-panel);
    border-radius: 12px;
    padding: 20px 24px;
}

.hb-home-recent h2 {
    font-size: 14px;
    text-transform: uppercase;
    color: var(--hb-text-light);
    margin: 0 0 12px;
}

.hb-home-recent ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hb-home-recent a {
    display: block;
    padding: 10px 14px;
    background: #fff;
    border-radius: var(--hb-radius);
    text-decoration: none;
    font-weight: 500;
    border: 1px solid var(--hb-border);
}

.hb-home-footer {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.hb-home-footer a {
    color: var(--hb-text-light);
    text-decoration: underline;
    font-size: 13px;
}

html:has(.hb-landing),
body:has(.hb-landing) {
    background: #ffffff;
}

.hb-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--hb-text);
}

.hb-brand-mark {
    width: 32px;
    height: 32px;
    flex: none;
}

.hb-brand-box {
    fill: var(--hb-brand);
}

.hb-brand-chevron {
    fill: none;
    stroke: #ffffff;
    stroke-width: 3.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hb-brand-chevron-1 {
    opacity: 0.45;
}

.hb-brand-chevron-2 {
    opacity: 0.75;
}

.hb-brand-name {
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.02em;
}

.hb-brand-light {
    color: #ffffff;
}

.hb-brand-light .hb-brand-box {
    fill: #ffffff;
}

.hb-brand-light .hb-brand-chevron {
    stroke: var(--hb-brand);
}

.hb-topbar .hb-brand-mark {
    width: 26px;
    height: 26px;
}

.hb-topbar .hb-brand-name {
    font-size: 17px;
}

.hb-home-logo {
    margin-bottom: 24px;
}

.hb-landing {
    background: #ffffff;
    color: var(--hb-text);
}

.hb-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

.hb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}

.hb-btn:hover {
    transform: translateY(-1px);
}

.hb-btn-primary {
    background: var(--hb-brand);
    color: #ffffff;
}

.hb-btn-primary:hover {
    background: var(--hb-brand-dark);
}

.hb-btn-light {
    background: #ffffff;
    color: var(--hb-brand);
}

.hb-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--hb-border);
}

.hb-nav-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 68px;
}

.hb-nav-links {
    display: flex;
    gap: 24px;
    margin-left: auto;
}

.hb-nav-links a {
    text-decoration: none;
    color: var(--hb-text-light);
    font-weight: 600;
    font-size: 15px;
}

.hb-nav-links a:hover {
    color: var(--hb-brand);
}

.hb-nav-cta {
    padding: 9px 16px;
    font-size: 14px;
    white-space: nowrap;
}

.hb-hero {
    background: radial-gradient(1200px 500px at 50% -10%, #e3eeff 0%, #ffffff 70%);
    padding: 72px 0 64px;
    scroll-margin-top: 68px;
}

.hb-hero-inner {
    text-align: center;
    max-width: 860px;
}

.hb-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 0 20px;
    font-weight: 600;
    color: var(--hb-text-light);
    font-size: 15px;
}

.hb-free-pill {
    background: #dcfff1;
    color: #216e4e;
    padding: 4px 12px;
    border-radius: 999px;
    font-weight: 800;
}

.hb-hero h1 {
    font-size: 56px;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 0 0 20px;
}

.hb-hero-lead {
    font-size: 19px;
    line-height: 1.6;
    color: var(--hb-text-light);
    margin: 0 auto 36px;
    max-width: 700px;
}

.hb-start-card {
    background: #ffffff;
    border: 1px solid var(--hb-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 24px 60px rgba(12, 102, 228, 0.14);
    text-align: left;
    max-width: 680px;
    margin: 0 auto;
}

.hb-start-label {
    display: block;
    font-weight: 700;
    margin-bottom: 12px;
}

.hb-start-card .hb-create-form input {
    font-size: 16px;
    padding: 14px 16px;
    border-radius: 10px;
}

.hb-start-card .hb-create-form button {
    background: var(--hb-brand);
    border-radius: 10px;
    padding: 14px 20px;
    font-size: 15px;
    cursor: pointer;
}

.hb-start-card .hb-create-form button:hover {
    background: var(--hb-brand-dark);
}

.hb-checks {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    font-size: 14px;
    color: var(--hb-text-light);
}

.hb-checks li::before {
    content: "✓";
    color: #22a06b;
    font-weight: 800;
    margin-right: 6px;
}

.hb-create-form button:disabled,
.hb-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

.hb-landing .hb-home-recent {
    max-width: 680px;
    margin: 24px auto 0;
    text-align: left;
    background: #f7f8fa;
    border: 1px solid var(--hb-border);
}

.hb-landing .hb-home-recent ul {
    flex-direction: row;
    flex-wrap: wrap;
}

.hb-recent-hint {
    font-size: 12px;
    color: var(--hb-text-light);
    margin: 12px 0 0;
}

.hb-section {
    padding: 88px 0;
    scroll-margin-top: 68px;
}

.hb-section-alt {
    background: #f7f8fa;
}

.hb-section-kicker {
    color: var(--hb-brand);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 13px;
    margin: 0 0 10px;
}

.hb-section h2 {
    font-size: 36px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
    max-width: 760px;
}

.hb-section-lead {
    font-size: 18px;
    color: var(--hb-text-light);
    margin: 0 0 40px;
    max-width: 680px;
    line-height: 1.6;
}

.hb-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.hb-feature,
.hb-steps li,
.hb-usecases > div {
    background: #ffffff;
    border: 1px solid var(--hb-border);
    border-radius: 14px;
    padding: 28px;
}

.hb-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #e9f2ff;
    color: var(--hb-brand);
    font-size: 22px;
    margin-bottom: 16px;
}

.hb-feature h3,
.hb-steps h3,
.hb-usecases h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.hb-feature p,
.hb-steps p,
.hb-usecases p {
    margin: 0;
    color: var(--hb-text-light);
    line-height: 1.6;
}

.hb-steps {
    list-style: none;
    margin: 40px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.hb-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--hb-brand);
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 16px;
}

.hb-demo {
    background: #1d2125;
    color: #dee4ea;
    padding: 88px 0;
    scroll-margin-top: 68px;
}

.hb-demo-inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: center;
}

.hb-demo-badge {
    display: inline-block;
    background: #f5cd47;
    color: #1d2125;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 6px;
    margin-bottom: 16px;
}

.hb-demo h2 {
    color: #ffffff;
    font-size: 36px;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
}

.hb-demo-text > p {
    line-height: 1.6;
    font-size: 17px;
    margin: 0 0 20px;
}

.hb-demo-text strong {
    color: #ffffff;
}

.hb-demo-facts {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hb-demo-facts li::before {
    content: "•";
    color: #f5cd47;
    font-weight: 800;
    margin-right: 10px;
}

.hb-btn-demo {
    background: #f5cd47;
    color: #1d2125;
}

.hb-btn-demo:hover {
    background: #f8d86a;
}

.hb-demo-note {
    font-size: 14px;
    color: #9fadbc;
    margin: 16px 0 0;
}

.hb-demo-note a {
    color: #ffffff;
}

.hb-demo-preview {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    background: linear-gradient(135deg, #0079bf, #00475c);
    transform: rotate(1.5deg);
}

.hb-demo-preview-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.3);
}

.hb-demo-preview-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
}

.hb-demo-preview-bar em {
    margin-left: 10px;
    font-style: normal;
    font-weight: 700;
    color: #ffffff;
    font-size: 13px;
}

.hb-demo-preview-lists {
    display: flex;
    gap: 12px;
    padding: 18px;
    align-items: flex-start;
}

.hb-preview-list {
    flex: 1;
    min-width: 0;
    background: #eef0f3;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--hb-text);
}

.hb-preview-title {
    font-weight: 700;
    font-size: 13px;
    padding: 2px 4px;
}

.hb-preview-card {
    background: #ffffff;
    border-radius: 6px;
    padding: 8px;
    font-size: 12px;
    box-shadow: 0 1px 0 rgba(9, 30, 66, 0.25);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hb-preview-card-lifted {
    transform: rotate(-3deg);
    box-shadow: 0 10px 20px rgba(9, 30, 66, 0.3);
}

.hb-preview-label {
    display: block;
    width: 32px;
    height: 6px;
    border-radius: 3px;
}

.hb-preview-cover {
    display: block;
    height: 22px;
    border-radius: 4px;
}

.hb-preview-badge {
    align-self: flex-start;
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 4px;
    background: #f4f5f7;
    color: var(--hb-text-light);
}

.hb-preview-badge-late {
    background: #ffebe6;
    color: #ae2e24;
}

.hb-preview-badge-done {
    background: #e3fcef;
    color: #216e4e;
}

.hb-c-green { background: #4bce97; }
.hb-c-red { background: #f87168; }
.hb-c-purple { background: #9f8fef; }
.hb-c-blue { background: #579dff; }

.hb-usecases {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.hb-faq {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 800px;
    margin-top: 32px;
}

.hb-faq details {
    background: #ffffff;
    border: 1px solid var(--hb-border);
    border-radius: 12px;
    padding: 18px 22px;
}

.hb-faq summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
}

.hb-faq details p {
    margin: 12px 0 0;
    color: var(--hb-text-light);
    line-height: 1.6;
}

.hb-cta {
    background: linear-gradient(135deg, var(--hb-brand), #0a3d8f);
    color: #ffffff;
    text-align: center;
    padding: 80px 0;
}

.hb-cta h2 {
    font-size: 36px;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
}

.hb-cta p {
    margin: 0 0 28px;
    font-size: 18px;
    color: #d6e4ff;
}

.hb-legal-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
}

.hb-legal-links a {
    color: var(--hb-brand);
}

.hb-legal {
    padding: 48px 0 64px;
}

.hb-legal-inner {
    max-width: 760px;
}

.hb-legal h1 {
    font-size: 34px;
    letter-spacing: -0.02em;
    margin: 0 0 24px;
}

.hb-legal h2 {
    font-size: 19px;
    margin: 32px 0 8px;
}

.hb-legal p {
    margin: 0 0 12px;
    line-height: 1.7;
    color: #42526e;
}

.hb-legal-line {
    margin: 0 0 2px;
}

.hb-legal-missing {
    background: #fff7d6;
    color: #533f04;
    border-radius: 8px;
    padding: 12px 14px;
}

.hb-legal-updated {
    margin-top: 40px;
    padding-top: 16px;
    border-top: 1px solid var(--hb-border);
    font-size: 13px;
    color: var(--hb-text-light);
}

.hb-footer {
    border-top: 1px solid var(--hb-border);
    padding: 40px 0;
}

.hb-footer-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.hb-footer-claim {
    margin: 10px 0 0;
    color: var(--hb-text-light);
    font-size: 14px;
}

.hb-footer-links {
    display: flex;
    gap: 20px;
    align-items: center;
    font-size: 14px;
    color: var(--hb-text-light);
}

.hb-footer-links a {
    color: var(--hb-text-light);
}

.hb-demo-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 10px 16px;
    background: #f5cd47;
    color: #1d2125;
    font-size: 14px;
    font-weight: 600;
}

.hb-demo-banner::before {
    content: "DEMO";
    background: #1d2125;
    color: #f5cd47;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.1em;
    padding: 3px 8px;
    border-radius: 4px;
}

.hb-demo-banner a {
    margin-left: auto;
    background: #1d2125;
    color: #ffffff;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
}

.hb-board {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hb-bg-slate { background: #445; }
.hb-bg-ocean { background: linear-gradient(135deg, #0079bf, #00475c); }
.hb-bg-forest { background: linear-gradient(135deg, #216e4e, #0f3d2b); }
.hb-bg-sunset { background: linear-gradient(135deg, #e0703e, #a13a3a); }
.hb-bg-grape { background: linear-gradient(135deg, #6c4fb6, #3a2570); }
.hb-bg-clay { background: linear-gradient(135deg, #a5673f, #5f3a20); }
.hb-bg-ink { background: linear-gradient(135deg, #1f2937, #0b0f16); }

.hb-topbar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    flex-wrap: wrap;
}

.hb-title-input {
    flex: 1;
    min-width: 120px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 6px;
}

.hb-title-input:hover,
.hb-title-input:focus {
    background: rgba(255, 255, 255, 0.15);
    outline: none;
}

.hb-topbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.hb-topbar-actions input[type="search"] {
    padding: 7px 10px;
    border-radius: 6px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.hb-topbar-actions input[type="search"]::placeholder {
    color: rgba(255, 255, 255, 0.75);
}

.hb-topbar-actions button {
    padding: 7px 12px;
    border-radius: 6px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 14px;
}

.hb-topbar-actions button:hover {
    background: rgba(255, 255, 255, 0.32);
}

.hb-readonly-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
}

.hb-lists {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
}

.hb-list {
    background: #eef0f3;
    border-radius: 10px;
    width: 272px;
    min-width: 272px;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
}

.hb-list-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 10px 4px;
}

.hb-list-title {
    flex: 1;
    background: transparent;
    border: none;
    font-weight: 600;
    font-size: 14px;
    padding: 6px 8px;
    border-radius: 6px;
}

.hb-list-title:hover,
.hb-list-title:focus {
    background: rgba(0, 0, 0, 0.06);
    outline: none;
}

.hb-list-menu-btn {
    background: transparent;
    border: none;
    padding: 4px 8px;
    border-radius: 6px;
    color: var(--hb-text-light);
    font-size: 16px;
}

.hb-list-menu-btn:hover {
    background: rgba(0, 0, 0, 0.08);
}

.hb-cards {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 4px 8px 8px;
    overflow-y: auto;
    min-height: 12px;
}

.hb-card {
    background: #fff;
    border-radius: 8px;
    padding: 8px 10px;
    box-shadow: 0 1px 0 rgba(9, 30, 66, 0.25);
    cursor: pointer;
    font-size: 14px;
}

.hb-card:hover {
    background: #f8f9fb;
}

.hb-card-cover {
    height: 32px;
    border-radius: 6px;
    margin: -2px -4px 8px;
}

.hb-card-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 6px;
}

.hb-label-chip {
    height: 8px;
    width: 32px;
    border-radius: 4px;
}

.hb-label-chip-named {
    height: auto;
    width: auto;
    padding: 2px 8px;
    font-size: 11px;
    color: #fff;
    border-radius: 10px;
}

.hb-card-title {
    color: var(--hb-text);
    word-break: break-word;
}

.hb-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    font-size: 12px;
    color: var(--hb-text-light);
}

.hb-add-card-btn,
.hb-add-list-btn {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 8px 10px;
    border-radius: 6px;
    color: var(--hb-text-light);
    font-size: 14px;
}

.hb-add-card-btn:hover {
    background: rgba(0, 0, 0, 0.06);
    color: var(--hb-text);
}

.hb-add-list-btn {
    background: rgba(255, 255, 255, 0.24);
    color: #ffffff;
    font-weight: 600;
    padding: 12px 14px;
    border-radius: 10px;
    backdrop-filter: blur(4px);
}

.hb-add-list-btn:hover {
    background: rgba(255, 255, 255, 0.36);
}

.hb-add-list-btn:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.hb-list-add-form {
    padding: 4px 8px 10px;
    display: none;
    gap: 6px;
    flex-direction: column;
}

.hb-list-add-form.hb-open {
    display: flex;
}

.hb-list-add-form textarea,
.hb-list-add-form input {
    padding: 8px;
    border-radius: 6px;
    border: 1px solid var(--hb-border);
    resize: vertical;
    font: inherit;
}

.hb-list-add-form .hb-row {
    display: flex;
    gap: 8px;
}

.hb-add-list-wrapper {
    width: 272px;
    min-width: 272px;
}

.hb-add-list-form {
    display: none;
    background: #eef0f3;
    border-radius: 10px;
    padding: 10px;
    gap: 8px;
    flex-direction: column;
}

.hb-add-list-form.hb-open {
    display: flex;
}

.hb-add-list-form input {
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #b7bdc6;
    font: inherit;
    font-size: 14px;
}

.hb-add-list-form input:focus {
    outline: none;
    border-color: var(--hb-brand);
    box-shadow: 0 0 0 1px var(--hb-brand);
}

.hb-add-list-form .hb-row {
    display: flex;
    gap: 8px;
}

.hb-btn-primary {
    padding: 8px 14px;
    border-radius: 6px;
    border: none;
    background: var(--hb-accent);
    color: #fff;
    font-weight: 600;
}

.hb-btn-plain {
    padding: 8px 14px;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: var(--hb-text-light);
}

.hb-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 320px;
    background: #fff;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
    padding: 20px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.2s ease;
    z-index: 90;
}

.hb-sidebar.hb-open {
    transform: translateX(0);
}

.hb-sidebar h2 {
    font-size: 16px;
    margin: 0 0 16px;
}

.hb-sidebar-close {
    float: right;
    background: transparent;
    border: none;
    font-size: 18px;
    color: var(--hb-text-light);
}

.hb-archive-item {
    border: 1px solid var(--hb-border);
    border-radius: 6px;
    padding: 8px 10px;
    margin-bottom: 8px;
    font-size: 14px;
}

.hb-archive-item .hb-row {
    display: flex;
    gap: 6px;
    margin-top: 6px;
}

.hb-archive-item button {
    border: none;
    background: #f4f5f7;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.hb-filter-row {
    margin-bottom: 16px;
}

.hb-filter-row label {
    display: block;
    font-size: 13px;
    color: var(--hb-text-light);
    margin-bottom: 6px;
}

.hb-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 10px;
    background: #f4f5f7;
    font-size: 12px;
    margin: 0 6px 6px 0;
    cursor: pointer;
    border: 2px solid transparent;
}

.hb-filter-chip.hb-active {
    border-color: var(--hb-accent);
}

.hb-bg-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.hb-bg-swatch {
    width: 48px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
}

.hb-bg-swatch.hb-active {
    border-color: #172b4d;
}

.hb-share-field {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
}

.hb-share-field input {
    flex: 1;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid var(--hb-border);
}

.hb-danger-zone {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--hb-border);
}

.hb-danger-zone button {
    background: #ffebe6;
    color: #c9372c;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
}

.hb-card.hb-card-filtered-out {
    display: none;
}

.hb-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #172b4d;
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 14px;
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.hb-toast.hb-show {
    opacity: 1;
}

.hb-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.2em;
    flex: none;
    line-height: 1;
}

.hb-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
    font-size: 12px;
    color: var(--hb-text-light);
}

.hb-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 6px;
    border-radius: 4px;
    background: #f1f2f4;
    font-weight: 500;
}

.hb-badge-plain {
    background: transparent;
    padding: 2px 2px;
}

.hb-badge-due-overdue {
    background: #ffeceb;
    color: #ae2e24;
}

.hb-badge-due-soon {
    background: #fff7d6;
    color: #7f5f01;
}

.hb-badge-due-done {
    background: #dcfff1;
    color: #216e4e;
}

.hb-label-chip {
    height: 8px;
    width: 40px;
    border-radius: 4px;
}

.hb-label-chip-named {
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    border-radius: 4px;
}

.hb-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(9, 30, 66, 0.6);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 48px 16px;
    overflow-y: auto;
    z-index: 100;
}

.hb-modal-overlay[hidden] {
    display: none;
}

.hb-modal {
    background: #f7f8f9;
    border-radius: 12px;
    width: 100%;
    max-width: 768px;
    box-shadow: 0 24px 64px rgba(9, 30, 66, 0.35);
    overflow: hidden;
}

.hb-modal-cover {
    height: 96px;
}

.hb-modal-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 20px 8px 24px;
}

.hb-modal-header > .hb-icon {
    font-size: 20px;
    color: var(--hb-text-light);
    margin-top: 8px;
}

.hb-modal-heading {
    flex: 1;
    min-width: 0;
}

.hb-modal-title {
    width: 100%;
    font: inherit;
    font-size: 20px;
    font-weight: 700;
    color: var(--hb-text);
    border: 2px solid transparent;
    background: transparent;
    padding: 4px 8px;
    margin-left: -10px;
    border-radius: 6px;
}

.hb-modal-title:hover:not([readonly]) {
    background: #ebecf0;
}

.hb-modal-title:focus {
    outline: none;
    background: #fff;
    border-color: var(--hb-brand);
}

.hb-modal-sub {
    margin: 2px 0 0;
    font-size: 14px;
    color: var(--hb-text-light);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.hb-tag {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hb-tag-archived {
    background: #fff7d6;
    color: #7f5f01;
}

.hb-modal-close {
    background: transparent;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 16px;
    color: var(--hb-text-light);
    flex: none;
}

.hb-modal-close:hover {
    background: #dcdfe4;
    color: var(--hb-text);
}

.hb-modal-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 200px;
    gap: 24px;
    padding: 8px 24px 28px;
}

.hb-modal-body-single {
    grid-template-columns: minmax(0, 1fr);
}

.hb-modal-main {
    display: flex;
    flex-direction: column;
    gap: 28px;
    min-width: 0;
}

.hb-modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 28px;
    padding-left: 32px;
}

.hb-meta-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hb-meta-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--hb-text-light);
}

.hb-meta-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.hb-chip {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    border: none;
}

.hb-chip-add {
    background: #e4e6ea;
    color: var(--hb-text);
    width: 32px;
    padding: 0;
    justify-content: center;
    font-size: 18px;
}

.hb-chip-add:hover {
    background: #d5d8dd;
}

.hb-due {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    padding: 0 10px;
    border-radius: 4px;
    background: #e4e6ea;
    font-size: 14px;
}

.hb-due-date {
    background: transparent;
    border: none;
    font: inherit;
    font-weight: 600;
    color: inherit;
    padding: 0;
}

.hb-due-status {
    font-size: 12px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
}

.hb-due-overdue .hb-due-status {
    background: #c9372c;
    color: #fff;
}

.hb-due-soon .hb-due-status {
    background: #f5cd47;
    color: #533f04;
}

.hb-due-done .hb-due-status {
    background: #1f845a;
    color: #fff;
}

.hb-msec-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.hb-msec-head > .hb-icon {
    font-size: 18px;
    color: var(--hb-text-light);
}

.hb-msec-head h3 {
    margin: 0;
    font-size: 16px;
    flex: 1;
}

.hb-msec > :not(.hb-msec-head) {
    margin-left: 32px;
}

.hb-btn-subtle {
    background: #e4e6ea;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--hb-text);
}

.hb-btn-subtle:hover {
    background: #d5d8dd;
}

.hb-btn-secondary {
    background: #e4e6ea;
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--hb-text);
    align-self: flex-start;
}

.hb-btn-secondary:hover {
    background: #d5d8dd;
}

.hb-btn-block {
    width: 100%;
    margin-top: 8px;
}

.hb-input {
    width: 100%;
    font: inherit;
    font-size: 14px;
    color: var(--hb-text);
    background: #fff;
    border: 1px solid #b7bdc6;
    border-radius: 6px;
    padding: 8px 10px;
}

.hb-input:focus {
    outline: none;
    border-color: var(--hb-brand);
    box-shadow: 0 0 0 1px var(--hb-brand);
}

.hb-textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.5;
}

.hb-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
}

.hb-tab {
    background: transparent;
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--hb-text-light);
}

.hb-tab.hb-active {
    background: #e9f2ff;
    color: var(--hb-brand);
}

.hb-form-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.hb-hint {
    font-size: 12px;
    color: var(--hb-text-light);
}

.hb-md {
    font-size: 14px;
    line-height: 1.6;
    word-wrap: break-word;
}

.hb-md > :first-child {
    margin-top: 0;
}

.hb-md p {
    margin: 0 0 8px;
}

.hb-md ul {
    margin: 0 0 8px;
    padding-left: 20px;
}

.hb-md code {
    background: #e4e6ea;
    padding: 1px 4px;
    border-radius: 3px;
    font-size: 13px;
}

.hb-md a {
    color: var(--hb-brand);
}

.hb-md-editable {
    cursor: pointer;
    border-radius: 6px;
    padding: 6px 8px;
    margin-left: 24px !important;
}

.hb-md-editable:hover {
    background: #ebecf0;
}

.hb-md-preview {
    background: #fff;
    border: 1px solid #dcdfe4;
    border-radius: 6px;
    padding: 10px 12px;
    min-height: 140px;
}

.hb-placeholder {
    display: block;
    width: calc(100% - 32px);
    min-height: 56px;
    text-align: left;
    background: #e4e6ea;
    border: none;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 14px;
    color: var(--hb-text-light);
}

.hb-placeholder:hover {
    background: #d5d8dd;
}

.hb-empty-text {
    color: var(--hb-text-light);
    font-style: italic;
    font-size: 14px;
    margin: 0;
}

.hb-checklist-title {
    flex: 1;
    min-width: 0;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    color: var(--hb-text);
    background: transparent;
    border: 2px solid transparent;
    border-radius: 6px;
    padding: 2px 6px;
    margin-left: -8px;
}

.hb-checklist-title:hover:not([readonly]) {
    background: #ebecf0;
}

.hb-checklist-title:focus {
    outline: none;
    background: #fff;
    border-color: var(--hb-brand);
}

.hb-progress {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.hb-msec > .hb-progress {
    margin-left: 0;
}

.hb-progress-value {
    width: 32px;
    font-size: 11px;
    color: var(--hb-text-light);
    text-align: right;
    flex: none;
}

.hb-progress-track {
    flex: 1;
    height: 8px;
    border-radius: 4px;
    background: #dcdfe4;
    overflow: hidden;
}

.hb-progress-bar {
    height: 100%;
    background: var(--hb-brand);
    border-radius: 4px;
    transition: width 0.25s ease;
}

.hb-progress-complete .hb-progress-bar {
    background: #22a06b;
}

.hb-checkitems {
    list-style: none;
    margin: 0 0 8px;
    padding: 0;
}

.hb-msec > .hb-checkitems {
    margin-left: 0;
}

.hb-checkitem {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 2px 4px 2px 8px;
    border-radius: 6px;
}

.hb-checkitem:hover {
    background: #ebecf0;
}

.hb-checkitem-text {
    flex: 1;
    min-width: 0;
    font: inherit;
    font-size: 14px;
    color: var(--hb-text);
    background: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 6px 6px;
}

.hb-checkitem-text:focus {
    outline: none;
    background: #fff;
    border-color: var(--hb-brand);
}

.hb-checkitem.hb-done .hb-checkitem-text {
    text-decoration: line-through;
    color: var(--hb-text-light);
}

.hb-checkitem-remove {
    background: transparent;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--hb-text-light);
    opacity: 0;
    flex: none;
}

.hb-checkitem:hover .hb-checkitem-remove,
.hb-checkitem-remove:focus {
    opacity: 1;
}

.hb-checkitem-remove:hover {
    background: #dcdfe4;
    color: #c9372c;
}

.hb-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    margin: 0;
    flex: none;
    border: 2px solid #8590a2;
    border-radius: 3px;
    background: #fff;
    display: inline-grid;
    place-content: center;
    cursor: pointer;
}

.hb-checkbox::after {
    content: "";
    width: 8px;
    height: 4px;
    border: 2px solid #fff;
    border-top: none;
    border-right: none;
    transform: rotate(-45deg) translate(1px, -1px);
    opacity: 0;
}

.hb-checkbox:checked {
    background: var(--hb-brand);
    border-color: var(--hb-brand);
}

.hb-checkbox:checked::after {
    opacity: 1;
}

.hb-checkbox:focus-visible {
    outline: 2px solid var(--hb-brand);
    outline-offset: 2px;
}

.hb-checkbox:disabled {
    cursor: default;
}

.hb-due-done .hb-checkbox:checked {
    background: #1f845a;
    border-color: #1f845a;
}

.hb-inline-form {
    display: flex;
    flex-direction: column;
}

.hb-modal-aside {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hb-modal-aside h4 {
    margin: 12px 0 2px;
    font-size: 12px;
    font-weight: 700;
    color: var(--hb-text-light);
}

.hb-modal-aside h4:first-child {
    margin-top: 0;
}

.hb-aside-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    background: #e4e6ea;
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--hb-text);
    text-align: left;
}

.hb-aside-btn:hover {
    background: #d5d8dd;
}

.hb-aside-btn.hb-active {
    background: #e9f2ff;
    color: var(--hb-brand);
}

.hb-aside-btn .hb-icon {
    color: var(--hb-text-light);
}

.hb-aside-danger {
    background: #ffeceb;
    color: #ae2e24;
}

.hb-aside-danger:hover {
    background: #ffd5d2;
}

.hb-aside-danger .hb-icon {
    color: #ae2e24;
}

.hb-panel {
    background: #fff;
    border: 1px solid #dcdfe4;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 8px 16px rgba(9, 30, 66, 0.1);
    margin-bottom: 4px;
}

.hb-panel-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hb-panel-labels + .hb-panel-form {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #dcdfe4;
}

.hb-panel-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--hb-text-light);
}

.hb-panel-labels {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hb-label-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    background: transparent;
    border: none;
    padding: 0;
}

.hb-label-row-chip {
    flex: 1;
    min-height: 32px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 4px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
}

.hb-label-row:hover .hb-label-row-chip {
    filter: brightness(0.92);
}

.hb-label-row-check {
    width: 16px;
    color: var(--hb-brand);
    font-weight: 800;
}

.hb-swatches {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
}

.hb-swatch {
    height: 28px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.hb-swatch:hover {
    filter: brightness(0.92);
}

.hb-swatch.hb-active {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--hb-brand);
}

@media (max-width: 720px) {
    .hb-modal-overlay {
        padding: 0;
    }

    .hb-modal {
        border-radius: 0;
        min-height: 100%;
    }

    .hb-modal-body {
        grid-template-columns: minmax(0, 1fr);
        padding: 8px 16px 24px;
    }

    .hb-modal-header {
        padding: 16px 12px 8px 16px;
    }

    .hb-modal-meta,
    .hb-msec > :not(.hb-msec-head) {
        padding-left: 0;
        margin-left: 0;
    }

    .hb-md-editable {
        margin-left: 0 !important;
    }

    .hb-placeholder {
        width: 100%;
    }

    .hb-checkitem-remove {
        opacity: 1;
    }
}

.hb-share-warning {
    background: #fff7d6;
    color: #533f04;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 16px;
}

.hb-sidebar label {
    display: block;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 4px;
}

.hb-share-hint {
    font-size: 12px;
    line-height: 1.5;
    color: var(--hb-text-light);
    margin: 0 0 6px;
}

.hb-share-hint-warn {
    color: #ae2e24;
}

.hb-welcome-overlay {
    align-items: center;
    z-index: 150;
}

.hb-dialog {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 540px;
    padding: 32px;
    box-shadow: 0 24px 64px rgba(9, 30, 66, 0.35);
}

.hb-dialog-key {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #fff7d6;
    color: #7f5f01;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

.hb-dialog h2 {
    margin: 0 0 8px;
    font-size: 22px;
}

.hb-dialog-lead {
    margin: 0 0 16px;
    color: var(--hb-text-light);
    line-height: 1.6;
}

.hb-dialog-link {
    display: flex;
    gap: 8px;
    margin-bottom: 6px;
}

.hb-dialog-link .hb-input {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 13px;
    background: #f7f8f9;
}

.hb-dialog-link .hb-btn-primary {
    white-space: nowrap;
}

.hb-welcome-points {
    list-style: none;
    margin: 20px 0 24px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hb-welcome-points li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.hb-welcome-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #e9f2ff;
    color: var(--hb-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    font-size: 15px;
}

.hb-welcome-points strong {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}

.hb-welcome-points p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--hb-text-light);
}

.hb-dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

@media (max-width: 520px) {
    .hb-dialog {
        padding: 24px 20px;
    }

    .hb-dialog-link {
        flex-direction: column;
    }
}

.hb-view {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.hb-view-switch {
    display: inline-flex;
    background: rgba(0, 0, 0, 0.22);
    border-radius: 8px;
    padding: 3px;
    gap: 2px;
}

.hb-view-switch button {
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
}

.hb-view-switch button:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.hb-view-switch button.hb-active {
    background: #fff;
    color: var(--hb-text);
}

.hb-team-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hb-team-avatars {
    display: inline-flex;
}

.hb-team-avatars .hb-avatar + .hb-avatar {
    margin-left: -6px;
}

.hb-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    flex: none;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
}

.hb-avatar-xs {
    width: 20px;
    height: 20px;
    font-size: 9px;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.25);
}

.hb-avatar-sm {
    width: 24px;
    height: 24px;
    font-size: 10px;
}

.hb-avatar-lg {
    width: 56px;
    height: 56px;
    font-size: 20px;
}

.hb-avatar-empty {
    background: #dcdfe4;
    color: var(--hb-text-light);
    text-shadow: none;
}

.hb-card {
    position: relative;
}

.hb-card-avatar {
    margin-left: auto;
}

.hb-card-today {
    box-shadow: inset 3px 0 0 #f5cd47, 0 1px 0 rgba(9, 30, 66, 0.25);
}

.hb-badge-today {
    background: #fff7d6;
    color: #7f5f01;
}

.hb-card-today-toggle {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    border: none;
    background: #f1f2f4;
    color: #7f5f01;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.1s ease;
}

.hb-card:hover .hb-card-today-toggle,
.hb-card-today-toggle:focus-visible {
    opacity: 1;
}

.hb-card-today-toggle:hover {
    background: #fff7d6;
}

.hb-card-today-toggle.hb-active {
    background: #f5cd47;
    color: #533f04;
}

.hb-lanes {
    flex: 1;
    overflow: auto;
    padding: 0 16px 24px;
}

.hb-lanes-head {
    display: grid;
    gap: 12px;
    position: sticky;
    top: 0;
    z-index: 5;
    padding: 12px 0 8px;
    width: max-content;
}

.hb-lanes-col-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 8px;
}

.hb-lanes-col-title .hb-lane-count {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 12px;
}

.hb-lane {
    margin-top: 12px;
    width: max-content;
}

.hb-lane-header {
    position: sticky;
    left: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    background: rgba(255, 255, 255, 0.92);
    color: var(--hb-text);
    border-radius: 8px;
    padding: 6px 12px 6px 8px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    box-shadow: 0 1px 2px rgba(9, 30, 66, 0.2);
}

.hb-lane-header:hover {
    background: #fff;
}

.hb-lane-caret {
    width: 14px;
    color: var(--hb-text-light);
}

.hb-lane-count {
    font-weight: 500;
    font-size: 12px;
    color: var(--hb-text-light);
}

.hb-lane-unassigned .hb-lane-header {
    background: rgba(255, 255, 255, 0.7);
}

.hb-lane-cells {
    display: grid;
    gap: 12px;
}

.hb-lane-cell-wrap {
    background: rgba(238, 240, 243, 0.92);
    border-radius: 10px;
    padding: 8px 0 4px;
    display: flex;
    flex-direction: column;
}

.hb-lane-cell {
    min-height: 40px;
}

.hb-lane-add {
    border: none;
    background: transparent;
    text-align: left;
    color: var(--hb-text-light);
    font-size: 13px;
    padding: 6px 12px;
    margin: 0 4px;
    border-radius: 6px;
}

.hb-lane-add:hover {
    background: rgba(0, 0, 0, 0.06);
    color: var(--hb-text);
}

.hb-lane-add-form {
    padding: 0 8px 8px;
}

.hb-view-hint {
    max-width: 480px;
    margin: 48px auto;
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    text-align: center;
}

.hb-view-hint h2 {
    margin: 0 0 8px;
    font-size: 20px;
}

.hb-view-hint p {
    color: var(--hb-text-light);
    margin: 0 0 16px;
    line-height: 1.5;
}

.hb-today {
    flex: 1;
    overflow-y: auto;
    padding: 24px 16px 48px;
}

.hb-today > * {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.hb-today-head {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #fff;
    margin-bottom: 16px;
}

.hb-today-head h2 {
    margin: 0;
    font-size: 26px;
}

.hb-today-date {
    margin: 0;
    font-size: 14px;
    opacity: 0.85;
}

.hb-link-btn {
    background: none;
    border: none;
    padding: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    text-decoration: underline;
}

.hb-today-stat {
    margin-left: auto;
    text-align: right;
    display: flex;
    flex-direction: column;
}

.hb-today-stat strong {
    font-size: 26px;
}

.hb-today-stat span {
    font-size: 13px;
    opacity: 0.85;
}

.hb-today-progress {
    margin-bottom: 20px;
}

.hb-today-progress .hb-progress-track {
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
}

.hb-today-progress .hb-progress-bar {
    background: #f5cd47;
}

.hb-today-progress.hb-progress-complete .hb-progress-bar {
    background: #4bce97;
}

.hb-today-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(9, 30, 66, 0.2);
}

.hb-today-card h3 {
    margin: 0 0 4px;
    font-size: 16px;
}

.hb-today-card > .hb-hint {
    margin: 0 0 8px;
}

.hb-today-intro {
    text-align: center;
    padding: 36px 28px;
    margin-top: 32px;
}

.hb-today-intro h2 {
    margin: 8px 0;
    font-size: 24px;
}

.hb-today-intro p {
    color: var(--hb-text-light);
    line-height: 1.6;
}

.hb-today-intro h3 {
    margin: 20px 0 12px;
}

.hb-today-sun {
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff7d6;
    color: #b38600;
    font-size: 28px;
}

.hb-today-empty {
    color: var(--hb-text-light);
    font-size: 14px;
    margin: 8px 0 0;
}

.hb-today-success {
    background: #dcfff1;
    color: #216e4e;
    font-weight: 600;
    border-radius: 8px;
    padding: 10px 12px;
    margin: 8px 0 0;
}

.hb-today-list {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
}

.hb-today-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 8px;
    border-top: 1px solid #f1f2f4;
}

.hb-today-item:first-child {
    border-top: none;
}

.hb-today-text {
    flex: 1;
    min-width: 0;
}

.hb-today-title {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    font-weight: 600;
    font-size: 15px;
    color: var(--hb-text);
    text-align: left;
    cursor: pointer;
}

.hb-today-title:hover {
    color: var(--hb-brand);
    text-decoration: underline;
}

.hb-today-item.hb-done .hb-today-title {
    text-decoration: line-through;
    color: var(--hb-text-light);
}

.hb-today-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
    font-size: 12px;
    color: var(--hb-text-light);
}

.hb-today-meta .hb-label-chip {
    width: 24px;
    height: 6px;
}

.hb-today-action {
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 10px;
    flex: none;
}

.hb-today-add {
    background: #fff7d6;
    color: #7f5f01;
}

.hb-today-add:hover {
    background: #f8e6a0;
}

.hb-today-remove {
    background: transparent;
    color: var(--hb-text-light);
    width: 30px;
    height: 30px;
    padding: 0;
}

.hb-today-remove:hover {
    background: #f1f2f4;
    color: #c9372c;
}

.hb-checkbox-lg {
    width: 22px;
    height: 22px;
    border-radius: 50%;
}

.hb-checkbox-lg::after {
    width: 10px;
    height: 5px;
}

.hb-checkbox-lg:checked {
    background: #22a06b;
    border-color: #22a06b;
}

.hb-dialog-small {
    max-width: 420px;
}

.hb-identity-choices {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.hb-identity-choice {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    border: 1px solid var(--hb-border);
    background: #fff;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 15px;
    font-weight: 600;
    color: var(--hb-text);
}

.hb-identity-choice:hover,
.hb-identity-choice:focus-visible {
    border-color: var(--hb-brand);
    background: #e9f2ff;
    outline: none;
}

.hb-identity-choice.hb-active {
    border-color: var(--hb-brand);
}

.hb-team-list {
    list-style: none;
    margin: 12px 0 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hb-team-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px;
    border-radius: 8px;
}

.hb-team-row:hover {
    background: #f7f8f9;
}

.hb-team-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.hb-team-name {
    font: inherit;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid transparent;
    background: transparent;
    border-radius: 4px;
    padding: 2px 4px;
    margin-left: -5px;
    color: var(--hb-text);
}

.hb-team-name:focus {
    outline: none;
    border-color: var(--hb-brand);
    background: #fff;
}

.hb-team-count {
    font-size: 12px;
    color: var(--hb-text-light);
}

.hb-team-me {
    border: 1px solid var(--hb-border);
    background: #fff;
    border-radius: 6px;
    font-size: 12px;
    padding: 4px 8px;
    color: var(--hb-text-light);
    white-space: nowrap;
}

.hb-team-me.hb-active {
    background: #e9f2ff;
    border-color: var(--hb-brand);
    color: var(--hb-brand);
    font-weight: 600;
}

.hb-team-delete {
    border: none;
    background: transparent;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    color: var(--hb-text-light);
}

.hb-team-delete:hover {
    background: #ffeceb;
    color: #c9372c;
}

.hb-assignee {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    padding: 0 10px 0 4px;
    border-radius: 16px;
    background: #e4e6ea;
    border: none;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--hb-text);
}

button.hb-assignee:hover {
    background: #d5d8dd;
}

.hb-today-pill {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 4px;
    background: #fff7d6;
    color: #7f5f01;
    font-size: 14px;
    font-weight: 600;
}

.hb-today-pill-done {
    background: #dcfff1;
    color: #216e4e;
}

.hb-aside-today.hb-active {
    background: #fff7d6;
    color: #7f5f01;
}

.hb-member-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    border: none;
    background: transparent;
    padding: 6px;
    border-radius: 6px;
    text-align: left;
    font-size: 14px;
    color: var(--hb-text);
}

.hb-member-row:hover {
    background: #f1f2f4;
}

.hb-member-row-name {
    flex: 1;
}

@media (max-width: 900px) {
    .hb-view-switch {
        order: 5;
        width: 100%;
    }

    .hb-view-switch button {
        flex: 1;
    }
}

.hb-notes {
    flex: 1;
    overflow: auto;
    position: relative;
}

.hb-notes-bar {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(6px);
}

.hb-notes-hint {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
}

.hb-notes-canvas {
    position: relative;
    min-width: 1600px;
    min-height: 1100px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1.5px, transparent 1.5px);
    background-size: 28px 28px;
}

.hb-notes-empty {
    position: absolute;
    top: 48px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.9);
    background: rgba(0, 0, 0, 0.25);
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    max-width: 90%;
}

.hb-note {
    position: absolute;
    cursor: grab;
    touch-action: none;
    border-radius: 4px;
    box-shadow: 0 6px 16px rgba(9, 30, 66, 0.28);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.15s ease;
}

.hb-note-dragging {
    box-shadow: 0 18px 36px rgba(9, 30, 66, 0.4);
    transform: rotate(-1deg);
    cursor: grabbing;
}

.hb-note-text {
    cursor: text;
}

.hb-note-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;
    padding: 4px 4px 0;
    cursor: grab;
    touch-action: none;
    opacity: 0;
    transition: opacity 0.1s ease;
}

.hb-note:hover .hb-note-bar,
.hb-note:focus-within .hb-note-bar {
    opacity: 1;
}

.hb-note-dragging .hb-note-bar {
    cursor: grabbing;
    opacity: 1;
}

.hb-note-grip {
    margin-right: auto;
    padding-left: 6px;
    color: rgba(0, 0, 0, 0.35);
    font-size: 13px;
    letter-spacing: -1px;
}

.hb-note-btn {
    border: none;
    background: transparent;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.55);
}

.hb-note-btn:hover {
    background: rgba(0, 0, 0, 0.12);
    color: rgba(0, 0, 0, 0.8);
}

.hb-note-delete:hover {
    background: #c9372c;
    color: #fff;
}

.hb-note-text {
    flex: 1;
    width: 100%;
    border: none;
    background: transparent;
    resize: none;
    font: inherit;
    font-size: 14px;
    line-height: 1.45;
    color: #172b4d;
    padding: 4px 12px 12px;
}

.hb-note-text:focus {
    outline: none;
}

.hb-note-text::placeholder {
    color: rgba(0, 0, 0, 0.35);
}

.hb-note-resize {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 18px;
    height: 18px;
    cursor: nwse-resize;
    touch-action: none;
    background: linear-gradient(135deg, transparent 50%, rgba(0, 0, 0, 0.25) 50%);
    border-bottom-right-radius: 4px;
}

.hb-note-palette {
    position: absolute;
    top: 30px;
    right: 6px;
    display: grid;
    grid-template-columns: repeat(4, 22px);
    gap: 4px;
    padding: 6px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(9, 30, 66, 0.3);
    z-index: 20;
}

.hb-note-swatch {
    width: 22px;
    height: 22px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.hb-note-swatch.hb-active {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--hb-brand);
}

.hb-note-yellow { background: #faf3c0; }
.hb-note-green { background: #cdf7e3; }
.hb-note-blue { background: #cfe3ff; }
.hb-note-pink { background: #fdd0ec; }
.hb-note-purple { background: #e2d8fd; }
.hb-note-orange { background: #ffe2cc; }
.hb-note-grey { background: #e6e9ee; }

.hb-notes-svg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: visible;
}

.hb-notes-linkui {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hb-link-line {
    fill: none;
    stroke: rgba(255, 255, 255, 0.85);
    stroke-width: 2.5;
    stroke-linecap: round;
}

.hb-arrowhead {
    fill: rgba(255, 255, 255, 0.85);
}

.hb-link-hit {
    fill: none;
    stroke: transparent;
    stroke-width: 16;
    pointer-events: stroke;
    cursor: pointer;
}

.hb-link:hover .hb-link-line {
    stroke: #ffffff;
    stroke-width: 3.5;
}

.hb-link-selected .hb-link-line {
    stroke: #f5cd47;
    stroke-width: 3.5;
}

.hb-link-selected .hb-arrowhead {
    fill: #f5cd47;
}

.hb-link-temp {
    fill: none;
    stroke: #f5cd47;
    stroke-width: 2.5;
    stroke-dasharray: 6 5;
    stroke-linecap: round;
}

.hb-link-label {
    position: absolute;
    transform: translate(-50%, -50%);
    background: rgba(9, 30, 66, 0.82);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 10px;
    white-space: nowrap;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hb-link-tools {
    position: absolute;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 4px;
    padding: 4px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(9, 30, 66, 0.35);
    pointer-events: auto;
    z-index: 30;
}

.hb-link-tool {
    border: none;
    background: #f1f2f4;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 9px;
    color: var(--hb-text);
    white-space: nowrap;
}

.hb-link-tool:hover {
    background: #dcdfe4;
}

.hb-link-tool-danger {
    background: #ffeceb;
    color: #ae2e24;
}

.hb-link-tool-danger:hover {
    background: #ffd5d2;
}

.hb-note-connector {
    position: absolute;
    right: -9px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: var(--hb-brand);
    padding: 0;
    cursor: crosshair;
    opacity: 0;
    transition: opacity 0.1s ease, transform 0.1s ease;
    touch-action: none;
}

.hb-note:hover .hb-note-connector,
.hb-note-connector:focus-visible {
    opacity: 1;
}

.hb-note-connector:hover {
    transform: translateY(-50%) scale(1.2);
}

.hb-notes-linking .hb-note {
    cursor: crosshair;
}

.hb-notes-linking .hb-note-text {
    pointer-events: none;
}

.hb-note-link-target {
    outline: 3px solid #f5cd47;
    outline-offset: 2px;
}

@media (max-width: 640px) {
    .hb-note-connector {
        opacity: 1;
    }
}

@media (max-width: 640px) {
    .hb-note-bar {
        opacity: 1;
    }
}

@media (max-width: 640px) {
    .hb-card-today-toggle {
        opacity: 1;
    }

    .hb-today-head h2 {
        font-size: 22px;
    }

    .hb-today-stat strong {
        font-size: 20px;
    }
}

@media (max-width: 640px) {
    .hb-lists {
        gap: 10px;
    }

    .hb-sidebar {
        width: 100%;
    }
}

@media (max-width: 960px) {
    .hb-nav-links {
        display: none;
    }

    .hb-nav-cta {
        margin-left: auto;
    }

    .hb-features,
    .hb-steps {
        grid-template-columns: 1fr 1fr;
    }

    .hb-usecases {
        grid-template-columns: 1fr 1fr;
    }

    .hb-demo-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 640px) {
    .hb-hero {
        padding: 40px 0;
    }

    .hb-hero h1 {
        font-size: 36px;
    }

    .hb-hero-lead {
        font-size: 17px;
    }

    .hb-section,
    .hb-demo {
        padding: 56px 0;
    }

    .hb-section h2,
    .hb-demo h2,
    .hb-cta h2 {
        font-size: 28px;
    }

    .hb-features,
    .hb-steps,
    .hb-usecases {
        grid-template-columns: 1fr;
    }

    .hb-create-form {
        flex-direction: column;
    }

    .hb-demo-preview {
        transform: none;
    }

    .hb-demo-banner a {
        margin-left: 0;
    }

    .hb-nav-inner {
        gap: 12px;
    }

    .hb-nav-cta {
        padding: 8px 12px;
        font-size: 13px;
    }

    .hb-brand-name {
        font-size: 18px;
    }
}
