.portal-page .section-heading{margin-bottom:10px}
.portal-message:empty{display:none}
.portal-signed-out{max-width:520px;margin:30px auto;text-align:center}
.portal-signed-out h2{margin-bottom:8px}
.portal-signed-out p{color:#a3a3b1;margin-bottom:20px}
.portal-head{margin:22px 0 10px;padding:18px 22px}
.portal-page .portal-section{padding:0}
.portal-page .account-card{min-height:0}
.portal-section{margin-top:38px}
.portal-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:14px}
.portal-title h2{font-size:20px;font-weight:600;letter-spacing:-.4px}
.portal-link-out{color:#a3a3b1;font-size:12px;text-decoration:none}
.portal-link-out:hover{color:#fff}
.portal-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px}
.portal-licence{display:flex;flex-direction:column;gap:14px;padding:20px;border:1px solid #ffffff14;border-radius:14px;background:linear-gradient(150deg,#ffffff07,#ffffff02)}
.portal-licence.expired,.portal-licence.revoked{opacity:.7}
.portal-licence-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.portal-licence-head b{font-size:20px;font-weight:600;letter-spacing:-.4px}
.portal-badge{font-size:10px;padding:4px 9px;border-radius:99px;border:1px solid #afdcc42e;background:#afdcc414;color:#afdcc4}
.portal-badge.expired,.portal-badge.revoked{border-color:#efb9af2e;background:#efb9af12;color:#efb9af}
.portal-facts{display:grid;grid-template-columns:auto 1fr;gap:7px 16px;margin:0;font-size:12px}
.portal-facts dt{color:#878792}
.portal-facts dd{margin:0;color:#e4e4ea;text-align:right}
.mono{font-family:Consolas,"JetBrains Mono",monospace;letter-spacing:.3px}
.portal-key{display:flex;align-items:center;gap:10px;padding:11px 13px;border:1px solid #ffffff1c;border-radius:9px;background:#0c0c0f;font-size:13px;color:#fff}
.portal-key .text-button{margin-left:auto}
.portal-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:auto}
.portal-actions .btn{font-size:12px;padding:9px 13px}
.portal-actions .btn:disabled{opacity:.45;cursor:not-allowed}
.portal-actions small{font-size:10px}
.portal-add{margin-top:18px;max-width:560px}
.portal-add label{display:block;font-size:12px;color:#a3a3b1;margin-bottom:8px}
.portal-app{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
.portal-app>div{flex:1 1 320px}
.portal-app p{color:#a3a3b1;font-size:13px;line-height:1.7;margin-top:6px}
.portal-orders{display:flex;flex-direction:column;gap:8px}
.portal-order{display:grid;grid-template-columns:1.4fr 1fr 1fr auto;align-items:center;gap:12px;padding:13px 16px;border:1px solid #ffffff0f;border-radius:10px;background:#ffffff04;font-size:12px}
.portal-order span{color:#a3a3b1}
.portal-order em{font-style:normal;color:#afdcc4}
.portal-order.pending em,.portal-order.creating em{color:#e2c888}
.portal-order.expired em,.portal-order.failed em,.portal-order.refunded em{color:#efb9af}
.portal-empty{font-size:13px;margin-top:6px}
.connect-wrap{display:flex;justify-content:center;padding:70px 0 90px}
.connect-card{max-width:500px;text-align:center;padding:40px 34px}
.connect-logo{display:block;width:46px;height:46px;margin:0 auto 18px}
.connect-card h1{font-size:24px;letter-spacing:-.6px;margin-bottom:12px}
.connect-card #connect-text{color:#c9c9d2;line-height:1.7;font-size:14px}
.connect-actions{display:flex;flex-direction:column;align-items:center;gap:12px;margin-top:24px}
.connect-cancel{margin:0}
.connect-note{margin-top:22px;font-size:11px;line-height:1.7}
@media(max-width:720px){.portal-order{grid-template-columns:1fr 1fr;row-gap:4px}.portal-grid{grid-template-columns:1fr}}

.narrow-wrap{max-width:860px}
.log-list{display:flex;flex-direction:column;margin-top:26px;border-left:1px solid #ffffff14;padding-left:26px}
.log-entry{position:relative;display:grid;grid-template-columns:110px 1fr;gap:18px;padding:18px 0 26px}
.log-entry:before{content:"";position:absolute;left:-31px;top:24px;width:9px;height:9px;border-radius:50%;background:#e9e9ef;box-shadow:0 0 0 4px #ffffff10}
.log-entry time{color:#878792;font-size:12px;padding-top:4px;font-variant-numeric:tabular-nums}
.log-entry h2{font-size:18px;font-weight:600;letter-spacing:-.3px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.log-entry p{color:#b4b4c0;font-size:14px;line-height:1.7;margin-top:6px}
.log-version{font-size:10px;font-weight:500;padding:3px 8px;border-radius:6px;border:1px solid #ffffff1c;color:#c9c9d2;letter-spacing:.04em}
.status-board{display:flex;flex-direction:column;gap:10px;margin-top:28px}
.status-row{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:16px;padding:18px 20px;border:1px solid #ffffff12;border-radius:14px;background:linear-gradient(150deg,#ffffff07,#ffffff02)}
.status-row b{font-size:15px;font-weight:600}
.status-row p{color:#8e8e9a;font-size:12px;margin-top:3px}
.status-row em{font-style:normal;font-size:12px;color:#a3a3b1}
.status-light{width:10px;height:10px;border-radius:50%;background:#55555f}
.status-row[data-state=ok] .status-light{background:#7fd6a8;box-shadow:0 0 0 4px #7fd6a81c;animation:status-ring 2.6s ease-out infinite}
.status-row[data-state=ok] em{color:#afdcc4}
.status-row[data-state=wait] .status-light{background:#e8c46a;box-shadow:0 0 0 4px #e8c46a1c}
.status-row[data-state=wait] em{color:#e8c46a}
.status-row[data-state=bad] .status-light{background:#e8a598;box-shadow:0 0 0 4px #e8a5981c}
.status-row[data-state=bad] em{color:#efb9af}
.status-foot{margin-top:22px;font-size:12px}
@keyframes status-ring{0%{box-shadow:0 0 0 0 #7fd6a866}70%{box-shadow:0 0 0 8px #7fd6a800}100%{box-shadow:0 0 0 0 #7fd6a800}}
@media(max-width:720px){.log-entry{grid-template-columns:1fr;gap:4px}}
.portal-adobe{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin-top:6px;padding:16px;border:1px solid #ffffff1c;border-radius:12px;background:#0c0c0f}
.portal-adobe[hidden]{display:none}
.portal-adobe p{font-size:12px;line-height:1.6}
.portal-adobe input{width:100%;min-width:0;padding:10px;border:1px solid #ffffff26;border-radius:8px;background:#08080a;color:#eee;font-size:11px}
.portal-adobe small{font-size:11px;line-height:1.5}
