/* Field Notes appearance with Daily Canvas desktop outfit cards.
   Existing page styles and the 1.1 text scale remain the foundation. */
body.field-notes.ui-polished.fitcheck-theme-page {
  --theme-bg:#f4eee3; --theme-paper:#fbf8f1; --theme-ink:#342e27;
  --theme-muted:#74695d; --theme-line:#d8cebd; --theme-line-strong:#c9bda9;
  --theme-green:#a4492d; --theme-green-dark:#84381f; --theme-mist:#ece2d3;
  --advisor-bg:var(--theme-bg); --advisor-surface:var(--theme-paper); --advisor-surface-soft:var(--theme-mist); --advisor-text:var(--theme-ink); --advisor-muted:var(--theme-muted); --advisor-border:var(--theme-line); --advisor-green:var(--theme-green); --advisor-green-soft:var(--theme-mist);
  --wardrobe-surface:var(--theme-paper); --log-surface:var(--theme-paper);
  --log-green-soft:var(--theme-mist); --wardrobe-green-soft:var(--theme-mist);
  background:var(--theme-bg); color:var(--theme-ink);
}
body.field-notes.ui-polished.fitcheck-theme-page :is(h1,h2,h3,h4,.brand,.memory-outfit-title,.wardrobe-item-details>strong,.match-card-header>strong) {
  font-family:Georgia,'Times New Roman',serif!important; font-weight:400;
}
body.field-notes.ui-polished.fitcheck-theme-page .app-shell {width:min(100%,1440px);padding:24px 52px 48px}
body.field-notes.ui-polished.fitcheck-theme-page .top-nav {margin-bottom:38px;padding-bottom:22px;flex-direction:row;align-items:center;flex-wrap:wrap}
body.field-notes.ui-polished.fitcheck-theme-page .brand {font-size:calc(27px * var(--fitcheck-text-scale));font-weight:700}
body.field-notes.ui-polished.fitcheck-theme-page .brand::after {content:'.';color:var(--theme-green)}
body.field-notes.ui-polished.fitcheck-theme-page .nav-links {margin-left:auto;gap:8px}
body.field-notes.ui-polished.fitcheck-theme-page .nav-links a {border-radius:0;background:transparent;font-weight:500}
body.field-notes.ui-polished.fitcheck-theme-page .nav-links a.active {border-bottom:2px solid var(--theme-green);color:var(--theme-green)}
body.field-notes.ui-polished.fitcheck-theme-page .nav-links a:hover {background:var(--theme-mist)}
body.field-notes.ui-polished.fitcheck-theme-page .nav-links a>.fitcheck-ui-icon {display:none}
body.field-notes.ui-polished.fitcheck-theme-page .quick-log {display:flex;align-items:center;gap:8px;min-height:46px;padding:10px 14px;border:1px solid var(--theme-green);border-radius:4px;color:var(--theme-green);text-decoration:none;font-size:calc(13px * var(--fitcheck-text-scale))}
body.field-notes.ui-polished.fitcheck-theme-page h1 {font-size:calc(clamp(36px,4vw,52px) * var(--fitcheck-text-scale));letter-spacing:-2px;line-height:1.08}
body.field-notes.ui-polished.fitcheck-theme-page .eyebrow {color:var(--theme-green);text-transform:uppercase;letter-spacing:1.7px}
body.field-notes.ui-polished.fitcheck-theme-page :is(.page-header,.wardrobe-header,.advisor-page-header) {display:flex;flex-direction:row;border-bottom:0;padding-bottom:8px;flex-wrap:wrap}
body.field-notes.ui-polished.fitcheck-theme-page .intro {flex:1 1 430px;max-width:740px}
body.field-notes.ui-polished.fitcheck-theme-page .storage-status {background:var(--theme-mist);color:#42604a;border-radius:4px}
body.field-notes.ui-polished.fitcheck-theme-page .open-entry {order:2}
body.field-notes.ui-polished.fitcheck-theme-page :is(.primary-button,.secondary-button,.secondary-link-button,.mini-action-button) {border-radius:4px;min-height:46px;font-size:calc(13px * var(--fitcheck-text-scale))}
body.field-notes.ui-polished.fitcheck-theme-page :is(.secondary-button,.secondary-link-button,.mini-action-button) {background:var(--theme-paper);color:var(--theme-green);border-color:var(--theme-line)}
body.field-notes.ui-polished.fitcheck-theme-page .mini-action-button {background:transparent}
body.field-notes.ui-polished.fitcheck-theme-page .delete-button {background:transparent;color:#943e30;border:0;border-radius:0;text-decoration:underline;text-underline-offset:3px;min-height:44px;padding:8px 0;font-size:calc(12px * var(--fitcheck-text-scale))}
body.field-notes.ui-polished.fitcheck-theme-page :is(select,input:not([type=checkbox]):not([type=radio]):not([type=file]),textarea,.item-picker-trigger,.color-picker-trigger) {background:var(--theme-paper);border-color:var(--theme-line-strong);border-radius:4px;min-height:46px;font-size:calc(14px * var(--fitcheck-text-scale))}
body.field-notes.ui-polished.fitcheck-theme-page :is(.field>span,.field-label) {color:var(--theme-muted);font-size:calc(12px * var(--fitcheck-text-scale))}
body.field-notes.ui-polished.fitcheck-theme-page :is(button,a,select,input,textarea,summary):focus-visible {outline-color:var(--theme-green)}
body.field-notes.ui-polished.fitcheck-theme-page :is(.item-picker-menu,.color-picker-menu) {background:var(--theme-paper);border-color:var(--theme-line-strong);border-radius:4px;box-shadow:0 10px 25px #342e2720;z-index:20}
body.field-notes.ui-polished.fitcheck-theme-page :is(.item-picker-option:hover,.item-picker-option[aria-selected=true],.color-picker-option:hover,.color-picker-option[aria-selected=true]) {background:var(--theme-mist);color:var(--theme-ink)}
body.field-notes.ui-polished.fitcheck-theme-page :is(.wardrobe-summary,.result-group,.advisor-setup-panel,.memory-library) {background:transparent;border:0;border-radius:0;box-shadow:none}
body.field-notes.ui-polished.fitcheck-theme-page :is(.group-icon,.section-icon,.backup-icon,.memory-library-icon) {background:var(--theme-mist);color:var(--theme-green);border-radius:4px}
/* Situation remains the first, always-visible input. */
body.field-notes.ui-polished.fitcheck-theme-page .advisor-workspace {display:block}
body.field-notes.ui-polished.fitcheck-theme-page .advisor-setup-panel {position:static;min-width:0;width:100%;padding:0;overflow:visible}
body.field-notes.ui-polished.fitcheck-theme-page .advisor-setup-header {margin:0;background:transparent;border:0;padding:0 0 16px}
body.field-notes.ui-polished.fitcheck-theme-page .advisor-setup-header>span {color:var(--theme-green)}
body.field-notes.ui-polished.fitcheck-theme-page #advisor-context-panel {background:var(--theme-mist);padding:22px 24px;border:0;border-radius:4px}
body.field-notes.ui-polished.fitcheck-theme-page .setup-fields {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
body.field-notes.ui-polished.fitcheck-theme-page .setup-fields:has(.field:not([hidden]) input) {grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
body.field-notes.ui-polished.fitcheck-theme-page .starting-point-section {padding:20px 0 0;border:0;display:grid;grid-template-columns:minmax(260px,400px) minmax(0,400px);gap:12px 24px;align-items:end}
body.field-notes.ui-polished.fitcheck-theme-page .starting-point-section>h3 {grid-column:1/-1}
body.field-notes.ui-polished.fitcheck-theme-page .segmented-control {border:1px solid var(--theme-line);border-radius:4px;padding:0;background:transparent}
body.field-notes.ui-polished.fitcheck-theme-page .segmented-control span {border:0;border-radius:0;background:transparent;color:var(--theme-muted);font-size:calc(13px * var(--fitcheck-text-scale));min-height:46px}
body.field-notes.ui-polished.fitcheck-theme-page .segmented-control input:checked+span {background:var(--theme-ink);color:var(--theme-paper);box-shadow:none}
body.field-notes.ui-polished.fitcheck-theme-page .advice-output {margin-top:28px;padding:0;border:0;background:transparent}
body.field-notes.ui-polished.fitcheck-theme-page .advice-output-heading {align-items:start;border-color:var(--theme-line);padding-bottom:20px}
body.field-notes.ui-polished.fitcheck-theme-page .context-pill {background:var(--theme-paper);border-color:var(--theme-line);color:var(--theme-muted);border-radius:4px}
/* Shared cards: warm paper, garment boards, original context and rating stamps. */
body.field-notes.ui-polished.fitcheck-theme-page :is(.advisor-memory-list,.match-card-grid,#outfit-log-list) {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;max-height:none;overflow:visible}
body.field-notes.ui-polished.fitcheck-theme-page :is(.advisor-memory-list,.match-card-grid)>li {min-width:0}
body.field-notes.ui-polished.fitcheck-theme-page :is(.advisor-memory-list,.match-card-grid)>:is(.outfit-log-item,.match-item),
body.field-notes.ui-polished.fitcheck-theme-page #outfit-log-list>.outfit-log-item {display:flex;flex-direction:column;align-items:stretch;gap:0;min-width:0;padding:10px;background:var(--theme-paper);border:1px solid var(--theme-line);border-radius:4px;box-shadow:none;overflow:visible}
body.field-notes.ui-polished.fitcheck-theme-page .personal-match-card[data-source=logged][data-rating=good] {border-left:1px solid var(--theme-line)}
body.field-notes.ui-polished.fitcheck-theme-page :is(.advisor-memory-list,.match-card-grid,#outfit-log-list)>li>.fitcheck-outfit-composite {width:100%;height:215px;min-height:215px;max-width:none;margin:0;background:#e8e1d1;border:0;border-radius:2px;align-self:stretch}
body.field-notes.ui-polished.fitcheck-theme-page :is(.advisor-memory-list,.match-card-grid)>li>.wardrobe-item-details {padding:22px 12px 12px;gap:12px}
body.field-notes.ui-polished.fitcheck-theme-page :is(.wardrobe-item-details>strong,.match-card-header>strong,.memory-outfit-title) {font-size:calc(18px * var(--fitcheck-text-scale));line-height:1.35;white-space:normal;overflow-wrap:anywhere}
body.field-notes.ui-polished.fitcheck-theme-page .match-card-header {display:flex;flex-direction:column;align-items:start;gap:12px}
body.field-notes.ui-polished.fitcheck-theme-page .match-source-badge {border-radius:2px;font-size:calc(11px * var(--fitcheck-text-scale));white-space:normal;max-width:100%}
body.field-notes.ui-polished.fitcheck-theme-page .match-source-badge[data-source=logged] {background:#e4eadb;border-color:#d0d8c8;color:#42604a}
body.field-notes.ui-polished.fitcheck-theme-page :is([data-rating=neutral] .match-source-badge,.match-source-badge[data-source=learned]) {background:#f4e3c1;border-color:#e4cea4;color:#775017}
body.field-notes.ui-polished.fitcheck-theme-page [data-rating=risky] .match-source-badge {background:#f2ded5;border-color:#e7c5b6;color:#943e30}
body.field-notes.ui-polished.fitcheck-theme-page .match-source-badge[data-source=unknown] {background:var(--theme-mist);border-color:var(--theme-line);color:var(--theme-muted)}
body.field-notes.ui-polished.fitcheck-theme-page :is(.advisor-original-context,.advisor-outfit-context,.match-note,.advisor-layer-detail) {font-size:calc(12px * var(--fitcheck-text-scale));color:var(--theme-muted);line-height:1.6}
body.field-notes.ui-polished.fitcheck-theme-page .personal-color-evidence {grid-column:auto;width:100%;border-color:var(--theme-line);background:transparent;border-radius:0}
body.field-notes.ui-polished.fitcheck-theme-page .personal-color-evidence .outfit-log-item {display:grid;grid-template-columns:88px minmax(0,1fr);padding:12px;gap:12px;background:var(--theme-mist);border:0;border-radius:4px}
body.field-notes.ui-polished.fitcheck-theme-page .personal-color-evidence .fitcheck-outfit-composite {width:88px;height:132px;min-height:132px;background:var(--theme-paper)}
body.field-notes.ui-polished.fitcheck-theme-page .reason-badge {background:transparent;border-color:var(--theme-line);color:#943e30;border-radius:3px}
body.field-notes.ui-polished.fitcheck-theme-page .personal-past-ratings {border-color:var(--theme-line);background:transparent;border-radius:0}
body.field-notes.ui-polished.fitcheck-theme-page .match-action-row {margin-top:8px;padding-top:14px;border-top:1px solid var(--theme-line)}
/* Wardrobe keeps Field Notes' flat garment rows, separate from outfit cards. */
body.field-notes.ui-polished.fitcheck-theme-page .wardrobe-main-grid {display:block}
body.field-notes.ui-polished.fitcheck-theme-page .wardrobe-summary {padding:0}
body.field-notes.ui-polished.fitcheck-theme-page .wardrobe-groups {gap:28px}
body.field-notes.ui-polished.fitcheck-theme-page .wardrobe-group .wardrobe-list {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px}
body.field-notes.ui-polished.fitcheck-theme-page .wardrobe-group .wardrobe-list>.wardrobe-item {display:grid;grid-template-columns:100px minmax(0,1fr) auto;align-items:center;gap:18px;padding:14px 0;background:transparent;border:0;border-bottom:1px solid var(--theme-line);border-radius:0}
body.field-notes.ui-polished.fitcheck-theme-page .wardrobe-item-color-icon {width:100px;height:110px;background:#e8e1d1;border-radius:2px}
body.field-notes.ui-polished.fitcheck-theme-page .wardrobe-filled-garment {width:75px;height:75px}
body.field-notes.ui-polished.fitcheck-theme-page .wardrobe-group .wardrobe-item-details>strong {font-size:calc(17px * var(--fitcheck-text-scale))}
body.field-notes.ui-polished.fitcheck-theme-page .wardrobe-group .delete-button {grid-column:3;align-self:end}
body.field-notes.ui-polished.fitcheck-theme-page .backup-panel {background:var(--theme-paper);border-color:var(--theme-line);border-radius:4px;box-shadow:none;margin-top:30px}
/* Full history remains the Log page's main content; entry opens in a sheet. */
body.field-notes.ui-polished.fitcheck-theme-page .outfit-log-workspace {display:block}
body.field-notes.ui-polished.fitcheck-theme-page .memory-library {padding:0}
body.field-notes.ui-polished.fitcheck-theme-page .memory-library-heading {border-color:var(--theme-line);margin-bottom:16px}
body.field-notes.ui-polished.fitcheck-theme-page .outfit-filter-form {background:var(--theme-paper);border-color:var(--theme-line);border-radius:4px;padding:20px;margin-bottom:28px}
body.field-notes.ui-polished.fitcheck-theme-page .outfit-filter-form .four-column-grid {grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
body.field-notes.ui-polished.fitcheck-theme-page .outfit-log-card-content {display:flex;flex-direction:column;padding:22px 12px 0;gap:14px}
body.field-notes.ui-polished.fitcheck-theme-page .memory-outfit-summary {order:-1;gap:10px}
body.field-notes.ui-polished.fitcheck-theme-page .garment-summary-line {display:none}
body.field-notes.ui-polished.fitcheck-theme-page .memory-context-grid {display:flex;flex-wrap:wrap;gap:7px 12px;padding:0;background:none;border:0}
body.field-notes.ui-polished.fitcheck-theme-page .memory-fact {padding:0;background:transparent;border:0}
body.field-notes.ui-polished.fitcheck-theme-page .memory-fact-label {font-size:calc(10px * var(--fitcheck-text-scale));color:var(--theme-muted)}
body.field-notes.ui-polished.fitcheck-theme-page .memory-fact-value {font-size:calc(12px * var(--fitcheck-text-scale))}
body.field-notes.ui-polished.fitcheck-theme-page .outfit-rating-badge {background:#e4eadb;border:1px solid #d0d8c8;color:#42604a;border-radius:2px;font-size:calc(11px * var(--fitcheck-text-scale));padding:5px 8px}
body.field-notes.ui-polished.fitcheck-theme-page [data-rating=neutral] .outfit-rating-badge {background:#f4e3c1;border-color:#e4cea4;color:#775017}
body.field-notes.ui-polished.fitcheck-theme-page [data-rating=risky] .outfit-rating-badge {background:#f2ded5;border-color:#e7c5b6;color:#943e30}
body.field-notes.ui-polished.fitcheck-theme-page .memory-summary-line {font-size:calc(13px * var(--fitcheck-text-scale));line-height:1.6}
body.field-notes.ui-polished.fitcheck-theme-page .memory-saved-date {font-family:monospace!important;color:var(--theme-muted);font-size:calc(11px * var(--fitcheck-text-scale));border-top:1px solid var(--theme-line);padding-top:14px}
body.field-notes.ui-polished.fitcheck-theme-page #outfit-log-list .delete-button {grid-column:auto;align-self:start;margin:10px 12px 0}
/* Native dialogs preserve the real forms and their draft values. */
body.field-notes.sheet-open {overflow:hidden}
body.field-notes.ui-polished.fitcheck-theme-page .field-notes-sheet {color:var(--theme-ink);background:var(--theme-bg);width:min(680px,calc(100% - 32px));max-width:calc(100% - 32px);max-height:88dvh;padding:24px;border:1px solid var(--theme-line);border-radius:8px;overflow:auto;overscroll-behavior:contain}
body.field-notes.ui-polished.fitcheck-theme-page .field-notes-sheet::backdrop {background:#342e2770;backdrop-filter:blur(4px)}
body.field-notes.ui-polished.fitcheck-theme-page .sheet-controls {position:sticky;top:-24px;z-index:25;display:flex;align-items:center;justify-content:space-between;gap:14px;background:var(--theme-bg);padding:12px 0;border-bottom:1px solid var(--theme-line);margin-bottom:18px}
body.field-notes.ui-polished.fitcheck-theme-page .sheet-controls .eyebrow {margin:0}
body.field-notes.ui-polished.fitcheck-theme-page .sheet-close {min-height:44px;padding:8px 12px;background:var(--theme-paper);border:1px solid var(--theme-line);border-radius:4px;color:var(--theme-green);font-size:calc(13px * var(--fitcheck-text-scale))}
body.field-notes.ui-polished.fitcheck-theme-page .wardrobe-entry {border:0;background:transparent;padding:0;overflow:visible;box-shadow:none}
body.field-notes.ui-polished.fitcheck-theme-page .wardrobe-entry .section-heading {background:transparent;padding:0 0 20px;border:0;color:var(--theme-ink)}
body.field-notes.ui-polished.fitcheck-theme-page .wardrobe-entry .section-heading :is(h2,p,.entry-eyebrow) {color:var(--theme-ink)}
body.field-notes.ui-polished.fitcheck-theme-page .wardrobe-form {padding:0;display:grid;grid-template-columns:1fr 1fr;gap:16px}
body.field-notes.ui-polished.fitcheck-theme-page .wardrobe-form :is(.item-label-field,.primary-button) {grid-column:1/-1}
body.field-notes.ui-polished.fitcheck-theme-page .journal-form {width:100%;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}
body.field-notes.ui-polished.fitcheck-theme-page .journal-form::before {display:none}
body.field-notes.ui-polished.fitcheck-theme-page .journal-form .section-marker {display:none}
body.field-notes.ui-polished.fitcheck-theme-page .journal-form .form-section {padding:18px 0;border-color:var(--theme-line);background:transparent}
body.field-notes.ui-polished.fitcheck-theme-page .start-here-badge {background:var(--theme-mist);color:var(--theme-green);border-radius:3px}
body.field-notes.ui-polished.fitcheck-theme-page .journal-form .rating-and-note {grid-template-columns:1fr}
body.field-notes.ui-polished.fitcheck-theme-page .reason-options label {background:var(--theme-paper);border-color:var(--theme-line);border-radius:4px;min-height:44px}
body.field-notes.ui-polished.fitcheck-theme-page .reason-options label:has(input:checked) {background:var(--theme-mist);border-color:var(--theme-green)}
body.field-notes.ui-polished.fitcheck-theme-page :is(input[type=checkbox],input[type=radio]) {accent-color:var(--theme-green)}
body.field-notes.ui-polished.fitcheck-theme-page .wanted-item {background:var(--theme-paper);border-color:var(--theme-line);border-radius:4px;box-shadow:none}
body.field-notes.ui-polished.fitcheck-theme-page .wanted-garment-icon {background:var(--theme-mist);border-radius:4px}

@media(max-width:1100px) {
  body.field-notes.ui-polished.fitcheck-theme-page .app-shell {padding:20px 28px 40px}
  body.field-notes.ui-polished.fitcheck-theme-page .top-nav {gap:12px}
  body.field-notes.ui-polished.fitcheck-theme-page .nav-links {gap:2px}
  body.field-notes.ui-polished.fitcheck-theme-page .nav-links a {padding:10px;font-size:calc(13px * var(--fitcheck-text-scale))}
  body.field-notes.ui-polished.fitcheck-theme-page :is(.advisor-memory-list,.match-card-grid,#outfit-log-list) {grid-template-columns:repeat(2,minmax(0,1fr))}
  body.field-notes.ui-polished.fitcheck-theme-page .wardrobe-group .wardrobe-list>.wardrobe-item {grid-template-columns:85px minmax(0,1fr);gap:12px}
  body.field-notes.ui-polished.fitcheck-theme-page .wardrobe-item-color-icon {width:85px}
  body.field-notes.ui-polished.fitcheck-theme-page .wardrobe-group .delete-button {grid-column:2}
}
@media(max-width:700px) {
  body.field-notes.ui-polished.fitcheck-theme-page .app-shell {padding:20px 20px calc(116px + env(safe-area-inset-bottom))}
  body.field-notes.ui-polished.fitcheck-theme-page .top-nav {justify-content:space-between;gap:16px;padding-bottom:18px;margin-bottom:26px}
  body.field-notes.ui-polished.fitcheck-theme-page .quick-log {width:46px;padding:10px;justify-content:center;border-radius:50%}
  body.field-notes.ui-polished.fitcheck-theme-page .quick-log-label {display:none}
  body.field-notes.ui-polished.fitcheck-theme-page .nav-links {position:fixed;bottom:0;left:0;right:0;z-index:30;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:8px 10px calc(8px + env(safe-area-inset-bottom));background:var(--theme-paper);border-top:1px solid var(--theme-line);margin:0}
  body.field-notes.ui-polished.fitcheck-theme-page .nav-links a {display:flex;flex-direction:column;justify-content:center;gap:5px;min-height:72px;border:0;border-radius:8px;padding:6px 2px;font-size:calc(11px * var(--fitcheck-text-scale));line-height:1.3;text-align:center}
  body.field-notes.ui-polished.fitcheck-theme-page .nav-links a.active {background:var(--theme-mist);border:0}
  body.field-notes.ui-polished.fitcheck-theme-page .nav-links a>.fitcheck-ui-icon {display:block;width:20px;height:20px}
  body.field-notes.ui-polished.fitcheck-theme-page .nav-label {white-space:normal;overflow-wrap:anywhere}
  body.field-notes.ui-polished.fitcheck-theme-page h1 {font-size:calc(36px * var(--fitcheck-text-scale));letter-spacing:-1.6px}
  body.field-notes.ui-polished.fitcheck-theme-page .intro {flex-basis:100%}
  body.field-notes.ui-polished.fitcheck-theme-page .intro-text {font-size:calc(13px * var(--fitcheck-text-scale))}
  body.field-notes.ui-polished.fitcheck-theme-page #advisor-context-panel {padding:18px}
  body.field-notes.ui-polished.fitcheck-theme-page .setup-fields {grid-template-columns:1fr;gap:12px}
  body.field-notes.ui-polished.fitcheck-theme-page .starting-point-section {grid-template-columns:1fr}
  body.field-notes.ui-polished.fitcheck-theme-page .advice-output-heading {display:block}
  body.field-notes.ui-polished.fitcheck-theme-page .context-summary {margin-top:12px;justify-content:start}
  body.field-notes.ui-polished.fitcheck-theme-page :is(.advisor-memory-list,.match-card-grid,#outfit-log-list) {grid-template-columns:1fr;gap:0;border-top:1px solid var(--theme-line)}
  body.field-notes.ui-polished.fitcheck-theme-page :is(.advisor-memory-list,.match-card-grid)>:is(.outfit-log-item,.match-item),
  body.field-notes.ui-polished.fitcheck-theme-page #outfit-log-list>.outfit-log-item {display:grid;grid-template-columns:90px minmax(0,1fr);gap:16px;padding:22px 0;background:transparent;border:0;border-bottom:1px solid var(--theme-line);border-radius:0;overflow:visible;align-items:start}
  body.field-notes.ui-polished.fitcheck-theme-page :is(.advisor-memory-list,.match-card-grid,#outfit-log-list)>li>.fitcheck-outfit-composite {width:90px;height:145px;min-height:145px;margin:0;align-self:start}
  body.field-notes.ui-polished.fitcheck-theme-page :is(.advisor-memory-list,.match-card-grid)>li>.wardrobe-item-details {padding:0;gap:10px}
  body.field-notes.ui-polished.fitcheck-theme-page :is(.wardrobe-item-details>strong,.match-card-header>strong,.memory-outfit-title) {font-size:calc(17px * var(--fitcheck-text-scale));line-height:1.35}
  body.field-notes.ui-polished.fitcheck-theme-page .outfit-log-card-content {padding:0;gap:12px}
  body.field-notes.ui-polished.fitcheck-theme-page #outfit-log-list .delete-button {grid-column:2;margin:0;justify-self:start}
  body.field-notes.ui-polished.fitcheck-theme-page .memory-context-grid {gap:10px}
  body.field-notes.ui-polished.fitcheck-theme-page .memory-fact-label {font-size:calc(10px * var(--fitcheck-text-scale))}
  body.field-notes.ui-polished.fitcheck-theme-page .wardrobe-group .wardrobe-list {grid-template-columns:1fr}
  body.field-notes.ui-polished.fitcheck-theme-page .wardrobe-group .wardrobe-list>.wardrobe-item {grid-template-columns:90px minmax(0,1fr);gap:15px;padding:15px 0}
  body.field-notes.ui-polished.fitcheck-theme-page .wardrobe-item-color-icon {width:90px;height:110px;grid-row:1/3}
  body.field-notes.ui-polished.fitcheck-theme-page .wardrobe-group .delete-button {grid-column:2;justify-self:start;margin-top:-6px}
  body.field-notes.ui-polished.fitcheck-theme-page .outfit-filter-form {padding:16px}
  body.field-notes.ui-polished.fitcheck-theme-page .outfit-filter-form .four-column-grid {grid-template-columns:1fr 1fr;gap:12px}
  body.field-notes.ui-polished.fitcheck-theme-page .field-notes-sheet {padding:20px;max-height:88dvh;margin:auto 16px 16px}
  body.field-notes.ui-polished.fitcheck-theme-page .sheet-controls {top:-20px}
  body.field-notes.ui-polished.fitcheck-theme-page .wardrobe-form {grid-template-columns:1fr}
  body.field-notes.ui-polished.fitcheck-theme-page .journal-form .two-column-grid {grid-template-columns:1fr}
  body.field-notes.ui-polished.fitcheck-theme-page .journal-form .three-column-grid {grid-template-columns:1fr}
}
@media(max-width:360px) {
  body.field-notes.ui-polished.fitcheck-theme-page .app-shell {padding-left:16px;padding-right:16px}
  body.field-notes.ui-polished.fitcheck-theme-page :is(.advisor-memory-list,.match-card-grid)>:is(.outfit-log-item,.match-item),
  body.field-notes.ui-polished.fitcheck-theme-page #outfit-log-list>.outfit-log-item {grid-template-columns:74px minmax(0,1fr);gap:12px}
  body.field-notes.ui-polished.fitcheck-theme-page :is(.advisor-memory-list,.match-card-grid,#outfit-log-list)>li>.fitcheck-outfit-composite {width:74px}
  body.field-notes.ui-polished.fitcheck-theme-page .outfit-filter-form .four-column-grid {grid-template-columns:1fr}
}

@media(min-width:1051px) and (max-width:1100px) {body.field-notes.ui-polished.fitcheck-theme-page :is(.advisor-memory-list,.match-card-grid,#outfit-log-list) {grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Keep the situation tools compact enough that desktop outfits remain in view. */
@media(min-width:701px) {
 body.field-notes.ui-polished.fitcheck-theme-page .advisor-setup-panel {gap:12px}
 body.field-notes.ui-polished.fitcheck-theme-page .advisor-setup-header {display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 14px;padding-bottom:0}
 body.field-notes.ui-polished.fitcheck-theme-page .advisor-setup-header h2 {font-size:calc(17px * var(--fitcheck-text-scale))}
 body.field-notes.ui-polished.fitcheck-theme-page #advisor-context-panel {padding:16px 20px;gap:8px}
 body.field-notes.ui-polished.fitcheck-theme-page .starting-point-section {padding-top:0;gap:8px 24px}
 body.field-notes.ui-polished.fitcheck-theme-page .starting-point-section>h3 {margin:0;font-size:calc(13px * var(--fitcheck-text-scale))}
 body.field-notes.ui-polished.fitcheck-theme-page .advice-output {margin-top:22px}
}

/* Position the visible garment hems, not the padded SVG boxes, at one waist. */
body.field-notes.ui-polished.fitcheck-theme-page .fitcheck-outfit-composite {--outfit-size:120px;--lower-offset:.732421875}
body.field-notes.ui-polished.fitcheck-theme-page .fitcheck-layered-outfit-visual {--lower-offset:.794921875}
body.field-notes.ui-polished.fitcheck-theme-page .fitcheck-outfit-composite>:is(.fitcheck-composite-upper,.fitcheck-layered-upper) {width:var(--outfit-size);height:var(--outfit-size);top:calc(50% - var(--outfit-size) * .75);bottom:auto;left:50%;transform:translateX(-50%);z-index:2}
body.field-notes.ui-polished.fitcheck-theme-page .fitcheck-outfit-composite>:is(.fitcheck-composite-lower,.fitcheck-layered-lower) {width:calc(var(--outfit-size) * .875);height:calc(var(--outfit-size) * .875);top:calc(50% - var(--outfit-size) * .75 + var(--outfit-size) * var(--lower-offset));bottom:auto;left:50%;transform:translateX(-50%);z-index:1}
body.field-notes.ui-polished.fitcheck-theme-page .personal-color-evidence .fitcheck-outfit-composite {--outfit-size:70px}
@media(max-width:700px){body.field-notes.ui-polished.fitcheck-theme-page .fitcheck-outfit-composite {--outfit-size:80px}}
@media(max-width:360px){body.field-notes.ui-polished.fitcheck-theme-page .fitcheck-outfit-composite {--outfit-size:68px}}

/* Approved equal-card layout: one shared structure, with no featured first card. */
body.field-notes.ui-polished.fitcheck-theme-page :is(.advisor-memory-list,.match-card-grid,#outfit-log-list)>:is(.outfit-log-item,.match-item) {position:relative;display:flex;flex-direction:column;align-items:stretch;align-self:stretch;grid-column:auto;gap:0;padding:12px;background:var(--theme-paper);border:1px solid var(--theme-line);border-radius:8px}
body.field-notes.ui-polished.fitcheck-theme-page :is(.advisor-memory-list,.match-card-grid,#outfit-log-list)>li>.fitcheck-outfit-composite {width:100%;height:226px;min-height:226px;flex-shrink:0;border-radius:5px;--outfit-size:116px}
body.field-notes.ui-polished.fitcheck-theme-page :is(.advisor-memory-list,.match-card-grid)>li>.wardrobe-item-details {display:flex;flex-direction:column;flex:1;padding:22px 12px 8px;gap:12px}
body.field-notes.ui-polished.fitcheck-theme-page :is(.advisor-memory-list,.match-card-grid)>li>.wardrobe-item-details>:is(strong,.match-card-header),
body.field-notes.ui-polished.fitcheck-theme-page #outfit-log-list .memory-outfit-title {min-height:88px;margin:0;font-size:calc(20px * var(--fitcheck-text-scale));line-height:1.32}
body.field-notes.ui-polished.fitcheck-theme-page .match-card-header>strong {font-size:calc(20px * var(--fitcheck-text-scale))}
body.field-notes.ui-polished.fitcheck-theme-page :is(.advisor-memory-list,.match-card-grid)>li>.wardrobe-item-details .match-source-badge {position:absolute;top:24px;left:24px;z-index:3;font-size:calc(10px * var(--fitcheck-text-scale));border-radius:4px;padding:4px 7px;max-width:calc(100% - 48px)}
body.field-notes.ui-polished.fitcheck-theme-page :is(.advisor-memory-list,.match-card-grid)>li>.wardrobe-item-details>.match-action-row {margin-top:auto;padding-top:16px;border-top:1px solid var(--theme-line);justify-content:flex-end}
body.field-notes.ui-polished.fitcheck-theme-page .outfit-card-saved-date {font-size:calc(11px * var(--fitcheck-text-scale));color:var(--theme-muted);padding-bottom:14px}
body.field-notes.ui-polished.fitcheck-theme-page #outfit-log-list .outfit-log-card-content {flex:1;padding:22px 12px 0;gap:14px}
body.field-notes.ui-polished.fitcheck-theme-page #outfit-log-list .memory-outfit-summary {display:contents}
body.field-notes.ui-polished.fitcheck-theme-page #outfit-log-list .memory-context-grid {order:1}
body.field-notes.ui-polished.fitcheck-theme-page #outfit-log-list :is(.memory-summary-line,.issue-list) {order:2}
body.field-notes.ui-polished.fitcheck-theme-page #outfit-log-list .memory-rating-fact>.memory-fact-label {display:none}
body.field-notes.ui-polished.fitcheck-theme-page #outfit-log-list .outfit-rating-badge {position:absolute;top:24px;left:24px;z-index:3;border-radius:4px}
body.field-notes.ui-polished.fitcheck-theme-page #outfit-log-list .memory-saved-date {order:3;margin-top:auto}
body.field-notes.ui-polished.fitcheck-theme-page #outfit-log-list .delete-button {grid-column:auto;align-self:flex-end;margin:6px 12px 0}
@media(max-width:700px){
 body.field-notes.ui-polished.fitcheck-theme-page :is(.advisor-memory-list,.match-card-grid,#outfit-log-list) {gap:16px;border-top:0}
 body.field-notes.ui-polished.fitcheck-theme-page :is(.advisor-memory-list,.match-card-grid,#outfit-log-list)>li>.fitcheck-outfit-composite {height:210px;min-height:210px;--outfit-size:110px}
 body.field-notes.ui-polished.fitcheck-theme-page :is(.advisor-memory-list,.match-card-grid)>li>.wardrobe-item-details>:is(strong,.match-card-header),body.field-notes.ui-polished.fitcheck-theme-page #outfit-log-list .memory-outfit-title {min-height:0}
}

body.field-notes.ui-polished.fitcheck-theme-page :is(.advisor-memory-list,.match-card-grid)>li>.wardrobe-item-details>.outfit-card-saved-date {margin-top:auto;padding-top:14px}
body.field-notes.ui-polished.fitcheck-theme-page :is(.advisor-memory-list,.match-card-grid)>li>.wardrobe-item-details:has(>.outfit-card-saved-date)>.match-action-row {margin-top:0}

body.field-notes.ui-polished.fitcheck-theme-page :is(.advisor-memory-list,.match-card-grid)>li>.wardrobe-item-details>.advisor-layer-detail {order:1}
body.field-notes.ui-polished.fitcheck-theme-page :is(.advisor-memory-list,.match-card-grid)>li>.wardrobe-item-details>.outfit-card-saved-date {order:2}
body.field-notes.ui-polished.fitcheck-theme-page :is(.advisor-memory-list,.match-card-grid)>li>.wardrobe-item-details>.match-action-row {order:3}
body.field-notes.ui-polished.fitcheck-theme-page #outfit-log-list .advisor-layer-detail {order:2}
