html, body, #root { margin: 0; min-height: 100%; }
body { background: #0d0b09; }

/* ثيم TATAKI الغامق: اللوجو نيون على أسود هو أرضية النظام */
.tk-app {
    --ds-page: #171310;
    --ds-raised: #241d15;
    --ds-ink: #f4eddd;
    --ds-ink-2: #e2d6bd;
    --ds-ink-4: #b3a58b;
    --ds-hairline: #5c4d38;
    --ds-teal: #e9c25c;
    --ds-red: #ff9a9a;
    background-color: #0d0b09;
    background-repeat: repeat;
    background-size: 380px 380px;
    min-height: 100%;
}
.tk-app, .tk-app > *, .tk-app > * > * { background-color: transparent !important; }
.tk-app input, .tk-app select { color-scheme: dark; }

.file-nav { display: flex; flex-wrap: wrap; gap: 20px; border-bottom: 1px solid var(--ds-hairline); margin-bottom: 20px; }
.file-nav a { padding: 10px 0; color: var(--ds-ink-2); text-decoration: none; }
.file-nav a[aria-current="page"] { color: var(--ds-teal); box-shadow: inset 0 -1px 0 var(--ds-teal); }
@media (max-width: 600px) { .file-nav a { display: inline-flex; align-items: center; min-height: 44px; } }

/* هيدر النظام زي لوحات الـ ERP */
.tk-hero { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px; margin-bottom: 24px; background: rgba(20, 15, 10, 0.94); border: 1px solid #4a3d28; border-radius: 16px; }
.tk-hero-logo { width: 84px; height: 84px; border-radius: 14px; object-fit: cover; border: 1px solid #4a3d28; }
.tk-hero-txt { flex: 1; min-width: 180px; }
.tk-hero-brand { font-size: 26px; font-weight: 600; letter-spacing: 0.06em; color: #e9c25c; text-shadow: 0 0 14px rgba(233, 194, 92, 0.45); }
.tk-hero-brand span { font-size: 13px; letter-spacing: 0.2em; color: #bfb096; }
.tk-hero-sub { color: var(--ds-ink-2); margin-top: 2px; }
.tk-hero-greet { color: var(--ds-ink); margin-top: 6px; font-weight: 600; }
.tk-hero-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.tk-hero-clock { font-size: 24px; font-weight: 600; color: #e9c25c; font-variant-numeric: tabular-nums; }
.tk-hero-date { color: var(--ds-ink-2); font-size: 12px; }

/* البلاطات */
.tk-section { margin-bottom: 26px; }
.tk-sec-label { font-weight: 600; color: #e9c25c; margin-bottom: 10px; font-size: 15px; }
.tk-sec-note { color: var(--ds-ink-2); font-size: 12px; margin-top: 8px; }
.tk-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (min-width: 768px) { .tk-tiles { grid-template-columns: repeat(6, 1fr); } }
.tk-tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 88px; padding: 10px 6px; background: rgba(23, 18, 13, 0.93); border: 1px solid #3a3125; border-radius: 10px; color: var(--ds-ink); font: inherit; font-size: 13px; text-align: center; text-decoration: none; cursor: pointer; }
a.tk-tile:hover, button.tk-tile:hover { border-color: #e9c25c; box-shadow: 0 0 12px rgba(233, 194, 92, 0.25); }
.tk-tile-ic { font-size: 20px; }
.tk-tile-label { line-height: 1.4; }
.tk-tile.is-off { opacity: 0.45; cursor: default; }
.tk-tile-soon { position: absolute; top: 6px; inset-inline-start: 6px; font-size: 10px; color: #0d0b09; background: #e9c25c; border-radius: 4px; padding: 1px 6px; }

/* القيود */
.tk-jentry { border: 1px solid var(--ds-hairline); border-radius: 10px; background: rgba(23, 18, 13, 0.93); padding: 12px 14px; margin-bottom: 12px; }
.tk-jhead { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.tk-jmemo { font-weight: 600; }
.tk-jtag { font-size: 11px; color: #0d0b09; background: #e9c25c; border-radius: 4px; padding: 1px 8px; white-space: nowrap; }
.tk-jline { display: grid; grid-template-columns: 1fr 110px 110px; gap: 8px; padding: 3px 0; color: var(--ds-ink-2); }
.tk-jline .tk-num { text-align: end; color: var(--ds-ink); font-variant-numeric: tabular-nums; }
.tk-jtot { border-top: 1px solid var(--ds-hairline); margin-top: 6px; padding-top: 8px; font-weight: 600; color: var(--ds-ink); }
.tk-trial-tot { padding: 12px 0 0; }

/* الأصول والعقود */
.tk-asset { border: 1px solid var(--ds-hairline); border-radius: 10px; background: rgba(23, 18, 13, 0.93); padding: 14px; margin-bottom: 14px; }
.tk-asset-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 6px; }

/* باقي شاشات التشغيل */
.tk-label { display: block; margin: 0 0 6px; color: var(--ds-ink-2); }
.tk-select { width: 100%; box-sizing: border-box; min-height: 44px; padding: 8px 12px; border: 1px solid var(--ds-hairline); border-radius: 4px; background: #171310 !important; color: var(--ds-ink); font: inherit; margin-bottom: 16px; }
.tk-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tk-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.tk-kpi { display: flex; flex-direction: column; gap: 6px; padding: 14px; border: 1px solid var(--ds-hairline); border-radius: 12px; min-width: 0; background: rgba(23, 18, 13, 0.93); }
.tk-kpi-label { color: var(--ds-ink-2); }
.tk-kpi-value { font-size: 20px; line-height: 28px; color: var(--ds-teal); font-weight: 600; overflow-wrap: anywhere; }
.tk-tables { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.tk-table { display: flex; flex-direction: column; gap: 4px; min-height: 76px; padding: 14px; border: 1px solid var(--ds-hairline); border-radius: 12px; background: rgba(23, 18, 13, 0.93); color: var(--ds-ink); font: inherit; text-align: start; text-decoration: none; cursor: pointer; }
.tk-table.is-free { border-color: rgba(46, 230, 168, 0.55); }
.tk-table.is-busy { border-color: #ff5470; background: rgba(92, 20, 34, 0.55) !important; box-shadow: 0 0 12px rgba(255, 84, 112, 0.25); }
.tk-table.is-res { border-color: #ffd166; background: rgba(96, 76, 20, 0.5) !important; box-shadow: 0 0 12px rgba(255, 209, 102, 0.22); }
.tk-table-wrap { display: flex; flex-direction: column; gap: 6px; }
.tk-res-btn { align-self: flex-start; font: inherit; font-size: 12px; padding: 3px 10px; border-radius: 8px; border: 1px solid var(--ds-hairline); background: rgba(30, 24, 18, 0.9); color: var(--ds-ink-2); cursor: pointer; }
.tk-legend { display: flex; gap: 18px; margin-bottom: 10px; color: var(--ds-ink-2); font-size: 13px; }
.tk-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-inline-end: 6px; }
.tk-dot-free { background: #2ee6a8; box-shadow: 0 0 6px #2ee6a8; }
.tk-dot-busy { background: #ff5470; box-shadow: 0 0 6px #ff5470; }
.tk-dot-res { background: #ffd166; box-shadow: 0 0 6px #ffd166; }
.tk-table-no { font-weight: 600; }
.tk-table-state { color: var(--ds-ink-2); }
.tk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tk-chip { min-height: 44px; min-width: 44px; padding: 0 14px; border: 1px solid var(--ds-hairline); border-radius: 4px; background: #171310 !important; color: var(--ds-ink); font: inherit; cursor: pointer; }
.tk-chip.is-on { background: var(--ds-teal) !important; border-color: var(--ds-teal); color: #171310; font-weight: 600; }
.tk-offers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tk-offer { display: flex; flex-direction: column; justify-content: space-between; gap: 6px; min-height: 76px; padding: 12px; border: 1px solid var(--ds-hairline); border-radius: 12px; background: rgba(23, 18, 13, 0.93) !important; color: var(--ds-ink); font: inherit; text-align: start; cursor: pointer; }
.tk-offer-name { font-weight: 600; }
.tk-offer-price { color: var(--ds-teal); font-weight: 600; }
.tk-total { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0; padding-top: 12px; border-top: 1px solid var(--ds-hairline); }
.tk-total strong { font-size: 20px; color: var(--ds-teal); }
.tk-pos { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 720px) { .tk-pos { grid-template-columns: 1fr; } }
.tk-pos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 8px; }
.tk-pos-item { display: flex; flex-direction: column; justify-content: center; gap: 4px; min-height: 58px; padding: 8px 10px; border: 1px solid var(--ds-hairline); border-radius: 10px; background: rgba(23, 18, 13, 0.93) !important; color: var(--ds-ink); font: inherit; text-align: start; cursor: pointer; }
.tk-pos-item:active { transform: scale(0.97); }
.tk-pos-item-name { font-weight: 600; font-size: 14px; }
.tk-pos-item-price { color: var(--ds-teal); font-weight: 600; font-size: 13px; }
.tk-pos-lines { margin-bottom: 8px; }
.tk-pos-line { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--ds-hairline); }
.tk-pos-line-name { flex: 1; font-weight: 600; }
.tk-pos-line-qty { display: inline-flex; align-items: center; gap: 8px; }
.tk-pos-qbtn { width: 34px; height: 34px; border: 1px solid var(--ds-hairline); border-radius: 8px; background: #171310 !important; color: var(--ds-ink); font-size: 18px; cursor: pointer; }
.tk-pos-line-price { min-width: 70px; text-align: end; color: var(--ds-teal); font-weight: 600; }
.tk-pos-details { margin: 8px 0; border: 1px dashed var(--ds-hairline); border-radius: 8px; padding: 8px 10px; }
.tk-pos-details summary { cursor: pointer; color: var(--ds-ink-2); font-weight: 600; }
.tk-pos-lineopt { display: grid; grid-template-columns: 1fr 1.2fr 0.8fr; gap: 8px; align-items: center; }
.tk-pos-lineopt .tk-select { margin-bottom: 8px; }
.tk-pos-sum { display: flex; flex-wrap: wrap; gap: 10px; color: var(--ds-ink-2); font-size: 14px; margin-top: 8px; }
.tk-pos-total strong { font-size: 30px; }
.tk-pos-actions { display: grid; grid-template-columns: 1fr 1.2fr; gap: 10px; margin-top: 12px; }
.tk-pos-actions button, .tk-pos-actions a { min-height: 54px; font-size: 17px; font-weight: 700; }
.tk-selfies { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tk-selfie { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; border: 1px solid var(--ds-hairline); }
.tk-venue-code { display: flex; justify-content: space-between; align-items: baseline; margin: 12px 0; padding: 12px; border: 2px solid var(--ds-teal); border-radius: 10px; }
.tk-venue-code strong { font-size: 34px; letter-spacing: 6px; color: var(--ds-teal); }

/* ---------- تباين الأزرار: نص واضح على كل زر ---------- */
.tk-app .file-button {
    background: #241d15;
    color: #f4eddd;
    border: 1px solid #6b5b3e;
    font-weight: 600;
}
.tk-app .file-button:hover { background: #322818; }
.tk-app .file-button[data-variant="primary"],
.tk-app .file-button[aria-pressed="true"] {
    background: #e9c25c;
    color: #171310;
    border-color: #e9c25c;
}
.tk-app .file-button[data-variant="primary"]:hover,
.tk-app .file-button[aria-pressed="true"]:hover { background: #f2d078; }
.tk-app .file-button:disabled { opacity: 0.55; }

/* ---------- صفوف مدمجة: الاسم والمتاح والحد وزرار الطلب جنب بعض ---------- */
.tk-app .file-row { padding: 8px 10px; }
.tk-app .file-row-body {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: nowrap;
}
.tk-app .file-row-main {
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
    flex: 0 1 auto;
}
.tk-app .file-row-main .file-strong { font-size: 13.5px; }
.tk-app .file-row-detail { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-app .file-row-value { margin-inline-start: auto; font-size: 12.5px; white-space: nowrap; }

/* ---------- محرر الدفع بالتقسيم ---------- */
.tk-pay { display: flex; flex-direction: column; gap: 8px; margin: 10px 0; }
.tk-pay-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.tk-pay-name { font-size: 13px; color: #d8cdb8; flex: 1; }
.tk-pay-amt { max-width: 130px; text-align: center; }
.tk-pay-auto {
    min-width: 110px;
    text-align: center;
    font-weight: 700;
    color: #e9c25c;
    background: #241d15;
    border: 1px dashed #6b5b3e;
    border-radius: 8px;
    padding: 8px 10px;
}
.tk-pos-notes { display: flex; flex-direction: column; gap: 6px; margin: 8px 0; }

/* ---------- بوابة الصلاحيات ---------- */
.tk-permgate {
    border: 1px dashed #6b5b3e;
    border-radius: 10px;
    padding: 10px 12px;
    margin: 8px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(233, 194, 92, 0.06);
}
.tk-permgate-label { font-size: 13px; color: #e9c25c; }
.tk-permgate-row { display: flex; gap: 8px; align-items: center; }
.tk-permgate-pin { max-width: 140px; }

/* ---------- مصفوفة الصلاحيات ---------- */
.tk-perm-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(107, 91, 62, 0.35);
}
.tk-perm-name { font-size: 13px; color: #f4eddd; flex: 1; }
.tk-perm-btns { display: flex; gap: 6px; }
.tk-perm-btn {
    background: #241d15;
    color: #9a8f7c;
    border: 1px solid #6b5b3e;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
}
.tk-perm-btn.is-on { background: #e9c25c; color: #171310; border-color: #e9c25c; }

/* ---------- كاشير مدمج من غير سكرول + إيصال ---------- */
.tk-pos { align-items: start; }
.tk-pos > :last-child { position: sticky; top: 8px; }
.tk-pos-grid { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; }
.tk-pos-item { min-height: 44px; padding: 6px 8px; gap: 2px; }
.tk-pos-item-name { font-size: 13px; }
.tk-pos-item-price { font-size: 12px; }
.tk-pos-line { padding: 4px 0; font-size: 13px; }
.tk-pos-qbtn { width: 28px; height: 28px; font-size: 16px; }
.tk-pos-notes { gap: 4px; margin: 6px 0; }
.tk-pos-notes .tk-select { padding: 5px 8px; font-size: 12px; }
.tk-pos-details { padding: 6px 8px; font-size: 13px; }
.tk-pos-sum { font-size: 12px; gap: 8px; }
.tk-pos-total { margin: 6px 0; }
.tk-pos-total strong { font-size: 22px; }
.tk-pos-actions { display: flex; flex-direction: row; gap: 8px; margin-top: 10px; }
.tk-pos-actions button, .tk-pos-actions a { flex: 1; min-height: 42px !important; font-size: 14px !important; font-weight: 700; padding: 6px 8px; white-space: nowrap; }
.tk-pay { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; margin: 8px 0; }
.tk-pay > .tk-label { grid-column: 1 / -1; margin: 0; }
.tk-pay-row { margin: 0 !important; }
.tk-receipt { border: 1px dashed var(--ds-hairline); border-radius: 10px; padding: 8px 10px; background: rgba(12, 10, 8, 0.5); }
.tk-report-head { font-weight: 700; font-size: 14px; margin: 8px 0; }
.tk-range { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tk-range .tk-label { margin: 0; }

/* ---------- طباعة ---------- */
@media print {
    .tk-no-print { display: none !important; }
    body.tk-print-mode .tk-app { visibility: hidden; }
    body.tk-print-mode .tk-print-area, body.tk-print-mode .tk-print-area * { visibility: visible; }
    body.tk-print-mode .tk-print-area { position: absolute; top: 0; left: 0; right: 0; background: #fff; color: #000; padding: 8px; }
    body.tk-print-mode .tk-pos-qbtn { display: none; }
    body.tk-print-mode .tk-receipt { max-width: 300px; }
}

/* كاشير بلا سكرول: صف الكاشير مضغوط + هوامش أقل */
.tk-cashier-row { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.tk-cashier-row .tk-label { margin: 0; white-space: nowrap; }
.tk-cashier-row .tk-select { max-width: 180px; padding: 5px 8px; margin: 0; }
.tk-chip { padding: 5px 12px; min-height: 32px; }
.tk-app .tk-pos { margin-top: 4px; }
.tk-app .tk-pos .tk-pos-details { margin: 4px 0; }
.tk-app .tk-pos label.tk-label[for="tk-onote"] { display: none; }
@media (min-width: 721px) { .tk-pos-lines, .tk-pos-notes { max-height: 26vh; overflow-y: auto; } }

.tk-cloud { max-width: 1100px; margin: 0 auto; padding: 6px 12px; font-size: 13px; color: #d8cdb8; }
.tk-cloud-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; justify-content: flex-start; }
.tk-cloud-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.tk-cloud-st { opacity: .8; }
.tk-cloud-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 6px; }
.tk-cloud-form .tk-select { max-width: 220px; }
.tk-cloud-err { color: #ff8a80; }
.tk-cloud .tk-select { margin-bottom: 0; min-height: 34px; width: auto; }
.tk-cloud .tk-chip { background: #e8c25a !important; color: #1a1408 !important; border: 0; border-radius: 6px; padding: 4px 12px; min-height: 30px; font: inherit; font-weight: 600; cursor: pointer; }
.tk-cloud .tk-chip:disabled { opacity: .5; }

/* تباين عالي: نص فاتح على غامق في كل حتة */
.tk-app input::placeholder, .tk-cloud input::placeholder { color: #b3a58b; opacity: 1; }
.tk-app input, .tk-app select, .tk-app textarea { color: #f4eddd !important; }
.tk-cloud .tk-chip:disabled { opacity: 1; background: #8a7a4d !important; color: #fff !important; }
.tk-cloud, .tk-cloud span { color: #f4eddd; }
.tk-cloud-st { opacity: 1; color: #e2d6bd; }
.tk-cloud .tk-select, .tk-cloud input { background: #241d15 !important; border: 1px solid #b3a58b; color: #fff !important; }

.tk-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: #0a0907; padding: 20px; }
.tk-login-box { width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 12px; padding: 28px 22px; border: 1px solid #e8c25a; border-radius: 16px; background: #14100b; }
.tk-login-brand { font-size: 30px; font-weight: 700; color: #e8c25a; text-align: center; letter-spacing: .06em; }
.tk-login-brand span { font-size: 14px; color: #e2d6bd; }
.tk-login-sub { color: #f4eddd; text-align: center; margin-bottom: 6px; }
.tk-login .tk-select { width: 100%; min-height: 48px; margin: 0; background: #241d15 !important; border: 1px solid #b3a58b; color: #fff !important; font-size: 16px; border-radius: 8px; padding: 8px 12px; box-sizing: border-box; }
.tk-login-btn { min-height: 50px; border: 0; border-radius: 8px; background: #e8c25a; color: #1a1408; font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; touch-action: manipulation; }
.tk-login-btn:disabled { background: #8a7a4d; color: #fff; }
.tk-login-msg { color: #ffe08a; text-align: center; }
.tk-login .tk-chip { background: #e8c25a; color: #1a1408; border: 0; border-radius: 6px; padding: 6px 12px; }
.tk-staff { margin-top: 8px; padding: 10px; border: 1px solid #5c4d38; border-radius: 10px; background: #14100b; }
.tk-staff-h { color: #e8c25a; font-weight: 700; margin: 6px 0; }
.tk-staff-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 6px; }
.tk-staff-n { min-width: 200px; color: #fff; }
.tk-staff-n small { color: #e2d6bd; }
.tk-login-err { background: #2a1a05; color: #ffe08a; border: 2px solid #ffe08a; border-radius: 8px; padding: 10px; text-align: center; font-size: 15px; line-height: 1.5; }
.tk-login-btn { -webkit-tap-highlight-color: transparent; }
.fk-card { max-width: 980px; margin: 0 auto; padding: 16px 14px 60px; color: var(--ds-ink); font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Naskh Arabic", sans-serif; font-size: 16px; line-height: 1.5; }
.fk-h1 { font-size: 22px; margin: 6px 0 12px; color: #e9c25c; }
.fk-h2 { font-size: 20px; margin: 18px 0 10px; color: var(--ds-ink); }
.fk-h3 { font-size: 17px; margin: 14px 0 8px; color: var(--ds-ink); }
.fk-group { margin-bottom: 18px; }
.fk-rows { display: flex; flex-direction: column; border: 1px solid var(--ds-hairline); border-radius: 12px; background: rgba(20,15,10,.7); margin: 8px 0; }
.fk-row { display: flex; align-items: baseline; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--ds-hairline); }
.fk-row:last-child { border-bottom: 0; }
.fk-num { color: var(--ds-ink-4); min-width: 22px; }
.fk-rname { flex: 1; color: var(--ds-ink); }
.fk-detail { display: block; color: var(--ds-ink-4); font-size: 13px; }
.fk-val { font-weight: 600; color: var(--ds-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fk-tablewrap { overflow-x: auto; margin: 8px 0; }
.fk-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.fk-table caption { text-align: start; color: var(--ds-ink-4); padding: 4px 0; }
.fk-table th, .fk-table td { padding: 8px 10px; border-bottom: 1px solid var(--ds-hairline); text-align: start; font-variant-numeric: tabular-nums; }
.fk-table thead th { color: var(--ds-ink-4); font-weight: 500; }
.fk-callout { border: 1px solid var(--ds-hairline); border-radius: 12px; padding: 10px 12px; margin: 10px 0; background: rgba(36,29,21,.9); }
.fk-callout strong { display: block; color: #e9c25c; margin-bottom: 2px; }
.fk-warn, .fk-warning, .fk-error, .fk-danger { border-color: #ff9a9a; } .fk-warn strong, .fk-warning strong, .fk-error strong, .fk-danger strong { color: #ff9a9a; }
.fk-ok, .fk-success, .fk-good { border-color: #7fd1a8; } .fk-ok strong, .fk-success strong, .fk-good strong { color: #7fd1a8; }
.fk-caption { color: var(--ds-ink-4); font-size: 13px; margin: 6px 0; }
.fk-p { margin: 8px 0; } .fk-list { padding-inline-start: 22px; margin: 8px 0; }
.fk-btn { font: inherit; min-height: 44px; padding: 8px 16px; border-radius: 10px; border: 1px solid var(--ds-hairline); background: #241d15; color: var(--ds-ink); cursor: pointer; }
.fk-primary { background: #e9c25c; color: #1a1408; border-color: #e9c25c; font-weight: 700; }
.fk-btn:disabled { opacity: .45; cursor: not-allowed; }
.fk-choice { margin: 8px 0; } .fk-clabel { color: var(--ds-ink-2); margin-bottom: 6px; }
.fk-copts { display: flex; flex-wrap: wrap; gap: 8px; }
.fk-chip { font: inherit; min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--ds-hairline); background: #241d15; color: var(--ds-ink); cursor: pointer; }
.fk-chip.fk-on { background: #e9c25c; color: #1a1408; border-color: #e9c25c; font-weight: 700; }
.fk-chart { margin: 10px 0; padding: 10px 12px; border: 1px solid var(--ds-hairline); border-radius: 12px; background: rgba(20,15,10,.7); }
.fk-bar { display: flex; align-items: center; gap: 8px; margin: 6px 0; font-size: 14px; } .fk-bar > span { min-width: 90px; }
.fk-track { flex: 1; height: 10px; background: #3a2f20; border-radius: 6px; overflow: hidden; } .fk-track > div { height: 100%; background: #e9c25c; }
.fk-svg { width: 100%; height: 110px; } .fk-xs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; color: var(--ds-ink-2); } .fk-xs b { margin-inline-start: 4px; } .fk-xs i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-inline-end: 4px; }
.fk-stack { display: flex; height: 16px; border-radius: 8px; overflow: hidden; margin: 6px 0; }
.fk-card input, .fk-card select, .fk-card textarea { font: inherit; }
