:root {
  --ink: #f3f0e9; --accent: #d1ac77; --accent-hover: #e6c796; --bronze: #d1ac77;
  --surface: #232829; --raised: #2c3132; --field: #1b2021; --walnut: #3b302b;
  --muted: #c2bcb3; --line: #424747; --soft: #171b1d; --control-border: #717671; --danger: #ffaba5;
  --display: "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
  font-family: Arial, Helvetica, sans-serif; color: var(--ink); background: var(--soft); font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 1rem; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-underline-offset: .2em; }
button, a, input, select, textarea { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
h1, h2, p { margin-top: 0; }
h1 { font-family: var(--display); font-weight: 500; font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1.1; letter-spacing: -.045em; margin-bottom: 1rem; }
h2 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -.025em; }
p, h1, h2, a, button { overflow-wrap: anywhere; }
main { max-width: 1344px; margin: auto; padding: 2.5rem 3rem 5rem; }
#mainContent:focus { outline: none; }
.muted, .optional { color: var(--muted); }
.optional { font-size: .8125rem; font-weight: 400; }
.eyebrow { display: block; margin-bottom: .75rem; color: var(--accent); font-size: .75rem; font-weight: 700; letter-spacing: .12em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -10rem; z-index: 10; background: var(--surface); padding: 1rem; }
.skip-link:focus { top: 1rem; }

