:root{font-family:Arial,Helvetica,sans-serif;color:#474444;background:#f9f3ef;font-size:14px}*{box-sizing:border-box}body{margin:0}a{color:#974e3f;text-decoration:none}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.45;cursor:default}button,a,input,select,textarea{outline-offset:4px}h1{font:37px/1.2 Georgia,serif;letter-spacing:-.8px;margin:0 0 15px}h2{font:25px/1.3 Georgia;margin:0 0 16px}h3{font:23px Georgia}p{color:#625b58;line-height:1.7}small{color:#6e625b;font-size:11px;line-height:1.7}hr{border:0;border-top:1px solid #e6dcd2;width:100%;margin:10px 0}.brand{font:bold 42px Georgia;color:#9d6352;letter-spacing:4px;display:inline-block}.brand span{display:block;font:9px Arial;letter-spacing:4px;margin:7px 0 0 4px}.auth{width:calc(100% - 36px);max-width:470px;margin:65px auto}.auth .brand{margin:0 0 33px 10px}.auth h1{font-size:33px}.auth.wide{max-width:650px}.auth footer{font-size:11px}.panel{background:#fff;border:1px solid #e9e1d8;border-radius:9px;overflow:hidden}.padded{padding:30px}.eyebrow{font-size:10px;letter-spacing:1.6px;font-weight:bold;color:#974e3f;display:block;margin-bottom:15px}form{display:grid;gap:17px}label{display:grid;gap:8px;color:#474444;font-size:12px}input,select,textarea{border:1px solid #dfd5c9;border-radius:5px;padding:12px;color:#5e5247;background:white;width:100%;min-width:0}.primary,.secondary{display:inline-flex;justify-content:center;align-items:center;padding:12px 17px;border-radius:5px;font-size:12px}.primary{color:#fff;background:#974e3f;border:1px solid #974e3f}.secondary{color:#956b52;background:#fcfaf6;border:1px solid #ded0bf}.textbtn{color:#9c7057;background:none;border:0;padding:7px;font-size:11px}.notice{padding:15px 18px;background:#f3e9dc;color:#8c6c4e;border:1px solid #e8d9c5;border-radius:6px;font-size:12px;line-height:1.7;margin:18px 0}.error{background:#f9e9e5;border-color:#edcfc5;color:#9d4e3c}.small{font-size:12px}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.shell{display:flex;min-height:100vh}aside{width:225px;background:white;border-right:1px solid #e8e0d6;padding:35px 23px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0}.aside-label{font-size:8px;letter-spacing:1.5px;margin:28px 0;color:#a19082}nav{display:grid;gap:8px}nav a{padding:14px;border-radius:7px;color:#84776b;font-size:13px}nav .active{color:#974e3f;background:#f9f3ef;font-weight:bold}.aside-bottom{margin-top:auto;color:#9b8269;font:18px/1.8 Georgia}.aside-bottom p{font:10px Arial;color:#b09e8b}.workspace{margin-left:225px;width:calc(100% - 225px)}header{height:77px;display:flex;align-items:center;justify-content:space-between;padding:0 40px;background:#fff;border-bottom:1px solid #e8e0d6;color:#8f8173;font-size:12px}.userbox{display:flex;align-items:center;gap:18px}.userbox form{display:block}main:not(.auth){max-width:1400px;padding:35px 40px;margin:auto}.heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.heading p{font-size:13px;margin:0}.hero{padding:30px 38px;background:#f9f3ef;border:1px solid #e4d7c8;border-radius:9px}.hero h2{font-size:32px;margin-bottom:14px}.hero p{font-size:12px;margin:0}.hero .eyebrow{font-size:9px}.stats{display:grid;grid-template-columns:repeat(3,1fr);background:white;border:1px solid #e6ded4;border-radius:8px;margin:24px 0}.stats div{padding:22px 25px;border-right:1px solid #eee7df}.stats div:last-child{border:0}.stats span{font-size:11px;color:#9c8b7b}.stats b{font:30px Georgia;display:block;margin-top:9px;color:#796653}.panel-title{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:22px 25px;border-bottom:1px solid #ede5db}.panel-title h2{font-size:22px;margin:0}.panel-title a,.panel-title span{font-size:11px;color:#a1846c}.filters{display:flex;gap:10px;padding:20px 25px;align-items:center}.filters>input{flex:1;min-width:120px}.filters select{max-width:220px}.filters .secondary{white-space:nowrap}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:10px;font-weight:normal;color:#a19385;background:#faf7f2;padding:13px 23px}td{border-bottom:1px solid #eee7df;padding:19px 23px;font-size:12px}td small{display:block}td b{font-size:12px}.docname{display:flex;align-items:center;gap:13px}.docname b{overflow-wrap:anywhere}.pdf{font-size:8px;color:#a7725c;background:#f7eee7;border-radius:5px;padding:15px 7px}.download{white-space:nowrap}.empty{text-align:center;padding:40px 20px;color:#9d856f}.empty p{font-size:12px}.empty h3{font-size:24px;margin:10px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:24px}.cards article{background:white;border:1px solid #e6dbce;border-radius:8px;padding:24px}.cards p{font-size:12px;overflow-wrap:anywhere}.tag{font-size:11px;color:#a37d5c}.form-panel{max-width:650px}.filebox{border:1px dashed #d8bea5;padding:20px;border-radius:6px}.filebox input{border:0;padding:6px 0}.inlineform{display:flex;align-items:center;gap:10px}.linkbox{display:grid;gap:12px}.linkbox textarea{font-size:12px;overflow-wrap:anywhere}.spaced{margin-top:24px}footer{display:flex;justify-content:space-between;gap:15px;color:#b09d89;font-size:10px;line-height:1.8;padding:25px 0}@media(max-width:1050px){aside{width:180px;padding:30px 16px}.brand{font-size:35px}.workspace{margin-left:180px;width:calc(100% - 180px)}main:not(.auth){padding:27px}.filters{flex-wrap:wrap}.filters select{max-width:none;width:40%}.cards{grid-template-columns:1fr 1fr}.heading h1{font-size:32px}}@media(max-width:720px){aside{position:static;width:100%;padding:20px;display:block}.brand{font-size:30px}.aside-label,.aside-bottom{display:none}.shell{display:block}nav{display:flex;flex-wrap:wrap;margin-top:20px;gap:5px}nav a{padding:10px;font-size:11px}.workspace{margin:0;width:100%}header{padding:0 18px;height:60px;font-size:10px}.userbox{gap:5px}.userbox span{max-width:120px;overflow:hidden}main:not(.auth){padding:24px 17px}.heading{flex-direction:column;align-items:flex-start;gap:17px}.heading h1{font-size:31px}.hero{padding:26px}.hero h2{font-size:29px}.hero .eyebrow{font-size:8px}.stats div{padding:17px 12px}.stats span{font-size:9px}.stats b{font-size:26px}.filters{padding:17px}.filters>input{flex-basis:100%}.filters select{width:calc(50% - 5px);font-size:11px}.filters button{width:100%}.panel-title{padding:20px 17px}.panel-title h2{font-size:20px}.panel-title span{max-width:110px;font-size:9px}td,th{padding:15px}.cards,.formgrid{grid-template-columns:1fr}.padded{padding:24px}.auth{margin:35px auto}.auth h1{font-size:30px}footer{flex-direction:column;gap:3px}}

/* Identidad Corporación YAEM · v10 */
.brand{display:block;width:100%;max-width:360px;line-height:0;letter-spacing:normal}.brand img{display:block;width:100%;height:auto;filter:invert(1);mix-blend-mode:multiply;opacity:.86}.auth .brand{margin:0 auto 30px}.primary:hover{background:#803f33;border-color:#803f33}.secondary:hover{border-color:#974e3f}nav .active{box-shadow:inset 3px 0 #e4c62b}.hero{border-top:3px solid #e5b872}.eyebrow,.tag{color:#974e3f}input:focus,select:focus,textarea:focus{outline:2px solid #974e3f;outline-offset:2px}.notice{background:#f9f3ef;border-color:#e5b872;color:#474444}aside .brand{margin:0}.aside-label{margin:20px 0}header{border-bottom-color:#e5b872}@media(max-width:720px){aside .brand{max-width:265px}.auth .brand{max-width:340px}}

/* Logo Portal Clientes YAEM · v11 */
.brand img{filter:none;mix-blend-mode:normal;opacity:1}.auth .brand{max-width:390px}aside .brand{padding:3px 0}

/* Recordatorios y deudas v13 */
.reminder-image{display:block;max-width:100%;max-height:320px;object-fit:contain;border-radius:10px;margin:16px 0}.preserve{white-space:pre-wrap}details{margin:14px 0}summary{cursor:pointer;font-weight:600;color:#974e3f}input[type=checkbox]{width:auto;display:inline-block;margin-right:8px}textarea{max-width:100%}

/* Ayuda v16 */
.help-panel{max-width:900px}.help-question{border-bottom:1px solid #eaded6;padding:14px 0;margin:0}.help-question summary{line-height:1.5;padding:6px 0}.help-question p{line-height:1.7;margin:12px 0}.help-question summary:focus-visible{outline:2px solid #974e3f;outline-offset:4px}
