:root{--bg: #0b0d10;--surface: #14171c;--surface-hover: #1b1f26;--surface-inset: #0e1013;--border: #262b33;--border-strong: #333a45;--text: #ededef;--text-muted: #9aa0aa;--gold: #c9a96e;--gold-soft: rgba(201, 169, 110, .12);--gold-strong: #e0c08f;--green: #3fb950;--orange: #e3a008;--red: #f85149;--serif: "Cormorant Garamond", serif;--sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;--radius: 10px;--radius-sm: 6px;--sidebar-width: 248px}*{box-sizing:border-box}html{color-scheme:dark}body{margin:0;font-family:var(--sans);background:var(--bg);color:var(--text);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}h1,h2,h3{font-family:var(--sans);font-weight:600;margin:0 0 .5rem;color:var(--text)}h1{font-size:1.5rem;letter-spacing:-.01em;margin-bottom:1.5rem}h2{font-size:1.05rem;margin-top:2.25rem;padding-top:1.5rem;border-top:1px solid var(--border)}h2:first-of-type{margin-top:0;padding-top:0;border-top:none}h3{font-size:.95rem}a{color:var(--gold)}.app-sidebar{position:fixed;top:0;left:0;bottom:0;width:var(--sidebar-width);background:var(--surface);border-right:1px solid var(--border);display:flex;flex-direction:column;padding:1.5rem 0;overflow-y:auto}.app-sidebar-brand{padding:0 1.5rem 1.5rem;margin-bottom:.5rem;border-bottom:1px solid var(--border)}.app-sidebar-brand .wordmark{font-family:var(--serif);font-style:italic;font-weight:600;font-size:1.3rem;color:var(--gold);line-height:1.1}.app-sidebar-brand .sub{display:block;font-family:var(--sans);font-size:.65rem;font-weight:500;letter-spacing:.18em;text-transform:uppercase;color:var(--text-muted);margin-top:.3rem}.app-sidebar-nav{display:flex;flex-direction:column;gap:.15rem;padding:.75rem;flex:1}.app-sidebar-nav a{display:flex;align-items:center;gap:.7rem;padding:.55rem .75rem;border-radius:var(--radius-sm);color:var(--text-muted);text-decoration:none;font-size:.87rem;font-weight:500;border-left:2px solid transparent;transition:background .15s,color .15s}.app-sidebar-nav a svg{flex-shrink:0;width:16px;height:16px;stroke:currentColor}.app-sidebar-nav a:hover{background:var(--surface-hover);color:var(--text)}.app-sidebar-nav a.active{background:var(--gold-soft);color:var(--gold-strong);border-left-color:var(--gold)}.app-sidebar-footer{padding:.75rem;display:flex;flex-direction:column;gap:.15rem}.app-sidebar-footer a{display:flex;align-items:center;gap:.7rem;padding:.55rem .75rem;border-radius:var(--radius-sm);color:var(--text-muted);text-decoration:none;font-size:.87rem;font-weight:500;border-left:2px solid transparent;transition:background .15s,color .15s}.app-sidebar-footer a svg{flex-shrink:0;width:16px;height:16px;stroke:currentColor}.app-sidebar-footer a:hover{background:var(--surface-hover);color:var(--text)}.app-sidebar-footer a.active{background:var(--gold-soft);color:var(--gold-strong);border-left-color:var(--gold)}.app-shell{margin-left:var(--sidebar-width);min-height:100vh;max-width:1600px;padding:2.5rem 3rem}.page--wide{max-width:720px}.page{max-width:400px;margin:12vh auto 0;padding:2.25rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 20px 60px #00000059}.login-brand{margin-bottom:1.75rem}.login-brand .wordmark{display:block;font-family:var(--serif);font-style:italic;font-weight:600;font-size:1.7rem;color:var(--gold);line-height:1.15}.login-brand .sub{display:block;font-size:.68rem;font-weight:500;letter-spacing:.2em;text-transform:uppercase;color:var(--text-muted);margin-top:.35rem}label{display:block;margin:.9rem 0 .3rem;font-size:.82rem;color:var(--text-muted);font-weight:500}input[type=text],input[type=email],input[type=password],input[type=number],input[type=tel],input[type=date],textarea,select{width:100%;padding:.55rem .7rem;font-size:.9rem;font-family:var(--sans);background:var(--surface-inset);border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text)}input::placeholder,textarea::placeholder{color:var(--text-muted)}input:focus,textarea:focus,select:focus{outline:2px solid var(--gold);outline-offset:1px;border-color:var(--gold)}button{margin-top:1rem;padding:.55rem 1.1rem;font-size:.87rem;font-weight:600;font-family:var(--sans);border:1px solid var(--gold);border-radius:var(--radius-sm);background:var(--gold);color:#171310;cursor:pointer;transition:background .15s,border-color .15s}button:hover:not(:disabled){background:var(--gold-strong);border-color:var(--gold-strong)}button.secondary{background:transparent;color:var(--text);border-color:var(--border-strong)}button.secondary:hover:not(:disabled){background:var(--surface-hover);border-color:var(--text-muted)}a.secondary,label.secondary{display:inline-block;margin-top:1rem;padding:.55rem 1.1rem;font-size:.87rem;font-weight:600;font-family:var(--sans);border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:transparent;color:var(--text);text-decoration:none;cursor:pointer;transition:background .15s,border-color .15s}a.secondary:hover,label.secondary:hover{background:var(--surface-hover);border-color:var(--text-muted)}button:focus-visible{outline:2px solid var(--gold);outline-offset:2px}button:disabled{opacity:.45;cursor:not-allowed}.error{color:var(--red);font-size:.85rem;margin-top:.6rem}.hint{color:var(--text-muted);font-size:.83rem}.link-button{background:none;border:none;color:var(--gold);text-decoration:underline;padding:0;margin:.6rem 0 0;font-size:.85rem;cursor:pointer;display:block}.link-button:hover{color:var(--gold-strong)}.code-list{font-family:ui-monospace,SF Mono,monospace;background:var(--surface-inset);border:1px solid var(--gold);padding:1rem 1.1rem;border-radius:var(--radius-sm);white-space:pre-wrap;word-break:break-all;color:var(--gold-strong);font-size:.9rem;letter-spacing:.02em}.toolbar{display:flex;gap:.75rem;align-items:center;flex-wrap:wrap;margin-bottom:1.25rem}.toolbar select,.toolbar input[type=text]{width:auto}table.data-table{width:100%;border-collapse:collapse;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}table.data-table th,table.data-table td{text-align:left;padding:.7rem .9rem;border-bottom:1px solid var(--border);font-size:.86rem}table.data-table th{font-size:.68rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);background:var(--surface-hover)}table.data-table tr:last-child td{border-bottom:none}table.data-table tr:hover td{background:var(--surface-hover);cursor:pointer}.status-dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:.4rem}.status-dot--green{background:var(--green)}.status-dot--orange{background:var(--orange)}.status-dot--red{background:var(--red)}.status-dot--none{background:var(--text-muted)}.tag-pill{display:inline-block;padding:.2rem .6rem;background:var(--surface-hover);border:1px solid var(--border-strong);border-radius:999px;font-size:.75rem;margin-right:.3rem;color:var(--text-muted)}.tabs{display:flex;gap:1.5rem;border-bottom:1px solid var(--border);margin-bottom:1.25rem}.tabs button{margin:0;background:none;color:var(--text-muted);border:none;border-bottom:2px solid transparent;border-radius:0;padding:.6rem 0;font-weight:500}.tabs button:hover:not(:disabled){background:none;color:var(--text)}.tabs button.active{border-bottom-color:var(--gold);color:var(--gold-strong);font-weight:600}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 1.5rem}.checklist-item{display:flex;align-items:center;gap:.5rem;padding:.35rem 0}.dash-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:.75rem;margin-bottom:1.5rem}.dash-tile{display:flex;flex-direction:column;gap:.3rem;padding:1.1rem 1.2rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);text-decoration:none;transition:border-color .15s,background .15s}.dash-tile:hover{border-color:var(--border-strong);background:var(--surface-hover)}.dash-tile-value{font-size:1.8rem;font-weight:600;color:var(--text)}.dash-tile-label{font-size:.78rem;color:var(--text-muted)}.dash-tile--orange .dash-tile-value{color:var(--orange)}.dash-tile--gold .dash-tile-value{color:var(--gold-strong)}.dash-actions{display:flex;gap:.75rem;margin-bottom:.5rem}.dash-alert-row{display:flex;align-items:center;gap:.6rem;padding:.6rem .75rem;border-bottom:1px solid var(--border);font-size:.85rem}.dash-alert-row .hint{margin-left:auto}.homepage-editor-frame-wrap{border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;margin-top:1rem}.homepage-editor-frame{width:100%;height:80vh;border:none;display:block;background:#fff}.timeline-board{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:.6rem;align-items:start}.timeline-column{min-width:0;border-radius:var(--radius-sm);padding:.4rem;transition:background .15s}.timeline-column.drag-over{background:var(--gold-soft)}.timeline-column h3{font-size:.68rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--text-muted);margin:0 0 .65rem;padding-bottom:.5rem;border-bottom:1px solid var(--border)}.timeline-card{background:var(--surface);border:1px solid var(--border);border-left:3px solid var(--border-strong);border-radius:var(--radius-sm);padding:.5rem .6rem;margin-bottom:.5rem;color:var(--text);font-size:.8rem;cursor:grab}.timeline-card:active{cursor:grabbing}.timeline-card select{margin-top:.2rem}.timeline-card--green{background:#3fb9501a;border-left-color:var(--green)}.timeline-card--orange{background:#e3a0081a;border-left-color:var(--orange)}.timeline-card--red{background:#f851491f;border-left-color:var(--red)}.pagination{display:flex;gap:.75rem;align-items:center;margin-top:1.25rem}.invoice-doc{background:#fff;color:#1a1a1a;border:1px solid #e2e2e2;border-radius:var(--radius);padding:2.5rem;max-width:900px;box-shadow:0 1px 3px #00000014}.invoice-doc input[type=text],.invoice-doc input[type=number],.invoice-doc input[type=date],.invoice-doc textarea,.invoice-doc select{background:#fff;color:#1a1a1a;border:1px solid #ccc}.invoice-doc .hint{color:#6b6b6b}.invoice-doc .tag-pill{background:#f0f0f0;border-color:#d8d8d8;color:#6b6b6b}.invoice-lang-switch{display:flex;justify-content:flex-end;gap:.4rem;margin-bottom:1rem}.invoice-lang-switch button{margin-top:0;padding:.3rem .65rem;font-size:.75rem}.invoice-doc-header{display:flex;justify-content:space-between;align-items:flex-start}.invoice-doc-brand{display:flex;flex-direction:column;align-items:flex-start;gap:.4rem}.invoice-doc-brand-name{font-family:var(--serif);font-size:1.3rem;font-weight:600;color:#1a1a1a}.invoice-doc-ref{font-weight:700;font-size:1rem;color:#1a1a1a}.invoice-doc-date{color:#6b6b6b;font-size:.85rem}.invoice-doc-divider{border-top:2px solid #d8d8d8;margin:1.25rem 0}.invoice-doc-title{font-family:var(--serif);font-size:2.3rem;font-weight:700;color:#1a1a1a;margin:.5rem 0 1.5rem}.invoice-doc-label{font-size:.72rem;font-weight:700;letter-spacing:.06em;color:#8a8a8a;margin-bottom:.3rem}.invoice-doc-meta{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-bottom:1.5rem}table.invoice-table{width:100%;border-collapse:collapse}table.invoice-table th{text-align:left;font-size:.68rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#8a8a8a;background:#f7f7f7;padding:.6rem .7rem;border-bottom:2px solid #e2e2e2}table.invoice-table td{padding:.6rem .7rem;border-bottom:1px solid #ececec;font-size:.88rem;color:#1a1a1a}table.invoice-table tr:last-child td{border-bottom:none}.invoice-doc-totals{margin-top:1rem;margin-left:auto;width:100%;max-width:320px}.invoice-doc-totals-row{display:flex;justify-content:space-between;padding:.4rem 0;border-bottom:1px solid #ececec;font-size:.9rem;color:#333}.invoice-doc-totals-row--total{border-bottom:none;border-top:2px solid #1a1a1a;margin-top:.2rem;padding-top:.6rem;font-weight:700;font-size:1.05rem;color:#1a1a1a}.invoice-doc-split{margin-top:.6rem;margin-left:auto;width:100%;max-width:320px}.invoice-doc-split .invoice-doc-totals-row{font-size:.83rem;color:#555}.invoice-doc-notes{margin-top:2rem;padding-top:1.25rem;border-top:1px solid #ececec}@media print{.app-sidebar,.invoice-actions,.no-print{display:none!important}.app-shell{max-width:none;margin:0;padding:0}.invoice-doc{border:none;padding:0}body{background:#fff;color:#000}}
