/* Existing layout, translated into neutral theme tokens. */

*{box-sizing:border-box}[hidden]{display:none!important}button:disabled{opacity:.55;cursor:not-allowed;transform:none!important}
html{font-size:15px;background:var(--bg)}
body{margin:0;color:var(--text);background:var(--bg);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit}button{color:inherit}.mobile-only{display:none!important}
.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:248px;background:var(--navy);color:var(--on-primary);z-index:50;display:flex;flex-direction:column;padding:20px 14px}.brand{display:flex;align-items:center;gap:11px;padding:0 8px 20px;border-bottom:1px solid rgb(0 0 0 / .1)}.brand-mark{width:38px;height:38px}.brand strong{display:block;font-size:1.05rem;letter-spacing:.1px}.brand span{display:block;color:var(--muted);font-size:.73rem;margin-top:2px}.main-nav{display:grid;gap:5px;padding:18px 0}.nav-item{height:44px;border:0;background:transparent;color:var(--muted);border-radius:10px;padding:0 12px;display:flex;align-items:center;gap:12px;text-align:left;font-weight:600;cursor:pointer}.nav-item:hover{background:rgb(0 0 0 / .06);color:var(--on-primary)}.nav-item.active{background:linear-gradient(90deg,var(--primary),var(--primary));color:var(--on-primary);box-shadow:0 8px 22px rgb(0 0 0 / .18)}[data-icon] svg{width:19px;height:19px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.sidebar-footer{margin-top:auto}.storage-card{padding:14px;background:rgb(0 0 0 / .055);border:1px solid rgb(0 0 0 / .07);border-radius:12px;margin:0 2px 12px}.storage-title{display:flex;justify-content:space-between;font-size:.76rem;color:var(--muted)}.storage-title strong{color:var(--on-primary)}.meter{height:5px;background:rgb(0 0 0 / .12);border-radius:20px;margin:10px 0 8px;overflow:hidden}.meter i{display:block;height:100%;background:var(--hover)}.storage-card small{color:var(--muted);font-size:.68rem}.profile-card{width:100%;border:0;border-top:1px solid rgb(0 0 0 / .1);background:none;color:var(--on-primary);padding:15px 5px 2px;display:flex;align-items:center;gap:9px;text-align:left;cursor:pointer}.profile-card>span:nth-child(2){min-width:0;flex:1}.profile-card strong,.profile-card small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-card strong{font-size:.78rem}.profile-card small{color:var(--muted);font-size:.68rem;margin-top:3px}.avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--line);font-weight:700;font-size:.75rem}.main-area{margin-left:248px;min-height:100vh}.topbar{height:68px;background:rgb(0 0 0 / .96);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:40;display:flex;align-items:center;gap:20px;padding:0 28px}.global-search{height:39px;max-width:520px;flex:1;display:flex;align-items:center;gap:9px;background:var(--soft);border:1px solid var(--line);border-radius:10px;padding:0 11px;color:var(--muted)}.global-search input{border:0;outline:0;background:transparent;width:100%;font-size:.83rem}.global-search kbd{border:1px solid var(--line);border-radius:5px;background:var(--panel);padding:2px 6px;font-size:.67rem;color:var(--muted)}.top-actions{margin-left:auto;display:flex;align-items:center;gap:10px}.connection-badge{display:flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:20px;padding:7px 10px;font-size:.72rem;font-weight:600;background:var(--panel)}.connection-badge i{width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 0 3px #000000}.connection-badge.offline i{background:var(--amber);box-shadow:0 0 0 3px #000000}.icon-button{position:relative;width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--line);background:var(--panel);border-radius:10px;cursor:pointer}.icon-button:hover{background:var(--soft)}.notification-dot{position:absolute;right:7px;top:6px;width:7px;height:7px;border-radius:50%;background:var(--line);border:2px solid var(--line)}.install-button,.primary-button,.secondary-button,.text-button{border:0;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;font-weight:650;white-space:nowrap}.primary-button{min-height:42px;background:linear-gradient(135deg,var(--blue-2),var(--primary));color:var(--on-primary);padding:0 16px;box-shadow:0 7px 18px rgb(0 0 0 / .2)}.primary-button:hover{filter:brightness(.96);transform:translateY(-1px)}.secondary-button{min-height:40px;background:var(--panel);border:1px solid var(--line);padding:0 14px;font-size:.8rem}.secondary-button:hover{background:var(--panel)}.install-button{height:38px;background:var(--soft);color:var(--text);padding:0 13px;font-size:.75rem}.text-button{background:transparent;color:var(--blue);padding:6px;font-size:.78rem}.page{display:none;padding:30px;max-width:1510px;margin:0 auto}.page.active{display:block}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:27px}.page-heading.compact{align-items:center}.page-heading h1{font-size:2rem;line-height:1.2;margin:4px 0 7px;letter-spacing:-.04em}.page-heading p{margin:0;color:var(--muted);font-size:.87rem}.eyebrow{font-size:.66rem!important;letter-spacing:.14em;font-weight:800;color:var(--blue)!important}.button-row{display:flex;gap:8px}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.stat-card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:18px;display:flex;align-items:flex-start;gap:14px;box-shadow:0 3px 14px rgb(0 0 0 / .025)}.stat-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;flex:none}.stat-icon.blue{background:var(--blue-soft);color:var(--blue)}.stat-icon.amber{background:var(--amber-soft);color:var(--amber)}.stat-icon.green{background:var(--green-soft);color:var(--green)}.stat-icon.violet{background:var(--violet-soft);color:var(--violet)}.stat-card>div:last-child>span{font-size:.72rem;color:var(--muted);font-weight:600}.stat-card strong{display:block;font-size:1.7rem;margin:3px 0}.stat-card small{font-size:.67rem;color:var(--muted)}.stat-card small b{color:var(--green)}.content-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,.82fr);gap:18px}.panel{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 3px 15px rgb(0 0 0 / .025)}.panel-header{padding:18px 20px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.panel-header h2{font-size:.98rem;margin:0 0 4px}.panel-header p{font-size:.7rem;color:var(--muted);margin:0}.inspection-row{display:grid;grid-template-columns:auto minmax(180px,1fr) 135px 110px auto;align-items:center;gap:15px;padding:15px 20px;border-bottom:1px solid var(--line);cursor:pointer}.inspection-row:last-child{border:0}.inspection-row:hover{background:var(--panel)}.company-logo{width:39px;height:39px;border-radius:11px;background:var(--soft);color:var(--text);display:grid;place-items:center;font-weight:800;font-size:.72rem}.inspection-main strong,.inspection-main span{display:block}.inspection-main strong{font-size:.8rem;margin-bottom:4px}.inspection-main span{font-size:.68rem;color:var(--muted)}.status{display:inline-flex;width:max-content;align-items:center;gap:6px;padding:5px 9px;border-radius:20px;font-size:.65rem;font-weight:700}.status:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.status.andamento{color:var(--text);background:var(--soft)}.status.revisao{color:var(--muted);background:var(--soft)}.status.concluido{color:var(--text);background:var(--soft)}.progress-mini{font-size:.67rem;color:var(--muted)}.progress-mini div{height:5px;background:var(--soft);border-radius:20px;margin-top:7px;overflow:hidden}.progress-mini i{display:block;height:100%;background:var(--blue);border-radius:20px}.updated{font-size:.68rem;color:var(--muted)}.schedule-panel{padding-bottom:12px}.date-chip{display:flex;align-items:center;gap:10px;padding:17px 20px 7px}.date-chip strong{font-size:1.4rem}.date-chip span{font-size:.58rem;line-height:1.4;color:var(--blue);font-weight:700}.date-chip.muted span{color:var(--muted)}.schedule-item{display:flex;gap:12px;margin:4px 20px;padding:12px 10px;background:var(--panel);border-radius:11px}.time-line{width:3px;border-radius:10px}.blue-bg{background:var(--blue)}.violet-bg{background:var(--violet)}.green-bg{background:var(--green)}.schedule-item div>*{display:block}.schedule-item strong{font-size:.68rem;color:var(--blue);margin-bottom:3px}.schedule-item span{font-size:.76rem;font-weight:700}.schedule-item small{font-size:.62rem;color:var(--muted);margin-top:4px}.filter-bar{padding:13px;display:flex;gap:9px;margin-bottom:14px}.input-with-icon{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:9px;padding:0 11px;min-width:280px;flex:1}.input-with-icon input{height:40px;border:0;outline:0;width:100%;font-size:.78rem}.filter-bar select,.form-grid select,.form-grid input,.form-grid textarea{border:1px solid var(--line);border-radius:9px;background:var(--panel);padding:0 11px;outline:0;color:var(--text)}.filter-bar select{height:42px;font-size:.76rem;min-width:155px}.table-panel{overflow:hidden}.table-summary{display:flex;justify-content:space-between;align-items:center;padding:13px 18px;border-bottom:1px solid var(--line);font-size:.72rem;color:var(--muted)}.responsive-table{overflow:auto}table{width:100%;border-collapse:collapse;min-width:850px}th{text-align:left;background:var(--panel);color:var(--muted);font-size:.65rem;text-transform:uppercase;letter-spacing:.06em;padding:12px 15px}td{padding:14px 15px;border-top:1px solid var(--line);font-size:.75rem;vertical-align:middle}.table-company{display:flex;gap:10px;align-items:center}.table-company strong,.table-company small{display:block}.table-company small{color:var(--muted);margin-top:3px}.dual-metric{min-width:95px}.dual-metric>span{display:flex;justify-content:space-between;font-size:.65rem;color:var(--muted)}.dual-metric div{height:5px;background:var(--soft);border-radius:10px;margin-top:6px}.dual-metric i{display:block;height:100%;background:var(--blue);border-radius:10px}.score{font-weight:800}.score.good{color:var(--green)}.score.warn{color:var(--amber)}.template-grid,.company-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.info-banner{display:flex;align-items:flex-start;gap:12px;padding:15px 17px;margin-bottom:16px;border:1px solid var(--line);background:var(--soft);border-radius:13px;color:var(--text)}.info-banner strong{font-size:.8rem}.info-banner p{margin:4px 0 0;font-size:.7rem;color:var(--muted)}.template-card,.company-card{background:var(--panel);border:1px solid var(--line);border-radius:15px;padding:18px;box-shadow:0 3px 15px rgb(0 0 0 / .025)}.template-card-top,.company-card-top{display:flex;justify-content:space-between;align-items:flex-start}.template-icon{width:42px;height:42px;border-radius:11px;background:var(--blue-soft);color:var(--blue);display:grid;place-items:center}.template-card h3,.company-card h3{font-size:.9rem;margin:15px 0 5px}.template-card p,.company-card p{font-size:.7rem;color:var(--muted);line-height:1.55;margin:0}.template-stats{display:flex;gap:16px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:16px 0;padding:12px 0}.template-stats span{font-size:.65rem;color:var(--muted)}.template-stats strong{display:block;font-size:.84rem;color:var(--text);margin-bottom:2px}.template-actions{display:flex;justify-content:space-between;align-items:center}.badge{padding:5px 8px;border-radius:15px;background:var(--green-soft);color:var(--green);font-size:.62rem;font-weight:700}.company-card .company-logo{width:46px;height:46px}.company-meta{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:15px 0;padding:13px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.company-meta span{font-size:.62rem;color:var(--muted)}.company-meta strong{display:block;margin-top:3px;font-size:.75rem;color:var(--text)}.empty-state{text-align:center;padding:65px 25px}.empty-icon{width:60px;height:60px;border-radius:18px;background:var(--blue-soft);color:var(--blue);display:grid;place-items:center;margin:0 auto}.empty-icon svg{width:28px}.empty-state h2{margin:16px 0 6px}.empty-state p{color:var(--muted);font-size:.8rem;max-width:520px;margin:0 auto 20px}.checklist-page{padding:0;max-width:none}.checklist-top{height:67px;background:var(--panel);border-bottom:1px solid var(--line);display:flex;align-items:center;gap:15px;padding:0 24px}.checklist-top>div:nth-child(2){flex:1}.checklist-top strong,.checklist-top span{display:block}.checklist-top strong{font-size:.8rem}.checklist-top>div:nth-child(2)>span{font-size:.65rem;color:var(--muted);margin-top:3px}.save-status{display:flex;align-items:center;gap:7px;color:var(--green);font-size:.7rem}.save-status span{display:inline}.checklist-progress{height:4px;background:var(--soft)}.checklist-progress i{display:block;height:100%;width:0;background:var(--blue);transition:.25s}.checklist-layout{display:grid;grid-template-columns:265px minmax(0,1fr);min-height:calc(100vh - 139px)}.section-nav{background:var(--panel);border-right:1px solid var(--line);padding:20px 13px}.section-button{width:100%;display:flex;gap:11px;align-items:center;border:0;background:transparent;padding:11px;border-radius:10px;text-align:left;cursor:pointer}.section-button:hover{background:var(--soft)}.section-button.active{background:var(--blue-soft);color:var(--blue)}.section-number{width:26px;height:26px;border-radius:50%;background:var(--soft);color:var(--muted);display:grid;place-items:center;font-size:.67rem;font-weight:700}.section-button.active .section-number{background:var(--blue);color:var(--on-primary)}.section-button.done .section-number{background:var(--green);color:var(--on-primary)}.section-button span:last-child{font-size:.73rem;font-weight:650}.question-area{max-width:900px;width:100%;margin:0 auto;padding:32px}.question-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.question-heading h1{font-size:1.6rem;margin:4px 0 6px}.question-heading p{margin:0;color:var(--muted);font-size:.78rem}.progress-ring{width:82px;height:82px;border:7px solid var(--line);border-top-color:var(--blue);border-radius:50%;display:grid;place-content:center;text-align:center}.progress-ring strong{font-size:.95rem}.progress-ring span{font-size:.54rem;color:var(--muted)}.question-card{background:var(--panel);border:1px solid var(--line);border-radius:15px;padding:18px;margin-bottom:12px}.question-card.required h3:after{content:" *";color:var(--red)}.question-card h3{font-size:.84rem;line-height:1.45;margin:0}.question-card>p{font-size:.67rem;color:var(--muted);margin:5px 0 0}.tri-select{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:15px}.tri-select button{height:43px;border:1px solid var(--line);background:var(--panel);border-radius:9px;font-size:.76rem;font-weight:650;cursor:pointer}.tri-select button:hover{border-color:var(--line)}.tri-select button.selected[data-value="sim"]{background:var(--green-soft);border-color:var(--line);color:var(--text)}.tri-select button.selected[data-value="nao"]{background:var(--red-soft);border-color:var(--line);color:var(--text)}.tri-select button.selected[data-value="na"]{background:var(--soft);border-color:var(--line);color:var(--text)}.question-input{width:100%;min-height:43px;border:1px solid var(--line);border-radius:9px;margin-top:13px;padding:11px;outline:0}.question-tools{display:flex;gap:8px;margin-top:12px}.tool-button{height:36px;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--text);display:flex;align-items:center;gap:7px;padding:0 10px;font-size:.68rem;cursor:pointer}.photo-preview{width:72px;height:72px;object-fit:cover;border-radius:8px;margin-top:10px;border:1px solid var(--line)}.checklist-actions{display:flex;justify-content:space-between;margin-top:24px;padding-bottom:35px}.modal{width:min(680px,calc(100% - 30px));border:0;border-radius:18px;padding:0;box-shadow:0 25px 80px rgb(0 0 0 / .3)}.modal::backdrop{background:rgb(0 0 0 / .55);backdrop-filter:blur(3px)}.small-modal{width:min(540px,calc(100% - 30px))}.modal form{padding:22px}.modal-header{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid var(--line);padding-bottom:17px;margin-bottom:19px}.modal-header h2{font-size:1.22rem;margin:4px 0 0}.modal-header .icon-button{font-size:1.5rem}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-grid label{font-size:.7rem;font-weight:700;color:var(--text)}.form-grid label.full{grid-column:1/-1}.form-grid select,.form-grid input{height:43px;width:100%;margin-top:7px}.form-grid textarea{width:100%;margin-top:7px;padding-top:10px;resize:vertical}.modal-actions{display:flex;justify-content:flex-end;gap:8px;border-top:1px solid var(--line);padding-top:17px;margin-top:20px}.file-button{cursor:pointer}.toast{position:fixed;right:25px;bottom:25px;background:var(--primary);color:var(--on-primary);border-radius:11px;padding:13px 16px;box-shadow:0 12px 35px rgb(0 0 0 / .25);font-size:.76rem;z-index:100;transform:translateY(90px);opacity:0;transition:.25s}.toast.show{transform:none;opacity:1}.mobile-nav{display:none}
.update-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.7fr);gap:18px}.update-card{padding:24px}.update-hero{display:flex;align-items:center;gap:16px;padding-bottom:20px;border-bottom:1px solid var(--line)}.update-icon{width:54px;height:54px;border-radius:16px;background:var(--blue-soft);color:var(--blue);display:grid;place-items:center}.update-icon svg{width:26px}.update-hero>div>span,.update-hero>div>small{display:block}.update-hero>div>span{font-size:.62rem;letter-spacing:.1em;color:var(--muted);font-weight:800}.update-hero>div>strong{display:block;font-size:1.45rem;margin:3px 0}.update-hero>div>small{color:var(--green);font-size:.68rem}.update-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.update-steps>div{display:flex;gap:9px;padding:12px;background:var(--panel);border-radius:11px}.update-steps b{width:24px;height:24px;flex:none;border-radius:8px;background:var(--soft);color:var(--blue);display:grid;place-items:center;font-size:.65rem}.update-steps span>*{display:block}.update-steps strong{font-size:.7rem}.update-steps small{font-size:.6rem;color:var(--muted);line-height:1.5;margin-top:3px}.update-drop{min-height:155px;border:2px dashed var(--line);border-radius:15px;background:var(--panel);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;cursor:pointer;color:var(--blue);transition:.2s}.update-drop:hover,.update-drop.dragover{border-color:var(--blue);background:var(--blue-soft)}.update-drop>svg{width:28px;height:28px;margin-bottom:9px}.update-drop strong{font-size:.8rem}.update-drop small{font-size:.64rem;color:var(--muted);margin-top:5px}.update-selection{margin-top:13px;padding:12px;border:1px solid var(--line);border-radius:11px;display:flex;justify-content:space-between;align-items:center;gap:12px}.update-selection>div{display:flex;align-items:center;gap:9px;min-width:0}.update-selection>div>span:last-child{min-width:0}.update-selection strong,.update-selection small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.update-selection strong{font-size:.73rem}.update-selection small{font-size:.62rem;color:var(--muted);margin-top:3px}.update-progress{margin-top:16px}.update-progress>div{display:flex;justify-content:space-between;font-size:.68rem;margin-bottom:7px}.update-progress progress{width:100%;height:8px;accent-color:var(--blue)}.update-safety{padding:23px}.update-safety h2{font-size:.95rem;margin:0 0 17px}.update-safety ul{list-style:none;padding:0;margin:0;display:grid;gap:14px}.update-safety li{display:flex;align-items:center;gap:9px;font-size:.72rem}.update-safety li [data-icon]{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--green-soft);color:var(--green)}.update-safety li svg{width:15px}.version-note{margin-top:22px;padding:14px;border-radius:11px;background:var(--amber-soft);color:var(--text)}.version-note strong{font-size:.7rem}.version-note p{font-size:.64rem;line-height:1.55;margin:5px 0 0}
@media(max-width:1100px){.stat-grid{grid-template-columns:repeat(2,1fr)}.template-grid,.company-grid{grid-template-columns:repeat(2,1fr)}.content-grid,.update-layout{grid-template-columns:1fr}.inspection-row{grid-template-columns:auto minmax(180px,1fr) 130px 100px auto}.schedule-panel{display:none}}
@media(max-width:760px){html{font-size:14px}.sidebar{transform:translateX(-100%);transition:.25s;width:275px}.sidebar.open{transform:none;box-shadow:20px 0 60px rgb(0 0 0 / .25)}.main-area{margin:0;padding-bottom:68px}.topbar{height:60px;padding:0 14px;gap:9px}.mobile-only{display:grid!important}.global-search{height:37px}.global-search kbd,.connection-badge span,.install-button{display:none}.connection-badge{padding:7px}.page{padding:20px 14px}.page-heading,.page-heading.compact{align-items:flex-start;flex-direction:column;margin-bottom:20px}.page-heading h1{font-size:1.55rem}.page-heading>.primary-button,.page-heading>.button-row{width:100%}.button-row>*{flex:1}.stat-grid{grid-template-columns:1fr 1fr;gap:9px}.stat-card{padding:14px;gap:9px;min-width:0}.stat-icon{width:35px;height:35px}.stat-card strong{font-size:1.35rem}.stat-card small{display:none}.inspection-row{grid-template-columns:auto minmax(0,1fr) auto;padding:13px}.inspection-row>.status,.inspection-row>.progress-mini{display:none}.filter-bar{display:grid;grid-template-columns:1fr 1fr}.input-with-icon{grid-column:1/-1;min-width:0}.filter-bar select{min-width:0;width:100%}.filter-bar>.secondary-button{grid-column:1/-1}.template-grid,.company-grid{grid-template-columns:1fr}.mobile-nav{position:fixed;display:flex;align-items:center;justify-content:space-around;inset:auto 0 0 0;height:66px;background:var(--panel);border-top:1px solid var(--line);z-index:45;padding-bottom:env(safe-area-inset-bottom)}.mobile-nav button{border:0;background:transparent;color:var(--muted);display:grid;justify-items:center;gap:4px;font-size:.6rem}.mobile-nav button.active{color:var(--blue)}.mobile-nav .mobile-new{width:48px;height:48px;border-radius:15px;background:var(--blue);color:var(--on-primary);display:grid;place-items:center;transform:translateY(-10px);box-shadow:0 8px 22px rgb(0 0 0 / .35)}.checklist-top{padding:0 12px;height:61px}.checklist-top .save-status{display:none}.checklist-layout{display:block}.section-nav{display:flex;overflow:auto;border:0;border-bottom:1px solid var(--line);padding:8px;background:var(--panel);position:sticky;top:60px;z-index:15}.section-button{min-width:max-content;width:auto;padding:8px}.section-button span:last-child{display:none}.question-area{padding:20px 14px}.question-heading h1{font-size:1.35rem}.progress-ring{width:65px;height:65px;border-width:5px}.tri-select{gap:5px}.tri-select button{height:46px}.form-grid{grid-template-columns:1fr}.form-grid label.full{grid-column:auto}.modal form{padding:18px}.toast{right:14px;left:14px;bottom:82px;text-align:center}.global-search input,.input-with-icon input,.filter-bar select,.form-grid input,.form-grid select,.form-grid textarea,.question-input{font-size:16px!important}.global-search input,.input-with-icon input,.filter-bar select,.form-grid input,.form-grid select,.question-input{min-height:44px}input,select,textarea{touch-action:manipulation}}
@media(max-width:410px){.stat-grid{grid-template-columns:1fr}.stat-card small{display:block}.page-heading .button-row{flex-direction:column}.global-search input::placeholder{color:transparent}.question-heading .progress-ring{display:none}}
@media(max-width:600px){.update-steps{grid-template-columns:1fr}.update-selection{align-items:stretch;flex-direction:column}.update-selection .primary-button{width:100%}}
.brand-logo{display:block;object-fit:contain;width:70px;height:70px;border-radius:15px;background:var(--panel);flex:none}
[hidden]{display:none!important}
.brand strong{font-size:1.13rem}.brand span{font-size:.7rem}
.demo-badge{border:1px solid var(--line);color:var(--text);background:var(--panel);border-radius:999px;padding:6px 9px;font-size:.69rem;font-weight:800;letter-spacing:.06em}
.storage-card{padding:14px!important}.storage-card strong{display:block;font-size:.84rem;margin-bottom:5px}.storage-card small{display:block;line-height:1.45}
.demo-steps{padding:0 18px 20px}.demo-steps p{padding:9px 0;border-bottom:1px solid var(--line);line-height:1.45}
.empty-inline{padding:26px;color:var(--muted);line-height:1.5}
.agenda-item{display:flex;align-items:center;gap:20px;justify-content:space-between;padding:17px 20px;border-bottom:1px solid var(--line)}.agenda-item span{flex:1}
.field-note{font-size:.84rem;color:var(--muted);align-self:center}
.template-actions{flex-wrap:wrap;gap:9px}.template-actions button{min-height:36px}
.checklist-actions{flex-wrap:wrap;gap:10px}
.form-grid label small{display:block;font-weight:400;line-height:1.4;color:var(--muted);margin-top:7px}
.inline-link{border:0;background:none;color:var(--text);text-decoration:underline;font:inherit;cursor:pointer;padding:0}
.source-note{background:var(--soft);border:1px solid var(--line);color:var(--text);border-radius:8px;padding:8px 10px;font-size:.8rem;line-height:1.4}
.choice-list{display:flex;flex-wrap:wrap;gap:9px;margin-top:12px}.choice-list button,.multi-option{border:1px solid var(--line);background:var(--panel);border-radius:10px;min-height:44px;padding:10px 15px;color:var(--text);cursor:pointer;font-weight:600}.choice-list button.selected,.multi-option:has(input:checked){background:var(--soft);border-color:var(--focus);color:var(--text)}.multi-option{display:flex;align-items:center;gap:8px}.multi-option input{width:17px;height:17px}
.signature-pad{display:block;border:1px solid var(--line);background:var(--panel);border-radius:10px;max-width:100%;width:100%;height:170px;touch-action:none;margin:10px 0}.signature-preview{display:block;max-width:100%;max-height:150px;margin:8px 0;border:1px solid var(--line);border-radius:9px}
.model-builder{width:min(1100px,96vw);max-width:1100px;max-height:94vh;border:1px solid var(--line);border-radius:20px;padding:0;background:var(--soft);box-shadow:0 28px 80px rgb(0 0 0 / 0.267);color:var(--text)}
.model-builder::backdrop{background:rgb(0 0 0 / 0.6)}
.builder-header,.builder-footer{background:var(--panel);padding:18px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.builder-header{border-bottom:1px solid var(--line)}.builder-header h2{margin:3px 0;font-size:1.4rem}.builder-header p:last-child{color:var(--muted);margin:4px 0}
.builder-meta{padding:18px 24px;display:grid;grid-template-columns:1fr 1fr;gap:16px}
.builder-meta label{font-size:.84rem;font-weight:700}.builder-meta input,.builder-section input,.builder-question select,.builder-question textarea{box-sizing:border-box;width:100%;min-height:42px;border:1px solid var(--line);border-radius:9px;background:var(--panel);color:var(--text);font:inherit;padding:8px 10px}
.builder-meta input{display:block;margin-top:7px}.builder-sections{padding:0 24px 16px;max-height:56vh;overflow:auto}.builder-section{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:16px;margin-bottom:14px;box-shadow:0 3px 15px rgb(0 0 0 / 0.039)}
.builder-section-heading,.builder-question-top{display:flex;align-items:center;gap:9px}.builder-section-heading{margin-bottom:14px}.builder-section-heading>input,.builder-question-top>input{flex:1;min-width:130px;font-weight:700}.builder-section-heading button,.builder-question-top button{border:1px solid var(--line);background:var(--panel);border-radius:8px;min-width:34px;height:36px;cursor:pointer;color:var(--text);font-size:1rem}
.builder-number,.builder-drag{display:inline-grid;place-items:center;background:var(--soft);color:var(--text);border-radius:8px;min-width:28px;height:28px;font-weight:700}.builder-question{border:1px solid var(--line);border-radius:11px;background:var(--panel);padding:12px;margin-bottom:10px}.builder-question-top>select{width:170px;flex:none}.builder-question-options{display:flex;flex-wrap:wrap;align-items:center;gap:13px;margin:11px 0 0 37px;font-size:.81rem;color:var(--text)}.builder-question-options label{font-weight:500}.builder-question-options label:has(textarea){width:100%}.builder-question-options textarea{display:block;margin-top:7px;resize:vertical}.builder-question-options select{width:auto;min-width:140px;margin-left:5px}.builder-check{white-space:nowrap;display:flex;gap:5px;align-items:center}.builder-check input{width:auto;min-height:auto}.builder-add{background:var(--soft);color:var(--text);border:1px dashed var(--line);border-radius:9px;min-height:38px;padding:8px 12px;cursor:pointer}.builder-footer{border-top:1px solid var(--line)}.builder-footer-actions{display:flex;gap:8px}
.builder-tabs{display:flex;overflow-x:auto;gap:7px;padding:3px 0 12px}.builder-tabs button{border:1px solid var(--line);border-radius:8px;padding:9px 12px;background:var(--panel);color:var(--text);white-space:nowrap;cursor:pointer}.builder-tabs button.selected{background:var(--soft);color:var(--text);border-color:var(--line);font-weight:700}.builder-tabs small{margin-left:4px;color:var(--muted)}.builder-section-options{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:0 0 17px 37px;color:var(--text);font-size:.84rem}.builder-section-options label{display:flex;align-items:center;gap:6px}.builder-section-options select{width:auto;max-width:220px;min-width:120px}.builder-section-options .builder-check input{width:auto}
@media(max-width:760px){.model-builder{width:100vw;max-width:100vw;max-height:100dvh;height:100dvh;border-radius:0}.builder-header,.builder-footer{padding:14px}.builder-meta{padding:14px;grid-template-columns:1fr}.builder-sections{padding:0 14px;max-height:calc(100dvh - 310px)}.builder-section-heading,.builder-question-top{flex-wrap:wrap}.builder-question-top>input,.builder-section-heading>input{flex-basis:70%}.builder-question-top>select{width:100%}.builder-question-options{margin-left:0}.builder-footer{flex-wrap:wrap}.builder-footer-actions{width:100%;justify-content:flex-end}.model-builder input,.model-builder textarea,.model-builder select{font-size:16px!important}}
@media(max-width:760px){.demo-badge{font-size:.57rem;padding:5px}.brand-logo{height:58px;width:58px}.agenda-item{flex-wrap:wrap}.agenda-item span{flex-basis:100%}.schedule-panel{display:block}}
@media print{.sidebar,.topbar,.mobile-nav,.filter-bar,.page-heading .primary-button,.secondary-button,.icon-button{display:none!important}.main-area{margin:0}.page{padding:0}.panel{box-shadow:none}}

/* Analisiin 0.5 — hierarchy, model studio and field ergonomics */

html{scroll-behavior:smooth}
body{color:var(--text);background:var(--bg)}
button,input,select,textarea{accent-color:var(--blue)}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--line);outline-offset:2px}

