:root {
    --fbd-bg: #f3f3f3;
    --fbd-surface: #ffffff;
    --fbd-surface-strong: #121212;
    --fbd-border: rgba(17, 17, 17, 0.08);
    --fbd-ink: #141414;
    --fbd-muted: #5b5b5b;
    --fbd-accent: #111111;
    --fbd-accent-strong: #111111;
    --fbd-success: #0f766e;
    --fbd-danger: #b91c1c;
    --fbd-planned: #d97706;
    --fbd-planned-soft: #fff7ed;
    --fbd-active: #0f766e;
    --fbd-active-soft: #ecfdf5;
    --fbd-done: #2563eb;
    --fbd-done-soft: #eff6ff;
    --fbd-risk: #b91c1c;
    --fbd-risk-soft: #fef2f2;
    --fbd-shadow: 0 24px 60px rgba(14, 18, 15, 0.06);
}

body.page-template-default .fbd-dashboard,
body .fbd-dashboard {
    color: var(--fbd-ink);
}

body .fbd-dashboard a {
    text-decoration: none;
}

body .fbd-dashboard,
body .fbd-dashboard * {
    box-sizing: border-box;
}

body .fbd-dashboard {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 40px 20px 80px;
    background: linear-gradient(180deg, #ffffff 0%, var(--fbd-bg) 100%);
}

body .fbd-dashboard__hero {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(300px, 0.7fr);
    gap: 28px;
    max-width: 1600px;
    margin: 0 auto 28px;
    padding: 36px;
    border-radius: 28px;
    background: linear-gradient(135deg, #0f0f10 0%, #1b1b1d 55%, #242426 100%);
    box-shadow: var(--fbd-shadow);
    overflow: hidden;
    position: relative;
}

body .fbd-dashboard__hero::after {
    content: '';
    position: absolute;
    inset: auto -10% -32% auto;
    width: 320px;
    height: 320px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 68%);
    pointer-events: none;
}

body .fbd-dashboard__eyebrow,
body .fbd-footer-auth__eyebrow {
    margin: 0 0 10px;
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.64);
}

body .fbd-component__eyebrow,
body .fbd-element__eyebrow {
    margin: 0 0 10px;
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(17, 17, 17, 0.5);
}

body .fbd-dashboard__title {
    margin: 0;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1;
    color: #ffffff;
    font-family: Georgia, 'Times New Roman', serif;
}

body .fbd-dashboard__subtitle {
    margin: 18px 0 0;
    max-width: 640px;
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.74);
}

body .fbd-dashboard__hero-meta {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    padding: 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
    z-index: 1;
}

body .fbd-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

body .fbd-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.86);
    font-size: 13px;
}

body .fbd-pill--solid {
    border-color: transparent;
    background: #ffffff;
    color: #111111;
    font-weight: 700;
}

body .fbd-secondary-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-weight: 600;
}

body .fbd-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

body .fbd-components {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1600px;
    margin: 0 auto;
}

body .fbd-component {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 28px;
    border-radius: 26px;
    background: var(--fbd-surface);
    box-shadow: var(--fbd-shadow);
    border: 1px solid rgba(17, 17, 17, 0.05);
}

body .fbd-component--it {
    background:
        linear-gradient(180deg, rgba(17, 17, 17, 0.04) 0%, rgba(255, 255, 255, 0) 18%),
        var(--fbd-surface);
}

body .fbd-component--mini {
    min-height: 0;
}

body .fbd-component__title {
    margin: 0;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.08;
    font-family: Georgia, 'Times New Roman', serif;
}

body .fbd-component__description {
    margin: 10px 0 0;
    max-width: none;
    color: var(--fbd-muted);
    font-size: 15px;
    line-height: 1.7;
}

body .fbd-component__body {
    display: grid;
    gap: 18px;
}

body .fbd-component__body--overview {
    grid-template-columns: 1fr;
}

body .fbd-component__body--it {
    grid-template-columns: 1fr;
    align-items: start;
}

body .fbd-component__body--home {
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    align-items: stretch;
}

body .fbd-element {
    border-radius: 22px;
    padding: 22px;
    border: 1px solid var(--fbd-border);
    background: rgba(255, 255, 255, 0.75);
}

