/* Nicky Nails — responsive safeguards across public site, booking flow and private panel. */
html{max-width:100%}
body{min-width:0;max-width:100%}
.container,.admin-view,.booking-layout,.booking-panel,.booking-inner,.service-layout,
.service-menu,.gallery-grid,.experience-layout,.booking-summary,.booking-step,
.admin-layout,.admin-forms,.admin-box,.admin-heading,.fields2,.stat-grid,
.module-heading,.scenario-layout,.loyalty-layout,.ops-form,.ops-fields,
.admin-pane,.agenda-period-controls,.agenda-period-reference{min-width:0}
.admin-view .fields2{grid-template-columns:repeat(2,minmax(0,1fr))}
.admin-view .fields2>*,.admin-view .admin-forms>*,.admin-view .stat-grid>*,
.admin-view .admin-layout>*,.admin-view .loyalty-layout>*,.admin-view .scenario-layout>*{min-width:0;max-width:100%}
.admin-view .field,.admin-view .admin-notice{min-width:0;max-width:100%}
.admin-view .field input,.admin-view .field select,.admin-view .field textarea,
.admin-view input[type="date"],.admin-view input[type="time"],.admin-view input[type="month"],
.admin-view input[type="datetime-local"]{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%}
.admin-view #onlineState{overflow-wrap:anywhere}
.admin-view .admin-tabs{max-width:100%;overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.admin-view .admin-tabs>button{flex:none}
.admin-view .table-wrap{width:100%;max-width:100%;overflow-x:auto}
.admin-view .history-row>*,.admin-view .client-grid-row>*{min-width:0;overflow-wrap:anywhere}
.admin-view .admin-heading #identity{overflow-wrap:anywhere}
.admin-view .admin-forms{grid-template-columns:repeat(2,minmax(0,1fr))}
.admin-view .stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.admin-view .admin-notice{align-self:stretch}
#agenda-app .layout,#agenda-app .panel,#agenda-app .aside,#agenda-app .item-content{min-width:0}
#agenda-app input,#agenda-app select,#agenda-app textarea{max-width:100%;min-width:0}
@media(max-width:1050px){
 .admin-view .stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .admin-view .admin-forms{grid-template-columns:1fr}
}
@media(max-width:700px){
 .admin-page .site-header{height:auto;min-height:var(--header)}
 .admin-page .site-header .nav{min-height:var(--header);height:auto;flex-wrap:wrap;justify-content:space-between;gap:8px 16px;padding-block:12px}
 .admin-page .site-header .eyebrow{font-size:9px;letter-spacing:1px}
 .admin-page .site-header .text-link{font-size:11px;white-space:nowrap}
 .admin-view .admin-heading h1{font-size:clamp(34px,8vw,42px);letter-spacing:-1px}
 .admin-view .admin-heading-actions{flex-wrap:wrap;justify-content:flex-start;gap:12px 20px}
 .admin-view .admin-heading-actions .text-link{white-space:nowrap}
 .admin-view #dashboard>.fields2{grid-template-columns:minmax(0,1fr);gap:14px}
 .admin-view #dashboard>.fields2 .field.compact{width:100%;max-width:none}
 .admin-view #dashboard>.fields2 .admin-notice{width:100%;max-width:none}
 .admin-view .stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .admin-view .admin-box{padding:clamp(15px,4vw,20px)}
 .admin-view .admin-forms{grid-template-columns:minmax(0,1fr)}
 .admin-view .admin-box-heading{flex-wrap:wrap;gap:12px}
 .admin-view .field.compact{max-width:100%}
 .management-dialog{max-width:calc(100vw - 24px)}
 .management-dialog .controls{display:flex;flex-wrap:wrap}
}
@media(max-width:480px){
 .admin-view .fields2{grid-template-columns:minmax(0,1fr);gap:0}
 .admin-view .quote-card .fields2{grid-template-columns:minmax(0,1fr)}
 .admin-view .stat{padding:clamp(12px,3.2vw,16px)}
 .admin-view .stat>strong{font-size:clamp(24px,6vw,30px);overflow-wrap:anywhere}
 .admin-view .stat>small{overflow-wrap:anywhere}
 .admin-page .site-header .brand{width:110px}
 .admin-page .site-header .brand img{width:100%;height:auto;max-height:58px;object-fit:contain}
 .admin-page .site-header .eyebrow{flex:1;text-align:center}
 .admin-page .site-header .text-link{width:100%;text-align:right}
 .admin-view .admin-tabs>button{min-height:45px;padding:12px 14px;font-size:12px}
 .admin-view .client-grid-row{gap:12px}
 .loyalty-layout{grid-template-columns:minmax(0,1fr)}
 .loyalty-card{max-width:100%;transform:none}
 .stamp-grid{gap:clamp(5px,2vw,12px)}
}
@media(max-width:340px){
 .admin-view .stat-grid{grid-template-columns:1fr}
 .admin-page .site-header .eyebrow{display:none}
 .admin-page .site-header .text-link{width:auto}
 .admin-view .admin-heading-actions{flex-direction:column;align-items:flex-start}
}


/* Client-file loyalty card: compact, legible, and easy to share from a phone. */
.loyalty-profile{margin:25px 0 30px;padding:22px;background:#fffdf9;border:1px solid #e2d7d0;border-radius:12px;min-width:0}
.loyalty-profile-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:15px}
.loyalty-profile-heading h3{margin:6px 0 0;font-size:clamp(22px,4.5vw,29px)}
.loyalty-counter{flex:none;font:26px Georgia,serif;color:#733b49}
.loyalty-profile-card{background:#f0e0db;border:1px solid #d7b6b0;border-radius:12px;padding:22px;min-width:0;text-align:center}
.loyalty-profile-logo{display:block;width:min(185px,70%);height:auto;margin:0 auto 5px;object-fit:contain}
.loyalty-profile-name{font:clamp(19px,4vw,25px)/1.2 Georgia,serif;color:#352c2d;margin-bottom:18px;overflow-wrap:anywhere}
.loyalty-profile-stamps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:clamp(7px,1.7vw,16px);width:min(430px,100%);margin:0 auto 18px}
.loyalty-profile-stamps span{aspect-ratio:1;border:1px dashed #b99898;border-radius:50%;display:grid;place-items:center;font-size:clamp(12px,3vw,17px);color:#af737f;background:#fffaf6}
.loyalty-profile-stamps span.filled{background:#733b49;color:#fffaf6;border-style:solid;border-color:#733b49;font-size:clamp(19px,4vw,24px)}
.loyalty-profile-status{font-size:clamp(12px,2.8vw,14px);color:#733b49;font-weight:650}
.loyalty-profile>.privacy-help{margin:14px 0 8px;line-height:1.7}
.loyalty-profile-actions{display:flex;gap:10px 12px;flex-wrap:wrap;align-items:center;margin:18px 0}
.loyalty-profile-actions>.button{min-height:44px;font-size:12px}
.loyalty-profile-actions>.text-link{padding:10px 4px;font-size:12px}
.loyalty-profile-footnote{font-size:11px;color:#796b69;line-height:1.6;margin-top:10px}
@media(max-width:480px){
 .loyalty-profile{padding:14px;margin:20px 0 26px}
 .loyalty-profile-card{padding:15px 10px}
 .loyalty-profile-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .loyalty-profile-actions>.button{width:100%;padding:10px 8px}
 .loyalty-profile-actions>.text-link{text-align:center;min-height:42px}
 .loyalty-profile-actions>#redeemLoyalty{grid-column:1/-1}
}
@media(max-width:350px){.loyalty-profile-actions{grid-template-columns:1fr}.loyalty-profile-actions>#redeemLoyalty{grid-column:1}}


/* Narrow dialogs and less-common panel modules must not reintroduce two rigid columns. */
@media(max-width:700px){
 .admin-view .quote-card .fields2{grid-template-columns:minmax(0,1fr)}
 .admin-view .scenario-layout,.admin-view .loyalty-layout{grid-template-columns:minmax(0,1fr)}
 .admin-view .module-heading,.admin-view .forecast-intro{min-width:0}
}
@media(max-width:480px){
 .admin-view .scenario-inputs{grid-template-columns:minmax(0,1fr)}
 .admin-view .scenario-metrics{grid-template-columns:minmax(0,1fr)}
 .admin-view .agenda-period-controls{grid-template-columns:minmax(0,1fr)}
 .admin-view .agenda-period-reference{width:100%;max-width:100%}
}


/* 2026-11-16: iOS Safari native date/month/time sizing and every panel form */
.admin-page,.admin-page main,.admin-page section,.admin-page article,.admin-page form,
.admin-page .admin-box,.admin-page .admin-forms,.admin-page .fields2,
.admin-page .fields2>.field,.admin-page .field,.admin-page .ops-fields,
.admin-page .ops-fields>label,.admin-page .ops-hours-row>label,
.admin-page .scenario-inputs>.field,.admin-page .management-dialog,
.admin-page .management-dialog #managementBody,.admin-page .loyalty-profile{
  box-sizing:border-box;
  min-inline-size:0;
  max-inline-size:100%;
}
.admin-page #dashboard>.fields2,.admin-page .admin-forms{
  width:100%;
  max-width:100%;
  min-width:0;
  grid-auto-columns:minmax(0,1fr);
}
.admin-page .admin-forms>.admin-box{width:100%;min-width:0;max-width:100%;}
.admin-page .admin-forms .fields2,
.admin-page .admin-forms form>.fields2,
.admin-page .management-dialog .fields2{width:100%;min-width:0;max-width:100%;}
.admin-page .field input,
.admin-page .field select,
.admin-page .field textarea,
.admin-page .ops-fields input,
.admin-page .ops-hours-row input,
.admin-page #opsDayForm input,
.admin-page #opsDayForm select{
  box-sizing:border-box!important;
  display:block;
  inline-size:100%;
  max-inline-size:100%!important;
  min-inline-size:0!important;
  max-width:100%!important;
  min-width:0!important;
}
.admin-page input[type="date"],
.admin-page input[type="time"],
.admin-page input[type="month"]{
  box-sizing:border-box!important;
  inline-size:100%;
  min-inline-size:0!important;
  max-inline-size:100%!important;
  font-size:16px;
  padding-inline:10px;
}
.admin-page input::-webkit-datetime-edit,
.admin-page input::-webkit-date-and-time-value{
  min-width:0;
  max-width:100%;
  text-align:left;
}
.admin-page .admin-forms .fields2>label{min-inline-size:0;max-inline-size:100%}
.admin-page .admin-tabs{scroll-snap-type:x proximity}
.admin-page .admin-tabs>button{scroll-snap-align:start}
.admin-page .admin-box .mini-check{max-width:100%;overflow-wrap:anywhere}
.admin-page .admin-table-actions{min-width:0;max-width:100%;flex-wrap:wrap}
.admin-page .admin-table-actions button{white-space:normal;max-width:100%}
.admin-page .item-top{min-width:0;flex-wrap:wrap;gap:8px}
.admin-page .item-top>strong{overflow-wrap:anywhere;min-width:0}
.admin-page .destructive-action,.admin-page .danger-action{color:#983e48;border:1px solid #c9a0a4;background:#fff9f7}
.admin-page .destructive-action{padding:7px 12px;border-radius:4px;font-size:11px;min-height:36px}
.admin-page .destructive-action:hover,.admin-page .danger-action:hover{background:#f6e4e3}
.admin-page .loyalty-profile-stamps{grid-template-columns:repeat(5,minmax(0,1fr))}
/* Column count as classes: CSP style-src 'self' blocks inline style attributes. */
.admin-page .loyalty-profile-stamps.stamp-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.admin-page .loyalty-profile-stamps.stamp-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-page .loyalty-profile-stamps.stamp-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-page .loyalty-profile-stamps.stamp-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.admin-page .loyalty-profile-stamps.stamp-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}
.admin-page .loyalty-profile-reward{display:flex;align-items:baseline;justify-content:center;gap:9px;flex-wrap:wrap;color:#733b49;margin:0 auto 14px}
.admin-page .loyalty-profile-reward strong{font-size:clamp(26px,6vw,34px)}
.admin-page .loyalty-profile-reward span{font-size:clamp(13px,2.4vw,16px)}
.admin-page .management-dialog{width:min(760px,calc(100vw - 24px));max-width:calc(100vw - 24px)}
@media(max-width:1280px){
 .admin-page .admin-forms{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:800px){
 .admin-page .admin-forms .fields2{grid-template-columns:minmax(0,1fr)}
 .admin-page #dashboard>.fields2{grid-template-columns:minmax(0,1fr)}
 .admin-page .agenda-period-controls{grid-template-columns:minmax(0,1fr)}
 .admin-page .agenda-period-reference{width:100%;max-width:100%}
}
@media(max-width:700px){
 .admin-page .admin-forms .admin-box{padding:clamp(12px,4vw,21px)}
 .admin-page .admin-box input[type="date"],.admin-page .admin-box input[type="time"]{font-size:16px}
 .admin-page .admin-forms .fields2{grid-template-columns:minmax(0,1fr)!important}
 .admin-page .ops-form .ops-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
 .admin-page .ops-form .ops-fields>label{min-width:0}
}
@media(max-width:480px){
 .admin-page .ops-form .ops-fields,.admin-page #opsDayForm .ops-fields{grid-template-columns:minmax(0,1fr)}
 .admin-page .ops-hours-row{grid-template-columns:repeat(2,minmax(0,1fr))}
 .admin-page .scenario-metrics{grid-template-columns:minmax(0,1fr)}
 .admin-page .admin-heading-actions{flex-direction:row;flex-wrap:wrap}
 .admin-page #dashboard .fields2{grid-template-columns:minmax(0,1fr)}
}


/* Nicky Nails — private first-party traffic statistics, responsive and accessible. */
.admin-view .analytics-heading{align-items:center;gap:16px;flex-wrap:wrap}
.admin-view .analytics-heading>.field{width:min(215px,100%);min-width:0}
.admin-view .analytics-stats{margin-top:20px;grid-template-columns:repeat(3,minmax(0,1fr))}
.admin-view .analytics-stats>.stat{min-width:0;overflow-wrap:anywhere}
.admin-view .analytics-stats>.stat strong{font-size:clamp(25px,3vw,38px);line-height:1.15;font-variant-numeric:tabular-nums}
.admin-view .analytics-two-columns{margin:28px 0 17px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.admin-view .analytics-subcard{min-width:0;border:1px solid #e1d4cd;background:#fffdfb;padding:21px;border-radius:9px}
.admin-view .analytics-subcard h3{font:400 clamp(22px,2.5vw,30px)/1.2 var(--serif);color:#4a3039;margin:0 0 19px}
.admin-view .analytics-row{display:grid;grid-template-columns:minmax(86px,1fr) minmax(0,2fr) auto;align-items:center;gap:11px;min-height:32px;font-size:12px}
.admin-view .analytics-row-label{min-width:0;overflow-wrap:anywhere;color:#69545a}
.admin-view .analytics-row>strong{color:#673a4a;font-variant-numeric:tabular-nums;font-size:12px}
.admin-view .analytics-track{width:100%;height:10px;background:#f2e7e4;border-radius:12px;overflow:hidden}
.admin-view .analytics-bar{display:block;height:100%;background:#a87283;border-radius:12px}
.admin-view .analytics-clarification{font-size:12px;line-height:1.8;color:#7a656b;border-top:1px solid #e5d8d1;margin:24px 0 8px;padding-top:18px}
@media(max-width:900px){.admin-view .analytics-two-columns{grid-template-columns:1fr}.admin-view .analytics-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:490px){.admin-view .analytics-heading>.field{width:100%}.admin-view .analytics-subcard{padding:15px 12px}.admin-view .analytics-row{grid-template-columns:minmax(76px,.95fr) minmax(0,1.8fr) auto;gap:7px;font-size:11px}.admin-view .analytics-stats>.stat strong{font-size:clamp(22px,5.6vw,29px)}}
@media(max-width:320px){.admin-view .analytics-stats{grid-template-columns:1fr}}


/* Retained Nov 17–18 Netlify page requests. Historical requests ≠ distinct visitors. */
.admin-view .analytics-history{margin-top:26px;padding:23px;border:1px solid #dbc8c4;border-radius:10px;background:#fcf6f3;min-width:0}
.admin-view .analytics-history-head{display:flex;align-items:start;justify-content:space-between;gap:18px 26px;flex-wrap:wrap;margin-bottom:20px}
.admin-view .analytics-history-head>div{min-width:0}
.admin-view .analytics-history-head .eyebrow{color:#945f70;font-size:10px;letter-spacing:1.1px;margin-bottom:7px}
.admin-view .analytics-history-head h3{font:400 clamp(23px,2.8vw,32px)/1.2 var(--serif);color:#4a3039;margin:0}
.admin-view .analytics-history-head>p{font-size:12px;line-height:1.75;color:#79636b;max-width:430px;margin:0}
.admin-view .analytics-history-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;min-width:0}
.admin-view .analytics-history-day{min-width:0;padding:18px;border:1px solid #e4d4d0;border-radius:9px;background:#fffdfb}
.admin-view .analytics-history-day-top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:5px 12px;margin:0 0 15px}
.admin-view .analytics-history-day-top h4{font:400 23px/1.2 var(--serif);margin:0;color:#50323e}
.admin-view .analytics-history-day-top span{font-size:10px;color:#916b76;border:1px solid #e7d5d1;padding:5px 7px;border-radius:6px}
.admin-view .analytics-history-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:0 0 15px}
.admin-view .analytics-history-metrics>div{min-width:0;border:1px solid #eee0dc;background:#fff9f6;padding:12px 10px;border-radius:7px}
.admin-view .analytics-history-metrics small{display:block;font-size:10px;line-height:1.45;color:#836c73}
.admin-view .analytics-history-metrics strong{display:block;font-size:clamp(23px,2.5vw,33px);color:#713d4f;font-variant-numeric:tabular-nums;margin-top:6px}
.admin-view .analytics-history-browser{font-size:11px;line-height:1.7;color:#5e4752;margin:0 0 8px}
.admin-view .analytics-history-cut{font-size:10px;line-height:1.65;color:#8b757c;margin:0}
@media(max-width:800px){.admin-view .analytics-history-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:480px){.admin-view .analytics-history{padding:14px}.admin-view .analytics-history-day{padding:13px}.admin-view .analytics-history-metrics strong{font-size:27px}}