/* App frame */
.sidebar{width:264px;padding:24px 16px;background:linear-gradient(170deg,var(--primary) 0%,var(--primary) 57%,var(--primary) 100%)}
.main-area{margin-left:264px}
.brand{gap:13px;padding:3px 8px 24px;border-bottom-color:rgb(0 0 0 / 0.106)}
.brand-logo{width:58px;height:58px;border-radius:13px;box-shadow:0 5px 16px rgb(0 0 0 / 0.133)}
.brand strong{font-size:1.2rem;letter-spacing:-.035em}
.brand span{font-size:.68rem;color:var(--muted);line-height:1.35}
.main-nav{gap:5px;padding-top:22px}
.nav-item{height:46px;border-radius:11px;font-size:.84rem;color:var(--muted);transition:background .16s,color .16s}
.nav-item.active{background:rgb(0 0 0 / 0.094);box-shadow:inset 3px 0 #000000;color:var(--on-primary)}
.nav-item:hover{background:rgb(0 0 0 / 0.071)}
.sidebar-footer .storage-card{border-color:rgb(0 0 0 / 0.125);background:rgb(0 0 0 / 0.051)}
.sidebar-footer .storage-card small{color:var(--muted);font-size:.72rem}
.profile-card{padding-top:17px}
.topbar{height:72px;background:rgb(0 0 0 / 0.929);backdrop-filter:blur(15px);padding:0 34px;gap:28px}
.topbar-context{min-width:170px;display:flex;flex-direction:column;gap:3px}
.topbar-context span{font-size:.62rem;color:var(--muted);font-weight:800;letter-spacing:.12em}
.topbar-context strong{font-size:.93rem;letter-spacing:-.02em}
.global-search{margin-left:auto;max-width:460px;border-color:var(--line);background:var(--panel);height:43px}
.global-search input{font-size:.84rem}
.connection-badge{font-size:.75rem;border:0;background:var(--soft);color:var(--text)}
.demo-badge{background:var(--soft);border-color:var(--line);color:var(--text)}
.page{padding:34px 36px;max-width:1540px}
.page-heading{margin-bottom:26px}
.page-heading h1{font-size:clamp(1.65rem,2.1vw,2.3rem);letter-spacing:-.05em}
.page-heading p{font-size:.9rem;line-height:1.55}
.eyebrow{font-size:.68rem!important;letter-spacing:.16em}
.primary-button{min-height:44px;background:var(--blue);border-radius:10px;box-shadow:0 8px 20px rgb(0 0 0 / 0.149);padding:0 17px;transition:background .18s,transform .18s,box-shadow .18s}
.primary-button:hover{background:var(--primary);transform:translateY(-1px);box-shadow:0 12px 24px rgb(0 0 0 / 0.188);filter:none}
.secondary-button{min-height:44px;border-color:var(--line);border-radius:10px;font-size:.82rem;color:var(--text)}
.text-button{font-size:.81rem}
.panel,.stat-card,.template-card,.company-card{border-color:var(--line);box-shadow:var(--shadow)}

/* Overview */
#page-inicio>.page-heading{position:relative;overflow:hidden;align-items:center;padding:34px 38px;border:1px solid var(--focus);border-radius:22px;background:radial-gradient(circle at 85% -40%,var(--line) 0%,transparent 37%),linear-gradient(125deg,var(--primary),var(--primary) 65%,var(--primary));color:var(--on-primary);min-height:210px}
#page-inicio>.page-heading:after{content:"";position:absolute;width:270px;height:270px;border:1px solid rgb(0 0 0 / 0.141);border-radius:50%;right:8%;top:30px;box-shadow:0 0 0 47px rgb(0 0 0 / 0.047),0 0 0 95px rgb(0 0 0 / 0.024);pointer-events:none}
#page-inicio>.page-heading>div,#page-inicio>.page-heading>button{position:relative;z-index:1}
#page-inicio>.page-heading .eyebrow{color:var(--muted)!important}
#page-inicio>.page-heading h1{font-size:clamp(2rem,3vw,2.9rem);max-width:690px;margin:7px 0 9px}
#page-inicio>.page-heading p{color:var(--muted);max-width:570px}
#page-inicio>.page-heading .primary-button{background:var(--panel);color:var(--text);box-shadow:0 13px 27px rgb(0 0 0 / 0.251)}
#page-inicio>.page-heading .primary-button:hover{background:var(--soft)}
.hero-highlights{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.hero-highlights span{border:1px solid rgb(0 0 0 / 0.208);border-radius:100px;padding:7px 11px;background:rgb(0 0 0 / 0.063);color:var(--muted);font-size:.69rem;font-weight:650}
.stat-grid{gap:16px;margin-bottom:18px}
.stat-card{padding:21px;border-radius:17px;min-height:120px}
.stat-icon{width:45px;height:45px}
.stat-card>div:last-child>span{font-size:.77rem}
.stat-card strong{font-size:1.85rem;letter-spacing:-.04em}
.stat-card small,.panel-header p{font-size:.74rem}
.panel-header{padding:20px 22px}
.panel-header h2{font-size:1.05rem}
.demo-steps{padding:4px 22px 17px}
.demo-steps p{font-size:.79rem;color:var(--text)}
.inspection-row{padding:17px 22px}
.inspection-main strong{font-size:.88rem}
.inspection-main span{font-size:.72rem}

/* Model library */
.models-welcome{display:flex;gap:30px;align-items:center;justify-content:space-between;padding:25px 29px;margin-bottom:18px;background:linear-gradient(115deg,var(--primary),var(--primary));border-radius:18px;color:var(--on-primary);box-shadow:0 15px 30px rgb(0 0 0 / 0.125)}
.welcome-label{display:block;color:var(--muted);letter-spacing:.14em;font-size:.66rem;font-weight:800}
.models-welcome h2{font-size:1.45rem;letter-spacing:-.035em;margin:7px 0}
.models-welcome p{font-size:.82rem;line-height:1.6;color:var(--muted);max-width:620px;margin:0}
.models-welcome ol{display:flex;gap:7px;list-style:none;padding:0;margin:0;flex:none}
.models-welcome li{font-size:.69rem;font-weight:700;border:1px solid rgb(0 0 0 / 0.208);border-radius:11px;padding:11px 12px;white-space:nowrap;color:var(--muted);background:rgb(0 0 0 / 0.039)}
.models-welcome b{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:6px;margin-right:5px;background:rgb(0 0 0 / 0.125);color:var(--on-primary)}
.models-toolbar{display:flex;align-items:center;gap:18px;padding:14px 17px;margin-bottom:16px;background:var(--panel);border:1px solid var(--line);border-radius:13px}
.models-toolbar #modelsCounter{font-size:.8rem;font-weight:750;color:var(--muted);white-space:nowrap}
.models-toolbar .inline-link{margin-left:auto;font-size:.78rem;text-underline-offset:3px;white-space:nowrap}
.models-search{display:flex;align-items:center;gap:10px;width:min(360px,100%);padding:0 11px;border:1px solid var(--line);border-radius:9px;color:var(--muted);background:var(--panel)}
.models-search input{width:100%;min-height:41px;outline:0;border:0;background:transparent;color:var(--text);font-size:.84rem}
.template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
.template-card{display:flex;flex-direction:column;min-height:322px;padding:22px;border-radius:17px;transition:border-color .18s,transform .18s,box-shadow .18s}
.template-card:hover{border-color:var(--line);box-shadow:0 15px 35px rgb(0 0 0 / 0.125);transform:translateY(-2px)}
.template-card-top{align-items:center}
.template-icon{height:44px;width:44px;border-radius:12px}
.badge{font-size:.68rem;padding:7px 10px;border-radius:100px}
.badge-draft{background:var(--soft);color:var(--muted)}
.template-card-content{flex:1;padding-bottom:7px}
.template-card h3{font-size:1.02rem;line-height:1.3;margin:19px 0 7px;letter-spacing:-.015em}
.template-card p{font-size:.79rem;line-height:1.56;color:var(--muted)}
.template-card .source-note{background:var(--soft);border-color:var(--line);color:var(--text);padding:7px 9px;font-size:.72rem;margin-top:9px}
.template-stats{gap:24px;margin:14px 0;padding:12px 0}
.template-stats span{font-size:.71rem}
.template-stats strong{font-size:.94rem}
.template-actions{display:flex;justify-content:flex-start;gap:9px;flex-wrap:nowrap}
.template-actions .primary-button{flex:1;justify-content:space-between;box-shadow:none;font-size:.79rem}
.template-actions .secondary-button{font-size:.79rem}
.template-subactions{display:flex;justify-content:space-between;margin-top:12px;border-top:1px solid var(--line);padding-top:9px}
.template-subactions button{background:none;border:0;color:var(--text);font-size:.73rem;cursor:pointer;padding:5px 1px}
.template-subactions button:hover{text-decoration:underline;color:var(--blue)}
.models-empty{grid-column:1/-1}

/* Model studio: the section list stays visible while only one section is edited */
.model-builder{width:min(1240px,98vw);max-width:1240px;max-height:94dvh;border-radius:20px;background:var(--soft);overflow:hidden}
.model-builder[open]{display:flex;flex-direction:column}
.builder-header,.builder-footer{flex:none;padding:18px 25px}
.builder-header h2{font-size:1.5rem;letter-spacing:-.035em}
.builder-header p:last-child{font-size:.79rem}
.builder-meta{flex:none;padding:16px 25px;gap:15px;background:var(--panel);border-bottom:1px solid var(--line)}
.builder-meta label{font-size:.75rem;color:var(--text)}
.builder-meta input{font-size:.9rem;min-height:44px;border-color:var(--line)}
.builder-sections{display:grid;grid-template-columns:248px minmax(0,1fr);gap:17px;flex:1;min-height:0;max-height:none;overflow:auto;padding:17px 25px}
.builder-tabs{display:flex;flex-direction:column;align-items:stretch;gap:4px;overflow:auto;padding:5px 7px 5px 0;max-height:100%;position:sticky;top:0;align-self:start}
.builder-tabs button{text-align:left;white-space:normal;line-height:1.4;padding:10px 11px;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--text);font-size:.77rem}
.builder-tabs button:hover{background:var(--soft);color:var(--text)}
.builder-tabs button.selected{background:var(--soft);border-color:var(--line);box-shadow:inset 3px 0 var(--blue);color:var(--text)}
.builder-tabs small{float:right;margin-left:6px;font-size:.66rem;color:var(--muted)}
.builder-section{align-self:start;min-width:0;box-shadow:0 8px 22px rgb(0 0 0 / 0.051);border-color:var(--line);padding:19px}
.builder-section-heading{margin-bottom:12px}
.builder-section-heading>input{font-size:1.05rem;font-weight:750;border-color:transparent;background:var(--panel)}
.builder-section-heading>input:focus{background:var(--panel);border-color:var(--line)}
.builder-section-heading button,.builder-question-top button{font-size:.85rem;min-width:34px}
.builder-section-settings,.builder-question-details{border:1px solid var(--line);background:var(--panel);border-radius:9px}
.builder-section-settings{margin:0 0 15px 37px}
.builder-section-settings summary,.builder-question-details summary{display:flex;align-items:center;gap:7px;cursor:pointer;list-style:none;color:var(--text);font-size:.75rem;font-weight:750;padding:9px 11px}
.builder-section-settings summary::-webkit-details-marker,.builder-question-details summary::-webkit-details-marker{display:none}
.builder-section-settings summary:before,.builder-question-details summary:before{content:"⌄";font-size:1rem;line-height:1;transform:rotate(-90deg);transition:transform .16s}
.builder-section-settings[open] summary:before,.builder-question-details[open] summary:before{transform:none}
.builder-section-settings summary span,.builder-question-details summary span{margin-left:auto;color:var(--muted);font-size:.68rem;font-weight:600}
.builder-section-options{margin:0;padding:0 12px 12px;align-items:flex-start}
.builder-question{background:var(--panel);border-color:var(--line);padding:13px 14px;margin-bottom:9px;transition:border-color .15s}
.builder-question:focus-within{border-color:var(--line);box-shadow:0 0 0 3px #000000}
.builder-question-top>input{font-size:.85rem;font-weight:650;border-color:transparent}
.builder-question-top>input:focus{border-color:var(--line)}
.builder-question-top>select{font-size:.75rem;width:175px;background:var(--panel)}
.builder-drag{border-radius:7px;min-width:26px;font-size:.73rem}
.builder-options-list{display:block;margin:10px 0 10px 35px;color:var(--text);font-size:.74rem;font-weight:650}
.builder-options-list textarea{display:block;margin-top:7px;min-height:75px;resize:vertical}
.builder-question-details{margin:9px 0 0 35px;background:var(--panel)}
.builder-question-options{margin:0;padding:3px 12px 12px}
.builder-add{width:100%;font-size:.79rem;font-weight:700;min-height:45px}
.builder-footer{border-top-color:var(--line);box-shadow:0 -5px 15px rgb(0 0 0 / 0.035)}
.builder-save-hint{font-size:.68rem;color:var(--muted);margin-right:8px}

/* The inspection stays readable outdoors and on smaller screens. */
.checklist-top{height:70px}
.checklist-top strong{font-size:.9rem}
.checklist-progress{height:5px}
.checklist-layout{grid-template-columns:272px minmax(0,1fr)}
.section-nav{position:sticky;top:142px;align-self:start;max-height:calc(100dvh - 142px);overflow:auto;padding:18px 12px}
.section-button{min-height:44px;border-radius:9px}
.section-button span:last-child{font-size:.79rem;line-height:1.3}
.question-area{max-width:890px;padding:34px 36px 70px}
.question-heading{align-items:flex-start;margin-bottom:22px}
.question-heading h1{font-size:1.85rem;letter-spacing:-.035em}
.question-heading p{font-size:.83rem;line-height:1.5}
.question-card{padding:21px 23px;border-radius:15px;margin-bottom:13px;box-shadow:0 5px 20px rgb(0 0 0 / 0.031)}
.question-index{display:block;color:var(--muted);font-size:.65rem;font-weight:800;letter-spacing:.13em;margin-bottom:9px}
.question-card h3{font-size:.99rem;line-height:1.46;letter-spacing:-.01em}
.question-card>p{font-size:.76rem;margin-top:8px}
.tri-select button{height:52px;font-size:.88rem}
.question-input{min-height:48px;font-size:.9rem;border-radius:10px}
.tool-button{min-height:39px;height:auto;font-size:.76rem}
.checklist-actions{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding-top:17px}
.checklist-secondary-actions{display:flex;flex-wrap:wrap;gap:8px}

@media(min-width:1600px){.template-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1150px){.topbar-context{min-width:auto}.models-welcome{align-items:flex-start;flex-direction:column;gap:17px}.models-welcome ol{flex-wrap:wrap}}
@media(max-width:980px){.template-grid{grid-template-columns:1fr}.builder-sections{grid-template-columns:205px minmax(0,1fr)}.builder-save-hint{display:none}}
@media(max-width:760px){
  .sidebar{width:285px}.main-area{margin:0}
  .topbar{height:60px;padding:0 13px;gap:10px}
  .topbar-context{min-width:0;margin-right:auto}
  .topbar-context span{font-size:.53rem}
  .topbar-context strong{font-size:.81rem}
  .global-search{position:relative;flex:0 0 42px;max-width:42px;height:40px;overflow:hidden;padding:0 10px;margin:0;background:var(--panel)}
  .global-search input{position:absolute;inset:0;width:100%;opacity:0;cursor:pointer;font-size:16px}
  .global-search:focus-within{position:absolute;left:59px;right:12px;top:9px;z-index:4;max-width:none;width:auto;display:flex;background:var(--panel);box-shadow:0 5px 20px rgb(0 0 0 / 0.129)}
  .global-search:focus-within input{position:static;opacity:1;cursor:text}
  .top-actions{margin-left:0;gap:5px}.connection-badge{padding:9px}.demo-badge{font-size:.53rem;padding:6px}
  .page{padding:19px 15px}.page-heading{gap:16px}
  .page-heading h1{font-size:1.68rem}.page-heading p{font-size:.84rem}
  #page-inicio>.page-heading{padding:27px 22px;min-height:260px;border-radius:18px;gap:24px}
  #page-inicio>.page-heading h1{font-size:2.05rem}
  #page-inicio>.page-heading .primary-button{width:100%}
  .hero-highlights{gap:6px}.hero-highlights span{font-size:.62rem;padding:6px 8px}
  .stat-card{min-height:108px;padding:14px}
  .stat-card strong{font-size:1.4rem}
  .models-welcome{padding:23px 20px}.models-welcome h2{font-size:1.25rem}
  .models-welcome ol{gap:5px}.models-welcome li{font-size:.64rem;padding:8px}
  .models-toolbar{flex-wrap:wrap;gap:9px;padding:11px}
  .models-search{width:100%}.models-search input{font-size:16px}.models-toolbar .inline-link{font-size:.76rem}
  .template-card{min-height:0;padding:18px}
  .model-builder{height:100dvh;width:100vw;max-height:100dvh;border-radius:0}
  .builder-header{padding:13px 15px}.builder-header p:last-child{display:none}
  .builder-header h2{font-size:1.18rem}.builder-meta{padding:12px 15px;gap:9px}
  .builder-sections{display:block;padding:11px 15px;overflow:auto}
  .builder-tabs{display:flex;flex-direction:row;position:static;padding:1px 0 10px;max-height:none;overflow-x:auto;overflow-y:hidden}
  .builder-tabs button{flex:0 0 auto;white-space:nowrap;max-width:210px;overflow:hidden;text-overflow:ellipsis;padding:9px 11px}
  .builder-section{padding:14px}.builder-section-heading{flex-wrap:wrap;gap:6px}
  .builder-section-heading>input{flex:1 1 78%;min-width:0}
  .builder-section-settings{margin-left:0}.builder-question{padding:12px}
  .builder-question-top>input{flex-basis:78%;min-width:0}
  .builder-question-top>select{width:100%;flex:1 1 100%}
  .builder-question-details,.builder-options-list{margin-left:0}
  .builder-footer{padding:10px 15px;gap:7px}.builder-footer-actions{justify-content:flex-end}
  .builder-footer .secondary-button,.builder-footer .primary-button{font-size:.75rem;padding:0 11px}
  .app-shell:has(#page-checklist.active) .topbar,.app-shell:has(#page-checklist.active) .mobile-nav{display:none}
  .app-shell:has(#page-checklist.active) .main-area{padding-bottom:0}
  .checklist-top{position:sticky;top:0;z-index:30;height:60px;padding:0 12px}
  .checklist-layout{display:block}
  .section-nav{position:sticky;top:60px;z-index:25;max-height:none;display:flex;gap:5px;overflow-x:auto;overflow-y:hidden;padding:8px 12px;box-shadow:0 4px 15px rgb(0 0 0 / 0.063)}
  .section-button{flex:0 0 auto;min-width:0;width:auto;padding:7px 10px;gap:7px;border:1px solid var(--line)}
  .section-button.active{border-color:var(--line)}
  .section-button span:last-child{display:block;white-space:nowrap;font-size:.72rem;max-width:125px;overflow:hidden;text-overflow:ellipsis}
  .section-number{width:23px;height:23px;flex:none}
  .question-area{padding:24px 14px 115px}
  .question-heading h1{font-size:1.5rem}.question-heading p{font-size:.81rem}
  .question-card{padding:18px 17px;margin-bottom:11px}
  .question-card h3{font-size:.98rem}
  .tri-select button{height:52px;font-size:.85rem}
  .checklist-actions{position:sticky;bottom:0;z-index:28;align-items:stretch;flex-direction:column-reverse;gap:8px;padding:10px 13px calc(10px + env(safe-area-inset-bottom));margin:10px -14px -115px;background:var(--panel);box-shadow:0 -10px 30px rgb(0 0 0 / 0.102)}
  .checklist-actions #nextSection{width:100%;min-height:47px}
  .checklist-secondary-actions{flex-wrap:nowrap;overflow-x:auto;gap:7px;padding-bottom:2px}
  .checklist-secondary-actions .secondary-button{flex:0 0 auto;min-height:35px;font-size:.72rem;padding:0 9px}
}
@media(max-width:400px){.topbar-context span{display:none}.demo-badge{display:none}.hero-highlights span:last-child{display:none}.models-welcome ol li{white-space:normal}.models-toolbar #modelsCounter{font-size:.72rem}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}

[hidden]{display:none!important}.login-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:var(--soft)}.login-screen form{width:min(440px,100%);padding:36px;background:white;border:1px solid var(--line);border-radius:18px}.login-screen img{width:120px;height:75px;object-fit:contain}.login-screen h1{font-size:24px}.login-screen label,.feature-dialog label,.real-user-form label{display:block;font-weight:600;margin:18px 0 8px}.login-screen input,.feature-dialog input,.feature-dialog textarea,.feature-dialog select,.real-user-form input,.real-user-form select{display:block;width:100%;padding:12px;border:1px solid var(--line);border-radius:8px;margin-top:8px;font:inherit}.feature-dialog{width:min(580px,94vw);border:0;border-radius:16px;padding:28px;max-height:90dvh;overflow:auto}.feature-dialog::backdrop,.signature-dialog::backdrop{background:rgb(0 0 0 / 0.4)}.signature-dialog{width:min(850px,96vw);border:0;border-radius:16px;padding:24px}.signature-dialog canvas{width:100%;height:clamp(200px,40dvh,380px);display:block;background:var(--panel);border:1px solid var(--line);border-radius:8px;touch-action:none}.signature-field{display:flex;flex-direction:column;gap:12px;align-items:flex-start}.signature-field img{max-width:280px;background:var(--panel);border:1px solid var(--line)}.question-card{box-shadow:none;border:1px solid var(--line);border-radius:10px;padding:24px;margin-bottom:16px}.question-card h3{font-size:16px;font-weight:500}.question-index{color:var(--muted);font-size:10px}.evidence-tools{display:flex;gap:18px;justify-content:flex-end;flex-wrap:wrap;margin-top:22px;padding-top:8px;color:var(--text)}.evidence-tools button,.evidence-tools label{border:0;background:transparent;color:inherit;font:inherit;font-size:13px;cursor:pointer;padding:4px}.evidence-tools button:hover,.evidence-tools label:hover{color:var(--text);text-decoration:underline}.evidence-note{white-space:pre-wrap;background:var(--soft);padding:12px;border-left:3px solid var(--focus);margin:16px 0 0}.evidence-gallery{display:flex;gap:12px;flex-wrap:wrap;margin-top:12px}.evidence-file{border:1px solid var(--line);border-radius:8px;padding:10px;display:flex;flex-direction:column;max-width:180px;overflow-wrap:anywhere}.evidence-file img{width:150px;height:95px;object-fit:cover;margin-bottom:8px}.evidence-file a{font-size:12px}.evidence-file small{color:var(--muted)}.evidence-action{background:var(--soft);border:1px solid var(--line);border-radius:8px;padding:12px;margin-top:10px;display:grid;gap:5px}.evidence-action span{font-size:12px;color:var(--text)}.action-list-card{display:flex;justify-content:space-between;gap:20px;border:1px solid var(--line);background:var(--panel);padding:24px;border-radius:10px;margin-bottom:14px}.action-list-card h3{margin:8px 0}.action-list-card select{height:42px;padding:8px}.real-user{display:grid;grid-template-columns:1fr 1.5fr 1fr;background:white;padding:16px;border-bottom:1px solid var(--line)}.real-user-form{max-width:580px;background:white;padding:24px;margin-top:24px;border-radius:12px}.sync-failure{position:fixed;inset:0;background:rgb(0 0 0 / 0.702);z-index:9999;display:grid;place-items:center;padding:20px}.sync-failure>div{background:var(--panel);border-radius:16px;padding:30px;max-width:600px}.attachment-button{padding:12px;border:1px dashed var(--line);border-radius:8px}.attachment-button input{padding:0;border:0}.builder-tabs{background:var(--soft);border-bottom:1px solid var(--line)}.builder-question{border:1px solid var(--line);box-shadow:none;border-radius:8px}.builder-question-top{grid-template-columns:24px minmax(180px,1fr) minmax(140px,210px) repeat(4,32px)}.builder-footer{border-top:1px solid var(--line)}.checklist-page{background:var(--panel)}.signature-field small{color:var(--muted)}@media(max-width:640px){.evidence-tools{justify-content:flex-start;gap:10px}.feature-dialog,.signature-dialog{padding:18px}.action-list-card{flex-direction:column}.real-user{grid-template-columns:1fr;gap:6px}.builder-question-top{display:flex;flex-wrap:wrap}.question-card{padding:18px}.signature-dialog{max-height:95dvh;overflow:auto}}

.evidence-tools button,.evidence-tools label{display:inline-flex;align-items:center;gap:6px}.evidence-tools [data-icon]{display:inline-flex;width:17px;height:17px}.evidence-tools svg{width:17px;height:17px}.evidence-file button{font:inherit;font-size:11px;color:var(--text);background:transparent;border:0;text-align:left;padding:8px 0 0;cursor:pointer}

@media(max-width:640px){input,textarea,select{font-size:16px!important}}

/* Full-width inline authoring, with familiar page/question/response structure. */
#modelBuilder{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0;background:var(--soft);display:none;overflow:hidden;box-shadow:none}
#modelBuilder[open]{display:flex;flex-direction:column}.editor-top{display:flex;align-items:center;gap:14px;padding:12px 24px;background:var(--panel);border-bottom:1px solid var(--line);flex-shrink:0}.editor-top h2{font-size:1rem;margin:0;max-width:200px}.editor-top nav{display:flex;gap:4px;margin:auto;background:var(--soft);border-radius:6px;padding:4px}.editor-top nav button,.editor-back,.editor-toolbar button,.editor-bottom>button:not(.secondary-button){background:none;border:0;cursor:pointer;padding:8px 12px;border-radius:5px}.editor-top nav .selected{background:var(--soft);color:var(--text);font-weight:700}.editor-top .primary-button{box-shadow:none;border-radius:6px;min-height:36px}.editor-back{font-size:21px}.editor-toolbar{display:flex;align-items:center;gap:14px;background:var(--panel);border-bottom:1px solid var(--line);padding:8px 24px;flex-shrink:0;font-size:12px}.editor-toolbar>span{margin-left:auto;color:var(--muted)}.editor-toolbar button{padding:6px 9px;font-size:12px}.editor-toolbar>div button{font-size:21px}.editor-toolbar .secondary-button{min-height:32px;border:1px solid var(--line)}.model-builder .builder-meta{padding:14px 24px;background:var(--panel);border-bottom:1px solid var(--line);grid-template-columns:minmax(200px,1fr) minmax(200px,2fr);flex-shrink:0}.model-builder .builder-meta label{font-size:11px;color:var(--muted)}.model-builder .builder-meta input{border:0;border-bottom:1px solid var(--line);border-radius:0;min-height:30px;padding:4px 0;margin:0;font-size:15px;font-weight:500;background:none}.editor-body{display:flex;flex:1;min-height:0;overflow:hidden}.editor-outline{flex:0 0 210px;background:var(--panel);border-right:1px solid var(--line);padding:20px 12px;overflow:auto}.editor-outline p{font-size:10px;letter-spacing:1.5px;margin:0 12px 12px;color:var(--muted);font-weight:700}.editor-outline button{display:block;width:100%;border:0;background:none;text-align:left;border-radius:6px;padding:12px;cursor:pointer;font-size:13px;margin:4px 0}.editor-outline button.selected{background:var(--soft);color:var(--text);font-weight:700}.editor-outline button span,.editor-outline button small{display:block}.editor-outline button small{font-size:10px;color:var(--muted);margin-top:4px;font-weight:400}.model-builder .builder-sections{flex:1;min-width:0;max-height:none;overflow:auto;padding:20px max(20px,calc((100% - 1150px)/2));scrollbar-gutter:stable}.editor-page-head{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:4px 0 18px}.editor-page-head input{border:0;font-size:21px;font-weight:650;background:transparent;min-width:0;max-width:100%;padding:0;flex:1}.editor-page-head span{font-size:11px;color:var(--muted)}.editor-page-head button{background:none;border:0;font-size:11px;color:var(--muted);cursor:pointer}.editor-section{border:1px solid var(--line);border-radius:7px;background:white;margin-bottom:20px;overflow:visible}.editor-section-head{display:flex;align-items:center;gap:9px;padding:10px 12px;background:var(--soft);border-radius:7px 7px 0 0;min-height:48px}.editor-section-head>button{width:26px;height:26px;border:0;border-radius:50%;background:var(--primary);color:white;font-size:20px;line-height:1;cursor:pointer}.editor-section-head>input{flex:1;min-width:0;background:none;border:0;font-weight:700;font-size:13px;padding:4px}.editor-section-head>label{font-size:11px;display:flex;align-items:center;gap:6px;white-space:nowrap}.editor-section-head input[type=checkbox]{width:14px;height:14px;accent-color:var(--primary)}.editor-column-labels{display:grid;grid-template-columns:2fr 1fr;padding:8px 12px 8px 40px;font-size:10px;color:var(--muted);border-bottom:1px solid var(--line)}.editor-question{border-bottom:1px solid var(--line);position:relative;padding-left:calc(var(--indent)*16px);background:var(--panel)}.editor-question.selected{box-shadow:inset 3px 0 #000000;background:var(--panel)}.editor-question-row{display:flex;align-items:center;gap:5px;min-height:52px;padding:6px 8px}.editor-question-row textarea{border:1px solid transparent;background:transparent;resize:vertical;min-height:36px;height:40px;padding:8px 5px;color:var(--text);font-size:12px;line-height:1.5;flex:1;min-width:0;max-height:170px;outline:none}.editor-question.selected textarea{border-color:var(--line);border-radius:4px;background:var(--panel)}.editor-handle{width:22px;flex:none;align-self:stretch;cursor:grab;border:0;background:none;color:var(--muted);font-size:19px}.editor-required-mark{color:var(--text);font-weight:bold;font-size:13px}.editor-response-button{border:0;border-left:1px solid var(--line);background:none;padding:8px 8px;flex:0 0 30%;min-width:160px;display:flex;align-items:center;gap:5px;font-size:11px;cursor:pointer;color:var(--text);text-align:left;flex-wrap:wrap;min-height:40px}.editor-response-button>span:last-child{margin-left:auto;color:var(--muted)}.response-chip{display:inline-block;font-size:10px;background:var(--soft);color:var(--muted);padding:3px 5px;border-radius:3px;max-width:105px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.response-chip.chip-1{background:var(--soft);color:var(--text)}.response-chip.chip-2{background:var(--soft);color:var(--muted)}.editor-question-tools{display:none;align-items:center;gap:13px;padding:7px 12px 10px 36px;font-size:10px;flex-wrap:wrap}.editor-question.selected .editor-question-tools{display:flex}.editor-question-tools>button{border:0;background:none;padding:0;color:var(--text);font-size:10px;cursor:pointer}.editor-question-tools label{display:flex;align-items:center;gap:4px;white-space:nowrap}.editor-question-tools input{accent-color:var(--primary);width:12px;height:12px}.editor-question-menu{margin-left:auto}.editor-question-menu,.editor-section-menu{position:relative}.editor-question-menu summary,.editor-section-menu summary{list-style:none;cursor:pointer;min-width:22px;text-align:center;font-size:18px}.editor-question-menu>div,.editor-section-menu>div{position:absolute;right:0;top:24px;z-index:20;background:var(--panel);border:1px solid var(--line);border-radius:7px;box-shadow:0 8px 24px rgb(0 0 0 / 0.133);min-width:170px;padding:6px}.editor-question-menu button,.editor-section-menu button{display:block;width:100%;border:0;background:none;text-align:left;padding:9px;font-size:12px;cursor:pointer}.editor-question-menu button:hover,.editor-section-menu button:hover{background:var(--soft)}.editor-logic,.editor-condition-band,.editor-section-rules{padding:11px 18px;background:var(--panel);display:flex;align-items:center;gap:8px;font-size:10px;flex-wrap:wrap;color:var(--muted)}.editor-condition-band{border-left:2px solid var(--line);padding:8px 12px;font-size:10px;display:block}.editor-condition-band button{background:none;border:0;float:right;cursor:pointer}.editor-logic select,.editor-section-rules select{background:var(--panel);border:1px solid var(--line);border-radius:4px;padding:5px;max-width:240px;font-size:11px}.editor-logic button{border:1px solid var(--line);border-radius:4px;background:var(--soft);color:var(--text);padding:5px 8px;cursor:pointer;font-size:11px}.editor-add-row{border:0;background:none;color:var(--text);font-size:12px;padding:13px 38px;text-align:left;width:100%;cursor:pointer}.editor-add-row:hover{background:var(--panel)}.editor-page-add{display:flex;gap:10px}.editor-page-add button{border:1px dashed var(--line);border-radius:5px;color:var(--text);background:var(--panel);padding:10px 15px;cursor:pointer}.editor-bottom{background:var(--panel);border-top:1px solid var(--line);display:flex;align-items:center;gap:10px;padding:10px 24px;flex-shrink:0;font-size:11px}.editor-bottom span{flex:1;color:var(--muted)}.editor-bottom .secondary-button{min-height:32px;border-radius:5px;font-size:12px}.editor-response-panel{flex:0 0 285px;background:var(--panel);border-left:1px solid var(--line);overflow:auto;padding:18px}.editor-panel-head{display:flex;align-items:center;justify-content:space-between}.editor-panel-head h3{margin:0;font-size:15px}.editor-panel-head button{background:none;border:0;font-size:23px;cursor:pointer}.editor-response-panel p{font-size:11px;color:var(--muted);line-height:1.5}.editor-type-list{display:grid;gap:4px}.editor-type-list button{border:0;background:none;text-align:left;padding:10px;border-radius:5px;font-size:12px;cursor:pointer}.editor-type-list button:hover,.editor-type-list button.selected{background:var(--soft);color:var(--text)}.editor-custom{padding-top:16px;border-top:1px solid var(--line);margin-top:14px}.editor-custom h3{font-size:13px}.editor-custom label{font-size:11px}.editor-custom textarea{display:block;width:100%;margin:7px 0 12px;padding:8px;border:1px solid var(--line);border-radius:5px;resize:vertical;font-size:12px}.editor-custom .primary-button{font-size:12px;min-height:34px}.editor-preview-notice{padding:12px;background:var(--soft);border-radius:6px;color:var(--text);font-size:12px;line-height:1.5;margin-bottom:15px}.editor-preview-phone{max-width:480px;background:white;padding:24px;border:1px solid var(--line);border-radius:13px;margin:auto}.editor-preview-phone h3{font-size:15px;margin:22px 0 12px}.editor-preview-question{border-bottom:1px solid var(--line);padding:13px 0}.editor-preview-question>label{display:block;font-size:13px;line-height:1.6;font-weight:600;margin-bottom:10px}.editor-preview-question input,.editor-preview-question textarea{display:block;width:100%;border:1px solid var(--line);padding:10px;border-radius:5px}.editor-preview-question small{display:block;color:var(--muted);font-size:10px;margin-top:10px}.editor-preview-choices{display:flex;gap:6px;flex-wrap:wrap}.editor-preview-choices button{border:1px solid var(--line);border-radius:5px;background:var(--panel);padding:9px;font-size:12px;cursor:pointer}.editor-preview-choices .selected{background:var(--soft);color:var(--text);border-color:var(--focus)}.editor-preview-placeholder{background:var(--soft);padding:18px;font-size:11px;border:1px dashed var(--line);border-radius:5px;color:var(--muted)}.editor-preview-question input:focus,.editor-preview-question textarea:focus,.editor-question textarea:focus,.editor-page-head input:focus{outline:2px solid var(--line);outline-offset:2px}
@media(max-width:1100px){.editor-outline{flex-basis:170px}.editor-response-panel{flex-basis:250px}.model-builder .builder-sections{padding:18px}.editor-section-head>label{font-size:10px}.editor-response-button{min-width:130px}}
@media(max-width:760px){.editor-top{padding:10px;gap:5px;flex-wrap:wrap}.editor-top h2{font-size:12px}.editor-top nav{order:3;width:100%;justify-content:center;margin:0}.editor-top nav button{font-size:12px;padding:7px 10px}.editor-top .primary-button{margin-left:auto;font-size:12px;min-height:32px}.editor-toolbar{padding:5px 8px;gap:4px;flex-wrap:wrap}.editor-toolbar>span{font-size:10px;margin-left:auto}.editor-toolbar #revertBuilder{font-size:10px;padding:6px 4px}.model-builder .builder-meta{padding:10px;grid-template-columns:1fr;gap:8px}.model-builder .builder-meta input{font-size:16px}.editor-body{flex-direction:column;position:relative}.editor-outline{flex:0 0 auto;display:flex;overflow-x:auto;gap:5px;padding:5px 8px;border-right:0;border-bottom:1px solid var(--line);min-height:51px}.editor-outline p{display:none}.editor-outline button{width:auto;flex:none;font-size:11px;padding:6px 10px;margin:0;max-width:170px}.editor-outline button small{display:none}.editor-outline button span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.model-builder .builder-sections{padding:12px 8px;max-height:none;flex:1}.editor-section-head{gap:4px;padding:8px}.editor-section-head>input{font-size:12px}.editor-section-head>label{font-size:9px}.editor-question-row{flex-wrap:wrap;gap:2px;padding:5px}.editor-question-row textarea{flex-basis:70%;height:56px;font-size:16px!important}.editor-response-button{flex-basis:100%;padding-left:28px;border:0;min-height:28px;font-size:11px}.editor-column-labels{display:none}.editor-question-tools{padding:7px 10px;font-size:10px;gap:10px}.editor-question-tools>button{font-size:10px}.editor-page-head input{font-size:18px!important}.editor-page-head span{font-size:10px}.editor-bottom{padding:8px;flex-wrap:wrap;gap:6px}.editor-bottom span{display:none}.editor-bottom>button{font-size:10px!important;flex:1}.editor-bottom .secondary-button{padding:0 8px}.editor-response-panel{position:absolute;inset:0 0 0 auto;width:min(320px,100%);max-width:100%;z-index:30;box-shadow:-8px 0 30px rgb(0 0 0 / 0.2);flex-basis:auto}.editor-logic select,.editor-section-rules select{max-width:100%;font-size:16px!important}.editor-preview-phone{padding:15px}.editor-preview-question input,.editor-preview-question textarea,.editor-custom textarea{font-size:16px!important}.editor-condition-band{overflow-wrap:anywhere}}
#modelBuilder #builderSections{display:block}.editor-page-head,.editor-section,.editor-page-add,.editor-preview-notice{max-width:960px;margin-left:auto;margin-right:auto}
