:root {
  --text-primary: #2d2722;
  --text-secondary: #514840;
  --text-muted: #75685f;
  --text-soft: #8e8177;
  --text-accent: #b95f35;
  --text-accent-alt: #a9753f;
  --text-success: #63785e;
  --text-info: #6f8793;
  --ink: var(--text-primary);
  --muted: var(--text-muted);
  --soft: var(--text-soft);
  --line: rgba(70, 54, 37, 0.12);
  --line-strong: rgba(70, 54, 37, 0.2);
  --cream: #faf7f2;
  --paper: #fffdf9;
  --warm: #f3eadc;
  --warm-2: #e8d8c0;
  --gold: #c88935;
  --gold-dark: #a66732;
  --red: #d64d36;
  --green: #506b4e;
  --shadow: 0 18px 50px rgba(74, 51, 27, 0.09);
  --shadow-small: 0 8px 24px rgba(74, 51, 27, 0.08);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
}
/* Mobile display mode: the existing pages remain untouched in standard mode. */
.display-mode-switch,
.compact-dashboard,
.compact-settings-trigger {
  display: none;
}
@media (max-width: 768px) {
  .display-mode-switch {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    padding: 3px;
    border: 1px solid #e7ded2;
    border-radius: 12px;
    background: #f3ede4;
  }

  .compact-top-actions {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .site-shell.is-compact-mode .compact-settings-trigger {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border: 1px solid #e7ded2;
    border-radius: 12px;
    background: #f8f3ec;
    color: #75685d;
    font-size: 16px;
    font-weight: 750;
  }

  .display-mode-switch button {
    min-width: 45px;
    height: 29px;
    padding: 0 9px;
    border-radius: 9px;
    background: transparent;
    color: #89796b;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
  }

  .display-mode-switch button.active {
    background: #fffdfa;
    color: #352d27;
    box-shadow: 0 1px 3px rgba(72, 53, 36, 0.1);
  }

  .site-shell.is-compact-mode main > .compact-dashboard {
    display: block;
    width: min(100% - 24px, 600px);
    min-height: 0;
    margin: 18px auto 0;
    padding-bottom: calc(28px + env(safe-area-inset-bottom));
  }

  .compact-dashboard-heading {
    padding: 6px 4px 14px;
  }

  .compact-dashboard-heading span {
    color: #b06d35;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .compact-dashboard-heading h1 {
    margin-top: 5px;
    color: #2f2924;
    font-size: clamp(27px, 7.2vw, 34px);
    line-height: 1.08;
    letter-spacing: -0.045em;
  }

  .compact-tool-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .compact-tool-grid > button {
    min-width: 0;
    min-height: 70px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 11px;
    border: 1px solid #ebe3d9;
    border-radius: 20px;
    background: #fffdf9;
    color: #3a312b;
    text-align: left;
    box-shadow: 0 5px 16px rgba(69, 48, 29, 0.035);
  }

  .compact-tool-grid > button > span {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: #f4ede4;
    color: #a96632;
    font-size: 17px;
    font-weight: 800;
  }

  .compact-tool-grid > button > strong {
    min-width: 0;
    font-size: 14px;
    line-height: 1.25;
    white-space: nowrap;
  }

  .compact-tool-grid > button.active {
    border-color: #d8c7b3;
    background: #f8f2e9;
  }

  .compact-tool-grid > button.active > span {
    background: #e9dbca;
    color: #8e542d;
  }

  .compact-operation-panel {
    margin-top: 14px;
    padding: 18px;
    border: 1px solid #e8dfd4;
    border-radius: 24px;
    background: #fffdf9;
    box-shadow: 0 10px 28px rgba(66, 47, 30, 0.045);
  }

  .compact-operation-panel > header {
    margin-bottom: 15px;
  }

  .compact-operation-panel > header small {
    color: #ae7041;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
  }

  .compact-operation-panel > header h2 {
    margin-top: 3px;
    color: #302923;
    font-size: 22px;
    line-height: 1.15;
  }

  .compact-operation-content {
    display: grid;
    gap: 11px;
  }

  .compact-field {
    min-width: 0;
    display: grid;
    gap: 6px;
    color: #76685c;
    font-size: 11px;
    font-weight: 700;
  }

  .compact-field input,
  .compact-field textarea,
  .compact-field select,
  .compact-finder-form input {
    width: 100%;
    min-width: 0;
    border: 1px solid #e6ddd2;
    border-radius: 14px;
    background: #fbf8f3;
    color: #352e28;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    outline: none;
  }

  .compact-field input,
  .compact-field select,
  .compact-finder-form input {
    height: 44px;
    padding: 0 13px;
  }

  .compact-field textarea {
    min-height: 76px;
    padding: 11px 13px;
    resize: vertical;
  }

  .compact-field input:focus,
  .compact-field textarea:focus,
  .compact-field select:focus,
  .compact-finder-form input:focus {
    border-color: #cba47d;
  }

  .compact-primary-action {
    width: 100%;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 14px;
    background: #d85d3f;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
  }

  .compact-primary-action:disabled {
    opacity: 0.55;
  }

  .compact-dish-result {
    min-width: 0;
    padding: 9px;
    display: grid;
    grid-template-columns: minmax(96px, 38%) minmax(0, 62%);
    gap: 12px;
    border-radius: 18px;
    background: #f5efe7;
  }

  .compact-dish-result > img {
    width: 100%;
    height: 126px;
    border-radius: 13px;
    background: #eee5da;
    object-fit: contain;
  }

  .compact-dish-result > div {
    min-width: 0;
    padding: 6px 5px 5px 0;
  }

  .compact-dish-result small,
  .compact-finder-answer small,
  .compact-analysis-answer small,
  .compact-enhance-dish small {
    color: #a56b3d;
    font-size: 10px;
    font-weight: 800;
  }

  .compact-dish-result h3 {
    margin: 3px 0 5px;
    font-size: 19px;
    line-height: 1.18;
    word-break: keep-all;
  }

  .compact-dish-result p {
    display: -webkit-box;
    overflow: hidden;
    color: #75685c;
    font-size: 11px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .compact-dish-result button {
    margin-top: 7px;
    color: #b35539;
    background: transparent;
    font-size: 11px;
    font-weight: 800;
  }

  .compact-filter-row {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .compact-filter-row::-webkit-scrollbar {
    display: none;
  }

  .compact-filter-row button {
    flex: 0 0 auto;
    min-width: 43px;
    height: 35px;
    padding: 0 12px;
    border: 1px solid #e7ded3;
    border-radius: 12px;
    background: #faf6f0;
    color: #77685b;
    font-size: 12px;
    font-weight: 750;
  }

  .compact-filter-row button.active {
    border-color: #cfb08e;
    background: #eee2d3;
    color: #81502c;
  }

  .compact-finder-form {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px;
  }

  .compact-finder-form button {
    min-width: 62px;
    padding: 0 12px;
    border-radius: 13px;
    background: #4f8c75;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
  }

  .compact-finder-answer,
  .compact-analysis-answer {
    padding: 13px;
    display: grid;
    gap: 4px;
    border-radius: 16px;
    background: #f1f7f3;
  }

  .compact-finder-answer strong,
  .compact-analysis-answer strong {
    color: #332c26;
    font-size: 17px;
  }

  .compact-finder-answer span,
  .compact-analysis-answer p {
    color: #6f665d;
    font-size: 11px;
    line-height: 1.5;
  }

  .compact-analysis-answer > div {
    margin-top: 4px;
    display: flex;
    gap: 6px;
  }

  .compact-analysis-answer > div span {
    padding: 5px 8px;
    border-radius: 9px;
    background: #fff;
    color: #756555;
    font-size: 10px;
  }

  .compact-result-heading {
    display: grid;
    gap: 4px;
  }

  .compact-result-heading small {
    color: #a46b40;
    font-size: 9px;
    font-weight: 800;
  }

  .compact-result-heading strong {
    color: #332c26;
    font-size: 20px;
    line-height: 1.2;
  }

  .compact-result-heading p {
    color: #71665d;
    font-size: 11px;
    line-height: 1.5;
  }

  .compact-analysis-result,
  .compact-enhance-result {
    display: grid;
    gap: 11px;
  }

  .compact-core-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border-radius: 15px;
    background: #e9e0d6;
  }

  .compact-core-metrics > span {
    min-width: 0;
    min-height: 67px;
    padding: 10px;
    display: grid;
    align-content: center;
    gap: 4px;
    background: #faf7f2;
  }

  .compact-core-metrics > span.wide {
    grid-column: 1 / -1;
    min-height: 55px;
  }

  .compact-core-metrics small {
    color: #948578;
    font-size: 9px;
  }

  .compact-core-metrics strong {
    overflow: hidden;
    color: #a96132;
    font-size: 14px;
    line-height: 1.3;
    text-overflow: ellipsis;
  }

  .compact-detail-toggle,
  .compact-secondary-action {
    min-height: 40px;
    border-radius: 12px;
    background: #f0e7dc;
    color: #715842;
    font-size: 11px;
    font-weight: 800;
  }

  .compact-secondary-action {
    background: transparent;
    color: #907e70;
  }

  .compact-detail-content {
    display: grid;
    gap: 1px;
    overflow: hidden;
    border-radius: 14px;
    background: #e9e0d6;
  }

  .compact-detail-content section {
    padding: 11px 12px;
    background: #faf7f2;
  }

  .compact-detail-content section > strong {
    display: block;
    margin-bottom: 5px;
    color: #4c4037;
    font-size: 11px;
  }

  .compact-detail-content p,
  .compact-detail-content li {
    color: #75695f;
    font-size: 10px;
    line-height: 1.5;
  }

  .compact-detail-content ol,
  .compact-detail-content ul {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
    list-style: none;
  }

  .compact-detail-content ol li {
    display: grid;
    grid-template-columns: 19px minmax(0, 1fr);
    gap: 6px;
  }

  .compact-detail-content ol b {
    width: 19px;
    height: 19px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    background: #eee3d6;
    color: #9a633b;
    font-size: 8px;
  }

  .compact-detail-content ul li::before {
    content: "·";
    margin-right: 5px;
    color: #b46f40;
  }

  .compact-enhance-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .compact-enhance-actions button {
    min-width: 0;
    min-height: 42px;
    padding: 0 7px;
    border: 1px solid #e1d5c8;
    border-radius: 12px;
    background: #f7f1e9;
    color: #745740;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
  }

  .compact-enhance-actions button:last-child {
    border-color: #d79c78;
    background: #d85d3f;
    color: #fff;
  }

  .compact-enhance-actions button:disabled {
    opacity: 0.5;
  }

  .compact-settings-panel {
    display: grid;
    gap: 15px;
  }

  .compact-settings-panel > header {
    padding: 7px 4px 0;
    display: flex;
    align-items: end;
    justify-content: space-between;
  }

  .compact-settings-panel > header small {
    color: #a56b3f;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
  }

  .compact-settings-panel > header h1 {
    margin-top: 3px;
    font-size: 27px;
    line-height: 1.1;
  }

  .compact-settings-panel > header > button {
    min-height: 34px;
    padding: 0 11px;
    border-radius: 11px;
    background: #efe6da;
    color: #7b5c43;
    font-size: 11px;
    font-weight: 800;
  }

  .compact-settings-list {
    display: grid;
    gap: 1px;
    overflow: hidden;
    border: 1px solid #e9e0d6;
    border-radius: 19px;
    background: #e9e0d6;
  }

  .compact-settings-list > div,
  .compact-settings-list > label,
  .compact-settings-list > section {
    min-height: 52px;
    padding: 11px 14px;
    background: #fffdf9;
  }

  .compact-settings-list > div,
  .compact-settings-list > label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #4a4038;
    font-size: 13px;
    font-weight: 700;
  }

  .compact-settings-list > div b {
    color: #9b6942;
    font-size: 12px;
  }

  .compact-settings-list > label {
    position: relative;
  }

  .compact-settings-list > label input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  .compact-settings-list > label i {
    width: 38px;
    height: 23px;
    padding: 2px;
    border-radius: 14px;
    background: #ded5ca;
  }

  .compact-settings-list > label i::after {
    content: "";
    width: 19px;
    height: 19px;
    display: block;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(50, 38, 27, 0.15);
    transition: transform 150ms ease;
  }

  .compact-settings-list > label input:checked + i {
    background: #769680;
  }

  .compact-settings-list > label input:checked + i::after {
    transform: translateX(15px);
  }

  .compact-settings-list > section {
    display: grid;
    gap: 9px;
  }

  .compact-settings-list > section > strong {
    color: #4a4038;
    font-size: 12px;
  }

  .compact-settings-list > section > div {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .compact-settings-list > section button {
    flex: 0 0 auto;
    min-width: 38px;
    height: 31px;
    padding: 0 9px;
    border-radius: 10px;
    background: #f2ece4;
    color: #75675b;
    font-size: 11px;
    font-weight: 750;
  }

  .compact-settings-list > section button.active {
    background: #e6d8c8;
    color: #875d3d;
  }

  .compact-dish-list {
    display: grid;
    gap: 7px;
  }

  .compact-dish-list article,
  .compact-enhance-dish {
    min-width: 0;
    padding: 7px;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) 34px;
    align-items: center;
    gap: 9px;
    border: 1px solid #eee6dc;
    border-radius: 15px;
    background: #fbf8f3;
  }

  .compact-dish-list article > img,
  .compact-enhance-dish > img {
    width: 54px;
    height: 54px;
    border-radius: 11px;
    object-fit: contain;
    background: #f1e9df;
  }

  .compact-dish-list article > div,
  .compact-enhance-dish > div {
    min-width: 0;
    display: grid;
    gap: 3px;
  }

  .compact-dish-list article strong,
  .compact-enhance-dish strong {
    overflow: hidden;
    color: #3c332c;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .compact-dish-list article small {
    color: #88796c;
    font-size: 10px;
  }

  .compact-dish-list article > button {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: #eee3d5;
    color: #9a5e33;
    font-size: 16px;
    font-weight: 800;
  }

  .compact-menu-summary {
    padding: 1px 2px 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #77695d;
    font-size: 11px;
  }

  .compact-menu-summary strong {
    color: #352e28;
    font-size: 16px;
  }

  .compact-menu-list,
  .compact-menu-picker {
    display: grid;
    gap: 7px;
  }

  .compact-menu-list article {
    min-width: 0;
    padding: 7px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto 28px;
    align-items: center;
    gap: 8px;
    border: 1px solid #eee6dc;
    border-radius: 15px;
    background: #fbf8f3;
  }

  .compact-menu-list article > img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #f0e8de;
    object-fit: contain;
  }

  .compact-menu-list article > div:nth-child(2) {
    min-width: 0;
    display: grid;
    gap: 3px;
  }

  .compact-menu-list article strong {
    overflow: hidden;
    color: #3b332d;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .compact-menu-list article small {
    overflow: hidden;
    color: #8a7b6e;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .compact-menu-quantity {
    display: grid;
    grid-template-columns: 27px 21px 27px;
    align-items: center;
  }

  .compact-menu-quantity button,
  .compact-menu-remove {
    width: 27px;
    height: 27px;
    border-radius: 9px;
    background: #efe6db;
    color: #795d47;
    font-size: 13px;
    font-weight: 800;
  }

  .compact-menu-quantity span {
    color: #55483e;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
  }

  .compact-menu-remove {
    background: transparent;
    color: #a29080;
    font-size: 16px;
  }

  .compact-menu-picker {
    max-height: 230px;
    overflow-y: auto;
    padding: 2px;
  }

  .compact-menu-picker > button {
    min-width: 0;
    padding: 6px 8px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 26px;
    align-items: center;
    gap: 8px;
    border-radius: 13px;
    background: #f8f3ec;
    color: #433831;
    text-align: left;
  }

  .compact-menu-picker img {
    width: 42px;
    height: 42px;
    border-radius: 9px;
    object-fit: contain;
  }

  .compact-menu-picker span {
    min-width: 0;
    display: grid;
    gap: 2px;
  }

  .compact-menu-picker strong {
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .compact-menu-picker small {
    color: #8b7b6e;
    font-size: 9px;
  }

  .compact-menu-picker b {
    font-size: 15px;
    text-align: center;
  }

  .compact-menu-actions,
  .compact-create-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .compact-menu-actions button,
  .compact-create-actions button {
    min-height: 42px;
    padding: 0 12px;
    border-radius: 13px;
    background: #f0e7dc;
    color: #6e5542;
    font-size: 12px;
    font-weight: 800;
  }

  .compact-menu-actions button:last-child,
  .compact-create-actions button:last-child {
    background: #d85d3f;
    color: #fff;
  }

  .compact-menu-actions button:disabled {
    opacity: 0.48;
  }

  .compact-status-note,
  .compact-success-note {
    min-height: 38px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f4efe8;
    color: #796b5f;
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
  }

  .compact-success-note {
    background: #edf5ef;
    color: #55705c;
  }

  .compact-empty-state {
    min-height: 112px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    border-radius: 17px;
    background: #f8f3ec;
    color: #66594d;
  }

  .compact-empty-state button {
    color: #b05738;
    background: transparent;
    font-size: 12px;
    font-weight: 800;
  }

  .compact-upload {
    min-height: 92px;
    padding: 8px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 4px;
    border: 1px dashed #d8c7b5;
    border-radius: 17px;
    background: #faf6f0;
    color: #8b6345;
  }

  .compact-upload > img {
    width: 100%;
    height: 116px;
    border-radius: 12px;
    object-fit: contain;
  }

  .compact-upload > span {
    font-size: 22px;
  }

  .compact-upload > strong {
    font-size: 12px;
  }

  .compact-create-or {
    height: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #a29487;
    font-size: 9px;
  }

  .compact-create-or::before,
  .compact-create-or::after {
    content: "";
    height: 1px;
    flex: 1;
    background: #eee6dc;
  }

  .compact-vision-result {
    display: grid;
    gap: 11px;
  }

  .compact-vision-result > img {
    width: 100%;
    height: 138px;
    border-radius: 16px;
    background: #f3ece3;
    object-fit: contain;
  }

  .compact-vision-heading {
    display: grid;
    gap: 2px;
  }

  .compact-vision-heading small {
    color: #9b6b46;
    font-size: 9px;
    font-weight: 750;
  }

  .compact-vision-heading strong {
    color: #332c26;
    font-size: 20px;
    line-height: 1.2;
  }

  .compact-vision-result dl {
    margin: 0;
    display: grid;
    gap: 1px;
    overflow: hidden;
    border-radius: 14px;
    background: #ebe2d8;
  }

  .compact-vision-result dl > div {
    min-width: 0;
    padding: 9px 11px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 8px;
    background: #faf7f2;
  }

  .compact-vision-result dt {
    color: #9a6b47;
    font-size: 10px;
    font-weight: 800;
  }

  .compact-vision-result dd {
    margin: 0;
    color: #5d5147;
    font-size: 11px;
    line-height: 1.45;
  }

  .compact-enhance-dish {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .compact-inline-error {
    color: #b54d3d;
    font-size: 11px;
    line-height: 1.45;
  }
}
/* Dining trajectory: a quiet, personal long-term record. */
.dining-track-page {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
  padding-bottom: 80px;
}
.dining-track-header {
  padding: 58px 62px 42px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid rgba(139, 105, 75, .12);
  border-radius: 36px;
  background: #fffdf9;
  box-shadow: 0 18px 50px rgba(74, 54, 35, .06);
}
.dining-track-header > div { display: grid; gap: 10px; }
.dining-track-header span { color: #b66e47; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.dining-track-header h1 { margin: 0; color: #302923; font-size: clamp(42px, 6vw, 70px); font-weight: 650; letter-spacing: -.05em; }
.dining-track-header p { margin: 0; color: #81756b; font-size: 16px; line-height: 1.7; }
.dining-track-header img { width: 82px; height: 82px; object-fit: cover; border-radius: 27px; box-shadow: 0 12px 26px rgba(91, 65, 42, .1); }
.dining-track-range {
  width: 270px;
  margin: 28px auto 36px;
  padding: 5px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(131, 104, 79, .13);
  border-radius: 16px;
  background: #ede7df;
}
.dining-track-range button { min-height: 40px; border-radius: 12px; color: #81756c; font-size: 13px; font-weight: 750; background: transparent; }
.dining-track-range button.active { color: #3d342d; background: #fffdf9; box-shadow: 0 3px 10px rgba(66, 48, 33, .08); }
.dining-track-empty {
  min-height: 360px;
  padding: 60px 24px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  text-align: center;
  border: 1px solid rgba(139, 105, 75, .12);
  border-radius: 34px;
  background: rgba(255, 253, 249, .76);
}
.dining-track-empty > span { color: #cf9d78; font-size: 42px; }
.dining-track-empty h2 { margin: 0; color: #473c33; font-size: 24px; }
.dining-track-empty p { margin: 0; color: #91857b; line-height: 1.7; }
.dining-track-summary,
.dining-track-timeline { padding: 34px; border: 1px solid rgba(139, 105, 75, .12); border-radius: 32px; background: #fffdf9; }
.dining-track-summary > header,
.dining-track-timeline > header { margin-bottom: 24px; }
.dining-track-summary > header span,
.dining-track-timeline > header span,
.dining-track-insight > span { color: #b56c44; font-size: 11px; font-weight: 820; letter-spacing: .1em; }
.dining-track-summary h2,
.dining-track-timeline h2 { margin: 5px 0 0; color: #3c332c; font-size: 24px; }
.dining-track-summary > div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.dining-track-summary article { min-height: 126px; padding: 19px; display: flex; flex-direction: column; justify-content: space-between; border-radius: 22px; background: #f7f1e9; }
.dining-track-summary article small { color: #918379; font-size: 11px; }
.dining-track-summary article strong { overflow: hidden; color: #3c332c; font-size: 25px; font-weight: 680; text-overflow: ellipsis; white-space: nowrap; }
.dining-track-summary article span { color: #aa9b8f; font-size: 11px; }
.dining-track-insight { margin: 18px 0; padding: 32px 36px; border-radius: 30px; background: #f2e4d4; }
.dining-track-insight p { max-width: 760px; margin: 13px 0 0; color: #493b31; font-size: 21px; line-height: 1.65; letter-spacing: -.02em; }
.dining-profile-card { margin: 18px 0; padding: 34px; border: 1px solid rgba(139, 105, 75, .12); border-radius: 32px; background: #fffdf9; box-shadow: 0 14px 38px rgba(74, 54, 35, .045); }
.dining-profile-card > header { margin-bottom: 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.dining-profile-card > header span { color: #b56c44; font-size: 11px; font-weight: 820; letter-spacing: .1em; }
.dining-profile-card > header h2 { margin: 5px 0 0; color: #3c332c; font-size: 24px; }
.dining-profile-card > header > small { color: #9a8d82; font-size: 11px; font-weight: 620; }
.dining-profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dining-profile-grid article { min-height: 142px; padding: 21px; display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; align-items: start; border-radius: 23px; background: #f7f1e9; }
.dining-profile-grid article > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 15px; background: rgba(255, 253, 249, .82); font-size: 21px; }
.dining-profile-grid article > div { min-width: 0; display: grid; gap: 4px; }
.dining-profile-grid small { color: #a07154; font-size: 10px; font-weight: 760; }
.dining-profile-grid h3 { margin: 0; color: #3f352e; font-size: 19px; font-weight: 700; }
.dining-profile-grid p { margin: 4px 0 0; color: #81746a; font-size: 12px; line-height: 1.65; }
.dining-profile-empty { min-height: 190px; display: grid; place-items: center; align-content: center; gap: 10px; text-align: center; border-radius: 23px; background: #f7f1e9; }
.dining-profile-empty > span { color: #c98a63; font-size: 30px; }
.dining-profile-empty p { margin: 0; color: #897c71; font-size: 14px; line-height: 1.75; }
.dining-trend-card { margin: 18px 0; padding: 34px; border: 1px solid rgba(139, 105, 75, .12); border-radius: 32px; background: #fffdf9; box-shadow: 0 14px 38px rgba(74, 54, 35, .045); }
.dining-trend-card > header { margin-bottom: 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.dining-trend-card > header span { color: #b56c44; font-size: 11px; font-weight: 820; letter-spacing: .1em; }
.dining-trend-card > header h2 { margin: 5px 0 0; color: #3c332c; font-size: 24px; }
.dining-trend-card > header > small { color: #998b80; font-size: 11px; font-weight: 650; }
.dining-trend-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dining-trend-grid article { position: relative; min-height: 132px; padding: 20px; overflow: hidden; border-radius: 22px; background: #f7f1e9; }
.dining-trend-grid article::after { content: "→"; position: absolute; top: 16px; right: 17px; color: #b7a89b; font-size: 15px; }
.dining-trend-grid article.is-up::after { content: "↑"; color: #b77850; }
.dining-trend-grid article.is-down::after { content: "↓"; color: #83978c; }
.dining-trend-grid small { color: #9b6b4f; font-size: 10px; font-weight: 780; }
.dining-trend-grid strong { margin-top: 13px; display: block; color: #3e352e; font-size: 21px; font-weight: 700; letter-spacing: -.025em; }
.dining-trend-grid p { margin: 7px 0 0; color: #8a7d72; font-size: 11px; line-height: 1.6; }
.dining-trend-comparison { margin-top: 12px; padding: 18px 20px; border: 1px solid #ece3da; border-radius: 21px; background: #fffdfa; }
.dining-trend-comparison > div { padding-left: min(34%, 150px); display: grid; grid-template-columns: 1fr 1fr; gap: 34px; color: #aa9b90; font-size: 9px; font-weight: 750; text-align: center; }
.dining-trend-comparison p { margin: 0; padding: 11px 0; display: grid; grid-template-columns: minmax(92px, .7fr) 1fr 22px 1fr; align-items: center; gap: 8px; border-bottom: 1px solid #f0e8e0; }
.dining-trend-comparison p:last-child { border-bottom: 0; }
.dining-trend-comparison p small { color: #8f8176; font-size: 10px; font-weight: 720; }
.dining-trend-comparison p span,
.dining-trend-comparison p strong { color: #5f534a; font-size: 12px; text-align: center; }
.dining-trend-comparison p strong { color: #9a6242; }
.dining-trend-comparison p b { color: #c5b8ad; font-size: 11px; font-weight: 500; }
.dining-trend-card blockquote { margin: 12px 0 0; padding: 20px 22px; border: 0; border-radius: 20px; background: #f2e4d4; }
.dining-trend-card blockquote span { color: #ad6945; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.dining-trend-card blockquote p { margin: 8px 0 0; color: #53453b; font-size: 15px; line-height: 1.65; }
.dining-trend-empty { min-height: 180px; display: grid; place-items: center; align-content: center; gap: 9px; text-align: center; border-radius: 23px; background: #f7f1e9; }
.dining-trend-empty > span { color: #c98a63; font-size: 28px; }
.dining-trend-empty p { max-width: 340px; margin: 0; color: #897c71; font-size: 14px; line-height: 1.75; }
.air-memory-card { margin: 18px 0; padding: 34px; border: 1px solid rgba(139, 105, 75, .12); border-radius: 32px; background: #f5eadc; box-shadow: 0 14px 38px rgba(74, 54, 35, .045); }
.air-memory-card > header { margin-bottom: 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.air-memory-card > header span { color: #b56c44; font-size: 11px; font-weight: 820; letter-spacing: .1em; }
.air-memory-card > header h2 { margin: 5px 0 0; color: #3c332c; font-size: 24px; }
.air-memory-card > header > button { min-height: 38px; padding: 0 14px; border: 1px solid rgba(155, 109, 76, .22); border-radius: 14px; background: rgba(255, 253, 249, .72); color: #8e5d3e; font-size: 11px; font-weight: 760; }
.air-memory-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.air-memory-groups article { min-height: 126px; padding: 18px; border-radius: 22px; background: rgba(255, 253, 249, .78); }
.air-memory-groups small { display: block; margin-bottom: 13px; color: #9b6b4f; font-size: 11px; font-weight: 780; }
.air-memory-groups article > div { display: flex; flex-wrap: wrap; gap: 7px; }
.air-memory-groups article span { padding: 7px 9px; border-radius: 10px; background: #f0e4d6; color: #5f5045; font-size: 11px; font-weight: 680; }
.air-memory-groups article em { color: #a29488; font-size: 12px; font-style: normal; }
.air-memory-card blockquote { margin: 12px 0 0; padding: 22px; border: 0; border-radius: 22px; background: #3c332d; color: #fffaf4; }
.air-memory-card blockquote > span { color: #e3ae89; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.air-memory-card blockquote p { margin: 9px 0 8px; color: inherit; font-size: 18px; line-height: 1.55; }
.air-memory-card blockquote small { color: rgba(255, 250, 244, .58); font-size: 10px; }
.air-memory-empty { min-height: 190px; display: grid; place-items: center; align-content: center; gap: 9px; text-align: center; border-radius: 23px; background: rgba(255, 253, 249, .75); }
.air-memory-empty > span { color: #c98a63; font-size: 30px; }
.air-memory-empty p { margin: 0; color: #897c71; font-size: 14px; line-height: 1.75; }
.air-memory-empty button { min-height: 36px; margin-top: 5px; padding: 0 14px; border-radius: 13px; background: #4a3d34; color: #fffaf5; font-size: 11px; font-weight: 760; }
.air-memory-editor { position: fixed; z-index: 120; inset: 0; padding: 22px; display: grid; place-items: center; background: rgba(40, 34, 30, .36); backdrop-filter: blur(10px); }
.air-memory-editor-panel { width: min(520px, 100%); max-height: min(720px, calc(100vh - 44px)); overflow-y: auto; padding: 28px; border: 1px solid rgba(139, 105, 75, .15); border-radius: 28px; background: #fffdf9; box-shadow: 0 24px 70px rgba(52, 38, 27, .2); }
.air-memory-editor-panel > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.air-memory-editor-panel > header span { color: #b56c44; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.air-memory-editor-panel h3 { margin: 5px 0 0; color: #3c332c; font-size: 25px; }
.air-memory-editor-panel > header button { width: 36px; height: 36px; border-radius: 50%; background: #f4eee7; color: #77675c; font-size: 20px; }
.air-memory-editor-panel > p { margin: 14px 0 20px; color: #8a7c71; font-size: 12px; line-height: 1.65; }
.air-memory-editor-panel label { margin-top: 12px; display: grid; gap: 7px; }
.air-memory-editor-panel label > span { color: #5a4d43; font-size: 11px; font-weight: 760; }
.air-memory-editor-panel input { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid #e3d9ce; border-radius: 15px; background: #faf7f2; color: #3f362f; outline: 0; }
.air-memory-editor-panel input:focus { border-color: #cf9874; box-shadow: 0 0 0 3px rgba(207, 152, 116, .12); }
.air-memory-editor-panel > footer { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.air-memory-editor-panel > footer button { min-height: 46px; border-radius: 15px; background: #f4eee7; color: #74665b; font-weight: 760; }
.air-memory-editor-panel > footer button.primary { background: #d9774d; color: white; }
.dining-milestone-card { margin: 18px 0; padding: 34px; border: 1px solid rgba(139, 105, 75, .12); border-radius: 32px; background: #fffdf9; box-shadow: 0 14px 38px rgba(74, 54, 35, .045); }
.dining-milestone-card > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.dining-milestone-card > header span { color: #b56c44; font-size: 11px; font-weight: 820; letter-spacing: .1em; }
.dining-milestone-card > header h2 { margin: 5px 0 0; color: #3c332c; font-size: 24px; }
.dining-milestone-card > header > small { color: #998b80; font-size: 11px; font-weight: 650; }
.dining-milestone-subtitle { margin: 12px 0 22px; color: #8a7d72; font-size: 13px; }
.dining-milestone-list { display: grid; gap: 9px; }
.dining-milestone-list article { min-height: 126px; padding: 20px; display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 16px; align-items: start; border-radius: 22px; background: #f7f1e9; }
.dining-milestone-list article > span { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #dfcbbb; border-radius: 15px; background: rgba(255, 253, 249, .82); color: #b56f49; font-size: 11px; font-weight: 820; }
.dining-milestone-list article > div { min-width: 0; }
.dining-milestone-list small { color: #a07154; font-size: 10px; font-weight: 760; }
.dining-milestone-list h3 { margin: 7px 0 5px; color: #40362f; font-size: 18px; font-weight: 700; }
.dining-milestone-list p { margin: 0; color: #81746a; font-size: 12px; line-height: 1.65; }
.dining-milestone-empty { min-height: 190px; margin-top: 22px; display: grid; place-items: center; align-content: center; gap: 9px; text-align: center; border-radius: 23px; background: #f7f1e9; }
.dining-milestone-empty > span { color: #c98a63; font-size: 30px; }
.dining-milestone-empty p { margin: 0; color: #897c71; font-size: 14px; line-height: 1.75; }
.dining-track-timeline > div { position: relative; display: grid; }
.dining-track-timeline > div::before { content: ""; position: absolute; top: 25px; bottom: 25px; left: 65px; width: 1px; background: #e7ddd3; }
.dining-track-timeline article { position: relative; min-height: 108px; padding: 18px 4px; display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 28px; align-items: start; border-bottom: 1px solid #eee7df; }
.dining-track-timeline article:last-child { border-bottom: 0; }
.dining-track-timeline time { padding-top: 5px; color: #9b8e83; font-size: 12px; font-weight: 700; }
.dining-track-timeline article > div { position: relative; display: grid; gap: 5px; }
.dining-track-timeline article > div::before { content: ""; position: absolute; top: 7px; left: -34px; width: 11px; height: 11px; border: 3px solid #fffdf9; border-radius: 50%; background: #c77c52; box-shadow: 0 0 0 1px #dfc9b8; }
.dining-track-timeline article span { color: #bd754d; font-size: 10px; font-weight: 800; }
.dining-track-timeline h3 { margin: 0; color: #40362e; font-size: 18px; }
.dining-track-timeline p { margin: 0; color: #776a60; font-size: 13px; line-height: 1.65; }
.dining-track-timeline small { color: #a09388; font-size: 11px; }
.dining-track-timeline article > strong { padding-top: 5px; color: #9b6242; font-size: 17px; font-weight: 760; white-space: nowrap; }
@media (max-width: 768px) {
  .dining-track-page { width: calc(100% - 24px); padding-bottom: 92px; }
  .dining-track-header { padding: 30px 24px 26px; border-radius: 28px; }
  .dining-track-header h1 { font-size: 44px; }
  .dining-track-header p { max-width: 230px; font-size: 13px; }
  .dining-track-header img { width: 58px; height: 58px; border-radius: 19px; }
  .dining-track-range { width: 220px; margin: 20px auto 24px; }
  .dining-track-summary,
  .dining-track-timeline { padding: 22px 18px; border-radius: 26px; }
  .dining-track-summary > div { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .dining-track-summary article { min-height: 106px; padding: 15px; border-radius: 18px; }
  .dining-track-summary article strong { font-size: 21px; }
  .dining-track-insight { margin-block: 14px; padding: 25px 22px; border-radius: 24px; }
  .dining-track-insight p { font-size: 17px; }
  .dining-profile-card { margin-block: 14px; padding: 22px 18px; border-radius: 26px; }
  .dining-profile-card > header { margin-bottom: 18px; align-items: flex-start; }
  .dining-profile-card > header h2 { font-size: 22px; }
  .dining-profile-card > header > small { max-width: 90px; padding-top: 3px; text-align: right; line-height: 1.45; }
  .dining-profile-grid { grid-template-columns: 1fr; gap: 9px; }
  .dining-profile-grid article { min-height: 116px; padding: 17px; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; border-radius: 19px; }
  .dining-profile-grid article > span { width: 38px; height: 38px; border-radius: 13px; font-size: 19px; }
  .dining-profile-grid h3 { font-size: 17px; }
  .dining-trend-card { margin-block: 14px; padding: 22px 18px; border-radius: 26px; }
  .dining-trend-card > header { margin-bottom: 18px; align-items: flex-start; }
  .dining-trend-card > header h2 { font-size: 22px; }
  .dining-trend-card > header > small { max-width: 100px; padding-top: 4px; text-align: right; line-height: 1.4; }
  .dining-trend-grid { grid-template-columns: 1fr; gap: 8px; }
  .dining-trend-grid article { min-height: 112px; padding: 17px; border-radius: 18px; }
  .dining-trend-grid strong { margin-top: 10px; font-size: 18px; }
  .dining-trend-comparison { padding: 14px 15px; border-radius: 18px; }
  .dining-trend-comparison > div { padding-left: 82px; gap: 12px; }
  .dining-trend-comparison p { grid-template-columns: 74px 1fr 18px 1fr; gap: 5px; }
  .dining-trend-card blockquote { padding: 18px; border-radius: 18px; }
  .air-memory-card { margin-block: 14px; padding: 22px 18px; border-radius: 26px; }
  .air-memory-card > header { margin-bottom: 18px; align-items: flex-start; }
  .air-memory-card > header h2 { font-size: 22px; }
  .air-memory-card > header > button { max-width: 96px; min-height: 36px; padding-inline: 10px; line-height: 1.35; }
  .air-memory-groups { grid-template-columns: 1fr; gap: 8px; }
  .air-memory-groups article { min-height: 0; padding: 16px; border-radius: 18px; }
  .air-memory-groups small { margin-bottom: 10px; }
  .air-memory-card blockquote { padding: 19px; border-radius: 18px; }
  .air-memory-card blockquote p { font-size: 16px; }
  .air-memory-editor { padding: 12px; place-items: end center; }
  .air-memory-editor-panel { max-height: calc(100vh - 24px); padding: 22px 18px; border-radius: 26px; }
  .dining-milestone-card { margin-block: 14px; padding: 22px 18px; border-radius: 26px; }
  .dining-milestone-card > header { align-items: flex-start; }
  .dining-milestone-card > header h2 { font-size: 22px; }
  .dining-milestone-card > header > small { max-width: 94px; padding-top: 4px; text-align: right; line-height: 1.4; }
  .dining-milestone-subtitle { margin-bottom: 17px; }
  .dining-milestone-list article { min-height: 0; padding: 17px; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; border-radius: 19px; }
  .dining-milestone-list article > span { width: 38px; height: 38px; border-radius: 13px; }
  .dining-milestone-list h3 { font-size: 17px; }
  .dining-track-timeline > div::before { left: 0; }
  .dining-track-timeline article { min-height: 0; padding: 18px 0 18px 18px; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
  .dining-track-timeline time { grid-column: 1 / -1; padding: 0; font-size: 10px; }
  .dining-track-timeline article > div::before { top: -23px; left: -23px; width: 9px; height: 9px; }
  .dining-track-timeline h3 { font-size: 16px; }
  .dining-track-timeline article > strong { font-size: 15px; }
}
@media (max-width: 480px) {
  .site-shell.is-compact-mode .topbar {
    width: calc(100% - 20px);
    height: 62px;
    margin-top: 8px;
    padding: 6px 7px;
    border-radius: 19px;
  }

  .site-shell.is-compact-mode .brand {
    gap: 8px;
  }

  .site-shell.is-compact-mode .brand img {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .site-shell.is-compact-mode .brand strong {
    font-size: 12px;
  }

  .site-shell.is-compact-mode .brand small {
    font-size: 8px;
    letter-spacing: 0.04em;
  }

  .compact-dashboard {
    margin-top: 11px;
  }

  .compact-operation-panel {
    padding: 16px;
  }
}
/* Home daily intelligence: environment-led, text-first and independent from dish imagery. */
.home-auto-decision.home-daily-dashboard {
  min-height: 0;
  padding: 46px;
  display: block;
  overflow: hidden;
  border-color: rgba(91, 67, 43, .11);
  border-radius: 36px;
  background: #f7f2e9;
  box-shadow: 0 20px 58px rgba(79, 57, 35, .08);
  transition: background-color .35s ease;
}
.home-auto-decision.home-daily-dashboard.is-sunny { background-color: #f5f3e9; }
.home-auto-decision.home-daily-dashboard.is-cloudy { background-color: #f1f2ef; }
.home-auto-decision.home-daily-dashboard.is-rain { background-color: #edf1f1; }
.home-daily-heading { max-width: 760px; }
.home-daily-brand { display: flex; align-items: center; gap: 10px; color: #756457; }
.home-daily-brand > i { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(176, 105, 57, .24); border-radius: 12px; color: #b86a3a; background: rgba(255, 253, 248, .7); font-size: 13px; font-style: normal; }
.home-daily-brand > span { display: grid; gap: 2px; }
.home-daily-brand b { color: #a55f35; font-size: 10px; letter-spacing: .12em; }
.home-daily-brand small { color: #8c7e73; font-size: 10px; }
.home-daily-heading h1 { margin: 22px 0 12px; color: #2f2924; font-size: clamp(42px, 5.2vw, 68px); line-height: 1.03; letter-spacing: -.06em; }
.home-daily-heading > p { color: #7c7067; font-size: 14px; line-height: 1.6; }
.home-daily-location-notice { margin-top: 22px; min-height: 54px; padding: 10px 14px; display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 1px 10px; border: 1px solid rgba(184, 106, 59, .17); border-radius: 17px; color: #65564b; background: rgba(255, 251, 245, .68); text-align: left; }
.home-daily-location-notice > span { grid-row: span 2; color: #b56b42; font-size: 18px; text-align: center; }
.home-daily-location-notice b { font-size: 11px; }
.home-daily-location-notice small { color: #97897e; font-size: 9px; }
.home-daily-location-notice.is-locating { cursor: default; }
.home-daily-location-notice.is-locating > span { width: 9px; height: 9px; margin: auto; border-radius: 50%; background: #c8794d; box-shadow: 0 0 0 5px rgba(200, 121, 77, .12); animation: home-location-pulse 1.35s ease-in-out infinite; }
.home-daily-location-notice.is-error small { color: #b56b42; font-weight: 700; }
.home-daily-location-notice.is-error { grid-template-columns: 28px minmax(0, 1fr) auto; }
.home-daily-location-notice.is-error em { grid-column: 3; grid-row: 1 / span 2; align-self: center; color: #a85f3a; font-size: 10px; font-style: normal; font-weight: 800; white-space: nowrap; }
@keyframes home-location-pulse { 50% { opacity: .45; transform: scale(.78); } }
.home-daily-context { margin-top: 34px; display: grid; grid-template-columns: 1.7fr repeat(5, 1fr); gap: 8px; }
.home-daily-context > div { min-width: 0; min-height: 72px; padding: 13px 14px; display: grid; align-content: space-between; gap: 7px; border: 1px solid rgba(95, 72, 49, .09); border-radius: 18px; background: rgba(255, 253, 249, .64); }
.home-daily-context small { color: #9a8c81; font-size: 9px; font-weight: 700; }
.home-daily-context strong { overflow: hidden; color: #4c4138; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.home-daily-context .is-location strong { color: #a65e35; }
.home-daily-results { margin-top: 28px; display: grid; grid-template-columns: 1fr; gap: 10px; align-items: start; }
.home-daily-primary { min-height: 290px; padding: 26px; display: flex; flex-direction: column; border: 1px solid rgba(185, 105, 56, .2); border-radius: 26px; background: rgba(255, 249, 241, .8); }
.home-daily-primary > span, .home-daily-ranking header span { color: #ae6439; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.home-daily-primary > div { margin-top: 42px; display: flex; align-items: baseline; gap: 12px; }
.home-daily-primary > div b { color: #c78a63; font-size: 11px; }
.home-daily-primary h2 { color: #302923; font-size: clamp(31px, 3.3vw, 46px); line-height: 1.08; letter-spacing: -.045em; }
.home-daily-primary p { margin-top: 20px; color: #73655a; font-size: 14px; line-height: 1.75; }
.home-daily-primary > small { margin-top: auto; padding-top: 24px; color: #a07155; font-size: 10px; font-weight: 700; }
.home-daily-judgement { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.home-daily-judgement p { margin: 0; padding: 12px 14px; display: grid; gap: 5px; border-radius: 16px; background: rgba(255, 255, 255, .55); }
.home-daily-judgement small { color: #9a8b80; font-size: 9px; }
.home-daily-judgement b { overflow: hidden; color: #635247; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.home-daily-ranking-toggle { min-height: 52px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; border: 1px solid rgba(93, 69, 45, .1); border-radius: 18px; color: #745a49; background: rgba(255, 255, 255, .58); font-size: 12px; font-weight: 800; }
.home-daily-ranking-toggle i { color: #b26b42; font-size: 13px; font-style: normal; }
.home-daily-ranking { padding: 24px; border: 1px solid rgba(93, 69, 45, .1); border-radius: 26px; background: rgba(255, 255, 255, .58); }
.home-daily-ranking > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-bottom: 15px; border-bottom: 1px solid rgba(95, 72, 48, .1); }
.home-daily-ranking header h2 { margin-top: 4px; color: #3e352e; font-size: 22px; letter-spacing: -.03em; }
.home-daily-ranking > header > small { color: #a09287; font-size: 9px; white-space: nowrap; }
.home-daily-ranking ol { margin: 0; padding: 0; list-style: none; }
.home-daily-ranking li { min-height: 58px; padding: 10px 2px; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 10px; border-bottom: 1px solid rgba(95, 72, 48, .075); }
.home-daily-ranking li:last-child { border-bottom: 0; }
.home-daily-ranking li > b { color: #b98c70; font-size: 10px; font-variant-numeric: tabular-nums; }
.home-daily-ranking li > div { min-width: 0; display: grid; gap: 3px; }
.home-daily-ranking li strong { color: #453a32; font-size: 13px; }
.home-daily-ranking li small { overflow: hidden; color: #94867b; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.home-daily-ranking li > span { padding: 4px 7px; border-radius: 999px; color: #9a674b; background: rgba(244, 229, 214, .7); font-size: 9px; font-weight: 700; }
.home-daily-loading, .home-daily-error { margin-top: 28px; min-height: 150px; padding: 24px; display: flex; align-items: center; gap: 14px; border: 1px solid rgba(95, 72, 48, .1); border-radius: 24px; background: rgba(255, 255, 255, .54); }
.home-daily-loading > span { width: 13px; height: 13px; flex: 0 0 auto; border-radius: 50%; background: #bd754a; animation: home-daily-pulse 1.2s ease-in-out infinite; }
.home-daily-loading > div { display: grid; gap: 4px; }
.home-daily-loading strong, .home-daily-error strong { color: #4d4137; font-size: 14px; }
.home-daily-loading small, .home-daily-error p { color: #95877c; font-size: 10px; }
.home-daily-error { align-items: flex-start; flex-direction: column; }
.home-daily-error button { min-height: 38px; padding: 0 14px; border: 1px solid #dec6b4; border-radius: 12px; color: #a45d36; background: #fffaf4; font-size: 11px; font-weight: 800; }
@keyframes home-daily-pulse { 0%, 100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1); } }
@media (max-width: 768px) {
  .home-auto-decision.home-daily-dashboard { padding: 24px 15px; border-radius: 28px; }
  .home-daily-brand > i { width: 30px; height: 30px; border-radius: 10px; }
  .home-daily-heading h1 { margin: 17px 0 9px; font-size: clamp(34px, 10.2vw, 43px); }
  .home-daily-heading > p { font-size: 11px; }
  .home-daily-location-notice { margin-top: 16px; }
  .home-daily-context { margin-top: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .home-daily-context > div { min-height: 60px; padding: 10px; border-radius: 15px; }
  .home-daily-context .is-location { grid-column: span 2; }
  .home-daily-context strong { font-size: 11px; }
  .home-daily-results { margin-top: 15px; grid-template-columns: 1fr; gap: 10px; }
  .home-daily-primary { min-height: 230px; padding: 20px; border-radius: 22px; }
  .home-daily-primary > div { margin-top: 26px; }
  .home-daily-primary h2 { font-size: 31px; }
  .home-daily-primary p { margin-top: 15px; font-size: 12px; line-height: 1.65; }
  .home-daily-primary > small { padding-top: 18px; }
  .home-daily-judgement { margin-top: 17px; gap: 6px; }
  .home-daily-judgement p { padding: 10px 11px; }
  .home-daily-ranking-toggle { min-height: 48px; border-radius: 16px; }
  .home-daily-ranking { padding: 18px 15px; border-radius: 22px; }
  .home-daily-ranking > header { align-items: flex-start; }
  .home-daily-ranking header h2 { font-size: 18px; }
  .home-daily-ranking > header > small { max-width: 90px; text-align: right; white-space: normal; }
  .home-daily-ranking li { min-height: 55px; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 7px; }
  .home-daily-ranking li strong { font-size: 12px; }
  .home-daily-ranking li small { max-width: 215px; }
  .home-daily-loading, .home-daily-error { margin-top: 18px; min-height: 130px; padding: 18px; border-radius: 20px; }
}
@media (max-width: 390px) {
  .home-daily-context { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-daily-context .is-location { grid-column: span 2; }
  .home-daily-ranking li small { max-width: 170px; }
}
@media (max-width: 370px) {
  .display-mode-switch button {
    min-width: 40px;
    padding-inline: 6px;
  }
}
/* Air Cook · AI product refinement */
:root {
  --ai-blue: #63b7d2;
  --ai-gold: #d69a35;
  --ai-mint: #65bca5;
  --ai-red: #cf5946;
  --ai-pink: #dc8d9d;
}
body {
  font-size: 16px;
}
.page-intro h1,
.create-hero h1,
.recommend-hero h1,
.detail-title-row h1,
.menu-hero h1 {
  font-weight: 850;
}
.page-intro p,
.create-hero p,
.recommend-hero p,
.detail-subtitle,
.library-heading,
.dish-card p {
  font-size: 15px;
  line-height: 1.72;
}
.dish-card h3,
.today-strip h2,
.result-copy h2,
.smart-preview-main h3 {
  font-weight: 850;
  letter-spacing: -0.025em;
}
.ai-machine-stage {
  --ai-tone: var(--ai-blue);
  width: min(100%, 420px);
  margin: 0;
  display: grid;
  gap: 10px;
  isolation: isolate;
}
.ai-analysis { --ai-tone: var(--ai-gold); }
.ai-search { --ai-tone: var(--ai-mint); }
.ai-recommend { --ai-tone: #c89d4f; }
.ai-photo { --ai-tone: var(--ai-pink); }
.ai-menu { --ai-tone: var(--ai-red); }
.ai-machine-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 28px;
  transform: translateZ(0);
}
.ai-machine-complete {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px color-mix(in srgb, var(--ai-tone) 20%, transparent));
  animation: aiMachineFloat 5.4s ease-in-out infinite;
}
.ai-photo-animation {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: none;
  transform: none;
  filter: none;
}
.ai-edge-glow {
  position: absolute;
  z-index: 1;
  inset: 18% 14%;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--ai-tone) 22%, transparent), transparent 68%);
  opacity: 0.72;
  animation: aiCoreBreathe 3.6s ease-in-out infinite;
}
.ai-scan-line {
  position: absolute;
  z-index: 4;
  left: 12%;
  right: 12%;
  top: 20%;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--ai-tone) 88%, white), transparent);
  box-shadow: 0 0 14px color-mix(in srgb, var(--ai-tone) 62%, transparent);
  opacity: 0;
  transform: translateY(-12px);
}
.ai-machine-stage.is-active .ai-scan-line {
  opacity: 0.75;
  animation: aiScan 2.2s ease-in-out infinite;
}
.ai-layer-tray {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 8%;
  width: 76%;
  display: flex;
  justify-content: center;
  gap: 6px;
  transform: translateX(-50%);
  pointer-events: none;
}
.ai-layer-tray > span {
  width: 48px;
  height: 48px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--ai-tone) 24%, rgba(255,255,255,0.88));
  border-radius: 14px;
  background: rgba(255, 253, 249, 0.78);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 8px 20px rgba(66, 45, 28, 0.1);
  backdrop-filter: blur(10px);
  animation: aiLayerFloat 4.2s ease-in-out infinite;
  animation-delay: calc(var(--layer-index) * -0.62s);
}
.ai-layer-tray img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.38);
}
.ai-machine-stage.is-active .ai-layer-tray > span {
  animation-duration: 2.6s;
  border-color: color-mix(in srgb, var(--ai-tone) 48%, white);
}
.ai-machine-stage figcaption {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px 1fr 8px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--ai-tone) 22%, #eadfce);
  border-radius: 16px;
  background: rgba(255, 252, 246, 0.78);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 9px 26px rgba(83, 56, 29, 0.07);
  backdrop-filter: blur(12px);
}
.ai-machine-stage figcaption > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--ai-tone) 22%, white), rgba(255,255,255,0.9));
  color: color-mix(in srgb, var(--ai-tone) 75%, #3f2a1f);
  box-shadow: inset 0 1px 0 white;
  font-size: 12px;
  font-weight: 900;
}
.ai-machine-stage figcaption div {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.ai-machine-stage figcaption strong {
  color: var(--ink);
  font-size: 13px;
}
.ai-machine-stage figcaption small {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.ai-machine-stage figcaption > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ai-tone);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--ai-tone) 14%, transparent);
  animation: aiCoreBreathe 2.8s ease-in-out infinite;
}
.ai-machine-stage.is-compact {
  width: min(100%, 320px);
}
.ai-machine-stage.is-compact figcaption {
  padding: 8px 10px;
}
.ai-machine-stage.is-compact .ai-layer-tray > span {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}
.hero-ai-machine {
  width: min(330px, 82%);
  margin: 18px 0 -22px;
}
.hero-ai-machine .ai-machine-canvas {
  aspect-ratio: 1.28;
}
.hero-ai-machine figcaption {
  position: absolute;
  z-index: 7;
  right: -10px;
  bottom: 12px;
  width: min(235px, 76%);
}
.home-hero {
  min-height: 670px;
}
.hero-copy {
  padding-top: 58px;
  padding-bottom: 54px;
}
.hero-copy h1 {
  font-size: clamp(50px, 5.35vw, 72px);
  line-height: 1.04;
}
.today-ai-strip {
  grid-template-columns: 292px minmax(0, 1fr) auto;
}
.today-visual-stack {
  position: relative;
  min-height: 170px;
}
.today-visual-stack .ai-machine-stage {
  width: 172px;
  transform: translateX(-14px);
}
.today-visual-stack .ai-machine-stage figcaption,
.today-visual-stack .ai-layer-tray {
  display: none;
}
.today-dish-frame {
  position: absolute;
  right: 0;
  bottom: 1px;
  width: 142px;
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(44, 31, 21, 0.12);
}
.today-dish-frame .today-image {
  width: 100%;
  height: 104px;
  display: block;
}
.recommend-visual-stack {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: end;
  justify-content: center;
}
.recommend-visual-stack .ai-machine-stage {
  position: absolute;
  inset: 8px auto auto 0;
  width: 280px;
}
.recommend-visual-stack .ai-machine-stage figcaption,
.recommend-visual-stack .ai-layer-tray {
  display: none;
}
.recommend-visual-stack > img {
  position: relative;
  z-index: 3;
  width: min(250px, 45%);
  margin-left: 35%;
}
.ai-natural-search {
  margin: -16px 0 58px;
  padding: 24px 30px;
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr);
  align-items: center;
  gap: 34px;
  overflow: hidden;
  border: 1px solid rgba(93, 166, 148, 0.2);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(244, 253, 249, 0.78), rgba(255, 250, 242, 0.88));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 18px 50px rgba(65, 102, 91, 0.08);
}
.ai-natural-search .ai-machine-stage figcaption,
.ai-natural-search .ai-layer-tray {
  display: none;
}
.ai-natural-copy h2 {
  margin: 8px 0 7px;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.16;
}
.ai-natural-copy p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
}
.ai-natural-input {
  margin-top: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}
.ai-natural-input input {
  min-width: 0;
  min-height: 50px;
  padding: 0 17px;
  border: 1px solid rgba(79, 132, 118, 0.22);
  border-radius: 15px;
  outline: none;
  background: rgba(255,255,255,0.86);
  color: var(--ink);
  box-shadow: inset 0 1px 2px rgba(71, 52, 33, 0.045);
  font: inherit;
}
.ai-natural-input input:focus {
  border-color: rgba(70, 151, 130, 0.54);
  box-shadow: 0 0 0 4px rgba(84, 166, 145, 0.1);
}
.clear-ai-search {
  margin-top: 12px;
  border: 0;
  background: none;
  color: #4b8978;
  font-weight: 760;
  cursor: pointer;
}
.taste-card {
  border-color: color-mix(in srgb, var(--taste-tone, #b98a55) 22%, #e8ddce);
}
.taste-card:nth-child(1) { --taste-tone: #e1b930; }
.taste-card:nth-child(2) { --taste-tone: #df849c; }
.taste-card:nth-child(3) { --taste-tone: #74523d; }
.taste-card:nth-child(4) { --taste-tone: #dd5c35; }
.taste-card:nth-child(5) { --taste-tone: #66859c; }
.taste-card.selected {
  border-color: color-mix(in srgb, var(--taste-tone) 68%, white);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--taste-tone) 13%, transparent), 0 18px 42px color-mix(in srgb, var(--taste-tone) 18%, transparent);
}
.taste-card img.taste-symbol {
  position: absolute;
  z-index: 5;
  right: 11px;
  bottom: 12px;
  width: 54px;
  height: 54px;
  padding: 5px;
  object-fit: contain;
  border: 1px solid color-mix(in srgb, var(--taste-tone) 22%, white);
  border-radius: 17px;
  background: rgba(255, 253, 249, 0.82);
  box-shadow: inset 0 1px 0 white, 0 8px 18px rgba(67, 47, 31, 0.1);
  backdrop-filter: blur(8px);
  animation: tasteSymbolBreathe 4s ease-in-out infinite;
}
.taste-card > span {
  left: 12px;
  bottom: 12px;
  color: color-mix(in srgb, var(--taste-tone) 78%, #39281f);
  font-size: 22px;
}
.category-card {
  --category-tone: #9b7558;
  border-color: color-mix(in srgb, var(--category-tone) 24%, rgba(255,255,255,0.74));
  background: linear-gradient(145deg, rgba(255,255,255,0.72), color-mix(in srgb, var(--category-tone) 6%, rgba(247,240,230,0.72)));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.94), 0 10px 28px color-mix(in srgb, var(--category-tone) 9%, transparent);
  backdrop-filter: blur(10px) saturate(1.05);
}
.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255,255,255,0.24), transparent 44%);
  pointer-events: none;
}
.category-meat,
.category-meat-tone { --category-tone: #8d6345; }
.category-veg,
.category-veg-tone { --category-tone: #65945f; }
.category-cold,
.category-cold-tone { --category-tone: #5e9b8e; }
.category-snack,
.category-snack-tone { --category-tone: #d6873a; }
.category-western,
.category-western-tone { --category-tone: #7a4738; }
.category-soup,
.category-soup-tone { --category-tone: #b95d4d; }
.category-drink,
.category-drink-tone { --category-tone: #a6aa55; }
.category-card span {
  z-index: 3;
  height: 48px;
  background: color-mix(in srgb, var(--category-tone) 8%, rgba(255,253,249,0.88));
  color: color-mix(in srgb, var(--category-tone) 76%, #3d2c22);
  font-size: 15px;
  font-weight: 850;
}
.category-card.selected {
  border-color: color-mix(in srgb, var(--category-tone) 60%, white);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--category-tone) 12%, transparent), 0 18px 36px color-mix(in srgb, var(--category-tone) 16%, transparent);
}
.dish-photo-frame,
.detail-image-frame,
.smart-preview-image-frame,
.today-dish-frame {
  position: relative;
  overflow: hidden;
}
.season-overlays {
  position: absolute;
  z-index: 6;
  inset: 0;
  pointer-events: none;
}
.season-overlay {
  position: absolute;
  inset: 3px;
  opacity: 0.46;
}
.season-overlay:nth-child(2) {
  inset: 8px;
  opacity: 0.23;
}
.season-overlay img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
}
.season-overlay b {
  position: absolute;
  right: 13px;
  top: 12px;
  min-width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 10px;
  background: rgba(48,35,27,0.56);
  color: white;
  box-shadow: 0 5px 16px rgba(38,25,17,0.12);
  backdrop-filter: blur(8px);
  font-size: 12px;
}
.season-overlays.is-compact .season-overlay {
  opacity: 0.3;
}
.dish-photo-frame > .dish-image,
.detail-image-frame > .detail-image,
.smart-preview-image-frame > .dish-image {
  width: 100%;
  height: 100%;
}
.taste-strengths {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.taste-strength {
  min-width: 0;
  padding: 9px 8px;
  display: grid;
  gap: 6px;
  text-align: center;
  border: 1px solid rgba(137, 102, 66, 0.12);
  border-radius: 13px;
  background: rgba(255,252,247,0.72);
}
.taste-strength > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}
.taste-strength > div {
  min-height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.taste-strength img {
  width: 19px;
  height: 19px;
  object-fit: contain;
  margin-left: -4px;
}
.taste-strength img:first-child { margin-left: 0; }
.taste-strength small { color: var(--ink); font-weight: 850; }
.ai-analysis-intro {
  margin: 34px 0;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: center;
  gap: 34px;
  border: 1px solid rgba(199, 151, 58, 0.18);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,251,240,0.88), rgba(250,245,234,0.7));
  box-shadow: inset 0 1px 0 white, 0 18px 45px rgba(102, 73, 35, 0.08);
}
.ai-analysis-intro .ai-machine-stage figcaption,
.ai-analysis-intro .ai-layer-tray { display: none; }
.ai-analysis-data h2 {
  margin: 8px 0 8px;
  font-size: clamp(26px, 3vw, 38px);
}
.ai-analysis-data p { margin: 0; color: var(--muted); }
.ai-analysis-facts {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.ai-analysis-facts span {
  padding: 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.68);
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}
.ai-analysis-facts b { display: block; margin-top: 3px; color: #8b611f; font-size: 19px; }
.reason-card-upgraded {
  align-items: end;
  grid-template-columns: minmax(0, 1fr) 245px;
}
.reason-intelligence {
  min-width: 0;
}
.reason-intelligence > p {
  max-width: 720px;
  color: var(--muted);
}
.reason-intelligence-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
}
.radar-chart-wrap {
  padding: 14px;
  border: 1px solid rgba(187, 139, 61, 0.15);
  border-radius: 22px;
  background: rgba(255,253,248,0.7);
  box-shadow: inset 0 1px 0 white;
}
.radar-chart {
  width: 100%;
  max-height: 250px;
  overflow: visible;
}
.radar-grid,
.radar-axis {
  fill: none;
  stroke: rgba(145, 104, 56, 0.17);
  stroke-width: 1;
}
.radar-axis { stroke-dasharray: 3 5; }
.radar-data {
  fill: rgba(222, 144, 48, 0.2);
  stroke: #d1842e;
  stroke-width: 2.2;
  transform-origin: 50% 50%;
  animation: radarReveal 700ms cubic-bezier(.2,.8,.2,1) both;
}
.radar-dot { fill: #fff8e9; stroke: #ca7623; stroke-width: 2; }
.radar-labels {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}
.radar-labels span { text-align: center; }
.radar-labels b { display: block; color: var(--ink); font-size: 11px; }
.radar-labels small { color: #b56c25; font-weight: 850; }
.fit-people h3 {
  margin: 0 0 12px;
  font-size: 18px;
}
