/* Casona 0.2 — claridad, jerarquía y materiales contenidos */
:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,sans-serif;--ink:#222725;--muted:#707773;--green:#335b49;--line:#26372e13;--glass:rgba(255,255,255,.96);--radius:18px;color:var(--ink)}
body{background-color:#efefeb}body:before{background:rgba(242,243,240,.78)}
.shell{gap:24px;padding:20px;grid-template-columns:226px minmax(0,1fr)}
.sidebar{background:#f8faf5c9;border-color:#ffffffc7;box-shadow:0 10px 40px #202a2110;backdrop-filter:blur(28px) saturate(1.2);border-radius:20px;padding-top:24px}
.brand strong{font-family:inherit;letter-spacing:-1.2px;font-weight:650}.brand small{font-size:8px;letter-spacing:1.2px}.brand img{width:35px;height:35px}.nav-label{font-size:9px;letter-spacing:.8px;color:#8b938e}.nav button{font-size:12px;min-height:42px;gap:10px;border-radius:9px}.nav button.active{background:#dce6df;color:#234a37;box-shadow:none;font-weight:600}.sidebar-note{display:none}.sidebar-bottom{padding-top:16px}.topbar{height:54px}.top-actions button{background:#ffffffa6;border-color:#ffffffbc;backdrop-filter:blur(12px)}
.content{padding:12px 6px 32px}.demo-banner{background:#f8f9f5ad;color:#758079;border-color:#ffffffba;font-size:10px;padding:8px 12px}.demo-banner strong{font-weight:600;color:#68776d}.page-head{margin:22px 0 26px}.page-head h1{font-size:31px;letter-spacing:-1.1px;font-weight:680}.page-head p{color:#717a74;font-size:13px}.eyebrow{letter-spacing:1.5px;color:#708173;font-size:9px}.glass{border-color:#ffffff;backdrop-filter:none;box-shadow:0 2px 4px #20332802,0 8px 25px #20332806}.panel{padding:24px}.panel-head h2{font-size:18px;letter-spacing:-.45px}.panel-head p{font-size:12px;line-height:1.6}.panel-head button{min-height:40px}.hero{background:linear-gradient(110deg,#fafcf9f5,#eef2e9c9);padding:27px 30px;min-height:182px}.hero h2{font-family:inherit;font-weight:650;font-size:29px;letter-spacing:-1px;line-height:1.18}.hero p{color:#718074}.hero-ring{width:120px;height:120px;border-color:#d3dccb;background:#e7ede280;box-shadow:0 0 0 18px #edf1e845}.hero-ring img{width:48px;height:48px}.float-label{box-shadow:0 6px 18px #293b2510;border-color:#fff;background:#ffffffd9;padding:10px 12px;font-size:10px}.float-label strong{font-size:12px}.metric{padding:21px;min-height:137px}.metric-title{font-size:12px;color:#727a74}.metric-value{font-size:30px;font-weight:650;letter-spacing:-1.3px;color:#253a2e}.metric-foot{color:#869087;font-size:11px}.metric-icon{background:#f1f4ef;color:#81917c}.metric-icon .icon{width:17px;height:17px}button{border-radius:10px;min-height:44px;background:#fff;border-color:#dce2dc;transition:background .15s,box-shadow .15s}button:hover{transform:none;background:#f4f7f3;box-shadow:0 1px 3px #2233220a}.primary{box-shadow:none}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #83a8cd;outline-offset:3px}input,select,textarea{background-color:#fafbf9;border-color:#dce2dc;border-radius:10px;font-size:14px}.field{font-size:12px;line-height:1.4}.notice{background:#f1f5ef;border-color:#e2e8dc;color:#697865;font-size:12px}.badge{font-size:10px;border-radius:6px;padding:5px 8px;background:#eaf3e9;color:#4f754c}.badge.gray{background:#f0f2ef;color:#727c71}.badge.amber{background:#faf1de;color:#97752c}.table-wrap{border-radius:10px}th{background:#f8faf6;font-size:10px;color:#869081;letter-spacing:.65px;padding:12px}td{padding:16px 12px;color:#606c5c;font-size:12px}td strong{color:#344a30}td button{min-height:38px}.tenant-card{padding:24px}.tenant-card h2{font-size:20px;letter-spacing:-.6px;margin-top:19px}.tenant-card .actions{margin-top:23px}.tenant-meta{display:grid;gap:9px;margin:20px 0;font-size:12px;color:#788272}.tenant-meta .icon{width:15px;height:15px;margin-right:6px}.progress-label{display:flex;justify-content:space-between;font-size:11px;color:#8a9284;gap:10px}.progress-label strong{color:#63765a}.progress{height:5px;background:#edf0e9}.progress>span{background:#92a584}.entity-avatar{height:49px;width:49px;flex-shrink:0;border-radius:14px;display:inline-grid;place-items:center;color:#57704b;background:linear-gradient(135deg,#e8efdf,#f3f5eb);font-size:17px;font-weight:600;letter-spacing:-.5px}.entity-header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 24px;padding:22px 24px;background:#ffffffce;border:1px solid #fff;border-radius:18px}.entity-header h2{font-size:23px;letter-spacing:-.8px}.entity-header p{font-size:12px;color:var(--muted);margin-top:7px}.entity-header>.actions{margin:0}.segmented{display:flex;padding:4px;gap:3px;background:#e5e9e2a8;border:1px solid #dde3d7;border-radius:12px;margin-bottom:24px;width:fit-content;max-width:100%;overflow:auto;flex-shrink:0}.segmented button{border:0;background:transparent;font-size:12px;min-height:38px;white-space:nowrap;padding:9px 14px;flex:1}.segmented button.active{background:#fff;box-shadow:0 1px 5px #22331112;color:#365132;font-weight:600}.segmented.compact{margin:0}.tenant-toolbar{display:flex;justify-content:space-between;gap:20px;margin-bottom:22px;align-items:center}.tenant-toolbar .filters{margin:0;flex:1}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px 24px}.detail-value{display:flex;flex-direction:column;gap:7px;padding:13px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.detail-value>span{font-size:11px;color:#88917f}.detail-value strong{font-size:13px;font-weight:550;color:#4b6042;line-height:1.6}.check-row{display:flex;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line);font-size:13px}.check-row>.badge{margin-left:auto}.check-dot{width:25px;height:25px;display:grid;place-items:center;flex-shrink:0;background:#f1f3eb;color:#9aa28d;border-radius:50%;font-size:11px}.check-dot.done{background:#e5efdc;color:#668150}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.module-actions{justify-content:flex-end;margin-bottom:20px}.pos-terminal-row{display:flex;align-items:center;gap:12px;margin-bottom:18px}.pos-terminal-row .field{min-width:240px}.product{background:#fff;padding:13px;border-radius:16px}.product img{height:130px;filter:saturate(.85)}.product h3{font-size:13px}.product-footer{font-weight:600}.cart{border:1px solid white;box-shadow:0 7px 25px #2a342010}.filters .field select{max-width:100%;width:100%}.filters .field{flex:1;max-width:330px}.modal-backdrop{background:#18231a63;backdrop-filter:blur(12px)}.modal{background:#fbfcfa;border-color:#fff;border-radius:23px;padding:30px;box-shadow:0 30px 100px #15241033}.modal.wide{width:min(880px,100%)}.modal-head h2{font-size:24px;font-weight:650;letter-spacing:-.7px}.modal-head p{font-size:13px}.wizard-steps{display:flex;justify-content:space-between;gap:8px;margin:0 0 26px;padding:14px 0 22px;border-bottom:1px solid var(--line)}.wizard-steps>span{display:flex;align-items:center;gap:7px;font-size:11px;color:#a0a797;white-space:nowrap}.wizard-steps i{font-style:normal;display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#eff2e9;color:#9ca68f;font-size:10px}.wizard-steps .current{color:#365230;font-weight:600}.wizard-steps .current i{background:#365230;color:white}.wizard-steps .complete i{background:#e0ebd5;color:#607c49}.form-section>div:first-child{margin-bottom:22px}.form-section h3{font-size:19px;letter-spacing:-.4px}.form-section p{font-size:12px;color:#86917a;line-height:1.7;margin-top:7px}.form-grid{gap:20px}.wizard-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;border-top:1px solid var(--line);padding-top:23px;margin-top:28px}.wizard-footer .actions{margin:0}.wizard-footer .muted{font-size:10px}.method-options{border:1px solid #dce2d4;border-radius:10px;padding:10px 14px;margin:0;display:flex;flex-direction:column;gap:10px}.method-options legend{font-size:11px;padding:0 6px;color:#647557}.method-options label{display:flex;gap:8px;align-items:center;font-size:12px}.method-options input[type=checkbox]{width:17px;height:17px;min-height:0;accent-color:var(--green);margin:0}.review-card{padding:24px;background:#f3f6ef;border:1px solid #e4ebdc;border-radius:15px;margin-bottom:20px}.review-card h2{margin:15px 0 7px}.review-card>p{color:#85917a;font-size:13px;margin-bottom:15px}
@media(max-width:1150px){.shell{grid-template-columns:200px minmax(0,1fr);gap:16px;padding:14px}.hero h2{font-size:27px}.metrics{grid-template-columns:1fr 1fr}.entity-header{align-items:flex-start;flex-direction:column}.wizard-steps>span{flex-direction:column;gap:6px}}
@media(max-width:800px){.shell{display:block;padding:10px 10px 90px}.content{padding:6px 2px 24px}.page-head{margin:18px 0 23px}.page-head h1{font-size:28px}.page-head p{font-size:12px}.hero{padding:23px;min-height:175px}.hero h2{font-size:27px}.hero-art{display:none}.metrics{gap:10px}.metric{padding:17px;min-height:130px}.metric-value{font-size:26px}.metric-title{font-size:11px}.metric-foot{font-size:10px}.entity-header{padding:18px;gap:15px}.entity-header>.actions{gap:10px}.entity-header h2{font-size:21px}.tenant-toolbar{align-items:stretch;flex-direction:column;gap:12px}.tenant-toolbar .segmented{align-self:flex-start}.segmented{width:100%;margin-bottom:20px}.segmented button{padding:10px 12px;flex:none;min-height:42px}.detail-grid{gap:5px 16px}.modal{padding:22px}.wizard-steps{gap:3px;margin-bottom:22px}.wizard-steps>span{font-size:9px;flex:1}.wizard-steps i{width:21px;height:21px}.wizard-footer{flex-direction:column-reverse;align-items:stretch;gap:18px}.wizard-footer .actions{justify-content:space-between}.wizard-footer .muted{text-align:center}.form-grid{gap:17px}.pos-terminal-row .field{min-width:0;flex:1}.mobile-bottom{background:#ffffffd9}.check-row{font-size:12px}.check-row>.badge{font-size:9px}.topbar>.actions{min-width:0}.topbar .breadcrumb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top-actions .btn-icon:last-child{display:none}}
@media(max-width:420px){.metric-value{font-size:24px}.metric-title{font-size:10px}.metric-icon{display:none}.metric{min-height:120px}.panel{padding:18px}.detail-grid{grid-template-columns:1fr}.entity-header .actions>button{font-size:11px}.form-section h3{font-size:18px}.modal{padding:19px}.wizard-steps{margin-top:0}.wizard-steps>span{font-size:8px}.tenant-card{padding:22px}.topbar .breadcrumb{max-width:100px}.hero h2{font-size:25px}}
@media print{.wizard-footer,.segmented,.entity-header .actions button,.pos-terminal-row{display:none!important}.glass,.panel{background:white;box-shadow:none}}
