@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');
:root {
    font-family: 'DM Sans', system-ui, sans-serif;
    color: #242c24;
    background: #f7f6f0;
    --forest: #213d2d;
    --muted: #586457;
    --paper: #fffefa;
    --line: #dedfd3;
    --serif: 'Playfair Display', Georgia, serif;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .67; }
:focus-visible { outline: 3px solid #ac641e; outline-offset: 3px; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { overflow-wrap: anywhere; }
h1 { font: 600 clamp(2.35rem, 5vw, 4.15rem)/1.06 var(--serif); letter-spacing: -.055em; }
h2 { font: 600 1.55rem/1.2 var(--serif); letter-spacing: -.025em; }
h3 { font-size: 1rem; }
p { line-height: 1.6; color: var(--muted); }
.layout { display: grid; grid-template-columns: 235px minmax(0,1fr); min-height: 100vh; }
.sidebar { background: var(--forest); color: #f8f6ea; position: sticky; top: 0; height: 100vh; padding: 33px 19px 22px; display: flex; flex-direction: column; gap: 44px; }
.sidebar-content { display: flex; flex-direction: column; flex: 1; gap: 16px; min-width: 0; }
.nav-toggle { display: none; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font: 600 1.22rem/1.1 var(--serif); overflow-wrap: anywhere; }
.mark { width: 47px; height: 47px; flex: none; }
nav { display: grid; gap: 7px; }
.nav-item { padding: 12px 13px; display: flex; gap: 11px; align-items: center; text-align: left; border: 1px solid transparent; border-radius: 9px; background: transparent; color: #eff3e9; font-weight: 600; white-space: nowrap; }
.nav-item span { font-size: 1.2rem; color: #e8c183; line-height: 1; }
.nav-item.active, .nav-item:hover { background: #ffffff16; border-color: #ffffff17; }
#profile { margin-top: auto; min-width: 0; }
.profile { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; overflow-wrap: anywhere; }
.profile small, .team-list small { display: block; opacity: .8; }
.avatar { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #e5b67c; color: #26372b; font-weight: 700; }
.sidebar .subtle { color: #edebde; }
main { width: min(100%, 1460px); min-width: 0; margin: 0 auto; padding: clamp(22px, 4vw, 61px); }
.page-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.page-head p { margin-top: 12px; max-width: 42rem; }
.eyebrow { color: #765022; font-size: .73rem; letter-spacing: .15em; font-weight: 700; margin-bottom: 12px; }
.button { display: inline-flex; gap: 10px; align-items: center; justify-content: center; text-align: center; min-height: 44px; padding: 10px 17px; border-radius: 8px; border: 1px solid transparent; font-weight: 700; font-size: .88rem; line-height: 1.25; }
.primary { background: var(--forest); color: #fff; }
.primary:hover { background: #355942; }
.secondary { color: var(--forest); border-color: #c7cebf; background: var(--paper); }
.secondary:hover { background: #edf0e7; }
.subtle { background: transparent; color: #733d27; }
.subtle:hover { background: #a9674920; }
.side-login { width: 100%; color: #fff6e6; background: #ffffff12; border-color: #ffffff35; }
.library-head { display: flex; justify-content: space-between; gap: 15px; align-items: center; margin-bottom: 16px; }
.library-controls { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; justify-content: flex-end; }
.library-sort { display: flex; align-items: center; gap: 7px; min-width: 0; font-size: .85rem; font-weight: 700; }
.library-sort span { flex: none; }
.library-sort select { min-width: 0; font-weight: 500; }
.stock-results-sort { margin-block-end: 1rem; }
.search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--paper); padding: 0 10px; border-radius: 8px; }
.search span { font-size: 1.4rem; }
.search input { border: 0; width: min(21vw, 250px); min-width: 145px; background: transparent; }
.filters { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 17px; }
.filters button { padding: 8px 13px; min-height: 39px; max-width: 100%; overflow-wrap: anywhere; border-radius: 20px; background: var(--paper); color: var(--forest); border: 1px solid var(--line); }
.filters button[aria-pressed=true] { background: #dfe8d9; border-color: #becdb6; font-weight: 700; }
.library-tools { margin-bottom: 17px; }
.library-tools .filters { margin-block: 8px; }
.library-tools .filters:empty { display: none; }
.library-form { display: grid; grid-template-columns: minmax(0, 260px) auto; justify-content: start; gap: 6px 8px; align-items: end; margin-block: 7px 12px; }
.library-form label { display: grid; gap: 4px; font-size: .87rem; font-weight: 700; }
.library-form .error { grid-column: 1/-1; }
.cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.card, .panel, .sheet { background: var(--paper); border: 1px solid var(--line); border-radius: 13px; }
.card { overflow: hidden; display: flex; flex-direction: column; position: relative; }
.card:hover { border-color: #a6b29e; }
.art { height: 145px; overflow: hidden; background: #c1c8a7; display: grid; place-items: center; }
.art img { width: 100%; height: 100%; object-fit: cover; }
.art.poulet { background: #e5c389; }
.art.creme { background: #d7aaa0; }
.art.default-art { background: #d7dfca; }
.plate { width: 114px; aspect-ratio: 1; position: relative; display: grid; place-items: center; transform: rotate(-15deg); background: #ede9d5; border-radius: 50%; box-shadow: inset 0 0 0 9px #fff9e8, 0 8px 14px #4b422d44; }
.plate i { display: block; width: 61%; aspect-ratio: 1; background: radial-gradient(ellipse at 32% 35%,#f7dda2 9%,transparent 10%), radial-gradient(ellipse at 70% 55%,#8c5738 11%,transparent 12%), radial-gradient(ellipse at 28% 66%,#8e583c 10%,transparent 11%), #cca765; border-radius: 43% 58% 60% 49%; }
.poulet .plate i { background: linear-gradient(145deg,#f3b554,#a7532b 65%,#663f27); border-radius: 47% 58% 28% 51%; }
.creme .plate i { background: radial-gradient(circle at 50% 44%,#d69447,#a65832 72%); border-radius: 50%; border: 5px solid #ecce9e; }
.default-art .plate i { background: #819975; }
.plate b { position: absolute; color: #385e43; font-size: 1.7rem; left: 56%; top: 33%; }
.creme .plate b { color: #f9e8ad; }
.card-body { padding: 15px; display: grid; gap: 10px; grid-template-rows: auto 1fr auto; flex: 1; }
.card-meta { display: flex; justify-content: space-between; gap: 4px; font-size: .72rem; color: #51614f; font-weight: 700; }
.card-meta span:first-child { color: #754f2a; }
.card h2 { font-size: clamp(1.15rem, 2vw, 1.6rem); }
.card-info { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; color: var(--muted); font-size: .86rem; }
.card-info strong { color: var(--forest); }
.card-open { position: absolute; inset: 0; width: 100%; border: 0; border-radius: inherit; background: transparent; }
.card-open:focus-visible { outline-offset: -4px; }
.favorite-button { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid #bdc7b8; background: var(--paper); color: #765022; font-size: 1.48rem; line-height: 1; }
.card .favorite-button { position: absolute; top: 8px; right: 8px; }
.favorite-button:hover, .favorite-button[aria-pressed=true] { background: #fff0cc; border-color: #ceae71; }
.empty { grid-column: 1/-1; border: 1px dashed #bdc6b6; padding: 22px; border-radius: 10px; color: var(--muted); }
.panel { padding: clamp(15px,3vw,27px); min-width: 0; }
.panel h2 { margin-bottom: 12px; }
.form { display: grid; gap: 15px; align-content: start; }
.auth { max-width: 510px; }
.form label, .portions label { display: grid; gap: 6px; font-size: .9rem; font-weight: 700; min-width: 0; }
input, textarea, select { min-height: 43px; width: 100%; padding: 8px 10px; border-radius: 7px; border: 1px solid #bdc7b8; color: #283629; background: #fffefa; }
textarea { resize: vertical; }
input[type=checkbox] { width: 20px; min-height: 20px; height: 20px; margin: 0; flex: none; accent-color: #365941; }
.form .check { display: flex; align-items: center; gap: 9px; }
.error { color: #963924; font-weight: 700; }
.team-grid, .field-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.team-list { list-style: none; padding: 0; margin-bottom: 0; }
.team-list li { border-top: 1px solid var(--line); padding: 10px 0; overflow-wrap: anywhere; }
.actions, .wizard-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.wizard-actions { justify-content: space-between; margin: 10px 0 0; }
.sheet { padding: clamp(14px, 3vw, 32px); }
.sheet-head { display: flex; justify-content: space-between; gap: 12px; }
.sheet-head h1 { font-size: clamp(2rem, 4.5vw, 3.75rem); }
.sheet-head .art, #photo-preview .art { width: min(150px, 30%); height: auto; aspect-ratio: 4/3; border-radius: 8px; flex: none; }
#photo-preview .button { margin-top: 8px; }
.sheet-meta { display: flex; flex-wrap: wrap; gap: 7px 17px; margin-top: 12px; color: var(--muted); font-size: .86rem; }
.sheet-meta strong { color: #263e2d; }
.portions { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; margin: 20px 0; }
.portions input { max-width: 150px; }
.recipe-description { margin: 0 0 18px; }
.recipe-description h2 { margin-bottom: 5px; }
.sheet-grid { display: grid; gap: 14px; grid-template-columns: minmax(0,1.9fr) minmax(0,1fr); align-items: start; }
.sheet-grid .panel { padding: 15px; }
.table-scroll { overflow: auto; }
.table-hint { margin: 0 0 10px; font-size: .84rem; }
table { width: 100%; border-collapse: collapse; font-size: .78rem; font-variant-numeric: tabular-nums; }
th, td { padding: 7px 5px; border-bottom: 1px solid var(--line); text-align: right; }
thead { background: #2b4935; color: #fff; }
th:first-child { text-align: left; min-width: 82px; }
td:nth-child(2) { text-align: left; }
.category { color: var(--forest); background: #e8ecdf; }
td input { min-width: 76px; min-height: 38px; }
.costs { display: grid; margin: 14px 0 0; }
.costs div { display: flex; justify-content: space-between; gap: 9px; border-bottom: 1px solid var(--line); padding: 7px 0; font-size: .86rem; }
.costs div:last-child { border: 0; color: var(--forest); font-weight: 700; }
.costs dd { margin: 0; text-align: right; flex: none; }
.steps { padding: 0 0 0 1.25rem; margin-top: 0; }
.steps li { padding: 9px 0 9px 4px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; white-space: pre-wrap; }
.steps label { display: flex; gap: 8px; align-items: flex-start; cursor: pointer; }
.steps li.done label span { text-decoration: line-through; color: var(--muted); }
.cooking { max-width: 700px; display: grid; gap: 16px; margin-inline: auto; }
.cooking > .button { justify-self: start; }
.cooking-step { display: grid; gap: 18px; padding: clamp(18px, 4vw, 36px); }
.cooking-title { font-weight: 700; }
.cooking-step h1 { font-size: clamp(1.85rem, 5vw, 3rem); }
.cooking-step h2 { margin: 0; }
.cooking-progress { display: grid; gap: 7px; color: var(--muted); font-size: .9rem; font-weight: 700; }
.cooking-progress progress { width: 100%; height: 12px; accent-color: var(--forest); }
.cooking-instruction { padding-block: 16px; border-block: 1px solid var(--line); color: #242c24; font-size: clamp(1.15rem, 3vw, 1.45rem); }
.cooking-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cooking-actions .button { min-height: 48px; flex: 1 1 auto; }
.cooking-ingredients dl { margin: 8px 0 0; }
.cooking-ingredients dl div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid var(--line); }
.cooking-ingredients dt { overflow-wrap: anywhere; }
.cooking-ingredients dd { margin: 0; flex: none; text-align: right; }
.techniques h3:not(:first-child) { margin-top: 12px; }
.food-summary { margin-top: 15px; }
.food-summary h3, .food-summary h4 { margin: 10px 0 5px; }
.food-summary dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; margin: 8px 0; }
.food-summary dl div { border: 1px solid var(--line); border-radius: 6px; padding: 5px 8px; }
.food-summary dt { color: var(--muted); font-size: .82rem; }
.food-summary dd { margin: 0; font-weight: 700; }
.food-list { margin: 4px 0 9px; padding-left: 1.2em; overflow-wrap: anywhere; }
.food-note { font-size: .8rem; margin: 6px 0; }
.multiline { white-space: pre-wrap; overflow-wrap: anywhere; }
.progress { padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 4px; }
.progress li { color: var(--muted); padding: 8px 4px; display: flex; gap: 5px; flex-wrap: wrap; align-items: center; border-bottom: 3px solid var(--line); font-size: .8rem; font-weight: 700; }
.progress li span { width: 23px; height: 23px; border-radius: 50%; display: grid; place-items: center; background: #e6e9df; }
.progress li[aria-current], .progress li.past { color: var(--forest); border-color: #4e7255; }
.progress li[aria-current] span { background: var(--forest); color: #fff; }
.ingredients { display: grid; gap: 12px; }
fieldset { border: 1px solid var(--line); border-radius: 8px; padding: 12px; min-width: 0; }
legend { color: var(--forest); padding-inline: 5px; font-weight: 700; }
.quantities { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 9px; margin-top: 12px; }
.editor-layout { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); align-items: start; gap: 16px; }
.editor-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.editor-heading h2 { margin-bottom: 0; }
.editor .quantities { grid-template-columns: repeat(auto-fit,minmax(min(112px,100%),1fr)); }
.editor .quantities label { overflow-wrap: anywhere; }
.editor .phase p { font-size: .87rem; }
.preview-pane { position: sticky; top: 18px; max-height: calc(100vh - 36px); overflow: auto; }
.preview-jump { display: none; }
#editor-preview { display: grid; gap: 13px; margin-top: 15px; }
#editor-preview .art { width: min(100%, 200px); height: 120px; border-radius: 8px; }
#editor-preview h3 { font: 600 1.45rem/1.2 var(--serif); }
#editor-preview h4 { margin: 0 0 5px; }
#editor-preview .preview-steps { padding-left: 1.25em; margin: 4px 0 0; }
#editor-preview .preview-steps li + li { margin-top: 5px; }
.preview-header p { font-size: .84rem; overflow-wrap: anywhere; }
@media (max-width: 1100px) {
    .editor-layout { grid-template-columns: minmax(0,1fr); }
    .preview-pane { position: static; max-height: none; overflow: visible; }
    .preview-jump { display: inline-flex; }
}
.ingredient-foot, .step-edit { display: flex; justify-content: space-between; align-items: end; gap: 8px; margin-top: 7px; }
.ingredient-foot, .ingredient-actions { flex-wrap: wrap; }
.ingredient-picker-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.ingredient-picker-actions .button[aria-expanded=true] { background: #e5eddf; border-color: #94a98a; }
.ingredient-picker-panel { margin-bottom: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: #f7f8f2; }
.ingredient-results { display: grid; gap: 2px; max-height: 230px; overflow: auto; padding: 0; margin: 0; list-style: none; }
.ingredient-results button { display: grid; gap: 2px; width: 100%; min-height: 44px; padding: 6px 8px; text-align: left; border: 0; border-radius: 5px; background: transparent; color: var(--forest); }
.ingredient-results button:hover, .ingredient-results button:focus-visible { background: #e5eddf; }
.ingredient-results button:focus-visible { outline-offset: -3px; }
.ingredient-results small { color: var(--muted); }
.ingredient-nutrition { margin: 10px 0; }
.ingredient-nutrition .field-grid { margin-top: 8px; }
.menu-grid, .menu-builder { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; align-items: start; }
.menu-card, .menu-builder section, .menu-search { min-width: 0; }
.menu-card { position: relative; }
.menu-card:hover { border-color: #a6b29e; }
.menu-card .menu-actions { position: relative; z-index: 1; width: fit-content; }
.menu-card-top, .menu-draft-title, .menu-dishes li, .menu-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.menu-card-top h2 { margin: 0; }
.menu-card-top span { color: var(--muted); font-size: .82rem; }
.menu-cost { display: grid; gap: 4px; margin-block: 10px; color: var(--forest); overflow-wrap: anywhere; }
.menu-cost strong { font-size: 1.2rem; }
.menu-cost small { color: var(--muted); }
.menu-actions { justify-content: flex-start; margin-top: 10px; }
.menu-dishes, .menu-draft-items { padding-left: 0; list-style: none; margin: 0; }
.menu-dishes li, .menu-draft-items li { padding: 8px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.menu-search { padding: 12px; border: 1px solid var(--line); border-radius: 8px; }
.menu-search #menu-matches { margin-top: 8px; }
.menu-draft-items li { display: grid; gap: 6px; }
.menu-draft-items input { max-width: 145px; }
.menu-metrics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-block: 10px; }
.menu-metrics div { border: 1px solid var(--line); border-radius: 7px; padding: 8px; min-width: 0; }
.menu-metrics dt, .menu-dishes small { color: var(--muted); font-size: .83rem; }
.menu-metrics dd { margin: 4px 0 0; color: var(--forest); font-size: 1.13rem; font-weight: 700; overflow-wrap: anywhere; }
.menu-metrics .button { margin-top: 6px; }
.menu-details .menu-dishes { margin-top: 7px; }
.menu-details .menu-dishes small { display: block; }
@media (max-width: 760px) { .menu-grid, .menu-builder { grid-template-columns: minmax(0,1fr); } }
@media screen and (max-width: 760px) {
    .actions [data-action="back-to-ideas"] {
        position: fixed;
        z-index: 4;
        inset-inline: 16px;
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        min-height: 44px;
        box-shadow: 0 4px 18px #20251f40;
    }
    .actions:has([data-action="back-to-ideas"]) ~ .sheet {
        margin-block-end: calc(70px + env(safe-area-inset-bottom, 0px));
    }
}
.ingredient-actions { display: flex; gap: 5px; }
.ingredient-foot span { color: var(--muted); font-size: .87rem; }
.step-edit label { flex: 1; }
summary { cursor: pointer; padding: 6px 0; color: var(--forest); font-weight: 700; }
.notice { position: fixed; bottom: 14px; right: 15px; z-index: 5; width: fit-content; max-width: min(440px, calc(100% - 30px)); padding: 13px 16px; border-radius: 9px; background: #253e2e; color: white; box-shadow: 0 6px 30px #20251f48; }
.print-only { display: none; }
@media (max-width: 1050px) { .sheet-grid { grid-template-columns: 1fr; } .cards { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 760px) {
    .layout { display: block; }
    .sidebar { position: relative; padding: 10px 16px; height: auto; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 10px; }
    .brand { margin: 0; font-size: 1.15rem; }
    .mark { width: 36px; height: 36px; }
    .nav-toggle { display: grid; place-content: center; gap: 5px; width: 44px; height: 44px; padding: 0; border: 1px solid #ffffff40; border-radius: 8px; background: #ffffff12; color: #f8f6ea; }
    .nav-toggle span { width: 19px; height: 2px; border-radius: 2px; background: currentColor; }
    .nav-toggle[aria-expanded=true] span:first-child { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded=true] span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded=true] span:last-child { transform: translateY(-7px) rotate(-45deg); }
    .sidebar-content { grid-column: 1/-1; gap: 10px; border-top: 1px solid #ffffff28; padding-top: 10px; }
    .nav-toggle[aria-expanded=false] + .sidebar-content { display: none; }
    .sidebar nav { gap: 3px; }
    .nav-item { padding: 9px 10px; font-size: .9rem; min-height: 44px; }
    #profile { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid #ffffff28; padding-top: 7px; font-size: .8rem; }
    .profile { margin-bottom: 0; }
    .profile .avatar { display: none; }
    .sidebar .button { padding-inline: 8px; font-size: .78rem; }
    main { padding: 21px 16px 35px; }
}
@media (max-width: 500px) {
    .page-head { align-items: start; flex-direction: column; gap: 12px; margin-bottom: 19px; }
    .cards, .team-grid, .field-grid { grid-template-columns: 1fr; }
    .art { height: 120px; }
    .library-head { gap: 8px; align-items: stretch; flex-direction: column; }
    .library-head h2 { font-size: 1.25rem; }
    .library-controls { display: grid; grid-template-columns: minmax(0,1fr); }
    .search input { min-width: 0; width: 100%; }
    .quantities { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .progress li { font-size: .73rem; }
}
@page { size: A4; margin: 12mm; }
@media print {
    body, :root { background: #fff; color: #151b15; }
    .layout, main { display: block; }
    main { padding: 0; }
    .sidebar, .notice, .no-print { display: none !important; }
    .print-only { display: block !important; }
    .sheet, .sheet-grid .panel { border: 0; border-radius: 0; padding: 0; }
    .sheet-head { margin: 0 0 10px; }
    .sheet-head h1 { font-size: 30px; }
    .sheet-grid { display: block; }
    .techniques { margin-top: 15px; }
    .table-scroll { overflow: visible; }
    table { table-layout: auto; }
    thead { color: #172a1c; background: #e4ebdf; }
    td, th { overflow-wrap: anywhere; }
    tr, .steps li, .costs div { break-inside: avoid; }
    h2, h3 { break-after: avoid; }
    .costs { max-width: 370px; margin-left: auto; }
    .portions { margin: 9px 0; }
}


.team-layout { align-items: start; }
.team-tools { display: grid; gap: 16px; min-width: 0; }
.team-search { display: grid; gap: 5px; font-size: .85rem; font-weight: 700; }
.team-list { max-height: min(27rem, 62vh); overflow: auto; padding-inline-end: 5px; scrollbar-gutter: stable; }
.team-list summary { display: flex; gap: 8px; justify-content: space-between; align-items: start; cursor: pointer; }
.team-list summary::after { content: '›'; color: var(--muted); font-size: 1.15rem; }
.team-list details[open] summary::after { transform: rotate(90deg); }
.team-list summary > span:first-child { flex: 1; min-width: 0; }
.employee-rights { flex: 0 1 auto; font-size: .75rem; color: var(--muted); text-align: right; }
.team-list form { margin-top: 12px; }
.team-list form .button { justify-self: start; }
@media screen and (min-width: 761px) {
    .sidebar { min-height: 0; height: 100dvh; }
    .sidebar-content { min-height: 0; }
    .sidebar nav { min-height: 0; overflow-y: auto; }
    .sidebar #profile { flex-shrink: 0; }
}

.menu-choice-group { margin-block: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 9px; }
.menu-choice-group .menu-dishes li {
    flex-wrap: nowrap;
    align-items: start;
}
.menu-choice-group .menu-dishes li > span { min-width: 0; overflow-wrap: anywhere; }
.menu-choice-group .menu-dishes li > strong {
    flex: none;
    margin-inline-start: auto;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.menu-choice-group h3 { margin: -14px -14px 10px; padding: 9px 14px; border-radius: 9px 9px 0 0; background: #e5eddf; }
.menu-scenarios { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 12px; }
.menu-scenario { padding: 14px; border: 1px solid var(--line); border-radius: 9px; }
.menu-scenario h3 { margin-top: 0; }
