*{box-sizing:border-box}body{margin:0;font-family:Inter,"PingFang SC","Microsoft YaHei",sans-serif;color:#1e3043;background:#f5f7fb;font-size:14px;line-height:1.6}button,input,select{font:inherit}button,a,summary{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}[hidden]{display:none!important}a{color:inherit}.hero-brand{flex-direction:column;align-items:flex-start;gap:1px}.hero-brand small{font-size:9px;letter-spacing:.2em;font-weight:400;opacity:.65}.master-top h1{margin:0 0 10px}.master-top p{margin:0}.master-form{display:flex;flex-direction:column;gap:18px}.master-form label{display:flex;flex-direction:column;gap:8px}input,select{width:100%;min-width:0;border:1px solid #dce4ed;padding:11px 13px;border-radius:7px;background:white;color:#233d55;outline:none}input:focus,select:focus{border-color:#7697b7;box-shadow:0 0 0 3px #3c6b9815}.identity-login .master-form select{height:48px}.password-wrap{position:relative;display:flex}.identity-login .master-form .password-wrap input{padding-right:62px}.password-wrap button{position:absolute;right:8px;top:8px;bottom:8px;background:transparent;border:0;color:#73889c;font-size:12px}.identity-login .consent{display:flex;flex-direction:row;align-items:flex-start;font-size:11px;color:#8392a3;gap:8px}.consent input{width:14px!important;height:14px!important;margin-top:3px;padding:0!important;flex:0 0 auto}.text-button{border:0;background:none;color:#365f85;padding:0;font-size:12px;letter-spacing:0}.text-button:hover{text-decoration:underline}.login-submit{border:0;color:#fff;width:100%;cursor:pointer}.mode-tabs{display:flex;border-bottom:1px solid #e5ebf2;margin:24px 0;gap:28px}.mode-tabs button{background:none;border:0;padding:8px 0 12px;color:#8a98a7;font-size:13px}.mode-tabs button[aria-selected=true]{color:#193c62;border-bottom:2px solid #193c62;font-weight:600}.form-foot{display:flex;justify-content:space-between;margin-top:18px;font-size:11px;color:#9aa8b6}.support-note{font-size:11px;color:#8e9caa;line-height:1.8;margin-top:22px}.preview-tag{display:inline-block;font-size:11px;color:#477364;background:#eff7f3;padding:4px 9px;border-radius:5px;white-space:nowrap}#status,#workspace-status,#admin-status{padding:10px 14px;border-radius:7px;background:#fff2f2;color:#a74343;font-size:12px}#status[data-success=true]{background:#edf7f0;color:#3c7656}.workspace-top{height:76px;padding:0 5vw;background:white;border-bottom:1px solid #e7edf3;display:flex;align-items:center;justify-content:space-between;gap:15px}.workspace-top>div{display:flex;align-items:center;gap:20px}.workspace-brand{text-decoration:none;font-size:18px;font-weight:600;white-space:nowrap}.workspace-brand span{font-size:12px;font-weight:400;color:#95a1af;border-left:1px solid #dce3eb;padding-left:16px;margin-left:16px}.workspace-inner{max-width:1240px;margin:auto;padding:44px 36px}.welcome{margin-bottom:36px}.welcome h1{font-weight:500;font-size:30px;letter-spacing:.02em;margin:8px 0}.welcome p{color:#8998a8;font-size:13px;margin:0 0 10px}.eyebrow{font-size:10px!important;letter-spacing:.2em;color:#9fabb8!important}.welcome details{font-size:11px;color:#8e9caa}.welcome code{display:block;overflow-wrap:anywhere;margin-top:7px}.section-heading{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:16px}.section-heading h2{font-size:17px;font-weight:600;margin:0}.section-heading>span{font-size:11px;color:#96a3b1}.app-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.app-card{background:white;border:1px solid #e5ebf2;border-radius:12px;padding:22px;min-width:0}.app-card-top{display:flex;align-items:center;gap:12px}.app-icon{display:grid;place-items:center;background:#eff3f9;color:#4d6d90;width:38px;height:38px;border-radius:10px;font-weight:600;font-size:14px}.app-card h3{font-weight:600;font-size:15px;margin:0}.app-card p{font-size:11px;color:#9aa5b2;margin:14px 0}.app-card .button{width:100%;justify-content:center}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 16px;border:1px solid #dfe6ef;border-radius:7px;color:#456380;background:white;text-decoration:none;white-space:nowrap;font-size:12px;line-height:1.4}.button.primary{background:#193c62;color:white;border-color:#193c62}.button.quiet{border:0;background:none}.workspace-columns{display:grid;grid-template-columns:1.1fr 1fr;gap:20px;margin-top:30px}.panel{background:white;border:1px solid #e5ebf2;border-radius:12px;padding:24px;min-width:0}.muted{color:#8f9dae;font-size:12px;margin:0 0 18px}.team-row,.channel-row{padding:14px 0;border-top:1px solid #edf1f6;display:flex;justify-content:space-between;align-items:center;gap:10px}.team-row strong,.channel-row strong{font-size:13px}.team-row small,.channel-row small{display:block;font-size:11px;color:#94a0ad}.inline-form{display:flex;align-items:flex-end;gap:8px;margin-top:22px}.inline-form label{font-size:12px;flex:1;min-width:0}.inline-form input{margin-top:8px}.inline-form .button{height:44px}.empty{color:#a2adba;font-size:12px;padding:18px 0}.isolation-note{color:#96a3b2;font-size:11px;text-align:center;margin-top:36px}dialog{border:1px solid #e1e8f0;border-radius:14px;padding:28px;max-width:500px;width:calc(100% - 32px);color:#31465c;box-shadow:0 20px 80px #132c4930}dialog::backdrop{background:#122e4c66}dialog h2{font-size:21px;margin:0 0 14px}dialog p{font-size:13px;color:#8795a6}dialog code{overflow-wrap:anywhere}.close{float:right;border:0;background:none;font-size:22px;color:#8a98a7}.dialog-form{display:grid;gap:16px}.dialog-form label{display:grid;gap:7px;font-size:12px}.admin-shell{display:grid;grid-template-columns:232px minmax(0,1fr);min-height:100dvh}.admin-sidebar{padding:28px 18px;background:#fff;border-right:1px solid #e5ebf2}.admin-sidebar h2{font-size:17px;margin:0 10px 24px}.admin-sidebar select{font-size:12px;margin-bottom:25px}.admin-nav{display:grid;gap:6px}.admin-nav button{padding:11px 14px;border:0;background:none;text-align:left;color:#7c8c9d;border-radius:7px;display:flex;gap:12px}.admin-nav button.active{background:#eeeafd;color:#6754cb;font-weight:600}.admin-nav svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5}.admin-main{min-width:0}.admin-content{padding:32px}.admin-content h1{font-size:25px;margin:0}.admin-content .section-heading{margin-bottom:25px}.table-scroll{overflow-x:auto;border:1px solid #e5ebf2;border-radius:10px;background:#fff}table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:12px}th{background:#f9fafd;color:#91a0b1;font-weight:400}th,td{padding:12px 17px;border-bottom:1px solid #edf1f6;text-align:left}tr:last-child td{border:0}td code{font-size:10px;color:#8a98a8}.admin-actions{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.pill{font-size:10px;background:#f1f6f3;color:#6c8b7c;padding:4px 7px;border-radius:4px}.sample{max-width:760px;margin:8vh auto;padding:30px}.sample pre{white-space:pre-wrap;overflow-wrap:anywhere;padding:22px;background:#fff;border:1px solid #e3eaf2;border-radius:10px;font-size:12px}.sample h1{font-size:27px}.sample p{font-size:13px;color:#8b99aa}@media(max-width:1000px){.app-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-columns{grid-template-columns:1fr}.admin-shell{grid-template-columns:200px minmax(0,1fr)}}@media(max-width:680px){.workspace-top{height:auto;min-height:64px;padding:14px 18px}.workspace-brand{font-size:16px}.workspace-brand span{display:none}.workspace-top>div{gap:6px}.workspace-inner{padding:28px 18px}.welcome h1{font-size:25px}.app-grid{gap:10px}.app-card{padding:16px}.app-card-top{gap:8px}.app-icon{width:30px;height:30px}.app-card h3{font-size:13px}.section-heading{align-items:flex-start}.section-heading>span{max-width:110px;text-align:right}.panel{padding:20px}.admin-shell{display:block}.admin-sidebar{padding:16px;border-right:0;border-bottom:1px solid #e5ebf2}.admin-sidebar h2{margin:0 0 12px}.admin-sidebar select{margin:0 0 12px}.admin-nav{display:flex;overflow-x:auto;gap:4px}.admin-nav button{white-space:nowrap;padding:8px 10px;gap:6px}.admin-content{padding:22px 16px}.inline-form{flex-wrap:wrap}.inline-form label{flex-basis:100%}.sample{margin:24px auto;padding:20px}.admin-actions .button{flex:1}}

.identity-login:has(.account-workspace:not([hidden])),.identity-login:has(.admin-shell:not([hidden])){background:#f5f7fb}

.responsive-preview{padding:24px 32px}.responsive-preview h1{font-size:22px}.responsive-preview p{color:#8f9cad;font-size:12px}.responsive-preview label{display:block;width:180px;font-size:12px;margin-bottom:20px}.responsive-preview iframe{display:block;border:1px solid #dce4ee;border-radius:16px;background:white;box-shadow:0 10px 40px #18304715}

.subject-control{display:flex;align-items:center;gap:10px;color:#8e9baa;font-size:11px}.subject-control select{width:190px;padding:7px 10px;font-size:12px}@media(max-width:680px){.subject-control{gap:6px}.subject-control select{width:145px;max-width:45vw}}

.finance-surface{min-width:0}.finance-notice{padding:13px 17px;background:#f1f5fa;border:1px solid #e1e8f2;border-radius:8px;color:#71869c;font-size:12px;line-height:1.8;margin:0 0 22px}.finance-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:25px}.finance-kpis article{background:white;border:1px solid #e2e9f2;border-radius:11px;padding:20px;min-width:0}.finance-kpis span{display:block;font-size:12px;color:#8e9bad}.finance-kpis strong{display:block;font-size:24px;font-weight:600;margin:12px 0 6px;overflow-wrap:anywhere}.finance-kpis small{font-size:11px;color:#9aa6b5}.finance-tabs{display:flex;gap:8px;overflow-x:auto;margin-bottom:18px}.finance-tabs button{border:1px solid #e0e7f0;padding:10px 16px;background:#fff;border-radius:7px;white-space:nowrap;color:#7b8c9f;font-size:12px}.finance-tabs button.active{background:#eeeafd;border-color:#eeeafd;color:#6754cb;font-weight:600}.reconciliation-panel{background:#fff;padding:28px;border:1px solid #e2e9f2;border-radius:11px}.reconciliation-panel p{font-size:12px;line-height:1.9;color:#7c8ea2}.reconciliation-panel pre{white-space:pre-wrap;overflow-wrap:anywhere}.pill.warning{color:#a77535;background:#fff4dd}.commerce-toolbar{display:flex;align-items:flex-end;gap:15px;margin-bottom:24px;flex-wrap:wrap}.commerce-toolbar label{font-size:12px;color:#8797aa}.commerce-toolbar select{margin-top:6px;min-width:180px;font-size:12px}.commerce-orders{margin-top:24px}.package-price{font-size:25px;color:#1b3f64}#customer-status{padding:12px;border-radius:8px;color:#a34c4c;background:#fff1f0;font-size:12px}.workspace-top .button.quiet{padding:8px 10px}@media(max-width:1100px){.finance-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:680px){.finance-kpis{gap:10px}.finance-kpis article{padding:15px}.finance-kpis strong{font-size:20px}.commerce-toolbar{gap:12px}.commerce-toolbar label{width:100%}.commerce-toolbar select{width:100%}.finance-tabs{gap:5px}.finance-tabs button{padding:9px 12px}.reconciliation-panel{padding:19px}.workspace-top .button.quiet{padding:8px 4px;font-size:11px}.workspace-top>div{gap:5px}}

#actions:empty{display:none}
#admin-status[data-success=true]{background:#edf7f0;color:#3c7656}
.subscription-card{padding:18px;border:1px solid #e3e9f1;border-radius:10px;margin-top:15px;min-width:0}.subscription-card h3{font-size:15px;margin:0}.subscription-card .section-heading{margin-bottom:12px}.subscription-cycles>div{padding:12px 0;border-bottom:1px solid #edf1f6}.subscription-cycles strong{font-size:12px;margin-right:12px}.subscription-cycles p{font-size:11px;color:#8293a6;margin:6px 0 0;overflow-wrap:anywhere}.subscription-card .inline-form{margin-top:16px}.subscription-card select{font-size:12px;margin-top:6px}@media(max-width:680px){.subscription-card{padding:14px}.subscription-card .section-heading{flex-wrap:wrap}.subscription-card .section-heading>span{max-width:none;text-align:left}.subscription-card .inline-form .button{width:100%}}

.migration-gates{margin-top:20px}.migration-gates details{border-top:1px solid #e7edf3;padding:13px 0}.migration-gates summary{cursor:pointer;font-size:13px}.migration-gates summary span{float:right;color:#a77c40;font-size:11px;margin-left:12px}.migration-gates details p{margin:10px 0}.migration-gates small{color:#8a99ab;overflow-wrap:anywhere}

/* Customer home only: compact working surface, with clear text and borders. */
.customer-account-home #workspace{color:#213449;background:#edf1f6;min-height:100dvh}
.customer-account-home #workspace .workspace-top{height:66px;padding:0 32px;border-bottom-color:#c5d0de}
.customer-account-home #workspace .workspace-top>div{gap:8px;flex-wrap:wrap;justify-content:flex-end}
.customer-account-home #workspace .workspace-brand span{color:#52677e;border-left-color:#bdcad9}
.customer-account-home #workspace .workspace-inner{max-width:1360px;padding:26px 32px 32px}
.customer-account-home #workspace .welcome{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}
.customer-account-home #workspace .welcome h1{font-size:25px;font-weight:600;letter-spacing:0;margin:0}
.customer-account-home #workspace .text-button{font-size:13px;color:#244f79;line-height:1.5}
.customer-account-home #workspace .text-button:focus-visible,.customer-account-home #workspace a:focus-visible,.customer-account-home #workspace summary:focus-visible{outline:3px solid #678eb5;outline-offset:4px;border-radius:3px}
.customer-account-home #workspace .section-heading{margin-bottom:12px;align-items:center}
.customer-account-home #workspace .section-heading h2{font-size:17px;color:#1e334b}
.customer-account-home #workspace .space-description{color:#53677e;font-size:13px;margin:3px 0 0}
.customer-account-home #workspace .subject-control{color:#415970;font-size:13px;gap:8px}
.customer-account-home #workspace .subject-control select{font-size:14px;width:230px;padding:8px 11px;border-color:#b7c7d9;color:#213d58}
.customer-account-home #workspace .app-grid{gap:14px}
.customer-account-home #workspace .app-card{padding:16px;border-color:#bdcbdc;border-radius:11px;box-shadow:0 1px 2px #203d5a05}
.customer-account-home #workspace .app-card-top{gap:10px}
.customer-account-home #workspace .app-icon{width:34px;height:34px;background:#e9eff7;color:#32567b;border-radius:8px}
.customer-account-home #workspace .app-card h3{font-size:16px;font-weight:600;color:#20364f;min-width:0}
.customer-account-home #workspace .enrollment-state{margin-left:auto;color:#536a7f;font-size:12px;white-space:nowrap}
.customer-account-home #workspace .app-quota{margin:13px 0 14px;display:grid;gap:1px}
.customer-account-home #workspace .app-quota>span{font-size:12px;color:#53677e}
.customer-account-home #workspace .app-quota>div{display:flex;align-items:baseline;gap:6px;min-height:34px}
.customer-account-home #workspace .app-quota strong{font-size:25px;line-height:1.35;font-weight:650;color:#173d62;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.customer-account-home #workspace .app-quota strong.quota-unavailable{font-size:17px;line-height:1.6;font-weight:500;color:#53677e}
.customer-account-home #workspace .app-quota small,.customer-account-home #workspace .quota-unit{font-size:12px;color:#53677e}
.customer-account-home #workspace .app-actions{display:flex;align-items:center;gap:12px}
.customer-account-home #workspace .app-actions .button{flex:1;width:auto}
.customer-account-home #workspace .app-actions .text-button{white-space:nowrap}
.customer-account-home #workspace .button{font-size:13px;padding:9px 13px;border-color:#b8c7d8;color:#294d70;border-radius:7px}
.customer-account-home #workspace .button.primary{background:#1c456f;border-color:#1c456f;color:#fff}
.customer-account-home #workspace .button.primary:hover{background:#15395e;border-color:#15395e}
.customer-account-home #workspace .button:disabled{opacity:1;background:#edf1f5;border-color:#d2dbe5;color:#677a8c;cursor:not-allowed}
.customer-account-home #workspace .app-reason{font-size:12px;color:#5d6470;margin:9px 0 0;line-height:1.6;overflow-wrap:anywhere}
.customer-account-home #workspace .home-loading,.customer-account-home #workspace .home-error,.customer-account-home #workspace .app-empty{grid-column:1/-1;background:#fff;padding:18px;border:1px solid #bdcbdc;border-radius:10px;color:#4a617a;margin:0;font-size:14px}
.customer-account-home #workspace .home-error p{margin:0 0 10px}
.customer-account-home #workspace .workspace-columns{gap:16px;margin-top:20px;align-items:start;grid-template-columns:minmax(0,1fr)}
.customer-account-home #workspace .panel{padding:16px;border-color:#bdcbdc;border-radius:11px}
.customer-account-home #workspace .team-row{padding:11px 0;border-top-color:#d6dfe9;align-items:flex-start;gap:14px}
.customer-account-home #workspace .team-row:first-child:first-child{border-top:0;padding-top:0}
.customer-account-home #workspace .team-row:last-child:last-child{padding-bottom:0}
.customer-account-home #workspace .team-row>div:first-child>div:first-child{min-width:0}
.customer-account-home #workspace .team-row strong strong{font-size:14px;color:#263d55;overflow-wrap:anywhere}
.customer-account-home #workspace .team-row small small{font-size:12px;color:#53677e;margin-top:2px}
.customer-account-home #workspace .team-row-actions{display:flex;gap:8px 12px;flex-wrap:wrap;justify-content:flex-end;min-width:106px;flex:0 0 auto}
.customer-account-home #workspace .team-apps{margin-top:6px}
.customer-account-home #workspace .application-tag,.customer-home-dialog .application-tag{display:inline-block;padding:2px 7px;background:#edf2f8;border:1px solid #cbd7e4;color:#375b7e;border-radius:5px;font-size:12px;margin:0 5px 4px 0}
.customer-account-home #workspace .empty{color:#52677d;font-size:13px;padding:6px 0;margin:0}
.customer-account-home #workspace .join-team{border-top:1px solid #d6dfe9;margin-top:13px;padding-top:11px}
.customer-account-home #workspace .join-team summary{font-size:13px;color:#2c5277;cursor:pointer}
.customer-account-home #workspace .inline-form{margin-top:10px;gap:8px}
.customer-account-home #workspace .inline-form label{font-size:12px;color:#4b6178}
.customer-account-home #workspace input{border-color:#b7c7d9;color:#213d58;font-size:14px}
.customer-account-home #workspace input::placeholder{color:#677b8f;opacity:1}
.customer-account-home #workspace #workspace-status{font-size:13px;border:1px solid #dfb8b8;margin:0 0 16px}
.customer-account-home #workspace #workspace-status[data-success=true]{background:#eef7f1;color:#265f41;border-color:#b3d0be}
.customer-account-home .customer-home-dialog{max-width:620px;max-height:85dvh;padding:24px;border-color:#b7c7d9;border-radius:12px;color:#243a52;overflow:hidden}
.customer-account-home .customer-home-dialog #modal-content{max-height:calc(85dvh - 48px);overflow:auto;padding-right:2px}
.customer-account-home .customer-home-dialog .dialog-close-form{position:absolute;right:10px;top:10px;margin:0}
.customer-account-home .customer-home-dialog .close{float:none;display:grid;place-items:center;width:34px;height:34px;border-radius:6px;color:#3c5874;font-size:25px;line-height:1}
.customer-account-home .customer-home-dialog .close:hover{background:#edf2f8}
.customer-account-home .customer-home-dialog .close:focus-visible{outline:3px solid #678eb5;outline-offset:2px}
.customer-account-home .customer-home-dialog h2{padding-right:30px;font-size:21px;line-height:1.4;margin:0 0 18px;color:#22394f}
.customer-account-home .customer-home-dialog h3{font-size:15px;margin:18px 0 8px}
.customer-account-home .customer-home-dialog p,.customer-account-home .customer-home-dialog .dialog-form label{font-size:14px;color:#4b6178}
.customer-account-home .customer-home-dialog input{border-color:#b7c7d9}
.customer-account-home .customer-home-dialog .team-facts{margin:0;display:grid;gap:9px}
.customer-account-home .customer-home-dialog .team-facts>div{display:flex;gap:18px;align-items:baseline}
.customer-account-home .customer-home-dialog dt{font-size:13px;min-width:64px;color:#52677e}
.customer-account-home .customer-home-dialog dd{font-size:14px;margin:0;color:#233b54;overflow-wrap:anywhere}
.customer-account-home .customer-home-dialog .team-members{list-style:none;padding:0;margin:0;max-height:240px;overflow:auto}
.customer-account-home .customer-home-dialog .team-members li{display:flex;justify-content:space-between;gap:14px;padding:8px 0;border-bottom:1px solid #d6dfe9;font-size:14px}
.customer-account-home .customer-home-dialog .team-members li>span:last-child,.customer-account-home .customer-home-dialog .team-members small{color:#52677e;font-size:12px;white-space:nowrap}
.customer-account-home .customer-home-dialog .dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:18px}
.customer-account-home .customer-home-dialog .account-reference{margin-top:18px;font-size:13px;color:#52677e}
.customer-account-home .customer-home-dialog .account-reference summary{cursor:pointer}
.customer-account-home .customer-home-dialog .account-reference code{display:block;margin-top:8px}
@media(max-width:1000px){.customer-account-home #workspace .app-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-account-home #workspace .workspace-columns{grid-template-columns:1fr}}
@media(max-width:680px){.customer-account-home #workspace .workspace-top{height:auto;min-height:64px;padding:12px 16px;align-items:flex-start}.customer-account-home #workspace .workspace-top>div{gap:2px 6px;max-width:65%}.customer-account-home #workspace .workspace-top .button.quiet{font-size:12px;padding:5px 3px}.customer-account-home #workspace .workspace-inner{padding:20px 16px 24px}.customer-account-home #workspace .welcome h1{font-size:22px}.customer-account-home #workspace .welcome{margin-bottom:18px}.customer-account-home #workspace .section-heading{gap:12px;flex-wrap:wrap}.customer-account-home #workspace .subject-control{width:100%;justify-content:space-between}.customer-account-home #workspace .subject-control select{width:calc(100% - 74px);max-width:none}.customer-account-home #workspace .app-grid{gap:12px;grid-template-columns:1fr}.customer-account-home #workspace .app-card{padding:15px}.customer-account-home #workspace .app-quota{margin:10px 0 12px}.customer-account-home #workspace .app-quota>div{min-height:30px}.customer-account-home #workspace .app-quota strong{font-size:23px}.customer-account-home #workspace .app-quota strong.quota-unavailable{font-size:16px}.customer-account-home #workspace .app-card h3{font-size:16px}.customer-account-home #workspace .team-row{flex-wrap:wrap;gap:8px}.customer-account-home #workspace .team-row-actions{justify-content:flex-start;min-width:0;gap:16px}.customer-account-home #workspace .inline-form label{flex-basis:100%}.customer-account-home #workspace .inline-form .button{width:100%}.customer-account-home .customer-home-dialog{padding:22px 18px;width:calc(100% - 24px)}.customer-account-home .customer-home-dialog .team-facts>div{gap:12px}}

/* Workspace visual preview. Scoped to the signed-in customer home only. */
.customer-account-home #workspace {
  --home-ink:#172c40; --home-body:#334b61; --home-muted:#5a6e81;
  --home-line:#cdd7e2; --home-soft:#eef3f8; --home-accent:#214f72;
  background:#f6f8fa; color:var(--home-ink); font-family:Inter,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
}
.customer-account-home #workspace *, .customer-account-home #workspace *::before, .customer-account-home #workspace *::after {box-sizing:border-box}
.customer-account-home #workspace .workspace-top {height:72px;padding:0 max(32px,calc((100vw - 1280px)/2));background:#fff;border-bottom:1px solid #d8e0e8;gap:24px}
.customer-account-home #workspace .workspace-brand {display:flex;align-items:center;gap:11px;font-size:19px;letter-spacing:-.4px;color:#18364e;white-space:nowrap}
.customer-account-home #workspace .workspace-brand strong {font-weight:700}
.customer-account-home #workspace .workspace-brand .workspace-mark {display:grid;place-items:center;width:34px;height:34px;padding:0;margin:0;border:0;background:#1e435f;border-radius:10px;color:#fff}
.customer-account-home #workspace .workspace-mark svg {width:23px;height:23px}
.customer-account-home #workspace .workspace-top>div {display:flex;align-items:center;gap:14px}
.customer-account-home #workspace .workspace-top .button.quiet {font-size:13px;color:#40596f;padding:8px 3px;border:0;background:transparent;line-height:1.5;min-height:38px}
.customer-account-home #workspace .workspace-top .button.quiet:hover {color:#163f5f;background:transparent;text-decoration:underline;text-underline-offset:5px}
.customer-account-home #workspace .workspace-top #logout {margin-left:8px;padding-left:22px;border-radius:0}
.customer-account-home #workspace .workspace-inner {max-width:1280px;padding:32px 0 52px;margin:0 auto}
.customer-account-home #workspace .welcome {margin:0 0 30px;min-height:58px;display:flex;align-items:center;justify-content:space-between}
.customer-account-home #workspace .welcome-eyebrow {font-size:12px;font-weight:600;letter-spacing:.5px;color:#5a6e81;margin:0 0 5px}
.customer-account-home #workspace .welcome h1 {font-size:28px;line-height:1.35;font-weight:650;letter-spacing:-.6px;color:#172f46}
.customer-account-home #workspace #account-profile {display:flex;gap:9px;align-items:center;font-size:13px;border:1px solid #cbd6e1;padding:8px 12px;background:#fff;border-radius:8px;color:#3e5971}
.customer-account-home #workspace #account-profile svg {width:16px;height:16px}
.customer-account-home #workspace #account-profile:hover {background:#edf3f8;border-color:#9caec0}
.customer-account-home #workspace .section-heading {margin:0 0 18px;gap:16px;align-items:center}
.customer-account-home #workspace .section-heading h2 {font-size:18px;font-weight:650;line-height:1.5;letter-spacing:-.3px;color:#1d354c}
.customer-account-home #workspace .space-description {margin:3px 0 0;font-size:13px;line-height:1.5;color:#5c7083}
.customer-account-home #workspace .subject-control {display:flex;gap:10px;align-items:center;font-size:12px;color:#526a80}
.customer-account-home #workspace .subject-control select {width:234px;height:42px;padding:0 34px 0 13px;border:1px solid #bccbd8;border-radius:9px;background-color:#fff;color:#27475f;font-size:13px;box-shadow:0 1px 2px #1a324705}
.customer-account-home #workspace .app-grid {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;align-items:stretch}
.customer-account-home #workspace .app-card {--product:#285c82;--product-soft:#e9f1f8;position:relative;display:flex;flex-direction:column;min-width:0;padding:22px 18px 17px;border:1px solid #cbd6e1;border-radius:14px;background:#fff;box-shadow:0 2px 6px #16324904;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}
.customer-account-home #workspace .app-card:hover {border-color:#9db1c3;box-shadow:0 7px 20px #1f3c5610;transform:translateY(-2px)}
.customer-account-home #workspace .app-card[data-product=aiimg] {--product:#326c9b;--product-soft:#eaf3fb}
.customer-account-home #workspace .app-card[data-product=tkvideo] {--product:#816039;--product-soft:#faf2e6}
.customer-account-home #workspace .app-card[data-product=aivideo] {--product:#6956a2;--product-soft:#f0edfa}
.customer-account-home #workspace .app-card[data-product=salescoach] {--product:#28796b;--product-soft:#e9f6f1}
.customer-account-home #workspace .app-card[data-product=ragbase] {--product:#486486;--product-soft:#edf2f9}
.customer-account-home #workspace .app-card-top {display:flex;gap:11px;align-items:center;min-height:43px;min-width:0}
.customer-account-home #workspace .app-icon {display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;margin:0;background:var(--product-soft);color:var(--product);border:1px solid color-mix(in srgb,var(--product) 13%,transparent);border-radius:11px}
.customer-account-home #workspace .app-icon svg {display:block;width:24px;height:24px}
.customer-account-home #workspace .app-identity {min-width:0}
.customer-account-home #workspace .app-card h3 {margin:0;font-size:16px;line-height:1.5;font-weight:650;color:#1d354c;letter-spacing:-.3px;overflow-wrap:anywhere}
.customer-account-home #workspace .app-description {margin:3px 0 0;font-size:11px;line-height:1.5;white-space:nowrap;color:#617286}
.customer-account-home #workspace .app-quota {margin:24px 0 20px;display:flex;flex-direction:column;gap:3px;min-height:86px}
.customer-account-home #workspace .app-quota>span {font-size:11px;color:#5a6f81;line-height:1.5}
.customer-account-home #workspace .app-quota>div {display:flex;align-items:baseline;gap:5px;min-height:34px}
.customer-account-home #workspace .app-quota strong {font-size:29px;line-height:1.25;font-weight:650;color:#153b58;font-variant-numeric:tabular-nums;letter-spacing:-.7px;overflow-wrap:anywhere}
.customer-account-home #workspace .app-quota strong.quota-unavailable {font-size:14px;line-height:1.65;letter-spacing:0;font-weight:500;color:#4d647a;max-width:100%;margin:5px 0 1px}
.customer-account-home #workspace .app-quota .quota-unit {font-size:11px;color:#5e7182}
.customer-account-home #workspace .app-quota small {display:block;font-size:11px;line-height:1.5;color:#627285}
.customer-account-home #workspace .app-actions {display:flex;align-items:flex-end;justify-content:space-between;gap:7px;margin-top:auto;min-height:34px}
.customer-account-home #workspace .card-status-area {display:flex;flex-direction:column;gap:4px;min-width:0;align-self:center}
.customer-account-home #workspace .enrollment-state {display:flex;align-items:center;gap:5px;margin:0;color:#4a675e;font-size:10px;white-space:nowrap}
.customer-account-home #workspace .enrollment-state::before {content:"";display:block;width:5px;height:5px;border-radius:50%;background:#659282}
.customer-account-home #workspace .app-card[data-enrollment=unopened] .enrollment-state {color:#65758b}
.customer-account-home #workspace .app-card[data-enrollment=unopened] .enrollment-state::before {background:#a5b1bd}
.customer-account-home #workspace .app-actions .text-button {font-size:11px;white-space:normal;line-height:1.35;color:#315c7c}
.customer-account-home #workspace .app-actions .button {display:flex;align-items:center;justify-content:space-between;gap:11px;flex:0 1 auto;width:auto;min-width:100px;min-height:35px;padding:8px 10px;border:1px solid #bdcddc;border-radius:7px;background:#f5f8fb;color:#244f70;font-size:12px;font-weight:550;line-height:1.4;white-space:nowrap}
.customer-account-home #workspace .app-actions .button svg {width:15px;height:15px;flex:0 0 auto;transition:transform .15s ease}
.customer-account-home #workspace .app-actions .button.primary:hover {background:#204d6e;color:#fff;border-color:#204d6e}
.customer-account-home #workspace .app-actions .button.primary:hover svg {transform:translateX(2px)}
.customer-account-home #workspace .app-actions .button:disabled {color:#708090;background:#f0f3f6;border-color:#d4dde6;cursor:not-allowed}
.customer-account-home #workspace .app-reason {margin:10px 0 0;font-size:11px;line-height:1.5;color:#596f81}
.customer-account-home #workspace .workspace-columns {display:block;margin-top:26px}
.customer-account-home #workspace .panel {display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,.7fr);gap:0 28px;padding:20px 22px 18px;background:#fff;border:1px solid #cbd6e1;border-radius:14px;box-shadow:0 2px 6px #16324903}
.customer-account-home #workspace .panel>.section-heading {grid-column:1/-1;margin-bottom:13px}
.customer-account-home #workspace .panel>.section-heading h2 {font-size:16px}
.customer-account-home #workspace #new-team {font-size:12px;display:flex;align-items:center;gap:6px;padding:6px 0;color:#315b7a}
.customer-account-home #workspace #new-team::before {content:"+";font-size:17px;line-height:1}
.customer-account-home #workspace .team-empty {display:flex;gap:12px;align-items:center;min-height:57px;margin:0;padding:0}
.customer-account-home #workspace .team-empty-icon {width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:#f0f4f8;color:#637e95;flex:0 0 auto}
.customer-account-home #workspace .team-empty-icon svg {width:22px;height:22px}
.customer-account-home #workspace .team-empty p {margin:0;font-size:13px;color:#3d566b;line-height:1.6}
.customer-account-home #workspace .team-empty small {font-size:11px;color:#65788a;display:block;margin-top:2px}
.customer-account-home #workspace .join-team {border:0;margin:0;padding:0;align-self:center;justify-self:end;width:100%;max-width:340px}
.customer-account-home #workspace .join-team summary {list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px;border:1px dashed #b8c8d7;border-radius:8px;background:#fafcfe;color:#3e5e78;font-size:12px;cursor:pointer}
.customer-account-home #workspace .join-team summary::-webkit-details-marker {display:none}
.customer-account-home #workspace .join-team summary::after {content:"+";font-size:17px;line-height:1;color:#48677d}
.customer-account-home #workspace .join-team[open] summary::after {content:"−"}
.customer-account-home #workspace .join-team[open] {align-self:start}
.customer-account-home #workspace .join-team .inline-form {margin:12px 0 0;gap:8px;align-items:flex-end;flex-wrap:wrap}
.customer-account-home #workspace .join-team .inline-form label {flex:1 1 180px;color:#435f77;font-size:12px}
.customer-account-home #workspace .join-team .inline-form input {font-size:12px;padding:9px 10px}
.customer-account-home #workspace .join-team .inline-form .button {font-size:12px;min-height:36px;padding:8px 10px;white-space:nowrap;background:#f3f7fb}
.customer-account-home #workspace #teams-list:has(.team-row) {grid-column:1/-1}
.customer-account-home #workspace #teams-list:has(.team-row)+.join-team {grid-column:1/-1;max-width:none;margin-top:14px}
.customer-account-home #workspace .team-row {display:flex;justify-content:space-between;align-items:center;gap:16px;padding:13px 0;border-top:1px solid #dce4ec}
.customer-account-home #workspace .team-row strong {font-size:14px;line-height:1.5;color:#29465d;overflow-wrap:anywhere}
.customer-account-home #workspace .team-row small {font-size:12px;color:#5d7285;display:block;margin-top:3px}
.customer-account-home #workspace .team-row-actions {gap:12px;min-width:0}
.customer-account-home #workspace .team-row-actions .text-button {font-size:12px}
.customer-account-home #workspace .application-tag {padding:2px 7px;background:#f1f5f9;border-color:#d0dce7;color:#4c6a82;border-radius:5px;font-size:11px}
.customer-account-home #workspace .home-loading,.customer-account-home #workspace .home-error,.customer-account-home #workspace .app-empty {border:1px solid #cbd6e1;border-radius:14px;color:#4a647b;padding:24px;font-size:14px;background:#fff;grid-column:1/-1}
.customer-account-home #workspace :is(button,a,select,input,summary):focus-visible {outline:3px solid #568bb7;outline-offset:3px}
.customer-account-home #workspace .button:disabled {opacity:1}
.customer-account-home .customer-home-dialog {border:1px solid #bbcbd9;border-radius:14px;box-shadow:0 24px 90px #132a4933;color:#223b52}
.customer-account-home .customer-home-dialog::backdrop {background:#142c484d;backdrop-filter:blur(3px)}
.customer-account-home .customer-home-dialog :is(input,select) {border-color:#b8c9d9;background:#fff}
@media(min-width:1101px) and (max-width:1344px){.customer-account-home #workspace .workspace-inner{padding-right:32px;padding-left:32px}.customer-account-home #workspace .app-grid{gap:12px}.customer-account-home #workspace .app-card{padding:19px 15px 16px}.customer-account-home #workspace .app-icon{width:36px;height:36px;flex-basis:36px}.customer-account-home #workspace .app-card-top{gap:9px}.customer-account-home #workspace .app-description{font-size:10px}.customer-account-home #workspace .app-actions .button{min-width:93px;padding:8px}.customer-account-home #workspace .enrollment-state{font-size:9px}}
@media(max-width:1100px){.customer-account-home #workspace .workspace-inner{padding:28px 28px 48px}.customer-account-home #workspace .workspace-top{padding:0 28px}.customer-account-home #workspace .app-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}.customer-account-home #workspace .app-card{grid-column:span 2}.customer-account-home #workspace .app-card:nth-child(4),.customer-account-home #workspace .app-card:nth-child(5){grid-column:span 3}.customer-account-home #workspace .app-quota{margin-top:19px;min-height:79px}.customer-account-home #workspace .welcome{margin-bottom:24px}}
@media(max-width:720px){.customer-account-home #workspace .workspace-top{height:auto;min-height:64px;padding:14px 20px;flex-wrap:wrap;gap:10px 18px}.customer-account-home #workspace .workspace-top>div{gap:13px;max-width:none}.customer-account-home #workspace .workspace-top #logout{padding-left:13px;margin-left:0}.customer-account-home #workspace .workspace-inner{padding:25px 20px 44px}.customer-account-home #workspace .welcome h1{font-size:25px}.customer-account-home #workspace .section-heading{flex-wrap:wrap}.customer-account-home #workspace .subject-control{width:100%;justify-content:space-between}.customer-account-home #workspace .subject-control select{width:calc(100% - 70px);max-width:none}.customer-account-home #workspace .app-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.customer-account-home #workspace .app-card,.customer-account-home #workspace .app-card:nth-child(4),.customer-account-home #workspace .app-card:nth-child(5){grid-column:auto;padding:16px 13px 14px}.customer-account-home #workspace .app-card:last-child{grid-column:1/-1}.customer-account-home #workspace .app-description{font-size:10px}.customer-account-home #workspace .app-card-top{gap:8px}.customer-account-home #workspace .app-icon{width:32px;height:32px;flex-basis:32px;border-radius:9px}.customer-account-home #workspace .app-icon svg{width:21px;height:21px}.customer-account-home #workspace .app-card h3{font-size:14px}.customer-account-home #workspace .app-quota{margin:18px 0 15px;min-height:78px}.customer-account-home #workspace .app-quota strong{font-size:26px}.customer-account-home #workspace .app-quota strong.quota-unavailable{font-size:13px}.customer-account-home #workspace .app-actions{flex-direction:column;align-items:stretch;gap:9px}.customer-account-home #workspace .card-status-area{align-self:flex-start}.customer-account-home #workspace .app-actions .button{width:100%;min-height:39px}.customer-account-home #workspace .panel{display:block;padding:18px 16px}.customer-account-home #workspace .join-team{max-width:none;margin-top:16px}.customer-account-home #workspace .team-row{align-items:flex-start;flex-wrap:wrap}.customer-account-home #workspace .team-row-actions{gap:18px}.customer-account-home #workspace .panel>.section-heading{margin-bottom:12px}.customer-account-home #workspace #account-profile{padding:7px 9px;font-size:12px}}
@media(max-width:420px){.customer-account-home #workspace .workspace-top{padding:13px 16px;gap:8px}.customer-account-home #workspace .workspace-top>div{width:100%;justify-content:flex-end;gap:17px}.customer-account-home #workspace .workspace-top .button.quiet{font-size:11px;min-height:30px}.customer-account-home #workspace .workspace-inner{padding:23px 16px 42px}.customer-account-home #workspace .welcome{gap:8px;margin-bottom:23px}.customer-account-home #workspace .welcome h1{font-size:23px}.customer-account-home #workspace .welcome-eyebrow{font-size:11px}.customer-account-home #workspace .app-grid{grid-template-columns:1fr;gap:10px}.customer-account-home #workspace .app-card,.customer-account-home #workspace .app-card:last-child{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:10px;row-gap:10px;padding:16px;grid-column:auto}.customer-account-home #workspace .app-card-top{grid-column:1;grid-row:1;gap:10px}.customer-account-home #workspace .app-icon{width:37px;height:37px;flex-basis:37px}.customer-account-home #workspace .app-card h3{font-size:15px}.customer-account-home #workspace .app-description{font-size:11px}.customer-account-home #workspace .app-quota{grid-column:1;grid-row:2;min-height:0;margin:1px 0 0;padding-left:47px;gap:2px}.customer-account-home #workspace .app-quota>div{min-height:27px}.customer-account-home #workspace .app-quota strong{font-size:25px}.customer-account-home #workspace .app-quota strong.quota-unavailable{font-size:13px;margin:0}.customer-account-home #workspace .app-actions{grid-column:2;grid-row:1/3;justify-content:space-between;align-items:flex-end;min-width:91px;margin:0}.customer-account-home #workspace .card-status-area{align-self:flex-end}.customer-account-home #workspace .app-actions .button{width:auto;min-width:91px;min-height:37px;padding:8px 9px;font-size:11px;gap:8px}.customer-account-home #workspace .app-reason{grid-column:1/-1;margin:0;padding-top:6px;border-top:1px solid #e0e7ed}}
/* A clear frame and readable small text; product accents stay limited to icons. */
.customer-account-home #workspace {background:#eef3f7}
.customer-account-home #workspace .workspace-top {background:#17364e;border-bottom-color:#17364e}
.customer-account-home #workspace .workspace-brand {color:#fff}
.customer-account-home #workspace .workspace-brand .workspace-mark {background:#e7f0f6;color:#173e5a}
.customer-account-home #workspace .workspace-top .button.quiet {color:#d7e3ed;font-size:14px}
.customer-account-home #workspace .workspace-top .button.quiet:hover {color:#fff}
.customer-account-home #workspace .welcome-eyebrow {font-size:13px}
.customer-account-home #workspace .section-heading h2 {font-size:19px}
.customer-account-home #workspace .app-card h3 {font-size:17px}
.customer-account-home #workspace .app-description {font-size:12px}
.customer-account-home #workspace .app-card-top {gap:11px}
.customer-account-home #workspace .app-icon {width:42px;height:42px;flex-basis:42px}
.customer-account-home #workspace .app-quota {margin:21px 0 18px;min-height:81px}
.customer-account-home #workspace .app-quota>span,.customer-account-home #workspace .app-quota small,.customer-account-home #workspace .app-quota .quota-unit {font-size:12px}
.customer-account-home #workspace .enrollment-state {font-size:11px}
.customer-account-home #workspace .app-actions .button {font-size:13px;min-width:101px;min-height:36px;gap:8px}
.customer-account-home #workspace .app-actions .text-button {font-size:12px}
.customer-account-home #workspace .app-reason {font-size:12px}
.customer-account-home #workspace .team-empty small {font-size:12px}
.customer-account-home #workspace .join-team summary {font-size:13px}
@media(min-width:721px) and (max-width:1344px){.customer-account-home #workspace .app-icon{width:36px;height:36px;flex-basis:36px}.customer-account-home #workspace .app-card-top{gap:9px}.customer-account-home #workspace .app-description{font-size:11px}.customer-account-home #workspace .app-card h3{font-size:16px}.customer-account-home #workspace .app-actions .button{min-width:94px;font-size:12px;padding:8px}.customer-account-home #workspace .enrollment-state{font-size:10px}}
@media(max-width:720px){.customer-account-home #workspace .workspace-top .button.quiet{font-size:12px}.customer-account-home #workspace .app-card h3{font-size:15px}.customer-account-home #workspace .app-description{font-size:11px}.customer-account-home #workspace .app-icon{width:34px;height:34px;flex-basis:34px}.customer-account-home #workspace .app-actions .button{font-size:12px}.customer-account-home #workspace .app-quota strong.quota-unavailable{font-size:13px}.customer-account-home #workspace .app-quota>span,.customer-account-home #workspace .app-quota small,.customer-account-home #workspace .app-quota .quota-unit{font-size:11px}}
@media(max-width:420px){.customer-account-home #workspace .app-icon{width:37px;height:37px;flex-basis:37px}.customer-account-home #workspace .app-quota{min-height:0;margin:0;padding-left:47px}.customer-account-home #workspace .app-actions .button{min-width:91px}.customer-account-home #workspace .welcome-eyebrow{font-size:12px}}
.customer-account-home #workspace .workspace-top {min-height:68px;height:68px}
.customer-account-home #workspace .app-card {border-color:#bdcad7}
.customer-account-home #workspace .app-card h3 {font-size:17px}
.customer-account-home #workspace .app-description,.customer-account-home #workspace .enrollment-state,.customer-account-home #workspace .app-quota>span,.customer-account-home #workspace .app-quota small,.customer-account-home #workspace .app-quota .quota-unit {font-size:12px}
.customer-account-home #workspace .app-description,.customer-account-home #workspace .app-quota>span,.customer-account-home #workspace .app-quota small,.customer-account-home #workspace .app-quota .quota-unit {color:#52677b}
.customer-account-home #workspace .app-quota {min-height:76px;margin:18px 0 14px}
.customer-account-home #workspace .app-actions .button {font-size:13px}
.customer-account-home #workspace .panel>.section-heading h2 {font-size:17px}
.customer-account-home #workspace .welcome>div,.customer-account-home #workspace .team-row>div:first-child {min-width:0}
.customer-account-home #workspace .welcome h1 {overflow-wrap:anywhere}
.customer-account-home #workspace #account-profile {flex-shrink:0}
@media(max-width:720px){.customer-account-home #workspace .workspace-top{height:auto}.customer-account-home #workspace .app-card h3{font-size:16px}.customer-account-home #workspace .app-icon{width:32px;height:32px;flex-basis:32px}.customer-account-home #workspace .app-card-top{gap:8px}}
@media(max-width:420px){.customer-account-home #workspace .workspace-top .button.quiet{font-size:12px}.customer-account-home #workspace .app-icon{width:37px;height:37px;flex-basis:37px}.customer-account-home #workspace .app-card-top{gap:10px}.customer-account-home #workspace .app-quota{min-height:0;margin:0}.customer-account-home #workspace .app-actions .button{min-width:101px}}
@media(prefers-reduced-motion:reduce){.customer-account-home #workspace .app-card,.customer-account-home #workspace .app-actions .button svg{transition:none;transform:none}}

/* Entry-only home: financial and team controls stay outside this visible page. */
.customer-account-home #workspace [hidden]{display:none!important}
.customer-account-home #workspace .app-card{min-height:162px;gap:30px}
.customer-account-home #workspace .app-actions{margin-top:auto}
@media(max-width:420px){.customer-account-home #workspace .app-card,.customer-account-home #workspace .app-card:last-child{min-height:108px;gap:12px}.customer-account-home #workspace .app-actions{grid-row:1;margin:0;gap:13px}}

.customer-account-home #workspace .app-actions{justify-content:flex-end}