



.enhanced *{box-sizing: border-box; letter-spacing: 0px !important;}

.enhanced button,.enhanced input,.enhanced select,.enhanced textarea{font: inherit;}
.enhanced a{color: var(--accent); text-decoration: none;}
.enhanced a:hover{text-decoration: underline;}
.enhanced button{cursor: pointer;}
.enhanced button:disabled{cursor: not-allowed; opacity: 0.4;}
.enhanced button,.enhanced a,.enhanced input,.enhanced select,.enhanced textarea{touch-action: manipulation;}
.enhanced button,.enhanced input,.enhanced select,.enhanced textarea{border-radius: 5px;}
.enhanced button:focus-visible,.enhanced a:focus-visible,.enhanced input:focus-visible,.enhanced select:focus-visible,.enhanced summary:focus-visible{outline: 2px solid var(--accent); outline-offset: 3px;}
.enhanced input,.enhanced select,.enhanced textarea{background: var(--bg); color: var(--text); border: 1px solid var(--line); padding: 10px 12px; max-width: 100%; min-width: 0px;}
.enhanced select{min-height: 44px;}
.enhanced input::placeholder,.enhanced textarea::placeholder{color: rgb(143, 157, 158);}
.enhanced textarea{resize: vertical; width: 100%;}
.enhanced input[type="checkbox"]{width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0;}
.enhanced label{display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 0.82rem; font-weight: 600;}
.enhanced h1,.enhanced h2,.enhanced h3,.enhanced h4,.enhanced p{margin-top: 0px;}
.enhanced h1{font-size: 2.05rem; line-height: 1.2; font-weight: 750; margin-bottom: 12px;}
.enhanced h2{font-size: 1.25rem; line-height: 1.3; margin-bottom: 16px;}
.enhanced h3{font-size: 1.02rem; line-height: 1.4; margin: 22px 0px 12px;}
.enhanced h4{font-size: 1rem;}
.enhanced p{margin-bottom: 14px;}
.enhanced small{font-size: 0.78rem;}
.enhanced ul,.enhanced ol{padding-left: 20px;}
.enhanced li{margin-bottom: 7px;}
.enhanced code,.enhanced pre,.enhanced .mono{font-family: Consolas, monospace;}
.enhanced code{font-size: 0.86em; color: var(--second); overflow-wrap: anywhere;}
.enhanced pre{white-space: pre-wrap; overflow-wrap: anywhere; background: rgb(11, 16, 18); border: 1px solid var(--line); padding: 16px; max-height: 480px; overflow: auto; font-size: 0.8rem; line-height: 1.6;}
.enhanced svg.lucide{width: 19px; height: 19px; flex-shrink: 0; stroke-width: 1.75;}
.enhanced button svg,.enhanced a svg{vertical-align: middle;}
.enhanced button{color: var(--text); border: 1px solid var(--line); background: var(--raised);}
.enhanced [hidden]{display: none !important;}
.enhanced .sr-only{position: absolute; width: 1px; height: 1px; padding: 0px; margin: -1px; overflow: hidden; clip: rect(0px, 0px, 0px, 0px); white-space: nowrap; border: 0px;}
.enhanced .skip{position: fixed; z-index: 99; top: -80px; left: 20px; background: var(--accent); color: rgb(17, 17, 17); padding: 12px;}
.enhanced .skip:focus{top: 12px;}






.enhanced .map-control{display: flex; flex-direction: row; align-items: center; gap: 8px; color: var(--accent);}
.enhanced .map-control select{border-color: var(--line); background: var(--surface); width: 156px; font-weight: 700; color: var(--text);}
.enhanced .icon-button{display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; min-width: 42px; padding: 0px; position: relative;}
.enhanced .icon-button:hover,.enhanced .button:hover{background: var(--tint); border-color: var(--accent); text-decoration: none;}
.enhanced .mobile-menu{display: none;}


.enhanced .nav-label{font-size: 0.64rem; color: rgb(130, 147, 144); margin: 14px 10px 6px; font-weight: 700;}









