:root{--ff-paper:#f4f0e9;--ff-ink:#29332d;--ff-muted:#686c64;--ff-line:#dcd8ce;--ff-accent:#925431;--accent:#925431;--text:#29332d;--bg:#f4f0e9}
body.first-face{background:var(--ff-paper);color:var(--ff-ink);font-family:Arial,Helvetica,sans-serif;font-size:14px}.first-face .sidebar{width:248px;background:#252d27;color:#eae5d9;border:0;padding:26px 17px 0;display:flex;flex-direction:column}.first-face .brand{color:#f4eddf;gap:14px;font-size:14px;letter-spacing:2px;margin:0 6px 26px}.first-face .brandmark{font-family:Georgia,serif;font-size:32px;font-style:italic;letter-spacing:-4px;background:transparent;color:#e0b583;width:38px}.brand small{display:block;font-size:8px;letter-spacing:1.8px;font-weight:400;margin-top:8px}.first-face .workspace{background:#323b33;color:#eae5d9;margin:0 0 20px;padding:12px;font-size:12px;gap:10px;border:1px solid #455045}.first-face .workspace small{color:#afb9ad;font-size:10px;margin-top:5px}.first-face .workspace-dot{position:static;background:#b6bf9d;flex:none}.first-face #navigation{overflow:auto;flex:1;padding-bottom:12px}.nav-group{display:block;color:#aab4a7;font-size:9px;font-weight:700;letter-spacing:1.7px;margin:19px 12px 8px}.first-face .nav-item{width:100%;display:flex;align-items:center;gap:10px;background:none;color:#c8d0c3;border:0;padding:9px 12px;border-radius:4px;font-size:12px;text-align:left;cursor:pointer;margin:2px 0}.first-face .nav-item:hover{background:#344037;color:#fff}.first-face .nav-item.active{background:#e9e2d3;color:#29332d}.nav-item .icon{width:17px;height:17px}.nav-count{margin-left:auto;font-variant-numeric:tabular-nums;font-size:10px;opacity:.7}.first-face .sidebar-bottom{margin-top:auto;border-top:1px solid #445044;padding:16px 0}.first-face .profile{border:0;padding:0;color:#e7e5dc}.first-face .profile .avatar{background:#475443;color:#e5e8dc}.first-face .profile small a,.first-face .profile .text-btn{color:#bbc7b7;font-size:11px}.first-face .shell{margin-left:248px;min-height:100vh}.first-face .topbar{height:70px;padding:0 38px;background:var(--ff-paper);border-bottom:1px solid var(--ff-line)}.first-face #main{padding:32px 38px 50px;max-width:1500px;margin:auto}.first-face footer{background:var(--ff-paper);border-top:1px solid var(--ff-line);margin:0 38px;padding:18px 0;color:var(--ff-muted);font-size:10px}.private-badge{font-size:10px;letter-spacing:.2px;color:#536849;background:#e6e9de;padding:7px 10px;border-radius:20px}.first-face .avatar{background:#e4e5db;color:#3e5138}.first-face .btn{border:1px solid #cecfc2;border-radius:4px;background:#fffef8;color:var(--ff-ink);box-shadow:none;font-size:12px;padding:10px 15px;min-height:38px}.first-face .btn.primary{background:#293b2d;color:#fff;border-color:#293b2d}.first-face .btn:hover{filter:brightness(.97)}.first-face .btn:disabled{opacity:.4;cursor:not-allowed}.first-face .text-btn{color:#925431}.ff-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:0 0 25px}.ff-head h1{font-family:Georgia,serif;font-size:36px;letter-spacing:-1px;font-weight:400;line-height:1.12;margin:8px 0 10px}.ff-head p{max-width:640px;color:var(--ff-muted);font-size:13px;line-height:1.65;margin:0}.first-face .eyebrow{font-size:9px;letter-spacing:1.9px;color:var(--ff-accent);font-weight:700}.ff-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.ff-hero{background:#e7e5d8;display:grid;grid-template-columns:1.45fr 1fr;overflow:hidden;border:1px solid #d6d7c6;border-radius:5px;margin-bottom:25px}.ff-hero-copy{padding:35px 34px}.ff-hero h2{font-family:Georgia,serif;font-size:44px;font-weight:400;letter-spacing:-1.5px;line-height:1.06;margin:15px 0}.ff-hero p{max-width:440px;line-height:1.7;color:#65705c;font-size:12px}.ff-seal{border-left:1px solid #ccd1bb;display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;min-height:230px;background:repeating-linear-gradient(90deg,transparent,transparent 35px,#bac3a82b 36px,#bac3a82b 37px)}.ff-seal span{font-family:Georgia,serif;font-style:italic;font-size:112px;letter-spacing:-15px;color:#647355;line-height:1}.ff-seal small{letter-spacing:3px;font-size:9px;color:#566448;margin-top:18px}.ff-metrics{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--ff-line);background:#fffcf6;border-radius:5px;margin-bottom:28px}.ff-metric{padding:23px;border-right:1px solid var(--ff-line)}.ff-metric:last-child{border:0}.ff-metric span{font-size:11px;color:var(--ff-muted)}.ff-metric strong{display:block;font-family:Georgia,serif;font-size:38px;font-weight:400;margin:8px 0}.ff-metric small{font-size:10px;color:#817f70}.ff-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:24px}.ff-panel{border:1px solid var(--ff-line);border-radius:5px;background:#fffcf6;padding:24px;margin-bottom:22px}.ff-panel h2{font-family:Georgia,serif;font-size:23px;font-weight:400;margin:0 0 15px}.ff-panel h3{font-size:13px}.ff-brand-row{display:grid;grid-template-columns:36px 1fr auto;gap:12px;padding:16px 0;border-bottom:1px solid var(--ff-line);align-items:center}.ff-brand-row:last-child{border:0}.ff-brand-row b{font-family:Georgia,serif;font-size:16px;font-weight:400}.ff-brand-row p{font-size:11px;color:var(--ff-muted);line-height:1.5;margin:5px 0 0}.ff-initial{border:1px solid #d1ceba;border-radius:50%;width:34px;height:34px;display:grid;place-items:center;font-family:Georgia,serif;color:#7d7355}.ff-banner{border-left:3px solid #a4784d;padding:13px 17px;background:#ece7da;font-size:12px;line-height:1.65;margin-bottom:22px;color:#655c45}.ff-toolbar{display:flex;gap:12px;margin-bottom:16px;flex-wrap:wrap}.ff-toolbar input{flex:1;min-width:180px}.first-face input,.first-face select,.first-face textarea{border:1px solid #d5d4c8;border-radius:4px;background:#fffefa;color:#29332d;max-width:100%;padding:10px 12px;font:inherit;font-size:13px}.first-face input:focus,.first-face select:focus,.first-face textarea:focus{outline:2px solid #a4b093;outline-offset:2px}.ff-table-wrap{overflow:auto;background:#fffcf6;border:1px solid var(--ff-line);border-radius:5px}.ff-table{width:100%;border-collapse:collapse;font-size:12px}.ff-table th{text-align:left;font-size:9px;letter-spacing:1px;text-transform:uppercase;font-weight:500;color:#697160;padding:14px 18px;background:#edece1;white-space:nowrap}.ff-table td{padding:17px 18px;border-top:1px solid #e6e3d9;vertical-align:middle;line-height:1.65;min-width:90px}.ff-table td:first-child{min-width:180px}.record-link{border:0;background:none;padding:0;color:#364831;font:inherit;font-weight:600;text-align:left;cursor:pointer;text-decoration:underline;text-decoration-color:#c7cfbe;text-underline-offset:4px}.record-link:hover{color:#925431}.record-id{display:block;font-size:10px;color:#8d8b7d;margin-top:4px;overflow-wrap:anywhere}.ff-chip{display:inline-block;font-size:9px;letter-spacing:.1px;padding:4px 8px;border-radius:3px;background:#eeebe1;color:#706750;white-space:nowrap}.ff-chip.good{background:#e4eadb;color:#456032}.ff-chip.warn{background:#f0e3d3;color:#835429}.ff-empty{padding:45px 24px;text-align:center;color:#72796a;line-height:1.8}.ff-total{font-size:11px;color:#7a8174;padding-top:13px}.ff-dialog{width:min(850px,calc(100vw - 32px));max-height:90vh;padding:28px;background:#faf7f0;border:1px solid #d7d4c7;border-radius:6px;color:#29332d}.ff-dialog::backdrop{background:#18211991;backdrop-filter:blur(3px)}.ff-dialog h2{font-family:Georgia,serif;font-size:30px;font-weight:400;margin:9px 0 15px}.ff-dialog .modal-head{border-bottom:1px solid var(--ff-line);padding-bottom:15px;margin-bottom:20px}.ff-detail{display:grid;grid-template-columns:160px 1fr;gap:14px;border-bottom:1px solid var(--ff-line);padding:12px 0;font-size:12px;line-height:1.7}.ff-detail dt{color:#797d71;text-transform:capitalize}.ff-detail dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}.ff-nested{padding-left:12px;border-left:1px solid var(--ff-line)}.ff-nested .ff-detail{grid-template-columns:120px 1fr}.ff-source-text{white-space:pre-wrap;font-size:12px;line-height:1.85;overflow-wrap:anywhere;max-height:500px;overflow:auto;background:#fffef9;padding:18px;border:1px solid var(--ff-line)}.ff-field{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#687160;margin:13px 0}.ff-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.ff-field.full{grid-column:1/-1}.ff-definition-field{display:grid;grid-template-columns:1fr 1fr 115px 1fr auto auto;gap:8px;align-items:center;margin-bottom:10px}.ff-definition-field input,.ff-condition input{min-width:0;width:100%}.ff-checkbox{display:flex;align-items:center;gap:7px;font-size:11px;margin:8px 0}.ff-checkbox input{width:16px;height:16px;accent-color:#456038}.ff-type-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}.ff-condition{display:grid;grid-template-columns:1.4fr 1fr 1fr auto;gap:8px;margin:10px 0}.ff-tabs{display:flex;gap:5px;border-bottom:1px solid var(--ff-line);margin-bottom:22px}.ff-tab{border:0;background:none;padding:12px 16px;font-size:12px;color:#6c7565;cursor:pointer}.ff-tab.active{color:#293b2d;border-bottom:2px solid #293b2d;font-weight:600}.ff-history{font-size:11px;color:#7a8174;line-height:1.7;margin:10px 0}.ff-error{color:#9b2a20;white-space:pre-wrap;font-size:12px;margin:12px 0}.ff-success{color:#456032;font-size:12px}.ff-file-list{list-style:none;padding:0;margin:0}.ff-file-list li{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid var(--ff-line);padding:12px 0;font-size:12px}.ff-file-list a{overflow-wrap:anywhere;color:#455c38}.ff-file-list small{white-space:nowrap;color:#797e72}.first-face #toast{background:#293b2d;color:#fff}.auth-page .auth-story{background:#252d27;color:#ebe6db}.auth-page .auth-story h1{font-family:Georgia,serif;font-weight:400}.auth-page .auth-story p,.auth-page .auth-story small{color:#c0cabb}.auth-page .auth-brand{color:#dcb98a}.auth-page .btn.primary{background:#293b2d;border-color:#293b2d}.auth-page,.admin-shell{background:#f4f0e9}.admin-shell .btn.primary{background:#293b2d}.first-face :focus-visible{outline:2px solid #a07c42;outline-offset:3px}
@media(max-width:1100px){.first-face #main{padding:25px}.first-face .topbar{padding:0 25px}.ff-hero h2{font-size:38px}.ff-definition-field{grid-template-columns:1fr 1fr 100px}.ff-grid{grid-template-columns:1fr}.ff-metric{padding:18px}.ff-type-choices{grid-template-columns:1fr 1fr}}
@media(max-width:800px){.first-face .sidebar{transform:translateX(-100%);z-index:60;height:100dvh}.first-face.nav-open .sidebar{transform:translateX(0)}.first-face .shell{margin-left:0}.first-face #mobile-menu{display:inline-flex}.first-face .topbar{height:60px;padding:0 18px}.first-face .top-right #today{display:none}.first-face #main{padding:24px 18px}.first-face footer{margin:0 18px;display:block;line-height:2}.ff-hero{grid-template-columns:1fr}.ff-seal{display:none}.ff-hero-copy{padding:25px}.ff-metrics{grid-template-columns:1fr 1fr}.ff-metric:nth-child(2){border-right:0}.ff-metric:nth-child(-n+2){border-bottom:1px solid var(--ff-line)}.ff-head{flex-direction:column;gap:14px}.ff-head h1{font-size:32px}.ff-fields{grid-template-columns:1fr}.ff-type-choices{grid-template-columns:1fr 1fr}.ff-condition{grid-template-columns:1fr 1fr}.ff-detail{grid-template-columns:1fr;gap:3px}.ff-nested .ff-detail{grid-template-columns:1fr}.ff-tabs{overflow:auto}.ff-tab{white-space:nowrap}.ff-dialog{padding:20px}.ff-table td,.ff-table th{padding:12px}.ff-toolbar select{width:100%}.private-badge{font-size:9px}.ff-definition-field{grid-template-columns:1fr 1fr}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

:root{color-scheme:light}.first-face #navigation{display:block;min-height:0}.first-face .nav-item{min-height:35px}.first-face .btn.primary:hover{background:#344b39}.first-face .ff-dialog .modal-head>div{flex:1}

:root{--surface:#fffdf7;--surface-secondary:#efeee3;--surface-tertiary:#e4e5d9;--ink:#29332d;--muted:#686f63;--line:#d9d8ca;--accent-soft:#eee7dc;--success:#456032;--success-soft:#e4eadb;--warning:#835429;--warning-soft:#f0e3d3;--danger:#9b2a20;--danger-soft:#f5e4de}.first-face #nav-backdrop{position:fixed;inset:0;border:0;z-index:55;background:#18211991}.first-face.nav-open #nav-backdrop{display:block}.first-face #toast.show{opacity:1;transform:translateY(0)}.auth-story .eyebrow{color:#d4b48a}.first-face .breadcrumbs{min-width:0}.first-face .breadcrumbs strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
