/* Production screens extend the existing Okey Dokey layout. */
.login-page{min-height:100dvh;display:grid;place-content:center;padding:28px;gap:38px}.login-page .brand{padding:0;font-size:42px}.login-card{width:min(390px,calc(100vw - 56px));background:#fff;border:1px solid var(--line);border-radius:14px;padding:28px}.login-card h1{font-size:27px}.login-card>p{color:var(--muted);font-size:14px}.login-card form>.primary{width:100%;min-height:48px}.login-card>button{border:0;margin-top:14px;padding-left:0}.error{color:#9f2626;font-size:14px;white-space:pre-wrap}.error:empty{display:none}.notice{padding:14px;background:#f2f2f2;border-left:3px solid #333;font-size:14px;line-height:1.6}.footnote{color:var(--muted);font-size:13px;line-height:1.6}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.live-shell .topbar{gap:22px}.profile-name{font-size:13px;white-space:nowrap}.global-search{position:relative;flex:1;max-width:490px}.global-search input{width:100%;min-width:0;border:1px solid var(--line);border-radius:8px;background:#fafafa;padding:10px 13px;font-size:13px}#global-results:not(:empty){position:absolute;top:100%;left:0;right:0;max-height:430px;overflow:auto;background:white;border:1px solid var(--line);box-shadow:0 12px 28px #0002;z-index:20;padding:8px;border-radius:8px}#global-results button{display:block;text-align:left;width:100%;border:0;border-radius:5px}#global-results small{display:block;color:var(--muted);margin-top:4px}.heading-actions{display:flex;gap:10px;flex-wrap:wrap}
.date-navigation{display:flex;align-items:stretch;gap:10px;margin:16px 0 22px;min-width:0}.date-strip{display:flex;gap:7px;overflow-x:auto;scrollbar-width:thin;min-width:0;padding-bottom:6px;flex:1;scroll-snap-type:x proximity}.date-chip{flex:0 0 76px;min-height:66px;padding:9px 7px;scroll-snap-align:start;border-radius:9px;font-size:13px}.date-chip>span,.date-chip>b{display:block}.date-chip>span{color:var(--muted);font-size:11px;margin-bottom:7px}.date-chip.selected{background:#202020;color:#fff;border-color:#202020}.date-chip.selected>span{color:#ddd}.date-jump{width:47px;flex:0 0 47px;position:relative;border:1px solid var(--line);border-radius:9px;background:#fff;display:grid;place-items:center;margin:0 0 6px}.date-jump svg{width:22px}.date-jump input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.date-jump input::-webkit-calendar-picker-indicator{position:absolute;inset:0;width:auto;height:auto;cursor:pointer}
.studio-view-label{display:flex;gap:18px;align-items:center;margin-bottom:15px;font-size:14px}.studio-view-label span{color:var(--muted);flex:1}.toolbar .pref-field{display:flex;gap:8px;align-items:center;margin:0;font-size:13px}.toolbar select{width:auto;max-width:200px;font-size:13px;padding:8px}.live-shell .timetable{max-height:70vh;overflow:auto;position:relative}.live-shell .calendarhead{position:sticky;top:0;z-index:5;background:white}.live-shell .artisthead{min-height:67px}.live-shell .timehead{padding:24px 6px;color:var(--muted);font-size:11px}.live-shell .daycol{position:relative;border-left:1px solid var(--line);background:repeating-linear-gradient(to bottom,transparent 0,transparent 47px,#ededed 47px,#ededed 48px)}.live-shell .times span{flex:none;font-size:11px;padding:4px 7px;background:#fff;border-bottom:1px solid #eee}.live-shell .times .quarter{color:#999}.live-shell .times .hour{font-weight:700;color:#333}.live-shell .calendar-slot{position:absolute;left:0;width:100%;border:0;border-radius:0;background:transparent;text-align:left;padding:8px;font-size:12px;color:var(--muted);z-index:1}.live-shell .calendar-slot span{opacity:0}.live-shell .calendar-slot:hover,.live-shell .calendar-slot:focus-visible{background:#ededed}.live-shell .calendar-slot:hover span,.live-shell .calendar-slot:focus-visible span{opacity:1}.live-shell .event{position:absolute;left:4px;right:4px;margin:0;border:1px solid #bbb;border-left:4px solid #333;background:#ececec;color:#202020;display:flex;flex-direction:column;text-align:left;gap:7px;padding:10px;overflow:hidden;z-index:2;min-height:0}.live-shell .event.held{background:#fafafa;border-style:dashed}.live-shell .event .event-time{font-weight:700;font-size:14px;letter-spacing:0;white-space:nowrap}.live-shell .event strong{font-size:16px;line-height:1.2}.live-shell .event>span,.live-shell .event>small{font-size:12px}.live-shell .event.compact{padding:6px;gap:3px}.live-shell .event.compact strong{font-size:13px}.live-shell .event.compact .event-time{font-size:12px!important}.outside-hours{position:absolute;left:0;right:0;background:#eee;z-index:0;font-size:11px;color:#999;padding:8px;overflow:hidden}.blocked-event{position:absolute;left:4px;right:4px;border:1px solid #bbb;background:repeating-linear-gradient(135deg,#e8e8e8,#e8e8e8 8px,#f4f4f4 8px,#f4f4f4 16px);z-index:2;text-align:left;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding:10px;gap:7px;overflow:hidden}.blocked-event span{font-size:12px}.artist-mobile-day,.artist-mobile-nav,.mobile-day-heading{display:none}.booking-row{width:100%;text-align:left}.booking-row p{font-size:13px;color:var(--muted);line-height:1.6}.status-tags{display:flex;gap:7px;flex-wrap:wrap;margin:15px 0}.badge.warn{background:#f3f3f3;border:1px dashed #aaa;color:#444}.blank{padding:40px;text-align:center;color:var(--muted);font-size:14px}
.production-dialog{padding:0;border:1px solid #ddd;width:min(520px,calc(100vw - 24px));max-height:94dvh;border-radius:12px;overflow:auto}.production-dialog>.modalhead{padding:24px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin:0}.production-dialog>.modalhead h2{font-size:23px;letter-spacing:-.6px}.production-dialog>.modalhead p{font-size:13px;margin:7px 0 0}.production-dialog>.modalhead>button{font-size:24px;padding:0;width:38px;height:38px;flex:0 0 38px;border:0}.production-dialog>form,.production-dialog>.booking-detail,.production-dialog>.form-section,.production-dialog>.settings-list{padding:24px}.production-dialog>p,.production-dialog>h3,.production-dialog>button,.production-dialog>.notice{margin:24px}.production-dialog .modalfoot{margin:24px -24px -24px;padding:18px 24px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:10px}.production-dialog .pref-field{display:flex;flex-direction:column;gap:8px;margin:13px 0}.production-dialog .pref-field>span{font-size:13px;font-weight:500}.production-dialog input,.production-dialog textarea,.production-dialog select{width:100%;min-width:0;border:1px solid #d6d6d6;background:#fff;border-radius:7px;padding:11px 12px;min-height:46px;font-size:15px}.production-dialog input[readonly]{background:#f6f6f6;color:#555}.production-dialog .check-field{display:flex;gap:10px;align-items:center;margin:18px 0;font-size:14px}.production-dialog .check-field input{width:20px;min-height:20px;height:20px;flex:0 0 20px;accent-color:#222}.production-dialog .formgrid{display:grid;grid-template-columns:1fr 1fr;gap:5px 16px}.production-dialog .formgrid>*{min-width:0}.form-section{border-top:1px solid var(--line);padding-top:24px;margin-top:26px}.form-section:first-child{border-top:0;margin-top:0;padding-top:0}.form-section h3{font-size:17px;margin-bottom:14px}.form-section h4{font-size:13px;margin-bottom:8px}.end-time{padding:13px 0;display:flex;flex-direction:column;gap:8px}.end-time span{font-size:13px}.end-time strong{font-size:22px}.selected-customer{font-size:13px;background:#f5f5f5;padding:10px;display:flex;flex-wrap:wrap;gap:8px;align-items:center}.selected-customer small{display:block;flex-basis:100%;color:var(--muted)}.selected-customer button{padding:5px 8px;font-size:12px}.file-picker{display:block;width:max-content;border:1px dashed #999;border-radius:8px;padding:14px;cursor:pointer;font-size:14px}.file-picker input{display:none}.file-tag{display:block;font-size:12px;margin-top:8px;color:#555}.appointment-time{display:flex;flex-direction:column;gap:7px}.appointment-time strong{font-size:30px;font-family:'Space Grotesk',sans-serif}.appointment-time>span{color:var(--muted);font-size:14px}.note-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7}.reference-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:16px}.reference-gallery figure{margin:0;min-width:0}.reference-gallery figure>button:first-child{padding:0;width:100%;height:150px;overflow:hidden;background:#f5f5f5}.reference-gallery img{width:100%;height:100%;object-fit:cover}.reference-gallery figcaption{font-size:12px;margin:6px 0;overflow-wrap:anywhere}.reference-gallery figure>button:last-child{font-size:12px;padding:5px 8px}.full-reference{display:block;max-width:100%;max-height:75dvh;object-fit:contain;margin:auto}.audit-history{margin-top:28px}.audit-history summary{cursor:pointer;font-size:14px;font-weight:700}.audit-history article{padding:16px 0;border-bottom:1px solid #ddd;font-size:12px;line-height:1.8;overflow-wrap:anywhere}.audit-history small{display:block;color:var(--muted)}.review-card{background:#f5f5f5;padding:20px;border-radius:9px}.review-card p{font-size:14px}.review-amount{font-size:35px}.hours-row{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:10px;align-items:center;border-bottom:1px solid #eee}.production-dialog fieldset{border:1px solid var(--line);border-radius:8px;padding:8px 14px;margin:20px 0}.production-dialog legend{font-size:13px}.settings-editor .check-field{display:flex;align-items:center;gap:10px;margin:16px 0}.settings-editor .check-field input{width:20px;height:20px;accent-color:#222}.settings-editor textarea{min-height:100px}.earnings-filters{display:flex;gap:14px;flex-wrap:wrap;align-items:end}.earnings-filters label{flex:1;min-width:150px;margin:0}.earnings-filters button{height:46px}.earnings-cards{grid-template-columns:repeat(3,1fr)}.earnings-cards .card{min-width:0}[hidden]{display:none!important}
@media(max-width:1100px){.live-shell{grid-template-columns:185px 1fr}.live-shell .sidebar{padding:28px 12px}.live-shell .main{padding:24px}.live-shell .topbar{padding:16px 24px}.live-shell .global-search{max-width:330px}.live-shell .crumb{display:none}.studio-view-label{flex-wrap:wrap}}
@media(max-width:760px){.live-shell{display:block}.live-shell .sidebar{height:auto;position:static;width:100%;padding:16px;background:#202020}.live-shell .sidebar>.brand{display:none}.live-shell .nav{display:flex;overflow-x:auto;gap:5px;margin:0}.live-shell .nav button{padding:10px;font-size:12px;white-space:nowrap}.live-shell .nav svg{display:none}.live-shell .sidebottom{display:none}.live-shell .main{padding:20px 15px 88px}.live-shell .topbar{padding:12px 15px}.live-shell .profile-name{display:none}.live-shell .global-search{max-width:none}.live-shell .heading{align-items:flex-start;flex-wrap:wrap;gap:14px}.live-shell h1{font-size:28px}.heading-actions{width:100%}.heading-actions>button{flex:1;min-height:46px;font-size:13px}.date-chip{flex-basis:67px;min-height:62px}.date-navigation{gap:7px}.live-shell .toolbar{padding:12px}.live-shell .toolbar .row{flex-wrap:wrap}.live-shell .calendarfoot{font-size:11px;padding:10px}.production-dialog{max-height:100dvh;width:100vw;border-radius:0}.production-dialog>.modalhead{padding:20px}.production-dialog>form,.production-dialog>.booking-detail{padding:20px}.production-dialog .modalfoot{margin-left:-20px;margin-right:-20px;margin-bottom:-20px;padding:15px 20px;bottom:0!important}.production-dialog .modalfoot button{min-height:48px}.production-dialog input,.production-dialog textarea,.production-dialog select{font-size:16px}.production-dialog .formgrid{grid-template-columns:1fr}.reference-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.hours-row{grid-template-columns:1fr 1fr}.hours-row>.check-field{grid-column:1/-1;margin-bottom:0}.earnings-cards{grid-template-columns:1fr}.artist-shell>.sidebar{display:none}.artist-shell .topbar{border:0;background:var(--paper);justify-content:space-between}.artist-shell .crumb{display:block;font-size:12px}.artist-shell .desktop-calendar-heading{display:none}.artist-shell .mobile-day-heading{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.mobile-day-heading>.tiny{width:100%}.mobile-day-heading h1{flex:1}.mobile-day-heading>button{font-size:13px;min-height:46px}.artist-shell .desktop-timetable{display:none}.artist-shell .artist-mobile-day{display:flex;flex-direction:column;gap:14px}.artist-mobile-day>button{padding:18px;text-align:left;display:flex;flex-direction:column;gap:7px;min-height:52px}.artist-mobile-day .mobile-appointment{background:#fff;border:1px solid #ddd;border-left:4px solid #333}.mobile-time{font-size:21px;letter-spacing:-.5px}.mobile-appointment>strong{font-size:18px}.mobile-appointment>span,.mobile-appointment>small{font-size:13px;color:var(--muted)}.artist-mobile-day .mobile-gap{display:grid;grid-template-columns:1fr auto;background:transparent;border:1px dashed #aaa}.mobile-gap>b{font-size:15px}.mobile-gap>span{grid-row:2;font-size:13px;color:var(--muted)}.mobile-gap>strong{grid-column:2;grid-row:1/3;align-self:center;font-size:13px}.mobile-block{background:repeating-linear-gradient(135deg,#eee,#eee 8px,#f6f6f6 8px,#f6f6f6 16px)}.mobile-block>span{font-size:13px}.artist-shell .artist-mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #ddd;z-index:6;padding:9px 14px max(9px,env(safe-area-inset-bottom));gap:8px}.artist-mobile-nav>button{flex:1;border:0;min-height:46px;font-size:13px}.artist-shell .mobile-grid .desktop-timetable{display:block}.artist-shell .mobile-grid .artist-mobile-day{display:none}.artist-shell .mobile-grid .timetable{max-height:65vh}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.gap-label{position:absolute;left:10px;right:8px;pointer-events:none;z-index:2;font-size:11px;line-height:1.45;color:#777}.gap-label b{font-weight:500}.gap-label span{display:block;font-size:10px;color:#999}.live-shell .calendar-slot span{position:absolute;right:5px;bottom:3px;font-size:10px;background:#fff;padding:2px 4px;border-radius:4px}.login-card .pref-field{display:flex;flex-direction:column;gap:8px;margin:20px 0}.login-card input{width:100%;padding:12px;border:1px solid #ccc;border-radius:7px;min-height:46px}.production-dialog .file-picker{position:relative;overflow:hidden}.production-dialog .file-picker input{display:block;position:absolute;inset:0;opacity:0;cursor:pointer}.production-dialog .file-picker:focus-within{outline:3px solid #777;outline-offset:2px}
@media(max-width:760px){.live-shell .nav{position:static;inset:auto;justify-content:flex-start;padding:0;background:transparent}.live-shell .nav button,.live-shell .nav button:last-child{display:flex;flex-direction:row;flex:none}.artist-shell .nav{display:none}}