body .fbd-element--gantt {
    min-height: 100%;
    width: 100%;
}

body .fbd-element__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

body .fbd-element__header--stacked {
    margin-bottom: 16px;
}

body .fbd-element__title {
    margin: 0;
    font-size: 22px;
    line-height: 1.15;
}

body .fbd-element__text {
    margin: 8px 0 0;
    color: var(--fbd-muted);
    line-height: 1.65;
}

body .fbd-refresh-button {
    appearance: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: #111111;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

body .fbd-refresh-button:hover,
body .fbd-refresh-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(17, 17, 17, 0.24);
}

body .fbd-footer-auth__button {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: #ffffff;
    color: #111111;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

body .fbd-footer-auth__button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
    background: #f3f3f3;
}

body .fbd-refresh-button[disabled] {
    cursor: wait;
    opacity: 0.7;
}

body .fbd-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

body .fbd-metric-card {
    padding: 14px;
    border-radius: 18px;
    background: #f8f4eb;
    border: 1px solid rgba(179, 138, 67, 0.16);
}

body .fbd-metric-card__label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--fbd-muted);
}

body .fbd-metric-card__value {
    font-size: 26px;
    line-height: 1;
    color: var(--fbd-ink);
}

body .fbd-meta-list {
    display: grid;
    gap: 14px;
    margin: 0;
}

body .fbd-meta-list div {
    display: grid;
    gap: 4px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

body .fbd-meta-list dt {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fbd-muted);
}

body .fbd-meta-list dd {
    margin: 0;
    color: var(--fbd-ink);
    font-weight: 600;
}

body .fbd-inline-message {
    margin: 16px 0 0;
    padding: 14px 16px;
    border-radius: 16px;
    background: #fcf4e6;
    color: var(--fbd-accent-strong);
    border: 1px solid rgba(179, 138, 67, 0.2);
    line-height: 1.6;
}

body .fbd-gantt-shell {
    display: grid;
    gap: 18px;
}

body .fbd-gantt-empty {
    padding: 28px;
    border-radius: 20px;
    background: #faf7f0;
    border: 1px dashed rgba(17, 17, 17, 0.14);
}

body .fbd-gantt-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

body .fbd-gantt-summary__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f1f1f1;
    color: var(--fbd-ink);
    font-size: 13px;
}

body .fbd-gantt-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

body .fbd-gantt-legend__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--fbd-muted);
    font-size: 13px;
}

body .fbd-gantt-legend__swatch {
    width: 12px;
    height: 12px;
    border-radius: 999px;
}

body .fbd-gantt-legend__swatch--planned { background: var(--fbd-planned); }
body .fbd-gantt-legend__swatch--active { background: var(--fbd-active); }
body .fbd-gantt-legend__swatch--risk { background: var(--fbd-risk); }
body .fbd-gantt-legend__swatch--done { background: var(--fbd-done); }

body .fbd-gantt-desktop {
    position: relative;
    border-radius: 22px;
    border: 1px solid var(--fbd-border);
    overflow: hidden;
    background: #ffffff;
}

body .fbd-gantt__header {
    display: grid;
    grid-template-columns: 320px 1fr;
    border-bottom: 1px solid var(--fbd-border);
    background: #f5f5f5;
}

body .fbd-gantt__sidebar-head {
    padding: 18px 18px 14px;
    border-right: 1px solid var(--fbd-border);
}

body .fbd-gantt__sidebar-title {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fbd-muted);
}

body .fbd-gantt__sidebar-subtitle {
    margin: 0;
    color: var(--fbd-muted);
    font-size: 13px;
}

body .fbd-gantt__months {
    display: flex;
    min-height: 100%;
}

