/* Economía general; intenciones opcionales. Reutiliza la tipografía y controles de Eclium. */
body .sidebar{gap:5px;flex-wrap:wrap}body .sidebar-item{font-size:14px!important;min-height:44px}body .sidebar-item span{font-size:14px!important}#snav-economia{white-space:normal;line-height:1.2;max-width:180px}#snav-economia[hidden]{display:none!important}#snav-contacto{text-decoration:none;color:#006b5a}#snav-contacto:focus-visible{outline:3px solid #006b5a;outline-offset:3px}@media(min-width:861px){body .sidebar{padding-inline:20px}body .sidebar-brand{margin-right:10px}body .sidebar>.sidebar-item{flex:0 0 auto;padding:8px 6px;max-width:180px;height:auto}body .sidebar>#snav-config{margin-left:auto}}
body .ec-inline-choices{border:0;padding:0;margin:14px 0 20px;display:flex;gap:12px;flex-wrap:wrap;min-width:0}body .ec-inline-choices legend{font-weight:650;margin-bottom:8px}body .ec-inline-choices label{display:flex;align-items:center;gap:10px;border:1px solid #bdd0c8;border-radius:10px;padding:12px;min-height:54px;flex:1;min-width:140px;margin:0;cursor:pointer;box-sizing:border-box}body .ec-inline-choices input[type=radio]{width:22px;height:22px;min-height:22px;margin:0;padding:0;flex:0 0 22px;accent-color:#006b5a}body .ec-inline-choices label:has(:checked){background:#eff7f3;border-color:#006b5a}.ec-day-nav{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:22px 0}.ec-day-nav>div{flex:1;min-width:180px}.ec-upcoming{margin:20px 0;padding:16px;border:1px solid #d8e4df;border-radius:12px;background:white}.ec-upcoming summary{cursor:pointer;font-weight:650;color:#006b5a;min-height:44px;padding:8px 0}.ec-upcoming-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-top:1px solid #d8e4df;flex-wrap:wrap}.ec-upcoming-row span{flex:1;min-width:180px}.ec-saved-next{background:#eff7f3;border:1px solid #bdd0c8;border-radius:12px;padding:18px;margin:16px 0}.ec-saved-next p{margin-top:8px;line-height:1.5}
@media(max-width:650px){.sub-choices{grid-template-columns:1fr!important}.ec-day-nav button{flex:1}body .ec-inline-choices label{min-width:120px;padding:8px;gap:8px}body .ec-inline-choices span{overflow-wrap:normal;word-break:normal}.ec-toolbar>button{width:100%}}
/* PIN 2.74: un medio elegido y controles personales. */
.ec-pin-access fieldset{min-width:0;border:1px solid #d8e4df;border-radius:12px;padding:16px;margin:18px 0}
.ec-pin-access fieldset legend{font-weight:650;padding:0 6px}
.ec-pin-access fieldset label{display:flex!important;align-items:center;gap:12px;min-height:48px;margin:0}
.ec-pin-access fieldset input[type=radio]{width:22px;height:22px;min-height:22px;flex:0 0 22px;padding:0;accent-color:#006b5a}
.ec-pin-access section>div{margin-bottom:16px}
.ec-pin-access label{font-size:17px!important}.ec-pin-access input,.ec-pin-access button{font-size:18px!important}
dialog.ec-pin-access,dialog.ec-pin-manage{width:min(620px,calc(100vw - 28px))}
.ec-pin-access .ec-error[data-tone=info],.ec-pin-manage .ec-error[data-tone=info]{color:#52685f}
.ec-pin-access .ec-error[data-tone=warning]{color:#806000}.ec-pin-manage .ec-error[data-tone=success]{color:#006b5a}
.ec-pin-access .ec-pin-help{border-top:1px solid #d8e4df;padding-top:18px;margin-top:18px}
.ec-pin-access details summary,.ec-pin-manage details summary{cursor:pointer;color:#006b5a;font-weight:650;min-height:44px;display:flex;align-items:center;gap:8px}
.ec-pin-access details summary::before,.ec-pin-manage details summary::before{content:'▸'}.ec-pin-access details[open] summary::before,.ec-pin-manage details[open] summary::before{content:'▾'}
.ec-pin-access details p,.ec-pin-manage details p,.ec-pin-access li{line-height:1.6;margin:12px 0}
.ec-pin-access ol{padding-left:24px;margin:16px 0}.ec-pin-access .ec-actions,.ec-pin-manage .ec-actions{justify-content:flex-start}
.ec-pin-session{margin-top:16px}.ec-pin-session button{border:0;background:transparent;padding-left:0;color:#52685f}
.ec-pin-code{padding:18px;border:1px solid #bdd0c8;border-radius:12px;background:#f3f8f5;margin:18px 0}
.ec-pin-code strong{display:block;font-size:24px;letter-spacing:.1em;overflow-wrap:anywhere;user-select:all}.ec-pin-code p{line-height:1.6;margin:12px 0}
@media(max-width:520px){.ec-pin-access .ec-actions button,.ec-pin-manage .ec-actions button{width:100%}.ec-pin-code{padding:14px}.ec-pin-code strong{font-size:21px}}
.ec-rate-block{margin:28px 0 36px}.ec-rate-block h4{font:600 21px Lora,Georgia,serif;color:#006b5a;margin:0 0 10px}.ec-rate-block>p{margin-bottom:16px}
.ec-rate-table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;border:1px solid #d8e4df;border-radius:12px;overflow:hidden;font-size:14px}
.ec-rate-table th,.ec-rate-table td{padding:10px 14px;border-bottom:1px solid #e4ece7;text-align:left;vertical-align:middle;overflow-wrap:anywhere}
.ec-rate-table thead th{background:#eaf3ee;color:#38584b;font-size:13px;font-weight:650}.ec-rate-table thead th:first-child{width:52%}.ec-rate-table thead th:nth-child(2){width:20%;text-align:center}.ec-rate-table thead th:last-child{width:28%}
.ec-rate-table tbody th[scope=row]{font-weight:500;line-height:1.45}.ec-rate-table .ec-rate-group th{background:#006b5a;color:#fff;font:600 17px/1.4 Lora,Georgia,serif;letter-spacing:0;text-transform:none;padding:13px 14px;border-bottom:1px solid #006b5a}
.ec-personal-email .ec-error[data-tone=info]{color:#52685f}.ec-personal-email .ec-error[data-tone=success]{color:#006b5a}.ec-personal-email .ec-error[data-tone=warning]{color:#806000}
.ec-personal-email .ec-error{font-size:14px;line-height:1.6;margin-top:16px}
.ec-email-suggestion{padding:14px 16px;margin:16px 0;border:1px solid #dacb9b;border-radius:12px;background:#fffbef;color:#69521c}
.ec-email-suggestion p{font-size:15px;line-height:1.5}.ec-email-suggestion .ec-actions{justify-content:flex-start;margin:12px 0 0}
.ec-email-verification{border-top:1px solid #d8e4df;padding-top:20px;margin-top:20px}
.ec-email-verification .ec-field-help{margin-top:8px}
.ec-report-recipient{border-top:1px solid #d8e4df;margin:24px 0 20px;padding-top:20px;overflow-wrap:anywhere}
.ec-report-recipient h4{font-size:16px;font-weight:650;color:#263b34;margin:0 0 12px}
.ec-report-state{font-size:15px;font-weight:600;line-height:1.5;color:#52685f;margin:0 0 6px}
.ec-report-state[data-active=true]{color:#006b5a}
.ec-report-recipient .ec-actions{justify-content:flex-start;margin:16px 0 10px}
.ec-report-message{font-size:14px;line-height:1.6;margin:10px 0;color:#52685f}
.ec-report-message:empty{display:none}.ec-report-message[data-tone=success]{color:#006b5a}.ec-report-message[data-tone=error]{color:#a82b2b}
.ec-report-recipient .ec-field-help{margin:8px 0 0}
body .ec-rate-table label.ec-check{justify-content:center;margin:0;font-size:0;gap:0;min-height:44px}body .ec-rate-table input[type=checkbox]{margin:0;width:21px;height:21px;min-height:21px;cursor:pointer}
body .ec-rate-table td>div>label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
body .ec-rate-table input:not([type=checkbox]){height:44px;min-height:44px;text-align:right;font-variant-numeric:tabular-nums;padding:9px 12px;max-width:180px;margin-left:auto;display:block}
body .ec-rate-table input:disabled{background:#f4f6f4;color:#6c7d74;border-color:#e3e9e5;opacity:1}.ec-rate-table input:focus-visible{outline:2px solid #008b6d;outline-offset:2px}
.ec-previous-rates{border-top:1px solid #d8e4df;padding:18px 0;font-size:14px}.ec-previous-rates summary{cursor:pointer;color:#52685f;font-weight:600}.ec-previous-rates p{margin:12px 0;line-height:1.5}
@media(max-width:520px){.ec-rate-table th,.ec-rate-table td{padding:8px 7px}.ec-rate-table thead th:first-child{width:43%}.ec-rate-table thead th:nth-child(2){width:24%}.ec-rate-table thead th:last-child{width:33%}.ec-rate-table thead th{font-size:11px}.ec-rate-table tbody th[scope=row]{font-size:13px}.ec-rate-table .ec-rate-group th{padding:10px 7px}body .ec-rate-table input:not([type=checkbox]){padding:8px 5px;font-size:14px}.ec-rate-block h4{font-size:19px}}
/* El reset global elimina margin:auto del dialog nativo. Declararlo explícitamente. */
dialog.ec-dialog{position:fixed;inset:0;margin:auto;max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);background:#fff;overscroll-behavior:contain;overflow-wrap:anywhere}
dialog.ec-dialog:focus{outline:none}
.ec-dialog .ec-grid>div{min-width:0}.ec-dialog .ec-error:empty{display:none}
.ec-dialog>div>p,.ec-dialog form>p{margin:0 0 18px;line-height:1.6;color:#52685f}
.ec-dialog>div>div:has(>label),.ec-dialog form>div>div:has(>label){margin-bottom:16px}
.ec-dialog .ec-grid>div:has(>label){margin-bottom:0}
.ec-dialog input:focus-visible,.ec-dialog select:focus-visible,.ec-dialog textarea:focus-visible{outline:2px solid #66bba6;outline-offset:2px}
/* Altura uniforme también en los selectores nativos de Safari. */
body .ec-surface select,body .ec-dialog select{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2352685f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:40px}
.ec-surface input:not([type=checkbox]):not([type=radio]):not([type=file]),.ec-surface select,.ec-dialog input:not([type=checkbox]):not([type=radio]):not([type=file]),.ec-dialog select{height:50px;line-height:1.4}
.ec-rate{padding:20px;border:1px solid #d8e4df;border-radius:12px;background:#f8fbf9;margin:18px 0;align-items:start}
.ec-field-help{font-size:13px;color:#607168;line-height:1.5;margin:7px 0 0}.ec-rate-actions{grid-column:1/-1;display:flex;justify-content:flex-end;border-top:1px solid #e0e9e4;padding-top:12px}
.ec-remove-setting{border:1px solid transparent;background:transparent;color:#9a3731}.ec-remove-setting:hover{background:#fff0ee;border-color:#e9c7c3}
.ec-rate-undo{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:18px 0;padding:16px;border:1px solid #cbdcd3;border-radius:12px;background:#f0f7f3}.ec-rate-undo p{font-size:14px;line-height:1.5}.ec-rate-undo button{flex-shrink:0}
@media(max-width:520px){.ec-rate{padding:16px}.ec-rate-undo{align-items:flex-start;flex-direction:column}dialog.ec-dialog{padding:22px;max-height:calc(100vh - 28px);max-height:calc(100dvh - 28px)}}
.ec-surface{color:#263b34}.ec-surface h2,.ec-dialog h2{font-family:Lora,Georgia,serif;color:#006b5a;font-size:28px;margin:0 0 20px}.ec-surface h3{font-family:Lora,Georgia,serif;color:#006b5a;font-size:21px;margin:0 0 12px}.ec-surface [hidden],.ec-dialog [hidden],#card-intenciones[hidden],#snav-economia[hidden]{display:none!important}
.ec-toolbar,.ec-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:16px 0}.ec-toolbar>h2{margin-right:auto;margin-bottom:0}.ec-muted{color:#607168;font-size:14px;line-height:1.5}.ec-error{color:#a82b2b;white-space:pre-wrap}.ec-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.ec-surface label,.ec-dialog label{display:block;font-size:14px;font-weight:650;margin:0 0 7px}.ec-surface input,.ec-surface select,.ec-dialog input,.ec-dialog select,.ec-dialog textarea{font:inherit;color:#263b34;border:1px solid #9db7ac;border-radius:10px;background:#fff;padding:11px 12px;min-height:44px;width:100%;box-sizing:border-box}.ec-surface input[type=checkbox],.ec-dialog input[type=checkbox]{width:20px;min-height:20px;height:20px;accent-color:#006b5a;margin-right:10px}.ec-check{display:flex!important;align-items:center;gap:6px}.ec-surface button,.ec-dialog button,.ec-date-picker button{font:600 15px/1.4 Arial,sans-serif;cursor:pointer;min-height:44px;border-radius:10px;padding:10px 16px}.ec-surface button:focus-visible,.ec-dialog button:focus-visible,.ec-date-picker button:focus-visible{outline:3px solid #66bba6;outline-offset:3px}.ec-primary{background:#006b5a;color:#fff;border:1px solid #006b5a}.ec-secondary{background:#fff;color:#006b5a;border:1px solid #bdd0c8}.ec-danger{background:white;color:#a82b2b;border:1px solid #a82b2b}.ec-surface button:disabled,.ec-dialog button:disabled,.ec-date-picker button:disabled{opacity:.55;cursor:wait}.ec-section{background:white;border:1px solid #d8e4df;border-radius:16px;padding:24px;margin:20px 0}.ec-section>summary{cursor:pointer;font-weight:700;color:#006b5a;font-size:18px;padding:4px}.ec-section[open]>summary{margin-bottom:20px}.ec-row{padding:18px 0;border-bottom:1px solid #e0e9e4;overflow-wrap:anywhere}.ec-row:last-child{border-bottom:0}.ec-row-title{font-weight:700;font-size:17px;margin-bottom:6px}.ec-table-wrap{overflow-x:auto}.ec-table{border-collapse:collapse;width:100%;font-size:14px}.ec-table th,.ec-table td{padding:12px;text-align:left;border-bottom:1px solid #d8e4df}.ec-table .ec-money{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.ec-overdue{color:#b42323;font-weight:700}.ec-warning{color:#806000;font-weight:650}.ec-dialog{width:min(760px,calc(100vw - 28px));max-height:90vh;overflow:auto;border:1px solid #d8e4df;border-radius:20px;padding:28px;box-sizing:border-box;color:#263b34;box-shadow:0 20px 80px #1234}.ec-dialog::backdrop{background:#18372c88}.ec-dialog form>div{margin-bottom:16px}.ec-dialog .ec-actions{justify-content:flex-end;margin-top:24px}.ec-settings-nav{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}.ec-settings-nav button[aria-pressed=true]{background:#006b5a;color:white}.ec-settings-intro{margin:0 0 20px}.ec-account-summary{font-size:18px;line-height:1.8}.ec-account-summary strong{color:#006b5a}.ec-surface .ec-receipt{background:white;max-width:760px;padding:28px;margin:auto;border:1px solid #d8e4df}
/* Dos filas completas: cuatro sacramentos y dos/tres herramientas compactas. */
#panel-home .home-grid{grid-template-columns:repeat(12,minmax(0,1fr))}
#panel-home .home-grid>.home-card{grid-column:span 3}
#panel-home .home-grid>:is(#card-documentos,#card-agenda,#card-intenciones){grid-column:span 6;min-height:132px;padding:22px 24px;text-align:left}
#panel-home .home-grid.ec-enabled>:is(#card-documentos,#card-agenda,#card-intenciones){grid-column:span 4}
#panel-home :is(#card-documentos,#card-agenda,#card-intenciones) .home-card-header{flex-direction:row;justify-content:center;gap:20px}
#panel-home :is(#card-documentos,#card-agenda,#card-intenciones) .home-card-icon{width:80px;height:80px}
#panel-home :is(#card-documentos,#card-agenda,#card-intenciones) .home-card-icon img{width:82%;height:82%}
#panel-home :is(#card-documentos,#card-agenda,#card-intenciones) .home-card-title{max-width:210px;min-width:0}
.ec-home-tools{display:flex;justify-content:flex-end;margin:0 0 12px;gap:18px;flex-wrap:wrap}.ec-home-tools button{border:0;background:none;color:#52685f;text-decoration:underline;text-underline-offset:3px;font:inherit;cursor:pointer;padding:8px 0}
@media(max-width:900px){
 #panel-home .home-grid>.home-card{grid-column:span 6}
 #panel-home .home-grid>:is(#card-documentos,#card-agenda,#card-intenciones),#panel-home .home-grid.ec-enabled>:is(#card-documentos,#card-agenda,#card-intenciones){grid-column:1/-1;min-height:108px;padding:18px 24px}
 #panel-home :is(#card-documentos,#card-agenda,#card-intenciones) .home-card-header{justify-content:flex-start}
 #panel-home :is(#card-documentos,#card-agenda,#card-intenciones) .home-card-icon{width:64px;height:64px}
 #panel-home :is(#card-documentos,#card-agenda,#card-intenciones) .home-card-title{max-width:none;font-size:16px}
}
@media(max-width:700px){.ec-grid{grid-template-columns:1fr}.ec-section,.ec-dialog{padding:20px}.ec-toolbar{align-items:stretch}.ec-toolbar>h2{width:100%}.ec-actions{gap:8px}.ec-table th,.ec-table td{padding:10px 6px}.ec-surface h2{font-size:25px}}
@media(max-width:380px){#panel-home .home-grid>:is(#card-documentos,#card-agenda,#card-intenciones){padding:16px}#panel-home :is(#card-documentos,#card-agenda,#card-intenciones) .home-card-header{gap:12px}}
@media print{.ec-home-tools,.ec-dialog{display:none!important}}
.ec-row>button{margin:8px 8px 0 0}#ec-acta-aportacion[hidden]{display:none!important}
.ec-home-tools[hidden]{display:none!important}.ec-dialog>div>input,.ec-dialog form>input{margin-bottom:14px}.ec-dialog form>div[hidden]{display:none!important}.ec-dialog>div>button{margin:6px 8px 6px 0}#card-intenciones{--card-color:#008b6d;--card-dark:#006b5a;--card-light:#e9f6ed;--card-rgb:0,139,109}.ec-surface{min-width:0}.ec-surface textarea{font:inherit;width:100%;box-sizing:border-box;border:1px solid #9db7ac;border-radius:10px;padding:12px}.ec-surface .ec-grid input{min-width:0}.ec-dialog textarea{min-height:100px}
/* Un día por fila, domingo–sábado: la altura de un día nunca desplaza otros a una segunda columna. */
.ec-week-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin:20px 0}
.ec-week-day{display:grid;grid-template-columns:minmax(150px,180px) minmax(0,1fr);align-items:start;gap:16px;min-width:0;border:1px solid #dce7e2;border-radius:12px;background:#f8faf9;padding:14px;font-size:18px}
.ec-week-day-head{min-width:0}.ec-week-day h4{font-family:Lora,Georgia,serif;color:#006b5a;font-size:24px;margin:0 0 6px;overflow-wrap:anywhere}
.ec-week-day p{overflow-wrap:anywhere;margin:4px 0;line-height:1.4}.ec-week-day .ec-muted{font-size:18px}
.ec-week-count{display:block;color:#006b5a;margin:8px 0 0}
/* auto-fill reserva el ancho de una tarjeta aunque el día tenga una sola Misa. */
.ec-week-masses{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,230px),1fr));align-items:stretch;gap:10px;list-style:none;padding:0;margin:0;min-width:0}
.ec-week-mass{display:flex;flex-direction:column;align-items:start;gap:4px;min-width:0;max-width:340px;background:white;border:1px solid #dce7e2;border-left:3px solid #006b5a;border-radius:8px;padding:12px;margin:0}
.ec-week-mass>p{margin:0;line-height:1.35}
.ec-week-mass>strong{font-size:26px;line-height:1.3;color:#006b5a;font-variant-numeric:tabular-nums}.ec-week-mass-title{font-weight:600}
.ec-week-mass .ec-week-kind{display:block;color:#607168;background:transparent;padding:0;margin:2px 0 4px;font-size:18px;line-height:1.35}
.ec-week-mass button{width:auto;max-width:100%;min-height:48px;padding:8px 12px;font-size:18px;white-space:normal;margin-top:auto;align-self:flex-start}
.ec-week-empty{align-self:center}
.ec-schedule-history summary{cursor:pointer;font-size:18px;min-height:54px;padding:16px 0;color:#006b5a;font-weight:600}
@media(max-width:650px){.ec-week-day{grid-template-columns:minmax(0,1fr);gap:10px;padding:12px}.ec-week-day-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px}.ec-week-day-head h4{margin:0;min-width:0;max-width:100%}.ec-week-day-head>p{flex-basis:100%;order:3;margin:0}.ec-week-count{order:2;margin:0 0 0 auto;max-width:100%;overflow-wrap:anywhere}.ec-week-masses{grid-template-columns:minmax(0,1fr)}.ec-week-mass{max-width:none}}

/* 2.77: misma tipografía y caja para todas las opciones del menú. */
body .sidebar-item,body .sidebar-item span{font-family:Arial,sans-serif!important;font-size:14px!important;font-weight:700!important;line-height:1.25!important;text-transform:none;letter-spacing:0;white-space:normal;text-align:center}
body .sidebar-item{min-height:48px!important;height:auto;justify-content:center;padding:8px 10px!important;max-width:190px}
body #snav-economia,body #snav-contacto{border:1px solid transparent;border-radius:9px;color:#3f5a53;text-decoration:none}
body #snav-economia.active{color:#006b5a;box-shadow:inset 0 -2px 0 #006b5a;border-radius:0}
.ec-module-header{background:#f4f7f6;border-bottom:1px solid #d8e4df;padding-bottom:12px;margin-bottom:20px}
.ec-module-nav{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.ec-module-nav button{white-space:normal}
@media(min-width:861px){.ec-module-nav button{font-size:14px}.ec-module-header .ec-toolbar{margin:8px 0 12px}}
.ec-saved-next{padding:10px 14px;font-size:15px}.ec-paid{color:#006b5a;font-weight:700;margin:10px 0}
.ec-date-picker{min-width:0;position:relative}.ec-date-value{position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;border:0!important}
.of-event:has(.ec-date-calendar:not([hidden])) .of-event-actions{position:static}
.ec-date-open{width:100%;text-align:left;font-weight:500!important;white-space:normal}.ec-date-calendar{position:relative;background:white;border:1px solid #9db7ac;border-radius:12px;padding:12px;margin-top:8px;min-width:0;max-width:360px;box-shadow:0 4px 18px #1232}.ec-date-month{display:flex;gap:8px;align-items:center;justify-content:space-between;margin-bottom:8px}.ec-date-month strong{text-transform:capitalize;min-width:0;font-size:15px}.ec-date-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.ec-date-grid span{text-align:center;color:#607168;font-size:13px}.ec-date-grid button{padding:3px;min-height:38px;border-radius:6px;font-size:14px}.ec-date-grid button[aria-pressed=true]{background:#006b5a;color:white}.ec-date-quick{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.ec-date-quick button{font-size:13px;padding:6px;min-height:36px}.ec-capture-place{grid-column:1/-1}
.ec-receipt-preview{width:100%;max-width:736px;margin:24px auto;background:#fff}.ec-receipt-preview .receipt-card{height:auto;min-height:336pt}.ec-receipt-preview .receipt-body{flex:none;min-height:160pt}.ec-receipt-preview .receipt-footer{margin-top:auto}@media(max-width:480px){.ec-receipt-preview .receipt-card{padding:14px}.ec-receipt-preview .receipt-head{gap:10px}.ec-receipt-preview .receipt-head img{width:48px;height:48px}.ec-receipt-preview .receipt-head h2{font-size:16px}.ec-receipt-preview .receipt-head h3{font-size:22px}.ec-receipt-preview .receipt-footer{gap:8px;font-size:12px}.ec-receipt-preview .receipt-office{white-space:normal}}
@media(max-width:860px){body .sidebar{position:static!important}body .sidebar>.sidebar-item{max-width:none}.ec-module-header{padding-top:6px}.ec-module-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.ec-module-nav button{font-size:13px;padding:8px;min-height:48px}}
.ec-module-header{position:static!important;background:#f4f7f6;margin-bottom:0}.ec-module-body{overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:12px 12px 24px 0;min-height:180px}.ec-module-body>p:empty{display:none}.ec-mass-day{border:1px solid #d8e4df;border-radius:12px;background:white;margin:12px 0;padding:16px}.ec-mass-day h3{font-size:20px;margin:0 0 10px}.ec-mass-item,.ec-ledger-item{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 0;border-top:1px solid #e0e9e4}.ec-ledger-item:first-child{border-top:0}.ec-mass-item>div:first-child,.ec-ledger-item>div:first-child{min-width:0;overflow-wrap:anywhere}.ec-mass-item strong,.ec-ledger-item strong{font-size:17px}.ec-mass-item p,.ec-ledger-item p{margin:4px 0}.ec-mass-item .ec-actions,.ec-ledger-item .ec-actions{margin:0;flex-shrink:0;justify-content:flex-end}.ec-mass-item:first-of-type{border-top:0}
@media(max-width:760px){.ec-mass-item,.ec-ledger-item{align-items:flex-start;flex-direction:column;gap:10px}.ec-mass-item .ec-actions,.ec-ledger-item .ec-actions{justify-content:flex-start;flex-shrink:1}.ec-mass-day{padding:12px}}
.ec-ledger-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.4}.ec-ledger-item>.ec-actions{max-width:50%}@media(max-width:760px){.ec-ledger-item>.ec-actions{max-width:100%}}
.ec-ledger-period{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;margin:16px 0}.ec-ledger-period>div{flex:1;min-width:140px}.ec-ledger-totals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0 8px}.ec-ledger-totals section{padding:18px;background:#fff;border:1px solid #d8e4df;border-radius:12px}.ec-ledger-totals span,.ec-ledger-totals strong,.ec-ledger-totals small{display:block}.ec-ledger-totals strong{font-size:28px;color:#006b5a;margin:8px 0}.ec-ledger-totals small{color:#607168;line-height:1.5}.ec-ledger-celebration{font-size:14px;color:#006b5a}.ec-ledger-item .ec-ledger-description{max-width:70ch}.ec-mail-dialog{max-width:620px}.ec-mail-dialog h2{font-size:27px;margin-bottom:18px}.ec-mail-dialog form{margin-top:20px}.ec-mail-dialog form>p{font-size:14px;line-height:1.5}.ec-mail-dialog .ec-actions{justify-content:flex-end;gap:8px}.ec-mail-state,.ec-receipt-mail{border:1px solid #bdd0c8;border-radius:12px;background:#f1f7f4;padding:16px;margin:16px 0;line-height:1.5;overflow-wrap:anywhere}.ec-mail-state>strong{display:block;color:#006b5a}.ec-mail-state p{margin:8px 0}.ec-mail-state small{color:#607168}.ec-mail-state[data-state=pendiente]{background:#fff9eb;border-color:#e5d7ae}.ec-mail-state[data-state=rechazado],.ec-mail-state[data-state=incierto]{background:#fff3f1}.ec-receipt-mail{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.ec-receipt-mail>span{font-size:14px}.ec-receipt-mail>button{margin-left:auto}@media(max-width:520px){.ec-ledger-totals{grid-template-columns:1fr}.ec-mail-dialog .ec-actions{display:grid;grid-template-columns:1fr;width:100%}.ec-receipt-mail{align-items:flex-start;flex-direction:column}.ec-receipt-mail>button{margin-left:0}}
.ec-sheet-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0 0}
.ec-sheet-actions>button{margin:0!important;min-height:44px}
/* Jerarquía: navegación discreta, salida de lectura y opciones por intención. */
.ec-surface button.ec-nav-link{border:0;border-radius:0;background:transparent;color:#49675d;padding:10px 12px;min-height:44px;box-shadow:none;font-weight:600}
.ec-module-nav .ec-nav-link[aria-current=page]{color:#006b5a;box-shadow:inset 0 -2px #006b5a}
.ec-module-nav{column-gap:14px;row-gap:6px}.ec-module-nav>.ec-primary{margin-right:8px}
.ec-reading-context{display:flex;align-items:center;gap:18px;margin:12px 0 20px;min-width:0}
.ec-reading-date{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:0 0 76px;min-height:88px;border-radius:12px;background:#e6f2ed;color:#006b5a}
.ec-reading-date strong{font:700 38px/1.1 Arial,sans-serif}.ec-reading-date span{font:700 14px/1.6 Arial,sans-serif;text-transform:uppercase;letter-spacing:.08em}
.ec-reading-context>div:last-child{min-width:0}.ec-reading-context h3{font:700 22px/1.4 Lora,Georgia,serif;margin:0 0 6px;color:#006b5a}.ec-reading-context p{font-size:18px;margin:0;line-height:1.5;overflow-wrap:anywhere}
.ec-reading-body .ec-sheet-actions{margin:0 0 24px;align-items:flex-start;gap:12px}
.ec-action-options{min-width:160px;max-width:100%;border:1px solid #bdd0c8;border-radius:10px;background:white;color:#006b5a;box-sizing:border-box}
.ec-action-options>summary{cursor:pointer;min-height:44px;padding:11px 16px;box-sizing:border-box;font:600 15px/1.4 Arial,sans-serif;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:14px}
.ec-action-options>summary::-webkit-details-marker{display:none}.ec-action-options>summary::after{content:'⌄';font-size:18px}.ec-action-options[open]>summary::after{content:'⌃'}
.ec-action-options>summary:focus-visible{outline:3px solid #66bba6;outline-offset:3px;border-radius:10px}
.ec-option-list{display:flex;flex-direction:column;gap:0;padding:6px;border-top:1px solid #e0e9e4}
.ec-option-list button{border:0;border-radius:6px;text-align:left;background:white;min-height:44px;padding:10px;color:#006b5a;font-weight:600;white-space:normal}
.ec-option-list button:hover{background:#eff7f3}
.ec-reading-group{background:white;border:1px solid #d8e4df;border-radius:14px;padding:20px 24px;margin:0 0 16px}
.ec-reading-group>h3{font:700 20px/1.4 Lora,Georgia,serif;color:#006b5a;margin:0 0 6px}
.ec-reading-item{display:flex;flex-direction:column;gap:16px;padding:18px 0;border-top:1px solid #e0e9e4}
.ec-reading-item:first-of-type{border-top:0}.ec-reading-motive{font-size:18px;line-height:1.65;font-weight:600;overflow-wrap:anywhere;min-width:0}.ec-reading-item-actions{display:flex;flex-wrap:wrap;gap:10px}.ec-reading-item-actions>button{margin:0}
.ec-reading-empty{padding:24px;background:white;border:1px solid #d8e4df;border-radius:14px}
@media(max-width:860px){.ec-module-nav>.ec-primary{margin-right:0}.ec-module-nav .ec-nav-link{padding:8px}.ec-reading-group{padding:16px}.ec-reading-context{gap:12px}.ec-reading-context h3{font-size:19px}.ec-reading-date{flex-basis:64px;min-height:80px}.ec-reading-date strong{font-size:32px}.ec-reading-item{flex-direction:column;gap:12px}.ec-reading-item>.ec-action-options{flex:none;width:auto;min-width:160px}.ec-reading-body .ec-sheet-actions{gap:8px}.ec-reading-body .ec-sheet-actions>button,.ec-reading-body .ec-sheet-actions>details{flex:1;min-width:150px}}
.ec-sheet-share{width:min(540px,calc(100vw - 32px));box-sizing:border-box}
.ec-sheet-share h2{font-size:25px;line-height:1.3}
.ec-sheet-share p{line-height:1.5;overflow-wrap:anywhere}