.enhanced .context-line{display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 0.72rem; color: var(--muted); padding: 19px 0px;}
.enhanced .context-line strong{color: var(--text); font-weight: 600;}
.enhanced .status-dot{width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: var(--accent); margin-right: 8px;}
.enhanced .version{font-size: 0.65rem;}
.enhanced .page{min-height: 68vh; animation: 0.22s ease 0s 1 normal none running page-in;}
.enhanced .page-heading{display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0px 24px; border-bottom: 1px solid var(--line); margin-bottom: 24px;}
.enhanced .page-heading p:last-child{color: var(--muted); font-size: 0.92rem; max-width: 740px; margin: 0px;}
.enhanced .eyebrow{font-size: 0.66rem; font-weight: 750; color: var(--accent); margin-bottom: 10px;}
.enhanced .terrain-banner{height: 300px; position: relative; overflow: hidden; margin: 0px -38px 30px; padding: 34px 38px; isolation: isolate; border-block: 1px solid var(--line); background: rgb(24, 37, 35);}
.enhanced .terrain-banner > img{position: absolute; inset: 0px; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; opacity: var(--map-opacity); z-index: -3; animation: 32s ease-in-out 0s infinite alternate none running terrain-drift;}
.enhanced .terrain-banner::after{content: ""; position: absolute; inset: 0px; z-index: -2; background: linear-gradient(90deg, rgba(7, 14, 15, 0.96), rgba(7, 14, 15, 0.82) 42%, rgba(7, 14, 15, 0.05) 100%);}
.enhanced .banner-content{max-width: 560px;}
.enhanced .banner-content h1{font-size: 2.65rem; margin: 16px 0px 14px; color: rgb(255, 255, 255);}
.enhanced .banner-content > p:not(.eyebrow){font-size: 1rem; color: rgb(210, 223, 220); max-width: 480px;}
.enhanced .terrain-caption{position: absolute; bottom: 18px; right: 28px; color: rgb(238, 249, 237); font: 10px Consolas, monospace; text-shadow: black 0px 1px 3px;}
.enhanced .terrain-sweep{position: absolute; inset: 0px; z-index: -1; background: repeating-linear-gradient(0deg, transparent 0px, transparent 58px, rgba(197, 233, 209, 0.067) 59px, rgba(197, 233, 209, 0.067) 60px); transform: translateY(-60px); animation: 10s linear 0s infinite normal none running scan; pointer-events: none;}
.enhanced .inline-tags{display: flex; gap: 7px; flex-wrap: wrap;}
.enhanced .inline-tags span,.enhanced .tag{display: inline-flex; align-items: center; font-size: 0.64rem; border: 1px solid var(--line); background: var(--surface); padding: 3px 8px; border-radius: 3px; color: var(--muted);}
.enhanced .banner-content .inline-tags span{border-color: rgba(255, 255, 255, 0.25); background: rgba(18, 33, 27, 0.8); color: rgb(228, 231, 222);}
.enhanced .search-bar{display: flex; flex-direction: row; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); padding: 0px 13px; min-width: 0px;}
.enhanced .search-bar > svg{color: var(--accent);}
.enhanced .search-bar input{border: 0px; background: transparent; width: 100%; min-width: 0px; height: 44px; padding: 8px 0px; outline-offset: -2px; font-weight: 400; font-size: 0.9rem;}
.enhanced .search-bar.large{height: 58px;}
.enhanced .search-bar.large input{height: 54px; font-size: 1rem;}
.enhanced .search-bar.large button{background: transparent; border: 0px;}
.enhanced .search-results{border: 1px solid var(--line); padding: 10px; background: var(--surface); margin-top: 8px; max-height: 500px; overflow: auto;}
.enhanced .search-results button,.enhanced .compact-row{display: flex; align-items: center; justify-content: space-between; gap: 15px; background: transparent; border-top: 0px; border-right: 0px; border-left: 0px; border-image: none; border-bottom: 1px solid var(--line); padding: 13px 6px; text-align: left; width: 100%; font-size: 0.88rem; overflow-wrap: anywhere;}
.enhanced .search-results button:hover,.enhanced .compact-row:hover{background: var(--tint);}
.enhanced .search-results small,.enhanced .compact-row small{color: var(--muted); display: block;}
.enhanced .stat-strip{display: grid; grid-template-columns: repeat(4, minmax(0px, 1fr)); border-bottom: 1px solid var(--line); padding: 24px 0px; gap: 20px;}
.enhanced .stat-strip > div{padding-left: 20px; border-left: 1px solid var(--line);}
.enhanced .stat-strip > div:first-child{padding-left: 0px; border-left: 0px;}
.enhanced .stat-strip strong{font-size: 1.55rem; font-weight: 700; display: block; line-height: 1.2;}
.enhanced .stat-strip small{display: block; color: var(--muted); font-size: 0.72rem; margin-top: 6px;}
.enhanced .section-heading{display: flex; justify-content: space-between; gap: 20px; align-items: center; margin: 30px 0px 18px;}
.enhanced .section-heading h2{margin: 0px;}
.enhanced .section-heading .eyebrow{margin-bottom: 5px;}
.enhanced .text-link{display: flex; align-items: center; gap: 7px; font-size: 0.78rem;}
.enhanced .launch-grid{display: grid; grid-template-columns: repeat(3, minmax(0px, 1fr)); gap: 14px;}
.enhanced .launch-card{display: flex; flex-direction: column; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 21px; color: var(--text); min-width: 0px; transition: transform 0.15s, border-color 0.15s; min-height: 165px;}
.enhanced .launch-card:hover{border-color: var(--accent); text-decoration: none; transform: translateY(-2px);}
.enhanced .launch-card > svg{color: var(--accent); width: 22px; height: 22px; margin-bottom: 20px;}
.enhanced .launch-card h3{margin: 0px 0px 6px; font-size: 1rem;}
.enhanced .launch-card p{color: var(--muted); font-size: 0.8rem; margin: 0px;}
.enhanced .launch-card small{margin-top: auto; padding-top: 16px; color: var(--second);}
.enhanced .two-column{display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start;}
.enhanced .two-column > *{min-width: 0px;}
.enhanced .section-band{padding: 30px 0px; border-bottom: 1px solid var(--line);}
.enhanced .section-band .section-heading{margin-top: 0px;}
.enhanced .command-item{border-bottom: 1px solid var(--line); padding: 10px 0px;}
.enhanced .command-item:last-child{border-bottom: 0px;}
.enhanced .command-item strong{font-size: 0.86rem;}
.enhanced .command-item p{font-size: 0.8rem; color: var(--muted); margin: 4px 0px;}
.enhanced .bullet-notes{font-size: 0.86rem; color: var(--muted);}
.enhanced .button{display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 42px; padding: 9px 15px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); color: var(--text); font-weight: 600; font-size: 0.8rem; max-width: 100%; text-align: center;}
.enhanced .button.primary{background: var(--accent); border-color: var(--accent); color: rgb(16, 34, 28);}
.enhanced .button.primary:hover{filter: brightness(1.1);}
.enhanced .button-row{display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0px;}
.enhanced .segmented{display: flex; border-bottom: 1px solid var(--line); gap: 20px; margin: 0px 0px 24px;}
.enhanced .segmented button{background: transparent; border-width: 0px 0px 2px; border-style: none none solid; border-color: currentcolor currentcolor transparent; border-image: none; border-radius: 0px; padding: 12px 0px; color: var(--muted); font-size: 0.85rem;}
.enhanced .segmented button[aria-pressed="true"]{color: var(--accent); border-bottom-color: var(--accent);}
.enhanced .filters{display: flex; gap: 12px; align-items: end; flex-wrap: wrap; margin: 18px 0px;}
.enhanced .filters .search-bar{flex: 1 1 0%; min-width: 220px;}
.enhanced .filters label:not(.search-bar){min-width: 135px;}
.enhanced .check{display: flex; flex-direction: row; align-items: center; gap: 9px; font-weight: 400; min-height: 44px;}
.enhanced .muted{color: var(--muted); font-size: 0.85rem;}
.enhanced .footnote{color: var(--muted); font-size: 0.76rem; line-height: 1.7;}
.enhanced .notice,.enhanced .warning{padding: 14px 17px; border-left: 3px solid var(--accent); background: var(--surface); color: var(--muted); font-size: 0.84rem; margin: 16px 0px;}
.enhanced .notice a{font-weight: 650;}
.enhanced .warning{border-color: var(--second);}
.enhanced .warning strong{color: var(--second);}
.enhanced .warning p{margin: 8px 0px 0px;}
.enhanced .table-wrap{width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 5px;}
.enhanced table{border-collapse: collapse; width: 100%; text-align: left; font-size: 0.8rem;}
.enhanced th{font-size: 0.68rem; background: var(--surface); color: var(--muted); padding: 12px 14px; font-weight: 600; white-space: nowrap;}
.enhanced td{padding: 11px 14px; border-top: 1px solid var(--line); vertical-align: middle;}
.enhanced td:first-child{font-family: Consolas, monospace; max-width: 300px; overflow-wrap: anywhere; color: var(--text);}
.enhanced td small{display: block; color: var(--muted); font-family: "Segoe UI", sans-serif; font-size: 0.7rem;}
.enhanced tbody tr:hover{background: var(--surface);}
.enhanced td button{width: 34px; height: 34px; min-width: 34px;}
.enhanced .pagination{display: flex; justify-content: center; align-items: center; gap: 20px; margin: 18px 0px; font-size: 0.8rem; color: var(--muted);}
.enhanced .compact-list{max-height: 620px; overflow: auto; margin-top: 14px;}
.enhanced .form-grid{display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 20px 0px;}
.enhanced .output{display: block; padding: 22px 0px; border-block: 1px solid var(--line); margin: 20px 0px; font-size: 0.92rem;}
.enhanced .output > strong{display: block; font-size: 2.3rem; color: var(--accent); line-height: 1.3;}
.enhanced .output small{display: block; margin: 10px 0px; color: var(--muted);}
.enhanced .output-grid{display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px;}
.enhanced .output-grid strong{display: block; font-size: 1.4rem;}
.enhanced .output-grid span{color: var(--muted); font-size: 0.76rem;}
.enhanced .recipe-list{display: grid; gap: 0px;}
.enhanced .recipe-entry{border-bottom: 1px solid var(--line); padding: 18px 0px;}
.enhanced .recipe-entry summary{cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px;}
.enhanced .recipe-entry summary::-webkit-details-marker{display: none;}
.enhanced .recipe-entry summary strong{font-size: 0.95rem;}
.enhanced .recipe-entry summary small{display: block; color: var(--muted); font-size: 0.76rem; margin-top: 5px;}
.enhanced .recipe-entry[open] summary{margin-bottom: 20px; color: var(--accent);}
.enhanced .recipe-body{padding: 0px 0px 10px;}
.enhanced .recipe-ingredients{display: grid; grid-template-columns: 1fr 1fr; gap: 20px;}
.enhanced .ingredient-group{border-left: 2px solid var(--line); padding: 6px 14px;}
.enhanced .ingredient-group p{font-size: 0.8rem; margin: 5px 0px;}
.enhanced .ingredient-group code{color: var(--text);}
.enhanced .guide-grid{display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 24px 32px;}
.enhanced .guide-entry{padding: 20px 0px; border-bottom: 1px solid var(--line); min-width: 0px;}
.enhanced .guide-entry h3{margin: 0px 0px 10px;}
.enhanced .guide-entry p,.enhanced .guide-entry li{font-size: 0.86rem; color: var(--muted);}
.enhanced .guide-entry p:last-child{margin-bottom: 0px;}
.enhanced .map-overview{display: grid; grid-template-columns: minmax(220px, 0.8fr) 1.2fr; gap: 30px; align-items: start;}
.enhanced .map-overview img{width: 100%; max-height: 510px; object-fit: contain; background: rgb(16, 24, 23); border: 1px solid var(--line);}
.enhanced .map-overview h2{font-size: 1.6rem;}
.enhanced .map-overview dl{display: grid; grid-template-columns: 1fr 1fr; gap: 15px; border-top: 1px solid var(--line); padding-top: 18px;}
.enhanced dt{font-size: 0.7rem; color: var(--muted);}
.enhanced dd{margin: 3px 0px 0px; font-size: 0.9rem; overflow-wrap: anywhere;}
.enhanced .control-strip{display: flex; gap: 12px; flex-wrap: wrap; padding: 22px 0px; border-bottom: 1px solid var(--line);}
.enhanced .control-key{display: flex; gap: 13px; align-items: center; padding: 8px 16px 8px 0px; min-width: 180px;}
.enhanced .control-key kbd{width: 52px; min-height: 42px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: var(--raised); border-radius: 5px; color: var(--accent); font: 700 0.8rem "Segoe UI", sans-serif; flex-shrink: 0;}
.enhanced .control-key span{font-size: 0.8rem;}
.enhanced .settings-grid{display: grid; grid-template-columns: 1fr 1fr; gap: 4px 30px; margin-bottom: 24px;}
.enhanced .settings-grid .check{padding: 12px 0px; border-bottom: 1px solid var(--line); align-items: flex-start;}
.enhanced .settings-grid input{margin-top: 4px;}
.enhanced .progress-line{margin: 20px 0px; display: flex; align-items: center; gap: 20px; font-size: 0.8rem; color: var(--accent);}
.enhanced progress{width: 220px; max-width: 55%; accent-color: var(--accent); height: 8px;}
.enhanced .file-layout{display: grid; grid-template-columns: 270px minmax(0px, 1fr); gap: 28px; align-items: start;}
.enhanced .file-layout nav{max-height: 75vh; overflow: auto; border: 1px solid var(--line); border-radius: 5px; position: sticky; top: 100px;}
.enhanced .file-layout nav button{display: block; width: 100%; border-top: 0px; border-right: 0px; border-left: 0px; border-image: none; border-bottom: 1px solid var(--line); border-radius: 0px; padding: 13px; text-align: left; font-family: Consolas, monospace; font-size: 0.75rem; background: transparent; overflow-wrap: anywhere;}
.enhanced .file-layout nav button small{display: block; color: var(--muted); font: 10px "Segoe UI", sans-serif; margin-top: 4px;}
.enhanced .file-layout nav button.active{background: var(--tint); color: var(--accent);}
.enhanced .file-layout article{min-width: 0px; padding: 8px 0px;}
.enhanced .file-layout article h2{overflow-wrap: anywhere;}
.enhanced .workflow-step{counter-increment: step 1;}
.enhanced .page-footer{display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-top: 30px; margin-top: 25px; border-top: 1px solid var(--line); font-size: 0.6rem; color: var(--muted);}
.enhanced dialog{border: 1px solid var(--line); border-radius: 7px; padding: 0px; background: var(--surface); color: var(--text); width: min(820px, -30px + 100vw); max-height: 85vh;}
.enhanced dialog::backdrop{background: rgba(0, 0, 0, 0.667); backdrop-filter: blur(3px);}
.enhanced .dialog-top{display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 18px 22px; border-bottom: 1px solid var(--line); position: sticky; top: 0px; background: var(--surface); z-index: 1;}
.enhanced .dialog-top strong{font: 700 1rem Consolas, monospace; overflow-wrap: anywhere; min-width: 0px;}
.enhanced #dialog-body{padding: 24px;}
.enhanced #dialog-body dl{display: grid; grid-template-columns: repeat(3, minmax(0px, 1fr)); gap: 16px;}
.enhanced .toast{position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: var(--raised); border: 1px solid var(--accent); padding: 12px 22px; border-radius: 5px; z-index: 80; box-shadow: rgba(0, 0, 0, 0.4) 0px 10px 30px; max-width: 90%; font-size: 0.85rem;}
.enhanced .empty{padding: 30px 0px; color: var(--muted); font-size: 0.9rem;}
.enhanced .medic{--med-accent: var(--accent); --med-muted: var(--muted); --stella-card: var(--surface); --stella-border: var(--line); max-width: none;}
.enhanced .medic .med-hero{background: transparent; border-top: 0px; border-right: 0px; border-left: 0px; border-image: none; border-bottom: 1px solid var(--line); border-radius: 0px; padding: 22px 0px 24px; margin-bottom: 24px;}
.enhanced .med-hero h2{font-size: 2.05rem;}
.enhanced .med-kicker{color: var(--accent);}
.enhanced .med-hero p{color: var(--muted);}
.enhanced .med-grid{grid-template-columns: minmax(260px, 310px) minmax(0px, 1fr); gap: 26px;}
.enhanced .med-panel{background: transparent; border: 0px; border-radius: 0px; padding: 0px;}
.enhanced .med-summary{border-top: 0px; border-right: 0px; border-bottom: 0px; border-image: none; border-left: 3px solid var(--accent); border-radius: 0px; background: var(--surface); padding: 16px 20px;}
.enhanced .illness-result{border-radius: 5px; padding: 20px;}
.enhanced .med-two{grid-template-columns: 1fr; gap: 16px;}
.enhanced .medic .med-chip{border-color: var(--line); border-radius: 3px; font-size: 0.68rem;}
.enhanced .medic a{color: var(--accent);}
.enhanced .medic .form-control,.enhanced .medic .form-select{background: var(--bg); color: var(--text); border-color: var(--line);}
.enhanced .symptom-toggle{background: var(--surface); border-color: var(--line); border-radius: 5px;}
.enhanced .symptom-toggle[aria-disabled="true"]{background: var(--bg);}
.enhanced .medic .btn{background: var(--raised); border-color: var(--line); color: var(--text); border-radius: 5px;}
.enhanced .med-stage{border-color: var(--accent);}
.enhanced .med-two h5,.enhanced .med-stage h5{margin: 0px 0px 8px;}
.enhanced .med-urgent,.enhanced .med-conflict,.enhanced .med-empty{border-radius: 5px;}
.enhanced .med-stage li{color: var(--muted);}
.enhanced .med-check{color: var(--muted);}
.enhanced .med-card-state{color: var(--second);}
.enhanced .med-questions{border-color: var(--line);}
.enhanced .med-chip{color: var(--muted);}
.enhanced .medic .illness-result h4{font-size: 1.15rem;}
@keyframes terrain-drift { 
  0% { transform: scale(1); }
  100% { transform: scale(1.06) translateX(-1%); }
}
@keyframes scan { 
  100% { transform: translateY(0px); }
}
@keyframes page-in { 
  0% { opacity: 0.5; transform: translateY(4px); }
  100% { opacity: 1; transform: translateY(0px); }
}