body .fbd-gantt__month {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 8px;
    border-left: 1px solid rgba(17, 17, 17, 0.04);
    color: var(--fbd-muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body .fbd-gantt__body {
    position: relative;
}

body .fbd-gantt__overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 320px;
    pointer-events: none;
    z-index: 2;
}

body .fbd-gantt__row {
    display: grid;
    grid-template-columns: 320px 1fr;
    min-height: 82px;
    border-bottom: 1px solid rgba(17, 17, 17, 0.05);
}

body .fbd-gantt__sidebar {
    padding: 0;
    border-right: 1px solid var(--fbd-border);
    background: #ffffff;
}

body .fbd-gantt__sidebar-button {
    appearance: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    min-height: 82px;
    padding: 16px 18px;
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.18s ease;
}

body .fbd-gantt__sidebar-button:hover {
    background: rgba(17, 17, 17, 0.03);
}

body .fbd-gantt__item-key {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #efefef;
    color: var(--fbd-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

body .fbd-gantt__item-title {
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.35;
}

body .fbd-gantt__item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--fbd-muted);
    font-size: 12px;
}

body .fbd-gantt__timeline {
    position: relative;
    background:
        linear-gradient(180deg, rgba(243, 243, 243, 0.7), rgba(255, 255, 255, 0)),
        repeating-linear-gradient(
            90deg,
            rgba(17, 17, 17, 0.04),
            rgba(17, 17, 17, 0.04) 1px,
            transparent 1px,
            transparent calc(100% / 30)
        );
}

body .fbd-gantt__track {
    position: relative;
    height: 100%;
    min-height: 82px;
}

body .fbd-gantt__today {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(17, 17, 17, 0.88);
    box-shadow: 0 0 0 6px rgba(17, 17, 17, 0.08);
    z-index: 2;
}

body .fbd-gantt__today::before {
    content: 'Today';
    position: absolute;
    top: 10px;
    left: 8px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #111111;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body .fbd-gantt__bar {
    appearance: none;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 0 12px;
    border-radius: 999px;
    white-space: nowrap;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 10px 18px rgba(17, 17, 17, 0.12);
    z-index: 3;
}

body .fbd-gantt__bar-button:hover {
    filter: brightness(1.04);
}

body .fbd-gantt__bar--planned { background: var(--fbd-planned); }
body .fbd-gantt__bar--active { background: var(--fbd-active); }
body .fbd-gantt__bar--risk { background: var(--fbd-risk); }
body .fbd-gantt__bar--done { background: var(--fbd-done); }

body .fbd-mini-highlight {
    display: grid;
    gap: 12px;
    padding: 28px;
    border-radius: 22px;
    background: #111111;
    color: #ffffff;
}

body .fbd-mini-highlight__title {
    margin: 0;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.08;
    font-family: Georgia, 'Times New Roman', serif;
}

body .fbd-mini-highlight__meta,
body .fbd-mini-highlight__window {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
}

body .fbd-mini-actions {
    margin-top: 10px;
}

body .fbd-mini-actions .fbd-refresh-button {
    background: #ffffff;
    color: #111111;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

body .fbd-mini-actions .fbd-refresh-button:hover {
    background: #ededed;
}

body .fbd-mini-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

body .fbd-mini-metric {
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 18px;
    background: #f5f5f5;
    border: 1px solid rgba(17, 17, 17, 0.06);
}

body .fbd-mini-metric--full {
    grid-column: 1 / -1;
}

body .fbd-mini-metric__label {
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fbd-muted);
}

body .fbd-mini-metric__value {
    font-size: 28px;
    line-height: 1.05;
    color: var(--fbd-ink);
}

body .fbd-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body .fbd-status-pill--active {
    background: var(--fbd-active);
}

body .fbd-status-pill--planned { background: var(--fbd-planned); }
body .fbd-status-pill--done { background: var(--fbd-done); }
body .fbd-status-pill--risk { background: var(--fbd-risk); }

body .fbd-gantt-mobile {
    display: none;
    gap: 12px;
}

body .fbd-gantt-mobile__card {
    appearance: none;
    width: 100%;
    border: 1px solid var(--fbd-border);
    cursor: pointer;
    text-align: left;
    padding: 18px;
    border-radius: 18px;
    background: #ffffff;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

body .fbd-gantt-mobile__card:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(17, 17, 17, 0.08);
}

body .fbd-gantt-mobile__card h4 {
    margin: 0 0 10px;
    font-size: 17px;
}

body .fbd-gantt-mobile__meta {
    margin: 0;
    display: grid;
    gap: 6px;
    color: var(--fbd-muted);
    font-size: 13px;
}

body .fbd-element--ticket-form {
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.02), rgba(255, 255, 255, 0.95));
}

