@font-face{font-family:Portal;src:url('/portal/font.woff2');font-display:swap}*{box-sizing:border-box}body.portal{margin:0;background:var(--portal-background);color:var(--portal-text);font-family:Portal,Pretendard,system-ui,sans-serif;font-size:16px;line-height:1.65}a{color:var(--portal-accent)}button,input{font:inherit}button,a,input{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}.portal-shell{max-width:1120px;margin:auto;padding:32px 24px 70px}.portal-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:56px;flex-wrap:wrap}.portal-brand{font-weight:800;font-size:20px;color:var(--portal-text);text-decoration:none}.portal-local{color:var(--portal-accent);font-size:14px;padding:4px 10px;border:1px solid var(--portal-border);border-radius:8px}.portal-nav{display:flex;gap:16px;flex-wrap:wrap}.portal-nav a{font-size:14px;text-decoration:none}.login-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:76px;align-items:center;min-height:65vh}.portal-eyebrow{color:var(--portal-accent);font-weight:600;margin:0 0 18px}.portal-intro h1{font-size:44px;line-height:1.3;letter-spacing:-1.5px;margin:0 0 24px}.portal-intro>p{color:var(--portal-muted)}.portal-features{display:flex;gap:12px;flex-wrap:wrap;margin-top:32px}.portal-features span{font-size:14px;padding:7px 13px;background:var(--portal-elevated);border-radius:10px}.portal-card{padding:30px;background:var(--portal-surface);border:1px solid var(--portal-border);border-radius:20px}.portal-card h2{font-size:24px;letter-spacing:-.8px;margin:0 0 8px}.portal-muted{color:var(--portal-muted);font-size:14px}.portal-label{display:grid;gap:8px;margin:18px 0;color:var(--portal-muted);font-size:14px}.portal-label input{background:var(--portal-input);color:var(--portal-text);padding:13px 14px;border:1px solid var(--portal-border);border-radius:10px;min-width:0;width:100%}input:focus-visible,button:focus-visible,a:focus-visible{outline:3px solid var(--portal-accent);outline-offset:3px}.portal-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;border:1px solid var(--portal-border);border-radius:10px;padding:10px 17px;background:var(--portal-elevated);color:var(--portal-text);font-weight:600;text-decoration:none;font-size:14px}.portal-button.primary{background:var(--portal-accent);color:var(--portal-on-accent);border-color:transparent}.portal-button.full{width:100%;font-size:16px;margin-top:16px}.portal-button.danger{color:var(--portal-error)}.portal-error{color:var(--portal-error);min-height:24px;font-size:14px;white-space:pre-wrap}.portal-success{background:var(--portal-accent-soft);padding:16px;border-radius:10px;color:var(--portal-muted);white-space:pre-wrap;word-break:break-word}.portal-card details{margin-top:24px;padding-top:22px;border-top:1px solid var(--portal-border)}.portal-card summary{cursor:pointer;color:var(--portal-muted);font-size:14px}.portal-page-title{font-size:32px;line-height:1.3;margin:0 0 16px;letter-spacing:-1px}.portal-section{margin-top:32px}.portal-staff-grid{display:grid;gap:18px}.portal-staff-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.portal-staff-head h2{font-size:20px;word-break:break-all}.portal-checks{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:20px 0}.portal-checks label{display:flex;align-items:flex-start;gap:9px;font-size:14px;cursor:pointer}.portal-checks input{width:18px;height:18px;accent-color:var(--portal-accent);flex-shrink:0}.portal-actions{display:flex;gap:10px;flex-wrap:wrap}.portal-api-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.portal-api-grid dl{margin:20px 0 0}.portal-api-grid dt{font-size:14px;color:var(--portal-muted);margin-top:14px}.portal-api-grid dd{margin:5px 0;font-size:16px;overflow-wrap:anywhere}.portal-api-grid code{color:var(--portal-accent)}.portal-new-staff{margin-bottom:26px}.portal-hero{padding:56px 0 36px}.portal-hero h1{font-size:40px;line-height:1.3;letter-spacing:-1.3px}.portal-hero p{color:var(--portal-muted)}.portal-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin:24px 0 46px}.portal-tile{display:block;background:var(--portal-surface);border:1px solid var(--portal-border);border-radius:18px;overflow:hidden;text-decoration:none;color:var(--portal-text)}.portal-tile img{width:100%;aspect-ratio:1.8;object-fit:cover}.portal-tile div{padding:22px}.portal-tile h2{margin:0 0 8px;font-size:22px}.portal-tile p{margin:0;color:var(--portal-muted);font-size:15px}.portal-download-box{max-width:760px;margin:60px auto}.portal-empty{padding:40px 0}.portal-status{font-size:14px;color:var(--portal-accent)}.portal-checks input:disabled{cursor:not-allowed}@media(max-width:760px){.portal-shell{padding:22px 20px 50px}.portal-top{margin-bottom:32px}.login-layout{grid-template-columns:1fr;gap:26px}.portal-intro h1{font-size:32px}.portal-features{margin-top:20px}.portal-card{padding:23px}.portal-checks{grid-template-columns:repeat(2,1fr)}.portal-api-grid,.portal-tiles{grid-template-columns:1fr}.portal-hero{padding-top:30px}.portal-hero h1{font-size:30px}.portal-page-title{font-size:27px}}

