/* Warm amber dashboard, matched to the supplied reference. */
:root {
    --bg-base: #0d0905;
    --bg-surface: #171009;
    --bg-panel: #1c130b;
    --bg-card: #281b10;
    --bg-card-hover: #352313;
    --bg-input: #150e08;
    --border: rgba(224, 178, 118, .14);
    --border-subtle: rgba(224, 178, 118, .08);
    --border-active: #d99a47;
    --border-fire: #b57a3b;
    --cyan: #e9ad5e;
    --cyan-glow: rgba(216, 144, 52, .16);
    --amber: #f2ad4e;
    --amber-glow: rgba(242, 173, 78, .16);
    --fire: #d68c39;
    --fire-glow: rgba(214, 140, 57, .16);
    --emerald: #c7b18c;
    --emerald-glow: rgba(199, 177, 140, .12);
    --purple: #bfa07b;
    --danger: #d28c64;
    --text-main: #f6eee4;
    --text-muted: #bca58c;
    --text-dim: #a58e77;
    --radius-card: 16px;
    --radius-input: 10px;
    --soft-shadow: 0 9px 22px #0004, inset 0 1px #ffe1b70a;
    --inset-shadow: inset 0 2px 8px #0004, inset 0 1px #ffffff03;
    --orange-gradient: linear-gradient(135deg, #f7bb64, #c77a25);
    --blue-gradient: linear-gradient(135deg, #a66a2c, #5a3515);
}

html { background: #f8f5f0; }
body {
    padding: 38px;
    background: radial-gradient(ellipse at 90% 100%, #efdfd2, transparent 60%), #faf8f5;
}
.app-layout-wrapper {
    padding: 0 24px 24px 98px;
    border: 7px solid #17110a;
    border-radius: 22px;
    background: radial-gradient(ellipse at 34% 0%, #3b210b35, transparent 48%), var(--bg-base);
    box-shadow: 0 28px 40px #34231233, 0 4px 10px #34231220, inset 0 0 0 1px #d8ac7212;
}
.soft-sidebar {
    width: 70px;
    padding: 20px 6px;
    background: linear-gradient(180deg, #1a120b, #130e08);
    border-right-color: #c7985514;
    gap: 15px;
}
.soft-mark { font-size: 27px; color: #d5b38b; }
.soft-profile { margin: 10px 0 18px; }
.soft-profile > span, .soft-profile > small { display: none; }
.soft-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 25%, #ffce72, #d98623 78%);
    box-shadow: inset 0 1px 2px #fff8, 0 3px 12px #c77a252a;
    color: #513012;
    font-size: 17px;
}
.soft-nav { width: 49px; min-height: 51px; border-radius: 12px; }
.soft-nav span { font-size: 21px; }
.soft-nav small { font-size: 8px; }
.soft-nav.active {
    background: linear-gradient(140deg, #342314, #21170e);
    color: #ffe3bb;
    box-shadow: inset 0 1px #ffffff07, 0 5px 12px #0003;
}
.soft-nav.active:before { left: -7px; background: #f6d9ac; box-shadow: 0 0 10px #efac4d42; }
.soft-nav.active span { color: #efc28b; text-shadow: none; }
.soft-sidebar-foot { font-size: 0; }
.soft-live-dot { width: 6px; height: 6px; background: #a7804e; }
header { min-height: 66px; padding: 16px 0; }
.brand-logo-svg-wrap { border-radius: 50%; background: var(--orange-gradient); box-shadow: 0 3px 12px #cd842220; }
.brand-title { font-size: 11px; letter-spacing: 1px; }
.save-badge { background: #d7a7660a; border-color: #d7a76620; color: #cfb18b; }
.soft-header-caption { color: var(--text-dim); }
.soft-intro { padding: 2px 0 22px; align-items: center; }
.soft-eyebrow { font-size: 8px; letter-spacing: 2px; margin-bottom: 8px; }
h1 { font-size: clamp(25px, 2.8vw, 37px); font-weight: 400; letter-spacing: -1px; }
h1 br { display: none; }
h1 span { color: #d2a66b; }
.soft-intro p { margin-top: 7px; font-size: 11px; }
.soft-orbit { width: 92px; height: 76px; margin: 0 24px 0 20px; background: transparent; }
.soft-orbit-ring {
    inset: 0 9px 2px;
    border-width: 7px;
    background: linear-gradient(#21160c, #21160c) padding-box,
                conic-gradient(from 40deg, #fbc578, #e19738, #563013, #b87c32, #fbc578) border-box;
    box-shadow: 0 5px 13px #0006, inset 0 2px 7px #0007;
}
.soft-orbit > span { color: #efb45c; font-size: 29px; text-shadow: 0 0 15px #d58e3530; }
.soft-orbit small { font-size: 6px; letter-spacing: 1.5px; bottom: -10px; }
.kpi-bar { padding: 0 0 18px; }
.kpi-grid { gap: 16px; grid-template-columns: 1fr 1fr .8fr; }
.kpi-card {
    height: 118px;
    padding: 17px 20px;
    border-radius: 16px;
    background: radial-gradient(ellipse at 0 0, #74411235, transparent 75%), var(--bg-panel);
}
.kpi-value { font-size: 44px; }
.kpi-title { text-transform: none; letter-spacing: .3px; color: #d6c1a8; }
.kpi-badge { background: #d5aa6a0e; color: #c9ad87; }
.badge-flame { background: #b57a3b14!important; border-color: #d9a35822!important; color: #e9ad5e!important; }
.kpi-progress { background: #d5b18c18; height: 4px; }
.bar-amber { background: linear-gradient(90deg, #a66a2c, #ffc574); }
.bar-cyan { background: linear-gradient(90deg, #6f451e, #d4ad7c); }
.btn-master-graphs {
    height: 118px;
    border-radius: 16px;
    border-color: var(--border);
    background: radial-gradient(ellipse at 10% 0, #a7631c35, transparent 75%), #1b130c;
    box-shadow: var(--soft-shadow);
}
.btn-master-graphs:hover { background: #2c1c0e; box-shadow: 0 8px 20px #0005; }
.btn-master-graphs > span:last-child { color: #d5ad7c!important; background: #a0713220!important; }
.cockpit-4col-grid { gap: 16px; grid-template-columns: minmax(205px, .8fr) minmax(310px, 1.35fr) minmax(280px, 1fr); }
.panel, .swaga-right-panel {
    border-radius: 16px;
    border-color: #d1a16b1c;
    background: linear-gradient(140deg, #32201142, transparent 65%), #171009;
    box-shadow: var(--soft-shadow);
}
.panel-header, .swaga-chat-header { min-height: 52px; padding: 14px 17px; border-color: #c7955b12; }
.panel-title { font-size: 13px; color: #eee1d0; }
.col1-bottom-analytics { gap: 10px; }
.mini-card-box, .time-ring-card, .lollipop-preview-box {
    border-radius: 12px;
    background: linear-gradient(145deg, #2a1b0e, #1b130c);
    border-color: #c7955b13;
    box-shadow: inset 0 1px #ffe1bd04, 0 3px 10px #0002;
}
.day-card { background: #23190f; border-radius: 12px; border-color: #d9a9660b; }
.day-card.active {
    background: linear-gradient(120deg, #674017, #37220f);
    border-color: #b47c394a;
    box-shadow: inset 0 1px #f8ca8512, 0 5px 14px #0003;
}
.day-card.active .day-sub-info { color: #c4a886; }
.day-card.active .day-pts-badge { color: #f5c381; border-color: #efb45c23; background: #efb45c0d; }
.center-day-header { background: transparent; border: 0; padding: 0 0 8px; border-radius: 0; }
.day-badge-lg { font-weight: 400; font-size: 26px; }
.col2-wrapper { padding: 19px; gap: 15px; }
.task-card-row {
    background: linear-gradient(110deg, #362311, #21170e);
    border-color: #d5aa6a20;
    border-radius: 12px;
    box-shadow: inset 0 1px #ffe3b907, 0 4px 12px #0003;
}
.task-card-row.completed { border-color: #d5aa6a40; background: linear-gradient(110deg, #4d3012, #251a0d); }
.task-checkbox-custom.checked { background: var(--orange-gradient); border-color: #d8a15d; box-shadow: 0 0 8px #d8903420; }
.col3-scroll { padding: 12px; gap: 13px; }
.draggable-card { padding: 16px; border-radius: 14px; background: linear-gradient(125deg, #38241055, transparent 80%), #21170e; border-color: #c7955b20; }
.draggable-card:hover { border-color: #ba864349; }
.day-pts-badge { background: #b7803210; border-color: #c18a3d25; color: #e1b27a; }
.btn-mini { background: linear-gradient(160deg, #35271b, #251b12); border-color: #c59b6420; color: #e9dccb; }
.btn-cyan, .btn-mini.btn-cyan, .btn-mini.btn-cyan-pill,
.btn-cyan:hover, .btn-mini.btn-cyan:hover {
    background: linear-gradient(135deg, #986127, #603a19)!important;
    border-color: #e1ac642b!important;
    box-shadow: inset 0 1px #ffe0a610, 0 4px 10px #0003!important;
}
.btn-danger, .btn-mini.btn-danger, .btn-mini.btn-danger-pill {
    background: linear-gradient(135deg, #80512e, #50301c)!important;
    border: 1px solid #c8985728!important;
    box-shadow: 0 4px 10px #0002!important;
}
.btn-amber, .btn-green { background: #8353211a; color: #dfb37d; border-color: #c38c442d; }
input[type=text], input[type=number], input[type=date], select, textarea { background-color: #160f09; border-color: #d2a15e1c; }
input::placeholder, textarea::placeholder { color: #927b64; }
.swaga-messages-container { background: #120d08; }
.swaga-input-outer { background: #20160d; }
.swaga-msg-bubble.assistant { background: #281c11; border-color: #c09a6920; }
.swaga-msg-bubble.user { background: linear-gradient(135deg, #523316, #31200f); border-color: #d09a4c30; }
.swaga-model-badge { color: #dfb37d; background: #a1743215; border-color: #c18a3d25; }
.swaga-send-icon-btn { background: var(--orange-gradient)!important; color: #39220d; box-shadow: 0 4px 12px #a66a2c20!important; }
.full-graph-modal-dialog, .lumina-modal-dialog { background: #1c130b; border: 1px solid #c39a642a; border-radius: 18px; }
.lumina-modal-backdrop { background: #0c0805cc; }
canvas { filter: saturate(.85); }
::-webkit-scrollbar-thumb { background: #62482c; }

@media (min-width: 1800px) { body { padding: 48px; } }
@media (max-width: 1250px) {
    body { padding: 22px; }
    .app-layout-wrapper { padding-left: 90px; padding-right: 18px; }
    .cockpit-4col-grid { grid-template-columns: minmax(230px, 1fr) minmax(280px, 1.3fr); }
}
@media (max-width: 760px) {
    html, body { padding: 0; background: var(--bg-base); }
    .app-layout-wrapper { padding: 0 14px 100px; border: 0; border-radius: 0; }
    .soft-sidebar { width: 100%; height: 76px; padding: 6px 14px calc(6px + env(safe-area-inset-bottom)); background: #191109f5; border-color: #c39a6420; }
    .soft-nav { width: 64px; min-height: 54px; }
    .soft-nav.active:before { left: 23px; }
    .soft-intro { padding: 8px 0 22px; }
    h1 { font-size: 25px; max-width: 260px; }
    h1 br { display: block; }
    .soft-orbit { width: 70px; height: 68px; margin: 0 0 0 10px; }
    .soft-orbit-ring { inset: 2px; }
    .kpi-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .kpi-card { height: 118px; padding: 15px; }
    .btn-master-graphs { height: 52px; border-radius: 12px; }
    .cockpit-4col-grid { display: flex; gap: 16px; }
}
