/* MilliMark identity: Measure 01, selected by the owner on 8 September 2026, with readable text tones. */
:root{
  --brand-orange:var(--color-amber-fill-dark);
  --brand-hover:var(--color-source-e5933c);
  --brand-pressed:var(--color-source-cf7c24);
  --brand-ink:var(--color-source-17282b);
  --brand-text-light:var(--color-amber-text-light);
  --brand-text-dark:var(--color-amber-text-dark);
  --brand-text:var(--brand-text-light);
  --brand-soft:var(--color-source-eedcc7);
}
html[data-appearance-theme=dark],html[data-theme=dark]{
  --brand-text:var(--brand-text-dark);
  --brand-soft:var(--color-source-38281b);
}
@media(prefers-color-scheme:dark){
  html:not([data-theme=light]):not([data-appearance-theme=light]){
    --brand-text:var(--brand-text-dark);
    --brand-soft:var(--color-source-38281b);
  }
}
/* Public pages and invitation sheets use their own light surface in either OS mode. */
.mm-entry,.modal.beta-sheet,body.entry-page #modal-root{
  --brand-text:var(--brand-text-light);
  --brand-soft:var(--color-source-eedcc7);
}
html.vr-app .btn:not(.ghost):not(.danger):enabled:hover,
:is(#gate .mm-entry,.mm-entry) :is(.mm-primary,.mm-warm):hover{
  background:var(--brand-hover);border-color:var(--brand-hover);filter:none;
}
html.vr-app .btn:not(.ghost):not(.danger):enabled:active,
:is(#gate .mm-entry,.mm-entry) :is(.mm-primary,.mm-warm):active{
  background:var(--brand-pressed);border-color:var(--brand-pressed);filter:none;
}
html.vr-app .hero-next .btn:focus-visible{
  outline-color:var(--brand-text-dark);
}

html.vr-app .brand img{border-radius:7px}

/* Profile switcher: legible identity and a clear, comfortable touch target. */
html.vr-app .vr-home .homehead #prof-chip{
  display:inline-flex;align-items:center;gap:11px;min-height:54px;max-width:230px;
  padding:7px 12px 7px 7px;border-radius:15px;background:var(--card);color:var(--ink);
  border:1px solid var(--rule);white-space:normal;overflow:visible;text-align:left;
}
html.vr-app #prof-chip .av{width:36px;height:36px;flex:0 0 36px;border-radius:11px;background:var(--brand-orange);color:var(--brand-ink);font:600 var(--type-20)/1 var(--sans);display:grid;place-items:center;border:1px solid var(--color-source-ffffff26)}
html.vr-app #prof-chip .prof-chip-copy{display:flex;flex-direction:column;gap:3px;min-width:0}
html.vr-app #prof-chip small{font-size:var(--type-14);line-height:1;letter-spacing:1.1px;text-transform:uppercase;color:var(--ink-soft)}
html.vr-app #prof-chip b{font-size:var(--type-14);line-height:1.25;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:150px}
html.vr-app #prof-chip .prof-chip-arrow{width:16px;height:16px;flex-shrink:0;color:var(--ink-soft);margin-left:5px}
html.vr-app #prof-chip:hover{border-color:var(--brand-text);background:var(--card-2)}
html.vr-app #prof-chip:focus-visible{outline:3px solid var(--brand-text);outline-offset:3px}
/* More: independent columns avoid tall empty grid rows when tools are enabled. */
html.vr-app #p-more.on{display:block}
html.vr-app[data-vr-panel=more] #wallpaper::after{opacity:.98}
html.vr-app .vr-more-shortcuts{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin:0 0 28px}
html.vr-app .vr-more-shortcuts .mrow{border:1px solid var(--rule);border-radius:16px;padding:19px;min-height:94px;background:var(--card)}
html.vr-app .vr-more-directory{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
html.vr-app .vr-more-column{display:flex;flex-direction:column;gap:24px;min-width:0}
html.vr-app .vr-more-directory .more-sec{padding:18px 16px 8px;margin:0;border-radius:18px;min-width:0}
html.vr-app .vr-more-directory .eyebrow{margin:0 10px 10px}
html.vr-app .vr-more-directory .mrow{padding:14px 10px;gap:13px;border-bottom:1px solid var(--rule-soft);border-radius:8px;min-height:72px}
html.vr-app .vr-more-directory .mrow:last-child{border-bottom-color:transparent}
html.vr-app #p-more .mrow-t{min-width:0}
html.vr-app #p-more .mrow-t b{font-size:var(--type-14);font-weight:600}
html.vr-app #p-more .mrow-t small{font-size:var(--type-14);line-height:1.5;margin-top:3px}
html.vr-app #p-more .vr-more-icon{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border-radius:10px;background:var(--amber-soft);color:var(--amber)}
html.vr-app #p-more .vr-more-icon svg{width:19px;height:19px}
html.vr-app #p-more .arr{font-size:var(--type-20);flex-shrink:0;color:var(--ink-soft)}
html.vr-app #p-more .mrow:hover{background:var(--card-2)}
html.vr-app #p-more .mrow:focus-visible{outline:3px solid var(--brand-text);outline-offset:1px}
html.vr-app #p-more .more-build{margin:24px 0 0;padding:0 3px}
@media(max-width:899px){
  html.vr-app .vr-more-directory{grid-template-columns:1fr;gap:20px}
  html.vr-app .vr-more-column{gap:20px}
  html.vr-app .vr-more-shortcuts{gap:12px;margin-bottom:20px}
  html.vr-app .vr-more-directory .more-sec{padding:17px 10px 6px}
  html.vr-app .vr-home .homehead #prof-chip{min-height:44px;max-width:154px;padding:5px 9px 5px 5px;gap:8px;border-radius:12px;top:-10px}
  html.vr-app .vr-home .homehead h1{margin-top:24px}
  html.vr-app #prof-chip .av{width:32px;height:32px;flex-basis:32px;font-size:var(--type-16);border-radius:9px}
  html.vr-app #prof-chip small{display:none}
  html.vr-app #prof-chip b{font-size:var(--type-14);max-width:82px}
  html.vr-app #prof-chip .prof-chip-arrow{width:13px;height:13px;margin-left:0}
}