.qa-intro{max-width:780px;margin-bottom:30px}.portal-label textarea{font:inherit;line-height:1.7;color:var(--portal-text);background:var(--portal-input);border:1px solid var(--portal-border);border-radius:12px;padding:16px;resize:vertical;width:100%;min-width:0}.portal-label textarea:focus-visible{outline:3px solid var(--portal-accent);outline-offset:3px}.qa-examples{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 22px}.qa-example{background:var(--portal-elevated);border:1px solid var(--portal-border);color:var(--portal-muted);border-radius:9px;padding:8px 11px;font-size:14px;text-align:left}.qa-answer-card{margin:26px 0 34px;max-width:900px}.qa-answer-text{white-space:pre-wrap;font-size:17px;line-height:1.9}.qa-steps{padding-left:24px}.qa-steps li{margin:14px 0;line-height:1.9}.qa-source-heading{font-size:24px;margin:34px 0 20px}.qa-source-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.qa-source-card{min-width:0;overflow:hidden}.qa-source-card[data-cited=true]{border-color:var(--portal-accent)}.qa-source-card>img{width:100%;height:170px;object-fit:cover;border-radius:12px;margin-bottom:18px}.qa-source-card h3{font-size:20px;line-height:1.5;margin:8px 0}.qa-source-card .portal-eyebrow{font-size:14px;margin-bottom:8px}.qa-excerpt{font-size:15px;color:var(--portal-muted);white-space:pre-wrap;max-height:164px;overflow:auto;line-height:1.7;margin:18px 0 22px}.qa-note{margin-top:35px}@media(max-width:760px){.qa-source-grid{grid-template-columns:1fr}.qa-answer-text{font-size:16px}.qa-example{font-size:13px}}
/* Phone QR access uses the private tailnet; keep prerequisites visible before authentication. */
.portal-phone-help{background:var(--portal-accent-soft);border:1px solid var(--portal-border);border-radius:14px;padding:12px 14px;margin:12px 0 20px;color:var(--portal-muted);font-size:13px;line-height:1.6}
.portal-phone-help p{margin:0 0 8px}.portal-phone-help p:last-child{margin-bottom:0}
.portal-phone-help a{color:var(--portal-accent);font-weight:650}
.oem-guide{max-width:1120px}.oem-guide .portal-top{margin-bottom:32px}.oem-jumps{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:28px 0 44px}.oem-jumps a{padding:14px 18px;border:1px solid var(--portal-border);border-radius:10px;background:var(--portal-surface);text-decoration:none;font-size:14px}.oem-document{line-height:1.85;overflow-wrap:anywhere}.oem-document h2{font-size:26px;line-height:1.5;letter-spacing:-.6px;margin:56px 0 24px;padding-top:24px;border-top:1px solid var(--portal-border);scroll-margin-top:24px}.oem-document h3{font-size:20px;margin:30px 0 16px}.oem-document>p{margin:18px 0;color:var(--portal-muted)}.oem-document strong{color:var(--portal-text);font-weight:650}.oem-document a{color:var(--portal-accent);text-underline-offset:4px}.oem-table{overflow-x:auto;border:1px solid var(--portal-border);border-radius:12px;margin:20px 0 28px;background:var(--portal-surface)}.oem-table table{width:100%;min-width:660px;border-collapse:collapse;table-layout:fixed;font-size:14px;line-height:1.8}.oem-table th,.oem-table td{padding:18px;text-align:left;vertical-align:top;border-bottom:1px solid var(--portal-border);border-right:1px solid var(--portal-border)}.oem-table th{background:var(--portal-elevated);font-weight:650}.oem-table :is(th,td):last-child{border-right:0}.oem-table tr:last-child td{border-bottom:0}.oem-table p{margin:0 0 8px}.oem-table p:last-child{margin:0}.oem-guide>.portal-button{margin-top:32px}@media(max-width:760px){.oem-jumps{grid-template-columns:1fr}.oem-document h2{font-size:22px}.oem-table th,.oem-table td{padding:14px}.oem-guide .portal-page-title{font-size:27px}}

