:root{font-family:IBM Plex Sans,system-ui,-apple-system,Segoe UI,sans-serif;line-height:1.45;font-weight:400;color:#0f1b2d;background-color:#e8eef5;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--veksel-ink: #0f1b2d;--veksel-ink-soft: #3a4a61;--veksel-mist: #f5f7fb;--veksel-ice: #d7e4f2;--veksel-teal: #197f7c;--veksel-copper: #c47b39;--veksel-rose: #b2464a;--veksel-slate: #2b3648;--surface: rgba(255, 255, 255, .92);--surface-muted: #f4f7fb;--border-soft: #d5e1ee;--shadow-soft: 0 24px 60px rgba(33, 53, 79, .08);--page-bg: radial-gradient(circle at top left, #fdf7ec 0%, #e8eef5 55%, #dbe7f4 100%)}body[data-theme=dark]{color:#e6edf6;background-color:#0f1623;--veksel-ink: #e6edf6;--veksel-ink-soft: #a9b6c8;--veksel-mist: #121b2a;--veksel-ice: #1a2638;--veksel-teal: #2aa39f;--veksel-copper: #e0a25e;--veksel-rose: #e06a6f;--veksel-slate: #c2cfdd;--surface: rgba(17, 26, 40, .95);--surface-muted: #162233;--border-soft: #223147;--shadow-soft: 0 20px 50px rgba(6, 12, 22, .5);--page-bg: radial-gradient(circle at top left, #1a2434 0%, #0f1623 60%, #0b111b 100%);--table-header: #1a2638;--table-header-text: #c8d4e3;--table-border: #1f2c41;--table-row-text: #e6edf6;--table-muted-text: #9fb0c6}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:var(--page-bg);color:var(--veksel-ink)}.app-shell{min-height:100vh;padding:24px 8px 40px}.headline{font-family:Space Grotesk,IBM Plex Sans,sans-serif;letter-spacing:-.02em;font-weight:600}.panel{background:var(--surface);border-radius:20px;border:1px solid var(--border-soft);box-shadow:var(--shadow-soft);padding:24px;overflow:hidden}.pill{display:inline-flex;align-items:center;gap:8px;padding:4px 12px;border-radius:999px;font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em}.pill-ready{background:#197f7c1f;color:#0e5c59}.pill-blocked{background:#b2464a1f;color:#8b3033}.state-card{border-radius:16px;border:1px solid var(--border-soft);background:var(--surface-muted);padding:16px}.muted{color:var(--veksel-ink-soft)}.tag{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;padding:4px 8px;border-radius:8px;background:#eef3f8;color:#314257}.no-wrap{white-space:nowrap}.trade-table thead th{font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;color:#5a6a80}.node-row td{background:var(--surface-muted);border:none;box-shadow:none;padding:12px 16px}.trade-table{border-collapse:separate;border-spacing:0 14px}.trade-table tbody tr{background:var(--surface);box-shadow:0 10px 20px #1c2e480d}.trade-table tbody td{border:none;vertical-align:top;background:var(--surface)}body[data-theme=dark] .trade-table tbody td{color:var(--table-row-text)}body[data-theme=dark] .trade-table tbody td .muted,body[data-theme=dark] .trade-table tbody td .small,body[data-theme=dark] .trade-table tbody td .text-muted{color:var(--table-muted-text)!important}body[data-theme=dark] .trade-table tbody td a{color:#c8d4e3}body[data-theme=dark] .trade-table tbody td a:hover{color:#fff}body[data-theme=dark] .state-card{color:#e6edf6}body[data-theme=dark] .trade-table thead th{color:var(--table-header-text);background:var(--table-header)}body[data-theme=dark] .trade-table thead th:first-child{border-top-left-radius:10px;border-bottom-left-radius:10px}body[data-theme=dark] .trade-table thead th:last-child{border-top-right-radius:10px;border-bottom-right-radius:10px}body[data-theme=dark] .trade-table thead th{border:none}body[data-theme=dark] .tag{background:#1a2536;color:#c8d4e3}body[data-theme=dark] .mode-tab{background:#111b2a;color:#c8d4e3;border-color:#24354f}body[data-theme=dark] .mode-tab.active{background:#2aa39f33;color:#e6edf6;border-color:#2aa39f80}body[data-theme=dark] .mode-tab.tinder-tab{background:#111b2a;color:#c8d4e3;border-color:#24354f}body[data-theme=dark] .mode-tab.tinder-tab .mode-tab-icon{color:#ff6b61}body[data-theme=dark] .form-control,body[data-theme=dark] .form-select{background:#0f1a2a;color:#e6edf6;border:1px solid #24344b}body[data-theme=dark] .form-control::placeholder{color:#8ea0b6}body[data-theme=dark] .form-select{background-color:#0f1a2a;color:#e6edf6}body[data-theme=dark] .form-select option{background:#0f1a2a;color:#e6edf6}body[data-theme=dark] .form-select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23c8d4e3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .75rem center;background-size:14px 14px}body[data-theme=dark] input[type=date]::-webkit-calendar-picker-indicator{filter:invert(1) brightness(1.2);opacity:.85}body[data-theme=dark] .form-select:focus,body[data-theme=dark] .form-control:focus{border-color:#345073;box-shadow:0 0 0 .2rem #2aa39f33}body[data-theme=dark] .btn-outline-slate{border-color:#4b5a72;color:#e6edf6;background:transparent}body[data-theme=dark] .btn-outline-slate:hover,body[data-theme=dark] .btn-outline-slate:focus{background:#1b273a;color:#fff}body[data-theme=dark] .summary-pill,body[data-theme=dark] .tag{background:#1b273a;color:#c8d4e3}body[data-theme=dark] .state-card{background:#121c2b}.trade-table tbody td:first-child{border-top-left-radius:14px;border-bottom-left-radius:14px}.trade-table tbody td:last-child{border-top-right-radius:14px;border-bottom-right-radius:14px}.tree-list{margin:0;padding-left:16px}.tree-list li{margin-bottom:6px}.decision-pill{display:inline-flex;align-items:center;gap:6px;font-size:.8rem;font-weight:600;padding:4px 10px;border-radius:999px}.type-pill{font-size:.65rem;padding:2px 8px;border-radius:999px;font-weight:700;letter-spacing:.04em;margin-right:6px;display:inline-flex;align-items:center;justify-content:center}.type-inc{background:#197f7c2e;color:#0a4f4c}.type-dec{background:#b2464a2e;color:#7a2225}.decision-approved{background:#197f7c24;color:#0f5e5b}.decision-denied{background:#b2464a24;color:#8b3033}.decision-pending{background:#c47b3924;color:#8a5b2b}body[data-theme=dark] .decision-approved{background:#2aa39f47;color:#baf5ef}body[data-theme=dark] .decision-denied{background:#e06a6f47;color:#ffd1d3}body[data-theme=dark] .decision-pending{background:#e0a25e47;color:#ffe1ba}.direction-pill{display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;font-size:.75rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;background:#eef3f8;color:#2b3648}.direction-inc{background:#197f7c24;color:#0f5e5b}.direction-dec{background:#b2464a24;color:#8b3033}.direction-flat{background:#c47b3924;color:#8a5b2b}.summary-pill{display:inline-flex;align-items:center;padding:3px 8px;border-radius:999px;font-size:.7rem;font-weight:600;letter-spacing:.03em;background:var(--surface-muted);color:var(--veksel-slate)}.badge-count{background:#2b36481f;color:#2b3648}.theme-toggle{border:1px solid var(--border-soft);background:var(--surface);color:var(--veksel-ink);border-radius:12px;width:44px;height:36px;padding:0;font-weight:600;display:inline-flex;align-items:center;justify-content:center;box-shadow:inset 0 0 0 1px #ffffff08}.theme-toggle:hover,.theme-toggle:focus{background:var(--surface-muted)}.theme-icon{display:inline-flex;width:18px;height:18px;color:currentColor}.theme-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.auth-panel{max-width:1080px;margin:0 auto;padding:0}.auth-fade-shell{background:transparent;box-shadow:none}.auth-fade-shell{min-height:70vh;display:flex;align-items:center;justify-content:center}.auth-hero-title{font-size:2rem;font-weight:700;color:#0f172a;margin:0}.auth-card{background:#fff;border:1px solid #e2e8f0;border-radius:28px;padding:34px 42px;display:flex;flex-direction:column;gap:18px;align-items:center;box-shadow:0 18px 40px #0f172a1f}.auth-logo{width:84px;height:84px;border-radius:22px;box-shadow:none}.auth-actions{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}.auth-note{margin:0;font-size:.82rem;color:#6b7a90}.auth-simple{min-width:420px}.auth-card-full{padding:38px 54px;gap:22px}.auth-simple-brand{display:flex;align-items:center;gap:12px}.auth-name{font-size:1.95rem;font-weight:700;letter-spacing:.05em;color:#0f172a}.auth-stage{display:flex;flex-direction:column;align-items:center;gap:18px}.auth-stage-brand{display:flex;align-items:center;gap:12px}.auth-stage-title{font-size:2.4rem;font-weight:700;color:#3c4655;margin:0 0 6px;text-align:center}.auth-fade-enter-active,.auth-fade-leave-active{transition:opacity .35s ease,transform .35s ease}.auth-fade-enter-from,.auth-fade-leave-to{opacity:0;transform:translateY(18px)}body[data-theme=dark] .auth-hero-title,body[data-theme=dark] .auth-name,body[data-theme=dark] .auth-stage-title{color:#e2e8f0}body[data-theme=dark] .auth-card{background:#111827;border-color:#22304a;box-shadow:0 18px 40px #00000080}body[data-theme=dark] .auth-note{color:#a6b3c8}@media(max-width:900px){.auth-simple{min-width:0;width:100%}}body[data-theme=dark] .badge-count{background:#e6edf61f;color:#e6edf6}.action-stack{display:grid;gap:8px}.btn-approve{background:#197f7c;color:#fff;border:none}.btn-approve:hover,.btn-approve:focus{background:#116b68;color:#fff}.btn-deny{background:#b2464a;color:#fff;border:none}.btn-deny:hover,.btn-deny:focus{background:#98393d;color:#fff}.btn-outline-slate{border:1px solid #9fb3c8;color:#2b3648;background:transparent}.btn-outline-slate:hover,.btn-outline-slate:focus{background:#e7eef6;color:#1b2638}.btn:disabled,.btn[disabled]{opacity:.5;cursor:not-allowed;box-shadow:none}.btn-outline-slate:disabled,.btn-outline-slate[disabled]{background:#f1f5f9;border-color:#d1dbe7;color:#8a98ac}.fade-in{animation:fadeIn .6s ease forwards}.stagger{animation:staggerIn .6s ease forwards}.mode-bar{display:flex;gap:10px;align-items:center;margin-bottom:12px;flex-wrap:wrap}.mode-tab{border:1px solid var(--border-soft);background:var(--surface);color:var(--veksel-ink);padding:6px 14px;border-radius:999px;font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;display:inline-flex;align-items:center;justify-content:center;gap:6px}.mode-tab.active{background:#197f7c1f;color:#0e5c59;border-color:#197f7c4d}.mode-tab.tinder-tab{background:var(--surface);border-color:var(--border-soft);color:var(--veksel-ink)}.mode-tab.tinder-tab.active{background:#197f7c1f;color:#0e5c59;border-color:#197f7c4d;box-shadow:none}.mode-tab.tinder-tab .mode-tab-icon{color:#fd6a5f}.mode-tab-icon{width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center}.mode-tab-icon svg{width:100%;height:100%;fill:currentColor}.tree-parent-select{min-width:120px}.list-undo-btn{width:28px;height:28px;padding:0;border-radius:999px}.tree-caret{width:16px;display:inline-flex;justify-content:center;transition:transform .2s ease}.tree-caret:before{content:"";display:inline-block;width:0;height:0;border-left:6px solid var(--veksel-ink);border-top:4px solid transparent;border-bottom:4px solid transparent;transform:rotate(90deg);transition:transform .2s ease}.tree-caret.collapsed:before{transform:rotate(0)}.tinder-shell{position:relative;display:flex;flex-direction:column;align-items:center}.tinder-topbar{width:min(640px,100%);display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.tinder-topbar .muted{flex:1 1 auto}.tinder-stack{position:relative;min-height:420px;width:min(640px,100%)}.tinder-ghost{position:absolute;inset:0;border-radius:20px;border:1px dashed var(--border-soft);background:var(--surface-muted);opacity:.35}.tinder-ghost-back{transform:translate(12px,12px)}.tinder-ghost-mid{transform:translate(6px,6px)}.tinder-card{position:relative;border-radius:20px;background:var(--surface);border:1px solid var(--border-soft);padding:28px 32px;box-shadow:var(--shadow-soft);touch-action:none;transform-origin:center;-webkit-user-select:none;user-select:none;text-align:center}.tinder-undo{padding:6px 14px;min-width:70px}.tinder-stamp{position:absolute;top:18px;padding:6px 14px;border-radius:999px;font-weight:700;font-size:.8rem;letter-spacing:.08em}.tinder-stamp-like{right:20px;color:#0f5e5b;border:2px solid rgba(25,127,124,.4)}.tinder-stamp-nope{left:20px;color:#8b3033;border:2px solid rgba(178,70,74,.4)}.tinder-meta{display:flex;flex-direction:column;align-items:center;gap:4px}.tinder-location{font-weight:600;letter-spacing:.02em}.tinder-hour{margin-top:8px;font-size:.85rem;font-weight:600;padding:4px 10px;border-radius:999px;background:var(--surface-muted)}.tinder-quote{font-size:1.9rem;font-weight:600}.tinder-card:after{content:"";position:absolute;inset:0;border-radius:20px;background:radial-gradient(circle at top right,rgba(25,127,124,.08),transparent 60%);pointer-events:none}.tinder-card *{-webkit-user-select:none;user-select:none}.tinder-fade-enter-active,.tinder-fade-leave-active{transition:opacity .2s ease}.tinder-fade-enter-from,.tinder-fade-leave-to{opacity:0}.tinder-swipe-right-enter-active,.tinder-swipe-right-leave-active,.tinder-swipe-left-enter-active,.tinder-swipe-left-leave-active,.tinder-swipe-up-enter-active,.tinder-swipe-up-leave-active{transition:transform .35s ease,opacity .35s ease}.tinder-swipe-right-leave-to{transform:translate(260px) rotate(12deg);opacity:0}.tinder-swipe-left-leave-to{transform:translate(-260px) rotate(-12deg);opacity:0}.tinder-swipe-up-leave-to{transform:translateY(-180px) scale(.95);opacity:0}.grid-table{border-radius:16px;border:1px solid var(--border-soft);background:var(--surface);overflow:hidden;font-size:.82rem}.grid-header{display:grid;grid-template-columns:60px 1.4fr 1fr .7fr .6fr .6fr 70px 70px}.grid-header{background:#244966;color:#f1f5f9;font-weight:600;text-transform:uppercase;font-size:.7rem;letter-spacing:.08em}.grid-cell{padding:4px 8px;border-bottom:1px solid #d5e1ee;overflow:hidden;border-right:1px solid #d5e1ee}.grid-header .grid-cell:last-child,.grid-row .grid-cell:last-child,.grid-line-row .grid-cell:last-child{border-right:none}.grid-cell.grid-node,.grid-cell.grid-trader{white-space:nowrap;text-overflow:ellipsis}.grid-controls{display:flex;align-items:center;justify-content:flex-end}.grid-node-select{min-width:220px}.grid-line-row{display:grid;grid-template-columns:60px 1.4fr 1fr .7fr .6fr .6fr 70px 70px}.grid-line-row:nth-child(2n){background:#eef3f8}.grid-line-empty .grid-cell{padding-top:2px;padding-bottom:2px}.grid-line-row.grid-line-approved{background:#197f7c1f}.grid-line-row.grid-line-denied{background:#b2464a1f}.grid-check{width:16px;height:16px}body[data-theme=dark] .grid-header{background:#1a2638;color:#c8d4e3}body[data-theme=dark] .grid-table{border-color:#223147}body[data-theme=dark] .grid-cell{border-bottom:1px solid #223147;border-right:1px solid #223147;color:#e6edf6}body[data-theme=dark] .grid-line-row:nth-child(2n){background:#141f2f}body[data-theme=dark] .grid-line-row.grid-line-approved{background:#2aa39f2e}body[data-theme=dark] .grid-line-row.grid-line-denied{background:#e06a6f2e}body[data-theme=dark] .grid-check{filter:brightness(1.2)}body[data-theme=dark] .type-inc{background:#197f7c4d;color:#7fe0dc}body[data-theme=dark] .type-dec{background:#b2464a4d;color:#f0a0a3}body[data-theme=dark] .btn-outline-slate:disabled,body[data-theme=dark] .btn-outline-slate[disabled]{background:#1b2433;border-color:#26354d;color:#5d6b82}body[data-theme=dark] .tinder-ghost{background:#111b2a;border-color:#223147}body[data-theme=dark] .tinder-card{background:#121c2b;border-color:#223147}body[data-theme=dark] .tinder-hour{background:#1b273a;color:#e6edf6}.modal-veksel .modal-dialog{max-width:620px}.modal-veksel .modal-content{border-radius:16px;border:1px solid var(--border-soft);box-shadow:var(--shadow-soft);background:#fff;color:var(--veksel-ink)}.modal-veksel .modal-title{font-family:Space Grotesk,IBM Plex Sans,sans-serif;font-weight:600;color:var(--veksel-slate)}.modal-veksel .confirm-text{font-size:1rem;line-height:1.5;color:var(--veksel-ink)}.modal-veksel .confirm-deadline{color:var(--veksel-ink-soft);font-weight:600}.modal-veksel .modal-header,.modal-veksel .modal-footer{border:none}body[data-theme=dark] .modal-veksel .modal-content{border-color:#223147;box-shadow:0 20px 50px #060c1680;background:#0f1623;color:#e6edf6}body[data-theme=dark] .modal-veksel .modal-title,body[data-theme=dark] .modal-veksel .confirm-text{color:#e6edf6}body[data-theme=dark] .modal-veksel .confirm-deadline{color:#9fb0c6}@media(max-width:640px){.modal-veksel .modal-dialog{margin:.75rem}}.submission-results-scroll{max-height:260px;overflow-y:auto;padding-right:4px}.list-fade-enter-active,.list-fade-leave-active{transition:opacity .25s ease,transform .25s ease;will-change:opacity,transform}.list-fade-leave-active{position:absolute;left:0;right:0;width:100%}.list-fade-enter-from,.list-fade-leave-to{opacity:0;transform:translateY(-14px)}.list-fade-enter-from{transform:translateY(-14px)}.list-fade-move{transition:transform .25s ease}.list-table{display:flex;flex-direction:column;gap:10px}.list-body{position:relative}.list-header,.list-row{display:grid;grid-template-columns:1.2fr .9fr .9fr .9fr .8fr .9fr;gap:16px;align-items:center}.list-header{padding:10px 14px;border-bottom:1px solid var(--surface-border);color:var(--veksel-ink-soft);font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em}.list-row{background:var(--surface-card);border-radius:12px;padding:12px 14px;box-shadow:0 10px 24px #0f172a0f}body[data-theme=dark] .list-row{background:#121c2b;box-shadow:none;border:1px solid #1d2b40}.list-undo-btn{padding:0 10px;min-width:56px}@keyframes fadeIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes staggerIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
