:root{font-family:'DM Sans',system-ui,sans-serif;color:#253d35;background:#f5f6f2;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}a{color:inherit}.shell{display:flex;min-height:100vh}aside{width:248px;background:#133e34;color:#fff;flex-shrink:0;padding:35px 23px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{font-family:Manrope,system-ui;font-size:23px;letter-spacing:-1px;font-weight:800;text-decoration:none;white-space:nowrap}.logo{color:#e9bd67;font-size:34px;vertical-align:middle}.tagline{font-size:9px;letter-spacing:2.5px;color:#a7bdb4;margin:6px 0 48px 36px}nav{display:grid;gap:8px}nav a{display:flex;align-items:center;gap:15px;padding:13px 15px;color:#bacfc5;text-decoration:none;border-radius:8px;font-size:14px}nav a.active{background:#2d5549;color:#fff}nav a:hover{background:#244c40}.nav-icon{width:20px;font-size:20px}.aside-bottom{margin-top:auto;color:#b1c8bd;font-size:11px;line-height:1.7}.aside-bottom p{font-size:11px;color:#8eafa0}.live-dot{display:inline-block;width:7px;height:7px;background:#badc89;border-radius:50%;margin-right:6px}.main{min-width:0;flex:1}header{height:96px;border-bottom:1px solid #e1e5dd;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 44px}header p{font-size:14px;margin:5px 0}.eyebrow{font-size:9px;font-weight:700;letter-spacing:2px;color:#8a958a}.profile{font-size:11px;color:#67796d;display:grid;gap:4px}.profile select{border:0;background:#eef2ec;padding:8px;border-radius:6px;color:#244b3b;font-size:12px}.demo{font-size:11px;background:#f1ead9;color:#766539;padding:10px 44px;border-bottom:1px solid #e9e0c9}main{max-width:1330px;margin:auto;padding:38px 44px;min-height:calc(100vh - 190px)}h1,h2,h3{font-family:Manrope,system-ui;letter-spacing:-.7px}h1{font-size:32px;margin:7px 0 10px;font-weight:800}h2{font-size:18px;margin:0 0 18px}h3{font-size:15px;margin:0 0 9px}p{line-height:1.6}.muted{color:#788579;font-size:13px}.page-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:28px}.page-top p{margin:0}.date{font-size:12px;color:#728075}.btn{border:0;border-radius:7px;background:#194c3b;color:white;padding:12px 18px;font-size:12px;font-weight:700;display:inline-block;text-decoration:none}.btn.secondary{background:#eaf0e8;color:#244d3c}.btn.small{padding:8px 12px}.btn:disabled{opacity:.5;cursor:default}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:28px}.stat,.card{background:#fff;border:1px solid #e2e7dd;border-radius:11px;padding:23px}.stat .label{font-size:12px;color:#788579}.stat strong{font:800 32px Manrope,system-ui;display:block;margin:12px 0 5px}.stat small{font-size:10px;color:#84907f}.stat-icon{float:right;color:#6d9279;font-size:19px}.grid{display:grid;grid-template-columns:1.6fr 1fr;gap:22px}.card{margin-bottom:22px}.card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.card-head h2{margin:0}.card-head a{font-size:11px;color:#49725b}.work-visual{height:130px;background:linear-gradient(120deg,#dce4d8,#e9eadb);border-radius:7px;position:relative;overflow:hidden;margin-bottom:17px}.building{position:absolute;bottom:0;left:15%;width:65%;height:85%;background:repeating-linear-gradient(90deg,transparent 0 23px,#8ca08b 23px 32px),repeating-linear-gradient(0deg,#cad2be 0 20px,#a6b69b 20px 29px);transform:skewY(-7deg);border-top:7px solid #6e8670}.work-visual:after{content:'';position:absolute;width:2px;height:110px;background:#c49241;right:18%;bottom:15px;box-shadow:0 0 0 3px #c4924130}.badge{display:inline-block;font-size:10px;font-weight:600;border-radius:5px;padding:5px 9px;background:#edf3e9;color:#507645}.badge.pending{background:#fff3d7;color:#917228}.work-meta{display:flex;gap:20px;margin-top:18px;padding-top:14px;border-top:1px solid #eef0e9;font-size:11px;color:#7b8878}.activity{padding:14px 0;border-bottom:1px solid #edf0e8;font-size:12px;line-height:1.5}.activity:last-child{border:0}.activity small{display:block;color:#8b9486;font-size:10px;margin-top:4px}.empty{padding:26px 10px;text-align:center;font-size:13px;color:#819078;line-height:1.8}.help-card{background:#eaf0e4}.help-card p{font-size:12px;color:#6d7c63}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}label.field{font-size:12px;color:#5f7161;display:grid;gap:7px}.field input,.field select,.field textarea{width:100%;border:1px solid #dbe2d5;border-radius:6px;background:white;padding:11px;color:#273e31}.field textarea{min-height:85px;resize:vertical}.full{grid-column:1/-1}.actions{display:flex;align-items:center;gap:12px;margin-top:20px;flex-wrap:wrap}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px;white-space:nowrap}th{text-align:left;padding:12px 10px;background:#f5f7f1;color:#7c8876;font-size:10px;text-transform:uppercase;letter-spacing:.6px}td{padding:15px 10px;border-bottom:1px solid #edf0e8}input[type=checkbox]{width:18px;height:18px;accent-color:#245842}.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.photo-grid img{width:100%;height:160px;object-fit:cover;border-radius:7px}.photo-grid p{font-size:12px}.notice{background:#f5f7f1;padding:16px;border-radius:7px;margin-bottom:10px;font-size:13px}.notice small{display:block;color:#839078;margin-top:5px}details{padding:14px 0;border-bottom:1px solid #e7eadf;font-size:13px}summary{cursor:pointer;font-weight:600}details p{color:#6a7964}footer{padding:20px 44px;color:#83907b;font-size:10px;display:flex;justify-content:space-between}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);max-width:90vw;background:#183e31;color:white;border-radius:9px;padding:14px 22px;box-shadow:0 8px 25px #0002;font-size:13px;display:none;z-index:10}.error{color:#b23c30;font-size:13px;margin-top:14px}.intro-strip{background:#eaf0e4;border:1px solid #dde6d4;padding:16px 20px;border-radius:9px;font-size:12px;margin-bottom:24px}.manual{max-width:760px}.manual li{margin:10px 0;font-size:14px;line-height:1.7}
@media(min-width:1450px){main{padding-top:48px}.work-visual{height:180px}}@media(max-width:1050px){aside{width:200px;padding:28px 16px}.brand{font-size:20px}header{padding:0 25px}main{padding:28px 25px}.demo{padding:10px 25px}.stats{gap:10px}.stat{padding:16px}.grid{grid-template-columns:1fr}.photo-grid{grid-template-columns:1fr 1fr}}@media(max-width:650px){.shell{display:block}aside{width:100%;height:auto;padding:12px 16px;position:static}.brand{font-size:21px}.tagline,.aside-bottom{display:none}nav{display:flex;overflow:auto;gap:4px;margin-top:12px}nav a{font-size:11px;padding:9px 11px;white-space:nowrap;gap:6px}.nav-icon{font-size:14px;width:auto}header{height:77px;padding:0 18px}.eyebrow{font-size:8px}.profile select{max-width:170px;font-size:11px}.demo{padding:10px 18px;font-size:10px}main{padding:25px 16px}h1{font-size:27px}.page-top{align-items:flex-start}.date{display:none}.stats{grid-template-columns:1fr 1fr;gap:10px}.stat strong{font-size:27px}.card{padding:18px}.form-grid{grid-template-columns:1fr}.full{grid-column:auto}.photo-grid{grid-template-columns:1fr 1fr}footer{padding:15px 18px}footer span{display:none}}@media print{aside,header,.demo,footer,.actions,#toast,.page-top .btn{display:none}main{padding:0}.card{border:0}.shell,.main{display:block}body{background:white}}

#hour-correction {
 width: min(460px, calc(100% - 32px));
 padding: 24px;
 border: 1px solid #dbe2d5;
 border-radius: 11px;
 color: inherit;
}
#hour-correction::backdrop { background: #133e3470; }
.correction-reason {
 max-width: 230px;
 white-space: normal;
 overflow-wrap: anywhere;
 margin: 6px 0 0;
}
#hour-correction .correction-reason { max-width: none; margin: 0 0 14px; }

.agenda-controls { margin-top: 0; margin-bottom: 20px; }
.agenda-day { border-top: 1px solid #e2e7dd; padding-top: 14px; }
.agenda-day h3 { text-transform: capitalize; }
.agenda-entry { overflow-wrap: anywhere; }
.agenda-entry:target { outline: 3px solid var(--section-color); outline-offset: 3px; scroll-margin-top: 18px; }
.agenda-entry p { margin: 6px 0 0; white-space: pre-wrap; }

.theme-agenda { --section-color: #176049; }
.theme-ayuda { --section-color: #53636d; }
.password-field { display: grid; gap: 7px; font-size: 12px; color: #5f7161; }
.password-control { display: flex; gap: 8px; align-items: stretch; }
.password-control input { min-width: 0; flex: 1; }
.password-toggle { min-height: 44px; flex: none; }
.custom-work-row { display: grid; grid-template-columns: 1fr 2fr auto; gap: 12px; align-items: start; padding: 14px 0; border-bottom: 1px solid #dce4dc; margin-bottom: 12px; }
.custom-work-values { font-size: 13px; }
.custom-work-values dt { font-weight: 700; }
.custom-work-values dd { margin: 4px 0 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 650px) { .custom-work-row { grid-template-columns: 1fr; } }
.theme-obras { --section-color: #914012; }
.theme-horas { --section-color: #205ca4; }
.theme-fotos { --section-color: #9b2d63; }
.theme-pedidos { --section-color: #586811; }
.theme-prl { --section-color: #176476; }
.theme-planos { --section-color: #176476; }
.theme-conecta { --section-color: #6438a3; }

.pilot-section {
 min-height: 100vh;
 background: color-mix(in srgb, var(--section-color) 5%, white);
 accent-color: var(--section-color);
}
.pilot-section .eyebrow,
.pilot-section h2,
.pilot-section h3,
.pilot-section .section-heading { color: var(--section-color); }
.section-heading { display: flex; align-items: center; gap: .35em; }
.section-icon {
 display: inline-grid;
 place-items: center;
 flex: none;
 width: 2em;
 height: 2em;
 border-radius: .5em;
 background: var(--section-color);
 color: white;
}
.section-icon svg { width: 1.35em; height: 1.35em; }
.section-heading .section-icon { font-size: .72em; }

.pilot-section .btn { background: var(--section-color); }
.pilot-section .btn.secondary,
.pilot-section .section-nav .btn,
.pilot-section .notice,
.pilot-section .intro-strip,
.pilot-section .badge:not(.pending),
.pilot-section th {
 background: color-mix(in srgb, var(--section-color) 9%, white);
 color: var(--section-color);
}
.pilot-section .card,
.pilot-section .intro-strip,
.pilot-section .agenda-day,
.pilot-section .field :is(input, select, textarea) {
 border-color: color-mix(in srgb, var(--section-color) 22%, white);
}
.pilot-section input[type=checkbox] { accent-color: var(--section-color); }
.pilot-section .section-nav .btn {
 display: inline-flex;
 align-items: center;
 gap: .55em;
 padding: 7px 12px;
 min-height: 44px;
}
.pilot-section .section-nav .btn[aria-current="page"] {
 background: var(--section-color);
 color: white;
}
.section-nav [aria-current="page"] .section-icon {
 background: white;
 color: var(--section-color);
}
.pilot-section .section-nav { gap: 8px; }
.company-picker { padding: 0; border: 0; }
.company-picker summary {
 padding: 13px 15px;
 border-radius: 7px;
 background: color-mix(in srgb, var(--section-color) 9%, white);
 color: var(--section-color);
}
.company-picker ul { list-style: none; padding: 0; margin: 6px 0 0; }
.company-picker li > * { display: block; padding: 13px 15px; }

.excel-preview { overflow-x: auto; }
.session-toolbar { flex-wrap: wrap; }
.session-toolbar > p { min-width: 0; overflow-wrap: anywhere; }
.session-actions { margin-top: 0; }
.session-actions .btn { min-height: 44px; }
@media (max-width: 650px) {
 .session-toolbar { flex-direction: column; align-items: stretch; }
 .session-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
 .session-actions .btn { width: 100%; text-align: center; white-space: normal; }
 .session-actions form { grid-column: 1 / -1; margin: 0; }
}
.excel-preview table { width: 100%; border-collapse: collapse; }
.excel-preview th, .excel-preview td { padding: .65rem; text-align: left; border-bottom: 1px solid #dce4dc; }

.photo-folder {display:flex;flex-direction:column;gap:10px;text-decoration:none;color:inherit;min-height:115px;}
.photo-folder > span {font-size:40px;}
.photo-folder:hover {outline:2px solid #9b2d63;}
