@font-face{font-family:Anton;src:url('../assets/anton.woff2') format('woff2');font-display:swap}:root{--orange:#ed421c;--ink:#151e25;--cream:#f6f4ed;--muted:#63716d;--line:#d9ddd5}*{box-sizing:border-box}body{margin:0;font:16px/1.5 Arial,Helvetica,sans-serif;background:var(--cream);color:var(--ink)}[hidden]{display:none!important}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;background:transparent;border:1px solid var(--line);border-radius:4px;padding:10px 16px;color:inherit}button:hover{background:#e8ebe4}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--orange);outline-offset:3px}a{color:inherit}header{background:#10171d;color:white;min-height:86px;padding:20px 40px;display:flex;align-items:center;gap:24px;justify-content:space-between}header img{width:140px;display:block}.environment{font-size:12px;letter-spacing:.08em;color:#ffac86}header button{color:white;border-color:#536065}.eyebrow{font-size:12px;letter-spacing:.14em;font-weight:700;color:var(--muted);margin:0 0 12px}h1,h2{font-family:Anton,Impact,sans-serif;font-weight:400;line-height:1.1;margin:0}h1{font-size:clamp(38px,4.5vw,66px)}h2{font-size:32px}h3{margin:0;font-size:20px}em{font-style:normal;color:var(--orange)}.primary{background:var(--orange);color:white;border-color:var(--orange);font-weight:700}.primary:hover{background:#cf3513}.login{max-width:650px;padding:70px 24px;margin:auto}.login>p:not(.eyebrow){color:var(--muted);margin:24px 0}.login form{display:grid;gap:18px;max-width:430px;margin:30px 0}.login .primary{padding:15px}label{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:700}input,select,textarea{width:100%;min-width:0;padding:11px;border:1px solid #bcc5bb;border-radius:3px;background:white;color:var(--ink)}input[type=checkbox]{width:20px;min-width:20px}label.check{flex-direction:row;align-items:center}#workspace{display:grid;grid-template-columns:210px minmax(0,1fr)}nav{border-right:1px solid var(--line);padding:32px 20px;display:flex;flex-direction:column;gap:7px;background:#e9ece5}nav button{text-align:left;border:0;padding:13px 18px;font-weight:700;font-size:14px}nav button[aria-current=page]{background:var(--ink);color:white}main{padding:38px clamp(20px,4vw,64px);min-width:0}.pagehead{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:32px}.metric{border-top:3px solid var(--ink);padding:16px 0}.metric strong{font-size:30px;display:block;line-height:1.3}.metric span{font-size:14px;color:var(--muted)}.toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:22px}.toolbar input,.toolbar select{width:auto;max-width:100%}.toolbar label{font-weight:400}.panel,.card{background:white;border:1px solid var(--line);border-radius:5px;padding:24px}.tablewrap{overflow:auto;border:1px solid var(--line);border-radius:5px;background:white}table{border-collapse:collapse;width:100%;text-align:left;font-size:14px}th{background:#e9ece5;font-size:12px;letter-spacing:.04em;color:#52615c}th,td{padding:15px;border-bottom:1px solid var(--line);vertical-align:middle}td small{display:block;color:var(--muted);font-size:12px}.badge{display:inline-block;border-radius:30px;background:#e9ece5;padding:4px 10px;font-size:12px;white-space:nowrap}.badge.green{background:#ddeddf;color:#205d35}.badge.orange{background:#fff0e8;color:#9d3713}.badge.gray{background:#e9e9e9;color:#626262}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.card h3{margin-bottom:6px}.card p{color:var(--muted);font-size:14px}.card .rate{font-family:Anton;font-size:40px;color:var(--ink);margin:20px 0}.card .rate small{font-family:Arial;font-size:14px;color:var(--muted)}.court-top{display:flex;justify-content:space-between;gap:10px}.calendar{overflow:auto;background:white;border:1px solid var(--line);border-radius:5px}.calendar table{table-layout:fixed;min-width:640px}.calendar th:first-child,.calendar td:first-child{width:82px}.calendar td{height:62px;padding:5px 8px}.slot{width:100%;height:50px;text-align:left;font-size:12px;border:0;color:#5f7363;background:#f4f7f1}.slot:hover{background:#e4eddf}.slot.booked{background:#ffede4;color:#91350f;border-left:3px solid var(--orange);height:auto;min-height:48px;margin:2px 0}.slot.pending{background:#eceee9;border-left-color:#82918a;color:#435349}.legend{font-size:14px;color:var(--muted);margin-bottom:16px}.channel{padding:17px 0;border-top:1px solid var(--line)}.channel-head{display:flex;justify-content:space-between;gap:10px;align-items:center}.statuses{display:flex;gap:18px;font-size:14px;margin:10px 0}.statuses span{color:var(--muted)}.segments{display:flex;gap:4px}.segments button{padding:8px 10px;flex:1;font-size:13px}.segments button.selected{background:var(--ink);color:white}.sim-banner{padding:17px 20px;background:#ffede2;border-left:4px solid var(--orange);margin-bottom:22px;font-size:14px}.split{display:grid;grid-template-columns:1fr 1fr;gap:24px}.rules{display:grid;gap:20px}.rules h3{margin-bottom:2px}.empty{padding:50px 24px;color:var(--muted);text-align:center}footer{margin-top:35px;border-top:1px solid var(--line);padding-top:20px;font-size:12px;color:var(--muted);display:flex;justify-content:space-between;gap:15px;align-items:center}footer button{font-size:12px}dialog{width:min(720px,calc(100% - 24px));max-height:90vh;border:0;padding:28px;border-radius:6px;color:var(--ink);background:var(--cream)}dialog::backdrop{background:#10171da8}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:24px}.dialog-head button{border:0;font-size:25px;padding:0 8px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.full{grid-column:1/-1}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px;flex-wrap:wrap}.danger{color:#af321c;margin-right:auto}#form-error{color:#ab2c18;font-size:14px}#notice{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:15px 24px;border-radius:5px;z-index:50;max-width:90vw;box-shadow:0 4px 24px #0003}.audit{max-height:340px;overflow:auto;font-size:13px}.audit div{padding:12px 0;border-bottom:1px solid var(--line)}.audit small{color:var(--muted);display:block}.muted{color:var(--muted);font-size:14px}.preview-result{margin-top:20px;font-size:14px}.search{min-width:180px}.count{color:var(--muted);font-size:14px}
@media(max-width:1100px){#workspace{grid-template-columns:170px minmax(0,1fr)}main{padding:30px 22px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.split{grid-template-columns:1fr}.metrics{gap:10px}}@media(max-width:720px){header{padding:18px 20px;gap:12px;flex-wrap:wrap}.environment{font-size:10px}.environment{order:3;width:100%}#workspace{display:block}nav{flex-direction:row;padding:10px;overflow:auto;border-right:0;border-bottom:1px solid var(--line)}nav button{white-space:nowrap;padding:10px 14px}main{padding:26px 16px}.pagehead{align-items:flex-start;flex-direction:column}.metrics{grid-template-columns:repeat(2,1fr)}.metric strong{font-size:26px}.cards{grid-template-columns:1fr}.fields{grid-template-columns:1fr}.full{grid-column:auto}dialog{padding:20px}.toolbar{gap:8px}.toolbar button{padding:10px}footer{flex-wrap:wrap}h1{font-size:42px}.login{padding-top:45px}}
/* Lucide and compact operational surfaces */
.icon{width:18px;height:18px;flex:none;stroke-width:1.8;vertical-align:middle}button:not(.slot),.login>a{display:inline-flex;align-items:center;justify-content:center;gap:9px}nav button{justify-content:flex-start!important}button:disabled{cursor:not-allowed;opacity:.45}.environment{display:inline-flex;align-items:center;gap:7px}.environment .icon{width:15px;height:15px}.badge{display:inline-flex;align-items:center;gap:5px;align-self:flex-start;flex:none;padding:5px 9px;font-size:12px;font-weight:600;line-height:1.25;white-space:nowrap}.badge .icon{width:14px;height:14px}.court-top{align-items:center}.court-identity{display:flex;align-items:center;gap:12px;min-width:0}.court-identity h3{margin:0;overflow-wrap:anywhere}.court-icon{width:40px;height:40px;background:#f1f3ec;border:1px solid #e3e7dc;border-radius:10px;display:grid;place-items:center;flex:none;color:var(--orange)}.court-icon .icon{width:23px;height:23px}.court-card{padding:24px;box-shadow:0 2px 7px #15201a04}.court-card .court-meta{display:flex;flex-direction:column;gap:7px;margin:20px 0 0}.court-meta>span{display:flex;align-items:center;gap:7px;color:#748078}.court-meta .icon{width:15px;height:15px}.court-card .rate{font-size:38px;line-height:1.2;margin:25px 0 26px;display:flex;align-items:baseline;gap:9px;flex-wrap:wrap}.court-card .rate small{font-size:13px;white-space:nowrap}.court-actions{display:flex;gap:10px;border-top:1px solid #eef0e9;padding-top:18px}.court-actions>button:first-child{flex:1}.delete-court{width:42px;padding:10px;color:#a34630;border-color:#e7d9d2}.delete-court:hover:enabled{background:#fff0ea;border-color:#d7a290}.delete-note{font-size:12px!important;line-height:1.45;margin-bottom:0}.metrics .metric span{display:flex;align-items:center;gap:7px}.metric .icon{width:16px;height:16px;opacity:.75}.channel-head strong{display:flex;align-items:center;gap:8px}.channel-head strong>.icon{color:var(--orange)}.segments{flex-wrap:wrap}.segments .icon{width:14px;height:14px}.audit-title{display:flex;align-items:center;gap:8px;margin:32px 0 15px}.rules h3,.panel>h3{display:flex;align-items:center;gap:9px}.slot:not(.booked){display:flex;align-items:center;gap:5px}.slot .icon{width:13px;height:13px}#close-editor{width:32px;height:32px;padding:6px}.toolbar .count{font-size:14px}nav button .icon{opacity:.75}.card .statuses{gap:12px;flex-wrap:wrap}input[type=checkbox]{accent-color:var(--orange)}
@media(max-width:720px){.court-card{padding:22px}.metric span{font-size:13px}.court-identity h3{font-size:20px}.court-card .rate{font-size:38px}.badge{font-size:12px}.environment{font-size:10px}.segments button{min-width:72px}}
/* Compact, read-only occupancy overview. */
.calendar-mode .pagehead{margin-bottom:20px}.calendar-mode .pagehead h1{font-size:clamp(36px,4vw,56px)}.calendar-mode .metrics{margin-bottom:22px}.calendar-mode .metric{border-top-width:2px;padding:10px 0}.calendar-mode .metric strong{font-size:25px}.occupancy{background:white;border:1px solid var(--line);border-radius:16px;padding:22px}.occupancy-toolbar{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:20px}.occupancy-toolbar>div:first-child>strong{display:flex;align-items:center;gap:8px;font-size:18px}.occupancy-toolbar>div:first-child>span{font-size:12px;color:var(--muted);display:block;margin-top:4px}.occupancy-date{display:flex;gap:6px;align-items:center}.occupancy-date button{border-radius:8px;padding:9px 10px;font-size:13px}.overview-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin-bottom:20px}.overview-days button{border:0;background:#f5f6f1;border-radius:10px;display:flex;flex-direction:column;gap:1px!important;padding:8px 4px}.overview-days button>span{font-size:12px;color:var(--muted)}.overview-days button>strong{font-size:22px;font-family:Anton;font-weight:400;line-height:1.35}.overview-days button>small{font-size:10px;color:var(--muted)}.overview-days button[aria-pressed=true]{background:var(--ink);color:white}.overview-days button[aria-pressed=true]>span,.overview-days button[aria-pressed=true]>small{color:#d4dcd9}.occupancy-scroll{overflow:auto;max-height:580px;scrollbar-width:thin}.occupancy-board{display:grid;grid-template-columns:50px repeat(var(--court-count),minmax(140px,1fr));min-width:calc(50px + var(--court-count)*140px)}.axis-head,.court-column-head{position:sticky;top:0;z-index:2;background:white;border-bottom:1px solid var(--line);padding:10px;font-size:13px;color:var(--muted)}.court-column-head{display:flex;align-items:center;gap:7px;color:var(--ink);font-weight:700;border-left:1px solid #ecefe9}.court-column-head small{display:block;font-size:11px;font-weight:400;color:var(--muted)}.court-column-head .icon{width:16px;height:16px;color:var(--orange)}.time-axis{height:calc(var(--hours)*32px);display:grid;grid-template-rows:repeat(var(--hours),32px);font-size:11px;color:var(--muted)}.time-axis span{padding:6px 3px;border-bottom:1px solid #ecefe9}.court-timeline{position:relative;height:calc(var(--hours)*32px);border-left:1px solid #ecefe9;background:repeating-linear-gradient(to bottom,#fafbf8 0,#fafbf8 31px,#e6eae2 31px,#e6eae2 32px)}button.occupancy-event{position:absolute;left:4px;right:4px;min-height:16px;padding:1px 7px!important;border:0;border-left:3px solid var(--orange);border-radius:4px;background:#ffede4;color:#91350f;display:flex;justify-content:flex-start;gap:8px;font-size:12px;line-height:1.2;overflow:hidden;white-space:nowrap}.occupancy-event strong{flex:none;font-size:11px}.occupancy-event span{overflow:hidden;text-overflow:ellipsis}.occupancy-event .icon{width:13px;height:13px;margin-left:auto}.occupancy-event.pending{background:#e4e9e1;border-left-color:#768d7c;color:#46604e}.occupancy-event:hover{background:#ffd8c8!important}.overview-foot{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:14px}.overview-foot .match-legend{margin:0}.overview-foot>span{font-size:12px;display:flex;align-items:center;gap:6px;color:var(--muted)}.confirmed-dot{background:var(--orange)}.overview-empty{display:flex;align-items:center;justify-content:center;gap:8px;color:var(--muted);font-size:13px;margin:16px 0 0}#date-picker{max-width:430px;background:white;border-radius:20px;padding:25px}#date-picker h2{font-size:26px}.month-nav{display:flex;justify-content:space-between;align-items:center;margin:16px 0 21px}.month-nav h3{font-size:17px;text-transform:capitalize}.month-nav button{border:0;padding:8px}.month-weekdays,.month-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;text-align:center}.month-weekdays{font-size:12px;color:var(--muted);margin-bottom:10px}.month-grid button{border:0;border-radius:10px;aspect-ratio:1;padding:3px;position:relative;display:flex;flex-direction:column;gap:1px!important;font-size:14px}.month-grid button.other-month{color:#a4ada5}.month-grid button.is-today{box-shadow:inset 0 0 0 1px var(--orange)}.month-grid button[aria-pressed=true]{background:var(--orange);color:white}.date-dot{width:4px;height:4px;border-radius:50%;background:transparent}.date-dot.has-bookings{background:var(--orange)}.month-grid button[aria-pressed=true] .date-dot.has-bookings{background:white}.date-modal-foot{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:16px;margin-top:18px;font-size:12px;color:var(--muted)}.date-modal-foot span{display:flex;gap:6px;align-items:center}.date-modal-foot i{width:5px;height:5px;border-radius:50%;background:var(--orange)}#booking-details{max-width:610px;border-radius:18px;background:white}.detail-heading{display:flex;gap:12px;justify-content:space-between;align-items:center;margin-bottom:25px}.booking-facts{display:grid;grid-template-columns:1fr 1fr;gap:22px}.booking-facts>div{display:flex;gap:9px;font-size:12px;color:var(--muted);min-width:0}.booking-facts strong{display:block;font-size:14px;color:var(--ink);margin-top:4px;font-weight:400;overflow-wrap:anywhere}.booking-facts .icon{color:var(--orange);width:17px;height:17px}.booking-note{border-top:1px solid var(--line);padding-top:18px;margin-top:22px;font-size:13px}.booking-note p{white-space:pre-wrap}.booking-facts~.muted{margin-top:24px;font-size:12px}#details-to-bookings{margin-top:7px;font-size:13px}#close-date,#close-details{border:0;padding:7px}
@media(max-width:720px){.occupancy{padding:16px}.occupancy-toolbar{align-items:flex-start;flex-direction:column;gap:12px}.occupancy-date{width:100%}.overview-days button>small{display:none}.overview-days button>strong{font-size:21px}.overview-days button{padding:7px 2px}.overview-foot{align-items:flex-start;flex-direction:column}.occupancy-scroll{max-height:520px}.booking-facts{grid-template-columns:1fr}.calendar-mode .metric span{font-size:12px}}

.match-legend{display:flex;gap:16px;flex-wrap:wrap;font-size:12px;color:var(--muted)}.match-legend span{display:flex;align-items:center;gap:7px}.match-legend i{width:8px;height:8px;border-radius:50%}.occupied-dot{background:#8c9e8f}
/* Hausen operations home. */
.overview-mode .pagehead{margin-bottom:25px}.overview-mode .pagehead h1{font-size:clamp(38px,4vw,58px)}.overview-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.overview-summary>div{background:white;border:1px solid var(--line);border-radius:12px;padding:18px}.overview-summary>div>span{display:flex;gap:7px;align-items:center;font-size:12px;color:var(--muted)}.overview-summary>div>strong{display:block;font-size:30px;line-height:1.3;margin:12px 0 4px;letter-spacing:-.04em}.overview-summary em{font-size:21px;color:#8d9891;font-weight:400}.overview-summary small{font-size:12px;color:var(--muted)}.overview-summary .summary-mode{font-size:23px;color:#ae491e;padding:4px 0}.operations-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:22px;margin-bottom:22px}.hall-panel,.climate-panel,.today-panel{border:1px solid var(--line);border-radius:16px;background:white;padding:23px;min-width:0}.dashboard-section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.dashboard-section-head h2{font-size:29px}.dashboard-section-head .eyebrow{font-size:10px;margin-bottom:6px}.dashboard-section-head button{font-size:12px;padding:8px 10px}.dome-plan{border:2px solid #bccab9;border-radius:65px 65px 28px 28px;padding:30px 22px 20px;background:linear-gradient(180deg,#eaf0e6,#f5f7f0)}.dome-courts{display:flex;gap:18px;justify-content:center;flex-wrap:wrap}.plan-court{flex:1;min-width:130px;max-width:240px}.court-drawing{height:135px;position:relative;background:#d57b55;border:2px solid #fff;box-shadow:0 0 0 5px #c9704d;margin:5px}.court-drawing:before{content:'';position:absolute;inset:0 13%;border-inline:1px solid #fff9}.service-line{position:absolute;inset:22% 13%;border-block:1px solid #fff9}.court-net{position:absolute;left:0;right:0;top:50%;border-top:2px dashed #fff}.center-line{position:absolute;top:22%;bottom:22%;left:50%;border-left:1px solid #fff9}.plan-court-label{text-align:center;margin:15px 0 9px;font-size:13px}.plan-court-label strong{display:block;font-size:14px}.plan-court-label>span{font-size:11px;color:var(--muted)}.plan-court.occupied .court-drawing{box-shadow:0 0 0 5px var(--orange)}.plan-court.occupied .plan-court-label>span{color:#a3421e}.plan-court-controls{display:flex;justify-content:center;gap:6px}.plan-court-controls>span{display:flex;align-items:center;gap:4px;border:1px solid #d8dfd2;border-radius:6px;padding:4px 6px;color:#7c897e;background:#f7f9f3}.plan-court-controls .icon{width:14px;height:14px}.plan-court-controls small{font-size:10px}.plan-court-controls .on{background:#fff0e5;color:#b5471e;border-color:#dfaf91}.hall-plan-footer{margin-top:15px;display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:10px;color:var(--muted);flex-wrap:wrap}.hall-plan-footer>span:first-child{display:flex;gap:6px;align-items:center;font-size:12px}.hall-plan-footer .icon{width:14px;height:14px}.temperatures{display:grid;gap:14px}.temperature-card{background:#f7f8f3;border:1px solid #e4e8df;border-radius:12px;padding:17px}.temperature-card>div{display:flex;gap:7px;align-items:center;font-size:14px}.temperature-card .badge{margin-left:auto;font-size:10px}.temperature-card>strong{display:block;font-size:35px;line-height:1.3;margin-top:13px;letter-spacing:-.04em}.temperature-card strong small{font-size:19px;font-weight:400;color:var(--muted);margin-left:8px}.temperature-card p{font-size:11px;color:var(--muted);margin-bottom:0;margin-top:5px}.climate-note{display:flex;gap:7px;margin:16px 0 0;font-size:11px;line-height:1.5;color:var(--muted)}.climate-note .icon{width:15px;height:15px}.today-panel .dashboard-section-head{margin-bottom:14px}.today-panel h3{font-size:19px}.today-bookings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.today-bookings>button{justify-content:flex-start;padding:12px;min-width:0;text-align:left;background:#f8f9f4;border-color:#e5e8df;font-size:13px}.today-bookings>button>span:nth-child(2){min-width:0;flex:1}.today-bookings strong{font-size:13px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.today-bookings small{display:block;font-size:11px;color:var(--muted)}.today-time{font-weight:700;margin-right:7px}.today-time small{font-weight:400}.today-bookings .badge{font-size:10px;align-self:center}.today-empty{padding:15px;color:var(--muted);display:flex;gap:8px;align-items:center;font-size:13px;background:#f7f8f3;border-radius:8px}@media(max-width:1100px){.operations-grid{grid-template-columns:1fr}.temperatures{grid-template-columns:1fr 1fr}.overview-summary{grid-template-columns:repeat(2,1fr)}.dome-plan{max-width:750px;margin:auto}}@media(max-width:600px){.overview-summary{gap:10px}.overview-summary>div{padding:14px}.overview-summary>div>strong{font-size:25px}.overview-summary>div>span{font-size:11px}.overview-summary .summary-mode{font-size:20px}.hall-panel,.climate-panel,.today-panel{padding:17px}.temperatures{grid-template-columns:1fr}.dome-plan{padding:24px 12px 17px;border-radius:40px 40px 22px 22px}.dome-courts{gap:13px}.plan-court{min-width:110px}.court-drawing{height:120px}.plan-court-controls{gap:3px}.plan-court-controls>span{padding:4px}.plan-court-controls small{font-size:9px}.today-bookings{grid-template-columns:1fr}.dashboard-section-head h2{font-size:26px}}
/* Court illustration: clay texture, raised net and subtle perspective. */
.dome-plan{position:relative;isolation:isolate;overflow:hidden;border:1px solid #d5ddd2;border-radius:36px;padding:32px 24px 24px;background:radial-gradient(ellipse at 50% 0,#fff9,transparent 65%),repeating-linear-gradient(90deg,transparent 0 59px,#ccd6c526 60px 61px),linear-gradient(145deg,#edf2e8,#e1e9db);box-shadow:inset 0 1px 0 #fff,inset 0 -10px 24px #7d90600a}
.dome-courts{gap:26px}.plan-court{perspective:650px;max-width:260px}.court-drawing{height:auto;aspect-ratio:1.85;transform:rotateX(20deg) rotateZ(-4deg);transform-origin:50% 60%;border:2px solid #fff9;border-radius:2px;margin:14px 12px 24px;background:radial-gradient(ellipse at 20% 20%,#f7c59c35,transparent 70%),repeating-linear-gradient(8deg,#ffffff08 0 1px,transparent 1px 4px),repeating-linear-gradient(97deg,#61362008 0 1px,transparent 1px 5px),#c77850;box-shadow:0 0 0 9px #c37b55,0 0 0 10px #b2714c,3px 8px 0 9px #9d6240,5px 18px 18px 7px #384c3430;transition:transform .25s ease,box-shadow .25s ease}
.court-drawing:before{inset:13% 0;border-inline:0;border-block:2px solid #ffffffe0}.service-line{inset:13% 26%;border-block:0;border-inline:2px solid #ffffffe0}.center-line{top:50%;bottom:auto;left:26%;right:26%;border-left:0;border-top:2px solid #ffffffe0}.court-net{left:50%;right:auto;top:-5%;bottom:-5%;width:4px;border:0;background:repeating-linear-gradient(0deg,#eff4ebcc 0 1px,transparent 1px 5px),linear-gradient(90deg,#46544b,#d1d9cc);box-shadow:5px 3px 0 0 #35462d38;transform:skewY(-10deg)}.court-net:before,.court-net:after{content:'';position:absolute;left:-2px;width:8px;height:8px;background:#334839;border:1px solid #eef3e8;border-radius:50%;box-shadow:2px 3px 3px #25332040}.court-net:before{top:-4px}.court-net:after{bottom:-4px}
.plan-court-label{position:relative;margin:14px 0 12px}.plan-court-label strong{font-size:15px;letter-spacing:-.02em}.plan-court-label>span{display:inline-flex;align-items:center;gap:5px;margin-top:3px}.plan-court-label>span:before{content:'';width:5px;height:5px;border-radius:50%;background:#789071}.plan-court.occupied .plan-court-label>span:before{background:var(--orange)}.plan-court.occupied .court-drawing{box-shadow:0 0 0 9px #c37b55,0 0 0 11px var(--orange),3px 8px 0 9px #9d6240,5px 18px 18px 7px #384c3430}.plan-court-controls>span{background:#ffffffa3;border-color:#cbd5c3;border-radius:7px}.plan-court-controls .on{background:#fff0e5}.hall-plan-footer{line-height:1.5}
@media(hover:hover){.plan-court:hover .court-drawing{transform:rotateX(14deg) rotateZ(-2deg)}}
@media(max-width:600px){.dome-plan{padding:24px 16px 20px;border-radius:24px}.dome-courts{gap:18px}.court-drawing{height:auto;margin:10px 10px 20px}.plan-court{min-width:120px}.plan-court-label strong{font-size:14px}}
@media(prefers-reduced-motion:reduce){.court-drawing{transition:none}}

.scope-selectors{display:flex;gap:14px;margin:0 0 24px;padding:14px 18px;background:#e9ede4;border:1px solid #d6ddd0;border-radius:12px}.scope-selectors label{display:grid;gap:5px;min-width:180px;font-size:11px;color:var(--muted)}.scope-selectors select{background:#fff;border:1px solid var(--line);border-radius:7px;padding:9px 32px 9px 10px;font-size:14px;color:var(--ink);font-weight:600}.location-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px}.location-card .eyebrow{display:flex;align-items:center;gap:6px}.location-halls{display:grid;gap:10px;margin:0 0 18px}.location-halls>div{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:#f6f7f1;border-radius:10px;padding:12px}.location-halls>div>span{flex:1;min-width:0}.location-halls strong,.location-halls small{display:block}.location-halls small{font-size:12px;color:var(--muted);margin-top:4px}.location-halls button{font-size:12px;padding:8px}.scope-selectors select:focus-visible{outline:2px solid var(--orange);outline-offset:2px}@media(max-width:600px){.scope-selectors{padding:12px;gap:10px}.scope-selectors label{min-width:0;flex:1}.scope-selectors select{width:100%}.location-grid{grid-template-columns:1fr}}
.temperature-card>.humidity-reading{margin-top:14px;padding-top:12px;border-top:1px solid #dfe5d8;display:flex;align-items:center;flex-wrap:wrap;gap:6px}.humidity-reading>span:first-child{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted)}.humidity-reading>.icon,.humidity-reading .icon{width:16px;height:16px}.humidity-reading>strong{margin-left:auto;font-size:22px;letter-spacing:-.03em;white-space:nowrap}.humidity-reading strong small{font-size:13px;margin-left:4px}.humidity-quality{font-size:10px;color:var(--muted);width:100%;text-align:right}
/* Compact climate instruments; each measurement retains its own freshness. */
.climate-panel{background:linear-gradient(150deg,#fff,#fafbf7)}.climate-sensor{border:1px solid #dde3d7;border-radius:15px;background:white;overflow:hidden;box-shadow:0 3px 10px #23331b04}.climate-sensor-head{display:flex;align-items:center;gap:10px;padding:13px 15px;border-bottom:1px solid #e8ece3;background:linear-gradient(120deg,#edf2e7,#f7f9f3)}.sensor-symbol{display:flex;align-items:center;justify-content:center;width:34px;height:34px;background:#fff;border:1px solid #dfe6d8;border-radius:10px;color:#53684c}.sensor-symbol .icon{width:18px;height:18px}.climate-sensor-head>div{flex:1}.climate-sensor-head strong{display:block;font-size:14px;line-height:1.4}.climate-sensor-head small{display:block;font-size:10px;color:var(--muted)}.sensor-source{font-size:8px;font-weight:700;color:#77866e;letter-spacing:.08em}.climate-measures{display:grid;grid-template-columns:1fr 1fr;padding:16px 15px 15px;gap:16px}.climate-measure{display:flex;flex-direction:column;min-width:0}.climate-measure+.climate-measure{border-left:1px solid #e5e9e0;padding-left:16px}.measure-label{display:flex;align-items:center;gap:5px;font-size:10px;font-weight:600;color:#71806c;white-space:nowrap}.measure-label .icon{width:13px;height:13px}.climate-measure>strong{font-size:clamp(27px,2.5vw,37px);font-weight:750;line-height:1.15;letter-spacing:-.055em;margin:12px 0 10px;font-variant-numeric:tabular-nums}.climate-measure.temperature>strong{color:#ad4e2c}.climate-measure.humidity>strong{color:#416b59}.climate-measure strong small{font-size:15px;font-weight:500;letter-spacing:0;margin-left:5px;color:#879180}.measure-status{display:flex;align-items:center;gap:5px;font-size:10px;color:#87907f;line-height:1.4}.measure-status i{width:5px;height:5px;border-radius:50%;background:#a1a799;flex:none}.measure-status.live{color:#4d7159}.measure-status.live i{background:#649471;box-shadow:0 0 0 3px #64947113}.measure-status.stale{color:#986844}.measure-status.stale i{background:#ba885d}.measure-time{font-size:9px;color:#859080;line-height:1.5;margin-top:5px;white-space:nowrap}.climate-note{font-size:10px;align-items:flex-start}.climate-sensor.outdoor .climate-sensor-head{background:linear-gradient(120deg,#f3eee5,#fbf8f2)}.climate-sensor.outdoor .sensor-symbol{color:#a77b3e;border-color:#e9dfcf}.climate-sensor.outdoor .sensor-source{color:#958269}@media(max-width:600px){.climate-measure>strong{font-size:34px}.climate-measures{gap:12px;padding:16px 14px}.climate-measure+.climate-measure{padding-left:12px}.measure-label{font-size:10px}.measure-time{font-size:9px}}@media(min-width:1101px) and (max-width:1200px){.sensor-source{display:none}}
/* Mobile review: contain content and provide usable touch targets. */
main .pagehead>div,.metric,.overview-summary>div{min-width:0}.scope-selectors label{min-width:0}.scope-selectors select{text-overflow:ellipsis}.plan-court-label strong,.dashboard-section-head h3,.location-halls strong,.eyebrow{overflow-wrap:anywhere}.location-halls>div{flex-wrap:wrap}.location-halls>div>span{flex-basis:100%}.location-halls>div>button{flex:none}.measure-label{white-space:normal}.measure-time{white-space:normal}.detail-heading h3{overflow-wrap:anywhere;min-width:0}.detail-heading{flex-wrap:wrap}.dialog-head h2{min-width:0;overflow-wrap:anywhere}dialog{overscroll-behavior:contain;max-height:90dvh}textarea:focus-visible{outline:3px solid var(--orange);outline-offset:3px}
@media(max-width:720px){header img{width:120px}nav{scrollbar-width:thin;overscroll-behavior-x:contain}nav button{flex-shrink:0;min-height:44px}button{min-height:44px}input,select,textarea,.scope-selectors select{font-size:16px;min-height:44px}input[type=checkbox]{min-height:20px}.scope-selectors label{font-size:11px}.occupancy-date{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:6px}.occupancy-date button{padding:8px 5px;min-width:0}.occupancy-date #today{grid-column:1/-1}.occupancy-date #open-date{font-size:13px}.month-grid button{min-height:44px;aspect-ratio:auto}#date-picker{padding:18px}.month-grid,.month-weekdays{gap:3px}.dialog-head button,#close-editor{width:44px;height:44px;flex:none}.dialog-actions>button{flex:1;min-width:110px}.dialog-actions .danger{flex-basis:100%}.overview-days button{min-height:66px}.dashboard-section-head{flex-wrap:wrap}.overview-summary>div>strong{overflow-wrap:anywhere}.summary-mode{letter-spacing:-.03em!important}.tablewrap{overscroll-behavior-x:contain}.tablewrap table{min-width:520px}.channel-head{flex-wrap:wrap}.court-top{flex-wrap:wrap}.location-halls button{min-height:44px}.occupancy-event{min-height:16px!important}.occupancy-event:hover{z-index:3}.today-bookings>button{flex-wrap:wrap}.today-bookings>button>span:nth-child(2){min-width:70px}.climate-measure>strong{font-size:clamp(29px,8vw,34px)}.sensor-source{font-size:8px}.climate-note{overflow-wrap:anywhere}.scope-selectors{flex-wrap:wrap}.scope-selectors label{flex:1 1 130px}.location-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:360px){main{padding-inline:12px}.hall-panel,.climate-panel,.today-panel{padding:13px}.climate-measures{padding:13px 10px;gap:10px}.climate-measure+.climate-measure{padding-left:10px}.measure-label{font-size:9px}.climate-measure strong small{font-size:13px;margin-left:3px}.overview-summary>div{padding:11px}.overview-summary>div>span{font-size:10px}.overview-summary .summary-mode{font-size:18px}h1{font-size:36px}.dialog-head h2{font-size:26px}}

.mobile-appointments{display:none}@media(max-width:720px){.mobile-appointments{display:grid;gap:8px;margin-top:18px}.mobile-appointments>button{background:#f7f8f3;text-align:left;justify-content:flex-start;min-height:64px;padding:12px}.mobile-appointments>button>span{flex:1;min-width:0}.mobile-appointments strong,.mobile-appointments small{display:block;overflow-wrap:anywhere}.mobile-appointments strong{font-size:13px}.mobile-appointments small{font-size:11px;color:var(--muted)}}
/* Global location context belongs to the application header. */
header{gap:20px;flex-wrap:wrap}header>a{flex:none}header .header-scope{display:flex;gap:0;margin:0 auto 0 8px;padding:0;background:#ffffff07;border:1px solid #42504d;border-radius:11px;min-width:0;flex:0 1 440px;overflow:hidden}header .header-scope label{min-width:0;flex:1;padding:8px 12px;gap:3px;color:#aabbb1;font-weight:400}header .header-scope label+label{border-left:1px solid #42504d}.scope-label{display:flex;align-items:center;gap:5px;font-size:9px;font-weight:600;letter-spacing:.07em;text-transform:uppercase}.scope-label .icon{width:12px;height:12px;color:#b8c5b7}header .header-scope select{border:0;background:transparent;color:#fff;font-size:14px;line-height:1.4;font-weight:600;padding:2px 20px 2px 0;border-radius:3px;min-height:25px;color-scheme:dark;cursor:pointer;width:100%}header .header-scope select option{background:#18242a;color:white}header .header-scope select:hover{background:#ffffff0a}header .environment{font-size:10px;letter-spacing:.05em;flex:none}header #logout{flex:none;min-height:44px}header .header-scope select:focus-visible{outline:2px solid #ffac86;outline-offset:1px}
@media(max-width:1100px){header{padding:18px 22px}header .header-scope{flex-basis:360px;margin-left:0}header .environment{order:4;width:100%;font-size:9px}header #logout{margin-left:auto}}
@media(max-width:720px){header{padding:15px 16px;gap:12px}header .header-scope{order:3;flex:1 1 100%;width:100%;margin:0;border-radius:10px}header .header-scope label{flex:1 1 0;padding:10px 12px}header .header-scope select{font-size:16px;min-height:36px;padding-right:10px}header #logout{order:2;font-size:12px;padding:9px 12px}header .environment{order:4;width:100%;font-size:9px}.scope-label{font-size:9px}header .header-scope label+label{border-left:1px solid #42504d}}
/* Center global selectors with balanced space on both sides. */
@media(min-width:1101px){header{display:grid;grid-template-columns:minmax(160px,1fr) minmax(320px,460px) minmax(160px,1fr);grid-template-rows:auto auto;column-gap:36px;row-gap:6px;padding:25px 40px}header>a{grid-column:1;grid-row:1/3;justify-self:start}header .header-scope{grid-column:2;grid-row:1/3;width:100%;margin:0;justify-self:center;overflow:visible;background:#ffffff06;border-radius:13px}header .header-scope label{padding:13px 18px;gap:6px}header .header-scope select{min-height:29px;font-size:15px}header .scope-label{font-size:10px;letter-spacing:.08em}header #logout{grid-column:3;grid-row:1;justify-self:end;align-self:end}header .environment{grid-column:3;grid-row:2;justify-self:end;align-self:start;font-size:9px;white-space:nowrap;margin-top:2px}}
@media(min-width:721px) and (max-width:1100px){header{gap:18px;padding-block:22px}header .header-scope{margin-inline:auto;flex-basis:360px}header .header-scope label{padding:12px 15px;gap:5px}}
@media(max-width:720px){header{padding:18px 18px;gap:15px}header .header-scope label{padding:12px 14px;gap:5px}}
/* iPhone: constrain the page itself; scrolling stays inside data tables. */
html{width:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%;overflow-x:clip}body{width:100%;min-width:0;overflow-x:clip}#workspace{width:100%;min-width:0}main{max-width:100%}
@media(max-width:720px){header{width:100%;max-width:100%;min-width:0;padding:14px max(16px,env(safe-area-inset-right)) 12px max(16px,env(safe-area-inset-left));gap:11px}header>a{min-width:0}header img{width:100px;max-width:100%;height:auto}header #logout{min-height:40px;padding:8px 10px;font-size:12px;gap:6px}header .header-scope{flex:0 0 100%;width:100%;max-width:100%;min-width:0;overflow:hidden}header .header-scope label{min-width:0;padding:8px 10px;gap:3px}header .header-scope select{min-width:0;max-width:100%;font-size:16px;min-height:30px}header .scope-label{font-size:8px}header .environment{min-width:0;max-width:100%;white-space:normal;font-size:8px;letter-spacing:.035em;line-height:1.4;gap:5px}header .environment .icon{width:12px;height:12px}#workspace>nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;width:100%;max-width:100%;min-width:0;padding:8px 10px;overflow:visible}#workspace>nav button{min-width:0;width:100%;display:flex;flex-direction:column;justify-content:center!important;align-items:center;gap:4px;padding:8px 2px;font-size:10px;line-height:1.2;white-space:normal;overflow-wrap:anywhere;min-height:52px;border-radius:7px}#workspace>nav button .icon{width:17px;height:17px}main{width:100%;min-width:0;padding:23px 16px}.pagehead{width:100%;gap:14px}.pagehead>div{max-width:100%}.pagehead .eyebrow{font-size:9px;letter-spacing:.1em;line-height:1.5}.overview-mode .pagehead h1,.calendar-mode .pagehead h1{font-size:clamp(32px,8.7vw,40px)}.overview-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.overview-summary>div{min-width:0;padding:12px}.overview-summary>div>span{font-size:10px;line-height:1.4;align-items:flex-start}.overview-summary>div>span .icon{width:14px;height:14px}.overview-summary>div>strong{font-size:25px;margin-block:9px 3px}.overview-summary small{font-size:10px}.overview-summary .summary-mode{font-size:18px}.operations-grid,.temperatures,.cards,.today-bookings{min-width:0}.hall-panel,.climate-panel,.today-panel{max-width:100%;min-width:0}.dome-plan{width:100%;min-width:0}.location-halls>div,.toolbar{min-width:0}.toolbar label{max-width:100%}.toolbar input,.toolbar select{max-width:100%}dialog{max-width:calc(100vw - 24px)}footer{min-width:0;overflow-wrap:anywhere}}
#mobile-menu-toggle,#mobile-bottom{display:none}
@media(max-width:720px){
html,body{max-width:100%;overflow-x:hidden}body{background:#f6f4ed}header{display:flex;position:relative;padding:14px 16px 12px;gap:12px;min-height:0}header>a{margin-right:auto}header img{width:86px}header #logout{display:none}#mobile-menu-toggle{display:inline-flex;color:white;border-color:#45524e;width:40px;height:40px;min-height:40px;padding:8px;order:2}header .header-scope{order:3;flex:0 0 100%;border-color:#36443f;background:#ffffff05;border-radius:10px}header .header-scope label{padding:7px 10px;gap:1px}header .scope-label{font-size:8px;letter-spacing:.05em}header .header-scope select{font-size:16px;min-height:30px;font-weight:500}header .environment{order:4;font-size:8px;line-height:1.2;width:auto;margin:0;color:#e69c78}header .environment .icon{width:11px;height:11px}#workspace>nav{display:none}body.mobile-menu-open #workspace>nav{display:grid;position:absolute;left:12px;right:12px;width:auto;max-width:calc(100% - 24px);z-index:20;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:14px;background:white;border:1px solid #dbe1d4;border-radius:14px;box-shadow:0 16px 40px #10171d30}body.mobile-menu-open #workspace>nav button{flex-direction:row;justify-content:flex-start!important;font-size:13px;padding:12px;min-height:48px}body.mobile-menu-open header #logout{display:inline-flex;order:2;position:absolute;right:65px;top:14px;min-height:40px;font-size:11px;padding:8px}#mobile-bottom{display:grid;position:fixed;bottom:0;left:0;right:0;z-index:30;grid-template-columns:repeat(5,minmax(0,1fr));border-top:1px solid #d7ded1;background:#fffffff5;backdrop-filter:blur(15px);padding:7px 8px calc(7px + env(safe-area-inset-bottom));gap:3px}#mobile-bottom button{display:flex;flex-direction:column;gap:5px;min-width:0;min-height:46px;padding:5px 0;border:0;font-size:9px;color:#69796d;border-radius:8px;line-height:1.2}#mobile-bottom button .icon{width:20px;height:20px}#mobile-bottom button[aria-current=page]{background:#fbeae1;color:#b64422}#mobile-bottom #mobile-more{color:#435349}main{padding:22px 16px calc(100px + env(safe-area-inset-bottom));width:100%;max-width:100%}.pagehead{margin-bottom:20px!important;gap:12px}.pagehead .eyebrow{font-size:8px;margin-bottom:8px;letter-spacing:.09em}.pagehead h1,.overview-mode .pagehead h1,.calendar-mode .pagehead h1{font-size:32px;line-height:1.1}.pagehead #new-booking{width:100%;font-size:13px;padding:12px}.overview-summary{gap:9px;margin-bottom:18px}.overview-summary>div{border-radius:11px;padding:12px}.overview-summary>div>span{font-size:9px;gap:5px}.overview-summary>div>strong{font-size:25px;margin:9px 0 3px}.overview-summary em{font-size:16px}.overview-summary small{font-size:10px}.overview-summary .summary-mode{font-size:18px}.operations-grid{gap:16px;margin-bottom:16px}.hall-panel,.climate-panel,.today-panel{padding:16px;border-radius:14px}.dashboard-section-head{gap:8px;margin-bottom:16px}.dashboard-section-head h2{font-size:25px}.dashboard-section-head .eyebrow{font-size:8px}.dashboard-section-head button{font-size:10px;padding:8px}.dome-plan{padding:22px 15px 18px;border-radius:24px}.dome-courts{gap:20px;flex-direction:column;align-items:center}.plan-court{width:100%;max-width:220px;min-width:0}.court-drawing{margin-bottom:20px}.plan-court-label strong{font-size:14px}.hall-plan-footer{font-size:9px}.temperatures{grid-template-columns:1fr;gap:12px}.climate-sensor-head{padding:11px 13px}.climate-measures{padding:14px 13px}.climate-measure>strong{font-size:32px}.climate-note{font-size:9px}.metrics{gap:12px;margin-bottom:18px}.metric{padding:10px 0}.metric strong{font-size:23px}.metric span{font-size:10px}.occupancy{padding:13px;border-radius:12px}.occupancy-toolbar>div:first-child>strong{font-size:15px}.overview-days{gap:3px;margin-bottom:15px}.overview-days button{min-height:58px;border-radius:8px}.overview-days button>strong{font-size:19px}.overview-days button>span{font-size:10px}.occupancy-scroll{max-height:340px}.overview-foot>span{font-size:10px}.toolbar{gap:10px}.toolbar label{flex:1;min-width:100px}.toolbar input,.toolbar select{width:100%}.toolbar .count{flex-basis:100%;font-size:11px}.panel,.card{padding:18px;border-radius:12px}.card h3{font-size:18px}.cards{gap:14px}.sim-banner{padding:13px;font-size:12px;border-radius:7px}.statuses{font-size:12px}.rules{gap:16px}.rules h3{font-size:16px;flex-wrap:wrap}.muted{font-size:12px}dialog{width:calc(100% - 16px);max-width:calc(100% - 16px);max-height:calc(100dvh - 24px);border-radius:16px;padding:20px 16px}.dialog-head h2{font-size:25px}.fields{gap:14px}.fields label{font-size:12px}.dialog-actions{gap:8px}footer{font-size:10px;margin-top:24px}footer #refresh{padding:8px;font-size:10px}#notice{bottom:calc(85px + env(safe-area-inset-bottom));font-size:12px;padding:12px 16px;width:max-content;max-width:calc(100vw - 28px)}.audit{font-size:12px}
}
@media(max-width:720px){#content>.tablewrap{border:0;background:transparent;overflow:visible}#content>.tablewrap table{display:block;min-width:0;width:100%;font-size:13px}#content>.tablewrap thead{display:none}#content>.tablewrap tbody{display:grid;gap:12px}#content>.tablewrap tr{display:block;background:white;border:1px solid #d9ddd5;border-radius:12px;padding:13px}#content>.tablewrap td{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:9px 0;border-bottom:1px solid #edf0e7;overflow-wrap:anywhere}#content>.tablewrap td:before{content:attr(data-label);font-size:10px;color:#6e7b70;flex:none;min-width:70px;padding-top:3px}#content>.tablewrap td:last-child{border:0;padding-bottom:0}#content>.tablewrap td:last-child:before{display:none}#content>.tablewrap td button{width:100%;min-height:42px;font-size:12px}#content>.tablewrap td small{font-size:11px}#content>.tablewrap td:first-child{font-weight:600}}
@media(max-width:720px){#content>.tablewrap td{display:grid;grid-template-columns:70px minmax(0,1fr);gap:5px 12px}#content>.tablewrap td>small{grid-column:2}#content>.tablewrap td:last-child>button{grid-column:1/-1}}

footer .aurora-credit{font-size:11px;letter-spacing:.03em;white-space:nowrap}@media(max-width:720px){footer .aurora-credit{font-size:10px;flex-basis:100%}}

/* Dedicated mobile booking cards and reachable dialog controls. */
.mobile-booking-cards{display:none}.desktop-booking-table td:last-child{min-width:180px}.desktop-booking-table td:last-child button{margin:3px}
.booking-note a{display:inline-flex;align-items:center;min-height:44px;line-height:1.4;color:#b13c20;font-weight:700;text-underline-offset:3px}.booking-note small{display:block;overflow-wrap:anywhere;color:var(--muted);font-size:12px}.booking-note p{overflow-wrap:anywhere}
@media(max-width:720px){
#content>.desktop-booking-table{display:none}.mobile-booking-cards{display:grid;gap:14px}.mobile-booking-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px;min-width:0}.mobile-booking-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.mobile-booking-head>strong{font-size:17px;overflow-wrap:anywhere;min-width:0}.mobile-booking-place{display:flex;align-items:center;gap:7px;font-size:13px;color:var(--muted);margin:7px 0 18px}.mobile-booking-time{display:flex;gap:11px;align-items:center;padding:14px;background:#f3f5ef;border-radius:10px;font-size:13px}.mobile-booking-time .icon{color:#778777}.mobile-booking-time strong{display:block;font-size:19px;margin-top:2px}.mobile-booking-price{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px 0}.mobile-booking-price>strong{font-size:23px}.mobile-booking-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;border-top:1px solid #edf0e7;padding-top:14px}.mobile-booking-actions button{padding:11px 7px;min-height:46px;font-size:12px;border-radius:9px}.mobile-booking-actions button:last-child{background:var(--ink);color:#fff;border-color:var(--ink)}
#editor{max-height:calc(100dvh - 24px);padding:20px;border-radius:18px}#editor .dialog-head{position:sticky;top:-20px;z-index:2;background:var(--cream);padding:12px 0;margin-top:-12px}#editor .dialog-actions{position:sticky;bottom:-20px;z-index:2;background:var(--cream);padding:14px 0 20px;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:10px}#editor .dialog-actions button{min-height:48px;margin:0}#editor .dialog-actions .danger{grid-column:1/-1;order:3;background:#fff1eb;border-color:#efd5c8}#editor #form-error:empty{display:none}#booking-details{max-height:calc(100dvh - 24px);border-radius:18px}.toolbar label{min-width:0;flex:1}.toolbar .search{min-width:0;width:100%}
}

.mail-history-title{display:flex;align-items:center;gap:8px}.mail-history-entry{display:grid;gap:6px;padding:14px 0;border-bottom:1px solid var(--line);min-width:0}.mail-history-entry a{justify-self:start;min-width:0;overflow-wrap:anywhere}.mail-history-entry small{display:block;line-height:1.6;overflow-wrap:anywhere}.mail-history-entry:last-child{border-bottom:0}

.plan-court-info{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:7px;margin:12px 0 10px}.court-info-badge{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:7px 10px;border:1px solid #d8e0d1;border-radius:20px;background:#ffffffcf;color:#4d6252;font-size:11px;line-height:1.3}.court-info-badge .icon{width:14px;height:14px}.court-info-badge.next{background:#fff0e7;border-color:#efc8b0;color:#a34925;font-weight:700}.court-info-badge.next:hover{background:#ffe1cf}.court-info-badge.quiet{color:#6c7b70;background:transparent;border-color:transparent}@media(max-width:720px){.court-info-badge{font-size:11px}.court-info-badge.next{min-height:44px}.plan-court-info{gap:6px}}

/* Information belongs to the court surface, outside its decorative transform. */
.court-visual{position:relative;isolation:isolate}.court-visual .plan-court-info{position:absolute;inset:8px 14px 24px;margin:0;z-index:2;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:5px;pointer-events:none}.court-visual .court-info-badge{pointer-events:auto;border:1px solid #ffffff45;background:#17241fe8;color:#fff;box-shadow:0 3px 9px #182b2833;font-size:10px;padding:6px 9px;line-height:1.3;max-width:100%;border-radius:8px;backdrop-filter:blur(4px)}.court-visual .court-info-badge:first-child{align-self:flex-end}.court-visual .court-info-badge.next{background:#fff9edfa;color:#8e3d21;border-color:#fff8;min-height:34px}.court-visual .court-info-badge.next:hover{background:#fff}.court-visual .court-info-badge.quiet{font-size:9px;background:#17241fcc;color:#e7efdf}.court-visual .court-info-badge .icon{width:12px;height:12px}@media(max-width:720px){.court-visual .plan-court-info{inset:5px 8px 18px}.court-visual .court-info-badge{font-size:9px;padding:5px 7px}.court-visual .court-info-badge.next{min-height:44px}.plan-court{min-width:170px}}

button.climate-measure{display:flex!important;flex-direction:column;align-items:flex-start!important;justify-content:flex-start!important;gap:0!important;text-align:left;border:0;border-radius:0;background:transparent;font:inherit;padding:0!important;min-width:0;width:100%;cursor:pointer}button.climate-measure:hover{background:#f6f8f2}.measure-history{display:flex;align-items:center;gap:4px;font-size:11px;color:#687d69;margin-top:10px}.measure-history .icon{width:13px;height:13px}#climate-history{width:min(850px,calc(100% - 24px));border-radius:18px}#climate-history h2{font-size:clamp(22px,4vw,32px)}#climate-history [aria-pressed=true]{background:var(--ink);color:#fff}.history-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.history-stats span{font-size:12px;color:var(--muted);padding:14px;background:white;border-radius:10px}.history-stats strong{display:block;font-size:24px;color:var(--ink);margin-top:5px}.history-chart{margin:18px 0;background:white;border-radius:12px}.history-chart svg{display:block;width:100%;height:auto}.history-values{max-height:260px;overflow:auto;margin-top:12px}.history-values>div{display:flex;justify-content:space-between;gap:12px;padding:9px;border-bottom:1px solid var(--line);font-size:12px}#climate-history summary{cursor:pointer;min-height:44px;padding:10px 0}@media(max-width:600px){.history-stats{gap:7px}.history-stats span{padding:10px}.history-stats strong{font-size:20px}#climate-history{padding:18px}.history-chart{overflow-x:auto}.history-chart svg{min-width:480px}}
button.climate-measure+button.climate-measure{padding-left:16px!important}@media(max-width:600px){button.climate-measure+button.climate-measure{padding-left:10px!important}}

.datetime-field>button{display:flex;justify-content:flex-start!important;min-height:48px;background:#fff;border:1px solid #bcc5bb;border-radius:9px;padding:12px;width:100%;font-weight:500}.datetime-field>button span{flex:1;text-align:left}.datetime-field>button .icon{color:#73816e}#datetime-modal{width:min(430px,calc(100% - 24px));border-radius:20px;padding:24px}#datetime-modal h2{font-size:25px}.dt-month-nav{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:16px}.dt-week,.dt-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.dt-week{font-size:11px;text-align:center;color:var(--muted);margin-bottom:7px}.dt-days button{border:0;min-height:42px;padding:8px 2px;border-radius:9px}.dt-days button[aria-pressed=true]{background:var(--ink);color:white;font-weight:bold}.dt-days .other-month{color:#9da697}.dt-time{display:grid;grid-template-columns:1fr 10px 1fr;gap:12px;margin-top:22px;align-items:end}.dt-time>span{padding-bottom:12px;text-align:center}.dt-time select{font-size:20px;border-radius:9px;min-height:48px}.dt-zone{font-size:11px;text-align:center}.dt-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}.dt-actions button{min-height:48px}@media(max-width:480px){#datetime-modal{padding:18px}.dt-days button{min-height:44px}}

.plan-court.blocked .court-drawing{background:repeating-linear-gradient(135deg,#65382118 0 10px,#ffffff10 10px 20px),#b78166;box-shadow:0 0 0 9px #b77450,0 0 0 11px #a53928,3px 8px 0 9px #9d6240,5px 18px 18px 7px #384c3430}.court-visual .court-info-badge.blocked{background:#a33425;color:#fff;border-color:#ffbba5}.court-visual .court-info-badge.planned{background:#fff0cf;color:#8e5421;border-color:#ffe8b5}.plan-court.blocked .plan-court-label>span{color:#a33425;font-weight:700}.plan-court.blocked .plan-court-label>span:before{background:#a33425}
/* Active closures illuminate the court perimeter. */
.plan-court.blocked .court-drawing{border-color:#ffd4cb;box-shadow:0 0 0 9px #b77450,0 0 0 12px #e84732,0 0 14px 12px #ef493b66,0 0 30px 17px #e83b302e,3px 8px 0 9px #9d6240,5px 18px 18px 7px #79332b36}.plan-court.blocked .court-info-badge.blocked{box-shadow:0 0 0 1px #ffb0a366,0 3px 12px #b92b2545;background:#b72f24}.plan-court.blocked .plan-court-label>span{color:#ad3025}.plan-court.blocked .plan-court-label>span:before{box-shadow:0 0 8px #e8443280}

.plan-court.closure-planned .court-drawing{border-color:#ffd6ce;box-shadow:0 0 0 9px #c37b55,0 0 0 12px #dc4939,0 0 17px 13px #ef493b45,0 0 30px 18px #e83b3020,3px 8px 0 9px #9d6240,5px 18px 18px 7px #79332b26}.court-visual .court-info-badge.planned{background:#fff0eb;color:#ac3326;border-color:#ef9d8d}.court-visual .court-info-badge.planned .icon{color:#c43e2d}

.customer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));gap:20px}.customer-card svg{width:17px;height:17px;vertical-align:middle}.customer-card .heading,.customer-card .actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.customer-card .heading{justify-content:space-between}.customer-card p{overflow-wrap:anywhere}.customer-card .actions button{font-size:13px}

.climate-analysis{margin-top:20px;padding:22px;border:1px solid #dce2d6;border-radius:20px;background:#f4f6ef}.climate-analysis h3{margin-top:0}.climate-derived{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.climate-derived button{text-align:left;display:flex;flex-direction:column;gap:8px;padding:15px;background:white;min-width:0;border:1px solid #dce2d6;border-radius:12px}.climate-derived strong{font-size:25px}.climate-derived small,.climate-analysis>small{color:#63716d;line-height:1.5}.climate-derived button:last-child{grid-column:1/-1}.climate-analysis p{line-height:1.5}@media(max-width:480px){.climate-derived{grid-template-columns:1fr}}

.settings-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:24px;align-items:start}.settings-grid .panel{margin-bottom:24px}.settings-grid h3{display:flex;gap:10px;align-items:center}.settings-grid h3 svg{width:22px;height:22px}.settings-grid hr{border:0;border-top:1px solid #dde3d7;margin:24px 0}.settings-grid .setting-toggle{display:flex;align-items:center;gap:12px;margin:16px 0}.settings-grid .setting-toggle input{width:20px;min-height:20px;height:20px;accent-color:#fa421f}.settings-status{display:flex;align-items:center;gap:10px;background:#edf2e9;border-radius:12px;padding:14px;margin:18px 0;font-size:14px}.settings-links{display:grid;gap:12px}.settings-links button{justify-content:flex-start}.settings-grid details{margin:18px 0}.settings-grid input[readonly]{font-size:12px}@media(max-width:850px){.settings-grid{grid-template-columns:1fr;gap:0}}

.customer-grid{align-items:start;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr))}.customer-card{border-radius:20px;padding:22px!important;box-shadow:0 5px 20px #15202704;min-width:0}.customer-identity{display:flex;align-items:center;gap:13px;margin-bottom:22px}.customer-avatar{display:flex;align-items:center;justify-content:center;width:46px;height:46px;flex-shrink:0;border-radius:14px;background:#172228;color:#fff;font-weight:700;font-size:17px}.customer-identity h3{margin:0 0 7px;font-size:21px;line-height:1.2}.customer-identity .badge{font-size:11px;padding:5px 9px}.customer-contact{display:grid;gap:9px}.customer-contact p{display:flex;gap:9px;align-items:center;margin:0;font-size:14px;color:#43534e;min-width:0}.customer-contact svg{color:#87958c;flex-shrink:0}.customer-card .muted{font-size:12px}.customer-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;background:#f3f5ee;border:1px solid #e5e9de;border-radius:12px;padding:13px;margin:20px 0}.customer-stats span{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:12px;color:#718074}.customer-stats strong{font-size:16px;color:#152027}.customer-security{display:flex;gap:15px;flex-wrap:wrap;color:#718074;font-size:12px;margin:15px 0}.customer-security span{display:flex;align-items:center;gap:6px}.customer-extra{font-size:12px;color:#6a7b71;margin:15px 0}.customer-extra summary{cursor:pointer}.customer-card .actions{border-top:1px solid #e4e9dd;padding-top:16px;display:grid;grid-template-columns:1fr 1fr;gap:9px}.customer-card .actions button{margin:0;font-size:12px;min-height:40px;padding:9px 10px;border-radius:10px}.customer-card .actions .danger{border-color:#f0d8d1;background:#fff8f5;color:#b74a31}.customer-card .actions button:hover{background:#edf2e9}.customer-card .actions .danger:hover{background:#ffede5}@media(max-width:550px){.customer-card{padding:18px!important}.customer-grid{gap:14px}}

.customer-toolbar{display:grid;grid-template-columns:auto minmax(220px,420px) 1fr;align-items:center;gap:16px;margin-bottom:22px}.customer-toolbar label{margin:0;display:block}.customer-toolbar input,.customer-toolbar>button{height:46px;min-height:46px;margin:0;border-radius:12px}.customer-toolbar input{width:100%}.customer-toolbar .count{text-align:right;white-space:nowrap}.customer-toolbar .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.customer-grid{align-items:stretch}.customer-card{display:flex;flex-direction:column;margin:0}.customer-identity{min-height:60px}.customer-contact{min-height:57px}.customer-card .customer-stats{margin:20px 0 16px}.customer-security{min-height:24px;margin:0 0 12px}.customer-extra{margin:0 0 18px}.customer-card .actions{margin-top:auto;min-height:108px;align-content:start}.customer-card .actions .danger:last-child{grid-column:1/-1}@media(max-width:850px){.customer-toolbar{grid-template-columns:1fr 1fr}.customer-toolbar .count{grid-column:1/-1;text-align:left}}@media(max-width:500px){.customer-toolbar{grid-template-columns:1fr;gap:12px}.customer-toolbar .count{grid-column:auto}.customer-card .actions{min-height:0}}

.series-preview-list{max-height:420px;overflow:auto;margin:20px 0;border:1px solid #dce3d6;border-radius:14px}.series-preview-list label{display:flex;align-items:center;gap:12px;padding:12px;margin:0;border-bottom:1px solid #e4e8dd;font-size:13px}.series-preview-list input{width:20px;min-height:20px;accent-color:#ff421f}.series-preview-list strong{margin-left:auto}.series-preview-list small{color:#758275}@media(max-width:600px){.series-preview-list label{flex-wrap:wrap}.series-preview-list strong{margin-left:0}}
/* Pricing and guided season planning */
.planning-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:24px 0}.planning-toolbar h3{margin:8px 0;font-size:28px}.planning-toolbar p{margin:6px 0}.pricing-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr);gap:24px}.pricing-preview form{display:grid;gap:16px}.price-rule{display:flex;justify-content:space-between;gap:20px;padding:24px 0;border-bottom:1px solid #dce2d7}.price-rule h4{margin:12px 0 6px;font-size:22px}.price-rule p{line-height:1.6}.price-rule>div:last-child{text-align:right}.price-rule strong{font-size:26px;white-space:nowrap}.price-rule strong small{font-size:14px;color:#718079}.price-rule .actions{justify-content:flex-end;margin-top:18px}.quote-total{display:block;font-size:40px;margin:24px 0 12px}.planning-dialog{width:min(900px,calc(100vw - 40px));max-height:calc(100dvh - 48px);padding:0;border:1px solid #d5ddd3;border-radius:24px;overflow:auto}.planning-dialog::backdrop{background:#0e191fcc;backdrop-filter:blur(6px)}.planning-head{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 32px;background:#111d23;color:white;position:sticky;top:0;z-index:2}.planning-head h2{font-size:36px;margin:4px 0}.planning-head .eyebrow{color:#a9bbb9;margin:0}.planning-head button{color:white;background:#ffffff10;border-color:#ffffff40}.planning-body{padding:28px 32px}.planning-steps{display:grid;grid-template-columns:repeat(4,1fr);padding:0;list-style:none;gap:12px;margin:0 0 28px}.planning-steps li{display:flex;align-items:center;gap:8px;color:#718079;font-size:14px;font-weight:700}.planning-steps span{display:grid;place-items:center;flex:0 0 30px;height:30px;border-radius:50%;background:#eef1e8}.planning-steps [aria-current=step]{color:#172229}.planning-steps [aria-current=step] span{background:#ff451e;color:#fff}.planning-actions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap;padding-top:24px;border-top:1px solid #dce2d7;margin-top:24px}.planning-actions button{min-height:48px}.planning-dialog [data-plan-error]{color:#ae3a22}.planning-days{border:0;padding:16px 0;display:flex;gap:10px;flex-wrap:wrap}.planning-days label{display:flex;align-items:center;gap:8px;background:#f2f4ed;border-radius:10px;padding:12px}.planning-summary{background:#f1f4eb;border:1px solid #dce2d7;border-radius:18px;padding:24px;display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:20px}.planning-summary strong{font-size:30px}.planning-summary small,.planning-card-time span,.planning-card-time small{display:block;font-size:14px;color:#718079;font-weight:400;margin-top:8px}.planning-term-list{max-height:340px;overflow:auto;border:1px solid #dce2d7;border-radius:14px}.planning-term-list label{display:flex;align-items:center;gap:14px;padding:14px 18px;border-bottom:1px solid #e4e8df;margin:0}.planning-term-list label>span{flex:1}.planning-term-list small{display:block;color:#718079;margin-top:4px}.planning-term-list .has-conflict{background:#fff2e7}.planning-note{background:#f5f6f0;border-radius:14px;padding:18px;line-height:1.6;color:#64756b;margin:18px 0}.planning-series-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:24px}.planning-series-card{display:flex;flex-direction:column;gap:12px}.planning-series-card h3,.planning-series-card p{margin:0}.planning-card-top{display:flex;align-items:center;justify-content:space-between}.planning-card-time{padding:20px;background:#f2f4ed;border-radius:14px}.planning-card-time strong{font-size:24px}.planning-series-card .actions{margin-top:auto;padding-top:20px}
@media(max-width:720px){.planning-toolbar{align-items:stretch;flex-direction:column;gap:12px}.pricing-layout{grid-template-columns:minmax(0,1fr)}.planning-dialog{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border-radius:0}.planning-head{padding:18px}.planning-body{padding:20px 16px}.planning-steps{gap:6px}.planning-steps li{flex-direction:column;text-align:center;font-size:12px}.planning-summary{padding:18px}.planning-actions{display:grid;grid-template-columns:1fr}.planning-dialog .fields{grid-template-columns:1fr}.price-rule{flex-wrap:wrap}.price-rule>div:last-child{text-align:left}.planning-days{gap:6px}.planning-days label{padding:10px}}

/* Abo-Pakete und flexible Zahlungspläne */
.billing-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 24px}.billing-metrics>div{display:flex;flex-direction:column;gap:10px;padding:22px;border:1px solid #dce2d7;background:#fff;border-radius:18px}.billing-metrics span{font-size:14px;color:#6b7b73}.billing-metrics strong{font-size:30px;line-height:1.2}.billing-card-price strong{display:block;font-size:32px}.billing-card-price small{color:#6b7b73}.billing-progress{height:8px;background:#edf0e7;border-radius:8px;overflow:hidden}.billing-progress span{display:block;height:100%;background:#477561}.billing-card-balance{display:flex;justify-content:space-between;gap:12px;font-size:13px;color:#6b7b73}.billing-card-balance b{display:block;color:#172229;font-size:17px;margin-top:4px}.billing-allocation{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:14px;background:#f2f4ed;padding:18px;border-radius:16px}.billing-rate-editor{display:grid;grid-template-columns:65px minmax(0,1fr) minmax(0,1fr) 48px;gap:16px;align-items:end;padding:20px 0;border-bottom:1px solid #e4e8df}.billing-rate-editor>b{align-self:center}.billing-rate-editor>button{height:48px;padding:10px}.billing-rate-editor label{margin:0}.billing-sum{display:flex;justify-content:space-between;gap:16px;margin:24px 0;background:#f2f4ed;padding:18px;border-radius:14px}.billing-sum span{color:#6b7b73;font-size:14px}.billing-sum strong{display:block;font-size:22px;color:#172229;margin-top:8px}.billing-rate-list{border:1px solid #dce2d7;border-radius:16px;overflow:hidden}.billing-rate-list>div,.billing-history>div{display:flex;gap:20px;align-items:center;justify-content:space-between;padding:18px;border-bottom:1px solid #e4e8df}.billing-rate-list>div:last-child{border-bottom:0}.billing-rate-list strong{font-size:22px}.billing-rate-list small,.billing-history small{display:block;color:#6b7b73;font-size:14px;margin-top:8px;overflow-wrap:anywhere}.billing-rate-list span{min-width:0}.billing-term-details{margin:24px 0}.billing-term-details summary{cursor:pointer;font-weight:700}.billing-history-title{margin-top:30px}.billing-history>div>span{min-width:0}.billing-history button{flex-shrink:0}.billing-dialog .planning-actions{clear:both}
@media(max-width:720px){.billing-metrics{grid-template-columns:1fr;gap:10px}.billing-metrics>div{padding:16px;flex-direction:row;align-items:center;justify-content:space-between}.billing-metrics strong{font-size:23px}.billing-allocation{grid-template-columns:minmax(0,1fr);padding:16px}.billing-rate-editor{grid-template-columns:minmax(0,1fr) 48px;gap:12px}.billing-rate-editor>b{grid-column:1/-1}.billing-rate-editor>label{grid-column:1}.billing-rate-editor>button{grid-column:2;grid-row:3}.billing-rate-list>div{flex-wrap:wrap;gap:14px}.billing-rate-list>div>button{width:100%}.billing-history>div{align-items:flex-start;flex-direction:column;gap:12px}.billing-sum strong{font-size:19px}}

.invoice-preview{display:block;width:100%;height:65vh;min-height:320px;border:1px solid var(--border,#dbe0d7);border-radius:14px;margin-top:24px;background:#f4f4ef}.invoice-preview[hidden]{display:none}.invoice-register{margin:24px 0}.invoice-register-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-top:1px solid #e2e6dd}.invoice-register-row small{display:block;color:#6c7b76}.invoice-register-row a{display:inline-flex;gap:8px;align-items:center;color:#17242a;white-space:nowrap}@media(max-width:600px){.invoice-register-row{align-items:flex-start;flex-direction:column}.invoice-preview{height:52vh}}

.invoice-register-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}.invoice-register-row .badge{margin-left:10px;font-size:12px}.invoice-register-row>div:first-child{min-width:0;overflow-wrap:anywhere}.billing-dialog textarea{display:block;width:100%;padding:14px;border:1px solid #dbe0d7;border-radius:12px;font:inherit;resize:vertical;margin-top:8px}@media(max-width:600px){.invoice-register-actions{width:100%;justify-content:flex-start}.invoice-register-actions button{width:100%}.invoice-register-row .badge{display:inline-flex;margin:8px 0 8px 8px}}
.reminder-preview{margin:24px 0;border:1px solid #dce2d7;border-radius:20px;overflow:hidden;background:white}.reminder-preview-head{padding:24px;background:#10191e;color:white}.reminder-preview-head .eyebrow{color:#ff9b78}.reminder-preview-head h3{margin:12px 0 0;color:white}.reminder-preview-body{padding:24px}.reminder-preview-amount{display:block;color:#b44827;font-size:36px}.reminder-preview-text{white-space:pre-wrap;line-height:1.7;overflow-wrap:anywhere}.reminder-preview-foot{padding:20px;background:#10191e;color:#b3beb9;font-size:12px;text-align:center}@media(max-width:600px){.reminder-preview-head,.reminder-preview-body{padding:18px}.reminder-preview-amount{font-size:30px}}

/* Team access */
.access-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}.access-toolbar h3{margin:8px 0}.access-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:24px}.access-card{display:flex;flex-direction:column;gap:16px}.access-card-head{display:flex;align-items:center;gap:16px}.access-card-head h3,.access-card-head p{margin:0}.access-rights{border-top:1px solid #dce2d6}.access-rights>div{display:flex;justify-content:space-between;gap:18px;padding:12px 0;border-bottom:1px solid #e7ebe2;font-size:14px}.access-rights strong{white-space:nowrap}.access-actions{display:flex;gap:12px;margin-top:auto;padding-top:16px}.access-dialog{width:min(760px,calc(100% - 24px));max-height:calc(100dvh - 32px);overflow:auto}.access-permissions{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:20px 0}.access-permissions select{width:100%;min-height:46px}.access-error{color:#b33b22}[data-view][hidden]{display:none!important}
@media(max-width:720px){.access-toolbar{align-items:stretch;flex-direction:column;gap:12px}.access-grid{grid-template-columns:minmax(0,1fr)}.access-permissions{grid-template-columns:1fr}.access-dialog{padding:20px}.access-actions>*{flex:1}.access-rights>div{font-size:12px}}

.access-dialog .dialog-actions{position:sticky;bottom:-20px;background:#f6f5ef;padding:18px 0;margin-top:20px;border-top:1px solid #dce2d6}
.access-permissions{gap:14px}.access-permissions>label{padding:14px;background:#eeefe8;border:1px solid #e0e4d9;border-radius:15px;gap:10px;font-size:13px;color:#53615b}.access-dialog h3+label{margin-top:14px}.access-dialog .dialog-head>button{border-radius:12px}

#workspace nav .wiki-nav{display:flex;align-items:center;gap:12px;padding:16px 18px;margin-top:12px;border-top:1px solid var(--line);color:var(--ink);text-decoration:none;font-weight:700;border-radius:8px}#workspace nav .wiki-nav:hover{background:#fff}#workspace nav .wiki-nav:focus-visible{outline:3px solid var(--orange);outline-offset:2px}

.door-alarm-preview{display:block;width:100%;height:650px;border:0;margin-top:20px}

.club-count{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;border-radius:99px;background:#ff421f;color:white;font-size:12px;font-weight:700;margin-left:auto}.club-alert{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px;border:1px solid #f1d4ae;border-left:4px solid #ff421f;border-radius:16px;background:#fff3e4;margin-bottom:24px}.club-alert p{font-size:13px;color:#806844;margin:8px 0 0}@media(max-width:650px){.club-alert{flex-direction:column;align-items:stretch}}

#workspace nav .foundation-nav{display:flex;align-items:center;gap:12px;text-align:left;border:0;padding:13px 18px;font-weight:700;font-size:14px;text-decoration:none;border-radius:4px}#workspace nav .foundation-nav:hover{background:#e8ebe4}
