/* TP-PORTAL-ONLY-20261014 — previous document portal, shared KO / EN. */
body .hero-visual.home-hero-spatial.tp-portal[data-home-portal] {
 position:relative!important;display:block!important;width:100%!important;max-width:760px!important;
 height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;
 background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important;
 color:#1b2d43;font-family:inherit;text-align:left;line-height:1.4;isolation:isolate;min-width:0;
}
body .tp-portal[data-home-portal]::before,body .tp-portal[data-home-portal]::after{display:none!important}
body .tp-portal__fallback{padding:28px;min-height:350px;display:flex;align-items:center;justify-content:center;color:#61718a;border:1px solid #d2dce7;border-radius:28px;background:#f4f8fb}

/* Previous presentation and its four scenes preserved. */
/* Isolated, opt-in portal concept. Existing hero and deferred review proposal stay intact. */
body .hero-visual.home-hero-spatial.tp-portal[data-hero-variant="portal"][data-home-portal] {
    --p-ink:#1b2d43; --p-muted:#61718a; --p-line:#d2dce7; --p-red:#bf263c;
    --p-surface:#fff; --p-blue:#266297; --p-soft:#edf3f8;
    width:100%!important; max-width:760px; height:610px!important; min-height:610px!important; max-height:none!important;
    position:relative!important; margin:0!important; padding:0!important; overflow:hidden!important;
    color:var(--p-ink); background:transparent!important; border:0!important; box-shadow:none!important;
    isolation:isolate; container-type:inline-size; font-family:inherit; text-align:left; line-height:1.4;
}
body .tp-portal[data-hero-variant="portal"][data-home-portal]::before,body .tp-portal[data-hero-variant="portal"][data-home-portal]::after { display:none!important; }
.tp-portal[data-hero-variant="portal"] *, .tp-portal[data-hero-variant="portal"] *::before,.tp-portal[data-hero-variant="portal"] *::after { box-sizing:border-box; }
.tp-portal[data-hero-variant="portal"] button { font-family:inherit; cursor:pointer; }
.tp-portal[data-hero-variant="portal"] button:focus-visible { outline:3px solid #2986dc; outline-offset:4px; }
.tp-portal__header { position:absolute; top:8px; left:18px; right:14px; display:flex; justify-content:space-between; align-items:center; height:40px; z-index:5; }
.tp-portal__identity { display:flex; align-items:center; gap:10px; color:var(--p-muted); font-size:10px; font-weight:650; letter-spacing:2px; }
.tp-portal__identity i { width:7px; height:14px; display:block; background:var(--p-red); box-shadow:4px -3px 0 -1px var(--p-red); }
.tp-portal__toggle { display:grid; place-items:center; min-width:40px; height:40px; padding:0; border-radius:50%; border:1px solid var(--p-line); color:var(--p-ink); background:var(--p-surface); font-size:15px; transition:background .2s,transform .2s; }
.tp-portal__toggle:hover { background:var(--p-soft); transform:translateY(-1px); }
.tp-portal__toggle:disabled { cursor:default; opacity:.55; }
.tp-portal__stage { position:absolute; left:0; right:0; top:45px; height:395px; overflow:hidden; }
.tp-portal__ambient { position:absolute; inset:0; background:radial-gradient(ellipse at 47% 47%,rgba(199,39,66,.055),transparent 53%),radial-gradient(ellipse at 78% 41%,rgba(33,128,188,.07),transparent 60%); }
.tp-portal__network { position:absolute; width:100%; height:100%; inset:0; color:var(--p-blue); stroke:currentColor; stroke-width:.8; opacity:.22; }
.tp-portal__route { stroke-dasharray:3 7; }
.tp-portal__network circle[r="5"],.tp-portal__network circle[r="4"] { fill:currentColor; }
.tp-portal__globe { transform-origin:424px 193px; animation:tp-portal-globe 14s ease-in-out infinite alternate; }
.tp-portal__gate { position:absolute; width:43%; height:81%; top:5%; left:31%; border:2px solid rgba(181,28,53,.7); border-radius:24px; box-shadow:inset 0 0 0 7px rgba(235,189,196,.18),0 15px 50px -30px rgba(158,27,49,.3); }
.tp-portal__gate-inner { position:absolute; inset:9px; border:1px solid rgba(191,38,60,.18); border-radius:15px; background:linear-gradient(140deg,rgba(255,255,255,.5),rgba(224,237,247,.25)); }
.tp-portal__gate-caption { position:absolute; top:-9px; left:20px; padding:0 9px; background:#f6f8fb; font-size:9px; letter-spacing:2px; color:var(--p-red); font-weight:650; }
.tp-portal__gate-light { position:absolute; width:5px; height:35px; top:27px; right:-3px; border-radius:4px; background:#e3536c; box-shadow:0 0 12px #e45f79; animation:tp-portal-light 5.8s ease-in-out infinite; }
.tp-portal__floor { position:absolute; left:19%; width:64%; bottom:21px; height:20px; border-radius:50%; background:radial-gradient(ellipse,rgba(21,47,76,.16),transparent 70%); }
.tp-portal__scene { position:absolute; inset:0; opacity:0; visibility:hidden; pointer-events:none; transition:opacity .55s ease,visibility .55s; }
.tp-portal[data-hero-variant="portal"][data-scene="0"] [data-portal-scene="0"],.tp-portal[data-hero-variant="portal"][data-scene="1"] [data-portal-scene="1"],.tp-portal[data-hero-variant="portal"][data-scene="2"] [data-portal-scene="2"] { opacity:1; visibility:visible; }
.tp-portal__paper { position:absolute; background:var(--p-surface); color:var(--p-ink); border:1px solid var(--p-line); border-radius:5px; box-shadow:0 22px 28px -22px rgba(25,45,70,.44); padding:20px; }
.tp-portal__main { width:34%; height:70%; top:16%; left:38%; z-index:3; }
.tp-portal__source { width:25%; height:52%; top:24%; left:6%; padding:16px; z-index:1; background:var(--p-soft); }
.tp-portal__paper-top { display:flex; align-items:center; justify-content:space-between; gap:5px; font-size:8px; line-height:1.3; color:var(--p-muted); }
.tp-portal__paper-top b { display:grid; place-items:center; min-width:24px; height:22px; padding:0 5px; background:var(--p-soft); color:var(--p-blue); font-size:10px; border:1px solid var(--p-line); border-radius:3px; }
.tp-portal__paper-title { display:block; font-size:clamp(19px,4.2cqi,29px); line-height:1.12; letter-spacing:-.7px; margin:22px 0 15px; font-weight:700; }
.tp-portal__source .tp-portal__paper-title { font-size:clamp(15px,2.8cqi,21px); margin:20px 0 9px; letter-spacing:-.5px; word-break:keep-all; }
.tp-portal__paper > small { font-size:7px; letter-spacing:1px; color:var(--p-muted); }
.tp-portal__title-dot { color:var(--p-red); }
.tp-portal__rule { width:29px; height:2px; background:var(--p-red); margin-bottom:12px; }
.tp-portal__lines { display:grid; gap:7px; margin-top:17px; }
.tp-portal__lines i { height:3px; background:var(--p-line); border-radius:2px; }
.tp-portal__lines i:nth-child(2) { width:80%; }
.tp-portal__lines i:last-child { width:56%; }
.tp-portal__signature { width:38%; height:16px; margin-top:20px; border-bottom:1px solid var(--p-line); }
.tp-portal__paper-foot { position:absolute; bottom:16px; left:20px; right:16px; color:var(--p-muted); font-size:6px; letter-spacing:.7px; }
.tp-portal__handoff { position:absolute; left:31.5%; top:45%; width:5%; color:var(--p-red); }
.tp-portal__handoff svg { width:100%; }
.tp-portal__destination { position:absolute; right:2%; top:15%; display:flex; gap:7px; align-items:center; color:var(--p-muted); z-index:4; }
.tp-portal__destination > i { width:7px; height:7px; border:2px solid var(--p-blue); border-radius:50%; box-shadow:0 0 0 4px rgba(38,98,151,.08); }
.tp-portal__destination span { font-size:7px; letter-spacing:.9px; }
.tp-portal__destination strong { display:block; font-size:8px; letter-spacing:.3px; margin-top:3px; color:var(--p-ink); }
.tp-portal__locale { position:absolute; left:13%; bottom:12%; display:flex; align-items:center; gap:12px; padding:9px 12px; border:1px solid var(--p-line); border-radius:5px; background:var(--p-surface); color:var(--p-ink); font-size:11px; box-shadow:0 5px 15px -12px #345; z-index:4; }
.tp-portal__locale b { color:var(--p-red); }
.tp-portal__manual { left:29%; width:35%; }
.tp-portal__manual .tp-portal__paper-title { font-size:clamp(17px,3.7cqi,26px); }
.tp-portal__drawing { width:100%; height:79px; margin-top:5px; stroke:var(--p-blue); stroke-width:1.1; }
.tp-portal__language { position:absolute; width:24%; min-height:119px; padding:14px; border:1px solid var(--p-line); border-radius:7px; background:var(--p-surface); box-shadow:0 15px 26px -20px #25466560; z-index:4; }
.tp-portal__language > span { display:flex; align-items:center; gap:8px; color:var(--p-blue); font-size:13px; font-weight:700; }
.tp-portal__language small { font-size:7px; font-weight:500; color:var(--p-muted); letter-spacing:.5px; }
.tp-portal__language strong { display:block; margin-top:13px; font-size:clamp(13px,2.7cqi,18px); line-height:1.2; letter-spacing:-.3px; }
.tp-portal__mini-line { width:40%; height:2px; margin-top:13px; background:var(--p-line); }
.tp-portal__language--en { top:8%; right:5%; }
.tp-portal__language--ja { left:4%; top:49%; }
.tp-portal__language--zh { right:1%; bottom:9%; }
.tp-portal__back-sheet { width:34%; height:68%; top:11%; left:34%; background:#dce7ee; border-color:#c6d4df; }
.tp-portal__certificate { top:18%; height:65%; }
.tp-portal__certificate .tp-portal__paper-title { font-size:clamp(17px,3.5cqi,25px); margin:12px 0; }
.tp-portal__certificate-symbol { width:26px; height:31px; color:var(--p-red); margin-top:15px; }
.tp-portal__certificate-symbol svg { width:100%; height:100%; }
.tp-portal__certificate .tp-portal__lines { margin-top:12px; gap:5px; }
.tp-portal__folder { position:absolute; left:10%; bottom:9%; display:flex; align-items:center; gap:12px; padding:17px 20px; color:#fff; background:#233b55; border-radius:8px; box-shadow:0 14px 25px -16px #1238; z-index:5; }
.tp-portal__folder > span { width:24px; height:29px; color:#d6e2ef; }
.tp-portal__folder svg { width:100%; height:100%; }
.tp-portal__folder small { display:block; color:#c5d9ec!important; font-size:9px; }
.tp-portal__folder strong { display:block; color:#fff!important; font-size:13px; margin-top:4px; font-weight:550; }
.tp-portal__departure { position:absolute; top:17%; left:5%; display:grid; gap:5px; color:var(--p-ink); max-width:28%; }
.tp-portal__departure span { font-size:7px; letter-spacing:.8px; color:var(--p-red); }
.tp-portal__departure strong { font-size:12px; line-height:1.4; }
.tp-portal__departure svg { width:28px; height:28px; margin-top:3px; color:var(--p-red); }
.tp-portal__caption { position:absolute; top:454px; left:20px; right:20px; display:grid; grid-template-columns:44px 1fr; gap:16px; align-items:start; }
.tp-portal__caption > span { font-size:11px; font-variant-numeric:tabular-nums; color:var(--p-red); padding-top:6px; }
.tp-portal__caption h2 { margin:0!important; padding:0!important; color:var(--p-ink)!important; font-size:clamp(20px,3.8cqi,27px)!important; font-weight:650!important; letter-spacing:-.6px; line-height:1.25!important; }
.tp-portal__caption p { margin:8px 0 0!important; padding:0!important; color:var(--p-muted)!important; font-size:13px!important; line-height:1.55!important; max-width:440px; }
.tp-portal__controls { position:absolute; bottom:23px; left:20px; right:20px; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.tp-portal__controls button { position:relative; display:flex; gap:9px; align-items:center; min-height:44px; padding:12px 0 5px; border:0; border-radius:0; border-top:1px solid var(--p-line); background:transparent; color:var(--p-muted); font-size:11px; font-weight:500; text-align:left; }
.tp-portal__controls button[aria-pressed="true"] { color:var(--p-ink); font-weight:700; }
.tp-portal__controls button::before { content:''; position:absolute; left:0; top:-1px; width:0; height:2px; background:var(--p-red); }
.tp-portal__controls button[aria-pressed="true"]::before { width:100%; }
.tp-portal__tab-number { font-size:9px; color:var(--p-muted); }
.tp-portal__sample { position:absolute; bottom:0; right:20px; font-size:9px; color:var(--p-muted); }
.tp-portal__sr { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.tp-portal[data-hero-variant="portal"][data-scene="0"] [data-portal-scene="0"] .tp-portal__source { animation:tp-portal-source 1.1s cubic-bezier(.22,1,.36,1) both; }
.tp-portal[data-hero-variant="portal"][data-scene="0"] [data-portal-scene="0"] .tp-portal__main { animation:tp-portal-arrive 1.25s .2s cubic-bezier(.22,1,.36,1) both; }
.tp-portal[data-hero-variant="portal"][data-scene="0"] .tp-portal__destination { animation:tp-portal-rise 1s .7s both; }
.tp-portal[data-hero-variant="portal"][data-scene="0"] .tp-portal__locale { animation:tp-portal-rise .8s .9s both; }
.tp-portal[data-hero-variant="portal"][data-scene="0"] .tp-portal__handoff { animation:tp-portal-arrow 1.8s .4s ease-in-out 2; }
.tp-portal[data-hero-variant="portal"][data-scene="1"] .tp-portal__manual { animation:tp-portal-rise 1s both; }
.tp-portal[data-hero-variant="portal"][data-scene="1"] .tp-portal__language--en { animation:tp-portal-spread-right 1.1s .3s cubic-bezier(.22,1,.36,1) both; }
.tp-portal[data-hero-variant="portal"][data-scene="1"] .tp-portal__language--ja { animation:tp-portal-spread-left 1.1s .65s cubic-bezier(.22,1,.36,1) both; }
.tp-portal[data-hero-variant="portal"][data-scene="1"] .tp-portal__language--zh { animation:tp-portal-spread-right 1.1s 1s cubic-bezier(.22,1,.36,1) both; }
.tp-portal[data-hero-variant="portal"][data-scene="2"] .tp-portal__back-sheet { animation:tp-portal-rise 1s both; }
.tp-portal[data-hero-variant="portal"][data-scene="2"] .tp-portal__certificate { animation:tp-portal-arrive 1.2s .15s cubic-bezier(.22,1,.36,1) both; }
.tp-portal[data-hero-variant="portal"][data-scene="2"] .tp-portal__folder { animation:tp-portal-rise 1s .65s both; }
.tp-portal[data-hero-variant="portal"][data-scene="2"] .tp-portal__departure { animation:tp-portal-rise 1s .9s both; }
.tp-portal[data-hero-variant="portal"][data-playing="false"] *, .tp-portal[data-hero-variant="portal"][data-playing="false"] *::before { animation-play-state:paused!important; }
/* Selecting a scene while paused shows its settled composition immediately. */
.tp-portal[data-hero-variant="portal"][data-manual-selection="true"] .tp-portal__scene * { animation:none!important; }
.tp-portal[data-hero-variant="portal"][data-reduced-motion="true"] *, .tp-portal[data-hero-variant="portal"][data-reduced-motion="true"] *::before { animation:none!important; transition:none!important; }
@keyframes tp-portal-source { from{opacity:0;transform:translateX(-25px)} to{opacity:.85;transform:translateX(0)} }
@keyframes tp-portal-arrive { from{opacity:0;transform:translate(-28px,15px) scale(.92)} to{opacity:1;transform:translate(0,0) scale(1)} }
@keyframes tp-portal-rise { from{opacity:0;transform:translateY(18px)} to{opacity:1;transform:translateY(0)} }
@keyframes tp-portal-spread-right { from{opacity:0;transform:translate(-45px,15px) scale(.92)} to{opacity:1;transform:translate(0,0) scale(1)} }
@keyframes tp-portal-spread-left { from{opacity:0;transform:translate(40px,12px) scale(.92)} to{opacity:1;transform:translate(0,0) scale(1)} }
@keyframes tp-portal-globe { from{transform:translateX(-3px) scale(.99)} to{transform:translateX(5px) scale(1.02)} }
@keyframes tp-portal-light { 0%,100%{transform:translateY(0);opacity:.1} 25%{opacity:.9} 75%{opacity:.7} 95%{transform:translateY(230px);opacity:0} }
@keyframes tp-portal-arrow { 0%,100%{transform:translateX(-3px);opacity:.35} 50%{transform:translateX(3px);opacity:1} }
html[data-theme="dark"] body .hero-visual.home-hero-spatial.tp-portal[data-hero-variant="portal"][data-home-portal] { --p-ink:#ecf3fb; --p-muted:#a1b3c9; --p-line:#354a61; --p-surface:#172638; --p-soft:#1d3045; --p-red:#f17487; --p-blue:#91c7ef; }
html[data-theme="dark"] .tp-portal__gate { border-color:#b94b5f; box-shadow:inset 0 0 0 7px #b5475c0d,0 20px 70px -30px #e4567524; }
html[data-theme="dark"] .tp-portal__gate-inner { background:linear-gradient(140deg,#8c3e5711,#24619a18); }
html[data-theme="dark"] .tp-portal__gate-caption { background:#101727; }
html[data-theme="dark"] .tp-portal__back-sheet { background:#263d55; border-color:#456078; }
html[data-theme="dark"] .tp-portal__folder { background:#284964; border:1px solid #476782; }
@media(min-width:768px) and (max-width:1279px) {
    body .hero-visual.home-hero-spatial.tp-portal[data-hero-variant="portal"][data-home-portal],
    html[data-theme] body.home .home-premium-hero .hero-visual.tp-portal[data-hero-variant="portal"][data-home-portal] { height:600px!important; min-height:600px!important; }
    .tp-portal__stage { height:360px; }
    .tp-portal__caption { top:422px; gap:10px; grid-template-columns:40px 1fr; }
    .tp-portal__paper { padding:15px; }
    .tp-portal__paper-title { margin-top:17px; }
    .tp-portal__paper-foot { left:15px; font-size:5px; }
    .tp-portal__source { padding:11px; }
    .tp-portal__destination { right:1%; top:5%; }
    .tp-portal__destination strong { font-size:7px; }
    .tp-portal__language { padding:11px; min-height:107px; }
    .tp-portal__controls { gap:9px; }
    .tp-portal__controls button { font-size:10px; gap:6px; }
}
@media(max-width:767px) {
    body .hero-visual.home-hero-spatial.tp-portal[data-hero-variant="portal"][data-home-portal] { height:590px!important; min-height:590px!important; }
    .tp-portal__header { left:10px; right:8px; }
    .tp-portal__identity { font-size:8px; letter-spacing:1.6px; }
    .tp-portal__stage { top:54px; height:335px; }
    .tp-portal__gate { width:48%; left:29%; height:81%; border-radius:19px; }
    .tp-portal__main { left:36%; width:40%; height:70%; padding:13px; }
    .tp-portal__paper-top { font-size:6px; }
    .tp-portal__paper-top b { min-width:21px; height:20px; font-size:9px; }
    .tp-portal__paper-title { font-size:clamp(18px,5.7cqi,23px); margin:20px 0 13px; }
    .tp-portal__source { left:1%; width:28%; height:53%; padding:11px; }
    .tp-portal__source .tp-portal__paper-title { font-size:14px; margin:17px 0 9px; }
    .tp-portal__source > small { font-size:5px; letter-spacing:.3px; }
    .tp-portal__lines { margin-top:14px; gap:6px; }
    .tp-portal__paper-foot { left:13px; right:8px; font-size:4.5px; letter-spacing:.3px; }
    .tp-portal__handoff { left:30%; width:5%; }
    .tp-portal__destination { top:4%; right:1%; }
    .tp-portal__destination span { font-size:5px; }
    .tp-portal__destination strong { font-size:6px; }
    .tp-portal__locale { left:6%; bottom:6%; font-size:10px; padding:8px 10px; }
    .tp-portal__manual { left:28%; width:41%; }
    .tp-portal__manual .tp-portal__paper-title { font-size:18px; }
    .tp-portal__drawing { height:65px; }
    .tp-portal__language { padding:9px; width:28%; min-height:104px; }
    .tp-portal__language--en { right:1%; top:5%; }
    .tp-portal__language--ja { left:0; top:48%; }
    .tp-portal__language--zh { right:0; bottom:5%; }
    .tp-portal__language strong { font-size:13px; }
    .tp-portal__language small { font-size:6px; }
    .tp-portal__language > span { gap:5px; font-size:11px; }
    .tp-portal__back-sheet { left:32%; width:40%; }
    .tp-portal__certificate .tp-portal__paper-title { font-size:18px; }
    .tp-portal__folder { left:2%; bottom:6%; padding:12px 13px; gap:9px; }
    .tp-portal__folder strong { font-size:11px; }
    .tp-portal__folder small { font-size:8px; }
    .tp-portal__folder > span { width:20px; }
    .tp-portal__departure { left:2%; top:14%; max-width:28%; }
    .tp-portal__departure span { font-size:5px; }
    .tp-portal__departure strong { font-size:10px; }
    .tp-portal__caption { top:406px; left:10px; right:10px; gap:9px; grid-template-columns:37px 1fr; }
    .tp-portal__caption > span { font-size:10px; }
    .tp-portal__caption h2 { font-size:20px!important; }
    .tp-portal__caption p { font-size:12px!important; margin-top:7px!important; }
    .tp-portal__controls { left:10px; right:10px; gap:10px; bottom:22px; }
    .tp-portal__controls button { font-size:10px; gap:5px; }
    .tp-portal__tab-number { font-size:8px; }
    .tp-portal__sample { right:10px; font-size:8px; }
}
@media(prefers-reduced-motion:reduce) { .tp-portal[data-hero-variant="portal"] *, .tp-portal[data-hero-variant="portal"] *::before { animation:none!important; transition:none!important; } }

/* TP-PORTAL-NOTARY-20261014 — document preparation, not an official certificate. */
.tp-portal[data-hero-variant="portal"][data-scene="3"] [data-portal-scene="3"] { opacity:1; visibility:visible; }
.tp-portal__notary { left:31%; top:10%; width:51%; height:82%; padding:20px; z-index:3; display:flex; flex-direction:column; }
.tp-portal__notary .tp-portal__paper-top { font-size:7px; letter-spacing:.6px; }
.tp-portal__notary .tp-portal__paper-top b { font-size:8px; border:0; height:20px; }
.tp-portal__notary .tp-portal__paper-title { font-size:clamp(19px,3.5cqi,26px); line-height:1.2; margin:16px 0 12px; letter-spacing:-.6px; }
.tp-portal__notary .tp-portal__rule { flex:none; margin-bottom:8px; }
.tp-portal__notary-list { list-style:none; padding:0; margin:0; display:grid; gap:8px; }
.tp-portal__notary-list li { display:flex; align-items:center; gap:9px; min-height:39px; padding:8px 10px; background:var(--p-soft); border-radius:6px; font-size:11px; line-height:1.4; font-weight:600; color:var(--p-ink); word-break:keep-all; }
.tp-portal__notary-check { flex:none; display:grid; place-items:center; width:20px; height:20px; border-radius:50%; background:var(--p-blue); color:var(--p-surface); font-size:12px; }
.tp-portal__notary-note { margin:10px 0 0!important; color:var(--p-muted)!important; font-size:9px!important; line-height:1.5!important; word-break:keep-all; }
.tp-portal__notary .tp-portal__paper-foot { position:static; margin-top:auto; padding-top:8px; border-top:1px solid var(--p-line); font-size:7px; letter-spacing:0; }
.tp-portal__notary-route { top:22%; left:4%; max-width:22%; }
.tp-portal[data-hero-variant="portal"][data-scene="3"] .tp-portal__notary { animation:tp-portal-arrive 1.1s .1s cubic-bezier(.22,1,.36,1) both; }
.tp-portal[data-hero-variant="portal"][data-scene="3"] .tp-portal__notary-route { animation:tp-portal-rise .8s .25s both; }
.tp-portal[data-hero-variant="portal"][data-scene="3"] .tp-portal__notary-list li { animation:tp-portal-rise .65s var(--notary-delay) both; }
@media(max-width:1279px) {
    body .hero-visual.home-hero-spatial.tp-portal[data-hero-variant="portal"][data-home-portal],
    html[data-theme] body.home .home-premium-hero .hero-visual.tp-portal[data-hero-variant="portal"][data-home-portal] { height:660px!important; min-height:660px!important; }
    .tp-portal__controls { grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px 14px; }
}
@container(max-width:560px) {
    .tp-portal[data-hero-variant="portal"][data-scene="3"] .tp-portal__gate-caption { visibility:hidden; }
    .tp-portal__notary { left:14%; top:13%; width:80%; height:84%; padding:15px; }
    .tp-portal__notary-route { top:0; left:14%; max-width:80%; display:flex; gap:8px; align-items:center; }
    .tp-portal__notary-route span { display:none; }
    .tp-portal__notary-route strong { font-size:10px; }
    .tp-portal__notary-route svg { width:20px; height:20px; margin:0; flex:none; }
    .tp-portal__notary .tp-portal__paper-title { font-size:20px; margin:12px 0 10px; }
    .tp-portal__notary-list { gap:6px; }
    .tp-portal__notary-list li { min-height:35px; padding:7px 8px; font-size:10px; gap:7px; }
    .tp-portal__notary-note { font-size:8px!important; margin-top:8px!important; }
}
