/* Interface colors are independent of each report's saved table settings. */
html[data-app-theme="night"] {
  color-scheme: dark;
  --bg: #191f29;
  --surface: #232b39;
  --surface-2: #2b3547;
  --border: #ffffff1c;
  --text: #f0f3f8;
  --muted: #bac4d3;
  --text-muted: #bac4d3;
  --primary: #98b9ef;
  --on-primary: #17243a;
  --primary-hover: #c1d6fa;
  --primary-light: #98b9ef1f;
  --success: #83d9af;
  --success-light: #1f3b32;
  --danger: #ffacae;
  --danger-light: #482b35;
  --warning: #efc784;
  --warning-light: #443925;
  --radius: 16px;
  --shadow-sm: 0 2px 8px #00000014;
  --shadow-md: 0 10px 28px #00000026;
  --night-glass: linear-gradient(135deg, #ffffff47, transparent 43%, #98b9ef15 92%), rgba(39,53,75,.68);
}
[data-app-theme="night"] body { background: radial-gradient(ellipse at 0 0, #98b9ef0e, transparent 60%), var(--bg); }
[data-app-theme="night"] :is(h1,h2,h3) { letter-spacing: -.025em; }
[data-app-theme="night"] .sidebar { background: #1d2531; }
[data-app-theme="night"] .sidebar-brand { font-size: 16px; }
[data-app-theme="night"] .nav-item { min-height: 44px; border-radius: 12px; }
[data-app-theme="night"] :is(.card,.auth-card,.stat-card,.empty-state) { box-shadow: var(--shadow-sm); }
[data-app-theme="night"] :is(.report-card,.report-chart-card) { background: var(--surface); box-shadow: var(--shadow-md); }
[data-app-theme="night"] .report-card-header { background: transparent; padding: 20px; }
[data-app-theme="night"] .report-card-title { font-size: 23px; line-height: 1.2; font-weight: 650; }
[data-app-theme="night"] .report-card-icon { background: #98b9ef1f; box-shadow: none; }
[data-app-theme="night"] .report-card-icon svg { color: var(--primary); }
[data-app-theme="night"] :is(.report-viewer-toolbar,.bottom-nav) {
  background: #27354b;
  border: 1px solid #ffffff38;
  box-shadow: inset 0 1px #ffffff47, 0 8px 24px #00000020;
}
@supports ((backdrop-filter:blur(16px)) or (-webkit-backdrop-filter:blur(16px))) {
  [data-app-theme="night"] :is(.report-viewer-toolbar,.bottom-nav) {
    background: var(--night-glass);
    backdrop-filter: blur(16px) saturate(125%);
    -webkit-backdrop-filter: blur(16px) saturate(125%);
  }
}
[data-app-theme="night"] .report-viewer-toolbar { margin: 0 12px 12px; border-radius: 16px; padding: 10px; gap: 8px; }
[data-app-theme="night"] .report-search-input { background-color: #191f2955; color: var(--text); }
[data-app-theme="night"] :is(.report-viewer-toolbar-left,.report-viewer-toolbar-right) { min-width: 0; }
[data-app-theme="night"] .report-card-body { padding: 0 12px 12px; }
[data-app-theme="night"] .report-viewer-wrap { border-radius: 12px; }
[data-app-theme="night"] :is(.iphone-screen,.mobile-screen,.ep-chart-wrap) { background: var(--bg); }
[data-app-theme="night"] :is(.iphone-statusbar,.iphone-statusbar-right) { color: var(--muted); }
[data-app-theme="night"] .iphone-home-bar { background: var(--muted); }
[data-app-theme="night"] :is(.editor-settings,.editor-col-check,.editor-alias-row) { background: var(--surface); }
[data-app-theme="night"] :is(.editor-settings input[type="text"],.editor-settings input[type="number"],.editor-settings textarea,.editor-settings select,.form-group input,.form-group select,.form-group textarea,.form-input,form p input,form p select) { background-color: #1c2431; color: var(--text); border-color: var(--border); }
[data-app-theme="night"] input[type="search"] { background-color: #1c2431; color: var(--text); }
[data-app-theme="night"] input::placeholder,[data-app-theme="night"] textarea::placeholder { color: #a1afc3; opacity: 1; }
[data-app-theme="night"] input { accent-color: var(--primary); }
[data-app-theme="night"] :is(.btn-primary,.user-avatar,.editor-orient-btn.active,.preview-orientation-btn.active) { color: #17243a; background: var(--primary); }
[data-app-theme="night"] .btn-primary:hover { color: #17243a; background: var(--primary-hover); }
[data-app-theme="night"] .btn-danger { color: #fff; background: #a33f51; }
[data-app-theme="night"] .btn-success { color: #102c21; background: #83d9af; }
[data-app-theme="night"] :is(.badge-neutral) { background: #ffffff0c; color: var(--muted); }
[data-app-theme="night"] :is(.badge-success,.alert-success) { background: var(--success-light); color: #b5ebcf; border-color: #83d9af40; }
[data-app-theme="night"] :is(.badge-danger,.alert-error) { background: var(--danger-light); color: #ffc0c1; border-color: #ffacae40; }
[data-app-theme="night"] :is(.badge-warning,.alert-warning) { background: var(--warning-light); color: #f8d99f; border-color: #efc78440; }
[data-app-theme="night"] .alert-info { background: #27354b; color: #c1d6fa; border-color: #98b9ef40; }
[data-app-theme="night"] :is(.viewer-bar,.mobile-header) { background: #191f29f5; border-color: var(--border); }
[data-app-theme="night"] .trial-banner.danger { background: var(--danger-light)!important; color: #ffc0c1!important; border-color: #ffacae40!important; }
[data-app-theme="night"] .trial-banner.warning { background: var(--warning-light)!important; color: #f8d99f!important; border-color: #efc78440!important; }
[data-app-theme="night"] .trial-banner.success { background: var(--success-light)!important; color: #b5ebcf!important; border-color: #83d9af40!important; }
[data-app-theme="night"] .grid-2 { grid-template-columns: repeat(auto-fit,minmax(min(100%,340px),1fr)); }
.app-theme-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 12px; color: var(--muted); background: var(--surface); cursor: pointer; font: inherit; }
.app-theme-toggle>span:first-child { font-size: 21px; line-height: 1; }
.sidebar-footer .app-theme-toggle { margin: 0 12px 8px; }
.mobile-header .app-theme-toggle { margin-left: auto; }
.mobile-header .mobile-profile-btn { margin-left: 0; }
.report-group-toggle { display: inline-flex; vertical-align: middle; align-items: center; justify-content: center; width: 32px; min-height: 32px; margin: -4px 4px -4px 0; padding: 0; border: 0; border-radius: 6px; background: transparent; color: inherit; cursor: pointer; }
.report-group-toggle .report-chevron { transition: transform .12s; }
.report-group-toggle[aria-expanded="false"] .report-chevron { transform: rotate(-90deg); }
.report-group-toggle:disabled { opacity: .65; cursor: default; }
.report-table-status { color: var(--muted); font-size: 12px; padding: 8px 14px; }
.report-width-status { font-size: 12px; color: var(--muted); }
.report-empty-search { padding: 20px; text-align: center; color: var(--muted); }
.report-viewer-table tr[hidden] { display: none; }
.editor-errors { border: 1px solid var(--danger); color: var(--text); padding: 14px; border-radius: 12px; background: var(--danger-light); margin-bottom: 16px; }
.editor-errors ul { margin: 8px 0; }
.editor-errors textarea { width: 100%; color: var(--text); background: var(--surface); }
:is(.app-theme-toggle,.report-group-toggle):focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
@media(max-width:768px) {
  .main-content.viewer-main-content { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  .mobile-header .theme-toggle-label,.viewer-bar .theme-toggle-label { display: none; }
  .viewer-bar-right { gap: 6px; }
  [data-app-theme="night"] .main-content { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  [data-app-theme="night"] .content { padding: 16px 12px; }
  [data-app-theme="night"] .report-card { width: 100%; margin: 0 0 16px; border-radius: 18px; }
  [data-app-theme="night"] .report-card-header { flex-wrap: wrap; padding: 16px; }
  [data-app-theme="night"] .report-card-icon { display: none; }
  [data-app-theme="night"] .report-card-meta { flex-basis: 100%; }
  [data-app-theme="night"] .report-card-actions { display: flex; flex-wrap: wrap; gap: 6px; }
  [data-app-theme="night"] .report-card-title { font-size: 23px; white-space: normal; overflow-wrap: anywhere; }
  [data-app-theme="night"] .report-card-actions .btn-secondary { display: inline-flex; }
  [data-app-theme="night"] .report-card-body { padding: 0 8px 8px; }
  [data-app-theme="night"] .report-viewer-toolbar { margin: 0 8px 10px; }
  [data-app-theme="night"] .report-search-input { width: 100%; }
  [data-app-theme="night"] .report-viewer-toolbar-left { flex: 1 1 100%; }
  [data-app-theme="night"] .report-viewer-toolbar-right { flex-wrap: wrap; width: 100%; }
  [data-app-theme="night"] .bottom-nav { left: 12px; right: 12px; bottom: max(12px,env(safe-area-inset-bottom)); border-radius: 16px; padding: 4px; min-height: 54px; gap: 4px; }
  [data-app-theme="night"] .bottom-nav-item { min-width: 44px; min-height: 44px; border-radius: 12px; justify-content: center; padding: 8px 4px; }
  [data-app-theme="night"] .bottom-nav-item.active { color: var(--primary); background: #98b9ef24; box-shadow: inset 0 1px #ffffff14; }
  [data-app-theme="night"] .bottom-nav-item span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  [data-app-theme="night"] .bottom-nav-item svg { opacity: 1; }
  .keyboard-open .bottom-nav,html:has(.editor-settings-open) .bottom-nav { visibility: hidden; }
  .editor-header-right { flex-wrap: wrap; }
  .editor-root { margin: -16px -12px; padding: 16px 12px; }
  .editor-filename { overflow-wrap: anywhere; }
  :is(.btn,.editor-settings-close,.editor-orient-btn,.editor-back-btn) { min-height: 44px; }
  :is(.editor-settings-close,.editor-orient-btn,.editor-back-btn) { min-width: 44px; }
  .report-group-toggle { width: 44px; min-height: 44px; }
  :is(.form-group, .editor-field) :is(input[type="text"],input[type="number"],input[type="email"],input[type="password"],select,textarea),input[type="search"] { font-size: 16px; }
  .editor-settings-open { padding-bottom: max(24px,env(safe-area-inset-bottom)); }
  .mobile-header { padding-top: max(12px,env(safe-area-inset-top)); }
}
@media(prefers-reduced-motion:reduce) {
  .report-card-badges .badge,.badge-success-pulse::before,.editor-hint { animation: none; }
  .editor-body,.editor-settings,.editor-preview-pane,.iphone-mockup,.report-group-toggle .report-chevron { transition: none; }
}

/* Unified reference: quiet rows, one toolbar flow and a protected bottom edge. */
.app-brand { display:inline-flex; align-items:center; gap:9px; color:var(--text); font-size:13px; font-weight:650; letter-spacing:.035em; white-space:nowrap; }
.app-brand .ui-icon { width:25px; height:25px; color:var(--primary); flex-shrink:0; }
.ui-icon { flex-shrink:0; }
.mobile-header .mobile-profile-btn { margin-left:auto; color:var(--primary); border:1px solid var(--border); background:var(--primary-light); border-radius:50%; width:40px; min-height:40px; display:flex; align-items:center; justify-content:center; }
[data-app-theme="night"] :is(.viewer-report-icon,.report-mobile-icon,.report-card-icon) { background:var(--primary-light); color:var(--primary); border:1px solid #98b9ef18; box-shadow:none; border-radius:12px; }
[data-app-theme="night"] :is(.viewer-report-icon,.report-mobile-icon,.report-card-icon) svg { color:var(--primary); stroke-width:1.75; }
[data-app-theme="night"] .viewer-report-card { border-radius:16px; }
[data-app-theme="night"] .viewer-report-name { font-weight:550; }
[data-app-theme="night"] :is(.btn,.icon-btn,.copy-btn) { border-radius:11px; }
[data-app-theme="night"] .btn-secondary { background:#ffffff06; color:var(--text); border-color:#ffffff20; }
[data-app-theme="night"] :is(.btn-secondary:hover,.icon-btn:hover,.copy-btn:hover) { background:var(--primary-light); color:var(--primary); border-color:#98b9ef44; }
[data-app-theme="night"] .editor-align-btn.active { background:var(--primary); color:#17243a; }
[data-app-theme="night"] .editor-level-bold-btn.active { background:var(--primary-light); color:var(--primary); border-color:#98b9ef44; }
[data-app-theme="night"] .report-card-header { border-bottom:0; padding-bottom:12px; }
[data-app-theme="night"] .report-viewer-toolbar { position:relative; top:auto; z-index:auto; display:grid; grid-template-columns:minmax(180px,1fr) auto; align-items:center; margin:8px 16px 16px; padding:8px 12px; border-radius:16px; border-color:#ffffff20; background:linear-gradient(150deg,#ffffff0c,transparent 65%),rgba(39,53,75,.68); box-shadow:inset 0 1px #ffffff12,0 5px 16px #0000000d; }
[data-app-theme="night"] .report-search-input { width:100%; max-width:360px; background-color:transparent; border-color:transparent; min-width:0; }
.report-viewer-tools { display:flex; align-items:center; gap:6px; min-width:0; }
.report-tool { display:inline-flex; justify-content:center; align-items:center; min-height:40px; padding:7px 10px; border:1px solid transparent; border-radius:10px; background:transparent; color:var(--muted); font-weight:500; line-height:1.25; font-family:inherit; font-size:12px; white-space:nowrap; cursor:pointer; }
.report-tool:hover { background:#ffffff0a; color:var(--text); }
.report-tool:focus-visible { outline:2px solid var(--primary); outline-offset:2px; }
.report-tool:disabled { opacity:.65; cursor:default; }
.report-tool[hidden] { display:none; }
.report-width-status { grid-column:1/-1; font-size:11px; padding:0 4px; }
.report-width-status:empty { display:none; }
[data-app-theme="night"] .report-card-body { padding:0 16px 16px; }
[data-app-theme="night"] .report-viewer-wrap { border:1px solid #ffffff1c; border-radius:16px; background:#232b39; }
.report-viewer-table thead th { text-transform:none; font-size:11px; letter-spacing:.01em; padding:13px 10px; }
.report-viewer-table td.report-cell { padding:0 10px; height:44px; line-height:1.45; }
.report-viewer-table td.report-cell-number { white-space:nowrap; letter-spacing:-.015em; }
.report-viewer-table tbody tr[data-level="0"] td { border-top:0; letter-spacing:normal; box-shadow:none; }
.report-viewer-table tbody tr[data-level="0"] td:first-child { box-shadow:none; }
.report-group-toggle { width:100%; min-height:44px; margin:0; padding:7px 0; display:flex; align-items:center; gap:6px; text-align:inherit; font:inherit; font-weight:inherit; }
.report-group-toggle .report-chevron { width:14px; flex:0 0 14px; opacity:.8; transition:transform .12s; }
.report-group-toggle .report-cell-value { min-width:0; overflow-wrap:anywhere; }
.report-group-toggle[aria-expanded="false"] .report-cell-value { transform:none; }
.report-leaf { display:block; padding:7px 0 7px 20px; overflow-wrap:anywhere; }
@media(max-width:768px) {
  [data-app-theme="night"] .report-card { border-radius:18px; }
  [data-app-theme="night"] .report-card-header { padding:16px 12px 10px; gap:10px; }
  [data-app-theme="night"] .report-card-actions { gap:6px; }
  [data-app-theme="night"] .report-card-actions .btn { min-height:36px; font-size:12px; padding:6px 10px; }
  [data-app-theme="night"] .report-viewer-toolbar { display:grid; grid-template-columns:minmax(0,1fr); margin:6px 10px 12px; padding:6px 10px; gap:0; }
  [data-app-theme="night"] .report-search-input { max-width:none; min-height:44px; border:0; border-radius:0; border-bottom:1px solid #ffffff16; }
  .report-viewer-tools { display:flex; flex-wrap:nowrap; justify-content:space-between; gap:4px; }
  .report-tool { flex:1 1 0; padding:6px 4px; min-width:0; min-height:44px; font-size:11px; }
  [data-app-theme="night"] .report-card-body { padding:0 10px 12px; }
  .report-width-status:not(:empty) { padding:4px 0 6px; }
  [data-app-theme="night"] .layout::after { content:""; position:fixed; left:0; right:0; bottom:0; height:calc(112px + env(safe-area-inset-bottom)); z-index:99; pointer-events:none; background:linear-gradient(to bottom,#191f2900,#191f29d9 58%,#191f29 100%); }
  @supports ((backdrop-filter:blur(8px)) or (-webkit-backdrop-filter:blur(8px))) {
    [data-app-theme="night"] .layout::after { backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); mask-image:linear-gradient(to bottom,transparent,#000 48%); -webkit-mask-image:linear-gradient(to bottom,transparent,#000 48%); }
  }
  [data-app-theme="night"] .bottom-nav { z-index:100; }
  [data-app-theme="night"] .main-content { padding-bottom:calc(116px + env(safe-area-inset-bottom)); }
  .keyboard-open .layout::after,html:has(.editor-settings-open) .layout::after { display:none; }
  .icon-btn { min-width:40px; min-height:40px; }
}

.report-viewer-table { table-layout:fixed; }
.report-group-toggle { justify-content:flex-start; }
[data-app-theme="night"] .report-viewer-toolbar input.report-search-input { background-color:transparent; }
.ep-table { border-radius:12px; }
.ep-table :is(.ep-cell,.ep-th) { border-right:0; }
.ep-table .ep-cell { padding:10px; }

/* Shared spacing and compact report metadata. */
.report-summary-bar { display:flex; align-items:center; justify-content:space-between; gap:12px; grid-column:1/-1; width:100%; min-width:0; }
[data-app-theme="night"] .report-card-header { display:grid; grid-template-columns:auto minmax(0,1fr); gap:12px; align-items:center; padding:20px 16px 8px; }
.report-card-meta { min-width:0; }
.report-summary-bar .report-card-badges { display:flex; align-items:center; gap:6px; margin:0; flex-shrink:0; }
.report-summary-bar .report-card-actions { display:flex; align-items:center; flex-wrap:nowrap; gap:6px; }
.report-summary-bar .badge { display:inline-flex; align-items:center; min-height:26px; padding:4px 8px; font-size:11px; line-height:1; font-weight:500; white-space:nowrap; }
.report-summary-bar .btn { min-height:36px; padding:6px 10px; line-height:1; font-size:12px; border-radius:10px; }
.contact-status { display:flex; gap:12px; align-items:center; padding:4px 0 18px; margin:0; }
.status-mark { display:inline-flex; align-items:center; justify-content:center; flex:0 0 36px; height:36px; border:1px solid #98b9ef25; border-radius:12px; color:var(--primary); background:var(--primary-light); font-size:18px; font-weight:500; }
.status-caption { display:block; color:var(--muted); font-size:12px; margin-bottom:3px; }
.contact-status strong { display:block; overflow-wrap:anywhere; color:var(--text); font-size:14px; font-weight:500; }
.branding-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.branding-grid>div { min-width:0; }
.branding-grid input[type=file] { width:100%; font-size:12px; }
input[type=file]::file-selector-button { border:1px solid var(--border); border-radius:11px; padding:9px 12px; color:var(--text); background:var(--surface-2); font:inherit; margin-right:8px; }
.unlinked-file-card { display:flex; align-items:center; gap:12px; padding:16px; background:var(--surface); border:1px solid var(--border); border-radius:16px; }
.delivery-state-icon { border:1px solid var(--border); }
[data-app-theme="night"] :is(.btn,.copy-btn,.editor-back-btn,.editor-orient-btn,.editor-settings-close,.editor-align-btn,.editor-level-bold-btn) { border-radius:11px; }
.editor-header { margin-bottom:20px; padding:0; align-items:center; }
.editor-header-left,.editor-header-right { min-width:0; gap:8px; }
.editor-title-area { min-width:0; }
.editor-filename { overflow-wrap:anywhere; }
.editor-header :is(.btn,.editor-back-btn,.editor-orient-btn) { min-height:40px; }
.editor-body { gap:20px; min-height:0; align-items:flex-start; }
.editor-preview-pane { justify-content:flex-start; min-width:0; padding:0; }
.editor-settings.editor-settings-open { padding:20px; }
.editor-settings-header { align-items:center; margin-bottom:20px; }
.editor-settings-header h3 { font-size:16px; line-height:1.3; }
.editor-field { margin-bottom:20px; }
.editor-select-sm { margin-top:0; }
.editor-level-card-controls select { width:88px; min-width:0; padding:6px; }
.editor-level-card-name { font-size:12px; }
.editor-level-card-controls { gap:8px; }
.editor-level-bold-btn { min-width:34px; min-height:34px; }
[data-app-theme="night"] .iphone-mockup { background:#1d2531; }
[data-app-theme="night"] .iphone-screen { background:#191f29; }
.iphone-content { height:100%; padding:12px 8px 24px; }
.ep-table { table-layout:fixed; max-width:none; border:1px solid #ffffff1c; border-radius:16px; }
.ep-th { text-transform:none; font-size:11px; letter-spacing:.01em; padding:13px 10px; }
.ep-table .ep-cell { padding:0 10px; height:44px; line-height:1.45; }
.ep-cell>.ep-cell-value { display:block; padding:7px 0; }
.ep-leaf { display:block; padding:7px 0 7px 20px; overflow-wrap:anywhere; }
.ep-group { min-height:44px; display:flex; align-items:center; gap:6px; padding:7px 0; }
.ep-chevron { width:14px; flex:0 0 14px; opacity:.8; }
.ep-group>.ep-cell-value { min-width:0; overflow-wrap:anywhere; }
.ep-cell-number { white-space:nowrap; letter-spacing:-.015em; }
#ed_theme_select { appearance:none; opacity:1; color:var(--primary); background:var(--primary-light); }
@media(min-width:769px) {
  .editor-preview-pane { position:sticky; top:20px; }
  .editor-settings.editor-settings-open { width:min(420px,48%); min-width:300px; max-width:48%; max-height:calc(100vh - 150px); }
  .iphone-mockup[data-orientation="portrait"] { width:min(340px,100%); max-height:700px; height:calc(100vh - 150px); min-height:420px; }
  .iphone-mockup[data-orientation="landscape"] { width:min(620px,100%); }
}
@media(max-width:768px) {
  [data-app-theme="night"] .report-card-header { grid-template-columns:minmax(0,1fr); padding:16px 10px 6px; gap:10px; }
  .report-summary-bar { gap:6px; min-height:40px; }
  .report-summary-bar .badge { min-height:24px; padding:4px 6px; font-size:10px; }
  [data-app-theme="night"] .report-summary-bar .btn { min-height:40px; padding:6px 8px; font-size:11px; }
  .branding-grid { grid-template-columns:minmax(0,1fr); gap:24px; }
  .delivery-record { flex-wrap:wrap; gap:10px!important; padding:12px!important; }
  .delivery-record-meta { margin-left:auto; }
  .delivery-record-time { flex-basis:100%; padding-left:46px; }
  .editor-header { flex-wrap:nowrap; gap:8px; }
  .editor-title-label { font-size:13px; }
  .editor-filename { max-width:125px; font-size:11px; }
  .editor-orientation-toggle { display:none; }
  .editor-header-left { flex:1; }
  .editor-header-right { flex-shrink:0; }
  .editor-settings.editor-settings-open { max-height:76dvh; padding:20px 16px max(24px,env(safe-area-inset-bottom)); }
  .editor-preview-pane { padding:0 0 16px; }
  .iphone-mockup[data-orientation="portrait"] { min-height:380px; }
}
@media(max-width:480px) {
  .report-action-label { display:none; }
  .report-summary-bar .report-action { min-width:36px; justify-content:center; }
  .report-summary-bar .report-card-actions { gap:4px; }
}

.card-heading-icon { display:flex; align-items:center; gap:10px; }
.card-heading-icon .ui-icon { flex-shrink:0; color:var(--primary); }
.branding-grid .btn { min-height:36px; justify-content:center; }
@media(max-width:768px) { .branding-grid .btn { min-height:44px; } }
/* Match the tablet content gutter instead of extending 8px outside the page. */
@media(min-width:769px) and (max-width:1024px) {
  .editor-root { margin:-24px; padding:24px; }
}
@media(min-width:769px) and (max-width:900px) {
  .editor-split .iphone-island { width:40px; height:16px; }
}