.oem-table table:has(th:nth-child(2):last-child){min-width:0}.oem-table table:has(th:nth-child(2):last-child) :is(th,td):first-child{width:26%}.oem-table-hint{display:none}@media(max-width:760px){.oem-table table:has(th:nth-child(2):last-child) :is(th,td):first-child{width:30%}.oem-table-hint{display:block}}
.oem-toolbar[hidden],.oem-guide [hidden]{display:none!important}.oem-toolbar{position:sticky;top:12px;z-index:20;margin:0 0 28px;padding:20px;background:var(--portal-surface);border:1px solid var(--portal-accent);border-radius:14px;box-shadow:0 10px 30px color-mix(in srgb,var(--portal-background) 80%,transparent)}.oem-edit-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.oem-controls{display:flex;flex-wrap:wrap;gap:12px 20px;margin:16px 0}.oem-control{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.oem-control label{display:flex;align-items:center;gap:8px;font-size:14px}.oem-control input[type=color]{width:38px;height:36px;padding:2px;border:1px solid var(--portal-border);border-radius:6px;cursor:pointer}.oem-table-actions .portal-button{font-size:13px;min-height:36px;padding:6px 11px}.oem-toolbar p:last-child{margin-bottom:0}.oem-editing [data-oem-cell]{cursor:cell}.oem-editing .oem-cell-selected{outline:2px solid var(--portal-accent);outline-offset:-3px}.oem-editing .oem-document{user-select:text}.oem-editing [data-oem-block]{scroll-margin-top:320px}@media(max-width:760px){.oem-toolbar{top:0;padding:14px;max-height:54vh;overflow:auto}.oem-controls{gap:12px}.oem-control{width:100%;justify-content:space-between}.oem-toolbar>.portal-muted{font-size:12px}.oem-edit-head>.portal-actions{gap:6px}.oem-edit-head .portal-button{min-height:36px;padding:6px 12px}}

/* Dense shared layout: spacing, never smaller reading text. */
.portal-hero{padding:22px 0 16px}.portal-hero h1{font-size:32px}.portal-hero .map-eyebrow{margin-bottom:6px}.portal-tiles{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0 22px}.portal-tile img{height:90px;aspect-ratio:auto}.portal-tile div{padding:12px}.portal-tile h2{font-size:18px;margin-bottom:5px}.portal-tile p{font-size:14px;line-height:1.5}.portal-top{margin-bottom:22px}.portal-shell{padding:22px 24px 32px}.login-layout{min-height:0;gap:32px}.portal-card{padding:18px;border-radius:12px}.portal-card details{margin-top:14px;padding-top:12px}.portal-label{margin:12px 0;gap:5px}.portal-section{margin-top:18px}.portal-api-grid{gap:12px}.portal-checks{gap:8px;margin:12px 0}.portal-features{margin-top:14px}.portal-page-title{font-size:28px;margin-bottom:12px}.portal-download-box{margin:24px auto}.portal-staff-grid{gap:12px}
@media(max-width:760px){.portal-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.portal-tile img{height:72px}.portal-tile div{padding:10px}.portal-tile h2{font-size:16px}.portal-tile p{font-size:14px}.portal-shell{padding:16px 16px 24px}.portal-hero{padding-top:16px}.portal-hero h1{font-size:28px}.portal-card{padding:16px}}

.home-question{margin:0 0 18px;padding:16px 18px;border-radius:10px}.home-question-heading{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap}.home-question-heading h2{font-size:18px;margin:0}.home-question-heading p{font-size:13px;color:var(--portal-muted);margin:0}.home-question .portal-label{margin:10px 0;font-size:12px;gap:4px}.home-question .portal-label textarea{padding:10px 12px;line-height:1.5;min-height:64px}.home-question .portal-button{min-height:36px;padding:6px 12px;font-size:13px}.home-question .question-help{margin-top:10px;padding-top:8px}.home-question .question-help summary{font-size:12px}.home-question #qa-status:empty{display:none}.home-question .qa-answer-card{margin:12px 0;padding:16px}.home-question .qa-source-heading{font-size:18px;margin:14px 0}.home-question .qa-source-card{padding:14px}.home-question .qa-source-card h3{font-size:16px}.home-question .qa-source-card>img{height:120px}.home-question .qa-example{padding:6px 8px;font-size:12px}
