/* A native, keyboard-operable appearance menu. Keeps the control in the header flow. */
.lost-theme{position:relative;display:inline-grid;place-items:center;min-height:44px;width:44px;min-width:44px;flex:0 0 44px;color:inherit;border:1px solid currentColor;border-radius:8px;line-height:1;vertical-align:middle;cursor:pointer}
.lost-theme[hidden]{display:none!important}.lost-theme-icon,.lost-theme-icon svg{display:block;pointer-events:none}
.lost-theme select{appearance:none;position:absolute;inset:0;width:100%;height:100%;min-height:44px;margin:0;opacity:0;cursor:pointer;font:inherit}
.lost-theme:focus-within{outline:3px solid #c84d38;outline-offset:3px}
[data-lost-shell=home] .lost-theme,[data-lost-shell=guide] .lost-theme{border-color:#a29d94}
[data-lost-shell=guide] .bar nav{margin-left:auto}
[data-lost-shell=contact] nav>a:nth-child(2){margin-left:auto}
@media(max-width:520px){
 [data-lost-shell=guide] header .bar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 .65rem;padding-block:.3rem}
 [data-lost-shell=guide] header .bar>.brand{grid-area:1/1}
 [data-lost-shell=guide] header .bar>.lost-theme{grid-area:1/2}
 [data-lost-shell=guide] header .bar>nav{grid-area:2/1/3/3;width:100%;justify-content:space-between;margin:0;gap:.45rem}
 [data-lost-shell=home] .head-row:has(.mobile-nav){gap:.38rem}
}
@media screen {
 html[data-lost-theme=dark]{
  color-scheme:dark;--base:#171919;--surface:#222525;--raised:#2c3030;--bright:#f5f2ec;--quiet:#c6c6bf;--edge:#565c5a;--pink:#ffa492;--mint:#a0d8b5;--cream:#f6cb81;
  --accent-soft:#462f2b;--paper:var(--base);--light:var(--surface);--ink:var(--bright);--muted:var(--quiet);--line:var(--edge);--red:var(--pink);--green:var(--mint);
  color:var(--bright);background:var(--base);
 }
 [data-lost-theme=dark] body{color:var(--bright);background:var(--base)}
 [data-lost-theme=dark] :focus-visible,[data-lost-theme=dark] .lost-theme:focus-within{outline-color:var(--pink)}
 [data-lost-theme=dark] ::selection{background:#824c43;color:white}
 [data-lost-theme=dark] .skip:focus{color:var(--base);background:var(--bright)}
 [data-lost-theme=dark] :is(input:not([type=checkbox],[type=radio]),select,textarea):not([data-lost-theme-choice]),[data-lost-theme=dark] #reply-contact,[data-lost-theme=dark] #plan-form textarea,[data-lost-theme=dark] #team-summary{background-color:var(--raised);border-color:#7c8481;color:var(--bright)}
 [data-lost-theme=dark] select option{background:var(--raised);color:var(--bright)}
 [data-lost-theme=dark] input::placeholder,[data-lost-theme=dark] textarea::placeholder{color:#acb0ac}
 [data-lost-theme=dark] input:is([type=checkbox],[type=radio]){accent-color:var(--mint)}
 [data-lost-theme=dark] .lost-theme{color:var(--bright);border-color:var(--edge)}
 [data-lost-theme=dark] .lost-theme:hover{background:#373d3d}
 [data-lost-theme=dark][data-lost-shell=home] :is(.file-section,footer,.badge){background:var(--raised)}
 [data-lost-theme=dark][data-lost-shell=home] .grid-paper{background-image:linear-gradient(to right,#ffffff0b 1px,transparent 1px),linear-gradient(to bottom,#ffffff0b 1px,transparent 1px)}
 [data-lost-theme=dark][data-lost-shell=home] :is(.mark,.primary,.walk-action,.walk-choice[aria-pressed=true]){
  color:#171919;background:var(--bright);border-color:var(--bright)
 }
 [data-lost-theme=dark][data-lost-shell=home] :is(.primary,.walk-action):hover{background:#ddd8ce}
 [data-lost-theme=dark][data-lost-shell=home] :is(.account,.outline):hover{background:var(--raised)}
 [data-lost-theme=dark][data-lost-shell=home] .walk-choice[aria-pressed=true] span{color:#752f21}
 [data-lost-theme=dark][data-lost-shell=home] :is(.kicker,.walk-transcript b,.walk-plan-label){color:var(--quiet)}
 [data-lost-theme=dark][data-lost-shell=home] .scope{background:#101212}
 [data-lost-theme=dark][data-lost-shell=home] #walk-tag{color:#ffb6a4;background:#462f2b}
 [data-lost-theme=dark][data-lost-shell=home] .walk-card[data-clean=true] #walk-tag{color:#bcdec6;background:#2e3c33}
 [data-lost-theme=dark][data-lost-shell=home] .route-picker select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%23f5f2ec' stroke-width='2'/%3E%3C/svg%3E")}
 [data-lost-theme=dark][data-lost-shell=audit] :is(.panel,.btn,.finding,.metric,.empty,dialog,.task-card,.export-menu>div,.cmp-dashboard,.cmp-compare){background:var(--surface);color:var(--bright)}
 [data-lost-theme=dark][data-lost-shell=audit] :is(.stats,.drop,.quote,.task-lane,.work-tabs,.cmp-file,th){background:var(--raised)}
 [data-lost-theme=dark][data-lost-shell=audit] :is(.btn:hover,.work-tabs .btn:hover){background:#3a4240}
 [data-lost-theme=dark][data-lost-shell=audit] :is(.btn.primary,.work-tabs .btn[aria-current]){color:var(--base);background:var(--bright);border-color:var(--bright)}
 [data-lost-theme=dark][data-lost-shell=audit] .btn.confirm{color:var(--mint)}
 [data-lost-theme=dark][data-lost-shell=audit] .btn.danger{color:var(--pink)}
 [data-lost-theme=dark][data-lost-shell=audit] .metric:first-child{background:#101212;color:var(--bright)}
 [data-lost-theme=dark][data-lost-shell=audit] :is(.top,#toast){background:#101212}
 [data-lost-theme=dark][data-lost-shell=audit] :is(th,td,.btn,.drop){border-color:var(--edge)}
 [data-lost-theme=dark][data-lost-shell=audit] .drop-icon{color:var(--mint)}
 [data-lost-theme=dark][data-lost-shell=audit] .drop.over{border-color:var(--pink);background:#462f2b}
 [data-lost-theme=dark][data-lost-shell=audit] .note{background:#2c3b32;color:var(--bright)}
 [data-lost-theme=dark][data-lost-shell=audit] :is(.note.warning,.message.evidence){color:var(--cream);background:#423627}
 [data-lost-theme=dark][data-lost-shell=audit] #alert{color:#ffb6a4;background:#462f2b;border-color:#a76656}
 [data-lost-theme=dark][data-lost-shell=audit] .finding.rejected{opacity:.86}
 [data-lost-theme=dark][data-lost-shell=audit] .telegram-btn{background:#285e77;color:white;border-color:#8fc0d6}
 [data-lost-theme=dark][data-lost-shell=audit] .cmp-bars meter,[data-lost-theme=dark][data-lost-shell=audit] .cmp-bars meter::-webkit-meter-bar{background:var(--raised)}
 [data-lost-theme=dark][data-lost-shell=audit] .cmp-bars meter::-webkit-meter-optimum-value{background:var(--mint)}
 [data-lost-theme=dark][data-lost-shell=audit] .cmp-bars meter::-moz-meter-bar{background:var(--mint)}
 [data-lost-theme=dark][data-lost-shell=audit] input::file-selector-button{background:var(--raised);border-color:var(--edge);color:var(--bright)}
 [data-lost-theme=dark][data-lost-shell=contact] .tag{color:var(--pink)}
 [data-lost-theme=dark][data-lost-shell=contact] :is(.action,button[type=submit]){background:var(--bright);color:var(--base)}
 [data-lost-theme=dark][data-lost-shell=contact] section{border-color:var(--edge)}
}
@media print{.lost-theme{display:none!important}html[data-lost-shell]{color-scheme:light}}
@media(max-width:380px){
 [data-lost-shell=home] .mobile-nav summary{width:44px;padding:.5rem}
 [data-lost-shell=home] .mobile-nav summary>span:not(.burger){display:none}
}
