/* 1.113.9 — TETRISARENA quick planning. Operational cards retain their calendar dimensions. */
.ah-tx .ah-tx-dayhead[data-quick-day]{cursor:pointer;gap:6px;transition:background .12s}
.ah-tx .ah-tx-dayhead[data-quick-day]:hover{background:#fce7ef;color:#ad2453}
.ah-tx .ah-tx-dayhead[data-quick-day]:focus-visible{outline:3px solid #e64177;outline-offset:-3px}
.txq-class-types,.txq-activities{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:20px 0}
.txq-class-types>button,.txq-activities>button{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:10px;min-width:0;height:208px;padding:24px;border:1px solid #efbfd1;border-radius:22px;background:#fff0f5;color:#ad2453;text-align:left;cursor:pointer;font:inherit}
.txq-class-types>button:nth-child(2),.txq-activities>button:nth-child(2){background:#1c2942;border-color:#1c2942;color:#fff}
.txq-class-types>button:nth-child(3),.txq-activities>button:nth-child(3){background:#eaf2d5;border-color:#d9e5c2;color:#526a2c}
.txq-class-types>button:nth-child(4){background:#ece8f7;border-color:#ddd5ef;color:#65518d}
.txq-class-types>button:after,.txq-activities>button:after{content:"";position:absolute;pointer-events:none;right:-76px;bottom:-91px;width:205px;height:216px;background:currentColor;opacity:.24;z-index:-1;-webkit-mask:url('../img/castellonarena-simbolo-original.png') center/contain no-repeat;mask:url('../img/castellonarena-simbolo-original.png') center/contain no-repeat}
.txq-class-types strong,.txq-activities b{font-size:27px;font-weight:800;letter-spacing:-.035em;line-height:1.15}
.txq-class-types span{font-size:11px;letter-spacing:.12em;font-weight:750;margin-bottom:auto}.txq-class-types small{font-size:12px}.txq-activities span{font-size:17px;font-weight:650}.txq-activities b{font-size:38px;margin-bottom:auto}
.txq-other{margin:20px 0}.txq-other>summary{cursor:pointer;color:#667085;font-size:14px;min-height:44px;padding:12px 0}.ah-tx .txq-other .ah-tx-types button{min-height:70px;font-size:16px;padding:18px}
html body .ah-tx dialog.txq-editor,html body .ah-tx dialog.txq-day-dialog{position:fixed;inset:0;margin:auto!important;width:min(680px,calc(100vw - 28px));max-width:none;max-height:90dvh;overflow:auto;padding:24px;border:1px solid #e6dce1;border-radius:24px;background:#fff;color:#19263e;box-shadow:0 24px 90px #17243c44}
.ah-tx dialog::backdrop{background:#17243c70;backdrop-filter:blur(3px)}
html body .ah-tx .txq-editor>[data-selected-title]{display:block;font-size:25px;margin:8px 0 18px}
html body .ah-tx .txq-editor>small{margin-top:14px;font-size:10px;letter-spacing:.1em}
html body .ah-tx .txq-editor button{font-size:14px;min-height:44px;padding:10px 14px}
html body .ah-tx .txq-editor .ah-tx-editor-tabs{gap:7px;margin-bottom:12px}
html body .ah-tx .txq-editor .ah-tx-people-head b{font-size:18px}
html body .ah-tx .txq-editor :is(input,select){font-size:16px;min-height:46px;padding:10px;margin-top:10px}
html body .ah-tx .txq-editor .ah-tx-people-results,html body .ah-tx .txq-editor [data-people-match-count]{display:none!important}
html body .ah-tx .txq-editor .ah-tx-native-person{display:block!important}
html body .ah-tx .txq-editor [data-person-add]{display:none!important}
html body .ah-tx .txq-editor .ah-tx-assigned{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
html body .ah-tx .txq-editor .ah-tx-person-chip{display:flex;align-items:center;gap:8px;background:#fff0f5;border-radius:12px;padding:5px 9px;font-size:14px}
html body .ah-tx .txq-editor .ah-tx-person-chip button{padding:3px;min-width:36px;min-height:36px}
html body .ah-tx .txq-editor .ah-tx-editor-footer{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:18px;padding-top:16px;border-top:1px solid #eee}
html body .ah-tx .txq-editor [data-quick-place]{background:#e64177;color:#fff;border-color:#e64177}
.txq-day-dialog header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:18px}
.txq-eyebrow{font-size:10px;font-weight:800;letter-spacing:.12em;color:#bd2b5d}.txq-day-dialog h2{font-size:25px;line-height:1.2;margin:8px 0;text-transform:capitalize}.txq-day-dialog header small{font-size:12px;color:#697184}
.txq-day-dialog button{cursor:pointer;min-height:44px;border:1px solid #e3e6ed;border-radius:11px;background:#fff;color:#19263e;padding:9px 13px;font:inherit;font-size:14px}
.txq-day-dialog button:disabled{opacity:.5;cursor:wait}.txq-day-dialog select{font:inherit;font-size:16px;min-height:44px;padding:8px;border:1px solid #d7dce4;border-radius:10px;background:#fff;color:#19263e;max-width:100%}
.txq-day-dialog [data-day-close]{min-width:44px}.txq-court-row{border:1px solid #e3e6ed;border-radius:16px;padding:14px;margin:12px 0}.txq-court-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}
.txq-day-dialog .txq-court-toggle{font-weight:750}.txq-day-dialog .txq-court-toggle[aria-pressed=true]{background:#edf5df;border-color:#a5bd7c;color:#426126}.txq-day-dialog .txq-court-toggle[aria-pressed=false]{color:#7c8595;background:#f3f4f7}
.txq-day-dialog .txq-use-base{font-size:11px;border:0;color:#9c2a52}.txq-ranges{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.txq-range{display:flex;gap:7px;align-items:center}.txq-day-dialog .txq-remove-range{padding:5px;min-width:36px;border:0;color:#a62b55}.txq-day-dialog .txq-add-range{font-size:12px}.txq-court-off,.txq-incident{font-size:12px;color:#697184}.txq-incident{color:#ad2453}
.txq-day-dialog footer{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid #e6e9ef;padding-top:16px;margin-top:16px}.txq-day-dialog [data-day-save]{background:#e64177;border-color:#e64177;color:white;font-weight:750}.txq-day-dialog [data-day-feedback]{color:#a32b54;font-size:13px}
.ah-tx .txq-folded{display:none!important}.ah-tx button.txq-hour-gap{display:block;text-align:left;min-height:42px;border:0;border-bottom:1px solid #e5e8ee;border-right:1px solid #e5e8ee;background:#f4f6f9;color:#697184;padding:10px 16px;font:inherit;font-size:12px;cursor:pointer}.ah-tx button.txq-hour-gap:hover{background:#fce7ef;color:#a32b54}
.ah-tx .ah-tx-calendar>.ah-tx-section-title{flex-wrap:wrap;gap:10px}.ah-tx .txq-fold-toggle{margin-left:auto;min-height:44px;border:1px solid #e3e6ed;border-radius:11px;background:#fff;padding:9px 13px;color:#a32b54;font:inherit;font-size:12px;cursor:pointer}
.ah-tx[data-placing] .ah-tx-cell.is-available{cursor:crosshair;background:#f0f7e9}.ah-tx[data-placing] .ah-tx-cell.is-available:hover{outline:3px solid #e64177;outline-offset:-3px}
@media(max-width:1099px){.txq-class-types,.txq-activities{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.txq-class-types,.txq-activities{grid-template-columns:1fr;gap:12px}.txq-class-types>button,.txq-activities>button{height:170px;padding:20px}html body .ah-tx dialog.txq-editor,html body .ah-tx dialog.txq-day-dialog{padding:17px;width:calc(100vw - 16px);max-height:94dvh;border-radius:18px}.txq-range{flex-wrap:wrap}.txq-court-row{padding:10px}.txq-court-top{gap:4px}.txq-day-dialog .txq-use-base{padding:7px}.txq-day-dialog h2{font-size:22px}.ah-tx .txq-fold-toggle{margin-left:0}}
@media(prefers-reduced-motion:reduce){.ah-tx *{scroll-behavior:auto!important;transition:none!important}}

html body .ah-tx .txq-day-dialog[open]{display:flex;flex-direction:column;overflow:hidden}
.txq-day-dialog [data-day-rows]{overflow:auto;min-height:0;max-height:calc(90dvh - 220px);padding-right:3px}
.txq-day-dialog header,.txq-day-dialog footer{flex-shrink:0}
.txq-day-dialog h2{text-transform:none}
