:root {
  color-scheme: light;
  --paper: #e8ebf2;
  --surface: #fffefa;
  --ink: #263553;
  --muted: #536174;
  --line: #cfd9e3;
  --leaf: #3e537a;
  --leaf-dark: #2c4166;
  --sage: #dfe5f5;
  --sorrel: #634579;
  --white: #fffefa;
  --serif: Georgia, 'Times New Roman', serif;
  font: 100%/1.5 'Segoe UI', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .68; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--sorrel); outline-offset: 4px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; }
.icon { width: 20px; height: 20px; flex: 0 0 auto; vertical-align: middle; }
.shell { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 6; padding: .7rem; background: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.loading { padding-block: 4rem; }

.topbar { border-bottom: 1px solid var(--line); }
.topbar-inner {
  width: min(1120px, calc(100% - 80px)); margin-inline: auto;
  display: grid; align-items: center; grid-template-columns: 1fr auto 1fr; gap: 2rem; min-height: 76px;
}
.wordmark { display: inline-flex; align-items: center; gap: .65rem; justify-self: start; font-family: var(--serif); font-weight: 700; font-size: 1.44rem; letter-spacing: -.055em; white-space: nowrap; }
.wordmark img { flex-shrink: 0; }
.main-nav { display: flex; gap: 1.8rem; align-self: stretch; }
.main-nav a { display: grid; align-items: center; position: relative; white-space: nowrap; font-size: .94rem; font-weight: 550; color: var(--muted); }
.main-nav a[aria-current] { color: var(--leaf-dark); font-weight: 700; }
.main-nav a[aria-current]::after { position: absolute; content: ''; height: 2px; background: var(--leaf); bottom: -1px; inset-inline: 0; }
.top-write { justify-self: end; }
.button, .text-button, .icon-button, .chip {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px; border: 1px solid transparent; border-radius: 8px; line-height: 1.2; font-weight: 650;
}
.button { padding: .6rem 1rem; background: var(--surface); border-color: var(--line); }
.button:hover { border-color: var(--leaf); }
.primary { color: var(--white); background: var(--leaf); border-color: var(--leaf); }
.primary:hover { background: var(--leaf-dark); border-color: var(--leaf-dark); }
.text-button { padding: .5rem .25rem; background: transparent; color: var(--leaf-dark); }
.text-button:hover { text-decoration: underline; text-underline-offset: .2em; }
.icon-button { width: 44px; padding: 0; background: var(--surface); color: var(--leaf-dark); border-color: var(--line); }
.icon-button:hover { border-color: var(--leaf); }
.danger { color: var(--sorrel); }
.danger:hover { border-color: var(--sorrel); }
.eyeline { display: inline-flex; gap: .5rem; align-items: center; color: var(--leaf-dark); font-size: .875rem; font-weight: 650; }
.eyeline .icon { width: 18px; height: 18px; }

.search { position: relative; flex: 0 1 288px; }
.search .icon { position: absolute; left: 13px; top: 13px; color: var(--muted); pointer-events: none; }
.search input { display: block; width: 100%; min-height: 46px; padding: .6rem .75rem .6rem 2.65rem; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
::placeholder { color: #696b62; opacity: 1; }
.card-meta, .recipe-meta { color: var(--muted); font-size: .875rem; display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .85rem; }
.card-meta span, .recipe-meta span { display: inline-flex; align-items: center; gap: .32rem; }
.card-meta .icon, .recipe-meta .icon { width: 16px; height: 16px; }
.card-favorite { position: absolute; top: 8px; right: 8px; border-color: transparent; box-shadow: 0 1px 4px #20261925; }
.card-favorite[aria-pressed="true"], .favorite[aria-pressed="true"] { color: var(--sorrel); }
[aria-pressed="true"] > .heart-icon { fill: currentColor; }
.empty { padding: 34px 24px; border: 1px dashed #acb4a0; border-radius: 12px; text-align: center; background: var(--surface); }
.empty h3 { font-size: 1.65rem; }
.empty p { color: var(--muted); margin: 8px auto 15px; max-width: 43ch; }

.inside { max-width: 920px; margin-inline: auto; padding-top: 24px; }
.back-link { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; color: var(--leaf-dark); font-weight: 650; }
.back-link:hover { text-decoration: underline; }
.inside-title { margin-block: 12px 9px; font-size: clamp(2.25rem, 6vw, 3.8rem); letter-spacing: -.06em; overflow-wrap: anywhere; }
.inside-caption { color: var(--muted); margin-bottom: 24px; max-width: 63ch; }
.detail-header { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; margin-block: 12px 27px; }
.detail-header.no-image { grid-template-columns: 1fr; }
.detail-image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 21px; }
.detail-actions .button { padding-inline: .7rem; }
.summary-note { margin-top: 10px; color: var(--muted); overflow-wrap: anywhere; white-space: pre-line; }
.detail-body { display: grid; grid-template-columns: .82fr 1.18fr; gap: 24px; align-items: start; }
.detail-body section, .form-block, .share-option { padding: 23px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.detail-body h2, .form-block h2, .share-option h2 { font-size: 1.7rem; letter-spacing: -.045em; }
.ingredients, .steps { margin: 13px 0 0; padding: 0; list-style: none; }
.ingredients li + li { border-top: 1px solid var(--line); }
.ingredients label { min-height: 44px; display: flex; align-items: flex-start; gap: .6rem; padding: 9px 0; overflow-wrap: anywhere; }
.ingredients input { width: 18px; height: 18px; flex: 0 0 auto; margin: .22rem 0 0; accent-color: var(--leaf); }
.ingredients input:checked + span { text-decoration: line-through; color: var(--muted); }
.steps { counter-reset: langkah; }
.steps li { counter-increment: langkah; display: flex; gap: .7rem; padding-block: 9px; overflow-wrap: anywhere; }
.steps li::before { content: counter(langkah); border-radius: 50%; display: grid; place-items: center; width: 27px; height: 27px; flex: 0 0 27px; background: var(--sage); font-weight: 700; font-size: .83rem; }
.notes { grid-column: 1 / -1; }
.notes p { white-space: pre-line; overflow-wrap: anywhere; margin-top: 10px; }
.detail-bottom { margin-top: 12px; }

.editor { max-width: 750px; }
.editor form { display: grid; gap: 15px; }
.form-block { display: grid; gap: 13px; }
.form-block h2 { margin-bottom: 1px; }
.form-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.field { display: grid; gap: 5px; min-width: 0; }
.field label { font-weight: 650; font-size: .92rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 44px; padding: .57rem .65rem; border: 1px solid #bbc8d8; border-radius: 7px; background: white; }
.field textarea { min-height: 100px; resize: vertical; }
.field-hint { color: var(--muted); font-size: .88rem; }
.form-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.form-error { color: var(--sorrel); font-weight: 650; }
.photo-picker { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.photo-picker label { cursor: pointer; }
.photo-picker img { width: 96px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 7px; }
.photo-picker input:focus-visible + label { outline: 3px solid var(--sorrel); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.share-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.share-option { display: grid; justify-items: start; align-content: start; gap: 9px; }
.share-option > .icon { width: 26px; height: 26px; margin-bottom: 3px; color: var(--leaf); }
.share-option p { color: var(--muted); }
.share-option .button { margin-top: 6px; }
.local-note { display: flex; align-items: flex-start; gap: .6rem; padding-block: 17px 0; color: var(--muted); font-size: .92rem; }
.local-note .icon { margin-top: 2px; }

.footer { margin-top: 36px; padding-block: 13px max(14px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.footer .icon { width: 16px; height: 16px; }
dialog { width: min(490px, calc(100% - 28px)); max-height: calc(100% - 28px); margin: auto; padding: 24px; border: 1px solid var(--line); border-radius: 13px; box-shadow: 0 20px 70px #131c162e; background: var(--surface); color: var(--ink); }
dialog::backdrop { background: #20291ce0; opacity: .47; }
.dialog-top { display: flex; justify-content: space-between; align-items: start; gap: 8px; }
.dialog-top h2 { font-size: 1.9rem; letter-spacing: -.045em; align-self: center; }
dialog p, dialog li { color: var(--muted); }
dialog p { margin-block: 10px; }
dialog ol { padding-left: 1.4rem; }
dialog li + li { margin-top: 5px; }
.dialog-actions { margin-top: 18px; display: flex; align-items: flex-start; flex-wrap: wrap; gap: 8px; }
.toast { position: fixed; z-index: 8; bottom: max(18px, env(safe-area-inset-bottom)); left: 50%; width: max-content; max-width: calc(100% - 28px); transform: translateX(-50%); border-radius: 8px; padding: .8rem 1rem; background: var(--leaf-dark); color: var(--white); box-shadow: 0 4px 16px #18261c27; }

@media (max-width: 800px) {
  .shell, .topbar-inner { width: calc(100% - 42px); }
}
@media (max-width: 600px) {
  .shell, .topbar-inner { width: calc(100% - 32px); }
  .topbar-inner { grid-template-columns: 1fr auto; gap: 0 8px; align-items: center; min-height: 0; padding-top: 10px; }
  .wordmark { font-size: 1.3rem; gap: .5rem; }
  .wordmark img { width: 33px; height: 33px; }
  .main-nav { grid-row: 2; grid-column: 1 / -1; gap: 1.5rem; min-height: 45px; }
  .top-write { grid-row: 1; grid-column: 2; padding-inline: .65rem; min-height: 42px; font-size: .87rem; }
  .top-write .icon { width: 17px; height: 17px; }
  .card-meta { font-size: .79rem; }
  .inside { padding-top: 11px; }
  .detail-header, .detail-body, .share-grid { grid-template-columns: 1fr; gap: 12px; }
  .detail-image { grid-row: 1; aspect-ratio: 1.7; }
  .detail-header { margin-bottom: 16px; }
  .detail-body section, .form-block, .share-option { padding: 15px; }
  .footer { margin-top: 26px; }
}
@media (max-width: 365px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .form-row .field:first-child { grid-column: 1 / -1; }
}
.wordmark img { border-radius: 10px; }
.template-box,.cook-card,.cook-ingredients { border-radius: 16px; padding: clamp(18px,4vw,32px); }
.template-box { background: var(--sage); display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; margin-bottom:16px; }
.template-box h2 { font-size:1.6rem; }
.template-box p { margin-top:4px; color:var(--muted); }
.template-list,.cook-tools,.step-controls {display:flex; flex-wrap:wrap; gap:10px;}
.cooking {max-width:760px;}
.cook-card {background:var(--sage); margin-top:20px;}
#cook-step {font:500 clamp(1.7rem,5vw,2.7rem)/1.35 var(--serif); margin:18px 0 32px; overflow-wrap:anywhere;}
.step-controls {justify-content:space-between;}
.step-controls button {min-height:52px;}
.step-controls button:disabled {cursor:default;}
.cook-tools {margin:16px 0; align-items:center;}
.cook-tools label {padding:10px;}
.cook-ingredients {background:var(--surface); border:1px solid var(--line); margin-top:16px;}
.cook-ingredients summary {cursor:pointer; font-weight:650;}

@font-face {
  font-family: 'Bricolage';
  src: url('./assets/bricolage-bold.ttf') format('truetype');
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}
:root {
  --display: 'Bricolage', 'Arial Rounded MT Bold', system-ui, sans-serif;
  --cover: #bdcbef;
  --ink-blue: #29395f;
  --binding: #637499;
  --sheet: #fffefa;
}
body { background-color: var(--paper); }
.topbar { background: #f7f8fb; border-bottom-color: #bcc5d6; }
.topbar-inner { min-height: 64px; }
.wordmark, .section-head h2, .inside-title, .form-block h2, .share-option h2, .template-box h2, .detail-body h2, .dialog-top h2 {
  font-family: var(--display); font-weight: 800; letter-spacing: -.05em;
}
.wordmark { font-size: 1.48rem; }
.button { border-radius: 5px; }
.button.primary { background: var(--ink-blue); border-color: var(--ink-blue); }
.button.primary:hover { background: #3f5480; }
.notebook {
  display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr);
  margin-top: clamp(22px,4vw,54px); position: relative; isolation: isolate;
  border: 1px solid #a3aec6; border-radius: 7px 18px 15px 7px;
  background: var(--sheet); box-shadow: 0 3px 0 -1px #f6f5ef, 0 5px 0 -1px #aeb9ca, 0 14px 36px #33466718;
}
.book-cover {
  min-width: 0; position: relative; overflow: hidden;
  padding: clamp(30px,4vw,54px) clamp(22px,3.5vw,48px); border-radius: 6px 0 0 6px;
  background-color: var(--cover); color: var(--ink-blue);
  background-image: repeating-linear-gradient(90deg,transparent 0 3px,#455b8d09 3px 4px),repeating-linear-gradient(0deg,transparent 0 3px,#ffffff30 3px 4px);
}
.book-cover::after { content:''; pointer-events:none; position:absolute; inset:11px; border:1px dashed #4a5f873e; border-radius:4px; }
.cover-title h1 { font:800 clamp(3.85rem,6.7vw,6rem)/.91 var(--display); letter-spacing:-.078em; max-width:7ch; }
.cover-title p { margin:17px 0 0 3px; font-weight:600; font-size:.94rem; }
.snapshots { height:clamp(295px,29vw,386px); position:relative; margin-top:36px; }
.snapshot { display:block; position:absolute; padding:8px 8px 0; background:#fffdf5; box-shadow:0 4px 10px #38476738; color:#303750; }
.snapshot img { width:100%; object-fit:cover; aspect-ratio:1.22; }
.snapshot span { display:block; padding:6px 3px 9px; font:italic 1.02rem/1.25 Georgia,serif; overflow-wrap:anywhere; }
.snapshot-back { width:65%; right:2%; bottom:1%; transform:rotate(9deg); }
.snapshot-front { width:74%; left:1%; top:3%; transform:rotate(-7deg); }
.snapshot-front::before { content:''; position:absolute; width:34%; height:17px; background:#eee6b4d9; left:30%; top:-7px; transform:rotate(6deg); clip-path:polygon(1% 1%,100% 0,98% 100%,0 94%); }
.snapshot:focus-visible { z-index:2; }
.recipes-section {
  min-width:0; position:relative; padding:clamp(26px,3.6vw,46px) clamp(20px,3vw,42px) 24px clamp(32px,4.2vw,55px);
  border-radius:0 18px 15px 0; background:var(--sheet);
}
.recipes-section::before {
  content:''; position:absolute; z-index:1; pointer-events:none; top:17px; bottom:17px; left:-15px; width:30px;
  background:radial-gradient(ellipse 14px 5px at 15px 17px,transparent 55%,#758199 63%,#eff2f8 77%,#738099 91%,transparent 100%) 0 0/30px 34px repeat-y,
    radial-gradient(ellipse 3px 4px at 4px 18px,#344362 55%,transparent 100%) 0 0/30px 34px repeat-y,
    radial-gradient(ellipse 3px 4px at 26px 18px,#344362 55%,transparent 100%) 0 0/30px 34px repeat-y;
}
.section-head { display:flex; gap:12px; align-items:baseline; justify-content:space-between; }
.section-head h2 { font-size:clamp(1.95rem,3.4vw,3rem); }
.recipe-count { color:var(--muted); font-size:.88rem; white-space:nowrap; }
.search { margin:16px 0 13px; }
.search input { background: #f3f4f6; border-radius:4px; }
.filters { display:flex; flex-wrap:wrap; gap:6px; padding:1px 0 13px; border-bottom:2px solid var(--ink-blue); }
.chip { min-height:42px; padding:.45rem .68rem; font-size:.88rem; border-radius:3px 9px 2px 2px; background:#e1e8ee; border:0; color:#354463; }
.chip:nth-child(3n+2) { background:#e6e2f0; }
.chip:nth-child(3n) { background:#dceae5; }
.chip[aria-pressed=true] { color:#fff; background:var(--ink-blue); }
.chip:hover { box-shadow:inset 0 -2px var(--binding); }
.chip .icon {width:16px;height:16px;}
.recipe-grid { display:grid; }
.recipe-card { display:flex; align-items:center; position:relative; gap:4px; border-bottom:1px solid var(--line); }
.recipe-card a { flex:1; min-width:0; display:grid; grid-template-columns:78px minmax(0,1fr); align-items:center; gap:15px; padding:13px 0; }
.recipe-card a:hover h3 { text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px; }
.card-photo,.no-photo { width:100%; aspect-ratio:1.18; object-fit:cover; border-radius:3px; }
.no-photo { display:grid;place-items:center;background:var(--sage); }
.card-copy h3 { margin:2px 0 5px; font:800 clamp(1.12rem,2vw,1.42rem)/1.13 var(--display); letter-spacing:-.043em; overflow-wrap:anywhere; }
.category {color:var(--sorrel);font-size:.83rem;font-weight:650;}
.card-favorite { position:static; flex-shrink:0; box-shadow:none; background:transparent; border:0; color:#566680; }
.card-favorite:hover { background:#eef1f5; }
.inside {
  position:relative; margin-top:clamp(18px,3vw,38px); padding:clamp(20px,4vw,48px);
  background:var(--sheet); border-left:7px solid #aebde1; border-radius:3px 12px 8px 3px;
  box-shadow:0 2px 0 #bec7d4,0 8px 24px #33466712;
}
.inside-title {line-height:1.02;}
.detail-image { border:6px solid white; border-radius:1px; transform:rotate(2deg); box-shadow:0 2px 9px #31476c29; }
.detail-body {gap:26px;}
.detail-body section,.form-block,.share-option { background:transparent; border:0; border-top:2px solid var(--ink-blue); border-radius:0; padding:16px 0; }
.detail-body section.notes { padding:16px 18px; background:#e6e3f1; border:0; }
.form-block {gap:16px;}
.field textarea { line-height:1.65; background:repeating-linear-gradient(0deg,#c9d3e055 0 1px,transparent 1px 1.65em) left top .72rem / 100% 1.65em local,var(--sheet); }
.template-box { border-radius:2px 14px 3px 3px; background:#e1e7f6; border-left:4px solid #7687b0; }
.share-grid {grid-template-columns:1fr; gap:0;}
.share-option {grid-template-columns:35px minmax(0,1fr) auto; align-items:center; gap:4px 12px;}
.share-option > .icon {grid-row:1 / 3;}
.share-option p {grid-column:2;}
.share-option .button {grid-column:3;grid-row:1 / 3;margin:0;}
.cook-card {border-radius:2px 18px 3px 3px; background:#e0e7f7; border-left:5px solid #8394bd; }
.cook-ingredients {border-radius:0; border-width:1px 0;}
.footer {margin-top:26px;}
@media (min-width:761px) and (max-width:980px) {
  .notebook {grid-template-columns:minmax(0,.7fr) minmax(0,1fr);}
  .cover-title h1 {font-size:clamp(3.4rem,7vw,4.2rem);}
  .card-meta {gap:.35rem .55rem;}
}
@media (max-width:760px) {
  .notebook {display:block;margin-top:18px;border-radius:8px 12px 9px 5px;}
  .book-cover {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:23px 23px 30px;border-radius:7px 11px 0 0;min-height:156px;}
  .cover-title {min-width:0;}
  .cover-title h1 {font-size:clamp(2.8rem,9vw,4.6rem);}
  .cover-title p {font-size:.87rem;margin:10px 0 0;}
  .snapshots {flex:0 0 35%; height:clamp(96px,22vw,144px); margin:0 3px 0 0;}
  .snapshot-front {width:94%;left:3%;top:0;padding:4px 4px 0;}
  .snapshot-front img {aspect-ratio:1.35;}
  .snapshot span {font-size:.8rem;padding:3px 2px 5px;max-height:3em;overflow:hidden;}
  .snapshot-back {display:none;}
  .recipes-section {padding:25px 18px 12px;border-radius:0 0 9px 5px;}
  .recipes-section::before {top:-9px;left:14px;right:14px;width:auto;height:19px;bottom:auto;background:
    radial-gradient(ellipse 4px 9px at 15px 9px,transparent 51%,#77859e 63%,#edf0f6 78%,#697891 92%,transparent 100%) 0 0 /31px 19px repeat-x,
    radial-gradient(circle 3px at 15px 16px,#405273 50%,transparent 100%) 0 0 /31px 19px repeat-x;}
  .filters {flex-wrap:nowrap; overflow-x:auto; scrollbar-width:thin; padding-bottom:8px;}
  .chip {flex:0 0 auto;min-height:44px;}
  .section-head h2 {font-size:1.85rem;}
  .search {margin:12px 0 9px;}
  .recipe-card a {grid-template-columns:65px minmax(0,1fr);gap:11px;padding:11px 0;}
  .card-meta {font-size:.8rem;gap:.3rem .55rem;}
  .card-favorite {width:44px;min-height:44px;}
  .inside {padding:18px;border-left-width:4px;}
  .share-option {grid-template-columns:28px minmax(0,1fr);}
  .share-option .button {grid-row:auto;grid-column:2;margin-top:7px;}
}
@media (max-width:600px) {
  .topbar-inner {min-height:58px; padding:0;display:flex;justify-content:space-between;}
  .wordmark {font-size:1.35rem;}
  .main-nav {
    z-index:4;position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:center;gap:8px;
    padding:6px 12px max(6px,env(safe-area-inset-bottom));min-height:54px;background:#f7f8fc;border-top:1px solid #acb9cc;
  }
  .main-nav a {display:flex;align-items:center;justify-content:center;min-height:44px;gap:8px;width:min(46%,190px);border-radius:5px;}
  .main-nav a[aria-current] {background:#dde4f6;}
  .main-nav a[aria-current]::after {display:none;}
  body {padding-bottom:calc(62px + env(safe-area-inset-bottom));}
  .toast {bottom:calc(72px + env(safe-area-inset-bottom));}
  .footer {margin-top:18px;}
  .book-cover::after {inset:7px;}
  .detail-image {width:96%;justify-self:center;}
  .detail-body {gap:5px;}
}
@media (max-width:375px) {
  .book-cover {padding:20px 15px 25px;}
  .recipes-section {padding-inline:12px;}
  .recipe-card a {grid-template-columns:55px minmax(0,1fr);gap:8px;}
}
@media (min-width:601px) { .main-nav a {display:flex;gap:6px;} .main-nav .icon {width:16px;} }
.group-actions { grid-column:3;grid-row:1 / 3;display:flex;flex-wrap:wrap;gap:6px;max-width:250px; }
.group-form { display:grid;gap:13px;margin-top:14px; }
.group-sync { flex-wrap: wrap; }
#group-status { flex: 1 1 14rem; }
#retry-opening, #retry-storage { margin-top: 12px; }
.group-sync {display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--muted);padding-bottom:12px;font-size:.9rem;}
@media(max-width:760px){.group-actions {grid-column:2;grid-row:auto;max-width:none;}}
