@import url('/static/typography.css');
:root{--ink:#17251f;--muted:#77847c;--green:#236845;--mint:#e8f2eb;--line:#e4e9e4;--paper:#f7f9f6;--white:#fff;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--paper);font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible{outline:3px solid #b6cbaa;outline-offset:4px}[hidden]{display:none!important}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin-top:0}h1{font-size:38px;font-weight:500;letter-spacing:-1.6px;line-height:1.14;margin-bottom:12px}h2{font-size:17px;font-weight:600;letter-spacing:-.3px}h3{font-size:16px}small{font-size:12px}.muted{color:var(--muted);line-height:1.7}.eyebrow{color:var(--green);letter-spacing:2.1px;font-size:10px;font-weight:700;margin-bottom:17px}.brand{display:flex;align-items:center;font-size:26px;font-weight:700;letter-spacing:-1.3px}.brand-mark{display:inline-grid;place-items:center;width:33px;height:36px;background:var(--green);color:white;border-radius:10px 10px 10px 2px;font-style:italic;font-size:33px;margin-right:10px}.brand-dot{color:#70a685}.primary,.secondary{border-radius:7px;padding:12px 18px;display:inline-flex;align-items:center;justify-content:center;gap:16px;font-weight:600;border:1px solid transparent}.primary{background:var(--green);color:white}.primary:hover{background:#1c5337}.secondary{background:white;border-color:var(--line);color:var(--ink)}.secondary:hover{background:#f1f5ef}.text-button{border:0;background:none;color:var(--green);padding:7px;font-size:12px}.wide{width:100%;justify-content:space-between}.workspace{display:flex;min-height:100vh}.sidebar{width:226px;position:fixed;inset:0 auto 0 0;padding:32px 22px;background:white;border-right:1px solid var(--line);display:flex;flex-direction:column}.sidebar .brand{margin-left:7px}.sidebar-label{margin:53px 13px 15px;color:#99a399;font-size:9px;letter-spacing:1.8px}.nav-item{width:100%;text-align:left;border:0;background:none;color:#7d897f;border-radius:7px;padding:13px 15px;margin:3px 0;font-size:13px}.nav-item span{font-size:19px;margin-right:12px}.nav-item.active{background:var(--mint);color:var(--green);font-weight:600}.sidebar-bottom{margin-top:auto;color:#859086;font-size:10px;line-height:2.3;padding:16px 3px}.sidebar-bottom small{font-size:10px;margin-left:13px}.system-dot{display:inline-block;width:6px;height:6px;border-radius:100%;background:#74a681;margin-right:4px}.main-shell{margin-left:226px;flex:1;min-width:0;display:flex;flex-direction:column}.topbar{height:78px;padding:0 43px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;color:#8a938c;font-size:12px}.topbar strong{color:#4f5a52;font-weight:500}.slash{margin:0 15px;color:#c6cdc7}.topbar>div{display:flex;align-items:center;gap:15px}.admin-avatar{width:30px;height:30px;border-radius:50%;background:#eaf0e8;display:grid;place-items:center;font-size:10px;color:var(--green)}.admin-main{padding:43px;max-width:1600px;width:100%;margin:auto;flex:1}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:27px;gap:20px}.page-heading p{margin:0;font-size:13px}.page-heading .eyebrow{margin-bottom:13px}.page-heading h1{font-size:34px}.notice{padding:13px 16px;background:#eef2e7;border:1px solid #e0e7d5;border-radius:7px;font-size:12px;color:#67784e;margin-bottom:34px;line-height:1.6}.section-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.section-top h2{margin:0}.section-top .muted{font-size:11px}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:30px}.metric{border:1px solid var(--line);border-radius:9px;background:#fff;padding:23px;display:flex;flex-direction:column}.metric>span{font-size:12px;color:#78847c}.metric strong{font-size:37px;font-weight:500;letter-spacing:-1px;margin:20px 0 10px}.metric small{color:#929c94;font-size:10px}.metric.highlight{background:#edf5ec;border-color:#dbe8d8}.metric.highlight strong{color:var(--green)}.overview-bottom{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(250px,1fr);gap:23px}.panel{border:1px solid var(--line);background:white;border-radius:9px;padding:23px;min-width:0}.panel .section-top{margin-bottom:20px}.empty{text-align:center;padding:40px 15px;color:#929d94}.empty>span{display:block;font-size:32px;color:#b2c2ae;margin-bottom:16px}.empty h3{color:#647363;font-weight:500;font-size:14px}.empty p{font-size:12px;max-width:310px;margin:0 auto;line-height:1.8}.integration-panel{background:#f0f3eb}.integration-panel .eyebrow{font-size:8px;letter-spacing:1.3px}.integration-art{height:89px;display:flex;align-items:center;font-size:42px;gap:24px;color:#558366}.integration-art span{font-size:20px;color:#9db295}.integration-panel h2{line-height:1.6;font-size:17px}.integration-panel p{font-size:12px}.integration-panel .secondary{font-size:11px;padding:10px 13px}.admin-footer{padding:20px 43px;color:#99a398;font-size:10px;display:flex;justify-content:space-between;border-top:1px solid var(--line)}.filters{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.filters>input{flex:1;min-width:220px}.filters label{font-size:10px;display:flex;align-items:center;gap:5px}.filters input,.filters select{width:auto;padding:10px;border:1px solid var(--line);background:white;border-radius:6px;max-width:100%}label{display:block;font-size:12px;font-weight:600;margin-bottom:18px}input,textarea,select{display:block;width:100%;margin-top:8px;border:1px solid #dce3dc;border-radius:6px;background:white;color:var(--ink);padding:12px;outline:none}input:focus,textarea:focus,select:focus{border-color:#538765;box-shadow:0 0 0 2px #e4eee3}label small{display:block;font-weight:400;font-size:10px;color:var(--muted);margin-top:6px}.filters input,.filters select{margin-top:0}.filters label{margin:0}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left}th{font-size:10px;font-weight:500;color:#8b978e;padding:12px 13px;background:#f8faf7}td{padding:17px 13px;font-size:11px;border-bottom:1px solid #eef1eb}td strong{font-size:12px;font-weight:500}td small{display:block;margin-top:6px;color:#98a297;font-size:9px}tbody tr:last-child td{border-bottom:0}.badge{display:inline-block;background:#f0f2ed;color:#8b917e;padding:5px 9px;border-radius:5px;font-size:10px}.badge.approved{background:#e7f3e9;color:#39774b}.badge.rejected,.badge.error{background:#f9ece7;color:#a2604c}.badge.started,.badge.processing{background:#eaf1f8;color:#486c92}.app-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}.app-card h2{margin-top:18px;font-size:20px}.app-card small{font-size:8px;letter-spacing:1.2px;color:#95a08f}.app-icon{font-size:24px;color:var(--green)}.mono{font:11px Consolas,monospace;color:#869383;overflow-wrap:anywhere}.webhook-url{font-size:12px;overflow-wrap:anywhere;line-height:1.8}.app-actions{display:flex;gap:9px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:20px;margin-top:23px}.app-actions .secondary{font-size:11px;padding:8px 13px}.pagination{display:flex;justify-content:space-between;align-items:center;margin:20px 0;color:var(--muted);font-size:12px}dialog{border:1px solid var(--line);border-radius:13px;width:490px;max-width:calc(100% - 30px);padding:28px;box-shadow:0 20px 100px #10231725}dialog::backdrop{background:#172a204d;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.dialog-heading h2{font-size:22px;margin:0}.close-dialog{border:0;background:none;font-size:28px;color:#899487}.checkbox{display:flex;align-items:center;gap:10px}.checkbox input{width:16px;margin:0}.wide-dialog{width:760px}pre{padding:18px;background:#f3f6f0;border:1px solid #e7ece3;border-radius:6px;white-space:pre-wrap;overflow-wrap:anywhere;font:11px/1.7 Consolas,monospace}dialog p{font-size:12px;line-height:1.8;color:var(--muted)}#toast{padding:15px;background:#fff0e9;color:#9b5744;border-radius:6px;margin-bottom:18px}#login-error,#app-error{color:#a65244;font-size:12px}.login-view{min-height:100vh;display:grid;place-items:center;background:radial-gradient(ellipse at 25% 30%,#e9f0e3,transparent 65%)}.login-card{width:410px;max-width:calc(100% - 32px);padding:40px;background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:0 10px 60px #28452807}.login-card .brand{margin-bottom:44px}.login-card h1{font-size:35px}.login-card form{margin-top:30px}.login-card>small{display:block;text-align:center;font-size:10px;color:#9ca797;margin-top:25px}.capture-page{background:#f7f9f5}.capture-header{display:flex;justify-content:space-between;align-items:center;padding:25px 35px;max-width:1100px;margin:auto}.secure-label{color:#7e907d;font-size:11px}.capture-card{max-width:420px;margin:22px auto 0;text-align:center;padding:20px}.capture-card h1{font-size:34px}.capture-card>.muted{font-size:13px}.camera-stage{position:relative;margin:25px auto 20px;width:290px;height:330px;max-width:100%;border-radius:22px;overflow:hidden;background:linear-gradient(145deg,#e6ecdf,#f0f3e9);display:grid;place-items:center;border:1px solid #dfe7d9}video{position:absolute;width:100%;height:100%;object-fit:cover;transform:scaleX(-1)}.face-guide{width:184px;height:245px;border:2px solid #76a17b;border-radius:48%;position:relative;box-shadow:0 0 0 100px #1b3c2520;display:grid;place-items:center}.face-icon{font-size:86px;color:#96ad8e;font-weight:400}.camera-note{position:absolute;bottom:13px;color:#355f39;background:#f3f7edeb;font-size:10px;border-radius:12px;padding:6px 10px}.capture-progress{width:160px;height:3px;margin:auto;background:#e2e9dc;border-radius:10px;overflow:hidden}.capture-progress>span{display:block;height:100%;width:0;background:var(--green);transition:width .3s}.capture-card #capture-status{font-size:12px;color:#74836e;line-height:1.6;margin:18px 0}.capture-hints{display:flex;justify-content:space-between;margin:20px 0 22px;font-size:9px;color:#85947f;gap:7px}.privacy{font-size:10px;line-height:1.8;color:#95a08f;border-top:1px solid #e3e8de;padding-top:18px}.capture-footer{font-size:10px;color:#98a58f;text-align:center;margin:20px 15px}.camera-stage.success{background:#e7f2e2}.camera-stage.failed{background:#f0eee6}.failed .face-guide{border-color:#b7ab8c}.failed .face-icon{color:#b7ab8c}.success .face-icon{color:var(--green)}@media(min-width:1450px){.metrics{grid-template-columns:repeat(6,1fr)}}@media(max-width:1100px){.sidebar{width:190px;padding:27px 15px}.main-shell{margin-left:190px}.admin-main{padding:28px}.topbar{padding:0 28px}.overview-bottom{grid-template-columns:1fr}.integration-panel{display:none}}@media(max-width:700px){.sidebar{position:static;width:100%;padding:16px;border-right:0;border-bottom:1px solid var(--line)}.workspace{display:block}.sidebar .brand{font-size:23px}.sidebar-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;margin-top:15px}.nav-item{padding:10px;font-size:11px;text-align:center}.nav-item span{margin-right:5px}.main-shell{margin:0}.topbar{height:56px;padding:0 20px}.admin-main{padding:26px 18px}.page-heading h1{font-size:30px}.page-heading{gap:10px}.page-heading .primary,.page-heading .secondary{padding:10px;font-size:11px}.metrics{grid-template-columns:repeat(2,1fr);gap:10px}.metric{padding:17px}.metric strong{font-size:31px}.metric>span{font-size:11px}.panel{padding:16px}.admin-footer{padding:20px;font-size:9px}.admin-footer span{display:none}.filters>input,.filters select{width:100%}.filters label{width:calc(50% - 5px)}.filters label input{min-width:0;flex:1}.capture-header{padding:20px}.capture-header .brand{font-size:23px}.capture-card{margin:0 auto}.capture-card h1{font-size:30px}.camera-stage{height:300px;width:270px}.face-guide{height:230px;width:174px}.secure-label{font-size:10px}}

.settings-group{margin:24px 0;border:1px solid var(--line);min-width:0}.settings-group legend{font-weight:600;padding:0 8px}.settings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:20px}.settings-grid label{display:flex;flex-direction:column;gap:8px}.settings-grid input{width:100%}#settings-history details{padding:14px 0;border-bottom:1px solid var(--line)}#settings-history summary{cursor:pointer}#settings-history li{margin:8px 0}#settings-error{color:#a33232}@media(max-width:700px){.sidebar nav{flex-wrap:wrap}.sidebar .nav-item{width:50%}}
