:root{--cream:#f7f6f2;--paper:#fffefa;--text:#2d302b;--muted:#777b71;--border:#e6e4dd;--forest:#31483f;--forest2:#203930;--sage:#ecf0e9;--copper:#a17b52;--gold:#b99a70;--pearl:#f0ede6;--warning:#8d6632;--radius:15px;--shadow:0 4px 25px rgba(35,42,31,.035)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--text);font-size:14px;line-height:1.52}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}h1,h2,h3,h4,p{margin-top:0}h1,h2,.serif{font-family:Georgia,"Times New Roman",serif}h1{font-size:clamp(28px,3vw,39px);line-height:1.15;font-weight:500;letter-spacing:-.035em}h2{font-weight:500;letter-spacing:-.02em}h3{font-size:16px;font-weight:650}small,.subtle{font-size:12px}.muted{color:var(--muted)}.sprite{position:absolute;width:0;height:0;overflow:hidden}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.brand-horse{height:40px;width:40px;stroke-width:2.1}
.app-shell{display:flex;min-height:100vh}.sidebar{width:266px;flex:0 0 266px;background:#fffefa;border-right:1px solid var(--border);height:100vh;position:sticky;top:0;display:flex;flex-direction:column;padding:24px 14px 20px;z-index:30}.brand{display:flex;align-items:center;gap:11px;padding:0 11px 30px;border-bottom:1px solid #ebe9e1;margin-bottom:26px}.brand-icon{width:49px;height:49px;display:grid;place-items:center;border:1px solid #cfccbd;background:#f7f4eb;border-radius:10px;color:#31483f}.brand strong{display:block;font-family:Georgia,serif;font-size:18px;font-weight:600;line-height:1.25;white-space:nowrap}.brand small{display:block;color:#8a887f;font-size:10px;margin-top:4px}.nav-heading{font-size:10px;font-weight:750;letter-spacing:.13em;color:#a2a297;padding:0 17px;margin:7px 0 12px}.side-nav{display:flex;flex-direction:column;gap:3px;margin-bottom:25px}.side-nav a{display:flex;align-items:center;gap:12px;padding:11px 15px;color:#667069;border-radius:9px;font-size:13px;font-weight:550;transition:background .2s,color .2s}.side-nav a svg{height:18px;width:18px;stroke-width:1.55}.side-nav a:hover{background:#f2f1ed;color:#2f4a3e}.side-nav a.is-active{background:#e9eee8;color:#27463a;font-weight:700}.sidebar-footer{margin-top:auto;border-top:1px solid var(--border);padding:20px 11px 0;display:flex;gap:10px;align-items:center;color:#737b72;font-size:11px;line-height:1.5}.sidebar-footer small{font-size:10px}.sidebar-mark{border:1px solid #bfb7a2;border-radius:50%;height:38px;width:38px;display:grid;place-items:center;font-family:Georgia,serif;font-weight:bold;color:var(--forest);letter-spacing:-1px}
.workarea{flex:1;min-width:0}.topbar{height:75px;padding:0 38px;border-bottom:1px solid var(--border);background:#fffefa;display:flex;align-items:center;justify-content:space-between;gap:15px}.top-left,.top-right{display:flex;align-items:center;gap:13px}.top-left strong{font-size:13px;font-weight:600}.top-section{font-size:10px;letter-spacing:.14em;color:#999b94;font-weight:700}.top-sep{color:#cac9c2}.avatar{background:#e7ebe6;border:1px solid #d7e0d6;width:37px;height:37px;border-radius:50%;display:grid;place-items:center;color:#426151;font-size:15px;font-weight:700}.user-info{font-size:12px;line-height:1.3}.user-info strong,.user-info span{display:block}.user-info span{color:#969890;font-size:11px;margin-top:3px}.logout{background:none;border:0;color:#8f918a;font-size:12px;padding:7px}.logout:hover{color:#26392e}.mobile-toggle{display:none;border:0;background:transparent;color:#456055;font-size:21px}
.main-content{padding:34px 38px 10px;max-width:1560px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:27px}.page-head h1{margin:4px 0 9px}.page-head p{color:#81847e;margin-bottom:0;font-size:13px}.eyebrow{font-size:10px;letter-spacing:.2em;text-transform:uppercase;font-weight:800;color:var(--copper)}.eyebrow.light{color:#c3ad8a}.actions{display:flex;gap:9px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:8px;background:var(--forest);color:white;font-weight:600;font-size:12.5px;padding:10px 17px;min-height:40px;white-space:nowrap;transition:transform .15s,background .15s}.btn:hover{background:#223a30;transform:translateY(-1px)}.btn svg{width:16px;height:16px}.btn-light{border-color:#dddcd4;background:#fffefa;color:#3e4c42}.btn-light:hover{background:#f0f1ec}.btn-ghost{background:transparent;border-color:transparent;color:#56665b}.btn-ghost:hover{background:#f0f1ec}.btn-danger{background:#8f4e47}.btn-danger:hover{background:#723833}.btn-sm{min-height:33px;padding:7px 11px}.btn-link{color:#42604d;font-weight:650}.btn-link:hover{text-decoration:underline}.btn-quiet{border:0;background:transparent;padding:4px 7px;font-weight:650;color:#446251}.btn-quiet:hover{text-decoration:underline}
.card{background:var(--paper);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}.card-pad{padding:25px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.stat-card{padding:23px 23px 20px;position:relative;overflow:hidden}.stat-card::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:#c5b197}.stat-card.green::before{background:#547669}.stat-card p{color:#888b83;margin:0 0 13px;font-size:12px}.stat-card strong{font-size:36px;line-height:1.08;display:block;font-weight:550;font-family:Georgia,serif;letter-spacing:-.03em}.stat-card span{color:#969b93;font-size:11px;display:block;margin-top:10px}.split{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(320px,1fr);gap:18px;margin-top:20px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:21px}.panel-head h2{font-size:21px;margin:0}.panel-head .sub{font-size:11px;color:#969990}.chart-legend{display:flex;align-items:center;gap:16px;font-size:11px;color:#8b9087}.chart-dot{display:inline-block;width:9px;height:9px;border-radius:3px;background:#4c6d5a;margin-right:5px}.chart-dot.gold{background:#b69b74}.chart-bars{display:flex;align-items:end;justify-content:space-evenly;gap:14px;height:210px;border-bottom:1px solid #e1e2da;padding:20px 12px 0;margin-top:20px;background:repeating-linear-gradient(to top,transparent 0,transparent 46px,#f3f3ec 47px)}.bar-col{flex:1;display:flex;align-items:center;flex-direction:column;justify-content:flex-end;height:100%;max-width:70px}.bar-pair{height:100%;display:flex;align-items:end;gap:5px;width:100%;justify-content:center}.bar-pair span{width:27%;max-width:18px;min-height:3px;background:#547668;border-radius:4px 4px 0 0}.bar-pair span:nth-child(2){background:#c2aa84}.bar-col label{position:absolute;transform:translateY(24px);font-size:11px;color:#8b8f85}.chart-wrap{margin-bottom:29px}.empty{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:24px;gap:10px;color:#8b9089;min-height:120px}.empty strong{color:#47584b}.quick-list{display:grid;gap:9px}.quick-link{display:flex;align-items:center;justify-content:space-between;padding:15px;border:1px solid #ecece4;border-radius:10px;background:#fbfaf7;font-weight:600;font-size:12.5px}.quick-link:hover{background:#f2f5ef}.quick-link small{display:block;color:#999e98;font-weight:400;margin-top:3px}.quick-link svg{width:17px;height:17px;color:#607a65}.section{margin-top:26px}.table-scroller{overflow-x:auto;width:100%}.table{width:100%;border-collapse:collapse;font-size:12.5px;min-width:670px}.table th{text-align:left;font-size:10px;text-transform:uppercase;letter-spacing:.09em;color:#9b9d95;font-weight:800;padding:13px 15px;border-bottom:1px solid var(--border);white-space:nowrap;background:#fdfcf8}.table td{padding:15px;border-bottom:1px solid #ecece5;vertical-align:middle;color:#626a61}.table tr:last-child td{border-bottom:0}.table tbody tr:hover{background:#fafbf8}.table td strong{color:#334439;font-weight:700}.table .identifier{color:#b0a89a;font-size:11px}.data-link{color:#375849;font-weight:700}.data-link:hover{text-decoration:underline}.badge{display:inline-flex;padding:4px 9px;border-radius:100px;background:#eef1ea;color:#55715b;font-size:10px;font-weight:750;white-space:nowrap}.badge.parcial{background:#f8efdf;color:#9c7739}.badge.ausente,.badge.excluido{background:#f2e7e4;color:#8d5a51}.badge.pendiente{background:#eff0ef;color:#7e8580}.badge.status-h{background:#f5eae3;color:#9a765b}.badge.status-m{background:#e8efeb;color:#5a796a}.table-footer{padding:13px 18px;border-top:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#91968d}.pagination{display:flex;gap:8px;align-items:center}.pagination a{padding:6px 11px;background:#f3f3ee;border-radius:7px;color:#52634f}.pagination .is-current{font-weight:bold;color:#333}
.filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding:18px 20px;margin-bottom:18px}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.field label{font-size:11px;font-weight:700;color:#687066}.field input,.field select,.field textarea,.select-input{width:100%;min-width:0;padding:11px 12px;border-radius:8px;border:1px solid #dedfd7;background:#fffefa;color:#304238;outline:none;transition:border-color .1s,box-shadow .1s}.field input:focus,.field select:focus,.field textarea:focus{border-color:#879f8d;box-shadow:0 0 0 3px #dde8db}.field textarea{min-height:90px;resize:vertical}.field small{color:#95988f}.filters .field{min-width:130px}.filters .field.search{flex:1;min-width:230px}.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.field.full{grid-column:1/-1}.form-block{padding:24px}.form-block h2{font-size:21px;margin:0 0 19px}.form-actions{display:flex;justify-content:flex-end;gap:10px;padding:20px 0}.helper{font-size:12px;color:#8d958d;line-height:1.6}.info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.info-grid dt{font-size:10px;text-transform:uppercase;font-weight:800;letter-spacing:.09em;color:#9b9e95;margin-bottom:6px}.info-grid dd{margin:0;font-size:13px;font-weight:600;color:#4a5a4e;word-break:break-word}.profile-hero{background:linear-gradient(115deg,#31483f,#455e51);color:#fdfaf2;border-radius:17px;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:28px 34px;margin-bottom:20px}.profile-hero .eyebrow{color:#c9af8a}.profile-hero h1{margin:5px 0;font-size:37px}.profile-hero p{color:#c6d2c8;margin:0}.profile-hero svg{height:110px;width:110px;opacity:.2}.measure-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.measure-card{padding:17px;border:1px solid #e9e8df;background:#fbfbf8;border-radius:9px}.measure-card .value{font-size:24px;font-family:Georgia,serif;font-weight:600;color:#355143;margin:5px 0}.measure-card .key{font-size:11px;color:#8b8f86}.measure-card small{color:#a4a79e}.tab-nav{display:flex;gap:7px;overflow-x:auto;padding-bottom:12px;margin-bottom:17px;scrollbar-width:thin}.tab-nav button{background:#fffefa;border:1px solid #e2e4dc;padding:10px 16px;border-radius:7px;font-weight:700;font-size:12px;white-space:nowrap;color:#677367}.tab-nav button.selected{background:#355145;color:white;border-color:#355145}.wizard-panel{display:none}.wizard-panel.selected{display:block}.wizard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.wizard-colhead{grid-column:1/-1;font-family:Georgia,serif;font-size:20px;color:#3c5647;padding:8px 0;border-bottom:1px solid #e7e7e0}.wizard-card{padding:18px 18px 20px;border:1px solid #e6e8e0;border-radius:10px;background:#fffefa}.wizard-card .field{margin-bottom:0}.wizard-card label{min-height:34px;line-height:1.2}.wizard-card input{font-variant-numeric:tabular-nums}.wizard-title{margin:0 0 11px;padding:0 0 8px;border-bottom:1px solid #e7e7df;color:#415c4b;font-family:Georgia,serif;font-size:17px}.form-wizard-foot{display:flex;align-items:center;justify-content:space-between;margin-top:20px;padding-top:17px;border-top:1px solid #e8e8e1}.wizard-meter{font-size:11px;color:#8c9388}.formula-footnote{font-size:12px;color:#926f3a;background:#faf5e9;border:1px solid #e9dcc5;border-radius:9px;padding:14px 16px;margin-top:20px}.footer-line{margin-top:40px;padding:18px 0 8px;border-top:1px solid #e4e5df;color:#a0a49b;display:flex;justify-content:space-between;gap:15px;font-size:10px}.flash{padding:12px 17px;border-radius:9px;margin-bottom:18px;border:1px solid #d6e5d6;background:#ebf5eb;color:#43614c;font-weight:600;font-size:12px}.flash-error{border-color:#ead7ce;background:#fcf1ed;color:#955347}.flash-success{border-color:#d6e5d6;background:#ebf5eb;color:#43614c}.notice{background:#f5f4ed;border:1px solid #e7e5d7;border-left:3px solid #b49d70;padding:16px 19px;border-radius:9px;color:#777c70;font-size:12px;line-height:1.65}.notice strong{color:#51604d}.warning{border-left-color:#be8c5c}.inline-list{margin:0;padding-left:18px}.inline-list li{margin:5px 0}.card-label{font-size:11px;text-transform:uppercase;letter-spacing:.12em;font-weight:800;color:#a0a497}.mini-bars{height:125px;display:flex;align-items:end;gap:8px;margin-top:20px}.mini-bars .col{flex:1;border-radius:3px 3px 0 0;background:linear-gradient(#557669,#a0b7a3);min-height:2px}.metric-number{font-family:Georgia,serif;font-size:24px;color:#355247;font-weight:650}.metric-stat p{color:#9fa49a;font-size:11px;margin:5px 0 0}.sticky-actions{position:sticky;bottom:0;background:rgba(247,246,242,.96);backdrop-filter:blur(8px);padding:15px;border:1px solid #e5e5db;border-radius:10px;z-index:5}.empty-table{padding:34px;text-align:center;color:#9ca198}.empty-table strong{display:block;color:#47594b;margin-bottom:10px}.is-auth{background:#f8f7f3}.auth-wrap{display:grid;grid-template-columns:minmax(350px,1.15fr) minmax(360px,.85fr);min-height:100vh}.auth-art{background:linear-gradient(145deg,#263b31,#455b47);padding:9vh 9vw 7vh 8vw;color:#fcf9ed;position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;overflow:hidden}.auth-grain{position:absolute;inset:0;opacity:.12;background:radial-gradient(circle at 82% 12%,#d5c18b,transparent 36%),repeating-linear-gradient(40deg,transparent 0px,transparent 21px,#bac6ac 22px,#bac6ac 23px);pointer-events:none}.auth-emblem{height:115px;width:115px;border-radius:50%;border:1px solid #9a9c7b;background:#506655;display:grid;place-items:center;margin-bottom:60px}.auth-emblem svg{width:70px;height:70px;color:#e3cfaa}.auth-art h1{font-size:clamp(34px,4.2vw,57px);max-width:580px;margin:25px 0 20px;line-height:1.1}.auth-art p{max-width:440px;font-size:14px;color:#cdd8cd;line-height:1.9}.auth-tagline{position:absolute;bottom:8vh;left:8vw;letter-spacing:.2em;font-size:11px;color:#c6caaa}.auth-main{display:flex;align-items:center;justify-content:center;padding:40px}.auth-card{max-width:380px;width:100%}.auth-card h2{font-size:33px;margin:12px 0}.auth-card p{color:#969b91;margin-bottom:30px}.auth-card .field{margin-bottom:17px}.auth-card .btn{width:100%;margin-top:10px}.auth-card .below{margin-top:34px;font-size:11px;color:#adb0a5}.auth-card .below strong{color:#516b57}
@media(max-width:1140px){.main-content{padding:28px 25px 10px}.topbar{padding:0 25px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.split{grid-template-columns:1fr}.measure-groups{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:840px){.sidebar{position:fixed;transform:translateX(-105%);transition:transform .2s;box-shadow:10px 0 40px #0001}.nav-open .sidebar{transform:translateX(0)}.nav-scrim{display:none}.nav-open .nav-scrim{display:block;position:fixed;inset:0;background:#132b2266;z-index:20}.mobile-toggle{display:block}.top-section,.top-sep,.user-info{display:none}.topbar{height:65px}.auth-wrap{grid-template-columns:1fr}.auth-art{display:none}.auth-main{min-height:100vh}}
@media(max-width:620px){.main-content{padding:23px 14px 9px}.topbar{padding:0 15px}.page-head{align-items:flex-start;flex-direction:column}.page-head h1{font-size:31px}.stats-grid{gap:10px}.stat-card{padding:17px}.stat-card strong{font-size:30px}.card-pad,.form-block{padding:18px}.form-grid,.form-grid.two,.wizard-grid,.measure-groups,.info-grid{grid-template-columns:1fr}.filters .field,.filters .field.search{width:100%;flex:1}.filters{padding:15px}.profile-hero{padding:20px}.profile-hero h1{font-size:29px}.profile-hero svg{display:none}.footer-line{flex-direction:column}.top-right{gap:5px}.top-left strong{font-size:12px}}
