/* Dedicated touch layouts for Horarios KG: phone, tablet and landscape. */
.mobile-dock,.sidebar-close,.mobile-calendar-agenda,.mobile-calendar-hint,.mobile-day-indicator{display:none}
.responsive-filter-details,.responsive-filter-fields{display:contents}
.responsive-filter-details>summary{display:none}
@media(max-width:1180px){
 :root{--touch-gap:18px}
 .app-header{position:sticky;top:0;z-index:30;background:#fff;height:68px}
 main{padding:24px 24px 0;min-width:0}
 button,input,select,textarea,.primary,.secondary,.icon-btn{touch-action:manipulation}
 input,select,textarea{font-size:16px;min-height:48px;max-width:100%}
 .primary,.secondary,.icon-btn{min-height:48px}
 .panel,.card{border-radius:14px}
 .panel-head,.card-heading{align-items:flex-start;flex-wrap:wrap;gap:14px;padding:20px}
 .panel-head>.actions{width:100%;display:flex;flex-wrap:wrap;gap:10px}
 .panel-head>.actions>button{flex:1 1 180px}
 .page-heading h1{font-size:28px;overflow-wrap:anywhere}
 .heading-actions .date,.mode{display:none}
 .schedule-workspace{grid-template-columns:minmax(0,1fr)}
 .schedule-aside{grid-template-columns:repeat(2,minmax(0,1fr))}
 .shop-tile-grid,.companies-directory{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
 .company-directory-card,.shop-tile{border-radius:14px}
 .connection-grid,.store-summary-grid,.generic-prompts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .voice-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:20px}
 .voice-search{grid-column:1/-1}
 .voice-filters label,.store-closure-filters label,.audit-filters label{min-width:0}
 .voice-filters select{width:100%;font-size:16px}
 .voice-row{grid-template-columns:minmax(0,1fr);gap:18px;padding:22px}
 .voice-row-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:12px;width:100%;min-width:0}
 .voice-row-actions>audio,.voice-row-actions>.voice-usage-state{grid-column:1/-1}
 audio{width:100%;max-width:100%;min-width:0;min-height:48px}
 .voice-row-actions audio{width:100%}
 .voice-usage-state .pill{white-space:normal}
 .calendar-layout{grid-template-columns:minmax(0,1fr);gap:20px}
 .calendar-layout>.upcoming{display:block}
 .upcoming{padding:20px}
 .upcoming .upcoming-item{min-height:80px;padding:16px 0}
 .calendar-filter{padding:18px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .calendar-filter>select{width:100%;max-width:none;min-height:48px;font-size:15px}
 .calendar-filter .segmented{justify-self:end;margin:0;min-height:48px}
 .calendar-day{min-height:100px;min-width:0;padding:6px}
 .day-event{min-height:32px;font-size:12px;padding:6px;white-space:normal;overflow-wrap:anywhere}
 .calendar-toolbar{gap:14px;padding:18px}
 .store-sticky-header{top:68px;padding:12px 0 0;background:var(--page)}
 .store-page-tabs{gap:8px;padding:0 0 10px;scrollbar-width:thin}
 .store-page-tabs button{min-height:52px;padding:12px 15px;flex:1}
 .store-edit-form>section{padding:22px;border-radius:14px}
 .store-edit-form .week-day{grid-template-columns:130px minmax(0,1fr);gap:12px;padding:18px 0}
 .store-edit-form .week-day>.add-day{grid-column:2;justify-self:start}
 .time-pair{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) 44px;gap:8px;max-width:100%}
 .store-closure-cards>article{padding:20px;gap:16px;flex-wrap:wrap}
 .store-closure-cards>article>.actions{width:100%;justify-content:flex-start}
 .audit-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:20px;gap:16px}
 .audit-search{grid-column:1/-1}
 .audit-pagination{flex-wrap:wrap;gap:16px;padding:20px}
 .audit-pagination .actions{margin-left:auto}
 .table-wrap table{font-size:14px}
 td{padding:16px}
 td strong{font-size:15px}td small{font-size:13px}
 .person-cell{min-width:0}
 .inventory-load,.generic-link-summary,.generic-composer-heading,.closure-audio-heading{flex-wrap:wrap}
 .import-comparison,.source-comparison,.plan-layout{grid-template-columns:minmax(0,1fr)}
 .detail-row{gap:14px;font-size:14px;overflow-wrap:anywhere}
 .dialog-body{padding:24px}.dialog-heading{padding:20px 24px}
 .dialog-footer .primary,.dialog-footer .secondary{font-size:16px;min-height:48px}
 .local-notice,.field-note{font-size:14px;line-height:1.65;overflow-wrap:anywhere}
}
@media(min-width:701px) and (max-width:1180px){
 .sidebar{width:104px}.workspace{margin-left:104px}
 .sidebar .brand{height:68px;justify-content:center;padding:0}.sidebar .brand img{width:40px}
 .sidebar .brand>span,.sidebar .nav-caption,.sidebar .nav-rule,.sidebar .sidebar-foot{display:none!important}
 .sidebar nav{padding:12px 8px}.sidebar .nav{display:flex;flex-direction:column;justify-content:center;gap:7px;min-height:78px;padding:10px 4px;text-align:center;font-size:11px;line-height:1.3;margin:4px 0;border-radius:10px}
 .sidebar .nav>span:last-child{display:block!important}.sidebar .nav svg{width:24px;height:24px}
 .identity{font-size:12px;max-width:190px}.app-header{padding:0 24px}.breadcrumb-section{display:none}
 .overview-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-strip>div:nth-child(2){border-right:0}.overview-strip>div:nth-child(-n+2){border-bottom:1px solid var(--line)}
 .store-page .shop-page-toolbar{flex-wrap:wrap}.shop-page-toolbar #shop-page-status{max-width:50%;font-size:13px}
 .store-page-tabs button{flex-direction:column;font-size:13px;gap:6px;min-height:64px}
 .generic-prompts-grid{gap:14px}.store-edit-form .generic-prompt-card{padding:18px}
 .calendar-filter .segmented button{min-height:46px;padding:10px 16px}
 .store-closure-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:701px) and (max-width:900px){
 .shop-tile-grid,.companies-directory,.connection-grid,.store-summary-grid,.generic-prompts-grid{grid-template-columns:minmax(0,1fr)}
 .header-right .identity{display:none}.cards{grid-template-columns:1fr}
}
@media(max-width:700px){
 :root{--mobile-header:64px;--dock-height:72px}
 body{font-size:16px;background:#f3f5f7}
 .workspace{margin-left:0;min-width:0}
 .app-header{height:var(--mobile-header);padding:0 14px;gap:8px;z-index:32}
 .mobile-menu{display:inline-flex;min-width:44px;min-height:44px}
 .breadcrumb{font-size:15px;min-width:0;overflow:hidden}.breadcrumb>strong{white-space:nowrap}.breadcrumb-section{display:none}
 .header-right{gap:4px}.header-right .identity,.header-right .mode{display:none}.avatar{width:32px;height:32px}.header-right #logout{min-width:40px}
 main{padding:22px 16px calc(var(--dock-height) + 24px + env(safe-area-inset-bottom));min-height:calc(100dvh - 64px);width:100%}
 .page-heading{margin-bottom:22px;align-items:flex-start;gap:10px}
 .page-heading>div:first-child{min-width:0;flex:1}.page-heading h1{font-size:27px;letter-spacing:-.8px;line-height:1.18;margin:6px 0 10px}
 .page-heading p{font-size:14px;line-height:1.6}.page-heading .eyebrow{font-size:10px;letter-spacing:1.2px}
 .heading-actions .secondary{border-radius:12px;min-width:44px;min-height:44px;padding:10px;font-size:0}
 .sidebar{width:min(320px,calc(100vw - 36px));height:100dvh;max-height:100dvh;z-index:101;transform:translateX(-110%);transition:transform .2s ease;visibility:hidden;border-radius:0 20px 20px 0;padding-bottom:env(safe-area-inset-bottom)}
 body.menu-open .sidebar{transform:translateX(0);visibility:visible}
 .sidebar-close{display:flex;position:absolute;top:13px;right:12px;color:white;z-index:2}
 .sidebar .brand{height:76px;padding:0 22px}.sidebar .brand img{width:40px}.sidebar .brand>span{display:block;font-size:12px}
 .sidebar nav{padding:18px 12px}.sidebar .nav{min-height:52px;font-size:16px;gap:14px;padding:14px;border-radius:10px}.sidebar .nav>span:last-child{display:block!important}
 .sidebar .nav-caption{font-size:11px}.sidebar .sidebar-foot{padding:16px 22px}.sidebar .nav-rule{margin:16px 12px}
 .navigation-shade:not([hidden]){display:block;position:fixed;inset:0;background:#10253480;border:0;z-index:100;backdrop-filter:blur(3px)}
 body.menu-open{overflow:hidden}
 .mobile-dock{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:40;align-items:stretch;justify-content:space-around;gap:2px;padding:7px 8px calc(7px + env(safe-area-inset-bottom));min-height:var(--dock-height);background:#fff;border-top:1px solid #dce3e8;box-shadow:0 -5px 25px #263b4910}
 .mobile-dock button{flex:1;min-width:0;min-height:56px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;border:0;background:transparent;border-radius:12px;color:#617582;font-size:10px;font-weight:600;padding:7px 2px}
 .mobile-dock svg{width:22px;height:22px}.mobile-dock button.selected{background:#eaf1f5;color:#213b4b}.mobile-dock button.selected svg{stroke-width:2.1}
 body:has(dialog[open]) .mobile-dock{visibility:hidden}
 .panel,.card{border-radius:16px;box-shadow:0 3px 12px #1e374006}
 .panel-head,.card-heading{padding:18px;gap:14px;flex-direction:column;align-items:stretch}
 .panel-head h2{font-size:20px}.panel-head p{font-size:14px;line-height:1.55}
 .panel-head>.primary,.panel-head>.secondary{width:100%}.panel-head .actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
 .panel-head .actions>button{font-size:14px;padding:12px 9px;min-width:0}.panel-head .actions>#voice-new{grid-column:1/-1}
 .primary,.secondary{min-height:48px;padding:12px 16px;border-radius:10px;font-size:15px;line-height:1.4}
 .text-btn,.danger-text{min-height:44px;font-size:14px;padding:10px 4px}
 input,select,textarea{font-size:16px!important;min-height:48px;border-radius:10px;padding:12px;min-width:0;max-width:100%;width:100%}
 input[type=checkbox]{width:22px;height:22px;min-height:22px;flex:none}label{font-size:14px;line-height:1.5}
 .pill{font-size:12px;white-space:normal;max-width:100%;line-height:1.4}.counter{font-size:13px}
 .section-gap{margin-top:18px}.card{padding:18px}.section-icon{border-radius:12px}
 .overview-strip{border-radius:16px;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:18px}.overview-strip>div{padding:16px 12px;grid-template-columns:28px 1fr;gap:5px 9px}.overview-strip>div>span{width:28px;height:28px;border-radius:8px}.overview-strip>div>small{font-size:12px}.overview-strip strong{font-size:26px}
 .workspace-actions{gap:10px}.workspace-actions>.primary{font-size:16px}.workspace-actions>.secondary{font-size:14px}
 .schedule-aside,.shop-tile-grid,.companies-directory,.connection-grid,.store-summary-grid,.generic-prompts-grid,.cards,.voice-layout{grid-template-columns:minmax(0,1fr)}
 .shop-tile-grid,.companies-directory{padding:16px;gap:16px}.shop-tile-heading h3{font-size:18px}.shop-tile-heading>div{min-width:0}.shop-tile-heading>.pill{margin-left:0}.shop-tile-heading{gap:12px}.shop-tile-body{padding:0 16px 18px}.shop-fact strong{font-size:15px}.weekly-glance{font-size:15px}.setup-checks{font-size:12px;padding:13px 16px}.shop-tile-actions{gap:10px;padding:14px}.shop-tile-actions .primary,.shop-tile-actions .secondary{font-size:14px;min-height:48px}
 .directory-toolbar{padding:0 16px 16px;gap:12px}.directory-toolbar select{font-size:16px;max-width:100%;flex-basis:100%}.directory-toolbar .search-box{width:100%;min-width:0}
 .company-directory-card{padding:20px}.company-directory-body strong{font-size:17px}.company-directory-body small{font-size:13px}.company-open{font-size:13px}
 .catalog-origin{display:flex;flex-wrap:wrap}.catalog-origin>div{min-width:0}.catalog-origin .secondary{margin-left:0;width:100%}
 .company-page-tools{flex-wrap:wrap;gap:12px}.company-page-tools>.secondary{min-height:48px}
 .voice-library-summary{padding:16px;gap:12px;display:flex;flex-wrap:wrap;font-size:13px}.voice-library-summary b{font-size:20px}
 .voice-filters,.store-closure-filters,.audit-filters{display:grid;grid-template-columns:minmax(0,1fr);padding:16px;gap:14px;border-top:1px solid #e2e8ec;background:#f9fbfc}
 .voice-search,.store-closure-search,.audit-search{grid-column:1/-1;margin:0!important}.voice-search input,.store-closure-search input{margin-bottom:0}
 .responsive-filter-details{display:block;grid-column:1/-1;background:white;border:1px solid #d4dfe5;border-radius:12px;min-width:0;overflow:hidden}
 .responsive-filter-details>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;cursor:pointer;padding:12px 14px;font-size:14px;font-weight:600;color:#344f60;list-style:none}
 .responsive-filter-details>summary::-webkit-details-marker{display:none}.filter-disclosure-icon{font-size:23px;line-height:1}.responsive-filter-details[open] .filter-disclosure-icon{transform:rotate(180deg)}
 .responsive-filter-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:16px 12px;border-top:1px solid #e1e8ed;min-width:0}
 .responsive-filter-fields>label{margin:0!important;min-width:0;display:flex;flex-direction:column;gap:8px}
 .voice-filters .responsive-filter-fields>label:nth-child(3),.voice-filters .responsive-filter-fields>label:nth-child(4){grid-column:1/-1}
 .responsive-filter-fields>.store-closure-filter-bar,.responsive-filter-fields>.audit-filter-buttons,.responsive-filter-fields>small,.responsive-filter-fields>p{grid-column:1/-1;min-width:0}
 .responsive-filter-fields .audit-filter-buttons{display:flex;gap:10px}.responsive-filter-fields .audit-filter-buttons button{flex:1}
 .store-closure-filter-bar{flex-wrap:wrap;font-size:14px;gap:8px}.store-closure-filter-bar .text-btn{margin-left:auto}
 .voice-scope-note{padding:14px 16px 0;font-size:12px;line-height:1.6}.voice-results-bar{padding:12px 16px;gap:10px;flex-wrap:wrap;font-size:14px}
 .voice-row{padding:20px 16px;display:block}.voice-row-main{min-width:0}.voice-row-title{gap:12px;align-items:flex-start}.voice-row-title h3{font-size:18px;line-height:1.4;overflow-wrap:anywhere}.voice-row-title small{font-size:12px;line-height:1.6}.voice-row-main .section-icon{width:36px;height:36px;flex:none}
 .voice-owner-summary,.voice-excerpt{font-size:14px;line-height:1.65;overflow-wrap:anywhere}.voice-assignments summary{font-size:14px;padding:12px 0;min-height:44px}.voice-filename{font-size:12px;overflow-wrap:anywhere}
 .voice-row-actions{margin-top:16px;display:flex;flex-direction:column;align-items:stretch;gap:10px}.voice-row-actions>button,.voice-row-actions>a{width:100%;justify-content:center}.voice-row-actions>audio{width:100%;height:48px}.voice-usage-state{margin:0}.voice-usage-state .pill{width:100%;justify-content:center;padding:9px;font-size:12px}
 .calendar-top{align-items:stretch;flex-direction:column;gap:14px}.calendar-top h2{font-size:20px}.calendar-top>button{width:100%}
 .calendar-filter{grid-template-columns:1fr;gap:12px;padding:16px}.calendar-filter select{font-size:16px;max-width:none;width:100%}.calendar-filter .segmented{display:flex;justify-self:stretch;width:100%;margin:0;gap:4px;padding:4px;border-radius:12px;background:#eaf0f4}.calendar-filter .segmented button{flex:1;min-height:46px;font-size:15px;padding:10px;border-radius:9px}
 .calendar-toolbar{padding:16px;display:grid;grid-template-columns:1fr;gap:14px}.month-controls{width:100%;justify-content:space-between;gap:6px}.month-controls h2{min-width:0;flex:1;text-align:center}.month-picker-toggle{font-size:18px;min-height:48px;padding:10px 12px;width:100%;border-radius:10px}.month-controls>.icon-btn{background:#f2f6f8;border:1px solid #e0e7ec;min-width:42px;min-height:48px}
 .calendar-toolbar-actions{width:100%;justify-content:space-between;margin:0;gap:12px;flex-wrap:nowrap}.calendar-toolbar .calendar-legend{font-size:13px;gap:14px}.calendar-toolbar .calendar-legend .legend-dot{width:12px;height:12px}.calendar-toolbar-actions #month-today{font-size:14px;min-height:44px;padding:9px 15px}
 .weekdays{padding:0 7px;background:#f8fafc}.weekdays>div{font-size:10px;padding:12px 0;color:#607480}
 .month-grid{padding:6px 7px 10px;gap:3px;background:white;border:0;grid-template-columns:repeat(7,minmax(0,1fr))}
 .calendar-day{min-height:58px;border:0!important;border-radius:10px;position:relative;padding:0;display:flex;align-items:center;flex-direction:column;gap:0;background:#f5f8fa;min-width:0}.calendar-day.weekend{background:#eef3f6}.calendar-day.outside{opacity:.45}.calendar-day.selected-date{box-shadow:inset 0 0 0 2px #446e87;background:#e9f0f5}
 .calendar-day .day-number{display:grid;place-items:center;width:100%;min-width:0;min-height:42px;height:42px;margin:0;border-radius:10px;color:#2d4656;font-size:15px}.calendar-day .day-number.today{background:#263f50;color:white;box-shadow:none}
 .calendar-day .day-event,.calendar-day .event-more{display:none}.mobile-day-indicator{display:block;position:absolute;bottom:3px;font-size:11px;line-height:1;color:#8b6a26;font-weight:600;pointer-events:none}
 .mobile-calendar-hint{display:block;padding:0 16px 16px;color:#647984;font-size:12px;line-height:1.6}
 .mobile-calendar-agenda{display:block;scroll-margin-top:80px}.mobile-calendar-agenda>.panel-head{flex-direction:row;align-items:center;padding:18px 16px;gap:10px}.mobile-calendar-agenda .panel-head h2{font-size:20px}.mobile-calendar-agenda .panel-head .text-btn{font-size:12px;max-width:95px;flex:none}
 .agenda-day{padding:16px;border-top:1px solid #e2e8ec}.agenda-day-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}.agenda-day h3{font-size:15px;text-transform:capitalize}.agenda-day-heading .text-btn{font-size:13px;gap:4px}.agenda-event{display:flex;align-items:flex-start;flex-direction:column;gap:6px;width:100%;padding:16px;background:#faf6ec;border:1px solid #e6dcc0;border-left:4px solid #b1964e;border-radius:12px;margin-bottom:10px;text-align:left;color:#344b59}.agenda-event.vacation{background:#eff4fc;border-color:#d8e3f4;border-left-color:#6282b3}.agenda-event.exception{background:#fcf0f1;border-color:#efdbde;border-left-color:#ab6370}.agenda-event strong{font-size:16px;line-height:1.45;overflow-wrap:anywhere}.agenda-event>span{font-size:13px;overflow-wrap:anywhere}.agenda-event small{font-size:12px;line-height:1.5}.agenda-event .agenda-open{display:flex;align-items:center;gap:5px;margin-top:5px;font-size:13px;font-weight:600}.agenda-open svg{width:14px;height:14px}.agenda-empty{padding:16px;color:#607480;font-size:14px;line-height:1.65}
 .calendar-layout>.upcoming{display:block;padding:18px}.upcoming h2{font-size:20px}.upcoming .upcoming-item{width:100%;text-align:left}.upcoming .upcoming-item strong{font-size:16px}.upcoming .upcoming-item small{font-size:13px}
 .table-wrap{overflow:visible}.responsive-table,.responsive-table tbody{display:block;width:100%}.responsive-table thead{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
 .responsive-table tbody{padding:0 16px 16px;background:#f8fafb}.responsive-table tbody tr{display:block;border:1px solid #dce4e9;border-radius:12px;margin-top:14px;padding:8px 14px;background:white;box-shadow:0 2px 6px #23405004}
 .responsive-table tbody td{display:block;width:100%;border:0;padding:10px 0;font-size:14px;overflow-wrap:anywhere;min-width:0;color:#3c5564}.responsive-table tbody td+td{border-top:1px solid #edf1f4}.responsive-table tbody td[data-label]::before{content:attr(data-label);display:block;font-size:10px;font-weight:600;color:#6d808d;letter-spacing:.7px;margin-bottom:6px}.responsive-table td strong{font-size:15px}.responsive-table td small{font-size:13px}.responsive-table td .primary,.responsive-table td .secondary{min-height:46px;width:100%;font-size:14px}.responsive-table td .danger-text{display:block;margin:6px auto 0}.responsive-table td[colspan]{text-align:center}
 .person-cell{min-width:0}.person-cell strong{max-width:none}.table-footer{font-size:12px;padding:16px;flex-wrap:wrap;gap:8px}.schedule-label{font-size:14px;line-height:1.65}
 .shop-trail{font-size:12px;gap:6px;line-height:1.5;margin-bottom:14px}.shop-trail button{font-size:12px;min-height:40px;max-width:100%;overflow-wrap:anywhere}.shop-trail>span{display:none}
 .store-page main{padding-bottom:calc(160px + env(safe-area-inset-bottom))}.store-sticky-header{position:sticky;top:64px;padding:8px 0 0;z-index:20;margin:0 0 18px;border-bottom:1px solid #dbe4ea;background:#f3f5f7}
 .shop-page-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.shop-page-toolbar #shop-back{min-height:44px;font-size:13px;padding:10px 12px}.shop-page-toolbar #shop-page-status{margin-left:auto;max-width:50%}.shop-page-toolbar #shop-page-status .pill{font-size:11px;padding:6px}
 .store-page #save-shop{position:fixed;right:16px;bottom:calc(var(--dock-height) + 12px + env(safe-area-inset-bottom));z-index:39;min-height:48px;max-width:calc(100vw - 32px);padding:12px 20px;border-radius:14px;box-shadow:0 5px 20px #1d354030;font-size:15px}
 body:has(dialog[open]) #save-shop{visibility:hidden}
 .shop-save-status{font-size:12px;min-height:0;margin:8px 0 10px;line-height:1.5}.store-page-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;padding:0 0 8px;overflow:visible;border:0}.store-page-tabs button{display:flex;flex-direction:column;gap:5px;min-width:0;min-height:60px;font-size:11px;padding:8px 2px;border-radius:10px;white-space:normal;text-align:center;line-height:1.25}.store-page-tabs svg{width:21px;height:21px}
 .store-summary-grid{gap:14px}.store-summary-grid .card{padding:20px;gap:12px}.store-summary-grid h2{font-size:20px}.store-summary-grid .secondary{width:100%}
 .store-edit-form>section{padding:18px;border-radius:16px}.store-edit-form .section-intro h3{font-size:21px}.section-intro p{font-size:14px;line-height:1.65}
 .week-tools{display:flex;flex-wrap:wrap;gap:10px}.week-tools>button{width:100%}.week-tools>span{font-size:12px}
 .store-edit-form .week-day,.week-day{display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:18px 0;border-top:1px solid #e1e8ed}.day-toggle{display:flex;gap:12px;align-items:center;margin:0;font-size:16px}.day-toggle strong{font-size:16px}.day-closed{font-size:13px;margin-left:auto}.day-times{width:100%;min-width:0;display:grid;gap:10px}.store-edit-form .time-pair,.time-pair{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) 38px;gap:6px;width:100%;max-width:none;margin:0}.time-pair input{padding:10px 6px;font-size:15px!important;min-width:0;text-align:center}.time-pair>span{font-size:12px}.time-pair .icon-btn{min-width:38px;width:38px;padding:8px}.week-day>.add-day{align-self:flex-start;font-size:14px;min-height:44px;padding:10px;background:#eef3f6;border-radius:10px}
 .generic-prompts-grid{gap:16px}.store-edit-form .generic-prompt-card{padding:18px;border-radius:14px}.generic-prompt-heading{gap:12px}.generic-prompt-heading h3{font-size:18px}.generic-prompt-heading p{font-size:13px}.generic-selection>strong{font-size:15px;overflow-wrap:anywhere}.generic-selection small{font-size:12px}.generic-prompts-tools{display:flex;flex-wrap:wrap;gap:10px}.generic-prompts-tools>button{width:100%}
 .store-closure-cards{padding:16px;gap:14px}.store-closure-cards>article{display:flex;flex-direction:column;padding:16px;border-radius:12px;gap:14px;align-items:stretch}.store-closure-cards h3{font-size:17px;overflow-wrap:anywhere}.store-closure-cards p{font-size:14px}.store-closure-cards small{font-size:12px;overflow-wrap:anywhere}.store-closure-cards .actions{display:flex;flex-wrap:wrap;gap:12px}.store-closure-cards .actions .secondary{flex:1}.store-closure-cards .actions .danger-text{flex:none}
 .store-inline-editor{padding:18px 16px;border-radius:16px}.form-grid,.source-calendar-columns,.review-grid,.import-comparison,.plan-layout{grid-template-columns:minmax(0,1fr)!important}
 .generic-link-summary,.generic-composer-heading,.inventory-load,.closure-audio-heading,.closure-audio-tools{display:flex;flex-direction:column;align-items:stretch;gap:12px}.inventory-load{padding:16px}.generic-link-summary>button{width:100%}
 .store-import-card .panel-head{align-items:stretch}.store-admin-options{padding:16px}.store-admin-options summary{min-height:44px;font-size:15px}.advanced-options summary{min-height:44px;padding:10px 0}
 .shop-unsaved-notice{padding:14px}.shop-unsaved-notice .actions{display:flex;flex-direction:column;gap:10px}.shop-unsaved-notice button{width:100%}
 .audit-pagination{display:grid;grid-template-columns:minmax(0,1fr);padding:18px;gap:16px}.audit-pagination>label{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:14px}.audit-pagination select{width:110px}.audit-pagination .actions{display:flex;margin:0;gap:12px}.audit-pagination .actions button{flex:1}.audit-pagination>span{font-size:13px;text-align:center}.audit-status{font-size:14px;padding:16px}
 .settings-tabs{display:flex;gap:8px;overflow:auto;padding:0 0 12px}.settings-tabs button{flex:none;min-height:48px;font-size:14px}
 .connection-grid{gap:16px}.connection-grid .card-title-row{flex-wrap:wrap}.connection-grid .card>.secondary{width:100%;margin-top:16px}.detail-row{display:flex;flex-wrap:wrap;font-size:14px;gap:6px;padding:14px 0}.detail-row>span{flex-basis:100%}.detail-row strong{text-align:left;overflow-wrap:anywhere;max-width:100%}
 dialog,dialog.shop-dialog,.audio-editor-dialog,.audio-usage-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;inset:0;border:0;border-radius:0;overflow-y:auto;overscroll-behavior:contain;scroll-padding:90px 0 100px}
 .dialog-heading{position:sticky;top:0;z-index:10;background:#fff;padding:18px 16px;min-height:76px;align-items:center;border-bottom:1px solid #dce5eb}.dialog-heading h2,.dialog-heading>h2{font-size:21px;margin:0;line-height:1.35}.dialog-heading .eyebrow{font-size:10px}.dialog-heading>.icon-btn{margin:0;min-width:44px;min-height:44px;background:#f0f4f6;border-radius:12px}
 .dialog-body{padding:22px 18px calc(24px + env(safe-area-inset-bottom))}.dialog-body p{font-size:14px;line-height:1.7}.dialog-body label{font-size:14px;margin-bottom:18px}.dialog-body h3{font-size:18px}.dialog-footer{position:sticky;bottom:0;padding:14px 16px calc(14px + env(safe-area-inset-bottom));min-height:76px;gap:10px;flex-wrap:wrap;background:white;box-shadow:0 -8px 20px #243c490a}.dialog-footer>div{display:flex;gap:10px;flex:1}.dialog-footer .primary,.dialog-footer .secondary{min-height:48px;font-size:15px;padding:12px;flex:1}.dialog-footer>span{display:none}
 #closure-dialog .dialog-footer{padding:14px 16px calc(14px + env(safe-area-inset-bottom))}#closure-dialog .dialog-footer button.primary,#closure-dialog .dialog-footer button.secondary{font-size:15px;min-height:48px;padding:12px}#closure-dialog .dialog-footer #delete-closure{width:100%;margin:0;text-align:left}
 .month-picker-dialog{width:calc(100vw - 32px);max-width:440px;height:auto;max-height:calc(100dvh - 48px);margin:auto;inset:0;border-radius:18px;border:1px solid #dce5eb}.month-picker-dialog .dialog-body{padding:20px 18px}.month-picker-dialog .dialog-footer{padding:14px 16px;flex-wrap:nowrap}.month-picker-fields{grid-template-columns:1.3fr 1fr;gap:12px}
 .audio-usage-dialog .actions{display:flex;flex-direction:column;align-items:stretch}.audio-usage-dialog .actions button{width:100%}.audio-usage-dialog .voice-assignment{padding:16px 12px}.usage-limitations{padding:16px;font-size:14px}.audio-usage-dialog .detail-row{padding:12px}
 .voice-editor-steps{display:flex;flex-direction:column;gap:8px;font-size:13px}.voice-candidate{padding:16px}.voice-candidate .actions,.generic-speech-composer .actions,.closure-composer .compose-actions{display:flex;flex-direction:column;align-items:stretch;gap:10px}.voice-assignment{overflow-wrap:anywhere}
 .enrollment-steps{gap:6px}.enrollment-steps li{font-size:12px;min-height:48px;padding:10px 5px}.catalog-company,.select-shop{min-height:76px;padding:16px 12px}.catalog-company strong,.select-shop strong{font-size:15px;overflow-wrap:anywhere}.selection-toolbar{gap:8px;flex-wrap:wrap}.selection-toolbar .text-btn{font-size:14px}
 .login-screen{display:flex;flex-direction:column;min-height:100dvh}.login-brand{min-height:0;padding:30px 24px;gap:24px;border-radius:0 0 28px 28px}.login-brand h1{font-size:34px;letter-spacing:-1px;margin:12px 0}.login-brand p{font-size:14px}.login-brand img{width:42px}.login-brand>small{display:none}.login-form{padding:28px 24px;max-width:480px;align-self:center}.login-form h2{font-size:27px}.login-form form{margin-top:24px}.login-form .primary{font-size:16px;min-height:52px}.login-form>small{font-size:12px}
 #toast{bottom:calc(var(--dock-height) + 14px + env(safe-area-inset-bottom));left:16px;right:16px;transform:none;max-width:none;font-size:14px;padding:16px;border-radius:12px;line-height:1.6}
 body:has(dialog[open]) #toast{bottom:16px}
 footer{padding:24px 0 0;display:flex;flex-direction:column;align-items:flex-start;font-size:11px;gap:8px;line-height:1.6}
}
@media(max-width:360px){main{padding-left:12px;padding-right:12px}.mobile-dock{padding-left:4px;padding-right:4px}.mobile-dock button{font-size:9px}.calendar-toolbar{padding:12px}.calendar-toolbar .calendar-legend{font-size:12px;gap:9px}.store-page-tabs button{font-size:10px}.breadcrumb{font-size:13px}.avatar{display:none}.responsive-filter-fields{gap:10px;padding:14px 10px}}
@media(max-height:520px) and (max-width:700px){.store-sticky-header{position:static}.login-brand{padding:20px}.mobile-dock{min-height:58px;padding-top:4px;padding-bottom:4px}.mobile-dock button{min-height:46px;gap:2px}.store-page #save-shop{bottom:72px}}
@media(prefers-reduced-motion:reduce){.sidebar{transition:none}*{scroll-behavior:auto!important}}

@media(max-width:700px){.calendar-filter .segmented{grid-row:1}.calendar-filter .responsive-filter-details{grid-row:2}.calendar-filter .responsive-filter-fields{grid-template-columns:minmax(0,1fr)}.calendar-day .day-number{min-height:44px;height:44px}.calendar-day{min-height:60px}}

@media(min-width:701px) and (max-width:900px){
 .table-wrap{overflow:visible}.responsive-table,.responsive-table tbody{display:block;width:100%}.responsive-table thead{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
 .responsive-table tbody{padding:0 18px 18px;background:#f8fafb}.responsive-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;border:1px solid #dce4e9;border-radius:12px;margin-top:14px;padding:10px 18px;background:white}
 .responsive-table tbody td{display:block;border:0;padding:12px 0;font-size:14px;overflow-wrap:anywhere;min-width:0}.responsive-table tbody td:first-child{grid-column:1/-1;border-bottom:1px solid #edf1f4}.responsive-table tbody td[data-label]::before{content:attr(data-label);display:block;font-size:10px;font-weight:600;color:#6d808d;letter-spacing:.7px;margin-bottom:6px}.responsive-table td strong{font-size:15px}.responsive-table td small{font-size:13px}.responsive-table td .secondary{min-height:46px;font-size:14px}.responsive-table td[colspan]{grid-column:1/-1}
}

@media(min-width:701px) and (max-width:900px){
 .responsive-filter-details{display:block;grid-column:1/-1;background:#fff;border:1px solid #d4dfe5;border-radius:12px;overflow:hidden;min-width:0}
 .responsive-filter-details>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;min-height:50px;cursor:pointer;font-size:15px;font-weight:600;list-style:none;color:#344f60}
 .responsive-filter-details>summary::-webkit-details-marker{display:none}.filter-disclosure-icon{font-size:24px}.responsive-filter-details[open] .filter-disclosure-icon{transform:rotate(180deg)}
 .responsive-filter-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:18px 16px;border-top:1px solid #e1e8ed;min-width:0}
 .responsive-filter-fields>label{min-width:0;margin:0!important;display:flex;flex-direction:column;gap:8px}
 .responsive-filter-fields>.store-closure-filter-bar,.responsive-filter-fields>.audit-filter-buttons,.responsive-filter-fields>small,.responsive-filter-fields>p{grid-column:1/-1}
 .calendar-filter .segmented{grid-column:1/-1;grid-row:1;justify-self:stretch;display:flex}.calendar-filter .segmented button{flex:1}.calendar-filter .responsive-filter-details{grid-row:2}.calendar-filter .responsive-filter-fields{grid-template-columns:1fr}
}

@media(max-width:700px){
 html:has(dialog[open]),body:has(dialog[open]){overflow:hidden}
 dialog[id]:not(#month-picker-dialog){width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;inset:0;border:0;border-radius:0}
}

@media(max-width:700px){
 .company-page-tools>.inline-actions{width:100%;margin:0;display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.company-page-tools>.inline-actions button{width:100%}
 .store-card-title{padding:18px 16px;gap:12px}.store-card-title strong{font-size:17px}.store-card-title small{font-size:12px}.store-card-details{padding:0 16px 18px}.store-card-actions{padding:16px;gap:10px}.store-card-actions button{font-size:14px;min-height:48px;padding:10px 12px}
 #shop-closure-editor .dialog-heading,#shop-audio-editor .dialog-heading{position:static;padding:16px 0}
 #shop-closure-editor .dialog-body,#shop-audio-editor .dialog-body{padding:18px 0}
 #shop-closure-editor .dialog-footer{position:static;padding:16px 0;margin-top:18px;box-shadow:none}
 .store-page:has(#shop-closure-editor:not([hidden])) #save-shop,.store-page:has(#shop-audio-editor:not([hidden])) #save-shop{display:none}
}

.login-brand h1{color:#fff}.login-brand .eyebrow{color:#b8c6d0}

@media(max-width:1180px){.store-edit-form .week-day>.add-day{grid-row:2}.store-edit-form .time-pair input{height:48px;min-height:48px}}

/* Audio library: title, listening controls and secondary actions share one card. */
.voice-library #voice-list{display:grid;gap:16px;padding:4px 24px 24px;background:#f8fafb}
.voice-library .voice-card{display:flex;flex-direction:column;gap:16px;padding:22px 24px;background:#fff;border:1px solid #e0e6e9;border-radius:14px;box-shadow:0 2px 5px #24384504;min-width:0}
.voice-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.voice-card .voice-row-title{min-width:0;align-items:flex-start;gap:14px}
.voice-card .voice-row-title>div{min-width:0}.voice-card .voice-row-title h3{font-size:19px;line-height:1.4;overflow-wrap:anywhere;margin:0 0 4px}
.voice-card .section-icon{flex:none;width:42px;height:42px;border-radius:12px;background:#f1f5f7;color:#5b7482}
.voice-card svg{width:18px;height:18px;flex:none}
.voice-card .voice-delete{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;min-height:44px;padding:0;border:1px solid #eedbdb;border-radius:10px;background:#fffafa;color:#aa4848}
.voice-card .voice-delete:hover{background:#fbeaea;border-color:#daa8a8}.voice-card .voice-delete:focus-visible,.voice-card .voice-download:focus-visible{outline:3px solid #50849d;outline-offset:3px}
.voice-media-bar{display:flex;align-items:flex-start;gap:12px;padding:14px 16px;background:#f5f8fa;border:1px solid #e6edf1;border-radius:12px}
.voice-media-bar .prompt-listen{flex:1;min-width:0}.voice-card .voice-media-bar audio{width:100%;height:44px;min-height:44px;display:block}
.voice-card .voice-download{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:none;height:44px;min-width:44px;padding:0 14px;border:1px solid #d6e0e6;border-radius:9px;background:#fff;color:#355569;text-decoration:none;font-size:13px;font-weight:600}
.voice-card .voice-download:hover{background:#eaf1f5}.voice-card .voice-excerpt{margin:0 0 10px;font-size:14px;line-height:1.65;color:#52636c}
.voice-card .voice-owner-summary{display:flex;align-items:flex-start;gap:8px;font-size:13px;color:#536b79;line-height:1.6;margin:8px 0}
.voice-card .voice-assignments{margin:4px 0 8px}.voice-card .voice-assignments summary{font-size:13px;padding:6px 0}.voice-card .voice-filename{font-size:11px;color:#81909a}
.voice-card-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;border-top:1px solid #eaf0f3;padding-top:16px}
.voice-card-status{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}.voice-card-status .voice-usage-state{margin:0}.voice-card-status .pill{font-size:11px;white-space:normal}
.voice-card-buttons{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.voice-card-buttons button{min-height:42px;font-size:13px;padding:10px 14px;border-radius:9px;gap:8px}.voice-card-buttons .voice-check{background:#fff;color:#526b7a;border-color:#dce5eb}
@media(max-width:1100px){.voice-card-footer{align-items:flex-start}.voice-card-buttons{width:100%;justify-content:flex-end}}
@media(max-width:700px){.voice-library #voice-list{padding:4px 12px 16px;gap:14px}.voice-library .voice-card{padding:17px 15px;gap:14px;border-radius:12px}.voice-card-header{gap:10px}.voice-card .voice-row-title{gap:10px}.voice-card .voice-row-title h3{font-size:17px}.voice-card .voice-row-title small{font-size:11px;line-height:1.5}.voice-card .section-icon{width:34px;height:34px;border-radius:9px}.voice-media-bar{padding:10px;gap:8px}.voice-card .voice-download{padding:0;width:44px}.voice-download span{display:none}.voice-card-buttons{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:8px}.voice-card-buttons button{width:100%;font-size:12px;padding:10px 8px;min-height:44px}.voice-card-buttons .voice-edit{grid-column:-2/-1}.voice-card-status .pill{width:auto;padding:6px 9px}.voice-card .voice-assignments summary{min-height:40px}.voice-card-footer{gap:14px;padding-top:14px}}


/* Shared access layout with Phone KG. Form width follows its half of the screen. */
#login.login-screen{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:100vh;min-height:100dvh;background:#f5f6f7}
#login .login-brand{background:#171819;color:#fff;display:flex;flex-direction:column;justify-content:space-between;gap:0;padding:60px 12%;min-height:0;border-radius:0;min-width:0}
#login .login-brand img{width:80px;filter:invert(1)}
#login .login-brand h1{font-size:clamp(34px,4vw,57px);font-weight:600;line-height:1.2;letter-spacing:-2px;margin:20px 0 25px}
#login .login-brand p{display:block;font-size:14px;line-height:1.8;color:#9a9fa4}
#login .login-brand .eyebrow{display:inline;color:#757b81;font-size:14px;letter-spacing:1.8px;font-weight:650}
#login .login-brand>small{display:block;color:#747b82;letter-spacing:3px;font-size:14px}
#login .login-form{align-self:center;padding:70px 20%;width:100%;max-width:none;min-width:0}
#login .login-form>.eyebrow{font-size:14px;letter-spacing:1.8px;color:#757b81;font-weight:650}
#login .login-form h2{font-size:32px;letter-spacing:-1px;margin:12px 0}
#login .login-form>p{font-size:14px;color:#939ba2;margin-bottom:35px;line-height:1.7}
#login .login-form form{margin-top:30px;width:100%;max-width:none}
#login .login-form label{display:block;width:100%;font-size:14px;margin-bottom:17px;color:#6e757b}
#login .login-form input{display:block;width:100%;max-width:none;min-width:0;border:1px solid #dde1e4;border-radius:5px;padding:11px 12px;background:#fff;margin-top:7px;color:#333;font-size:14px}
#login .login-form .primary{width:100%;margin-top:25px;min-height:44px;font-size:14px;justify-content:space-between}
#login .login-form>small{display:block;font-size:14px;color:#969da3;margin-top:22px;line-height:1.7}
#login #login-error{color:#b34d54;margin-top:15px;margin-bottom:15px;min-height:17px;font-size:14px}
@media(max-width:640px){
 #login.login-screen{grid-template-columns:minmax(0,1fr)}
 #login .login-brand{padding:27px;min-height:220px;gap:0}
 #login .login-brand img{width:43px}
 #login .login-brand h1{font-size:30px;line-height:1.1;margin:12px 0}
 #login .login-brand .eyebrow,#login .login-brand>small,#login .login-brand p{display:none}
 #login .login-form{padding:40px 30px}
 #login .login-form input{font-size:16px;min-height:48px}
 #login .login-form .primary{min-height:48px;font-size:16px}
}
