/* Monthly planning uses the same quiet green surfaces as the menu and landing page. */
#calendar-view{--calendar-open:#f4f8ef;--calendar-closed:#fdf3f1;--calendar-open-ink:#638552;--calendar-closed-ink:#b66e66}
body[data-design="workspace"] .workspace-header>div>.eyebrow{display:none}
#calendar-view .planning-scope-bar{padding:14px 16px;border-radius:8px;margin-bottom:20px;gap:18px;background:var(--dine-tint)}
#calendar-view .planning-scope-bar .eyebrow{display:none}
#calendar-view .planning-scope-bar h2{font-size:16px;color:var(--dine-forest);margin:0 0 4px}
#calendar-view .planning-scope-switch{background:#e8eedf;border-radius:7px;padding:4px}
#calendar-view .scope-button{font-size:12px;min-height:38px;padding:8px 13px}
#calendar-view .scope-internal{background:#e1e9d8;color:#627454}
#calendar-view .calendar-layout{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
#calendar-view :is(.calendar-section,.day-section){border-radius:10px;border-color:var(--line);border-top:3px solid var(--dine-edge);background:#fff;box-shadow:var(--dine-shadow)}
#calendar-view .calendar-section{top:110px}
#calendar-view .calendar-toolbar{padding:12px;gap:10px;background:var(--dine-tint);border-bottom:1px solid var(--line)}
#calendar-view .month-nav{gap:10px;min-width:0}
#calendar-view .month-nav h2{font-size:18px;min-width:140px;color:var(--dine-forest);line-height:1.4}
#calendar-view .month-nav .icon-button{width:34px;height:36px;border-radius:6px;background:#fff;border:1px solid var(--line);color:#60774f;font-size:0}
#calendar-view .month-nav .icon-button::after{content:'';display:block;width:8px;height:8px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(-45deg)}
#calendar-view #previous-month::after{transform:rotate(135deg)}
#calendar-view .calendar-tools{margin-left:auto;gap:12px}
#calendar-view .month-count{display:none}
#calendar-view #today{min-height:36px;background:#fff}
#calendar-view .calendar-scroll{padding:6px;overflow:hidden}
#calendar-view .calendar{border-collapse:separate;border-spacing:4px;width:100%;min-width:0;table-layout:fixed}
#calendar-view .calendar th{height:30px;border:0;padding:0 7px;background:#fff;font-size:11px;font-weight:550;color:#718265}
#calendar-view .calendar th:nth-child(n+6){color:#927b76}
#calendar-view .calendar td{border:0;padding:0;background:transparent}
#calendar-view .calendar-day{height:clamp(44px,calc((100dvh - 530px)/6),74px);min-height:44px;padding:5px;border:1px solid #e7ebdf;border-radius:7px;background:#f8faf5;box-shadow:none;color:var(--ink);overflow:hidden;filter:none;transition:background-color 160ms ease,border-color 160ms ease,box-shadow 160ms ease}
#calendar-view .calendar-day>span{flex-shrink:0}
#calendar-view .calendar-day.is-open{background:var(--calendar-open);border-color:#e1e9d8;box-shadow:none}
#calendar-view .calendar-day.is-closed{background:var(--calendar-closed);border-color:#f0dfdb;box-shadow:none}
#calendar-view .calendar-day.outside-month{background:#fafbf8;color:#a2aa9a;border-color:#eef0e9}
#calendar-view .calendar-day.outside-month.is-closed{background:#fdf9f8;border-color:#f3e9e6}
#calendar-view .calendar-day.is-selected{border-color:#829c70;box-shadow:inset 0 0 0 1px #829c7026;background:#edf3e5}
#calendar-view .calendar-day.is-selected.is-closed{background:#faedea;border-color:#bc8179;box-shadow:inset 0 0 0 1px #bc817926}
#calendar-view .calendar-day:focus-visible{outline:1px solid #839277;outline-offset:1px}
#calendar-view .calendar-day:active{transform:none}
#calendar-view .day-top{min-height:24px;margin-bottom:3px;gap:3px}
#calendar-view .day-number{width:24px;height:24px;border-radius:6px;font-size:13px;font-weight:550;flex-shrink:0;font-variant-numeric:tabular-nums}
#calendar-view .is-selected:not(.is-today) .day-number{background:#dce8ce;color:#334c3c}
#calendar-view .is-selected.is-closed:not(.is-today) .day-number{background:#f1dcd6;color:#8f554e}
#calendar-view .is-today .day-number{background:var(--dine-forest);color:#fff}
#calendar-view .day-entry-count{min-width:18px;height:18px;padding:0 4px;border-radius:5px;background:#e2ebd7;color:#486139;font-size:10px;font-weight:650}
#calendar-view .cell-hours{font-size:9px;line-height:1.5;color:#738168;padding:0 0 5px;display:block;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#calendar-view .cell-hours::before{content:'';display:inline-block;width:5px;height:5px;margin-right:4px;vertical-align:1px;border-radius:50%;background:#aeb7a3}
#calendar-view .is-open .cell-hours::before{background:var(--calendar-open-ink)}
#calendar-view .is-closed .cell-hours{color:#a36b63}
#calendar-view .is-closed .cell-hours::before{background:var(--calendar-closed-ink)}
#calendar-view .special-hours{font-weight:600;color:#60794d}
#calendar-view .dish-chip{padding:3px 5px;border-left:2px solid #91a77e;border-radius:4px;background:#fff;color:#486139;font-size:10px;line-height:1.5}
#calendar-view .more-dishes{font-size:9px;line-height:1.5;padding:0 3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#calendar-view .day-chips{gap:3px}
#calendar-view .day-chips:empty{display:none}
#calendar-view .calendar-day:has(.dish-chip) .calendar-plan-title{display:none}
#calendar-view .planning-calendar-badge{padding:2px 5px;background:#e3ebda;color:#4e6840;border-radius:4px;font-size:9px;line-height:1.5;margin-top:3px}
#calendar-view .calendar-plan-title{font-size:10px;margin-top:2px;color:#486139}
#calendar-view .calendar-footer{padding:12px 16px;font-size:10px;border-color:var(--line)}
#calendar-view .legend-open{background:var(--calendar-open-ink)}
#calendar-view .legend-closed{background:var(--calendar-closed-ink)}
#calendar-view .day-heading h2{font-size:19px;margin:5px 0 0}
#calendar-view .day-hours-summary{border:1px solid #dbe6d1;border-left:3px solid #91a77e;border-radius:7px;background:var(--dine-tint)}
#calendar-view .day-hours-summary.is-closed{border-color:#eedbd6;border-left-color:#bc8179;background:#fdf3f1}
#calendar-view .day-hours-summary strong{font-size:13px}
#calendar-view .day-hours-summary div>span{font-size:11px}
#calendar-view :is(.filter-hint,.filter-summary,.planning-meta){font-size:11px;line-height:1.7}
#calendar-view .planning-filter{min-height:32px;font-size:11px;padding:6px 10px;border-radius:20px}
#calendar-view .planning-filter.is-active{background:#edf3e5;border-color:#bfceaf;color:#526b42}
#calendar-view .planning-filter::before{content:'';display:block;box-sizing:border-box;flex:0 0 12px;width:12px;height:12px;border:1px solid #b6c6a6;border-radius:3px}
#calendar-view .planning-filter.is-active::before{border:0;border-radius:0;background:currentColor;clip-path:polygon(0 46%,15% 33%,39% 58%,83% 5%,100% 19%,40% 94%)}
#calendar-view .dish-title h3{font-size:14px;color:var(--dine-forest)}
#calendar-view .dish-price{font-size:13px;color:var(--dine-forest)}
#calendar-view .dish-copy p{font-size:12px}
#calendar-view .planning-heading h3{font-size:16px;max-width:none}
#calendar-view .empty-day{padding:16px}
#calendar-view .empty-day p{font-size:12px}
/* The compact grid shows counts; full dishes and events stay readable in the equal-width day panel. */
#calendar-view :is(.day-chips,.planning-calendar-badge,.calendar-plan-title){display:none}
@media(hover:hover){
  #calendar-view .calendar-day:hover{filter:none;border-color:#adbf9c;box-shadow:inset 0 0 0 1px #adbf9c30}
  #calendar-view .calendar-day.is-closed:hover{border-color:#d0a49a;box-shadow:inset 0 0 0 1px #d0a49a30}
  #calendar-view .scope-button:not(.is-active):not(:active):hover{background:#ffffffbf;color:var(--dine-forest)}
  #calendar-view .month-nav .icon-button:hover,#calendar-view #today:hover{background:#e7eddf;border-color:#b6c6a6}
}
@media(max-width:1100px){#calendar-view .calendar-layout{grid-template-columns:minmax(0,1fr)}#calendar-view .calendar-section{position:static;order:-1}#calendar-view .calendar-day{height:76px;min-height:76px}#calendar-view .day-heading{flex-direction:row;align-items:center}}
@media(min-width:1101px) and (max-height:820px){
  #calendar-view .cell-hours{display:none}
  #calendar-view .day-top{margin-bottom:0}
  #calendar-view .calendar-day::after{content:'';position:absolute;bottom:4px;left:calc(50% - 2px);width:4px;height:4px;border-radius:50%;background:#adb6a3}
  #calendar-view .calendar-day.is-open::after{background:var(--calendar-open-ink)}
  #calendar-view .calendar-day.is-closed::after{background:var(--calendar-closed-ink)}
}
@media(max-width:760px){
  #calendar-view .planning-scope-bar{padding:0;border:0;background:transparent;margin-bottom:18px}
  #calendar-view .scope-button{min-height:44px;padding:9px 6px}
  #calendar-view .calendar-layout{gap:18px}
  #calendar-view .calendar-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:10px;gap:8px}
  #calendar-view .month-nav{display:grid;grid-template-columns:32px minmax(0,1fr) 32px;gap:2px}
  #calendar-view .month-nav h2{min-width:0;font-size:16px}
  #calendar-view .month-nav .icon-button{width:32px;height:44px}
  #calendar-view #today{min-height:44px;padding:8px 10px}
  #calendar-view .calendar-scroll{padding:4px}
  #calendar-view .calendar{border-spacing:3px}
  #calendar-view .calendar th{height:29px;text-align:center;padding:0;font-size:11px}
  #calendar-view .calendar-day{height:70px;min-height:70px;align-items:center;text-align:center;padding:5px 1px;border-radius:6px}
  #calendar-view .day-top{flex-direction:column;justify-content:flex-start;gap:3px;min-height:0;margin:0;width:100%}
  #calendar-view .day-number{width:26px;height:26px;font-size:13px}
  #calendar-view .day-entry-count{height:16px;min-width:17px;font-size:9px}
  #calendar-view .calendar-day::after{content:'';position:absolute;bottom:5px;left:calc(50% - 2px);width:4px;height:4px;border-radius:50%;background:#adb6a3}
  #calendar-view .calendar-day.is-open::after{background:var(--calendar-open-ink)}
  #calendar-view .calendar-day.is-closed::after{background:var(--calendar-closed-ink)}
  #calendar-view :is(.cell-hours,.day-chips,.planning-calendar-badge,.calendar-plan-title){display:none}
  #calendar-view .calendar-footer{padding:10px 12px;font-size:11px}
  #calendar-view .mobile-calendar-hint{background:#f7f9f3;border-color:var(--line);padding:10px 12px}
  #calendar-view .day-heading{flex-direction:column;align-items:flex-start}
  #calendar-view .day-heading h2{font-size:20px}
  #calendar-view .planning-filter{min-height:44px;padding:9px 12px;font-size:12px}
  #calendar-view :is(.filter-hint,.filter-summary,.planning-meta,.day-hours-summary div>span,.dish-copy p,.empty-day p){font-size:12px}
  #calendar-view :is(.dish-title h3,.planning-card-top h4){font-size:16px}
  #calendar-view .day-hours-summary strong{font-size:14px}
}
@media(max-width:360px){#calendar-view .calendar-toolbar{padding:8px;gap:5px}#calendar-view .month-nav{grid-template-columns:28px minmax(0,1fr) 28px}#calendar-view .month-nav .icon-button{width:28px}#calendar-view .month-nav h2{font-size:14px}#calendar-view #today{padding-inline:7px}}
