*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;background:#f3f5f7;color:#17202a}.wrap{max-width:1120px;margin:auto;padding:20px}.narrow{max-width:650px}.card{background:#fff;border:1px solid #e8ebee;border-radius:20px;padding:22px;margin:15px 0;box-shadow:0 7px 28px #17202a0b}.hero{text-align:center;padding:34px 22px}.brand{background:linear-gradient(180deg,#fff,#f8fafb)}.brandmark,.action-icon{display:grid;place-items:center;width:48px;height:48px;margin:0 auto 12px;border-radius:15px;background:#17202a;color:#fff;font-weight:900;font-size:23px}.hero h1{margin:0 0 8px;font-size:30px}.hero p{margin:5px 0 15px;color:#68727d}.muted{color:#6c7781}.small{font-size:13px}.eyebrow{font-size:12px;font-weight:900;letter-spacing:.12em;color:#7b8791}.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.action-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.statbox{margin:0}.statbox span{display:block;color:#69747e;font-weight:700}.statbox b{font-size:34px}.info-grid div{padding:14px;background:#f7f8fa;border-radius:14px}.info-grid span{display:block;color:#77818a;font-size:13px;margin-bottom:5px}.info-grid b{font-size:17px;word-break:break-word}label{display:block;font-weight:800;margin:14px 0 7px}input,select,textarea{width:100%;padding:14px 15px;border:1px solid #d7dde2;border-radius:13px;font-size:16px;background:#fff;outline:none}input:focus,select:focus,textarea:focus{border-color:#7d8994;box-shadow:0 0 0 3px #17202a0b}textarea{min-height:95px}button,.btn{display:inline-block;border:0;border-radius:13px;padding:13px 17px;font-size:15px;font-weight:850;cursor:pointer;text-decoration:none;background:#17202a;color:#fff}.btn2{background:#eef1f4;color:#17202a}.big{width:100%;padding:17px;margin-top:17px;font-size:17px}.full{width:100%;margin-top:9px}.smallbtn{padding:9px 12px;font-size:13px}.notice{padding:14px 16px;border-radius:13px;background:#eaf7ef;margin:13px 0;font-weight:650}.notice.warn{background:#fff1df}.notice.soft{background:#f5f7f8;font-weight:500}.empty{padding:18px;border:1px dashed #ccd3d9;border-radius:14px;color:#6f7a84;text-align:center}.row{display:flex;gap:9px;flex-wrap:wrap;align-items:center}.top{display:flex;justify-content:space-between;align-items:center;gap:15px}.section-title{display:flex;justify-content:space-between;align-items:center;gap:10px}.secret{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:17px;background:#f5f7f8;padding:13px;border-radius:11px;word-break:break-all;margin:7px 0}.tag,.status{display:inline-block;padding:6px 9px;border-radius:999px;background:#edf0f2;font-size:11px;font-weight:900}.s-aprobado,.s-activo{background:#e5f6eb;color:#176b3a}.s-rechazado,.s-inactivo{background:#fde9e9;color:#9a2525}.s-recibido,.s-nuevo{background:#e9f1ff;color:#285eaa}.s-revision{background:#fff1d8;color:#8a5a00}.table{overflow:auto}table{width:100%;border-collapse:collapse;min-width:760px}th,td{text-align:left;padding:12px;border-bottom:1px solid #edf0f2}th{font-size:12px;color:#69747e;text-transform:uppercase;letter-spacing:.04em}.sharebox{display:flex;justify-content:space-between;align-items:end;gap:20px}.sharebox>div:first-child{flex:1}.search{min-width:300px}.request-list{display:grid;gap:9px}.request-item{display:flex;justify-content:space-between;gap:15px;padding:14px;background:#f8f9fa;border-radius:14px}.request-item>div:last-child{text-align:right}.request-item small{display:block;color:#75808a;margin-top:5px}.action-card{margin:0}.action-card .action-icon{margin-left:0}.action-card h2{margin-bottom:5px}#toast{position:fixed;left:50%;bottom:25px;transform:translate(-50%,20px);background:#17202a;color:#fff;padding:11px 18px;border-radius:999px;opacity:0;pointer-events:none;transition:.2s}#toast.show{opacity:1;transform:translate(-50%,0)}@media(max-width:800px){.stats{grid-template-columns:repeat(2,1fr)}.grid,.grid3,.action-grid{grid-template-columns:1fr}.sharebox,.top.admin-head{align-items:stretch;flex-direction:column}.search{min-width:0;width:100%}.wrap{padding:11px}.card{padding:17px;border-radius:17px}.hero h1{font-size:25px}.request-item{flex-direction:column}.request-item>div:last-child{text-align:left}}
.check{display:flex;align-items:center;gap:10px;padding:14px;background:#f7f8fa;border-radius:13px}.check input{width:auto;transform:scale(1.25)}

.quicklinks{display:flex;gap:7px;margin-top:8px}.quicklinks a{font-size:11px;font-weight:900;text-decoration:none;color:#56616b;background:#f1f3f5;padding:7px 10px;border-radius:999px}.filterbar{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:end}.filterbar select{margin:0}@media(max-width:700px){.filterbar{grid-template-columns:1fr}.stats{gap:8px}.statbox b{font-size:28px}.admin-head .row{width:100%}.admin-head .row .btn{flex:1;text-align:center}}

/* V2.2 CLIENT PORTAL ONE SCREEN */
.client-app{background:#eef1f5;margin:0;padding:0;color:#111827}
.client-shell{max-width:560px;margin:0 auto;min-height:100vh;background:#f6f7f9;padding:18px 14px 92px}
.client-header{padding:7px 4px 14px}.client-header h1{font-size:25px;margin:3px 0}.account-mini{font-size:13px;color:#657080}
.live-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#20a464;margin-left:7px}
.app-tab{display:none}.app-tab.active{display:block}
.app-card{background:#fff;border:1px solid #e4e8ed;border-radius:18px;padding:17px;margin-bottom:12px;box-shadow:0 5px 18px rgba(17,24,39,.045)}
.app-card.compact{padding:14px}.section-title{font-size:12px;font-weight:900;letter-spacing:.08em;color:#596273;margin-bottom:12px}.small-title{margin-top:20px}
.sub{font-size:14px;color:#6b7280;margin-top:-5px}
.copy-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 0;border-bottom:1px solid #edf0f3}.copy-row:last-child{border-bottom:0}.copy-row div:first-child{display:flex;flex-direction:column;min-width:0}.copy-row strong{font-size:17px;overflow-wrap:anywhere}.copy-row small,.bank-box small{color:#7a8491}.copy-row button,.inline-actions button,.ghost{border:0;background:#edf1f5;color:#263242;border-radius:9px;padding:9px 10px;font-size:11px;font-weight:900}
.inline-actions{display:flex!important;flex-direction:row!important;gap:5px}
.bank-box{display:grid;grid-template-columns:1fr;gap:2px;margin-bottom:13px}.bank-box b{font-size:16px;margin-bottom:9px;overflow-wrap:anywhere}
.primary{border:0;background:#111827;color:#fff;border-radius:12px;padding:13px 15px;font-weight:900}.full{width:100%}.big-action{font-size:14px;padding:16px;margin-top:14px}.primary:disabled{opacity:.55}
.amount-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:8px 0 10px}.amount-grid button{border:1px solid #dce1e7;background:#f8fafb;border-radius:11px;padding:12px 4px;font-weight:850;color:#273243}.amount-grid button.selected{background:#111827;color:white;border-color:#111827}
.transfer-mini{background:#f3f5f7;border-radius:13px;padding:13px;display:flex;flex-direction:column;gap:3px;margin:12px 0}.transfer-mini .ghost{margin-top:7px}
.upload-box{border:2px dashed #ccd3dc;border-radius:15px;min-height:120px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:15px;cursor:pointer;background:#fafbfc}.upload-box span{font-size:30px}.upload-box b{font-size:13px;margin:5px 0}.upload-box small{color:#7b8490;max-width:100%;overflow:hidden;text-overflow:ellipsis}.upload-box input{display:none}
.op-top{display:flex;justify-content:space-between;gap:10px;align-items:center}.status{white-space:nowrap}
.history-filters{display:flex;gap:6px;margin-bottom:12px}.history-filters button{border:0;background:#eef1f4;padding:8px 11px;border-radius:999px;font-size:10px;font-weight:900}.history-filters button.on{background:#111827;color:white}
.history-item{border-top:1px solid #e9edf1}.history-item summary{list-style:none;cursor:pointer;padding:14px 0;display:flex;justify-content:space-between;gap:9px;align-items:center}.history-item summary::-webkit-details-marker{display:none}.history-item summary div{display:flex;flex-direction:column;gap:4px}.history-item summary small{color:#7a8490}.history-detail{background:#f7f8fa;border-radius:10px;padding:11px;margin-bottom:10px;font-size:13px;overflow-wrap:anywhere}.empty{text-align:center;color:#7a8490;padding:25px 5px}
.toast{position:sticky;top:8px;z-index:20;padding:12px 14px;border-radius:12px;margin-bottom:10px;font-weight:800;font-size:13px;box-shadow:0 8px 25px rgba(0,0,0,.08)}.toast.good{background:#e7f8ef;color:#17613a}.toast.bad{background:#fff0f0;color:#9b2525}
.bottom-nav{position:fixed;z-index:50;bottom:0;left:50%;transform:translateX(-50%);width:min(560px,100%);height:72px;background:rgba(255,255,255,.97);border-top:1px solid #dfe4ea;display:grid;grid-template-columns:repeat(4,1fr);padding-bottom:env(safe-area-inset-bottom);box-shadow:0 -7px 24px rgba(17,24,39,.07)}
.bottom-nav button{position:relative;border:0;background:transparent;color:#7a8491;font-size:10px;font-weight:850;display:flex;flex-direction:column;gap:3px;align-items:center;justify-content:center}.bottom-nav button span{font-size:22px;line-height:1}.bottom-nav button.on{color:#111827}.bottom-nav button.on:after{content:"";position:absolute;top:0;width:30px;height:3px;border-radius:0 0 4px 4px;background:#111827}.bottom-nav i{position:absolute;top:9px;right:22%;background:#d92727;color:white;border-radius:99px;font-style:normal;font-size:9px;min-width:16px;height:16px;line-height:16px}
@media(min-width:700px){.client-shell{margin-top:20px;margin-bottom:20px;border-radius:22px;box-shadow:0 10px 40px rgba(17,24,39,.08);min-height:calc(100vh - 40px)}}
