
:root{--page:#f8f2e7;--paper:#fffcf7;--ink:#49311d;--muted:#89755e;--line:#e6d8c2;--green:#246739;--gold:#9f7e50;--shadow:0 7px 22px #543b2116}
*{box-sizing:border-box}
body{margin:0;background:var(--page);color:var(--ink);font-family:system-ui,-apple-system,"Segoe UI",sans-serif}
button{font:inherit;cursor:pointer}
.clean-layout{max-width:1100px;margin:auto;padding:16px 20px 36px}
.clean-header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:166px;padding:12px 20px;border:1px solid #e6d5b9;border-radius:24px;background:radial-gradient(ellipse at 32% 30%,#fffaf1,#f0e0c8);box-shadow:var(--shadow)}
.clean-logo{display:block;width:43%;max-width:390px;height:140px;object-fit:contain;object-position:left center;mix-blend-mode:multiply}
.clean-header-right{display:flex;flex-direction:column;gap:10px;align-items:flex-end;width:min(360px,53%)}
.clean-profile{position:relative;width:100%}
.clean-profile>button{display:flex;gap:7px;align-items:center;justify-content:space-between;width:100%;padding:9px 10px;border-radius:15px;border:1px solid #d9c6ac;background:#f8eddf;color:#4f3a28}
.clean-status-circle{display:grid;place-items:center;background:#2b9555;border-radius:50%;width:31px;height:31px;flex:none;color:white;font-size:18px}
.clean-user-info{display:grid;flex:1;min-width:0;line-height:1.15;text-align:left}
.clean-user-info small{font-size:10px;color:#927354}
.clean-user-info strong{font-size:14px;line-height:1.2}
.clean-profile-menu{position:absolute;z-index:10;top:calc(100% + 6px);right:0;width:100%;border:1px solid #dbcbb5;border-radius:16px;overflow:hidden;background:#fffdf8;box-shadow:var(--shadow)}
.clean-profile-menu[hidden]{display:none}
.clean-profile-menu button{display:block;width:100%;padding:12px;background:none;border:0;text-align:left;color:var(--ink)}
.clean-profile-menu button+button{border-top:1px solid #f0e6d7}
.clean-profile-menu button:hover{background:#f7efdf}
.clean-clock-weather{display:flex;width:100%;gap:7px;align-items:stretch;padding:6px;border:1px solid #d7c4a7;border-radius:15px;background:#f9eedc;box-shadow:0 4px 8px #644a2415}
.clean-clock-grid{flex:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:33px 24px;gap:4px}
.clean-tile{display:grid;place-items:center;background:linear-gradient(#fffaf1 48%,#ebdec7 50%,#faf4e7);border-radius:7px;border:1px solid #d7c7ad;color:#63452b;font:700 24px Georgia,serif;box-shadow:0 1px 2px #4b32121e}
.clean-seconds{font-size:16px}
.clean-day,.clean-month{font-size:13px}
.clean-month{grid-column:2/4}
.clean-bell-group{display:grid;grid-template-rows:1fr 1fr;gap:4px}
.clean-bell-group span{display:grid;place-items:center;padding:3px 8px;border:1px solid #d9c7a8;border-radius:7px;background:#fffaf0;color:#846442}
.clean-weather{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:66px;border:1px solid #d9c7a8;border-radius:8px;background:linear-gradient(#fffaf2,#f0e3cd);line-height:1.2}
.clean-weather>span{font-size:20px;color:#b68a43}
.clean-weather strong{font-size:18px}
.clean-weather small{color:#9a7c5d;font-size:9px}
.clean-main{padding-top:24px}
.clean-topline{letter-spacing:.19em;color:#9c835b;font-size:12px;font-weight:800}
.clean-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}
.clean-heading h1{font:normal clamp(27px,4vw,39px) Georgia,serif;margin:12px 0 4px}
.clean-heading p{margin:0;font-size:13px;color:var(--muted)}
.clean-role-tag{border:1px solid #d7dec9;border-radius:99px;color:#55724a;background:#f0f8ea;padding:7px 12px;white-space:nowrap;font-size:11px;font-weight:700}
.clean-month-and-stats{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(200px,1fr);gap:16px;align-items:stretch}
.clean-card,.clean-stat-card{border:1px solid var(--line);background:var(--paper);border-radius:23px;box-shadow:var(--shadow)}
.clean-card{padding:17px 18px}
.clean-calendar{background:linear-gradient(145deg,#fcfff6,#e3f1d8);border-color:#cde3c2}
.clean-card-title{display:flex;align-items:center;gap:10px;color:#21673b;font-size:18px}
.clean-card-icon{display:grid;place-items:center;flex:none;width:35px;height:35px;border-radius:50%;background:#289f54;color:white;font-size:20px}
.clean-calendar-body{margin-top:12px;padding:12px;border-radius:18px;background:#fffdf8;border:1px solid #e5decf}
.clean-month-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}
.clean-month-bar button{background:#eff6ea;border:1px solid #d4dfce;border-radius:10px;width:36px;height:36px;color:var(--green);font-size:25px}
.clean-month-bar strong{font-size:16px}
.clean-weekdays,.clean-days{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;text-align:center}
.clean-weekdays{font-size:11px;color:#948566;margin:3px 0 9px}
.clean-days button,.clean-days span{height:41px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid transparent;background:transparent;border-radius:9px;gap:4px;color:#4d3d2d;font-size:14px}
.clean-days button[aria-pressed="true"]{background:#dcefd6;border-color:#76af75;font-weight:800}
.clean-days button:hover{background:#eef8ea}
.clean-dots{display:flex;gap:4px;min-height:5px}
.clean-dots i,.clean-legend i{width:6px;height:6px;display:block;border-radius:50%}
.clean-dots .mixa,.clean-legend .mixa{background:#d65992}
.clean-dots .tamisa,.clean-legend .tamisa{background:#367fc9}
.clean-dots .completa,.clean-legend .completa{background:#c44b4b}
.clean-legend{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:12px;color:#88765d;font-size:11px}
.clean-legend span{display:flex;align-items:center;gap:4px}
.clean-legend i{width:9px;height:9px}
.clean-day-details{margin-top:12px;min-height:40px;text-align:center;font-size:12px;color:#816e58;line-height:1.5}
.clean-card-note{font-size:11px;line-height:1.5;color:#80705d;margin:12px 1px 1px}
.clean-summary{display:grid;grid-template-rows:repeat(3,minmax(0,1fr));gap:12px}
.clean-stat-card{display:flex;align-items:center;gap:16px;padding:15px 19px}
.clean-green{background:linear-gradient(145deg,#f7fff5,#e7f6df);border-color:#cee4ca}
.clean-amber{background:linear-gradient(145deg,#fffdf6,#fff0d6);border-color:#eadab8}
.clean-rose{background:linear-gradient(145deg,#fff9f5,#fbe8e6);border-color:#ead3cf}
.clean-stat-icon{font-size:46px;color:#76604b;flex:0 0 57px}
.clean-stat-card>div:last-child{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center}
.clean-stat-card span{font-weight:750;font-size:15px}
.clean-stat-card strong{font-size:36px;line-height:1;color:#2b7544}
.clean-amber strong{color:#bd872a}.clean-rose strong{color:#a74a42}
.clean-upcoming{margin-top:17px}
.clean-upcoming-list{display:grid;gap:8px;margin-top:14px}
.clean-upcoming-item{display:flex;justify-content:space-between;gap:10px;align-items:center;border:1px solid #eadfcf;border-radius:12px;padding:12px 14px;background:#fffaf2}
.clean-upcoming-item strong{font-size:14px}
.clean-upcoming-item span{font-size:12px;color:#85715f}
.clean-muted{color:#8d795f;font-size:13px}
.clean-extensions{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:16px}
.clean-extensions h3{margin:0;font:normal 21px Georgia,serif}
.clean-extensions p{color:#8d795f;font-size:13px;line-height:1.6}
.clean-future-value{font-size:13px;color:#8b704d;font-weight:700}
.clean-protected{margin-top:22px;font-size:11px;color:#998674;text-align:center}
@media(max-width:650px){
 .clean-layout{padding:12px 13px 28px}
 .clean-header{padding:7px 9px;min-height:125px;gap:6px;border-radius:20px}
 .clean-logo{width:48%;height:112px}
 .clean-header-right{width:52%;gap:5px}
 .clean-profile>button{padding:5px;gap:4px;border-radius:12px}
 .clean-status-circle{height:24px;width:24px;font-size:15px}
 .clean-user-info strong{font-size:10px}
 .clean-user-info small{font-size:8px}
 .clean-clock-weather{padding:4px;gap:3px}
 .clean-clock-grid{grid-template-rows:27px 19px;gap:2px}
 .clean-tile{font-size:16px}
 .clean-seconds,.clean-day,.clean-month{font-size:10px}
 .clean-bell-group{gap:2px}
 .clean-bell-group span{font-size:11px;padding:2px 3px}
 .clean-weather{min-width:42px}.clean-weather strong{font-size:13px}.clean-weather>span{font-size:14px}
 .clean-heading{align-items:start}.clean-heading h1{font-size:29px}
 .clean-role-tag{font-size:9px;padding:6px 8px;margin-top:9px}
 .clean-month-and-stats{grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:8px}
 .clean-card{padding:10px 9px}
 .clean-card-title{font-size:12px;gap:5px}
 .clean-card-icon{width:26px;height:26px;font-size:16px}
 .clean-calendar-body{padding:7px 5px;margin-top:9px}
 .clean-month-bar{margin-bottom:9px;gap:2px}
 .clean-month-bar button{width:26px;height:26px;border-radius:7px;font-size:20px}
 .clean-month-bar strong{font-size:11px}
 .clean-days,.clean-weekdays{gap:1px}
 .clean-days button,.clean-days span{height:30px;font-size:10px}
 .clean-legend{gap:7px;font-size:9px}
 .clean-summary{gap:8px}
 .clean-stat-card{padding:8px 5px;gap:5px;border-radius:18px}
 .clean-stat-icon{font-size:24px;flex-basis:26px}
 .clean-stat-card span{font-size:11px}
 .clean-stat-card strong{font-size:29px}
 .clean-extensions{grid-template-columns:1fr}
 .clean-day-details{font-size:10px}
}


/* Ficha de próximas salidas: diseño derivado de la ficha de Entradas, pero sin datos privados. */
.clean-main.is-clean-details>:not(#cleanFutureDetail){display:none!important}
.clean-future-detail[hidden]{display:none!important}
.clean-future-detail{padding:0 0 20px}
.clean-future-back{display:inline-flex;border:0;background:transparent;color:#805935;font-weight:800;font-size:14px;padding:8px 0 22px}
.clean-future-kicker{font-size:11px;font-weight:850;letter-spacing:.15em;color:#a1845c}
.clean-future-detail h1{font:400 clamp(29px,5vw,41px)/1.15 Georgia,serif;margin:9px 0;color:#51351f}
.clean-future-detail>p{font-size:13px;color:#90775d}
.clean-future-month-nav{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:15px 0;padding:10px 12px;background:var(--paper);border:1px solid var(--line);border-radius:18px}
.clean-future-month-nav button{border:1px solid #dfcdb2;border-radius:10px;background:#f9f1e5;color:#805731;font-size:25px;line-height:1;padding:5px 13px}
.clean-future-month-nav strong{font-size:17px}
.clean-future-page-status{margin:10px 0 14px;padding:11px 13px;border-radius:13px;background:#f4e9d8;border:1px solid #ead8bd;color:#806a50;line-height:1.45;font-size:12px}
.clean-future-chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.clean-future-chips button{border:1px solid #e0cdae;border-radius:12px;padding:9px 12px;background:#fffaf2;font-size:12px;color:#745539;font-weight:800}
.clean-future-chips button.is-active{color:white;background:#805b36;border-color:#805b36}
.clean-future-empty{border:1px dashed #d9c5a8;border-radius:16px;min-height:145px;display:grid;place-items:center;text-align:center;padding:25px;color:#856e55;background:#fffaf5;line-height:1.55}
.clean-future-record{background:#fffdf9;border:1px solid #e4d5c1;border-radius:22px;overflow:hidden;box-shadow:var(--shadow)}
.clean-future-record-top{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:13px 16px;background:#f5ebdb;color:#947755;font-size:10px;letter-spacing:.07em;font-weight:850}
.clean-future-tag{border:1px solid #e1d0b7;border-radius:99px;padding:7px 10px;color:#8b693e;background:#fffaf1;white-space:nowrap;letter-spacing:0}
.clean-future-record-hero{padding:22px 20px 17px;background:linear-gradient(125deg,#fffdf8,#f3e7d6)}
.clean-future-overline{font-size:10px;color:#997b57;letter-spacing:.14em;font-weight:850}
.clean-future-record-hero h2{font:500 clamp(25px,5vw,36px) Georgia,serif;color:#4d3019;margin:8px 0 12px}
.clean-future-unit-chip{display:inline-flex;background:#ead9bc;padding:8px 12px;border:1px solid #ddc9a8;border-radius:99px;color:#79532e;font-size:13px;font-weight:800}
.clean-future-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:17px 12px}
.clean-future-fact{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:6px;min-width:0;padding:8px;border-right:1px solid #e8ddcc}
.clean-future-fact:last-child{border-right:0}
.clean-future-fact small{font-size:12px;color:#968067}
.clean-future-fact strong{font:600 clamp(14px,3vw,20px)/1.25 Georgia,serif;color:#54381e;overflow-wrap:anywhere}
.clean-future-fact span{font-size:11px;color:#a08b72}
.clean-future-section{padding:15px 18px;border-top:1px solid #ebe0d0}
.clean-future-section h3{font:400 23px Georgia,serif;margin:4px 0 15px;color:#5b3b20}
.clean-future-prep{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:8px 0;background:#faf3e8;border:1px solid #eadfce;border-radius:13px}
.clean-future-small{font-size:11px;color:#927f67;line-height:1.5;margin:12px 0 0}
.clean-future-notes{padding:12px 14px;background:#faf4ea;border:1px solid #ece0cf;border-radius:12px;margin:0;font-size:13px;line-height:1.6;color:#775b3e}
.clean-future-footer{border-top:1px solid #eae0d0;padding:13px 17px;color:#94816a;font-size:11px;line-height:1.45}
.clean-future-pagination{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:16px}
.clean-future-pagination button{background:#845a34;color:#fff;border:0;border-radius:12px;padding:12px 17px;font-size:13px;font-weight:800}
.clean-future-pagination button:disabled{opacity:.42}
.clean-future-pagination span{color:#927c62;font-size:12px}
.clean-upcoming-action{width:100%;text-align:left;cursor:pointer;font:inherit}
.clean-upcoming-action:hover,.clean-upcoming-action:focus-visible{background:#f6ebd9;outline:2px solid #c5a47a;outline-offset:1px}
@media(max-width:550px){
 .clean-future-record-top{font-size:9px;padding:11px}
 .clean-future-facts{padding:10px 4px}
 .clean-future-fact{padding:7px 4px}
 .clean-future-fact small{font-size:10px}
 .clean-future-fact strong{font-size:14px}
 .clean-future-section{padding:13px 12px}
 .clean-future-prep .clean-future-fact strong{font-size:12px}
 .clean-future-detail h1{font-size:31px}
 .clean-future-record-hero h2{font-size:28px}
}

/* CFA 18-11: Reservas mensuales para Servicio de Limpieza */
.clean-monthlist{display:flex;flex-direction:column;gap:9px}
.clean-monthlist-summary{display:flex;justify-content:space-between;align-items:center;gap:9px;flex-wrap:wrap;font-size:12px;font-weight:700;color:#527345;margin:2px 1px 10px}
.clean-monthlist-summary .clean-count{background:#e6f4e1;color:#327345;border:1px solid #bddbb4;border-radius:100px;padding:5px 10px}
.clean-monthlist-row{border:1px solid #e1dbce;border-left:5px solid #b3aca2;border-radius:13px;background:linear-gradient(120deg,#fffefa,#f7f6ed);padding:12px 11px;box-shadow:0 2px 7px #4f49220a}
.clean-monthlist-row.mixa{border-left-color:#d74b98}.clean-monthlist-row.tamisa{border-left-color:#3488d6}.clean-monthlist-row.casa{border-left-color:#c64242}
.clean-monthlist-top{display:flex;gap:8px;justify-content:space-between;align-items:center;margin-bottom:10px}
.clean-monthlist-unit{font-weight:800;font-size:15px;color:#483b2a;overflow-wrap:anywhere}
.clean-monthlist-unit-chip{font-size:10px;font-weight:800;border-radius:40px;background:#f0e8dc;padding:4px 8px;white-space:nowrap;color:#7f6243}
.clean-monthlist-fields{display:grid;grid-template-columns:1fr 1fr minmax(78px,.7fr);gap:8px}
.clean-monthlist-fields>div{border:1px solid #eee3d2;background:white;border-radius:9px;padding:8px;min-width:0}
.clean-monthlist-fields small{display:block;font-size:10px;font-weight:700;color:#8a765d;line-height:1.1;margin-bottom:5px}
.clean-monthlist-fields strong{display:block;font-size:13px;color:#52422d;overflow-wrap:anywhere;line-height:1.25}
.clean-monthlist-warning{background:#fff3d8;border:1px solid #e3c68b;color:#835b27;padding:10px;border-radius:10px;font-size:12px}
.clean-monthlist-empty{padding:25px 10px;text-align:center;color:#897358;font-size:13px;line-height:1.5}
.clean-calendar .clean-calendar-body{background:#fffef8}
@media(max-width:750px){.clean-monthlist-fields{gap:5px}.clean-monthlist-fields>div{padding:7px 5px}.clean-monthlist-fields small{font-size:9px}.clean-monthlist-fields strong{font-size:11px}.clean-monthlist-row{padding:10px 8px}.clean-monthlist-unit{font-size:13px}.clean-monthlist-unit-chip{font-size:9px}}

/* CFA 18-11: estadísticas compactas en la parte superior y reservas a todo el ancho */
.clean-month-and-stats{
 display:flex!important;flex-direction:column!important;
 align-items:stretch!important;gap:12px!important
}
.clean-month-and-stats>.clean-summary{
 order:-1!important;
 display:grid!important;
 grid-template-columns:repeat(3,minmax(0,1fr))!important;
 grid-template-rows:none!important;
 gap:9px!important;
 min-width:0!important
}
.clean-month-and-stats>.clean-calendar{order:0!important;width:100%!important;min-width:0!important}
.clean-month-and-stats>.clean-summary>.clean-stat-card{
 min-width:0!important;min-height:106px!important;height:auto!important;
 display:flex!important;flex-direction:column!important;
 justify-content:center!important;align-items:center!important;
 gap:3px!important;padding:11px 6px!important;text-align:center!important
}
.clean-month-and-stats>.clean-summary>.clean-stat-card .clean-stat-icon{font-size:21px!important;line-height:1!important}
.clean-month-and-stats>.clean-summary>.clean-stat-card>div:last-child{
 display:flex!important;flex-direction:column!important;align-items:center!important;gap:4px!important
}
.clean-month-and-stats>.clean-summary>.clean-stat-card span{
 font-size:11px!important;line-height:1.15!important;white-space:normal!important
}
.clean-month-and-stats>.clean-summary>.clean-stat-card strong{
 font-size:27px!important;line-height:1!important
}
.clean-monthlist-row{padding:15px 17px!important}
.clean-monthlist-fields{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
.clean-monthlist-fields>div{min-width:0}
.clean-monthlist-fields small{font-size:11px!important}
.clean-monthlist-fields strong{font-size:14px!important}
.clean-monthlist-services{
 display:flex;flex-wrap:wrap;gap:8px;
 margin-top:10px;padding-top:10px;border-top:1px solid #eae2d4
}
.clean-monthlist-flag{
 padding:7px 11px;border:1px solid #dfd6c7;
 border-radius:10px;background:#f9f5ee;color:#675640;
 font-size:12px;font-weight:750
}
.clean-monthlist-flag.yes{color:#246f3e;background:#e7f5e7;border-color:#acd6b1}
.clean-monthlist-flag.no{color:#75645a;background:#f4efeb}
.clean-monthlist-flag.pending{color:#8a6d38;background:#fff6e4;border-color:#ead5aa}
.clean-monthlist-observation{
 margin-top:9px;padding:10px 12px;background:#fffdf8;
 border:1px solid #e8dcca;border-radius:11px;
 font-size:12px;line-height:1.5;color:#6a5640;
 overflow-wrap:anywhere
}
.clean-monthlist-observation b{color:#246f3e}
@media(max-width:650px){
 .clean-month-and-stats>.clean-summary{gap:6px!important}
 .clean-month-and-stats>.clean-summary>.clean-stat-card{min-height:100px!important;padding:7px 3px!important}
 .clean-month-and-stats>.clean-summary>.clean-stat-card span{font-size:10px!important}
 .clean-month-and-stats>.clean-summary>.clean-stat-card strong{font-size:25px!important}
 .clean-monthlist-row{padding:12px 11px!important}
 .clean-monthlist-fields{gap:6px!important}
 .clean-monthlist-fields small{font-size:10px!important}
 .clean-monthlist-fields strong{font-size:12px!important}
 .clean-monthlist-flag{font-size:11px;padding:6px 8px}
}
