:root{font:15px "Segoe UI",sans-serif;color:#e4fff7;background:#071b26;color-scheme:dark}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 15% 0,#11544b80,transparent 65%),radial-gradient(ellipse at 95% 70%,#563b9355,transparent 60%);min-height:100vh}header{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:20px 5%;border-bottom:1px solid #315162}header>a{display:flex;align-items:center;gap:12px;color:#c7ffed;font-size:21px;text-decoration:none}header img{width:55px;height:55px;object-fit:contain}nav{display:flex;gap:16px;align-items:center;flex-wrap:wrap}nav form{margin:0}main{max-width:1050px;margin:40px auto;padding:0 22px}h1{font-size:32px;font-weight:500}h2{font-size:20px}h2 small{color:#8caebb;font-weight:400}.card{background:#102734df;border:1px solid #345464;border-radius:18px;padding:26px;margin:22px 0;box-shadow:0 14px 45px #0002}.login{max-width:540px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;align-items:end}label{display:block;margin:14px 0;color:#b6d5d6}input,textarea{display:block;width:100%;margin-top:7px;background:#081d29;border:1px solid #416272;color:#e5fff4;border-radius:8px;padding:11px;font:inherit}textarea{resize:vertical;overflow-wrap:anywhere}.check{display:flex;align-items:center;gap:10px}.check input{display:inline;width:auto;margin:0}a{color:#93eaca;text-underline-offset:3px}button,.button{display:inline-block;font:inherit;border:1px solid #4c817d;border-radius:9px;background:#183f4b;color:#d9ffed;padding:11px 17px;text-decoration:none;cursor:pointer}.primary{background:#8ee6c8;color:#092d2c;border-color:#8ee6c8}.error{color:#ffb5b5}footer{padding:35px;text-align:center;color:#8fb5b9;font-size:13px}@media(max-width:650px){header{flex-direction:column;align-items:flex-start}.card{padding:18px}h1{font-size:26px}nav{font-size:12px;gap:12px}}

.portal-language{font-size:12px;display:flex;align-items:center;gap:5px}.portal-language select{max-width:150px;background:#102b39;color:#cffff0;border:1px solid #416272;padding:7px;border-radius:6px}

.product-tabs{display:flex;gap:10px;margin:20px 0}.product-tabs a{padding:12px 24px;border:1px solid #3f6479;border-radius:8px}.product-tabs a.selected{background:#327d6b}.usage-summary{border-top:1px solid #416575;margin-top:24px;padding-top:16px}.usage-summary dl{display:grid;grid-template-columns:minmax(140px,220px) 1fr;gap:8px}.usage-summary dt{color:#9bb7c7}.usage-summary dd{margin:0}.activity-table{overflow:auto}.activity-table table{width:100%;border-collapse:collapse;font-size:12px}.activity-table th,.activity-table td{text-align:left;padding:10px;border-bottom:1px solid #355368;vertical-align:top;max-width:300px;overflow-wrap:anywhere}.activity-table details{max-width:240px}.usage-summary p,.usage-summary small,.privacy-note{color:#a8c3d4;line-height:1.5}

/* Flexible forms and stacked activity rows, without page-wide horizontal scroll. */
main,header,nav,.card,.grid,.grid>*,form,fieldset,.usage-summary,.activity-table{min-width:0}main{width:100%}input,textarea,select{max-width:100%;font:inherit}select{display:block;width:100%;margin-top:7px;padding:11px;background:#081d29;color:#e5fff4;border:1px solid #416272;border-radius:8px}input,select,button,.button{min-height:44px}input[type=checkbox]{min-height:24px;min-width:24px;flex:0 0 24px}.grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))}h1,h2,h3,p,dd,summary,.button{overflow-wrap:anywhere}.card textarea{min-width:0;max-width:100%;word-break:break-all}nav>a{display:inline-flex;min-height:44px;align-items:center}.portal-language{margin:0}.portal-language select{width:auto;margin:0}.product-tabs{flex-wrap:wrap}.activity-table{width:100%;max-width:100%}.activity-table td details,.activity-table td textarea{max-width:100%}.usage-summary dd{min-width:0;overflow-wrap:anywhere}details>summary{cursor:pointer;min-height:44px;padding:10px 0}.card form>button{margin-top:10px}.check{align-items:flex-start;line-height:1.5}.card .grid label{min-width:0}
@media(max-width:800px){header{flex-wrap:wrap;padding:18px 22px;gap:12px}header nav{width:100%;gap:8px 14px;font-size:14px}main{margin:26px auto;padding:0 18px}.portal-language{margin-left:auto}.usage-summary dl{grid-template-columns:minmax(110px,160px) minmax(0,1fr)}}
@media(max-width:600px){:root{font-size:16px}header{align-items:stretch;padding:16px;gap:12px}header>a{font-size:20px}header img{width:44px;height:44px}nav{width:100%;gap:8px 14px}.portal-language{width:100%;justify-content:space-between;margin-left:0}.portal-language select{width:60%;max-width:220px;font-size:16px}main{padding:0 12px;margin:22px auto}h1{font-size:clamp(24px,6.8vw,30px);line-height:1.25}.card{padding:18px 16px;margin:16px 0;border-radius:14px}h2{line-height:1.4}.grid{grid-template-columns:minmax(0,1fr);gap:6px}input,textarea,select{font-size:16px}.card form>.primary,.card>.button{width:100%;text-align:center}.product-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px}.product-tabs a{padding:12px 8px;text-align:center}.usage-summary dl{grid-template-columns:minmax(0,1fr);gap:5px}.usage-summary dd{margin-bottom:12px}.activity-table table,.activity-table tbody,.activity-table tr,.activity-table td{display:block;width:100%;max-width:none}.activity-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%)}.activity-table tr{border:1px solid #355368;border-radius:10px;padding:8px 12px;margin:12px 0;background:#0b202d}.activity-table td{padding:8px 0;border:0;overflow-wrap:anywhere}.activity-table td:before{content:attr(data-label);display:block;color:#8eadaf;font-size:12px;font-weight:600;margin-bottom:5px}.activity-table details{max-width:none}.activity-table textarea{width:100%}.usage-summary{padding-top:18px}.usage-summary p,.usage-summary small{line-height:1.6}footer{padding:24px 16px}.error{line-height:1.6}}

.profile-photo{display:inline-flex;width:48px;height:48px;border-radius:50%;object-fit:cover;flex:0 0 48px;background:linear-gradient(140deg,#2c6a69,#424d80);align-items:center;justify-content:center;color:#bdffe4;font-size:24px}.profile-chip{display:flex;align-items:center;gap:10px;text-decoration:none!important;max-width:260px}.profile-chip span:not(.profile-photo){display:flex;flex-direction:column;min-width:0}.profile-chip strong,.profile-chip small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-chip small{color:#9bbfc3;font-size:12px}.profile-photo-row{display:flex;gap:24px;align-items:center;flex-wrap:wrap}.profile-photo-row>.profile-photo{width:112px;height:112px;flex-basis:112px;font-size:48px}.profile-editor{max-width:760px}.profile-admin-line{display:flex;gap:16px;align-items:center;margin-bottom:16px}.login-profiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:10px;margin:20px 0}.login-profile{display:flex;align-items:center;gap:12px;text-align:left;padding:14px;min-height:88px;width:100%}.login-profile.selected{background:#2a655b;border-color:#97efd2}.login-profile>span:last-child{display:flex;flex-direction:column;min-width:0;overflow-wrap:anywhere}.login-profile small{color:#a1c5c4}.profile-choice-heading{font-size:22px;margin:18px 0 8px}.profile-login-actions{display:flex;gap:10px;flex-wrap:wrap}.profile-editor output{display:block;color:#9be5d0;margin:14px 0}@media(max-width:650px){.profile-chip{width:100%;max-width:none;padding-bottom:10px;border-bottom:1px solid #375665}.profile-chip strong,.profile-chip small{white-space:normal}.login-profile{min-height:90px}.profile-photo-row{gap:16px}.profile-photo-row>div{width:100%}.profile-photo-row input{font-size:14px}.profile-admin-line{flex-wrap:wrap}}

.product-license{padding:28px}.license-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}.license-heading small{letter-spacing:.16em;color:#9ac7c7;font-size:10px}.license-heading h2{margin:8px 0;font-size:25px}.license-status{font-size:12px;border:1px solid #80684e;background:#503b2233;color:#ffd5a1;padding:8px 12px;border-radius:24px}.license-status.active{border-color:#4c8e7e;background:#77dfbb15;color:#9ef0d4}.license-facts{display:grid;grid-template-columns:1fr 1fr;gap:16px;border-top:1px solid #345464;padding-top:22px;margin-top:22px}.license-facts dt{color:#9ebbc5;font-size:13px}.license-facts dd{margin:6px 0;font-size:17px}.license-key{border-top:1px solid #345464;margin-top:16px}.license-key textarea{font:12px Consolas,monospace}.license-actions{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0 12px}.license-actions>*{text-align:center}.license-note{color:#a8c3d4;font-size:13px;line-height:1.6}.copy-status{display:inline-block;margin:8px;color:#9ef0d4}.other-licenses{margin-top:20px}.other-licenses>.license-key{padding-left:14px}.license-facts>div{min-width:0}@media(max-width:600px){.product-license{padding:22px 18px}.license-heading h2{font-size:23px}.license-facts{grid-template-columns:1fr;gap:12px}.license-actions{display:grid;grid-template-columns:minmax(0,1fr)}.license-actions .button{width:100%}.license-heading{align-items:flex-start}}

/* Shared visual language with the desktop studio. */
.portal-shell{--portal-mint:#8ee6c8;--portal-line:#355463;--portal-muted:#9fbdc6;background:radial-gradient(ellipse at 0 0,#174c475c,transparent 52%),radial-gradient(ellipse at 100% 15%,#42365d66,transparent 58%),#071723;background-attachment:fixed;color:#dfefed;font-family:"Segoe UI",sans-serif}
.portal-topbar{margin:10px 12px 0;padding:14px 22px;gap:24px;border:1px solid var(--portal-line);border-radius:13px;background:linear-gradient(110deg,#102c37f2,#18253bf2);box-shadow:0 12px 35px #0002;flex-wrap:wrap}
.portal-topbar .portal-brand{font-size:25px;gap:14px;flex:0 0 auto;line-height:1.2}.portal-brand img{width:58px;height:58px;filter:drop-shadow(0 0 14px #76d8c21a)}.portal-brand>span{display:flex;flex-direction:column;gap:5px}.portal-brand strong{font-weight:650;letter-spacing:-.03em}.portal-brand small{font-size:10px;letter-spacing:.1em;color:#9ebcbf}
.portal-account{display:flex;align-items:center;justify-content:flex-end;gap:14px;flex-wrap:wrap;margin-left:auto;min-width:0}.portal-account form{margin:0}.portal-account .profile-chip{padding:8px 12px;border:1px solid #345766;border-radius:9px;background:#15333f;max-width:270px;min-height:54px;font-size:13px}.portal-account .profile-photo{height:36px;width:36px;flex-basis:36px;font-size:20px}.portal-account .portal-language{display:flex;flex-direction:row;gap:8px;width:auto;margin:0;font-size:11px;color:#9ebbc5}.portal-account .portal-language select{width:auto;max-width:150px;font-size:13px;min-height:40px;margin:0}.portal-signout{font-size:13px;min-height:44px}
.portal-navigation{width:auto;display:flex;gap:8px;flex-wrap:wrap;margin:16px 22px 0;padding:0;border:0;align-items:center;font-size:13px}.portal-navigation>a{border:1px solid transparent;border-radius:8px;padding:10px 16px;min-height:43px;text-decoration:none;color:#adcad0;transition:background .15s,border-color .15s}.portal-navigation>a:hover{background:#1a3946;border-color:#3d6170;color:#e9fff7}.portal-navigation>a.selected{background:#275f57;border-color:#86d9bd;color:#d9fff2;box-shadow:inset 0 0 0 1px #a8ffe90d}
.portal-main{max-width:1420px;margin:32px auto 56px;padding:0 28px}.portal-page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 28px;padding:12px 0 26px;border-bottom:1px solid #375463}.portal-page-heading h1{font-size:clamp(26px,2.6vw,38px);line-height:1.2;font-weight:400;letter-spacing:-.035em;margin:12px 0}.portal-eyebrow{font-size:10px;letter-spacing:.24em;color:#91c8bd;margin:0}.portal-intro{font-size:14px;line-height:1.6;color:var(--portal-muted);margin:0}.portal-page-mark{width:78px;height:78px;object-fit:contain;filter:drop-shadow(0 6px 14px #0003)}
.portal-content .card{background:linear-gradient(135deg,#12303cd9,#132239ef);border:1px solid var(--portal-line);box-shadow:0 12px 35px #020b141a;border-radius:13px;padding:26px;margin:18px 0}.portal-content .card h2{font-weight:600;letter-spacing:-.025em;color:#dcf3ed}.portal-content .card h3{font-size:17px;font-weight:600}.portal-content label{font-size:13px;color:#a8c6cd}.portal-shell input,.portal-shell textarea,.portal-shell select{background:#091e2a;border-color:#3c6070;border-radius:7px;color:#e0f5ed}.portal-shell input:focus,.portal-shell textarea:focus,.portal-shell select:focus{outline:2px solid #80ddbe;outline-offset:2px}.portal-shell button,.portal-shell .button{border-radius:8px;background:#193947;border:1px solid #446b78;color:#d7eeeb;font-size:13px;min-height:44px;transition:background .15s,transform .15s}.portal-shell button:hover,.portal-shell .button:hover{background:#254d58;border-color:#75b7b1}.portal-shell button.primary,.portal-shell .button.primary{background:var(--portal-mint);border-color:var(--portal-mint);color:#10332f;font-weight:600}.portal-shell button.primary:hover,.portal-shell .button.primary:hover{background:#adf4dc}.portal-shell :is(a,button,summary):focus-visible{outline:2px solid #8ee6c8;outline-offset:4px}
.portal-shell .privacy-note{font-size:12px;padding:14px 18px;border:1px solid #355463;border-radius:9px;background:#102a35;margin:0 0 18px;line-height:1.7}.portal-content:has(>.product-license){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}.portal-content:has(>.product-license)>.privacy-note{grid-column:1/-1;margin:0}.portal-content>.product-license{margin:0;display:flex;flex-direction:column;min-width:0}.portal-shell .license-heading{gap:14px}.portal-shell .license-heading h2{font-size:23px;line-height:1.25}.portal-shell .license-heading small{font-size:9px;letter-spacing:.15em}.portal-shell .license-status{font-size:10px;padding:7px 10px}.portal-shell .license-facts{grid-template-columns:1fr;gap:18px;padding-top:22px}.portal-shell .license-facts dd{font-size:17px}.portal-shell .license-note{font-size:12px}.portal-shell .license-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin-top:auto;padding-top:24px}.portal-shell .license-actions .button{width:100%;display:flex;align-items:center;justify-content:center}.portal-shell .license-key>summary,.portal-shell .other-licenses>summary{font-size:13px;color:#c7e3df}.portal-shell .license-key textarea{line-height:1.6}.portal-shell .license-key button{font-size:12px}.portal-shell .copy-status{font-size:12px;margin-left:0}.portal-shell .other-licenses{font-size:12px}
.portal-shell .product-tabs{gap:9px}.portal-shell .product-tabs a{border-radius:8px;padding:11px 20px;text-decoration:none;font-size:13px;background:#173542}.portal-shell .product-tabs a.selected{border-color:#84dbc0;background:#285e56}.portal-shell .usage-summary{margin-top:26px;padding-top:20px}.portal-shell .usage-summary dl{padding:16px 18px;border:1px solid #345261;border-radius:9px;background:#0a202c;line-height:1.5}.portal-shell .usage-summary p{font-size:12px}.portal-shell .usage-summary small{font-size:11px}.portal-shell .activity-table{border:1px solid #345261;border-radius:10px;overflow:auto;background:#0b222e}.portal-shell .activity-table th{background:#183440;color:#b9d8d5;font-size:11px;padding:13px 12px}.portal-shell .activity-table td{font-size:12px;padding:14px 12px;line-height:1.6;border-color:#294755}.portal-shell .activity-table tbody tr:last-child td{border-bottom:0}.portal-shell .activity-table tbody tr:hover{background:#19443838}.portal-shell .activity-table details summary{min-height:26px;padding:0;font-size:12px}.activity-source{display:block!important;color:#96b3bf}.activity-older{margin:12px 0 18px;border:1px solid #365765;border-radius:9px;padding:0 14px;background:#142e3b}.activity-older>summary{display:flex;align-items:center;gap:12px;min-height:46px;font-size:13px;color:#acd9d0}.activity-older>summary:before{content:'›';font-size:22px;transform:rotate(0deg);transition:transform .15s}.activity-older[open]>summary:before{transform:rotate(90deg)}.activity-count{border:1px solid #42616d;border-radius:20px;padding:2px 9px;font-size:11px;color:#9dc7c4;margin-left:auto}.activity-older>.activity-table{margin-bottom:14px}.portal-shell footer{border-top:1px solid #2e4958;font-size:11px;color:#86a8b4;padding:26px 20px}.portal-main:has(.login) .portal-page-heading{max-width:620px;margin-inline:auto}.portal-content>.login{max-width:620px;margin:18px auto}.portal-content>.login>p{font-size:13px;line-height:1.6;color:#a9c5cb}
@media(max-width:1150px){.portal-content:has(>.product-license){grid-template-columns:minmax(0,1fr)}.portal-shell .license-facts{grid-template-columns:1fr 1fr}.portal-shell .license-actions{display:flex;flex-wrap:wrap;justify-content:flex-start;margin-top:8px;padding-top:12px}.portal-shell .license-actions .button{width:auto;min-width:220px}.portal-main{max-width:1050px}}
@media(max-width:700px){.portal-topbar{margin:8px;padding:16px;gap:18px}.portal-topbar .portal-brand{font-size:23px}.portal-brand img{width:48px;height:48px}.portal-brand small{font-size:8px;letter-spacing:.08em}.portal-account{width:100%;margin:0;gap:10px;justify-content:flex-start}.portal-account .profile-chip{width:100%;max-width:none}.portal-account .portal-language{flex:1;justify-content:flex-start;min-width:0}.portal-account .portal-language select{font-size:16px;min-height:44px;max-width:160px}.portal-navigation{margin:14px 12px 0;gap:6px}.portal-navigation>a{padding:9px 12px;font-size:12px}.portal-main{margin:22px auto 36px;padding:0 14px}.portal-page-heading{padding:8px 4px 22px;margin-bottom:20px;gap:12px}.portal-page-heading h1{font-size:29px}.portal-eyebrow{font-size:8px;letter-spacing:.17em}.portal-intro{font-size:12px}.portal-page-mark{width:48px;height:48px;flex:0 0 48px}.portal-content .card{padding:22px 18px;border-radius:12px}.portal-shell .license-facts{grid-template-columns:minmax(0,1fr)}.portal-shell .license-actions{display:grid;margin-top:8px;gap:10px}.portal-shell .license-actions .button{width:100%;min-width:0}.portal-shell .privacy-note{padding:13px 15px;font-size:11px}.portal-shell .activity-table{background:transparent;border:0;overflow:visible}.portal-shell .activity-table tr{margin:10px 0;background:#0a202c;border-color:#345261}.portal-shell .activity-table td{padding:8px 0;border:0;font-size:13px}.portal-shell .activity-table td:before{font-size:10px;letter-spacing:.04em;color:#88acae}.portal-shell .usage-summary dl{padding:16px}.activity-older{padding:0 12px}.portal-shell .product-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.portal-shell .product-tabs a{padding:11px 8px;font-size:12px}.portal-shell input,.portal-shell textarea,.portal-shell select{font-size:16px}.portal-shell .license-key textarea{font-size:12px}}
@media(prefers-reduced-motion:reduce){.portal-shell *{transition:none!important}}

.portal-content>.admin-overview{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:22px}.admin-overview p{color:#a8c6cd;line-height:1.6}.customer-list{display:grid;gap:10px;margin-top:24px}.customer-row{display:flex;align-items:center;gap:16px;padding:16px;background:#0c2330;border:1px solid #355463;border-radius:10px;text-decoration:none!important;color:#dcefeb}.customer-row:hover{background:#183b45;border-color:#88d9bf}.customer-name{display:flex;flex-direction:column;gap:6px;flex:1;min-width:0;overflow-wrap:anywhere}.customer-name small,.customer-last{color:#9ebdc6;font-size:12px;line-height:1.6}.customer-last{margin-left:auto}.customer-row>.license-status{flex-shrink:0}@media(max-width:700px){.portal-content>.admin-overview{display:block}.customer-row{flex-wrap:wrap;gap:12px}.customer-last{width:100%;margin:0;order:2}.customer-row>.license-status{font-size:10px}.customer-name{flex-basis:calc(100% - 80px)}}

.activation-device{padding:18px;margin:18px 0;border:1px solid #355463;border-radius:10px;background:#0c2330}.activation-device form{display:flex;gap:10px;flex-wrap:wrap}.activation-device p{overflow-wrap:anywhere}
