/* StudioBooth v15 — event console and guest capture interface. */
:root {
  --accent: #ec394b;
  --accent-hover: #d82e40;
  --accent-soft: #fff0f2;
  --ink: #222534;
  --muted: #727785;
  --line: #e9e9ee;
  --studio-ink: var(--ink);
  --studio-line: var(--line);
  --studio-accent: var(--accent);
  --studio-accent-light: var(--accent-soft);
  --studio-cream: #f7f8fa;
  --studio-shadow: 0 3px 16px #24253404;
  color: var(--ink);
  background: #f7f8fa;
}
body { background: #f7f8fa; color: var(--ink); }
[hidden] { display: none !important; }
button, input, select { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, select:focus-visible,
.btn:focus-visible, .nav-item:focus-visible { outline: 3px solid #f17887; outline-offset: 3px; }
.btn { min-height: 44px; border-radius: 9px; font-size: 12px; font-weight: 650; box-shadow: none; }
.btn-primary, .btn-warm { background: var(--accent); color: #fff; box-shadow: 0 4px 10px #ec394b16; }
.btn-primary:hover, .btn-warm:hover { background: var(--accent-hover); }
.btn-outline { color: #4c5060; border-color: #e1e3e9; background: #fff; }
.btn-soft { color: var(--accent); background: var(--accent-soft); }
.sidebar { width: 226px; background: #fff; color: var(--ink); padding: 30px 16px 20px; border-color: var(--line); }
.brand { padding: 0 9px; margin-bottom: 43px; gap: 10px; border: 0; }
.brand-mark { width: 37px; height: 37px; border-radius: 11px; background: var(--accent); color: white; box-shadow: none; }
.brand-name { font-size: 20px; font-weight: 750; color: var(--ink); letter-spacing: -.8px; }
.brand-name span { color: var(--accent); }
.brand-name small { display: block; color: #8b8d98; letter-spacing: 1.5px; font-size: 7px; margin-top: 4px; font-weight: 650; }
.nav-caption { font-size: 9px; letter-spacing: 1.4px; color: #9699a6; padding: 0 14px; margin-bottom: 12px; }
.nav-section { margin-top: 29px; }
.nav-item { color: #747887; height: 46px; border-radius: 8px; margin: 4px 0; font-size: 12px; font-weight: 600; gap: 12px; }
.nav-item:hover { color: var(--accent); background: #fff7f8; }
.nav-item.active { color: var(--accent); background: var(--accent-soft); box-shadow: none; }
.nav-item.active .ico { stroke-width: 2; }
.side-help { background: #fafafb; border: 1px solid var(--line); padding: 18px 15px; border-radius: 12px; margin: 24px 0 18px; }
.side-help > .ico { color: var(--accent); margin-bottom: 12px; }
.side-help strong { color: #454957; font-size: 11px; }
.side-help p { color: #878b97; line-height: 1.7; font-size: 10px; }
.text-button, .light-link { color: var(--accent); }
.text-button { display: flex; align-items: center; gap: 7px; font-size: 10px; }
.side-foot { border-color: var(--line); padding: 12px 10px 0; gap: 12px; }
.side-foot strong { color: #646977; font-size: 10px; font-weight: 650; }
.side-foot small { color: #999ca7; font-size: 9px; }
.workspace { display: flex; flex-direction: column; }
.topbar { height: 78px; padding: 0 38px; border-color: var(--line); box-shadow: none; gap: 20px; }
.breadcrumb { gap: 13px; font-size: 11px; }
.breadcrumb > .ico { width: 12px; color: #a6a9b3; }
.breadcrumb b { font-size: 12px; font-weight: 600; color: #535768; }
.top-actions { gap: 20px; min-width: 0; }
.top-icon { background: #fff; border: 1px solid var(--line); border-radius: 9px; width: 36px; height: 36px; flex-shrink: 0; }
.event-switcher { display: flex; flex-direction: column; gap: 3px; max-width: 220px; min-width: 0; }
.event-switcher > span { font-size: 8px; letter-spacing: 1.3px; font-weight: 700; color: #9498a5; }
.event-switcher select { border: 0; background: #fff; color: #4e5363; font-size: 12px; font-weight: 600; max-width: 100%; padding: 3px 18px 3px 0; text-overflow: ellipsis; }
.content { max-width: 1450px; width: 100%; padding: 36px 38px 45px; flex: 1; }
.heading-row { align-items: center; margin-bottom: 26px; }
.eyebrow, .studio-crumb { color: #a2747d; font-size: 9px; letter-spacing: 1.6px; font-weight: 650; }
.page-title { color: var(--ink); font-size: 30px; letter-spacing: -.9px; font-weight: 720; }
.subheading { color: #858995; font-size: 12px; margin-top: 8px; }
.workspace-footer { display: flex; justify-content: space-between; gap: 15px; margin: 0 38px; padding: 18px 0; border-top: 1px solid var(--line); color: #999ca7; font-size: 10px; }
.workspace-footer > span:first-child { font-weight: 700; color: #858995; }
.backup-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: -8px 0 22px; }
.backup-actions .btn { font-size: 10px; min-height: 30px; background: transparent; color: #818593; padding: 0 10px; }
.event-launch-panel { display: grid; grid-template-columns: minmax(0, 1fr) 240px; border: 1px solid #ecdde1; border-radius: 16px; background: #fff; overflow: hidden; min-height: 265px; margin-bottom: 34px; }
.event-launch-copy { padding: 29px 32px; align-self: center; }
.launch-kicker { display: flex; align-items: center; gap: 8px; font-size: 9px; letter-spacing: 1.4px; font-weight: 700; color: #7f838f; }
.launch-kicker .dot { width: 6px; height: 6px; background: var(--accent); box-shadow: 0 0 0 3px #ffedef; }
.event-launch-copy h2 { font-size: clamp(24px, 2.2vw, 31px); letter-spacing: -.7px; font-weight: 650; margin: 15px 0 6px; overflow-wrap: anywhere; }
.event-launch-copy > p { color: #8c8c98; font-size: 12px; }
.launch-specs { display: flex; flex-wrap: wrap; gap: 15px; margin: 21px 0 24px; color: #757a88; font-size: 10px; }
.launch-specs > span { display: flex; align-items: center; gap: 6px; }
.launch-specs .ico { width: 14px; height: 14px; color: #a4a6af; }
.launch-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.launch-print-preview { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: radial-gradient(ellipse at 65% 30%, #fff, transparent 70%), #faecee; border-left: 1px solid #f5e3e7; padding: 22px; }
.launch-print-mat { transform: rotate(8deg); }
.launch-print-preview .mock-print.mock-precise { width: 125px; border-width: 4px; box-shadow: 0 10px 20px #70444b20; }
.launch-print-preview .mock-print.mock-strip { width: 62px; }
.launch-print-preview .mock-print { container-type: inline-size; }
.launch-print-preview .mock-print-head { font-size: 5cqw; }
.launch-print-preview .mock-print-caption { font-size: 4cqw; width: max-content; max-width: 90%; }
.launch-print-preview .mock-print-date { font-size: 2.5cqw; }
.launch-print-preview .mock-photo-media { font-size: 10cqw; }
.launch-print-preview > span { color: #b69098; font-size: 7px; letter-spacing: 1.8px; font-weight: 650; }
.event-library-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.event-library-heading h2 { font-size: 17px; font-weight: 650; display: flex; align-items: center; gap: 9px; }
.event-library-heading h2 > span { padding: 4px 7px; background: #eceef2; color: #8b8e9c; font-size: 10px; border-radius: 5px; }
.event-search { display: flex; align-items: center; gap: 8px; width: 230px; background: #fff; border: 1px solid #e4e6ec; padding: 0 12px; border-radius: 8px; color: #9a9eab; }
.event-search input { width: 100%; height: 38px; border: 0; background: transparent; font-size: 11px; color: var(--ink); min-width: 0; }
.event-search input::placeholder { color: #a2a5ae; }
.event-library-meta { display: flex; justify-content: space-between; color: #9599a6; font-size: 10px; margin: 15px 0; }
.event-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.event-card { border-radius: 12px; border-color: #e5e7ee; box-shadow: none; }
.event-card.is-selected { border-color: #eab6be; }
.event-art { height: 175px; padding: 20px; }
.event-art:before { inset: -90% -20% -70% 30%; border: 1px solid #ffffff50; border-radius: 50%; transform: rotate(-30deg); }
.event-art:after { content: ''; width: 210px; height: 210px; border: 1px solid #ffffff40; border-radius: 50%; right: -100px; bottom: -130px; }
.event-art-label, .event-selected-label { position: absolute; top: 13px; font-size: 8px; padding: 5px 7px; border-radius: 4px; background: #ffffff28; z-index: 1; }
.event-art-label { left: 13px; }
.event-selected-label { right: 13px; background: #fff; color: #8a5a63; }
.event-art-title { z-index: 1; padding-top: 15px; max-width: 100%; }
.event-art-title > span { font-size: 7px; letter-spacing: 2px; color: #ffffffc9; }
.event-art h3 { font: 500 25px/1.2 Georgia, serif; max-width: 100%; margin: 10px auto 7px; text-shadow: none; overflow-wrap: anywhere; }
.event-art-title p { font-size: 8px; color: #ffffffc9; }
.event-art-camera { position: absolute; bottom: 10px; right: 12px; opacity: .45; }
.event-card-body { padding: 15px 17px 17px; }
.event-card-title { display: flex; align-items: center; gap: 7px; justify-content: space-between; }
.event-card-title h3 { font-weight: 650; font-size: 13px; overflow-wrap: anywhere; }
.event-card-title .event-action { width: 28px; height: 28px; flex-shrink: 0; border: 0; background: #f7f8fa; }
.event-meta { font-size: 10px; margin: 7px 0 17px; color: #9195a2; flex-wrap: wrap; }
.event-card-actions .btn { min-height: 38px; font-size: 10px; padding: 0 10px; }
.event-card-actions .btn .ico { width: 14px; height: 14px; }
.new-event-card { min-height: 292px; background: transparent; border: 1px dashed #d8dbe4; border-radius: 12px; color: #747a89; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 20px; gap: 12px; }
.new-event-card > span { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid #e5e7ed; border-radius: 50%; background: #fff; color: #b1b5c1; }
.new-event-card strong { font-size: 12px; font-weight: 600; }
.new-event-card small { font-size: 10px; color: #9b9fad; }
.new-event-card:hover { border-color: var(--accent); color: var(--accent); background: #fff8f9; }
.local-storage-note { display: flex; align-items: center; gap: 8px; margin-top: 24px; font-size: 10px; line-height: 1.6; color: #9599a5; }
.search-empty { margin-top: 15px; }
.panel, .stat-card, .step-card, .gallery-card { border-color: var(--line); border-radius: 12px; box-shadow: none; }
.stat-card h2 { color: var(--ink); }
.stat-icon { color: var(--accent); background: var(--accent-soft); }
.hero-panel { background: #282734; }
.hero-label { color: #ffc6ce; }
.step-number, .mini-feature .ico { color: var(--accent); }
.tip-banner { background: #fff5f6; border-color: #f7e0e4; color: #93616b; }
.theme-choice.selected { border-color: var(--accent); }
.settings-panel h3 { color: #333643; }
.settings-panel .preview-card { background: #f2f3f7; }
.field input, .field select, .field textarea, .control-select { border-radius: 8px; border-color: #dfe2e9; }
.studio-intro h1 { color: var(--ink); font-size: 31px; letter-spacing: -.8px; font-weight: 700; }
.studio-dot, .studio-context-icon, .frame-reset-button, .frame-control-field output { color: var(--accent); }
.studio-context-icon { background: var(--accent-soft); }
.studio-context, .studio-tools, .studio-preview-panel { border-color: var(--line); border-radius: 12px; box-shadow: none; }
.studio-section { border-color: var(--line); }
.studio-preview-stage { background: #eceef2; }
.studio-preview-stage:before { background-image: radial-gradient(#c9cdd6 1px,transparent 1px); background-size: 16px 16px; }
.preview-backdrop-shape { display: none; }
.frame-editor-section { background: #fff; }
.photo-edit-tabs button.is-active { background: var(--accent-soft); border-color: #f3a8b2; color: #c13245; }
.frame-select-row button.is-active { background: var(--accent); border-color: var(--accent); box-shadow: none; }
.frame-control-field input[type=range], input[type=range] { accent-color: var(--accent); }
.section-n { background: var(--accent-soft); color: var(--accent); }
.layout-choice.is-selected { border-color: var(--accent); background: #fff7f8; }
.layout-choice-check { background: var(--accent); }
.layout-choice.is-selected { box-shadow: 0 0 0 2px #fff0f2; }
.layout-choice:hover, .designer-theme-preset.is-selected { border-color: var(--accent); }
.layout-choice:has(input:focus-visible) { outline-color: #f17887; }
.designer-field input[type=range], .custom-option input { accent-color: var(--accent); }
.designer-field output { color: var(--accent); }
.designer-field input:focus, .designer-field select:focus { border-color: #ee8c99; }
.custom-layout-dropzone { background: #fff9fa; border-color: #edc7ce; }
.custom-layout-dropzone:hover, .custom-layout-dropzone.is-dragover, .custom-layout-dropzone:focus-within { background: var(--accent-soft); border-color: var(--accent); }
.custom-layout-upload-icon, .custom-template-thumb { background: var(--accent-soft); color: var(--accent); }
.custom-upload-action { background: var(--accent); }
.custom-template-size { color: #898b99; }
.studio-form-actions { background: #fafafb; }
.modal { border-radius: 16px; }
.modal-backdrop { background: #22243175; backdrop-filter: blur(5px); }
.toast { background: #30323d; }

/* Guest-facing camera: one large view, circular shutter, and session progress. */
.booth { background: #f6f7fa; color: var(--ink); min-height: 100dvh; }
.booth:before { display: none; }
.booth-header { background: #fff; border-bottom: 1px solid var(--line); min-height: 77px; height: auto; padding: 15px 28px; flex-wrap: nowrap; gap: 16px; }
.booth-header-left { min-width: 0; }
.booth-header-left > div { min-width: 0; }
.booth-back { border-radius: 50%; border-color: #e7e8ed; background: #fff; color: #6b7080; width: 39px; height: 39px; flex-shrink: 0; }
.booth-title { font-size: 15px; font-weight: 650; letter-spacing: -.3px; overflow-wrap: anywhere; }
.booth-subtitle { font-size: 10px; color: #969aa6; margin-top: 4px; }
.booth-header-right { gap: 12px; flex-wrap: nowrap; width: auto; }
.booth-device-toolbar { flex-wrap: nowrap; width: auto; }
.booth-device-toolbar .btn { min-height: 35px; padding: 0 10px; border-color: #e6e7ed; font-size: 10px; white-space: nowrap; }
.live-pill { border: 0; padding: 0; font-size: 10px; color: #9297a3; font-weight: 550; white-space: nowrap; }
.live-pill .dot { background: #b0b4bf; width: 6px; height: 6px; box-shadow: none; }
.live-pill.is-ready .dot { background: #4cab85; }
.booth-header-right > .cam-tool { display: grid; background: #f7f8fa; color: #656a79; border-color: #e7e9ee; }
.booth-main { display: block; width: 100%; max-width: 1500px; padding: 24px 42px 0; margin: 0 auto; flex: 1; }
.booth-left { gap: 0; }
.camera-stage { flex: none; height: clamp(360px, 60vh, 760px); min-height: 360px; border-radius: 15px 15px 0 0; border: 0; background: radial-gradient(ellipse at 50% 80%,#414052,transparent 70%), #242431; }
.stage-vignette { box-shadow: inset 0 -95px 90px -70px #000b; }
.camera-tag { top: 20px; left: 22px; background: #ffffff10; border: 1px solid #ffffff19; color: #c4c4d0; border-radius: 5px; font-size: 8px; letter-spacing: 1.5px; padding: 7px 9px; }
.camera-controls { top: 17px; right: 20px; }
.cam-tool { width: 35px; height: 35px; background: #ffffff0e; border-color: #ffffff21; border-radius: 50%; }
.camera-welcome { max-width: 480px; padding: 45px 20px 80px; color: #fff; }
.camera-welcome-icon { width: 64px; height: 64px; border-radius: 50%; background: #ffffff09; border: 1px solid #ffffff25; margin-bottom: 18px; }
.camera-welcome-icon .ico { width: 27px; height: 27px; color: #ffd4db; }
.welcome-kicker { display: block; font-size: 8px; letter-spacing: 2.6px; color: #b9a0af; margin-bottom: 12px; }
.camera-welcome h2 { font: 500 clamp(28px,3vw,43px)/1.2 Georgia,serif; letter-spacing: -1.3px; margin-bottom: 12px; }
.camera-welcome p { font-size: 11px; line-height: 1.8; color: #b1aebd; margin-bottom: 20px; }
.camera-welcome .btn { background: var(--accent); color: #fff; border-radius: 25px; padding: 0 24px; }
.camera-privacy { display: block; font-size: 9px; color: #9691a4; margin-top: 12px; }
.camera-instruction { bottom: 93px; font-size: 12px; letter-spacing: .2px; }
.capture-progress { position: absolute; bottom: 19px; left: 50%; transform: translateX(-50%); display: flex; gap: 9px; z-index: 2; }
.capture-slot { position: relative; height: 52px; width: 68px; border: 1px solid #ffffff35; background: #ffffff0c; border-radius: 6px; color: #ffffff52; display: grid; place-items: center; overflow: hidden; }
.capture-slot > span { position: absolute; top: 5px; left: 6px; font-size: 8px; }
.capture-slot > img { width: 100%; height: 100%; object-fit: cover; }
.capture-slot.is-complete { border-color: #fff; }
.capture-countdown { background: #08081045; backdrop-filter: none; }
.capture-countdown > div { width: clamp(170px,22vw,260px); aspect-ratio: 1; border-radius: 50%; border: 2px solid #ffffff80; background: #17172295; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.countdown-number { font-size: clamp(70px,10vw,125px); font-weight: 500; }
.countdown-label { color: #fff; font-size: 10px; letter-spacing: 1.8px; margin-top: 8px; }
.capture-panel { background: #fff; border: 1px solid #e4e6ec; border-top: 0; padding: 18px 24px; border-radius: 0 0 15px 15px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; }
.capture-control-label { display: block; font-size: 8px; letter-spacing: 1.4px; color: #a0a2ae; margin-bottom: 9px; }
.mode-tabs { gap: 3px; flex-wrap: nowrap; }
.mode-tab { color: #8c909e; padding: 9px 10px; border-radius: 7px; font-size: 10px; font-weight: 600; gap: 6px; }
.mode-tab.active { background: var(--accent-soft); color: var(--accent); }
.mode-tab .ico { width: 16px; height: 16px; }
.shutter-wrap { text-align: center; padding: 0 8px; }
.shutter { width: 66px; height: 66px; min-width: 66px; background: var(--accent); border: 5px solid #fff; outline: 1px solid #f3a7b1; outline-offset: 0; box-shadow: 0 0 0 4px #fff0f2; color: #fff; margin: 0 auto; transition: transform .15s; }
.shutter:hover { transform: scale(1.04); }
.shutter .ico { width: 25px; height: 25px; stroke-width: 1.7; }
.shutter-wrap > span { display: block; color: #999ca8; font-size: 9px; margin-top: 9px; }
.capture-summary { text-align: right; display: flex; flex-direction: column; gap: 7px; }
.capture-summary strong { color: #656a79; font-size: 11px; font-weight: 550; }
.capture-summary > span { color: #a0a4b0; font-size: 9px; }
.booth-footer { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 15px 42px 20px; width: 100%; max-width: 1500px; margin: 0 auto; color: #9a9daa; font-size: 8px; letter-spacing: 1.5px; }
.footer-divider { margin: 0 9px; color: #c4c7cf; }
.booth-mini-actions { display: flex; gap: 20px; }
.booth-mini-actions button { background: transparent; color: #858a99; border: 0; padding: 8px 0; font-weight: 550; font-size: 10px; }
.device-settings-panel { width: min(1050px,94vw); border-color: var(--line); }
.review { background: #f7f8fa; color: var(--ink); }
.review-preview { background: #ebeef3; border: 1px solid #e0e4eb; border-radius: 16px; }
.review-content .eyebrow { color: var(--accent); }
.review-content h1 { font-size: 40px; font-weight: 650; letter-spacing: -1.3px; }
.review-content p { color: #868b99; }
.review-actions .btn-outline { color: #535867; background: #fff; border-color: #dfe2e9; }
.review-note { color: #659581; }

@media (min-width: 1600px) { .content { padding-top: 46px; } .event-launch-panel { min-height: 285px; } }
@media (max-width: 1200px) {
  .sidebar { width: 205px; padding-left: 12px; padding-right: 12px; }
  .brand-name { font-size: 18px; }
  .topbar { padding: 0 25px; }
  .content { padding: 30px 25px 40px; }
  .event-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .event-launch-panel { grid-template-columns: minmax(0,1fr) 170px; }
  .event-launch-copy { padding: 25px; }
  .launch-specs { gap: 10px; }
  .capture-panel { gap: 12px; padding: 17px; grid-template-columns: 1fr auto; }
  .capture-summary { display: none; }
  .shutter-wrap { padding: 0 15px; }
}
@media (max-width: 760px) {
  .app-shell { padding-bottom: calc(69px + env(safe-area-inset-bottom,0px)); }
  .sidebar { width: 100%; height: calc(65px + env(safe-area-inset-bottom,0px)); padding: 5px 5px calc(5px + env(safe-area-inset-bottom,0px)); background: #fff; }
  .nav-item { min-width: 0; flex: 1; font-size: 8px; height: 52px; padding: 5px 2px; gap: 5px; margin: 0; }
  .nav-item .ico { width: 19px; height: 19px; }
  .nav-item.active { color: var(--accent); background: var(--accent-soft); }
  .sidebar .nav-section { display: none; }
  .topbar { height: 65px; padding: 0 18px; gap: 10px; }
  .breadcrumb { gap: 7px; }
  .breadcrumb > span, .breadcrumb > .ico { display: none; }
  .top-actions { gap: 12px; }
  .event-switcher { max-width: 175px; }
  .event-switcher > span { font-size: 7px; }
  .event-switcher select { font-size: 11px; }
  .top-icon { width: 31px; height: 31px; }
  .content { padding: 27px 18px 35px; }
  .heading-row { gap: 12px; align-items: flex-start; margin-bottom: 22px; }
  .page-title { font-size: 27px; }
  .eyebrow { font-size: 8px; letter-spacing: 1.4px; }
  .heading-row > .btn { flex-shrink: 0; font-size: 10px; padding: 0 12px; min-height: 38px; margin-top: 16px; }
  .heading-row .subheading { font-size: 11px; }
  .event-launch-panel { grid-template-columns: minmax(0,1fr) 115px; margin-bottom: 27px; min-height: 0; }
  .event-launch-copy { padding: 22px 18px; }
  .event-launch-copy h2 { font-size: 23px; }
  .event-launch-copy > p { font-size: 10px; }
  .launch-kicker { font-size: 7px; letter-spacing: 1px; }
  .launch-specs { flex-direction: column; gap: 8px; margin: 16px 0 18px; font-size: 9px; }
  .launch-actions .btn { font-size: 10px; padding: 0 11px; min-height: 39px; }
  .launch-actions .ico { width: 14px; }
  .launch-print-preview { padding: 12px; }
  .launch-print-preview > span { font-size: 6px; text-align: center; line-height: 1.7; letter-spacing: 1px; }
  .launch-print-preview .mock-print.mock-precise:not(.mock-strip) { width: 78px; }
  .event-search { width: 175px; }
  .event-library-heading h2 { font-size: 15px; }
  .event-grid { gap: 12px; }
  .event-card-body { padding: 12px; }
  .event-art { height: 165px; }
  .event-art-label { display: none; }
  .event-art h3 { font-size: 23px; }
  .event-card-actions { flex-wrap: wrap; }
  .event-card-actions .btn { min-width: 100px; }
  .new-event-card { min-height: 290px; padding: 15px; }
  .new-event-card small { text-align: center; line-height: 1.6; }
  .workspace-footer { margin: 0 18px; font-size: 9px; }
  .local-storage-note { align-items: flex-start; font-size: 9px; }
  .studio-intro h1 { font-size: 27px; }
  .studio-launch { white-space: normal; }
  .booth-header { padding: 12px 15px; gap: 12px; flex-wrap: wrap; min-height: 0; }
  .booth-header-left { width: 100%; gap: 11px; }
  .booth-title { font-size: 14px; }
  .booth-header-right { width: 100%; gap: 10px; justify-content: space-between; }
  .booth-device-toolbar { display: flex; width: auto; order: 0; gap: 6px; }
  .booth-device-toolbar .btn { min-height: 32px; padding: 0 9px; font-size: 9px; }
  .booth-header-right > .live-pill { display: flex; font-size: 9px; }
  .booth-header-right > .cam-tool { display: grid; width: 32px; height: 32px; }
  .booth-main { padding: 12px 12px 0; }
  .camera-stage { height: max(390px,54vh); min-height: 390px; border-radius: 12px 12px 0 0; }
  .camera-tag { font-size: 6px; padding: 6px; top: 14px; left: 12px; letter-spacing: .8px; }
  .camera-tag .ico { width: 11px; }
  .camera-controls { top: 12px; right: 12px; gap: 6px; }
  .camera-controls .cam-tool { width: 30px; height: 30px; }
  .camera-welcome { padding: 60px 18px 90px; }
  .camera-welcome-icon { width: 50px; height: 50px; margin-bottom: 14px; }
  .camera-welcome h2 { font-size: 31px; }
  .camera-welcome p { font-size: 10px; }
  .camera-privacy { font-size: 8px; }
  .capture-slot { width: 56px; height: 43px; }
  .capture-progress { gap: 7px; bottom: 16px; }
  .camera-instruction { bottom: 75px; font-size: 10px; }
  .capture-panel { grid-template-columns: 1fr auto; padding: 14px 10px; gap: 9px; border-radius: 0 0 12px 12px; }
  .capture-control-label { font-size: 6px; letter-spacing: 1px; margin-bottom: 7px; }
  .mode-tabs { gap: 1px; }
  .mode-tab { flex-direction: column; padding: 8px 9px; font-size: 8px; gap: 5px; }
  .mode-tab .ico { width: 17px; height: 17px; }
  .shutter-wrap { padding: 0 7px; }
  .shutter { width: 54px; height: 54px; min-width: 54px; border-width: 4px; }
  .shutter .ico { width: 22px; height: 22px; }
  .shutter-wrap > span { font-size: 8px; margin-top: 8px; }
  .booth-footer { padding: 10px 16px 15px; flex-wrap: wrap; font-size: 6px; letter-spacing: 1px; }
  .booth-mini-actions { gap: 13px; }
  .booth-mini-actions button { font-size: 9px; }
  .booth-mini-actions .ico { width: 13px; height: 13px; }
  .review-main { padding: 20px; }
}
@media (max-width: 480px) {
  .event-grid { grid-template-columns: 1fr; }
  .event-card-actions { flex-wrap: nowrap; }
  .event-art { height: 180px; }
  .event-art-label { display: block; }
  .new-event-card { min-height: 170px; }
  .launch-print-preview { padding: 10px; }
  .event-search { width: 170px; }
}
@media (max-width: 360px) {
  .content { padding-left: 12px; padding-right: 12px; }
  .event-switcher { max-width: 135px; }
  .event-launch-panel { grid-template-columns: minmax(0,1fr) 90px; }
  .event-launch-copy { padding: 18px 14px; }
  .event-search { width: 150px; }
  .capture-panel { gap: 4px; padding: 13px 7px; }
  .mode-tab { padding: 8px 6px; }
  .booth-header-right > .live-pill { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Print orientation changes the paper itself, keeping photos upright. */
.orientation-controls { display: flex; align-items: flex-end; gap: 12px; margin-top: 22px; }
.orientation-controls .designer-field { flex: 1; }
.orientation-controls .btn { min-height: 46px; }
.orientation-note { color: #858995; font-size: 11px; line-height: 1.6; margin-top: 11px; }
.design-canvas.print-design.is-landscape { width: 440px; aspect-ratio: 3 / 2; container-type: inline-size; }
.design-canvas.print-design.print-strip.is-landscape { width: 440px; aspect-ratio: 3 / 1; }
.studio-preview-stage:has(.is-landscape) { min-height: 380px; }
.studio-preview-stage:has(.print-strip.is-landscape) { min-height: 250px; }
.design-canvas.print-design.is-landscape .design-heading { font-size: 2.3cqw; }
.design-canvas.print-design.print-strip.is-landscape .design-heading { font-size: 1.2cqw; }
.design-canvas.print-design.is-landscape .design-date { font-size: 1cqw; }
.mock-print.mock-precise.mock-landscape { width: min(240px,90%); }
.launch-print-preview .mock-print.mock-landscape { width: 140px; }
@media (max-width: 760px) {
  .launch-print-preview .mock-print.mock-landscape { width: 78px; }
  .orientation-controls { gap: 9px; }
  .orientation-controls .btn { padding: 0 10px; font-size: 11px; }
  .design-canvas.print-design.is-landscape { width: min(440px,90%); }
  .studio-preview-stage:has(.is-landscape) { min-height: 300px; }
  .studio-preview-stage:has(.print-strip.is-landscape) { min-height: 200px; }
}
