/* 001 outer theme; detailed native phone artwork is ported from the supplied guide. */
.steward-tabs button>img{width:28px;height:28px;object-fit:contain;border-radius:4px;display:block}
.pilot-qr-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:24px}.pilot-qr-card{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);padding:18px 12px;cursor:zoom-in}.pilot-qr-card:hover{border-color:var(--primary)}.pilot-qr-card strong{font-size:17px}.pilot-qr-card>span{font-size:12px;color:var(--muted)}.pilot-qr-card img{width:100%;max-width:261px;height:auto;aspect-ratio:1;object-fit:contain;margin:9px 0}.pilot-qr-card .qr-enlarge-hint{color:var(--primary)}.pilot-qr-note{font-size:12px;line-height:1.8;color:var(--muted)}.pilot-qr-preview{width:min(374px,calc(100% - 24px));padding:20px;max-height:calc(100dvh - 24px);box-sizing:border-box;border-radius:14px;background:var(--paper);color:var(--ink)}.pilot-qr-preview::backdrop{background:#071b14db}.pilot-qr-preview header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.pilot-qr-preview h2{font-size:18px;line-height:1.5;margin:0;padding:0}.pilot-qr-preview>img{width:261px;max-width:100%;height:auto;display:block;margin:0 auto;touch-action:pan-y pinch-zoom;user-select:none;-webkit-user-select:none}.qr-preview-nav{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:18px}.qr-preview-nav button{border:1px solid var(--line);background:transparent;color:var(--primary);width:38px;height:38px;font-size:21px;border-radius:6px}.qr-preview-nav span{min-width:40px;text-align:center;font-size:14px;font-variant-numeric:tabular-nums}.pilot-qr-preview>p{font-size:12px;color:var(--muted);line-height:1.8;text-align:center;margin:13px 0 0}
@media(max-width:700px){.pilot-qr-grid{gap:8px;margin-top:18px}.pilot-qr-card{padding:12px 5px;gap:4px}.pilot-qr-card strong{font-size:12px}.pilot-qr-card>span{font-size:11px}.pilot-qr-card img{margin:5px 0}.pilot-qr-preview{padding:18px}.pilot-qr-preview h2{font-size:17px}.pilot-qr-card .qr-enlarge-hint{font-size:10px}}
.steward-dialog{width:min(1120px,calc(100% - 32px));max-height:calc(100dvh - 32px);padding:24px 28px;border-radius:16px}.steward-heading{gap:16px}.steward-heading h2{font-size:26px}.steward-need{margin:10px 0 15px}.steward-tabs{justify-content:flex-start;gap:12px;padding-bottom:14px;margin-bottom:18px}.steward-tabs button{flex:0 0 56px;display:grid;place-items:center;height:48px;padding:8px;border-radius:8px}.steward-tabs svg{width:28px;height:28px;display:block}.steward-tabs [aria-selected=true]{box-shadow:inset 0 -3px 0 var(--accent)}.steward-tabs [title]:hover{filter:brightness(1.12)}.steward-account{padding-bottom:12px}.steward-account input{font-size:27px}.steward-dialog .copy-status:empty{display:none}.steward-dialog .copy-status{margin:7px 0 12px;min-height:0}.hifi-instructions{min-width:0;margin-top:14px}.hifi-instructions .guide-toolbar{font-size:12px;color:var(--primary);margin:0 0 12px}.hifi-instructions .guide-toolbar button{width:36px;height:34px;border-radius:6px;color:var(--primary);border:1px solid var(--line);font-size:20px;background:transparent}.hifi-instructions .guide-stage{overflow-x:auto;overflow-y:hidden;scroll-snap-type:none!important;scroll-behavior:auto!important;touch-action:pan-x pan-y pinch-zoom;overscroll-behavior-x:contain;scrollbar-color:var(--primary) #e7e8e1;cursor:grab;padding:0 3px 10px;user-select:none}.hifi-instructions .guide-stage.is-dragging{cursor:grabbing}.hifi-instructions .guide-track{display:grid;grid-auto-flow:column;grid-auto-columns:360px;gap:20px;width:100%;list-style:none;margin:0;padding:0}.hifi-instructions .guide-step{scroll-snap-align:none!important;scroll-snap-stop:normal!important;padding:0 7px;box-sizing:border-box}.hifi-instructions .guide-step-top{min-height:30px;margin-bottom:8px}.hifi-instructions .guide-step-top>span{background:var(--primary);color:#fff;width:25px;height:25px;font-size:13px}.hifi-instructions .guide-step h3{font-size:16px}.hifi-instructions .guide-step>p{font-size:13px;line-height:1.7;color:var(--muted);margin:10px 5px 0}.hifi-instructions .guide-step:not(:last-child):after{background:var(--accent);top:230px;right:-20px}.hifi-instructions .guide-device{width:232px;height:426px;padding:3px;border:2px solid #52595b;border-radius:29px;overflow:visible;background:linear-gradient(110deg,#16191a,#7b8283 49%,#0c0e0f);box-shadow:0 3px 5px #0b241b25}.hifi-instructions .guide-screen{height:100%;background:#efeff3;border-radius:23px;color:#111}.hifi-instructions .native-content{font-size:12px}.hifi-instructions .native-bar>strong{font-size:14px}.hifi-instructions .native-chat strong{font-size:12px}.hifi-instructions .native-chat small{font-size:10px}.hifi-instructions .native-menu{width:132px}.hifi-instructions .native-menu>div{font-size:12px;min-height:40px}.hifi-instructions .native-search-field{font-size:15px;height:33px}.hifi-instructions .native-result{font-size:13px;padding-block:13px}.hifi-instructions .native-result strong{font-size:13px}.hifi-instructions .native-row strong{font-size:12px}.hifi-instructions .native-row small{font-size:9px}.hifi-instructions .native-profile strong{font-size:15px}.hifi-instructions .native-profile span:not(.native-profile-avatar){font-size:11px}.hifi-instructions .native-profile-row{font-size:13px;padding-block:16px}.hifi-instructions .native-santiao-profile>strong{font-size:14px}.hifi-instructions .native-santiao-profile>span:last-child{font-size:12px}.hifi-instructions .native-profile-actions>div{font-size:11px}.hifi-instructions .guide-track[data-channel=santiao] .guide-screen{background:#090909;color:#ccc}.hifi-note{margin:9px 0 0;font-size:12px;color:var(--muted);line-height:1.7}.steward-footer{margin-top:15px;padding-top:13px}.practice-person [data-name]{padding:8px 11px;background:var(--paper);border:1px solid var(--line);border-radius:7px;color:var(--ink);font-size:14px;white-space:nowrap}.native-keyboard{position:absolute;left:0;right:0;bottom:11px;background:#d1d5dc;padding:7px 3px 10px;color:#111;z-index:2;box-shadow:0 -1px 0 #aaa}.native-keyboard>div{display:flex;justify-content:center;gap:3px;margin:0 0 7px}.native-keyboard span{display:grid;place-items:center;background:#fff;box-shadow:0 1px 1px #8888;min-width:0;flex:1;max-width:22px;height:26px;font:11px/1 Arial,sans-serif;border-radius:3px}.native-keyboard>div:nth-child(2){padding:0 8px}.native-keyboard>div:nth-child(3){padding:0 18px}.native-keyboard .keyboard-bottom{margin:0}.native-keyboard .keyboard-bottom span{max-width:none;flex:1;font-size:10px}.native-keyboard .keyboard-bottom span:nth-child(2){flex:3}.native-keyboard .keyboard-bottom span:last-child{background:#1585ef;color:#fff}.guide-track[data-channel=santiao] .native-keyboard{background:#202124;color:#ddd}.guide-track[data-channel=santiao] .native-keyboard span{background:#44464a;color:#eee}.guide-track[data-channel=santiao] .native-keyboard .keyboard-bottom span:last-child{background:#17a66a}.guide-stage:focus-visible{outline:3px solid var(--primary);outline-offset:3px}
@media(max-width:700px){.steward-dialog{width:calc(100% - 20px);padding:18px 14px;max-height:calc(100dvh - 20px)}.steward-heading h2{font-size:23px}.steward-need{font-size:13px}.steward-tabs{gap:10px;margin-bottom:15px}.steward-tabs button{flex-basis:52px;height:46px}.steward-tabs svg{width:26px;height:26px}.hifi-instructions .guide-track{grid-auto-columns:250px;gap:24px}.hifi-instructions .guide-device{width:218px;height:405px}.hifi-instructions .guide-step h3{font-size:15px}.hifi-instructions .guide-step>p{font-size:12px}.hifi-instructions .guide-toolbar{font-size:11px}.hifi-instructions .guide-step:not(:last-child):after{right:-23px}.steward-account input{font-size:25px}.steward-footer{gap:12px}.hifi-note{font-size:11px}.steward-context{font-size:12px}.steward-dialog [role=tabpanel]>h3{font-size:21px}}

/* Fixed quick actions */
.floating-actions{position:fixed;z-index:15;right:24px;bottom:calc(24px + env(safe-area-inset-bottom,0px));display:flex;gap:10px;align-items:center;max-width:calc(100vw - 32px)}
.floating-actions .chat-launcher{position:static;flex:0 0 auto;margin:0}
.back-to-top{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;background:var(--paper);color:var(--primary);border:1px solid var(--line);border-radius:50%;box-shadow:0 5px 20px #0002;cursor:pointer}
.back-to-top:hover{background:var(--primary);color:#fff}.back-to-top:focus-visible{outline:3px solid var(--primary);outline-offset:4px}
.chat-panel{bottom:calc(90px + env(safe-area-inset-bottom,0px));max-height:calc(100dvh - 130px - env(safe-area-inset-bottom,0px))}
@media(max-width:700px){.floating-actions{right:15px;bottom:calc(16px + env(safe-area-inset-bottom,0px));gap:9px}.chat-panel{bottom:calc(78px + env(safe-area-inset-bottom,0px));max-height:calc(100dvh - 116px - env(safe-area-inset-bottom,0px))}.back-to-top{width:44px;height:44px}}

.footer-domain { display: inline-block; margin-block: 4px 6px; color: var(--primary); font-size: .9rem; text-decoration: underline; text-underline-offset: .2em; }