@media (prefers-reduced-motion: reduce){.enhanced *,.enhanced ::before,.enhanced ::after{animation: auto ease 0s 1 normal none running none !important; transition: none !important; scroll-behavior: auto !important;}}
@media (min-width: 1800px){
.enhanced .terrain-banner{margin-inline: -48px; padding-inline: 48px; height: 340px;}}
@media (max-width: 1180px){




.enhanced .terrain-banner{margin-inline: -25px; padding-inline: 25px;}
.enhanced .launch-grid{grid-template-columns: repeat(2, minmax(0px, 1fr));}
.enhanced .two-column{gap: 24px;}
.enhanced .file-layout{grid-template-columns: 220px minmax(0px, 1fr);}
.enhanced .med-grid{grid-template-columns: minmax(230px, 270px) minmax(0px, 1fr);}
.enhanced .med-controls{flex-direction: column;}
.enhanced .med-controls select{max-width: 100%;}
.enhanced .map-overview{grid-template-columns: 1fr 1fr;}
.enhanced .page-heading{align-items: flex-start;}
.enhanced .page-heading .button{flex-shrink: 0; max-width: 200px;}
.enhanced .form-grid{gap: 12px;}}
@media (max-width: 920px){






.enhanced .mobile-menu{display: inline-flex;}
.enhanced .two-column{gap: 25px;}
.enhanced .med-grid{grid-template-columns: 280px minmax(0px, 1fr);}
.enhanced .page{min-height: 65vh;}
.enhanced .page-footer{flex-wrap: wrap;}}
@media (max-width: 680px){






.enhanced .map-control{gap: 0px;}
.enhanced .map-control > svg{display: none;}
.enhanced .map-control select{width: 113px; font-size: 0.8rem; padding: 8px;}


.enhanced .context-line{padding: 15px 0px; font-size: 0.65rem;}
.enhanced .context-line .version{display: none;}
.enhanced .terrain-banner{margin-inline: -17px; padding: 25px 17px; height: 300px;}
.enhanced .terrain-banner::after{background: linear-gradient(90deg, rgba(7, 16, 14, 0.91), rgba(7, 16, 14, 0.667) 65%, rgba(7, 16, 14, 0.333));}
.enhanced .banner-content h1{font-size: 2.25rem; max-width: 280px;}
.enhanced .banner-content > p:not(.eyebrow){max-width: 300px; font-size: 0.9rem;}
.enhanced .terrain-caption{right: 17px; font-size: 8px;}
.enhanced .search-bar.large input{font-size: 0.86rem;}
.enhanced .stat-strip{grid-template-columns: 1fr 1fr; gap: 22px;}
.enhanced .stat-strip > div:nth-child(3){border-left: 0px; padding-left: 0px;}
.enhanced .stat-strip strong{font-size: 1.45rem;}
.enhanced .launch-grid{gap: 10px;}
.enhanced .launch-card{padding: 16px; min-height: 175px;}
.enhanced .launch-card h3{font-size: 0.95rem;}
.enhanced .launch-card p{font-size: 0.77rem;}
.enhanced .launch-card > svg{margin-bottom: 15px;}
.enhanced .two-column,.enhanced .guide-grid,.enhanced .map-overview,.enhanced .recipe-ingredients,.enhanced .settings-grid{grid-template-columns: 1fr;}
.enhanced .two-column{gap: 26px;}
.enhanced .section-heading{align-items: flex-start;}
.enhanced .section-heading .text-link{font-size: 0.68rem;}
.enhanced .page-heading{flex-direction: column; padding-top: 17px; gap: 14px;}
.enhanced .page-heading h1{font-size: 1.85rem;}
.enhanced .page-heading .button{max-width: 100%;}
.enhanced .filters{gap: 10px;}
.enhanced .filters label:not(.search-bar){flex: 1 1 0%; min-width: 130px;}
.enhanced .filters .search-bar{flex-basis: 100%;}
.enhanced .table-wrap table{min-width: 630px;}
.enhanced .table-wrap td:first-child{max-width: 220px;}
.enhanced .form-grid{grid-template-columns: 1fr 1fr;}
.enhanced .file-layout{grid-template-columns: 1fr;}
.enhanced .file-layout nav{position: static; max-height: 240px;}
.enhanced .file-layout article{padding-top: 12px;}
.enhanced .med-grid{grid-template-columns: 1fr;}
.enhanced .medic .med-hero h2{font-size: 1.85rem;}
.enhanced .symptom-grid{grid-template-columns: repeat(3, minmax(0px, 1fr));}
.enhanced .symptom-toggle{min-height: 80px; font-size: 0.75rem;}
.enhanced .med-controls{flex-direction: row;}
.enhanced .med-controls select{max-width: 180px;}
.enhanced .med-panel{padding-bottom: 24px; border-bottom: 1px solid var(--line);}
.enhanced .medic .med-summary{padding: 16px;}
.enhanced .medic .med-results{min-width: 0px;}
.enhanced .medic .illness-result{padding: 16px;}
.enhanced .map-overview img{max-height: 380px;}
.enhanced .map-overview dl{font-size: 0.8rem;}
.enhanced .control-key{min-width: 140px; max-width: 100%; padding-right: 8px;}
.enhanced .control-strip{gap: 8px;}
.enhanced .control-key kbd{width: 45px;}
.enhanced .control-key span{font-size: 0.76rem;}
.enhanced .page-footer{font-size: 0.6rem;}

.enhanced #dialog-body{padding: 17px;}
.enhanced #dialog-body dl{grid-template-columns: 1fr 1fr;}
.enhanced .dialog-top{padding: 14px;}
.enhanced .guide-entry{padding: 14px 0px;}
.enhanced .form-grid input{width: 100%;}
.enhanced .output-grid{gap: 12px;}}
@media (max-width: 370px){

.enhanced .launch-grid{grid-template-columns: 1fr;}
.enhanced .symptom-grid{grid-template-columns: 1fr 1fr;}
.enhanced .form-grid{grid-template-columns: 1fr;}
.enhanced .context-line{font-size: 0.6rem;}}
@media print{.enhanced .page-footer,.enhanced .button,.enhanced .icon-button{display: none !important;}


.enhanced .page[hidden]{display: none !important;}

.enhanced pre{color: black; background: white;}
.enhanced .terrain-banner{display: none;}}
.enhanced .table-wrap{position: relative; contain: paint;}


.enhanced .medic .med-check{flex-direction: row; align-items: flex-start; font-weight: 400;}
.enhanced .map-tiles{display: grid; grid-template-columns: repeat(4, minmax(0px, 1fr)); grid-template-rows: repeat(4, minmax(0px, 1fr)); aspect-ratio: 1 / 1; overflow: hidden; background: rgb(20, 32, 28); width: 100%;}
.enhanced .map-tiles img{width: 100%; height: 100%; object-fit: fill; border: 0px; max-height: none; display: block;}
.enhanced .map-overview .map-tiles{border: 1px solid var(--line);}
.enhanced .terrain-banner .map-tiles{position: absolute; top: 50%; left: 0px; right: 0px; z-index: -3; transform: translateY(-50%); opacity: 0.85; animation: 34s ease-in-out 0s infinite alternate none running tiles-drift;}



@keyframes tiles-drift { 
  0% { transform: translateY(-50%) scale(1); }
  100% { transform: translateY(-48%) scale(1.04); }
}