
/* Dedicated phone layout. Loaded only at 740px and below. */
html{scroll-padding-top:16px;scroll-padding-bottom:7rem}
.app-shell{width:100%;max-width:600px;padding:0 15px calc(88px + env(safe-area-inset-bottom,0px))}
.secondary-view .app-shell{padding-bottom:18px}
.config-panel{z-index:10}
.page-circuits{opacity:.4}.topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 12px;padding-top:14px;min-height:113px;align-items:center}.topbar:after{left:-15px;right:-15px}.brand{font-size:19px;gap:10px;letter-spacing:-.6px;min-width:0}.brand-icon{width:34px;height:34px;border-radius:6px}.brand-icon .icon{width:25px;height:25px}.brand-wordmark{overflow-wrap:anywhere}.topbar-right{gap:0}.local-label{display:none}.demo-badge{font-size:12px;gap:5px;padding:6px 8px}.demo-badge .icon{width:13px;height:13px}.main-nav{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:8px 0 0;min-height:46px;width:100%}.nav-link{font-size:12px;gap:5px;padding:6px 2px 13px;min-height:46px}.nav-link .icon{width:16px;height:16px}.nav-link.active:after{bottom:2px;left:10px;right:10px;height:2px}
.intro{display:block;padding:23px 3px 20px;min-height:0}.eyebrow{font-size:12px;letter-spacing:.03em;gap:7px}.eyebrow>span:last-child{margin-left:0}h1{font-size:clamp(31px,7.5vw,43px);letter-spacing:-1.2px;line-height:1.12;margin:12px 0 9px}h1>span{white-space:normal}.intro-copy>p{font-size:14px;line-height:1.5}.system-overview{max-width:none;margin-top:18px}.session-counter{display:none}.system-cards{gap:8px;margin-top:0}.system-card{gap:9px;padding:9px;min-height:49px;border-color:#2a58325c;border-radius:7px}.system-card>.icon{width:24px;height:24px}.system-card span{font-size:12px}.system-card strong{font-size:12px;overflow-wrap:anywhere}.system-card>div{min-width:0}.workspace{display:flex;flex-direction:column;gap:15px}.framed-panel{clip-path:none;border:1px solid #53884b66;border-radius:13px;background:linear-gradient(130deg,#153e1f33,#0c211888);overflow:visible}.framed-panel:before{clip-path:none;border-radius:inherit;inset:0;background:linear-gradient(135deg,#091c13ed,#03100cf7);box-shadow:inset 0 1px 0 #91d57722}.framed-panel:after{display:none}.config-panel,.scanner-panel{padding:19px 17px}.panel-heading{gap:10px;min-height:43px}.panel-icon{width:33px;height:34px;border-radius:7px}.panel-icon .icon{width:23px;height:23px}.panel-heading h2{font-size:17px}.panel-heading p{font-size:12px;line-height:1.4;max-width:29ch}.panel-code{display:none}.config-panel .panel-heading{padding-bottom:13px;margin-bottom:13px}.field-heading label,legend{font-size:14px}.input-wrap{height:52px;border-radius:8px;gap:12px;padding:0 13px}.input-wrap input{font-size:16px}.input-end{min-width:36px}.field-hint{font-size:12px;margin:7px 0 17px}.field-error{font-size:14px}.provider-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.provider-card{height:96px;border-radius:8px;padding:3px;gap:3px}.provider-mark{height:49px;width:92px}.provider-name{font-size:14px}.provider-choice{width:14px;height:14px;top:8px;right:8px}.provider input:checked+.provider-card .provider-choice:after{left:4px;top:2px}.selection-line{font-size:12px;letter-spacing:0;margin:16px 0 0;gap:9px;flex-wrap:wrap}.privacy-line{font-size:12px;margin-top:13px;justify-content:flex-start;align-items:flex-start;line-height:1.5}.privacy-line .icon{margin-top:1px}
.form-actions{position:fixed;z-index:15;inset:auto 0 0;gap:10px;padding:12px max(15px,calc((100vw - 570px)/2)) calc(12px + env(safe-area-inset-bottom,0px));background:#04110df5;border-top:1px solid #5e8c3677;box-shadow:0 -10px 30px #0006;backdrop-filter:blur(18px)}.form-actions .primary-button{min-width:0;min-height:53px;border-radius:9px;font-size:16px;gap:9px;padding:0 28px}.form-actions .button-arrow{font-size:22px;right:12px}.form-actions .primary-button:disabled{font-size:14px}.form-actions .primary-button:disabled #run-icon,.form-actions .primary-button:disabled .button-arrow{display:none}.form-actions .cancel-button{min-height:53px;flex-shrink:0;padding:0 13px}.dialog-open .form-actions{visibility:hidden}.scanner-panel{scroll-margin-top:14px;padding-bottom:22px}.scanner-panel:focus-visible{outline:2px solid var(--green);outline-offset:3px}.engine-state-row{margin-top:6px;height:24px}.scanner-status{padding:4px 11px}.radar-area{height:auto;flex:0 0 auto;display:flex;align-items:center;justify-content:center;min-height:291px;padding:14px 0 9px;gap:0}.radar{width:min(275px,90%);flex-shrink:0}.radar-core{inset:28%}.core-symbol{font-size:36px;height:29px}.core-value{font-size:25px}.core-label{font-size:12px;letter-spacing:-.6px}.telemetry{display:none}.radar-coordinate{font-size:12px;margin-top:7px}.scan-info{align-items:flex-start;font-size:14px;gap:9px;margin-top:9px}.scan-info>span{flex-shrink:0}.scan-info strong{line-height:1.5}.progress-track{height:7px;margin:13px 0 17px}.scan-steps{gap:11px}.scan-steps li{flex-direction:column;align-items:flex-start;gap:0}.scan-steps li:not(:last-child):after{display:block;left:42px;right:4px;top:15px}.step-number{width:31px;height:31px;border-radius:11px}.scan-steps strong{font-size:14px;margin:9px 0 4px;background:transparent}.scan-steps small{font-size:12px;max-width:13ch;line-height:1.5}.result{margin-top:20px;padding:11px}
.terminal-panel{margin-top:15px;padding:0 7px 7px}.terminal-heading{padding:10px 5px;gap:8px}.terminal-heading-left{gap:8px}.terminal-symbol{width:27px;height:29px}.terminal-symbol .icon{width:22px;height:22px}.terminal-heading h2{font-size:14px}.terminal-path{display:none}.terminal-tools{gap:8px}.terminal-live{font-size:12px;gap:5px}.terminal-live:before{width:6px;height:6px}.clear-button{min-height:34px;width:34px;padding:7px;justify-content:center}.clear-button .icon{height:17px;width:17px}.clear-button span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.terminal-body{height:173px;padding:12px 13px}.log-row{grid-template-columns:91px minmax(0,1fr);gap:1px 10px;line-height:1.7;font-size:12px;margin-bottom:10px;padding-left:2px}.log-row>span:last-child{grid-column:1/-1}.terminal-watermark{font-size:21px;right:15px;bottom:10px}.terminal-watermark span{font-size:12px}.footer{flex-direction:column;align-items:flex-start;gap:9px;padding:18px 3px 12px;font-size:12px;line-height:1.6}.footer-label{display:block;margin:0 0 3px}.footer-signature{font-size:12px}
.route-panel{padding:21px 17px;min-height:380px}.route-heading{align-items:flex-start;flex-direction:column;gap:15px;margin-bottom:21px}.route-heading h2{font-size:27px;margin-top:9px}.route-heading p{font-size:14px;line-height:1.6}.route-heading .secondary-button{min-height:42px}.history-stats{gap:8px;margin-bottom:18px}.history-stats>div{padding:12px 9px}.history-stats span{font-size:12px;letter-spacing:-.6px}.history-stats strong{font-size:27px;margin-top:6px}.history-empty{padding:25px 0 13px}.history-empty h3{font-size:20px}.history-empty p{font-size:14px;line-height:1.6}.history-row{grid-template-columns:1fr 1fr;gap:14px;padding:15px}.history-cell:first-child{grid-column:1/-1;display:flex;align-items:center;gap:9px;flex-wrap:wrap;border-bottom:1px solid #2c4c2b88;padding-bottom:9px}.history-cell:first-child>span{margin:0}.history-cell:first-child>time{margin:0 0 0 auto}.history-cell>strong{font-size:14px}.history-cell>span{font-size:12px}.history-row>.history-cell:last-child{text-align:right}.history-row>.history-cell:last-child .secondary-button{min-height:42px}.history-note{font-size:12px;line-height:1.6}.guide-badge{display:none}.guide-grid{grid-template-columns:1fr;gap:12px;margin-bottom:20px}.guide-grid article{padding:18px}.guide-grid h3{display:inline-block;margin:0 0 0 10px;font-size:17px;vertical-align:middle}.guide-number{width:32px;height:32px;font-size:12px;vertical-align:middle}.guide-grid p{margin-top:13px;font-size:14px}.guide-faq summary{font-size:14px;line-height:1.5;padding-top:16px;padding-bottom:16px}.guide-faq details p{font-size:14px;line-height:1.6}
.completion-dialog{width:100%;max-width:600px;max-height:calc(100dvh - 12px);margin:auto auto 0;padding:30px 22px calc(19px + env(safe-area-inset-bottom,0px));border-radius:21px 21px 0 0;border-bottom:0}.completion-dialog:before{content:"";position:absolute;top:9px;left:50%;transform:translateX(-50%);width:42px;height:4px;border-radius:4px;background:#5d7c46}.completion-dialog[open]{animation:sheet-enter .24s ease-out}.dialog-close{width:44px;height:44px;top:13px;right:8px}.completion-eyebrow{font-size:12px;max-width:calc(100% - 40px);margin:5px auto 13px;letter-spacing:0}.completion-symbol{height:38px;width:38px;font-size:22px}.completion-percent{font-size:34px}.completion-dialog h2{font-size:24px;margin:8px 0 7px}.completion-dialog>p{font-size:14px;line-height:1.5}.completion-summary{padding-top:14px;font-size:12px;gap:7px}.completion-details{margin-bottom:16px}.completion-details>div{padding:7px 0;gap:12px}.completion-details dt,.completion-details dd{font-size:14px}.completion-details .detail-highlight{padding:11px}.detail-highlight dd{font-size:16px}.destination-button{min-height:53px;border-radius:9px}.completion-dialog .destination-hint{font-size:12px;margin-top:10px}
@media(max-width:380px){.app-shell{padding-left:12px;padding-right:12px}.brand{font-size:16px;gap:7px}.brand-icon{width:30px;height:32px}.demo-badge{padding:6px;font-size:12px;gap:4px}.demo-badge .icon{display:none}.nav-link{font-size:12px;gap:4px}.nav-link .icon{width:14px;height:14px}.eyebrow{letter-spacing:0;font-size:12px;gap:5px}.config-panel,.scanner-panel{padding:17px 14px}.system-card{padding:8px 7px;gap:6px}.system-card>.icon{width:19px;height:19px}.system-cards{gap:6px}.provider-grid{gap:8px}.selection-line{gap:7px}.scan-steps{gap:8px}.terminal-live{font-size:12px}.terminal-tools{gap:5px}.completion-dialog{padding-left:17px;padding-right:17px}.completion-summary{font-size:12px}.completion-status{font-size:12px}.completion-details dt{font-size:14px}.route-panel{padding:19px 14px}.history-stats>div{padding:11px 7px}}
@media(max-height:480px){.form-actions{position:static;margin-top:17px;padding:0;box-shadow:none;backdrop-filter:none;background:transparent;border:0}.app-shell{padding-bottom:16px}}
@keyframes sheet-enter{from{opacity:0;transform:translateY(35px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