/* Anthracite workspace with the public site’s bronze and walnut accents. */
.admin-header { min-height: 88px; padding: 1rem max(3rem, calc((100% - 1248px) / 2)); display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; background: var(--surface); border-bottom: 1px solid var(--line); }
/* Use the public site's visible artwork dimensions and bronze/white finish. */
.admin-brand { display: block; position: relative; flex-shrink: 0; width: clamp(200px, 22vw, 260px); max-width: 100%; aspect-ratio: 1947 / 448; overflow: hidden; }
.admin-brand img { display: block; position: absolute; left: -6%; top: 50%; width: 111.56%; max-width: none; height: auto; transform: translateY(-50.76%); filter: url(#headerLogoTone); }
.logo-tone-defs { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.header-label { padding-left: 1.5rem; border-left: 1px solid var(--line); color: var(--muted); font-size: .6875rem; font-weight: 700; letter-spacing: .12em; }
.admin-header nav { display: flex; align-items: center; gap: 1.25rem; margin-left: auto; }
.admin-header nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: .8125rem; font-weight: 600; text-decoration: none; }
.admin-header nav a:hover { color: var(--accent); text-decoration: underline; }
#signOut { padding-left: 1.25rem; border-left: 1px solid var(--line); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 48px; padding: .8rem 1.15rem; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font-size: .875rem; font-weight: 700; text-decoration: none; text-align: center; white-space: normal; transition: background-color .16s, border-color .16s; }
.button:not(.primary):not(:disabled):hover { background: var(--soft); border-color: var(--bronze); }
.button.primary { background: var(--accent); border-color: var(--accent); color: #171b1d; }
.button.primary:not(:disabled):hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.button.danger { color: var(--danger); }
.text-button { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 0; border: 0; background: transparent; color: var(--accent); font-size: .875rem; font-weight: 600; text-decoration: none; }
.text-button:hover { text-decoration: underline; }
label { display: block; margin-bottom: .5rem; font-size: .875rem; font-weight: 600; }
input, select, textarea { width: 100%; min-width: 0; min-height: 48px; padding: .85rem; border: 1px solid var(--control-border); border-radius: 8px; background: var(--surface); color: var(--ink); }
input::placeholder, textarea::placeholder { color: #aaa99f; opacity: 1; }
input:disabled, select:disabled, textarea:disabled { background: var(--soft); cursor: not-allowed; }
textarea { resize: vertical; }

/* Authentication screens keep the existing account and MFA gates. */
.access-card { max-width: 600px; margin: 4vh auto; padding: clamp(1.5rem, 4vw, 3rem); background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 20px; box-shadow: 0 16px 40px #0002; }
.access-card h1 { margin: 1rem 0 1.5rem; font-size: clamp(2.3rem, 4vw, 3.5rem); }
.access-card .button { margin: .5rem 0 1rem; }
.access-card textarea { font-family: monospace; }
.sign-in-card { display: grid; grid-template-columns: 1.08fr 1fr; max-width: 1080px; padding: 0; border: 1px solid var(--line); overflow: hidden; }
.sign-in-intro { display: flex; flex-direction: column; padding: clamp(2rem, 4vw, 3.5rem); background: linear-gradient(120deg, var(--walnut), var(--surface) 80%); color: var(--ink); }
.sign-in-intro .eyebrow { color: #c5c9cc; }
.sign-in-intro h1 { margin: 1.5rem 0; font-size: clamp(2.8rem, 4.5vw, 4rem); }
.sign-in-intro h1 em { font-style: normal; color: var(--bronze); }
.sign-in-intro > p { max-width: 340px; color: #c5c9cc; line-height: 1.75; }
.intro-steps { display: grid; gap: 1rem; padding: 1.5rem 0 0; margin: auto 0 0; list-style: none; }
.intro-steps li { display: flex; align-items: center; gap: 1rem; font-size: .875rem; }
.intro-steps span { color: var(--bronze); font-size: .75rem; letter-spacing: .1em; border-right: 1px solid #53595c; padding-right: 1rem; }
.sign-in-form { min-width: 0; padding: clamp(2rem, 4vw, 3.5rem); }
.sign-in-form h2 { font-size: clamp(1.6rem, 2.4vw, 2rem); line-height: 1.2; margin-bottom: 1rem; }
.sign-in-form .button { width: 100%; }
.access-note { padding-top: 1.25rem; border-top: 1px solid var(--line); margin-top: 1rem; color: var(--muted); font-size: .8125rem; line-height: 1.7; }
.legal-links { display: flex; gap: 1rem; margin-bottom: 0; color: var(--muted); font-size: .8125rem; }
#googleLogin { margin: 1.5rem 0 .5rem; border-bottom: 1px solid var(--line); }
#googleLogin p { font-size: .8125rem; }
#googleLoginButton, #googleLinkButton { min-width: 0; max-width: 100%; margin: .5rem 0 1rem; }
#googleLoginStatus, #googleLinkStatus { font-size: .875rem; }

.heading { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin: 0 0 2.5rem; padding: clamp(1.5rem, 3.5vw, 3rem); border-radius: 20px; background: linear-gradient(120deg, var(--walnut), var(--surface) 80%); color: var(--ink); }
.heading > div { min-width: 0; }
.heading .eyebrow { color: var(--bronze); }
.heading p { margin: 0; }
.heading .heading-description { max-width: 510px; color: #c5c9cc; font-size: .9375rem; }
.heading .account-name { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid #41484c; color: #d4d8da; font-size: .8125rem; }
.heading .account-name:empty { display: none; }
.heading > .button { flex-shrink: 0; min-height: 52px; }
.heading > .primary { background: var(--accent); border-color: var(--bronze); color: #171b1d; }
.heading > .primary:not(:disabled):is(:hover,:focus-visible,:active) { background: var(--accent-hover); border-color: var(--bronze); }
.heading :focus-visible { outline-color: var(--bronze); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 1.25rem; }
.section-heading .eyebrow { font-size: .6875rem; margin-bottom: .4rem; }
.section-heading h2 { margin-bottom: 0; font-size: 1.5rem; }
.toolbar { display: flex; gap: .75rem; margin-bottom: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.toolbar input { flex: 1; }
.toolbar select { width: auto; max-width: 100%; }
#listSummary { font-size: .8125rem; margin: 0 0 1rem; }
.project-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.project-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); transition: border-color .16s; }
.project-card:hover, .project-card:focus-within { border-color: #a77863; }
.project-card img, .cover-empty { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--field); }
.cover-empty { display: grid; place-items: center; padding: 1.5rem; color: var(--muted); font-size: .875rem; text-align: center; }
.card-body { display: flex; flex: 1; flex-direction: column; padding: 1.4rem; }
.card-body h2 { margin: 1rem 0 .6rem; font-size: 1.25rem; }
.card-body > p { font-size: .875rem; margin-bottom: 1.25rem; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: .6rem; font-size: .75rem; color: var(--muted); }
.badge { display: inline-block; flex-shrink: 0; padding: .25rem .65rem; border: 1px solid #7d6950; border-radius: 20px; background: #392f24; color: #e3c396; font-size: .75rem; font-weight: 700; }
.badge.published { background: #223a2f; color: #aad6b7; border-color: #54745f; }
.card-body .button { width: 100%; margin-top: auto; }
.empty { padding: 3rem 1.5rem; border: 1px dashed var(--control-border); border-radius: 20px; background: var(--surface); color: var(--muted); text-align: center; }

/* Account tools follow the project archive so the daily work comes first. */
.account-panel { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--line); scroll-margin-top: 2rem; }
.settings-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.account-settings { min-width: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.account-settings summary { min-height: 64px; padding: 1.2rem; font-size: .875rem; font-weight: 700; cursor: pointer; }
.account-settings[open] { grid-column: 1 / -1; }
.account-settings[open] summary { border-bottom: 1px solid var(--line); color: var(--accent); }
.account-settings-body { max-width: 820px; padding: 1.25rem; font-size: .9375rem; }
.account-settings-body ol { margin: 0; padding-left: 1.4rem; }
.account-settings-body li { padding-left: .4rem; margin-bottom: .85rem; }
.account-settings-body p:last-child { margin: 1rem 0 0; }
.account-settings-body .button { margin: 0 .5rem .5rem 0; }

#backToList { margin-bottom: 1rem; }
.editor-heading { margin-bottom: 1.5rem; }
.editor-heading h1 { margin-bottom: 0; }
.editor-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 1.5rem; align-items: start; }
.fields, .photos-panel { min-width: 0; padding: clamp(1.25rem, 2.5vw, 2rem); border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.panel-heading { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.75rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.panel-heading h2 { margin-bottom: .35rem; }
.panel-heading p { margin-bottom: 0; font-size: .8125rem; }
.panel-number { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; background: var(--walnut); color: var(--accent); border-radius: 8px; font-size: .8125rem; font-weight: 700; }
.fields > input, .fields > textarea, .field-row { margin-bottom: 1.5rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.tip { padding: 1.1rem 1.2rem; border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0; background: var(--soft); font-size: .875rem; }
.tip p { margin: .5rem 0 0; color: var(--muted); }
.upload-zone { position: relative; display: flex; flex-direction: column; align-items: center; gap: .4rem; padding: 2rem 1.25rem; border: 1px dashed #aa7861; border-radius: 14px; background: #2b2723; text-align: center; font-weight: 400; cursor: pointer; }
.upload-zone.dragging, .upload-zone:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; background: #3b302b; }
.upload-zone strong { margin-top: .5rem; font-size: 1rem; }
.upload-zone > span:not(.upload-icon) { color: var(--muted); font-size: .875rem; }
.upload-zone small { margin-top: .75rem; color: var(--muted); font-size: .75rem; line-height: 1.65; }
.upload-icon { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #816c50; border-radius: 14px; color: var(--accent); font-size: 2rem; line-height: 1; background: var(--surface); }
.upload-zone input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
#uploadStatus { margin: 1rem 0; font-size: .875rem; }
#uploadStatus:empty { display: none; }
progress { width: 100%; height: .6rem; accent-color: var(--accent); }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-top: 1.25rem; }
.photo-tile { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.photo-tile:first-child { border-color: #a77863; }
.photo-tile img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.photo-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem; padding: .4rem; }
.photo-actions button { min-width: 40px; min-height: 44px; padding: .35rem; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); color: var(--ink); font-size: .75rem; }
.photo-actions button:not(:disabled):hover { background: var(--soft); border-color: var(--bronze); }
.photo-actions .cover { width: 100%; color: var(--accent); font-weight: 700; }
.photo-actions .cover:disabled { background: var(--walnut); opacity: 1; }
.save-bar { position: sticky; bottom: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: 1.2rem 1.5rem; margin-top: 1.5rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 -8px 28px #0003; }
.save-bar p { max-width: 400px; margin: 0; color: var(--muted); font-size: .8125rem; }
.save-bar > div { display: flex; justify-content: flex-end; gap: .6rem; flex-wrap: wrap; }
.error, .save-bar .error { color: var(--danger); }
.success { color: #aad6b7; }
#pageMessage:not(:empty) { margin-bottom: 1.5rem; padding: 1rem 1.25rem; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 8px; background: var(--surface); font-size: .9375rem; }

dialog { width: calc(100% - 2rem); max-width: 960px; max-height: 90dvh; overflow: auto; padding: 2.5rem; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); color: var(--ink); }
dialog::backdrop { background: #101518b8; }
.close { position: absolute; top: .6rem; right: .6rem; z-index: 1; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font-size: 1.8rem; }
.preview-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2rem; }
.preview-layout > div { min-width: 0; }
.preview-layout img { width: 100%; height: 50vh; object-fit: contain; border-radius: 8px; background: var(--soft); }
.preview-layout h2 { font-family: var(--display); font-weight: 400; font-size: 2.2rem; letter-spacing: .005em; }
.preview-layout p { white-space: pre-wrap; font-size: .9375rem; }
.gallery-nav { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .5rem; font-size: .875rem; }
#confirmDialog { max-width: 500px; }
.confirm-actions { display: flex; justify-content: flex-end; gap: .7rem; }

.mfa-card { max-width: 610px; }
.mfa-card h1:focus { outline: none; }
.mfa-card details { padding: 1rem; margin-bottom: 1rem; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); }
.mfa-card details summary { min-height: 44px; font-weight: 600; cursor: pointer; }
.mfa-card details p { margin-top: .6rem; }
.mfa-card .text-button { display: block; text-align: left; }
.mfa-card .check-label { display: flex; align-items: flex-start; gap: .7rem; margin-top: 1rem; font-weight: 400; }
.mfa-card .check-label input { width: 20px; min-width: 20px; min-height: 20px; height: 20px; margin-top: .25rem; accent-color: var(--accent); }
#mfaQr { display: block; width: min(100%, 300px); height: auto; margin: 0 auto 1.3rem; background: #fff; image-rendering: pixelated; }
#mfaCode { font-family: monospace; font-size: 1.25rem; letter-spacing: .15em; }
#mfaSecret { font-family: monospace; font-size: .875rem; }
#recoveryCodes { white-space: pre; overflow: auto; font-size: .95rem; line-height: 1.7; }
#mfaStatus:empty { display: none; }

@media (max-width: 1000px) {
  main { padding-inline: 2rem; }
  .admin-header { padding-inline: 2rem; }
  .project-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editor-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .settings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .save-bar { align-items: flex-start; flex-direction: column; }
  .save-bar > div { width: 100%; }
}
@media (max-width: 720px) {
  .header-label { display: none; }
  .sign-in-card { grid-template-columns: 1fr; max-width: 560px; }
  .sign-in-intro { padding: 2rem; }
  .sign-in-intro h1 { font-size: 3.5rem; margin-block: 1rem; }
  .sign-in-intro > p { max-width: none; margin-bottom: 0; }
  .intro-steps { display: none; }
  .heading { align-items: flex-start; flex-direction: column; gap: 1.5rem; }
  .heading > .button { width: 100%; }
  .toolbar { flex-wrap: wrap; }
  .toolbar input { flex-basis: 100%; }
  .toolbar select { flex: 1; }
  .settings-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .preview-layout { grid-template-columns: 1fr; }
  .preview-layout img { height: 35vh; }
}
@media (max-width: 540px) {
  main { padding: 1.25rem 1rem 3rem; }
  .admin-header { padding: .75rem 1rem; min-height: 76px; gap: .75rem; }
  .admin-header nav { flex-basis: 100%; margin-left: 0; gap: .7rem; flex-wrap: wrap; justify-content: flex-start; }
  .admin-header nav a { font-size: .75rem; }
  #signOut { padding-left: .7rem; }
  .access-card { padding: 1.5rem; margin: 1rem auto; }
  .sign-in-card { padding: 0; }
  .sign-in-intro, .sign-in-form { padding: 1.75rem 1.5rem; }
  .sign-in-intro h1 { font-size: 3.15rem; }
  .sign-in-intro > p { font-size: .875rem; }
  .heading { padding: 1.5rem; margin-bottom: 1.75rem; }
  .heading h1 { font-size: 2.7rem; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: .25rem; }
  .section-heading h2 { font-size: 1.35rem; }
  .toolbar { padding: .75rem; gap: .6rem; }
  .project-list { grid-template-columns: 1fr; gap: 1.25rem; }
  .card-body { padding: 1.25rem; }
  .account-panel { margin-top: 2.5rem; }
  .field-row { grid-template-columns: 1fr; }
  .panel-heading { gap: .75rem; }
  .panel-number { width: 32px; height: 32px; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
  .upload-zone { padding: 1.5rem 1rem; }
  .save-bar { position: static; padding: 1rem; }
  .save-bar > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .save-bar .primary { grid-column: 1 / -1; }
  .save-bar .button { padding-inline: .7rem; }
  dialog { padding: 3.5rem 1.25rem 1.25rem; }
  #confirmDialog { padding: 1.5rem; }
  .confirm-actions { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* Recovery controls share the existing owner workspace. */
.editor-tools{display:flex;flex-wrap:wrap;gap:.65rem;align-items:center}.trash-item{padding:1.1rem 0;border-bottom:1px solid var(--line)}.trash-item h3{font-size:1.1rem;margin:.3rem 0}.trash-item p{font-size:1rem;overflow-wrap:anywhere}#pendingPhotos{margin-top:1.25rem;padding-top:1rem;border-top:1px solid var(--line)}#pendingPhotoGrid .photo-actions{flex-wrap:wrap}#backupInput{max-width:100%;font-size:1rem}.editor-tools .button{min-height:44px}@media(max-width:600px){.editor-heading{align-items:flex-start}.editor-tools{width:100%}.editor-tools .button{flex:1 1 auto;white-space:normal}}

/* Editing feedback stays visible without changing the save/publish workflow. */
input, select, textarea { background: var(--field); }
.heading .edit-state { margin-top: 1rem; display: inline-flex; align-items: center; gap: .55rem; color: var(--muted); font-size: .8125rem; letter-spacing: 0; }
.edit-state::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--bronze); flex-shrink: 0; }
.edit-state[data-state="saved"]::before { background: #aad6b7; }
.edit-state[data-state="uncertain"] { color: #ffaba5; }
.edit-state[data-state="uncertain"]::before { background: #ffaba5; }
.editor-tools { justify-content: flex-end; max-width: 520px; }
.editor-tools #previewProject { border-color: var(--bronze); color: var(--bronze); }
.project-cover { aspect-ratio: 4 / 3; background: var(--field); overflow: hidden; }
.project-cover img { width: 100%; height: 100%; object-fit: cover; }
.image-unavailable { display: grid; place-items: center; min-height: 150px; margin: 0; padding: 1rem; background: var(--field); color: var(--muted); text-align: center; font-size: .8125rem; line-height: 1.6; }
.project-cover .image-unavailable { height: 100%; }
.photo-tile { display: flex; flex-direction: column; }
.photo-tile .image-unavailable { aspect-ratio: 1; min-height: 0; }
.photo-actions { order: 1; margin-top: auto; }
#previewImageError { min-height: 35vh; border-radius: 14px; }
#showPending { margin-top: 1.25rem; font-size: .8125rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.5rem 0; }
@media (max-width: 720px) { .editor-tools { justify-content: flex-start; max-width: 100%; } }
@media (max-width: 540px) { .editor-tools { width: 100%; } .editor-tools .button { flex: 1 1 130px; } }
