body:not(.portal-ready) #desktop,body:not(.portal-ready) #mobileFinder{visibility:hidden}
#portalLoading{position:fixed;inset:30px 0 0;display:grid;place-items:center;color:#56647c;font-size:14px;z-index:4}
body.portal-ready #portalLoading{display:none}
.portal-kicker{font-size:11px;font-weight:700;letter-spacing:.14em;color:#557299;margin-bottom:9px}
.portal-hero{padding:5px 0 18px}
.portal-hero h1{font-size:29px;letter-spacing:-.045em;line-height:1.35;margin-bottom:10px}
.portal-hero p{font-size:13.5px;line-height:1.9;color:var(--ink-2);max-width:610px}
.portal-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:17px;align-items:center}
.portal-primary,.portal-secondary{font:inherit;font-size:13px;font-weight:600;border:0;border-radius:11px;padding:11px 16px;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.portal-primary{background:var(--blue);color:#fff;box-shadow:0 5px 16px -8px #0067df}
.portal-secondary{background:rgba(255,255,255,.56);color:#345574;border:1px solid rgba(70,100,145,.1)}
.portal-primary:hover{background:#0076e7}.portal-secondary:hover{background:rgba(255,255,255,.86)}
.portal-primary:focus-visible,.portal-secondary:focus-visible,a:focus-visible,button:focus-visible{outline:3px solid #5eaaff;outline-offset:3px}
.portal-caption{font-size:11.5px;color:#748094;line-height:1.7;margin-top:11px}
.portal-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 20px}
.portal-card{background:rgba(255,255,255,.65);border:1px solid rgba(255,255,255,.8);border-radius:17px;padding:18px;text-align:left;box-shadow:0 6px 15px -13px rgba(40,65,115,.5);color:var(--ink);text-decoration:none;font:inherit;min-width:0;display:block;cursor:pointer;transition:transform .15s,background .15s}
.portal-card:hover{transform:translateY(-2px);background:rgba(255,255,255,.86)}
.portal-card .symbol{width:41px;height:41px;background:rgba(91,136,203,.1);display:grid;place-items:center;border-radius:12px;margin-bottom:17px;color:#5a729b}
.portal-card .symbol svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.portal-card h2{font-size:15px;letter-spacing:-.02em;margin:0 0 7px}.portal-card p{font-size:12px;line-height:1.75;color:#738094;min-height:42px}.portal-card .go{font-size:12px;color:#0877ed;font-weight:600;margin-top:15px}
.portal-section-head{display:flex;align-items:center;justify-content:space-between;margin:21px 0 10px;gap:10px}.portal-section-head h2{font-size:14px;font-weight:650}.portal-section-head button,.portal-text-button{background:none;border:0;color:#1479da;font:inherit;font-size:12px;cursor:pointer}
.portal-content-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:14px}
.portal-panel{background:rgba(255,255,255,.45);border:1px solid rgba(255,255,255,.65);border-radius:15px;padding:15px;min-width:0}
.portal-panel h3{font-size:13px;margin:0 0 10px}.portal-row{display:block;padding:11px 0;color:var(--ink);text-decoration:none;border-bottom:1px solid rgba(50,70,100,.065);cursor:pointer}.portal-row:last-child{border-bottom:0}.portal-row strong{display:block;font-size:13px;font-weight:550;line-height:1.6}.portal-row small{display:block;margin-top:4px;color:#7c8797;font-size:11px;line-height:1.6}.portal-row:hover strong{color:var(--blue)}
.portal-empty{padding:15px 0;color:#7c8797;font-size:12px;line-height:1.9}.portal-process{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0 0}.portal-process div{font-size:11px;line-height:1.8;color:#768096}.portal-process b{display:inline-flex;width:18px;height:18px;border:1px solid #b6c8e1;border-radius:50%;align-items:center;justify-content:center;margin-right:6px;color:#5879a8;font-weight:500}
.portal-notice{background:rgba(53,116,204,.065);border:1px solid rgba(70,120,190,.08);border-radius:11px;padding:12px 14px;font-size:12px;line-height:1.9;color:#63778e;margin:13px 0}
.portal-notice.warning{background:#fff7e8;border-color:#efdcb7;color:#8c713d}.portal-notice.error{background:#fff1f0;border-color:#f0d0cd;color:#a54337}
.portal-doc h1{font-size:25px;line-height:1.5;letter-spacing:-.035em;margin:10px 0}.portal-doc h2{font-size:17px;margin:23px 0 10px}.portal-doc h3{font-size:15px;margin:18px 0 9px}.portal-doc p,.portal-doc li{font-size:13px;line-height:1.95;color:#526174}.portal-doc ul,.portal-doc ol{padding-left:21px;margin:10px 0}.portal-doc .meta{font-size:11px;color:#8190a5;margin-bottom:18px}.portal-document-body{font-size:14px;line-height:2;color:#45556a;overflow-wrap:anywhere}.portal-document-body p{margin:12px 0}.portal-document-body pre,.portal-pre{white-space:pre-wrap;word-break:break-word;font-family:inherit}.portal-document-body img,.portal-doc>img{max-width:100%;height:auto;border-radius:12px}.portal-doc-photo{width:100%;max-height:320px;object-fit:contain;background:rgba(255,255,255,.6);border-radius:12px;margin:15px 0}
.portal-list{display:grid;gap:11px;margin:16px 0}.portal-list a{display:block;padding:17px 18px;text-decoration:none;color:inherit;border-radius:13px;background:rgba(255,255,255,.65);border:1px solid rgba(255,255,255,.8)}.portal-list a:hover{background:#fff}.portal-list h2{font-size:15px;margin:0 0 6px}.portal-list p,.portal-list small{font-size:12px;line-height:1.8;color:#7b8798}.portal-chip{font-size:10px;border-radius:5px;padding:3px 6px;background:#e7effa;color:#5a7cad;display:inline-block;margin-bottom:7px}
.portal-form{margin:18px 0}.portal-form fieldset{border:0;padding:0;margin:0 0 20px;min-width:0}.portal-form legend{font-size:14px;font-weight:600;padding-bottom:12px}.portal-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.portal-fields .full{grid-column:1/-1}.portal-field label{display:block;font-size:12px;font-weight:500;margin-bottom:6px;color:#5a6a7f}.portal-field input,.portal-field textarea,.portal-field select{width:100%;font:inherit;font-size:13px;padding:10px 11px;border:1px solid rgba(80,105,145,.19);border-radius:9px;background:rgba(255,255,255,.76);color:#25374c;min-width:0}.portal-field textarea{resize:vertical;line-height:1.8}.portal-field input:focus,.portal-field textarea:focus,.portal-field select:focus{outline:2px solid rgba(10,132,255,.25);border-color:#70aff4}.portal-field small{font-size:11px;line-height:1.8;color:#8290a1;display:block;margin-top:5px}.portal-consent{display:flex;gap:9px;align-items:flex-start;font-size:12px;line-height:1.8;color:#6c7b8f;margin:14px 0}.portal-consent input{margin-top:5px;flex:none;width:15px;height:15px}.portal-form button:disabled{opacity:.65;cursor:wait}.portal-form-feedback{font-size:12px;line-height:1.9;margin:10px 0;color:#a14536}.portal-receipt{background:rgba(247,255,251,.85);border:1px solid #d2e8dd;border-radius:16px;padding:24px;margin:18px 0}.portal-receipt h2{font-size:20px;margin-bottom:10px}.portal-receipt p{font-size:13px;line-height:1.9;color:#597364}.portal-receipt code{display:block;font-family:ui-monospace,monospace;font-size:12px;overflow-wrap:anywhere;margin:13px 0;padding:12px;background:#ecf6f0;border-radius:8px;color:#39624e}
.portal-mobile-nav{display:none}.portal-about-grid{display:grid;grid-template-columns:110px 1fr;gap:8px 12px;font-size:12px;line-height:1.9;margin:18px 0}.portal-about-grid dt{color:#8490a1}.portal-about-grid dd{overflow-wrap:anywhere}
#portalToolbar{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.portal-input{font:inherit;padding:9px 11px;border:1px solid #d3dce8;border-radius:8px;max-width:100%}
.fs-item .d svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
.dock-item>svg{width:30px;height:30px;fill:none;stroke:#fff;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 1px 1px rgba(0,0,0,.1))}
.dock-item:last-child>svg{stroke:#647e9e}
.portal-mobile-back{display:none}
@media(max-width:900px){.portal-cards{gap:9px}.portal-card{padding:14px}.portal-hero h1{font-size:25px}}
@media(max-width:720px){
  .portal-mobile-nav{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 21px;padding-bottom:12px;border-bottom:1px solid rgba(80,100,140,.12)}
  .portal-mobile-nav button{border:1px solid rgba(100,130,180,.12);border-radius:8px;padding:8px 11px;font:inherit;font-size:12px;color:#4d6e97;background:rgba(255,255,255,.54)}
  .portal-hero{padding:0 0 17px}.portal-hero h1{font-size:27px}.portal-hero p{font-size:13px}.portal-cards{grid-template-columns:1fr}.portal-card{padding:17px 18px;position:relative}.portal-card .symbol{float:left;margin:0 14px 0 0;width:43px;height:43px}.portal-card h2{margin-bottom:4px}.portal-card p{min-height:0;padding-left:57px}.portal-card .go{margin-top:8px;padding-left:57px}.portal-content-grid{grid-template-columns:1fr}.portal-process{gap:7px}.portal-process div{font-size:10px}.portal-process b{display:flex;margin:0 0 6px}.portal-fields{grid-template-columns:1fr}.portal-actions{align-items:stretch}.portal-actions>*{flex:1}.portal-form .portal-actions>*{flex:auto}.portal-doc h1{font-size:23px}.portal-about-grid{grid-template-columns:80px 1fr}
  .window{position:fixed!important;left:0!important;top:30px!important;width:100vw!important;max-width:100vw!important;height:calc(100dvh - 30px)!important;max-height:none!important;border-radius:0!important;transform:none!important}
  .window .titlebar{border-radius:0;height:44px;flex-shrink:0}.window .wbody{height:calc(100dvh - 74px)!important;max-height:none!important;overflow-y:auto;padding:20px 16px 70px!important}.window .light.y,.window .light.g{display:none}.window .light.r{width:18px;height:18px}.window .finder-main{padding:0}.window .finder-wrap{display:block}
  .window .lights{display:none}.portal-mobile-back{display:inline-flex;align-items:center;justify-content:center;min-width:58px;height:32px;padding:0 9px;font:inherit;font-size:12px;border:1px solid rgba(90,120,165,.13);border-radius:7px;background:rgba(255,255,255,.45);color:#4e6b92;cursor:pointer}
  #mobileFinder{padding-bottom:72px}.portal-form .portal-primary{width:100%}#beian{max-width:calc(100vw - 12px);white-space:normal;text-align:center;line-height:1.5}
}
@media(prefers-reduced-motion:reduce){.portal-card{transition:none}.portal-card:hover{transform:none}}

/* Keep the desktop appearance while presenting one clear page at a time.
   Desktop window controls and Stage Manager are owned by index.html. The
   previous rules here hid them globally, which made the yellow/green lights
   and landscape thumbnails impossible to see. Mobile-only hiding remains in
   the media query above. */
.window[hidden]{display:none!important}
.portal-entry-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:4px 0 20px}
.portal-entry-grid .portal-card{padding:22px;min-height:194px}
.portal-entry-grid .portal-card h2{font-size:20px}
.portal-entry-grid .portal-card p{font-size:13px;min-height:44px}
.portal-entry-grid .portal-card .symbol{margin-bottom:13px}
.portal-entry-grid .portal-card .go{margin-top:14px}
.portal-hero h1{font-size:32px;line-height:1.35}
.portal-latest{margin-top:14px}
.portal-footer-links{display:flex;flex-wrap:wrap;gap:19px;margin:20px 0 4px}
.portal-footer-links button{border:0;background:none;font:inherit;font-size:12px;color:#60728b;padding:2px 0;cursor:pointer}
.portal-request{max-width:620px;margin:auto}
.portal-request .portal-form{margin-top:21px}
.portal-request .portal-form>.portal-field{margin-bottom:17px}
.portal-contact{display:grid;grid-template-columns:100px 1fr;gap:8px}
.portal-contact select{padding-right:4px}
.portal-details{margin:18px 0;padding:12px 14px;border:1px solid rgba(80,105,145,.14);border-radius:11px;background:rgba(255,255,255,.34)}
.portal-details summary{cursor:pointer;font-size:12px;font-weight:550;color:#536b88;line-height:1.8}
.portal-details[open] summary{margin-bottom:13px}
.portal-extra>p{font-size:12px;margin-bottom:12px}
.portal-consent{margin:18px 0 10px;font-size:11.5px}
.portal-form-feedback:empty{display:none}
.portal-request .portal-form>button[type=submit]{min-width:160px}
.portal-check{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#e1f3e8;color:#368258;font-size:25px;margin-bottom:13px}
.portal-receipt h2{margin:0 0 9px;font-size:23px}
.portal-receipt-details{margin:25px 0 0;border:0;border-top:1px solid #dceae2;border-radius:0;background:none;padding:12px 0 0}
.portal-receipt-details p{font-size:11px}
.portal-back{margin-left:auto;flex:none;border:1px solid rgba(80,105,145,.14);border-radius:7px;background:rgba(255,255,255,.55);color:#4e6b92;padding:5px 9px;font:inherit;font-size:11px;cursor:pointer;line-height:1.5}
.window .wtitle{flex:1;min-width:0}
.portal-subview #mobileFinder{display:none!important}
#menubar .brand{cursor:pointer}
#dock{gap:18px;padding:9px 16px 25px}
#dock .dock-item .tip{top:-40px;left:50%;margin:0;opacity:0;transform:translateX(-50%) scale(.9);background:rgba(35,35,40,.94);color:#fff;font-size:11px;font-weight:500;padding:5px 9px;border-radius:7px;white-space:nowrap;box-shadow:0 5px 12px rgba(0,0,0,.2);transition:opacity .15s,transform .15s;pointer-events:none}
#dock .dock-item:hover{transform:scale(1.34) translateY(-10px);margin:0 8px;z-index:2}
#dock .dock-item:hover .tip{opacity:1;transform:translateX(-50%) scale(1)}
#dock .dock-item:last-child>svg{stroke:#fff}
@media(max-width:720px){
  .portal-entry-grid{grid-template-columns:1fr;gap:11px}
  .portal-entry-grid .portal-card{min-height:0;padding:19px}
  .portal-entry-grid .portal-card .symbol{float:left;margin:0 13px 0 0}
  .portal-entry-grid .portal-card h2{font-size:19px}
  .portal-entry-grid .portal-card p{min-height:0;padding-left:56px;margin-top:6px;font-size:12px}
  .portal-entry-grid .portal-card .go{padding-left:56px;margin-top:9px}
  .portal-hero h1{font-size:29px}
  .portal-contact{grid-template-columns:92px 1fr}
  .portal-back{font-size:12px;min-height:32px}
  .portal-request .portal-form>button[type=submit]{width:100%;min-height:43px}
  .portal-receipt{padding:22px 18px}
}