body .fbd-ticket-notice {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid var(--fbd-border);
}

body .fbd-ticket-notice--success {
    background: var(--fbd-active-soft);
    border-color: rgba(15, 118, 110, 0.2);
    color: var(--fbd-active);
}

body .fbd-ticket-notice--error {
    background: var(--fbd-risk-soft);
    border-color: rgba(185, 28, 28, 0.16);
    color: var(--fbd-risk);
}

body .fbd-ticket-notice__text {
    margin: 0;
    line-height: 1.6;
}

body .fbd-ticket-notice__meta {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--fbd-muted);
}

body .fbd-ticket-notice__text a {
    color: inherit;
    font-weight: 700;
    text-decoration: underline;
}

body .fbd-ticket-notice__list {
    margin: 0;
    padding-left: 18px;
}

body .fbd-ticket-notice__list li {
    margin: 0;
    line-height: 1.5;
}

body .fbd-ticket-form {
    display: grid;
    gap: 18px;
}

body .fbd-ticket-form__section {
    display: grid;
    gap: 12px;
}

body .fbd-ticket-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

body .fbd-ticket-form__field {
    display: grid;
    gap: 10px;
}

body .fbd-ticket-form__field--full {
    grid-column: 1 / -1;
}

body .fbd-ticket-form__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fbd-muted);
}

body .fbd-ticket-form__choice-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

body .fbd-ticket-form__choice {
    position: relative;
}

body .fbd-ticket-form__choice input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

body .fbd-ticket-form__choice span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid var(--fbd-border);
    background: #f3f3f3;
    color: var(--fbd-ink);
    font-weight: 700;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

body .fbd-ticket-form__choice input:checked + span {
    background: #111111;
    color: #ffffff;
    border-color: #111111;
}

body .fbd-ticket-form__choice:hover span {
    transform: translateY(-1px);
}

body .fbd-ticket-form__input {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(17, 17, 17, 0.12);
    background: #ffffff;
    color: var(--fbd-ink);
    font: inherit;
}

body .fbd-ticket-form__input--textarea {
    min-height: 160px;
    resize: vertical;
}

body .fbd-ticket-form__input--file {
    padding: 10px 12px;
}

body .fbd-ticket-form__help {
    margin: 0;
    color: var(--fbd-muted);
    font-size: 13px;
    line-height: 1.6;
}

body .fbd-ticket-form__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 4px;
}

body .fbd-ticket-form__help--inline {
    max-width: 540px;
}

body.fbd-modal-open {
    overflow: hidden;
}

body .fbd-issue-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 99999;
}

body .fbd-issue-modal.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body .fbd-issue-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.72);
    backdrop-filter: blur(6px);
}

body .fbd-issue-modal__dialog {
    position: relative;
    width: min(960px, 100%);
    max-height: min(82vh, 900px);
    border-radius: 28px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.32);
}

body .fbd-issue-modal__content {
    position: relative;
    display: grid;
    gap: 18px;
    padding: 28px;
    max-height: min(82vh, 900px);
    overflow: auto;
}

body .fbd-issue-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

body .fbd-issue-modal__title {
    margin: 12px 0 0;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.05;
    font-family: Georgia, 'Times New Roman', serif;
}

body .fbd-issue-modal__subtitle {
    margin: 10px 0 0;
    color: var(--fbd-muted);
    line-height: 1.6;
}

body .fbd-issue-modal__close {
    appearance: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    background: #111111;
    color: #ffffff;
    font-weight: 700;
}

body .fbd-issue-modal__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

body .fbd-issue-modal__stat {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #f3f3f3;
    color: var(--fbd-ink);
    font-size: 13px;
}

body .fbd-issue-list {
    display: grid;
    gap: 14px;
}

body .fbd-issue-card {
    display: grid;
    gap: 12px;
    padding: 18px;
    border-radius: 20px;
    background: #f7f7f7;
    border: 1px solid var(--fbd-border);
}

