/* Scoped user portal; public download and admin pages retain their own styles. */
.portal-page{--portal-blue:#2563eb;--portal-ink:#192c49;--portal-muted:#7b8ba3;margin:0;background:#f6f8fc;color:var(--portal-ink);font-family:system-ui,-apple-system,"Segoe UI","Microsoft YaHei",sans-serif;line-height:1.65;min-height:100vh;display:flex;flex-direction:column}
.portal-page *{box-sizing:border-box}.portal-page a{color:#2563eb;text-decoration:none}.portal-page button,.portal-page input,.portal-page select,.portal-page textarea{font:inherit}.portal-page button,.portal-page a{touch-action:manipulation}
.portal-page a:focus-visible,.portal-page button:focus-visible{outline:3px solid #9dbdff;outline-offset:3px}.portal-page button:disabled{opacity:.65;cursor:not-allowed}
.portal-page .btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;background:#2563eb;border:1px solid #2563eb;border-radius:9px;padding:9px 17px;color:#fff;font-size:13px;font-weight:600;line-height:1.55;cursor:pointer;white-space:nowrap;box-shadow:none}
.portal-page .btn:hover{background:#1d4ed8}.portal-page .btn.gray{background:#fff;border-color:#dce5f4;color:#637b9d}.portal-page .btn.gray:hover{background:#f0f5ff;border-color:#aac8f7}.portal-page .btn.red{background:#fff1f2;color:#c35264;border-color:#f3d1d8}.portal-page .btn.yellow{background:#fff8e6;color:#a47a27;border-color:#f4e4b9}
.portal-page input:not([type=checkbox]):not([type=file]),.portal-page select,.portal-page textarea{min-width:0;max-width:100%;min-height:44px;padding:10px 13px!important;border:1px solid #dce5f1!important;border-radius:9px!important;background:#fff!important;color:#263b59;font-size:14px;outline:none;box-shadow:none!important}
.portal-page input:focus,.portal-page select:focus,.portal-page textarea:focus{border-color:#82adfb!important;box-shadow:0 0 0 3px #edf4ff!important}.portal-page input::placeholder,.portal-page textarea::placeholder{color:#a1aec2}
.portal-page .admin-wrap{width:100%;max-width:1240px;padding:0 28px 36px;margin:0 auto;flex:1;min-width:0}
.portal-brand{display:inline-flex;align-items:center;gap:10px;color:#17233d!important;font-size:24px;font-weight:750;letter-spacing:.5px;white-space:nowrap}.portal-brand svg{width:36px;height:30px;color:#2563eb}
.portal-topbar{display:flex;align-items:center;gap:22px;min-height:84px;border-bottom:1px solid #e2e9f3}.portal-topbar-label{font-size:12px;color:#8292aa;border-left:1px solid #dce5f1;padding-left:22px}.portal-topbar-actions{display:flex;align-items:center;gap:24px;margin-left:auto;font-size:12px}.portal-topbar-actions>a{color:#6c7f9c}.portal-logout{padding:7px 14px;border:1px solid #dce5f1;border-radius:8px;background:#fff}
.portal-navigation{display:flex;gap:12px;padding:20px 0 26px;flex-wrap:wrap}.portal-navigation a{display:flex;align-items:center;gap:9px;padding:11px 20px;border:1px solid transparent;border-radius:10px;font-size:13px;color:#7184a0;font-weight:600}.portal-navigation a>span{display:grid;place-items:center;width:23px;height:23px;border-radius:6px;background:#eaf0f8;color:#7891b7;font-size:13px}.portal-navigation a:hover{background:#edf3fd}.portal-navigation a[aria-current]{color:#2563eb;background:#fff;border-color:#dce8fc;box-shadow:0 3px 9px #253b6710}.portal-navigation a[aria-current]>span{background:#e9f1ff;color:#2563eb}
.portal-page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:8px 0 27px}.portal-eyebrow{font-size:10px;letter-spacing:1.3px;font-weight:600;color:#7a97c2}.portal-page-heading h2{font-size:27px;margin:4px 0 6px;line-height:1.4;letter-spacing:.3px}.portal-page-heading p{color:#7b8ba3;font-size:13px;margin:0}.portal-panel{border:1px solid #e1e9f4;border-radius:14px;background:#fff;box-shadow:0 5px 20px #284b7e04;overflow:hidden}
.portal-page .topbar:not(.portal-topbar){display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 20px}.portal-page #qForm{display:flex;gap:10px;align-items:center;flex-wrap:wrap;width:100%;font-size:13px}.portal-page #q{width:310px;max-width:100%;background:#fff}
.portal-page table.table{width:100%;border-collapse:collapse;background:#fff;border-radius:0;margin:0;box-shadow:none;font-size:12px;table-layout:fixed}.portal-page .table th{font-weight:600;color:#7e90aa;background:#f8faff;padding:15px 18px;border-bottom:1px solid #e8eef6;text-align:left;white-space:normal}.portal-page .table td{padding:18px;border-bottom:1px solid #edf1f7;vertical-align:middle;line-height:1.8;color:#466181;overflow-wrap:anywhere;word-break:normal}.portal-page .table tr:last-child td{border-bottom:0}.portal-page .table td .btn{min-height:32px;padding:6px 9px;font-size:11px;border-radius:7px;margin:2px 0}.portal-page .table tbody tr:hover{background:#fbfdff}
.portal-page #tbl th:nth-child(1),.portal-page #tbl td:nth-child(1){width:55px}.portal-page #tbl th:nth-child(2),.portal-page #tbl td:nth-child(2){width:auto;word-break:break-word}.portal-page #tbl th:nth-child(3),.portal-page #tbl td:nth-child(3){width:100px}.portal-page #tbl th:nth-child(4),.portal-page #tbl td:nth-child(4),.portal-page #tbl th:nth-child(5),.portal-page #tbl td:nth-child(5){width:68px}.portal-page #tbl th:nth-child(6),.portal-page #tbl td:nth-child(6){width:150px}.portal-page #tbl th:nth-child(7),.portal-page #tbl td:nth-child(7){width:240px;text-align:right;white-space:normal}
.portal-page #pager,.portal-page #wdPager{padding:16px 0;font-size:12px;color:#8192a9}.portal-page #pager>div:first-child,.portal-page #wdPager>div:first-child{display:flex;gap:8px}.portal-page .meta{font-size:12px;line-height:1.9}.portal-page .footer{padding:12px 24px 24px;margin:16px auto 0;width:100%;max-width:1184px}
.portal-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:32px}.portal-stat{display:flex;gap:22px;padding:28px;border:1px solid #e1e9f4;border-radius:14px;background:#fff}.portal-stat h3{font-size:13px;font-weight:500;margin:0 0 7px;color:#7b8ba3}.portal-stat strong{font-size:35px;line-height:1.3;color:#244a84;font-weight:700;font-variant-numeric:tabular-nums}.portal-stat p{margin:8px 0 0;font-size:11px;color:#94a3b8}.portal-stat-unit{color:#94a3b8;font-size:12px}.portal-stat-icon{display:grid;place-items:center;flex-shrink:0;width:48px;height:48px;color:#4c81e9;background:#eff5ff;border-radius:13px;font-size:23px}
.portal-section-title{margin:0 0 16px;font-size:17px}.portal-quick-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:26px}.portal-quick-links>a{display:block;padding:25px;background:#fff;border:1px solid #e1e9f4;border-radius:14px;color:#263e60;transition:transform .15s,border-color .15s}.portal-quick-links>a:hover{transform:translateY(-3px);border-color:#abc7f8}.portal-quick-links>a>span{display:grid;place-items:center;width:34px;height:34px;border:1px solid #e2ebfa;border-radius:9px;color:#4c81e9;font-size:18px}.portal-quick-links h3{font-size:16px;margin:17px 0 8px}.portal-quick-links p{font-size:12px;color:#8b9bb2;line-height:1.9;min-height:44px}.portal-quick-links b{font-size:12px;font-weight:500;color:#2563eb}
.portal-notice{padding:15px 18px;border:1px solid #e3ebf8;border-radius:10px;background:#f0f5fc;color:#7890af;font-size:12px;line-height:1.9;overflow-wrap:anywhere}.portal-notice p{margin:7px 0 0}
.portal-upload-box{padding:35px 24px;text-align:center;background:linear-gradient(120deg,#edf4ff,#fbfdff);border:1px dashed #a9c7f5;border-radius:16px}.portal-upload-icon{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 14px;border:1px solid #dce8fc;border-radius:17px;background:#fff;color:#4281ed;font-size:32px}.portal-upload-box h3{font-size:20px;margin:0 0 8px}.portal-upload-box p{font-size:12px;color:#8095b2;margin:0 0 23px}.portal-upload-actions{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}.portal-upload-actions input{width:320px;max-width:100%;color:#7a8faa;font-size:12px;border:1px solid #dce7f7;background:#fff;border-radius:9px;padding:5px}.portal-upload-actions input::file-selector-button{padding:8px 12px;background:#eff5ff;color:#2563eb;border:0;border-radius:6px;margin-right:10px;font:inherit;cursor:pointer}.portal-upload-note{margin-top:18px;color:#8fa1ba;font-size:11px}.portal-subheading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:28px 0 13px}.portal-subheading h3{font-size:16px;margin:0}.portal-subheading>span{color:#92a1b7;font-size:11px}.portal-empty{padding:32px;text-align:center;color:#95a4bb}.portal-empty>span{font-size:25px;color:#a8bfdf}.portal-empty h3{font-size:14px;font-weight:500;margin:8px 0}.portal-empty p{font-size:12px;margin:0}
.portal-page #queue td:nth-child(2),.portal-page #queue th:nth-child(2){width:110px}.portal-page #queue td:nth-child(3),.portal-page #queue th:nth-child(3){width:170px;white-space:normal}.portal-page #queue td:nth-child(4),.portal-page #queue th:nth-child(4){width:220px}.portal-page #queue td:nth-child(5),.portal-page #queue th:nth-child(5){width:110px}
.portal-page .portal-rebate-stats{max-width:none!important;gap:18px!important}.portal-page .portal-rebate-stats .card{padding:25px;border:1px solid #e1e9f4;border-radius:14px;box-shadow:none}.portal-page .portal-rebate-stats .title{font-size:12px;color:#8293ac;margin-bottom:12px}.portal-page .portal-rebate-stats .desc{font-size:29px!important;font-weight:700!important;flex-wrap:wrap;overflow-wrap:anywhere}.portal-page #btnWithdraw{margin-left:auto}.portal-page .portal-rebate-stats+.meta{margin:10px 0}.portal-page #rebateList th:first-child{width:210px}.portal-page #rebateList th:nth-child(6),.portal-page #rebateList th:nth-child(7){width:145px}
/* Independent login/register/reset pages, same blue-white palette as the download modal. */
.portal-auth{background:radial-gradient(ellipse at 20% 42%,#edf4ff,transparent 55%),#f7f9fd}.portal-auth-nav{width:100%;max-width:1232px;margin:0 auto;min-height:82px;padding:20px 28px;display:flex;align-items:center;justify-content:space-between}.portal-auth-nav>a:last-child{font-size:12px;color:#7a8da9}.portal-auth-layout{width:100%;max-width:1110px;margin:auto;padding:50px 28px 55px;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:100px;align-items:center;flex:1}.portal-auth-story>h2{font-size:34px;line-height:1.6;letter-spacing:1px;margin:16px 0;color:#223b61}.portal-auth-story>h2 strong{color:#2563eb;font-weight:700}.portal-auth-story>p{font-size:13px;color:#8093af;max-width:370px;line-height:2}.portal-auth-story .portal-auth-note{font-size:11px;margin-top:28px;color:#90a1ba}
.portal-auth-visual{position:relative;margin:30px 0 0;padding:35px 20px 22px;background:linear-gradient(135deg,#e9f2ff,#f9fbff);border:1px solid #dde9fc;border-radius:24px;max-width:360px}.portal-visual-cloud{display:block;color:#80a9ed;font-size:52px;line-height:1;text-align:center;margin-bottom:20px}.portal-visual-file{display:flex;align-items:center;gap:12px;padding:16px;background:#fff;border:1px solid #e4ecf8;border-radius:11px;box-shadow:0 10px 18px #5882bf09}.portal-visual-file>span{display:grid;place-items:center;flex-shrink:0;width:38px;height:44px;background:#5d91ed;border-radius:8px;color:#fff;font-size:10px}.portal-visual-file b{font-size:12px;font-weight:600}.portal-visual-file small{display:block;font-size:10px;color:#98a9c0;margin-top:3px}.portal-visual-file i{font-style:normal;color:#68b49b;margin-left:auto}.portal-visual-link{display:flex;justify-content:space-between;gap:10px;margin:10px 10px 0;padding:10px 14px;background:#f8fbff;border:1px solid #dfeaf9;border-radius:8px;color:#8a9fbf;font-size:10px}
.portal-auth-card{background:#fff;border:1px solid #e2eaf6;border-radius:20px;box-shadow:0 15px 50px #2c57800a;overflow:hidden;min-width:0}.portal-auth-card>header{padding:29px 30px 0}.portal-auth-card h1{font-size:26px;margin:8px 0;line-height:1.4}.portal-auth-card>header>p{font-size:12px;color:#8b9bb3;margin:0}.portal-auth-content{padding:25px 30px 30px}.portal-auth-form label:not(.portal-agreement){display:block;color:#637b9d;font-size:12px;margin:0 0 8px;font-weight:500}.portal-auth-form input:not([type=checkbox]){display:block;width:100%;height:46px;margin-bottom:19px}.portal-auth-form .portal-code-row input{margin-bottom:0}.portal-auth-submit{width:100%;min-height:46px!important;margin:7px 0 0;box-shadow:0 4px 10px #2563eb16!important}.portal-auth-links{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:20px;font-size:11px}.portal-auth-links>a:first-child{color:#7e8fa9}.portal-auth-links>a:last-child{color:#2563eb}.portal-auth-links-center{justify-content:center}.portal-code-row{display:flex;align-items:center;gap:8px;margin-bottom:18px}.portal-code-row input{flex:1;width:0!important}.portal-code-row button{flex-shrink:0;min-height:46px!important;font-size:11px!important;padding:10px 12px!important}.portal-agreement{display:flex;gap:8px;align-items:flex-start;margin:16px 0 20px;color:#8697b0;font-size:12px;line-height:1.8;cursor:pointer}.portal-agreement input{width:15px;height:15px;margin:3px 0 0;accent-color:#2563eb;flex-shrink:0}.portal-alert{padding:10px 12px;background:#fff3f4;border:1px solid #f4d5d9;border-radius:8px;font-size:12px;color:#be5364;margin-bottom:15px}.portal-steps{display:flex;justify-content:space-between;gap:8px;background:#f2f6fd;border-radius:8px;padding:10px;margin-bottom:22px;color:#8199bc;font-size:10px}.portal-success{text-align:center}.portal-success>span{display:grid;place-items:center;margin:0 auto 12px;width:60px;height:60px;background:#eaf8f0;color:#30a579;border-radius:18px;font-size:30px}.portal-success h2{font-size:22px}.portal-success p{font-size:12px;color:#8497b2}.portal-permission{text-align:center;font-size:12px;color:#8294af}.portal-permission-icon{display:grid;place-items:center;margin:0 auto 20px;width:55px;height:55px;background:#fff5e9;color:#ba873b;border-radius:16px;font-size:27px;font-weight:700}.portal-permission>p{margin:22px 0 0;line-height:2}
/* Secondary dialogs: original IDs/actions unchanged. */
.portal-dialog-mask,.portal-secondary-mask,.portal-security-overlay,.portal-page #wdMask{background:rgba(17,32,57,.48)!important;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}.portal-dialog-mask{position:fixed;inset:0;z-index:10030;display:flex;align-items:center;justify-content:center;padding:16px}
.portal-dialog,.portal-security-overlay>div{width:420px!important;max-width:calc(100vw - 32px)!important;max-height:calc(100dvh - 32px);overflow:auto!important;margin-top:0!important;background:#fff;border:1px solid #e1e8f2;border-radius:18px!important;box-shadow:0 24px 80px #142c553d!important;color:#263b59}
.portal-dialog-mask>.portal-dialog{padding:0}.portal-dialog-mask h2{margin:0;padding:20px 24px;font-size:17px;background:#f3f7ff;border-bottom:1px solid #e7edf6}.portal-dialog-mask p{margin:0;padding:24px;font-size:14px}.portal-dialog-actions{display:flex;justify-content:flex-end;gap:10px;padding:0 24px 22px}.portal-page>.portal-dialog{top:12vh!important;transform:translateX(-50%)!important}
.portal-page>.portal-dialog>div:first-child,.portal-security-overlay>div>div:first-child{background:#f3f7ff!important;border-bottom:1px solid #e7edf6!important;padding:20px 24px!important;font-size:17px}.portal-page>.portal-dialog>div:not(:first-child){padding:22px!important}.portal-security-overlay>div>div:last-child{padding:24px!important}.portal-security-overlay>div>div:last-child>div:first-child{background:#fff9f0!important;border:1px solid #f1dfc8!important;color:#9e773f!important;font-size:13px!important;line-height:1.9!important;overflow-wrap:anywhere}.portal-page #offlineOkBtn{background:#2563eb!important;border-color:#2563eb!important;border-radius:9px!important;padding:10px 24px!important}
.portal-page #wdModal{width:820px!important;border:1px solid #e1e8f2!important;border-radius:18px!important;max-width:calc(100vw - 32px)!important;max-height:calc(100dvh - 32px);overflow:auto;box-shadow:0 24px 80px #142c553d!important}.portal-page #wdModal>div:first-child{padding:18px 22px!important;background:#f3f7ff;border-bottom:1px solid #e7edf6!important;gap:12px}.portal-page #wdModal>div:last-child{padding:22px!important}.portal-page #wdTabs{gap:8px!important}.portal-page #wdTabs>a{font-size:12px;padding:8px 12px}.portal-page #wdBody{min-height:250px!important;min-width:0}.portal-page #wdBody .card{border-radius:12px!important;box-shadow:none!important;padding:18px!important;background:#f8fbff!important;border:1px solid #e1ebf8!important;min-width:0}.portal-page #wdBody select{max-width:100%;text-overflow:ellipsis}.portal-page #wdBody .desc{overflow-wrap:anywhere}.portal-page #wdListWrap{border:1px solid #e2ebf7;border-radius:11px;overflow:hidden;margin-top:14px}
.portal-page .__tip__,.portal-page .portal-tooltip,.portal-page .tip-popover{background:#fff!important;color:#617995!important;border:1px solid #dce7f6!important;border-radius:9px!important;box-shadow:0 8px 28px #29477122!important;font-size:12px!important;max-width:min(360px,calc(100vw - 24px))!important}
@media(max-width:1000px){.portal-auth-layout{gap:45px}.portal-auth-story>h2{font-size:29px}.portal-page .admin-wrap{padding:0 20px 28px}.portal-page #tbl th:nth-child(7),.portal-page #tbl td:nth-child(7){width:150px}.portal-page #tbl th:nth-child(6),.portal-page #tbl td:nth-child(6){width:105px}.portal-page #queue td:nth-child(4),.portal-page #queue th:nth-child(4){width:145px}.portal-page #rebateList th:first-child{width:160px}.portal-page #rebateList th:nth-child(6),.portal-page #rebateList th:nth-child(7){width:100px}}
@media(max-width:760px){
  .portal-auth-layout{grid-template-columns:minmax(0,1fr);max-width:480px;gap:26px;padding:20px 16px 30px;align-content:center}.portal-auth-story{display:none}.portal-auth-nav{min-height:70px;padding:18px 20px}.portal-auth-card>header{padding:26px 24px 0}.portal-auth-content{padding:24px}.portal-auth-card h1{font-size:25px}.portal-auth-card{border-radius:16px}.portal-auth .footer{margin-top:0}.portal-page input:not([type=checkbox]):not([type=file]),.portal-page select{font-size:16px}.portal-auth-form .portal-code-row input{font-size:14px!important}.portal-auth-links{font-size:12px}
  .portal-page .admin-wrap{padding:0 14px 25px}.portal-topbar{min-height:70px;gap:12px}.portal-brand{font-size:21px}.portal-brand svg{width:30px;height:27px}.portal-topbar-label{display:none}.portal-topbar-actions{gap:15px;font-size:11px}.portal-navigation{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:16px 0 20px}.portal-navigation a{flex-direction:column;gap:6px;padding:10px 2px;font-size:11px}.portal-navigation a>span{width:24px;height:24px}.portal-page-heading{gap:12px;align-items:flex-start;flex-wrap:wrap;margin:5px 0 20px}.portal-page-heading h2{font-size:24px}.portal-page-heading p{font-size:12px}.portal-page-heading>.btn{min-height:36px;font-size:11px}.portal-eyebrow{font-size:9px}
  .portal-stats{gap:12px;margin-bottom:26px}.portal-stat{padding:20px 16px;display:block}.portal-stat-icon{width:36px;height:36px;font-size:18px;margin-bottom:12px}.portal-stat strong{font-size:26px;overflow-wrap:anywhere}.portal-stat h3{font-size:12px}.portal-stat p{font-size:10px}.portal-quick-links{grid-template-columns:minmax(0,1fr);gap:12px}.portal-quick-links>a{padding:20px;display:grid;grid-template-columns:40px minmax(0,1fr);gap:0 14px}.portal-quick-links>a>span{grid-row:1/4}.portal-quick-links h3{margin:0;font-size:15px}.portal-quick-links p{min-height:0;margin:6px 0;font-size:12px}.portal-quick-links b{font-size:11px}.portal-page #qForm{gap:8px}.portal-page #q{width:100%}.portal-page #qForm .btn{flex:1}
  .portal-page .portal-responsive-table,.portal-page .portal-responsive-table tbody{display:block;width:100%;table-layout:auto}.portal-page .portal-responsive-table tr:has(th){display:none}.portal-page .portal-responsive-table thead{display:none}.portal-page .portal-responsive-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px;padding:19px 17px;border-bottom:1px solid #e8eef7}.portal-page .portal-responsive-table tr:last-child{border-bottom:0}.portal-page .portal-responsive-table td{display:block!important;width:auto!important;min-width:0;padding:0!important;border:0!important;white-space:normal!important;text-align:left!important;overflow-wrap:anywhere;line-height:1.9;font-size:12px}.portal-page .portal-responsive-table td::before{content:attr(data-label);display:block;color:#92a1b7;font-size:10px;font-weight:400;margin-bottom:4px}.portal-page .portal-empty-row{display:block!important;text-align:center}.portal-page .portal-empty-row td::before{display:none}
  .portal-page #tbl td:nth-child(2),.portal-page #tbl td:last-child{grid-column:1/-1}.portal-page #tbl td:nth-child(2){grid-row:1;color:#263f64;font-size:14px;font-weight:600}.portal-page #tbl td:nth-child(2)::before{font-weight:400}.portal-page #tbl td:last-child{display:flex!important;gap:8px;flex-wrap:wrap;align-items:center}.portal-page #tbl td:last-child::before{width:100%}.portal-page #tbl td:last-child .btn{flex:1;min-height:36px}.portal-page #tbl td:first-child{grid-column:1}.portal-page #rebateList td:first-child{grid-column:1/-1}.portal-page #queue td:first-child,.portal-page #queue td:nth-child(4),.portal-page #queue td:last-child{grid-column:1/-1}.portal-page #queue td:first-child{font-size:14px;color:#263f64;font-weight:600}.portal-page #queue .progress{width:100%}.portal-page #queue td:last-child:has(a){text-align:right!important}.portal-page .portal-rebate-stats{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}.portal-page .portal-rebate-stats .card{padding:21px}.portal-page .portal-rebate-stats .desc{font-size:27px!important}.portal-page .portal-rebate-stats .title{margin-bottom:7px}
  .portal-upload-box{padding:26px 18px}.portal-upload-box h3{font-size:18px}.portal-upload-box p{font-size:12px;line-height:1.9}.portal-upload-actions{flex-direction:column;align-items:stretch}.portal-upload-actions input{width:100%}.portal-upload-actions .btn{width:100%}.portal-upload-note{font-size:10px}.portal-subheading h3{font-size:15px}.portal-subheading>span{font-size:10px}.portal-page #wdModal{top:16px!important;max-width:calc(100vw - 24px)!important}.portal-page #wdModal>div:first-child{padding:14px!important}.portal-page #wdModal>div:last-child{padding:14px!important;max-height:calc(100dvh - 110px)!important}.portal-page #wdTabs{gap:4px!important}.portal-page #wdTabs>a{font-size:10px;padding:8px}.portal-page #wdBody>div:first-child[style*="grid"]{grid-template-columns:minmax(0,1fr)!important}.portal-page #wdBody .card{padding:15px!important}.portal-page #wdBody .card div[style*="min-width:200px"]{min-width:0!important;flex-basis:100%!important}.portal-page #wdBody>div:first-child[style*="flex"]{flex-wrap:wrap}.portal-page #wdBody>div:first-child>select{font-size:12px;flex:1}.portal-page>.portal-dialog{top:16px!important}.portal-page #wdBody .table td:last-child a{font-size:13px}
}
@media(max-width:370px){.portal-auth-content{padding:20px}.portal-auth-card>header{padding:24px 20px 0}.portal-auth-links{font-size:11px}.portal-code-row{flex-wrap:wrap}.portal-code-row input{flex-basis:100%;width:100%!important}.portal-code-row button{width:100%}.portal-stat strong{font-size:22px}.portal-stat{padding:16px 12px}}
@media(prefers-reduced-motion:reduce){.portal-page *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Violet/cyan brand accents; working surfaces stay light for long reading sessions. */
.portal-page{--portal-blue:#7850c7;background:#f6f6fa}.portal-page a{color:#7952bc}.portal-brand svg{color:#3bacc2}.portal-page .btn{background:#7850c7;border-color:#7850c7}.portal-page .btn:hover{background:#6942b6}.portal-page .btn.gray{background:#fff;border-color:#e0dcea;color:#776b8c}.portal-page .btn.gray:hover{background:#f4f0fa;border-color:#c7b6de}.portal-page .btn.red{background:#fff1f2;border-color:#f3d1d8;color:#bd5568}.portal-page .btn.yellow{background:#fff8e6;border-color:#f4e4b9;color:#a47a27}.portal-page .portal-navigation a[aria-current]{background:#fff;border-color:#e3d9f4;color:#7952bc}.portal-navigation a[aria-current]>span{background:#f1ebfa;color:#7952bc}.portal-page .portal-eyebrow{color:#8e79b1}.portal-auth{background:radial-gradient(ellipse at 12% 30%,#ede5fa,transparent 48%),radial-gradient(ellipse at 90% 90%,#e7f4f7,transparent 50%),#f7f7fb}.portal-auth-story>h2 strong{color:#7850c7}.portal-auth-visual{background:linear-gradient(135deg,#eee7f9,#edf7f8);border-color:#ddd8ec}.portal-visual-file>span{background:linear-gradient(145deg,#9875cd,#657cad)}.portal-visual-cloud{color:#8d83bd}.portal-auth-submit{box-shadow:0 4px 10px #7850c716!important}.portal-auth-links>a:last-child{color:#7952bc}.portal-page #offlineOkBtn{background:#7850c7!important;border-color:#7850c7!important}.portal-page input:focus,.portal-page select:focus{border-color:#b39ad7!important;box-shadow:0 0 0 3px #f1ebfa!important}
