:root {
  color-scheme: light;
  --ink: #1e293b;
  --muted: #64748b;
  --quiet: #94a3b8;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --paper: #ffffff;
  --canvas: #f8fafc;
  --surface-muted: #f1f5f9;
  --blue: #3b82f6;
  --blue-dark: #1d4ed8;
  --blue-pale: #eff6ff;
  --amber-pale: #fef3c7;
  --amber-ink: #92400e;
  --danger: #be123c;
  --danger-pale: #fff1f2;
  --shadow: 0 14px 40px rgb(15 23 42 / 9%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--canvas); }
button, input, textarea, select { color: inherit; font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .52; }
a { color: inherit; }
img, video { display: block; max-width: 100%; }

:focus-visible { outline: 3px solid #93c5fd; outline-offset: 3px; }
::selection { color: #1e3a8a; background: #dbeafe; }

#app { min-height: 100vh; }
.app-shell, .shell, .layout { min-height: 100vh; }
.sidebar {
  position: fixed; z-index: 10; inset: 0 auto 0 0; display: flex; width: 236px; flex-direction: column;
  padding: 25px 16px 18px; border-right: 1px solid var(--line); background: var(--paper);
}
.brand, .logo { display: inline-flex; align-items: center; gap: 11px; padding: 4px 8px 22px; color: var(--ink); text-decoration: none; }
.brand-mark { display: grid; width: 38px; height: 38px; flex: none; place-items: center; border-radius: 13px; background: var(--blue-pale); color: var(--blue-dark); }
.brand-name, .brand strong { font-size: 16px; font-weight: 650; letter-spacing: -.04em; }
.brand-caption { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; font-weight: 450; letter-spacing: .01em; }
.sidebar-label, .nav-label, .eyebrow { margin: 15px 10px 8px; color: var(--quiet); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.nav, .sidebar nav, .nav-list { display: grid; gap: 4px; }
.nav-link, .sidebar nav a, .nav-item {
  display: flex; min-height: 42px; align-items: center; gap: 11px; padding: 0 11px; border: 0; border-radius: 10px;
  background: transparent; color: #64748b; font-size: 13px; font-weight: 520; text-align: left; text-decoration: none; transition: background .16s, color .16s;
}
.nav-link:hover, .sidebar nav a:hover, .nav-item:hover { background: #f8fafc; color: var(--ink); }
.nav-link.active, .sidebar nav a.active, .nav-item.active { background: var(--blue-pale); color: var(--blue-dark); font-weight: 650; }
.nav-link svg, .sidebar nav svg, .nav-item svg { width: 17px; height: 17px; flex: none; }
.sidebar-bottom { margin-top: auto; padding: 14px 10px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }

.main, .main-content, .content-area { min-width: 0; min-height: 100vh; margin-left: 236px; }
.topbar, .top-bar, header.page-header {
  position: sticky; z-index: 5; top: 0; display: flex; min-height: 77px; align-items: center; justify-content: space-between;
  gap: 20px; padding: 0 44px; border-bottom: 1px solid rgb(248 250 252 / 92%); background: rgb(248 250 252 / 96%); backdrop-filter: blur(12px);
}
.topbar-title { color: var(--muted); font-size: 13px; }
.topbar-actions, .header-actions { display: flex; align-items: center; gap: 10px; }
.page, .page-content, main.content { width: min(100%, 1440px); margin: 0 auto; padding: 37px 44px 56px; }
.page-heading, .page-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 28px; }
.page-heading h1, .page-title-row h1, h1 { margin: 0; font-size: clamp(25px, 3vw, 33px); font-weight: 620; letter-spacing: -.045em; line-height: 1.16; }
.page-heading p, .page-title-row p, .subtitle { max-width: 650px; margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
h2 { margin: 0; font-size: 17px; font-weight: 620; letter-spacing: -.025em; }
h3 { margin: 0; font-size: 14px; font-weight: 640; letter-spacing: -.012em; }
p { line-height: 1.6; }
.muted, .hint, .field-hint, .help-text { color: var(--muted); }
.eyebrow { margin: 0 0 9px; color: var(--blue-dark); }

.button, .btn, button.primary, button.secondary, .button-primary, .button-secondary {
  display: inline-flex; min-height: 41px; align-items: center; justify-content: center; gap: 8px; padding: 0 15px;
  border: 1px solid transparent; border-radius: 10px; font-size: 13px; font-weight: 620; text-decoration: none;
  transition: background .15s, border-color .15s, box-shadow .15s, transform .15s;
}
.button:active, .btn:active { transform: translateY(1px); }
.primary, .button-primary, .btn.primary, button.primary { border-color: var(--blue-dark); background: var(--blue-dark); color: #fff; box-shadow: 0 3px 7px rgb(37 99 235 / 12%); }
.primary:hover, .button-primary:hover, .btn.primary:hover, button.primary:hover { border-color: #1e40af; background: #1e40af; }
.secondary, .button-secondary, .btn.secondary, button.secondary { border-color: var(--line-strong); background: var(--paper); color: var(--ink); }
.secondary:hover, .button-secondary:hover, .btn.secondary:hover, button.secondary:hover { border-color: #cbd5e1; background: #f8fafc; }
.ghost, .text-button, button.ghost { border: 0; background: transparent; color: var(--blue-dark); }
.ghost:hover, .text-button:hover, button.ghost:hover { background: var(--blue-pale); }
.danger, .button-danger { border-color: #fecdd3; background: var(--paper); color: var(--danger); }
.danger:hover, .button-danger:hover { background: var(--danger-pale); }
.button svg, .btn svg { width: 17px; height: 17px; }
.icon-button { display: inline-grid; width: 38px; height: 38px; flex: none; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--muted); }
.icon-button:hover { color: var(--ink); background: #f8fafc; }

.stats, .stat-grid, .dashboard-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-bottom: 27px; }
.stat-card, .stat {
  min-height: 105px; padding: 17px 19px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper);
}
.stat-label { color: var(--muted); font-size: 12px; font-weight: 520; }
.stat-value { display: block; margin-top: 10px; font-size: 26px; font-weight: 640; letter-spacing: -.05em; }
.stat-note { margin-top: 4px; color: var(--quiet); font-size: 11px; }
.dashboard-section, .section { margin-top: 25px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 13px; }
.card, .panel, .surface {
  border: 1px solid var(--line); border-radius: 14px; background: var(--paper); box-shadow: 0 2px 8px rgb(15 23 42 / 2%);
}
.empty-state {
  display: grid; min-height: 250px; justify-items: center; align-content: center; padding: 32px 20px; border: 1px dashed var(--line-strong);
  border-radius: 15px; background: rgb(255 255 255 / 66%); text-align: center;
}
.empty-icon { display: grid; width: 52px; height: 52px; place-items: center; margin-bottom: 14px; border-radius: 17px; background: var(--surface-muted); color: #475569; }
.empty-state h2 { font-size: 16px; }
.empty-state p { max-width: 370px; margin: 8px 0 19px; color: var(--muted); font-size: 13px; }

.item-list, .listing-grid, .items-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.item-list { display: block; min-width: 0; }
.item-card, .listing-card {
  display: flex; min-width: 0; gap: 15px; padding: 13px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); transition: box-shadow .16s, border-color .16s;
}
.item-card:hover, .listing-card:hover { border-color: #cbd5e1; box-shadow: 0 8px 22px rgb(15 23 42 / 6%); }
.item-image, .listing-image, .item-thumb { width: 94px; height: 94px; flex: none; overflow: hidden; border-radius: 10px; background: #f1f5f9; object-fit: cover; }
.item-image-placeholder { display: grid; place-items: center; color: var(--quiet); }
.item-info, .listing-info { min-width: 0; flex: 1; }
.item-info h3, .listing-info h3 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item-price { margin-top: 5px; color: var(--blue-dark); font-size: 14px; font-weight: 650; }
.item-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.item-actions { display: flex; align-items: center; gap: 7px; margin-top: 11px; }
.item-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; }
.badge, .status, .chip, .tag {
  display: inline-flex; min-height: 23px; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 99px;
  background: #f1f5f9; color: #64748b; font-size: 10px; font-weight: 620; white-space: nowrap;
}
.badge.ready, .status.ready, .status.ready_to_share, .badge.shared { background: var(--blue-pale); color: var(--blue-dark); }
.badge.scheduled, .status.scheduled { background: var(--amber-pale); color: var(--amber-ink); }
.badge.sold, .status.sold, .badge.archived { background: #f1f5f9; color: #64748b; }

.toolbar, .filters, .filter-row { display: flex; align-items: center; gap: 9px; }
.filter-pill { min-height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 99px; background: var(--paper); color: var(--muted); font-size: 12px; }
.filter-pill:hover, .filter-pill.active { border-color: #cbd5e1; background: var(--blue-pale); color: var(--blue-dark); }
.search, input[type="search"] { min-height: 39px; width: min(100%, 290px); padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--paper); }

.composer, .editor, .compose-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(270px, .75fr); align-items: start; gap: 19px; }
.composer-main, .composer-side, .editor-main, .editor-side { display: grid; min-width: 0; gap: 15px; }
.form-section, .editor-section, .composer-section { padding: 21px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.form-section + .form-section { margin-top: 14px; }
.form-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 17px; }
.form-section-heading p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.field, .form-field { min-width: 0; margin-bottom: 15px; }
.field:last-child, .form-field:last-child { margin-bottom: 0; }
.field label, .form-field label, label.field-label { display: block; margin-bottom: 7px; color: #334155; font-size: 12px; font-weight: 620; }
.optional { margin-left: 4px; color: var(--quiet); font-size: 11px; font-weight: 450; }
.field input, .field textarea, .field select, .form-field input, .form-field textarea, .form-field select,
input[type="text"], input[type="number"], input[type="date"], input[type="datetime-local"], textarea, select {
  width: 100%; min-height: 43px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 9px; outline: none; background: #fff; color: var(--ink); font-size: 13px; transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.field input:focus, .field textarea:focus, .field select:focus, .form-field input:focus, .form-field textarea:focus, .form-field select:focus, input:focus, textarea:focus, select:focus { border-color: #93c5fd; box-shadow: 0 0 0 3px rgb(37 99 235 / 13%); }
input::placeholder, textarea::placeholder { color: #94a3b8; }
.field-hint, .help-text, .field small { display: block; margin-top: 6px; font-size: 11px; line-height: 1.5; }
.field-error, .error, [role="alert"] { color: var(--danger); }
.field-error { margin-top: 6px; font-size: 11px; }
.form-row, .field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.choice-row, .segmented { display: flex; flex-wrap: wrap; gap: 7px; }
.choice, .choice-button, .segmented button { min-height: 36px; padding: 0 13px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: #64748b; font-size: 12px; }
.choice.active, .choice-button.active, .segmented button.active, .choice[aria-pressed="true"] { border-color: #bfdbfe; background: var(--blue-pale); color: var(--blue-dark); font-weight: 620; }
.condition-options { display: flex; flex-wrap: wrap; gap: 7px; }
.condition-option { display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px; background: #fff; font-size: 12px; cursor: pointer; }
.condition-option:has(input:checked) { border-color: #bfdbfe; background: var(--blue-pale); color: var(--blue-dark); }

.dropzone, .upload-zone, .file-drop {
  display: grid; min-height: 155px; place-items: center; padding: 22px; border: 1.5px dashed #cbd5e1; border-radius: 12px;
  background: #f8fafc; color: var(--muted); text-align: center; transition: border-color .16s, background .16s;
}
.dropzone:hover, .upload-zone:hover, .dropzone.dragover, .upload-zone.dragover { border-color: var(--blue); background: var(--blue-pale); }
.dropzone strong, .upload-zone strong { display: block; margin-top: 9px; color: var(--ink); font-size: 13px; }
.dropzone p, .upload-zone p { margin: 5px 0 0; font-size: 11px; }
.media-grid, .media-picker, .photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 9px; margin-top: 12px; }
.media-tile, .media-thumb, .photo-tile { position: relative; min-width: 0; overflow: hidden; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 10px; background: #f1f5f9; }
.media-tile img, .media-tile video, .media-thumb img, .photo-tile img { width: 100%; height: 100%; object-fit: cover; }
.media-tile button, .media-thumb button { position: absolute; top: 6px; right: 6px; display: grid; width: 27px; height: 27px; place-items: center; border: 0; border-radius: 50%; background: rgb(255 255 255 / 94%); color: var(--ink); box-shadow: 0 2px 7px rgb(0 0 0 / 12%); }
.media-tile .media-name { position: absolute; right: 0; bottom: 0; left: 0; overflow: hidden; padding: 16px 7px 6px; background: linear-gradient(transparent, rgb(0 0 0 / 55%)); color: white; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.media-tile.selected, .media-thumb.selected, .photo-tile.selected { outline: 3px solid var(--blue); outline-offset: 1px; }
.upload-input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }

.preview-card, .share-card { padding: 19px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.preview-image { overflow: hidden; margin: -1px -1px 15px; border-radius: 10px; background: #f1f5f9; aspect-ratio: 4 / 3; }
.preview-image img, .preview-image video { width: 100%; height: 100%; object-fit: cover; }
.preview-title { font-size: 17px; font-weight: 650; letter-spacing: -.025em; }
.preview-price { margin-top: 5px; color: var(--blue-dark); font-size: 15px; font-weight: 650; }
.preview-description { margin-top: 11px; color: #64748b; font-size: 12px; line-height: 1.6; white-space: pre-wrap; }
.preview-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.share-actions { display: grid; gap: 8px; margin-top: 15px; }
.share-actions .button, .share-actions .btn { width: 100%; }
.destination-list, .share-destinations { display: grid; gap: 9px; margin-top: 12px; }
.destination, .destination-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.destination-detail { min-width: 0; }
.destination-name { font-size: 12px; font-weight: 630; }
.destination-note { margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.notice, .notice-card { padding: 12px 14px; border: 1px solid #fef3c7; border-radius: 10px; background: #fffbeb; color: #92400e; font-size: 12px; line-height: 1.5; }
.notice.info { border-color: #bfdbfe; background: #eff6ff; color: #1e40af; }

.calendar { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.calendar-header, .calendar-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.calendar-header { border-bottom: 1px solid var(--line); background: #f8fafc; }
.calendar-header > div { padding: 11px 8px; color: var(--muted); font-size: 10px; font-weight: 650; text-align: center; }
.calendar-day { min-height: 112px; padding: 8px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.calendar-day:nth-child(7n) { border-right: 0; }
.calendar-day.muted { background: #f8fafc; color: #94a3b8; }
.calendar-date { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; color: #475569; font-size: 11px; }
.calendar-date.today { background: var(--blue-dark); color: white; }
.calendar-event { overflow: hidden; margin-top: 5px; padding: 5px 7px; border-radius: 6px; background: var(--blue-pale); color: var(--blue-dark); font-size: 10px; font-weight: 570; text-overflow: ellipsis; white-space: nowrap; }

.library-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.media-library-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); gap: 13px; }
.library-card { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.library-card img, .library-card video { width: 100%; aspect-ratio: 1; object-fit: cover; background: #f1f5f9; }
.library-caption { overflow: hidden; padding: 10px 11px; color: #475569; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }

dialog, .modal, .dialog {
  width: min(600px, calc(100vw - 32px)); max-height: min(86vh, 780px); overflow: auto; padding: 0; border: 1px solid var(--line);
  border-radius: 16px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow);
}
dialog::backdrop { background: rgb(15 23 42 / 42%); backdrop-filter: blur(2px); }
dialog { padding: 28px; }
dialog.wide { width: min(920px, calc(100vw - 32px)); }
dialog > h2 { padding-right: 30px; margin: 0 0 16px; }
dialog > p { margin: 12px 0 20px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.modal-header, .dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 22px 14px; border-bottom: 1px solid var(--line); }
.modal-body, .dialog-body { padding: 19px 22px; }
.modal-footer, .dialog-footer { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 22px 20px; border-top: 1px solid var(--line); }
.modal-close { position: absolute; top: 12px; right: 12px; display: grid; width: 32px; height: 32px; place-items: center; border: 0; border-radius: 8px; background: transparent; color: var(--muted); }
.modal-close:hover { background: #f8fafc; }

.toast, #toast { position: fixed; z-index: 50; right: 20px; bottom: 20px; max-width: min(420px, calc(100vw - 40px)); padding: 12px 16px; border: 1px solid #cbd5e1; border-radius: 11px; background: #fff; color: var(--ink); box-shadow: var(--shadow); font-size: 13px; }
.toast:empty, #toast:empty { display: none; }
#toast:not(.show) { display: none; }
.login-screen, .login-page { display: grid; min-height: 100vh; place-items: center; padding: 24px; background: var(--canvas); }
.login-card { width: min(410px, 100%); padding: 31px; border: 1px solid var(--line); border-radius: 17px; background: var(--paper); box-shadow: 0 10px 35px rgb(15 23 42 / 5%); }
.login-card h1 { margin-bottom: 9px; font-size: 28px; }
.login-card form { display: grid; gap: 12px; margin-top: 20px; }
.login-card .button, .login-card .btn { width: 100%; }
.loading { display: grid; min-height: 55vh; place-content: center; justify-items: center; color: var(--muted); text-align: center; }
.loading p { font-size: 13px; }

@media (min-width: 1500px) {
  .page, .page-content, main.content { padding-right: 56px; padding-left: 56px; }
}
@media (max-width: 1120px) {
  .page, .page-content, main.content { padding-right: 28px; padding-left: 28px; }
  .topbar, .top-bar, header.page-header { padding-right: 28px; padding-left: 28px; }
  .composer, .editor, .compose-layout { grid-template-columns: minmax(0, 1.15fr) minmax(245px, .8fr); gap: 13px; }
  .item-list, .listing-grid, .items-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .sidebar { position: sticky; z-index: 15; inset: auto; width: 100%; min-height: 0; padding: 10px 14px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .brand, .logo { padding: 2px 4px 9px; }
  .brand-mark { width: 31px; height: 31px; border-radius: 10px; }
  .brand-name, .brand strong { font-size: 14px; }
  .brand-caption, .sidebar-label, .nav-label, .sidebar-bottom { display: none; }
  .nav, .sidebar nav, .nav-list { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
  .nav::-webkit-scrollbar, .sidebar nav::-webkit-scrollbar { display: none; }
  .nav-link, .sidebar nav a, .nav-item { min-height: 37px; flex: 0 0 auto; gap: 7px; padding: 0 10px; font-size: 11px; }
  .nav-link svg, .sidebar nav svg, .nav-item svg { width: 15px; height: 15px; }
  .main, .main-content, .content-area { margin-left: 0; min-height: calc(100vh - 88px); }
  .topbar, .top-bar, header.page-header { position: static; min-height: 57px; padding: 0 18px; }
  .page, .page-content, main.content { padding: 24px 18px 38px; }
  .page-heading, .page-title-row { align-items: flex-start; margin-bottom: 20px; }
  .page-heading h1, .page-title-row h1, h1 { font-size: 26px; }
  .stats, .stat-grid, .dashboard-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-bottom: 20px; }
  .stat-card, .stat { min-height: 82px; padding: 12px 10px; border-radius: 11px; }
  .stat-label { font-size: 10px; }
  .stat-value { margin-top: 8px; font-size: 21px; }
  .stat-note { display: none; }
  .composer, .editor, .compose-layout { grid-template-columns: 1fr; }
  .composer-main, .editor-main { order: 1; }
  .composer-side, .editor-side { order: 2; }
  .form-section, .editor-section, .composer-section { padding: 16px; }
  .empty-state { min-height: 215px; }
  .calendar-day { min-height: 75px; padding: 4px; }
  .calendar-event { padding: 4px; font-size: 9px; }
  .calendar-header > div { padding: 9px 3px; font-size: 9px; }
}
@media (max-width: 480px) {
  .topbar, .top-bar, header.page-header { padding: 0 14px; }
  .page, .page-content, main.content { padding: 20px 14px 32px; }
  .page-heading, .page-title-row { flex-direction: column; align-items: stretch; gap: 13px; }
  .page-heading > .button, .page-title-row > .button, .page-heading > .btn, .page-title-row > .btn { width: 100%; }
  .stats, .stat-grid, .dashboard-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat-card, .stat { padding: 10px 8px; }
  .stat-label { font-size: 9px; }
  .stat-value { font-size: 19px; }
  .item-card, .listing-card { gap: 10px; padding: 10px; }
  .item-image, .listing-image, .item-thumb { width: 75px; height: 75px; }
  .form-row, .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-section, .editor-section, .composer-section { padding: 14px; }
  .modal-header, .dialog-header { padding: 16px 16px 12px; }
  .modal-body, .dialog-body { padding: 15px 16px; }
  .modal-footer, .dialog-footer { padding: 12px 16px 16px; }
  .calendar-day { min-height: 58px; }
  .calendar-event { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Components used by the personal selling screens. */
.app-name { display: flex; align-items: center; gap: 10px; padding: 4px 9px 23px; color: var(--ink); font-size: 18px; font-weight: 650; letter-spacing: -.04em; text-decoration: none; }
.app-name svg { width: 28px; height: 28px; padding: 5px; border-radius: 9px; background: var(--blue-pale); color: var(--blue-dark); }
.workspace-label { margin: 0 9px 10px; color: var(--quiet); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.nav-count { display: grid; min-width: 21px; height: 21px; place-items: center; margin-left: auto; border-radius: 99px; background: rgb(255 255 255 / 72%); color: var(--blue-dark); font-size: 10px; }
.local-note { display: flex; gap: 9px; align-items: flex-start; padding-bottom: 14px; }
.local-note > svg { flex: none; margin-top: 2px; color: var(--blue-dark); }
.local-note strong, .profile-line strong { display: block; color: #475569; font-size: 11px; font-weight: 630; }
.local-note p { margin: 4px 0 0; color: var(--quiet); font-size: 10px; line-height: 1.45; }
.profile-line { display: flex; align-items: center; gap: 9px; padding-top: 13px; border-top: 1px solid var(--line); }
.profile-line small { display: block; margin-top: 3px; color: var(--quiet); font-size: 10px; }
.profile-line .btn { margin-left: auto; padding: 0 6px; }
.avatar { display: grid; width: 31px; height: 31px; flex: none; place-items: center; border-radius: 50%; background: var(--surface-muted); color: #92400e; }
.main { display: flex; flex-direction: column; }
.topbar { flex: none; color: #64748b; font-size: 13px; }
.mode-label { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; }
.mode-label i { width: 7px; height: 7px; border-radius: 50%; background: #60a5fa; box-shadow: 0 0 0 3px #dbeafe; }
#content { width: min(100%, 1440px); flex: 1; margin: 0 auto; padding: 38px 44px 50px; }
footer { display: flex; justify-content: space-between; gap: 15px; padding: 14px 44px 20px; color: #64748b; font-size: 10px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin: 1px 0 27px; }
.page-head p { max-width: 670px; margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.actions.stack { display: grid; margin-top: 17px; }
.btn { min-height: 40px; }
.btn.text { border-color: transparent; background: transparent; color: var(--blue-dark); }
.btn.text:hover { background: var(--blue-pale); }
.btn.active, .btn.selected { border-color: #bfdbfe; background: var(--blue-pale); color: var(--blue-dark); }
.stats { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 23px; }
.stat { display: block; min-height: 122px; padding: 16px 17px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); color: var(--muted); text-align: left; transition: border-color .15s, box-shadow .15s; }
.stat:hover { border-color: #cbd5e1; box-shadow: 0 5px 15px rgb(15 23 42 / 5%); }
.stat > span { color: #64748b; font-size: 12px; font-weight: 560; }
.stat > strong { display: flex; align-items: center; justify-content: space-between; margin-top: 7px; color: var(--ink); font-size: 25px; font-weight: 650; letter-spacing: -.045em; }
.stat > strong small { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 9px; background: var(--blue-pale); color: var(--blue-dark); }
.stat p { margin: 4px 0 0; color: var(--quiet); font-size: 10px; }
.items-panel { overflow: hidden; padding: 0; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 21px 16px; }
.panel-heading p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.view-toggle { display: flex; gap: 4px; padding: 3px; border: 1px solid var(--line); border-radius: 9px; background: #f8fafc; }
.view-toggle .btn { width: 34px; min-width: 34px; min-height: 32px; padding: 0; }
.list-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 13px; padding: 0 21px 14px; }
.filter-tabs { display: flex; gap: 3px; overflow-x: auto; scrollbar-width: thin; }
.filter-tabs .btn { min-height: 33px; flex: 0 0 auto; padding: 0 10px; border-radius: 8px; font-size: 11px; }
.search { display: flex; min-width: 180px; align-items: center; gap: 8px; padding: 0 10px; border: 1px solid var(--line); border-radius: 9px; color: var(--quiet); }
.search input { min-width: 0; min-height: 36px; padding: 0; border: 0; background: transparent; outline: 0; box-shadow: none; font-size: 11px; }
.search:focus-within { border-color: #93c5fd; box-shadow: 0 0 0 3px rgb(37 99 235 / 13%); }
.list-labels, .item-row { display: grid; grid-template-columns: minmax(200px, 2.1fr) minmax(90px, .72fr) minmax(120px, .9fr) minmax(120px, 1fr) 20px; align-items: center; gap: 13px; }
.list-labels, .item-row { width: 100%; min-width: 0; }
.list-labels { padding: 10px 21px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #f8fafc; color: #94a3b8; font-size: 9px; font-weight: 700; letter-spacing: .09em; }
.item-row { width: 100%; min-height: 80px; padding: 9px 21px; border: 0; border-bottom: 1px solid #f1f5f9; background: var(--paper); color: inherit; text-align: left; }
.item-row:last-child { border-bottom: 0; }
.item-row:hover { background: #f8fafc; }
.item-row > svg { color: #94a3b8; }
.item-summary { display: flex; min-width: 0; align-items: center; gap: 11px; }
.item-summary > span:last-child { display: grid; min-width: 0; gap: 5px; }
.item-summary strong { overflow: hidden; color: #1e293b; font-size: 12px; font-weight: 630; text-overflow: ellipsis; white-space: nowrap; }
.item-summary small { color: var(--muted); font-size: 10px; }
.item-thumb { display: grid; width: 49px; height: 49px; place-items: center; overflow: hidden; border-radius: 8px; background: #f1f5f9; color: #94a3b8; }
.item-thumb img, .item-thumb video { width: 100%; height: 100%; object-fit: cover; }
.item-price { color: #1d4ed8; font-size: 12px; font-weight: 620; }
.planned-date { color: var(--muted); font-size: 11px; }
.badge { font-size: 10px; }
.badge.draft { background: #f1f5f9; color: #64748b; }
.badge.ready_to_share { background: var(--blue-pale); color: var(--blue-dark); }
.badge.shared { background: #eff6ff; color: #1e40af; }
.badge.sold { background: #f1f5f9; color: #64748b; }
.empty { display: grid; min-height: 275px; justify-items: center; align-content: center; padding: 30px 20px; border-top: 1px solid var(--line); text-align: center; }
.empty-art { display: flex; align-items: center; justify-content: center; margin: 0 0 16px; color: #3b82f6; }
.empty-art > span { display: grid; width: 58px; height: 58px; place-items: center; border: 4px solid var(--canvas); border-radius: 18px; background: var(--blue-pale); }
.empty-art > span + span { width: 43px; height: 43px; margin: 21px 0 0 -15px; border-radius: 14px; background: var(--surface-muted); color: #475569; }
.empty h2 { font-size: 17px; }
.empty > p { max-width: 385px; margin: 7px 0 16px; color: var(--muted); font-size: 12px; }
.empty .actions { justify-content: center; }
.steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 22px; color: #64748b; font-size: 10px; }
.steps span { display: inline-flex; align-items: center; gap: 6px; }
.steps b { display: grid; width: 19px; height: 19px; place-items: center; border-radius: 50%; background: #eff6ff; color: var(--blue-dark); font-size: 9px; }
.quiet-note { display: flex; align-items: center; gap: 8px; margin: 17px 2px; color: #64748b; font-size: 11px; }
.quiet-note svg { color: #2563eb; }
.composer-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -10px 0 17px; color: var(--muted); font-size: 11px; }
.composer-top .btn { min-height: 34px; padding: 0 9px; }
.composer-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .72fr); gap: 24px; align-items: start; }
.editor-column { display: grid; gap: 14px; min-width: 0; }
.preview-column { position: sticky; top: 96px; display: grid; gap: 10px; min-width: 0; }
.preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 3px 2px 2px; }
.preview-heading span { color: var(--quiet); font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.editor-section { padding: 20px; }
.section-heading { display: flex; align-items: center; justify-content: flex-start; gap: 10px; margin-bottom: 17px; }
.section-heading small { margin-left: auto; color: var(--quiet); font-size: 9px; font-weight: 650; letter-spacing: .08em; }
.step-number { display: grid; width: 25px; height: 25px; flex: none; place-items: center; border-radius: 8px; background: var(--blue-pale); color: var(--blue-dark); font-size: 11px; font-weight: 700; }
.field > span { display: block; margin-bottom: 7px; color: #334155; font-size: 12px; font-weight: 620; }
.field > span small { color: var(--quiet); font-size: 10px; font-weight: 450; }
.field-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 12px; }
.field-grid .field { min-width: 0; }
.dropzone { min-height: 188px; gap: 0; align-content: center; justify-items: center; border-radius: 11px; }
.dropzone.dragging { border-color: var(--blue-dark); background: var(--blue-pale); }
.dropzone > svg { color: var(--blue); }
.dropzone > strong { margin-top: 8px; color: #334155; font-size: 12px; }
.dropzone > p { margin: 3px 0 10px; color: var(--muted); font-size: 10px; }
.dropzone .actions { justify-content: center; }
.dropzone .btn { min-height: 34px; padding: 0 11px; font-size: 11px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.selected-file { display: flex; align-items: center; gap: 10px; margin-top: 9px; padding: 9px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.selected-thumb { display: grid; width: 44px; height: 44px; flex: none; place-items: center; overflow: hidden; border-radius: 7px; background: #f1f5f9; color: var(--quiet); }
.selected-thumb img, .selected-thumb video { width: 100%; height: 100%; object-fit: cover; }
.selected-file > div:nth-child(2) { display: grid; min-width: 0; gap: 4px; }
.selected-file strong { overflow: hidden; max-width: 230px; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.selected-file small { color: var(--muted); font-size: 10px; }
.selected-file .actions { gap: 3px; margin-left: auto; }
.icon-btn { display: inline-grid; min-width: 32px; min-height: 32px; place-items: center; padding: 0 7px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: #64748b; }
.icon-btn:hover { border-color: var(--line-strong); background: #f8fafc; color: var(--ink); }
.icon-btn svg { width: 16px; height: 16px; }
.destination-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.destination { justify-content: flex-start; min-height: 60px; padding: 9px; cursor: pointer; }
.destination.checked { border-color: #bfdbfe; background: #eff6ff; }
.destination input { width: 15px; height: 15px; flex: none; accent-color: var(--blue-dark); }
.destination span { display: grid; gap: 4px; }
.destination strong { font-size: 10px; }
.destination small { color: var(--muted); font-size: 9px; }
.schedule-details { margin-top: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #f8fafc; }
.schedule-details summary { display: flex; align-items: center; gap: 7px; color: #475569; font-size: 11px; font-weight: 610; list-style: none; cursor: pointer; }
.schedule-details summary::-webkit-details-marker { display: none; }
.schedule-details summary > span { margin-left: auto; color: var(--quiet); font-size: 10px; font-weight: 450; }
.schedule-details[open] summary { margin-bottom: 14px; }
.preview-card { overflow: hidden; padding: 0; }
.preview-image { position: relative; margin: 0; border-radius: 0; aspect-ratio: 4 / 3; }
.preview-image .no-media, .media-large .no-media { display: grid; width: 100%; height: 100%; min-height: 160px; place-items: center; color: #94a3b8; }
.photo-count { position: absolute; right: 9px; bottom: 9px; padding: 4px 8px; border-radius: 20px; background: rgb(15 23 42 / 72%); color: white; font-size: 10px; }
.preview-body { padding: 15px 16px 17px; }
.preview-body h3 { margin-top: 5px; font-size: 16px; }
.preview-price { margin: 0; color: var(--blue-dark); font-size: 15px; }
.preview-condition { margin: 7px 0 0; color: var(--muted); font-size: 10px; }
.description { margin: 11px 0 0; color: #475569; font-size: 11px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.preview-hint { margin: 0; color: var(--quiet); font-size: 10px; line-height: 1.5; }
.next-step { padding: 14px; border: 1px solid #e2e8f0; border-radius: 12px; background: #eff6ff; }
.next-step > span { color: var(--blue-dark); }
.next-step h3 { margin-top: 8px; }
.next-step p { margin: 5px 0 0; color: var(--muted); font-size: 10px; }
.calendar-nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.calendar-nav h3 { font-size: 14px; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.day-label { padding: 10px 5px; background: #f8fafc; color: var(--quiet); font-size: 9px; font-weight: 700; text-align: center; }
.day { min-height: 105px; padding: 7px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); color: #64748b; font-size: 10px; }
.day:nth-child(7n) { border-right: 0; }
.day.today > span { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: var(--blue-dark); color: white; }
.day.outside { background: #f8fafc; }
.day button { display: grid; width: 100%; gap: 3px; overflow: hidden; margin-top: 5px; padding: 5px; border: 0; border-radius: 6px; background: var(--blue-pale); color: var(--blue-dark); font-size: 9px; text-align: left; text-overflow: ellipsis; }
.day button small { color: #64748b; font-size: 8px; }
.calendar-foot { margin: 0; padding: 12px 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.library-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 13px; }
.media-card { overflow: hidden; padding: 0; }
.media-preview { display: block; width: 100%; aspect-ratio: 1.25; overflow: hidden; padding: 0; border: 0; background: #f1f5f9; }
.media-preview img, .media-preview video { width: 100%; height: 100%; object-fit: cover; }
.media-card > div { display: grid; gap: 5px; padding: 11px; }
.media-card strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.media-card small { color: var(--muted); font-size: 10px; }
.media-card .btn { justify-self: start; margin: 3px 0 0 -8px; }
.settings-grid, .sharing-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, .8fr); gap: 14px; }
.settings-fact { display: flex; justify-content: space-between; gap: 15px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.settings-fact span { color: var(--muted); }
.sharing-card { padding: 19px; }
.sharing-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.connection-status { margin-top: 10px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.status-explainer { margin-top: 10px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.detail-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; padding: 20px 22px 0; }
.detail-heading h2 { flex: 1 1 100%; font-size: 20px; }
.detail-heading p { flex: 1 1 100%; margin: -4px 0 0; color: var(--muted); font-size: 11px; }
.detail-layout, .review-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: start; gap: 17px; padding: 17px 22px 22px; }
.detail-layout h3, .review-layout h3 { margin: 2px 0 9px; }
.detail-layout p, .review-layout p { color: var(--muted); font-size: 11px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.detail-actions .btn { min-height: 34px; padding: 0 10px; font-size: 10px; }
.share-steps { display: grid; gap: 11px; margin: 12px 0 14px; padding-left: 20px; color: var(--muted); font-size: 10px; }
.share-steps li { padding-left: 2px; }
.share-steps li::marker { color: var(--blue-dark); font-weight: 700; }
.share-steps li > strong { display: block; margin: 0 0 6px; color: #334155; font-size: 11px; }
.share-steps .btn { min-height: 34px; font-size: 10px; }
.share-steps small { display: block; margin-top: 6px; color: var(--muted); line-height: 1.5; }
.download-files, .external-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.download-files a { display: inline-flex; align-items: center; gap: 4px; color: var(--blue-dark); font-size: 10px; text-decoration: none; }
.download-files a:hover { text-decoration: underline; }
.modal-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; margin-top: 16px; }
.review-layout { padding-top: 0; }
.review-layout .preview-card { align-self: start; }
.notice.small { margin-top: 12px; padding: 9px 11px; font-size: 10px; }
.picker-grid { display: grid; max-height: 45vh; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 9px; overflow: auto; margin-top: 14px; }
.picker-item { overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: #fff; cursor: pointer; }
.picker-item > img, .picker-item > video { width: 100%; aspect-ratio: 1; object-fit: cover; background: #f1f5f9; }
.picker-item > span { display: flex; align-items: center; gap: 5px; overflow: hidden; padding: 7px; color: #475569; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.picker-item input { flex: none; accent-color: var(--blue-dark); }
.media-large { overflow: hidden; margin: 14px 0; border-radius: 10px; background: #f1f5f9; }
.media-large img, .media-large video { width: 100%; max-height: 65vh; object-fit: contain; }
.media-large video { background: #0f172a; }
.crop-canvas, #crop-canvas { display: block; width: 100%; max-height: 45vh; margin: 12px auto; border-radius: 9px; background: #f1f5f9; object-fit: contain; }
.schedule-details input[type="datetime-local"] { margin-top: 6px; }
.notice { margin: 12px 0; }
.loading .btn { margin-top: 12px; }
#toast.show { display: block; animation: toast-in .16s ease-out; }
#toast.error { border-color: #fecdd3; color: var(--danger); }
@keyframes toast-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1120px) {
  #content { padding-right: 28px; padding-left: 28px; }
  footer { padding-right: 28px; padding-left: 28px; }
  .list-labels, .item-row { grid-template-columns: minmax(170px, 1.8fr) minmax(72px, .7fr) minmax(110px, .9fr) minmax(95px, .9fr) 18px; gap: 9px; }
}
@media (max-width: 760px) {
  .sidebar { position: sticky; top: 0; width: 100%; padding: 8px 14px 0; }
  .app-name { padding: 0 4px 7px; font-size: 15px; }
  .app-name svg { width: 25px; height: 25px; }
  .workspace-label, .sidebar-bottom { display: none; }
  .sidebar nav { display: flex; overflow-x: auto; padding-bottom: 7px; scrollbar-width: none; }
  .sidebar nav::-webkit-scrollbar { display: none; }
  .sidebar nav a { min-height: 36px; flex: 0 0 auto; gap: 6px; padding: 0 9px; font-size: 10px; }
  .sidebar nav a svg { width: 15px; height: 15px; }
  .main { margin-left: 0; min-height: calc(100vh - 78px); }
  .topbar { position: static; min-height: 52px; padding: 0 17px; }
  #content { padding: 24px 18px 35px; }
  footer { padding: 13px 18px 18px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .stat { min-height: 100px; padding: 12px; }
  .stat > span { font-size: 11px; }
  .stat > strong { font-size: 23px; }
  .panel-heading { padding: 15px; }
  .list-toolbar { align-items: stretch; flex-direction: column; padding: 0 15px 12px; }
  .filter-tabs { order: 2; padding-bottom: 3px; }
  .search { order: 1; width: 100%; }
  .search input { width: 100%; }
  .list-labels { display: none; }
  .item-row { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; min-height: 75px; padding: 10px 14px; }
  .item-summary { grid-row: span 2; }
  .item-row > .item-price { grid-column: 2; grid-row: 1; justify-self: end; }
  .item-row > span:nth-child(3) { grid-column: 2; grid-row: 2; justify-self: end; }
  .planned-date, .item-row > svg { display: none; }
  .empty { min-height: 245px; padding: 25px 15px; }
  .steps { gap: 9px; }
  .composer-layout { grid-template-columns: 1fr; }
  .editor-column { order: 1; }
  .preview-column { position: static; order: 2; }
  .destination-choices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .settings-grid, .sharing-grid { grid-template-columns: 1fr; }
  .day { min-height: 76px; padding: 5px; }
  .day button { font-size: 8px; }
}
@media (max-width: 480px) {
  #content { padding: 20px 14px 30px; }
  footer { padding: 12px 14px 15px; font-size: 9px; }
  .page-head { align-items: flex-start; flex-direction: column; gap: 13px; margin-bottom: 19px; }
  .page-head > .actions { width: 100%; }
  .page-head > .actions .btn { flex: 1; padding: 0 9px; font-size: 11px; }
  .stat { min-height: 91px; padding: 10px; }
  .stat > span { font-size: 10px; }
  .stat > strong { font-size: 21px; }
  .stat > strong small { width: 25px; height: 25px; }
  .stat p { font-size: 9px; }
  .item-summary { gap: 8px; }
  .item-thumb { width: 42px; height: 42px; }
  .item-summary strong { max-width: 185px; font-size: 11px; }
  .item-summary small { font-size: 9px; }
  .item-row { padding: 9px 11px; }
  .empty .actions { flex-direction: column; width: 100%; }
  .empty .actions .btn { width: 100%; }
  .steps { flex-direction: column; align-items: flex-start; margin-top: 17px; }
  .composer-top { margin-top: -8px; }
  .composer-top > .btn { font-size: 10px; }
  .field-grid { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 9px; }
  .field-grid input, .field-grid select { padding-right: 7px; padding-left: 8px; font-size: 11px; }
  .destination-choices { gap: 5px; }
  .destination { min-height: 55px; gap: 5px; padding: 7px 6px; }
  .destination strong { font-size: 9px; }
  .destination small { font-size: 8px; }
  .dropzone { min-height: 164px; padding: 15px; }
  .dropzone .actions { gap: 4px; }
  .dropzone .btn { padding: 0 8px; font-size: 10px; }
  .selected-file { gap: 7px; padding: 7px; }
  .selected-thumb { width: 38px; height: 38px; }
  .selected-file strong { max-width: 130px; font-size: 10px; }
  .selected-file .icon-btn { min-width: 28px; min-height: 28px; }
  .detail-layout, .review-layout { grid-template-columns: 1fr; padding: 15px; }
  .detail-heading { padding: 17px 15px 0; }
  dialog.wide { width: calc(100vw - 20px); }
  .day { min-height: 57px; padding: 4px; }
  .day-label { padding: 8px 2px; font-size: 8px; }
  .day button { padding: 3px; }
  .day button small { display: none; }
}