body .fbd-issue-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

body .fbd-issue-card__key {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: #111111;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body .fbd-issue-card__title {
    margin: 0;
    font-size: 18px;
    line-height: 1.35;
}

body .fbd-issue-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body .fbd-issue-card__meta span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid var(--fbd-border);
    color: var(--fbd-muted);
    font-size: 13px;
}

body .fbd-ticket-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body .fbd-ticket-status--planned {
    background: var(--fbd-planned-soft);
    color: var(--fbd-planned);
}

body .fbd-ticket-status--active {
    background: var(--fbd-active-soft);
    color: var(--fbd-active);
}

body .fbd-ticket-status--risk {
    background: var(--fbd-risk-soft);
    color: var(--fbd-risk);
}

body .fbd-ticket-status--done {
    background: var(--fbd-done-soft);
    color: var(--fbd-done);
}

body .fbd-issue-card__link {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    color: #111111;
    font-weight: 700;
}

body .fbd-issue-modal__empty {
    display: grid;
    gap: 8px;
    padding: 20px;
    border-radius: 18px;
    background: #f7f7f7;
    border: 1px dashed var(--fbd-border);
}

body .fbd-issue-modal__empty p {
    margin: 0;
    color: var(--fbd-muted);
    line-height: 1.6;
}

body .fbd-footer-auth {
    margin: 24px auto 0;
    max-width: 1180px;
    padding: 0 20px 20px;
}

body .fbd-footer-auth__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 22px;
    border-radius: 22px;
    background: #151515;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body .fbd-footer-auth__copy {
    min-width: 0;
}

body .fbd-footer-auth__title {
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
}

body .fbd-footer-auth__notice {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.55;
}

body .fbd-footer-auth__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

body .fbd-footer-auth__link {
    color: rgba(255, 255, 255, 0.84);
    font-size: 14px;
    font-weight: 600;
}

body .fbd-refresh-button:focus-visible,
body .fbd-footer-auth__button:focus-visible,
body .fbd-footer-auth__link:focus-visible,
body .fbd-secondary-link:focus-visible,
body .fbd-gantt__sidebar-button:focus-visible,
body .fbd-gantt__bar-button:focus-visible,
body .fbd-gantt-mobile__card:focus-visible,
body .fbd-issue-modal__close:focus-visible,
body .fbd-issue-card__link:focus-visible,
body .fbd-issue-card__key:focus-visible,
body .fbd-ticket-form__choice input:focus-visible + span,
body .fbd-ticket-form__input:focus-visible {
    outline: 3px solid rgba(17, 17, 17, 0.32);
    outline-offset: 3px;
}

@media (max-width: 1100px) {
    body .fbd-components,
    body .fbd-component__body--it,
    body .fbd-component__body--home,
    body .fbd-dashboard__hero {
        grid-template-columns: 1fr;
    }

    body .fbd-dashboard__hero-meta {
        min-width: 0;
    }
}

@media (max-width: 820px) {
    body .fbd-dashboard {
        padding: 24px 14px 60px;
    }

    body .fbd-dashboard__hero,
    body .fbd-component {
        padding: 22px;
        border-radius: 22px;
    }

    body .fbd-gantt-desktop {
        display: none;
    }

    body .fbd-gantt__overlay {
        display: none;
    }

    body .fbd-gantt-mobile {
        display: grid;
    }

    body .fbd-mini-metrics {
        grid-template-columns: 1fr;
    }

    body .fbd-meta-grid {
        grid-template-columns: 1fr;
    }

    body .fbd-element__header,
    body .fbd-footer-auth__inner,
    body .fbd-footer-auth__actions {
        flex-direction: column;
        align-items: stretch;
    }

    body .fbd-ticket-form__grid {
        grid-template-columns: 1fr;
    }

    body .fbd-ticket-form__actions {
        flex-direction: column;
        align-items: stretch;
    }

    body .fbd-issue-modal {
        padding: 14px;
    }

    body .fbd-issue-modal__content {
        padding: 20px;
    }

    body .fbd-issue-modal__header,
    body .fbd-issue-card__head {
        flex-direction: column;
        align-items: flex-start;
    }
}
