#team-menus-view .menu-builder-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(320px,.7fr);gap:24px;align-items:start}
#team-menus-view .menu-header-actions,#team-menus-view .language-switch{display:flex;gap:8px;align-items:center}
#team-menus-view .language-switch{background:#eaf0f4;padding:5px;border-radius:12px;flex-shrink:0}
#team-menus-view .language-switch button{border:0;border-radius:8px;background:transparent;padding:10px 16px;color:#25445b;font-weight:750;cursor:pointer}
#team-menus-view .language-switch button.active{background:#126d62;color:white;box-shadow:0 2px 6px #102a3320}
#team-menus-view .menu-step-heading{border-top:1px solid #dce5eb;padding-top:24px;margin-top:28px}
#team-menus-view .menu-day-card{padding:16px;background:#f5f8fa;border:1px solid #dce5eb;border-radius:14px;margin-bottom:12px}
#team-menus-view .menu-day-card>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px}
#team-menus-view .menu-day-card strong span{display:block;font-weight:500;color:#577080;margin-top:4px}
#team-menus-view .menu-meal-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
#team-menus-view .menu-meal-chips button{background:white;border:1px solid #c6d6df;border-radius:20px;padding:8px 12px;color:#25445b;font-size:12px;cursor:pointer}
#team-menus-view .menu-meal-chips button.active{background:#176f63;color:white;border-color:#176f63}
#team-menus-view .menu-meal-card{border:1px solid #dce5eb;border-radius:14px;overflow:hidden;margin-top:12px;background:white}
#team-menus-view .menu-meal-card>summary{padding:18px;display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none}
#team-menus-view .menu-meal-card>summary span:first-child{display:grid;gap:4px}
#team-menus-view .menu-meal-card>summary small{color:#577080}
#team-menus-view .menu-time-summary{font-size:12px;color:#176f63;white-space:nowrap}
#team-menus-view .menu-meal-fields{display:block;padding:0 18px 18px}
#team-menus-view .menu-meal-fields>label{max-width:180px}
#team-menus-view fieldset{margin:20px 0;padding:16px;border:1px solid #dae5e9;border-radius:12px;min-width:0}
#team-menus-view legend{padding:0 8px;font-size:12px;letter-spacing:.04em;font-weight:800;color:#176f63;max-width:100%;overflow-wrap:anywhere}
#team-menus-view .menu-section-label{font-size:11px;color:#577080;margin:0 0 14px}
#team-menus-view .menu-section-label input{font-size:13px;padding:10px}
#team-menus-view .menu-edit-row{display:flex;gap:8px;align-items:center;margin-bottom:12px}
#team-menus-view .menu-edit-row label{flex:1;min-width:0;margin:0}
#team-menus-view .menu-row-number{display:block;color:#6f8490;font-size:10px;font-weight:500;margin-bottom:4px}
#team-menus-view .menu-edit-row textarea{min-height:62px;width:100%;font:14px/1.5 inherit;font-family:inherit;font-size:14px;line-height:1.5;padding:10px;resize:vertical}
#team-menus-view .menu-remove-row{border:0;border-radius:8px;background:#f8eeec;color:#9d443b;font-size:20px;width:32px;min-width:32px;padding:6px;cursor:pointer}
#team-menus-view .menu-meal-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
#team-menus-view .menu-preview-panel{background:#133e33;color:#f4f4e9;border:0;border-radius:18px;overflow:hidden;position:sticky;top:16px}
#team-menus-view .menu-preview-toolbar{background:#133e33;color:#f4f4e9;border-bottom:1px solid #ffffff24;display:flex;justify-content:space-between;gap:12px;padding:18px;font-size:13px}
#team-menus-view .menu-preview-toolbar small{color:#bad0c7}
#team-menus-view .menu-document{padding:24px;max-height:calc(100vh - 150px);overflow:auto}
#team-menus-view .menu-overview-title{padding-bottom:20px;border-bottom:1px solid #ffffff30}
#team-menus-view .menu-overview-title>small{color:#dbbd7d;font-size:10px;letter-spacing:.13em}
#team-menus-view .menu-overview-title h2{font-size:25px;line-height:1.3;color:white;margin:14px 0}
#team-menus-view .menu-overview-title h2 span{font-weight:400;color:#a5c3b7}
#team-menus-view .menu-overview-title p{font-size:12px;color:#bad0c7;margin:5px 0}
#team-menus-view .menu-overview-day h3{color:#dbbd7d;font-size:13px;margin:24px 0 12px;text-transform:uppercase;letter-spacing:.05em}
#team-menus-view .menu-overview-day details{border:1px solid #ffffff24;border-radius:10px;padding:12px;margin:8px 0}
#team-menus-view .menu-overview-day summary{cursor:pointer;font-weight:700;font-size:14px}
#team-menus-view .menu-overview-day summary small{display:block;color:#bad0c7;font-weight:400;margin:5px 0}
#team-menus-view .menu-overview-section h4{font-size:10px;letter-spacing:.08em;color:#dbbd7d;margin:18px 0 6px}
#team-menus-view .menu-overview-section ul{font-size:12px;padding-left:16px;line-height:1.6;color:#f4f4e9}
#team-menus-view .menu-overview-section li{margin:5px 0;overflow-wrap:anywhere}
#team-menus-view .menu-library-panel{margin-bottom:22px}
#team-menus-view .menu-library{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px;margin-top:16px}
#team-menus-view .menu-library-card{display:flex;flex-direction:column;justify-content:space-between;gap:18px;border:1px solid #d8e3e9;border-radius:14px;padding:16px;background:#fff}
#team-menus-view .menu-library-card h3{margin:8px 0 5px;font-size:17px}.menu-library-card p{margin:0 0 8px;color:#526b7a}.menu-library-card small{color:#718491}
#team-menus-view .menu-library-language{display:inline-block;background:#e8f2ef;color:#176f63;border-radius:999px;padding:4px 8px;font-size:10px;font-weight:800}
#team-menus-view .menu-library-competition{display:inline-block;margin-left:6px;color:#667d89;font-size:10px;font-weight:700}
#team-menus-view .menu-library-actions{display:flex;flex-wrap:wrap;gap:7px}.menu-library-actions button{padding:8px 10px;font-size:11px}
@media(max-width:1200px){#team-menus-view .menu-builder-layout{grid-template-columns:1fr}#team-menus-view .menu-preview-panel{position:static}#team-menus-view .menu-document{max-height:700px}}
@media(max-width:600px){#team-menus-view .section-heading{flex-wrap:wrap}#team-menus-view .menu-time-summary{white-space:normal;text-align:right}#team-menus-view fieldset{padding:10px}#team-menus-view .menu-meal-fields{padding:0 10px 12px}#team-menus-view .menu-day-card>div:first-child{align-items:flex-start}}

@media(max-width:767px){
  #team-menus-view .menu-header-actions{width:auto;flex:0 0 auto;gap:5px}
  #team-menus-view .menu-header-actions button{flex:0 0 auto;min-height:36px;padding:7px 9px;font-size:10px}
  #team-menus-view .menu-library-panel{margin-bottom:9px;padding:11px}
  #team-menus-view .menu-library{gap:7px;margin-top:8px}
  #team-menus-view .menu-library-card{gap:9px;padding:10px;border-radius:11px}
  #team-menus-view .menu-builder-layout{gap:9px}
  #team-menus-view .menu-builder-form{padding:11px}
  #team-menus-view .language-switch{padding:3px;border-radius:9px}
  #team-menus-view .language-switch button{min-height:32px;padding:6px 10px;font-size:10px}
  #team-menus-view .menu-step-heading{margin-top:14px;padding-top:12px}
  #team-menus-view .menu-day-selector{gap:7px;margin:8px 0 12px}
  #team-menus-view .menu-day-card{padding:9px;margin-bottom:0;border-radius:11px}
  #team-menus-view .menu-meal-chips{gap:4px;margin-top:8px}
  #team-menus-view .menu-meal-chips button{min-height:30px;padding:5px 8px;font-size:9px}
  #team-menus-view .menu-meal-card{margin-top:7px;border-radius:11px}
  #team-menus-view .menu-meal-card>summary{min-height:46px;padding:9px 10px}
  #team-menus-view .menu-meal-fields{padding:0 9px 9px}
  #team-menus-view fieldset{margin:10px 0;padding:8px;border-radius:10px}
  #team-menus-view .menu-edit-row{gap:5px;margin-bottom:7px}
  #team-menus-view .menu-edit-row textarea{min-height:54px;padding:7px;font-size:12px;line-height:1.35}
  #team-menus-view .menu-preview-panel{margin-top:9px;border-radius:13px}
  #team-menus-view .menu-preview-toolbar{padding:10px 11px;font-size:10px}
  #team-menus-view .menu-document{padding:11px}
}
