.home-intro{display:flex;align-items:center;gap:13px;margin-bottom:28px}.home-intro .avatar{width:40px;height:40px;font-size:15px;border-radius:12px}.home-intro p{font-size:12px;color:var(--muted);margin-top:5px}.home-intro strong{font-size:15px;font-weight:600}.home-date{margin-left:auto;color:var(--muted);font-size:12px}.portal-grid{display:grid;grid-template-columns:1.45fr 1fr;gap:22px}.workspace{display:flex;flex-direction:column;padding:27px 28px;min-height:318px;background:rgba(255,255,255,.45);border:1px solid #ffffffdb;border-radius:14px;position:relative;overflow:hidden}.workspace.featured{background:linear-gradient(115deg,#f8fbffb8,#e3e8fd61);box-shadow:0 12px 35px #5575ae0a}.workspace-head{display:flex;align-items:center;gap:12px}.workspace-symbol{display:grid;place-items:center;width:43px;height:43px;background:#235be8;color:white;border-radius:12px;box-shadow:0 5px 12px #235be826}.workspace-symbol.green{background:#2e7865;box-shadow:0 5px 12px #2e786522}.workspace h2{font-size:22px}.workspace-sub{font-size:11px;color:var(--muted);margin-top:5px}.workspace-head .pill{margin-left:auto}.workspace-desc{font-size:13px;line-height:1.8;color:var(--muted);margin-top:20px}.mini-flow{display:flex;margin:27px 0 26px;gap:0}.mini-flow>div{flex:1;position:relative;min-width:0}.mini-flow>div:not(:last-child):after{content:'';position:absolute;left:28px;right:0;top:13px;height:1px;background:#a8bbdf}.mini-flow b{display:grid;place-items:center;width:27px;height:27px;border:1px solid #fff;border-radius:8px;background:#dee8ff;color:#235be8;font-size:11px;font-weight:600}.mini-flow span{display:block;font-size:10px;color:#496081;margin-top:8px}.workspace-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:auto}.workspace-counts{display:flex;gap:22px}.workspace-counts strong{font-size:23px;font-weight:600;display:block}.workspace-counts small{font-size:10px;display:block;margin-top:4px}.workspace-bottom .btn{min-width:105px;font-size:12px}.customer-capabilities{display:grid;grid-template-columns:1fr 1fr;gap:12px;font-size:12px;color:#4e657b;margin:27px 0}.customer-capabilities span{display:flex;align-items:center;gap:8px}.customer-capabilities .icon{width:16px;color:#5c8e82}.portal-lower{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px;margin-top:24px}.note-list{padding:0 22px 20px}.note-row{display:flex;gap:11px;line-height:1.7;font-size:12px;padding:14px 0;border-bottom:1px solid var(--line)}.note-row:last-child{border:0}.note-row .step{width:23px;height:23px;border-radius:7px;background:#e2eafa;color:#42639e;box-shadow:none;margin-top:2px}.note-row small{display:block;font-size:11px;margin-top:3px}.activity-list{padding:0 21px 12px}.activity-row{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid var(--line);font-size:12px}.activity-row:last-child{border-bottom:0}.activity-row .activity-body{flex:1;min-width:0}.activity-body strong{font-weight:600;display:block}.activity-body small{display:block;font-size:11px;margin-top:5px}.role-badge{margin-left:10px;font-size:11px;color:#506488;font-weight:400}.admin-tabs{display:flex;gap:6px;margin-bottom:22px;padding:4px;background:#ffffff77;width:fit-content;border-radius:9px}.admin-tabs button{padding:8px 16px;border-radius:7px;font-size:12px}.admin-tabs button.active{background:#fff;color:var(--blue);box-shadow:0 2px 6px #5b719e10}.permission-table{min-width:720px}.permission-table td,.permission-table th{padding:15px 20px}.permission-table label{display:flex;align-items:center;gap:7px;cursor:pointer;font-size:12px}.permission-table input[type=checkbox]{width:16px;min-height:16px;height:16px;accent-color:#235be8}.user-cell{display:flex;gap:10px;align-items:center}.user-cell small{display:block;font-size:10px;margin-top:4px}.inline-controls{display:flex;gap:6px}.inline-controls select{font-size:11px;min-height:31px;padding:5px 8px}.admin-note{padding:14px 20px;font-size:11px;line-height:1.8;color:#526682;border-top:1px solid var(--line)}.module-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.module-item{padding:23px;background:#ffffff70;border:1px solid #fff;border-radius:14px}.module-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.module-item h3{font-size:17px}.module-item p{font-size:12px;line-height:1.8;color:var(--muted);margin:13px 0 20px;min-height:43px}.module-item footer{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:var(--muted)}.reserve-panel{margin-top:20px;padding:19px 22px;display:flex;align-items:center;gap:17px;border:1px dashed #afbed8;border-radius:12px;background:#ffffff27}.reserve-panel h3{font-size:13px}.reserve-panel p{font-size:11px;color:var(--muted);margin-top:5px}.reserve-panel .btn{margin-left:auto}.empty-home{grid-column:1/-1;padding:65px 20px;text-align:center}.empty-home h2{font-size:22px;margin:12px 0}.empty-home p{color:var(--muted);line-height:1.8}.account-box{max-width:650px;padding:28px}.login .login-flow{max-width:400px}.portal-brand-link{color:inherit;text-decoration:none}.portal-brand-link:hover{text-decoration:none}.role-menu{font-size:12px}.permission-status{font-size:11px;color:var(--green)}.permission-status.unsaved{color:var(--amber)}
@media(min-width:1500px){.workspace{min-height:350px;padding:33px}.workspace-desc{margin-top:25px}.mini-flow{margin:32px 0}.portal-grid{gap:26px}}
@media(max-width:1050px){.portal-grid{grid-template-columns:1fr}.workspace{min-height:300px}.portal-lower{grid-template-columns:1fr}.portal-lower aside{display:none}}
@media(max-width:700px){.workspace{padding:21px 18px;min-height:300px}.workspace h2{font-size:19px}.workspace-head{gap:10px}.workspace-symbol{width:37px;height:37px}.workspace-head .pill{font-size:10px}.home-intro{margin-bottom:20px}.home-date{font-size:10px;max-width:95px;text-align:right;line-height:1.7}.workspace-counts{gap:16px}.workspace-counts strong{font-size:21px}.mini-flow span{font-size:9px}.mini-flow b{width:24px;height:24px}.mini-flow>div:not(:last-child):after{left:24px;top:12px}.module-list{grid-template-columns:1fr}.reserve-panel{padding:17px;flex-wrap:wrap}.reserve-panel .btn{margin-left:0}.portal-lower{margin-top:17px}.admin-tabs{width:100%}.admin-tabs button{flex:1}.activity-row{gap:8px}.activity-row .pill{font-size:10px}.activity-row .btn{padding:7px;font-size:10px}.home-intro strong{font-size:14px}.heading-actions .btn.quiet{display:inline-flex}.account-box{padding:21px}}
@media(max-width:700px){.rail{overflow-x:auto;max-width:100%;scrollbar-width:thin}.rail .navbtn{flex-shrink:0}.rail .rail-bottom{margin-left:0}}

.workspace.office{grid-column:1/-1;min-height:215px;background:linear-gradient(110deg,#f9fbffed,#eaf2ffab)}.workspace.office .workspace-desc{margin:15px 0}.workspace.office .office-symbol{background:#263746;box-shadow:0 5px 12px #26374626}

/* Scoped to the operating portal shell; shared base and business workspaces are untouched. */
.portal-refresh{--surface:#e5edf4;--ink:#293f56;--muted:#667c92;--accent:#3d76bb;--raised:8px 8px 20px #a9bac966,-8px -8px 20px #ffffffb8;--pressed:inset 3px 3px 7px #a5b8ca66,inset -3px -3px 7px #ffffffd9;display:grid;grid-template-columns:224px minmax(0,1fr);grid-template-rows:88px 1fr;gap:0;max-width:1520px;min-height:calc(100dvh - 56px);margin:28px auto;background:#e5edf4;color:var(--ink);border-radius:24px;box-shadow:18px 20px 48px #8c9eb14a,-12px -12px 40px #ffffffa3;font-family:"Microsoft YaHei UI","PingFang SC",sans-serif;overflow:clip}
body:has(.portal-refresh){background:#d6e1eb;padding:0 28px}
.portal-refresh *{box-sizing:border-box}.portal-refresh .icon{width:21px;height:21px;stroke-width:1.6;flex:none}
.portal-refresh .rail{position:sticky;top:28px;grid-column:1;grid-row:1/3;align-self:start;height:calc(100dvh - 56px);max-height:1100px;display:flex;flex-direction:column;gap:6px;padding:30px 16px 22px;background:#eaf1f7;border:0;border-right:1px solid #ffffffa1;border-radius:24px 0 0 24px;overflow:auto}
.portal-refresh .sidebar-brand{display:flex;gap:12px;align-items:center;padding:0 12px 32px;color:#29425f;text-decoration:none;font-size:21.6px;font-weight:700;letter-spacing:1px}.portal-refresh .sidebar-brand small{display:block;font-size:12px;font-weight:400;letter-spacing:2px;color:#6a8097;margin-top:6px}.portal-refresh .brand-mark{width:36px;height:36px;background:#e1edf8;color:#3c7bc0;border-radius:12px;box-shadow:var(--raised);font-size:27.6px;display:grid;place-items:center}.portal-refresh .rail-label{padding:14px 14px 9px;font-size:12px;letter-spacing:2px;color:#8293a5}
.portal-refresh .navbtn{position:relative;width:100%;min-height:46px;height:auto;display:flex;justify-content:flex-start;align-items:center;gap:11px;padding:11px 13px;border-radius:11px;color:#61778e;font-size:14.4px;text-decoration:none;box-shadow:none;border:1px solid transparent;transition:background .16s,box-shadow .16s,color .16s;flex-shrink:0}.portal-refresh .navbtn .icon{color:#6c94c4;width:19px;height:19px}.portal-refresh .navbtn .tip{display:block;position:static;opacity:1;visibility:visible;transform:none;white-space:normal;line-height:1.5;background:none;padding:0;color:inherit;box-shadow:none;pointer-events:none;font-size:14.4px}.portal-refresh .navbtn .tip:after{display:none}.portal-refresh .navbtn.active{color:#315d8f;background:#e2ecf5;box-shadow:var(--pressed);border-color:#d5e0eb}.portal-refresh .navbtn.active:after{content:'›';margin-left:auto;font-size:25.2px;color:#7193b4}.portal-refresh .navbtn:hover{background:#e2ecf5;color:#315d8f}.portal-refresh .navbtn:active{box-shadow:var(--pressed)}
.portal-refresh .rail-bottom{margin-top:auto}.portal-refresh .sidebar-profile{padding:18px 10px 0;border-top:1px solid #d6e2ed;margin-top:16px;display:flex;gap:10px;align-items:center}.portal-refresh .avatar{background:#dbe9f5;color:#3a689a;border:2px solid #f3f7fb;box-shadow:4px 4px 9px #adbdcb55;font-size:14.4px}.portal-refresh .sidebar-profile strong{font-size:14.4px;font-weight:600}.portal-refresh .sidebar-profile small{display:block;color:#7a8da1;font-size:12px;margin-top:5px}
.portal-refresh .topbar{grid-column:2;grid-row:1;display:flex;align-items:center;justify-content:space-between;background:transparent;border:0;padding:0 38px;min-width:0}.portal-refresh .top-context{font-size:14.4px;color:#6c8095;display:flex;gap:12px;align-items:center}.portal-refresh .top-context strong{color:#3d556d;font-weight:600}.portal-refresh .top-context span{color:#97a8b8}.portal-refresh .top-right{gap:12px}.portal-refresh .live{font-size:12px;color:#7a8d9e}.portal-refresh .account{background:#e5edf4;border:0;box-shadow:var(--raised);padding:8px 12px;border-radius:10px;color:#5c7289;font-size:13.2px}.portal-refresh .account .avatar{width:25px;height:25px}.portal-refresh .content{grid-column:2;grid-row:2;padding:8px 38px 24px;min-width:0}.portal-refresh .heading{display:flex;justify-content:space-between;align-items:center;margin:0 0 25px;gap:20px}.portal-refresh h1{font-size:32.4px;letter-spacing:-.8px;font-weight:650;line-height:1.5;color:#293e54}.portal-refresh .heading p{font-size:14.4px;line-height:1.8;margin-top:7px;color:#718499}.portal-refresh .heading-actions{display:flex;gap:10px}.portal-refresh .btn{background:#e9f0f6;color:#4e6c89;border:1px solid #f3f7fb;border-radius:9px;box-shadow:4px 4px 9px #b1c0cd66,-4px -4px 9px #ffffffb0;font-size:13.2px;padding:9px 12px;min-height:35px;transition:box-shadow .16s,transform .16s}.portal-refresh .btn:hover{color:#2c639f;transform:translateY(-1px)}.portal-refresh .btn:active{box-shadow:var(--pressed);transform:none}.portal-refresh .btn.dark,.portal-refresh .btn.primary{background:#dbe9f6;color:#376ca5;border-color:#e9f3fd}.portal-refresh a:focus-visible,.portal-refresh button:focus-visible,.portal-refresh summary:focus-visible{outline:2px solid #3977bb;outline-offset:4px}
.portal-refresh .welcome-line{display:flex;justify-content:space-between;align-items:center;margin:0 0 30px;gap:15px;padding:15px 18px;border-radius:12px;background:#e0eaf3;box-shadow:inset 2px 2px 5px #acbdcd44,inset -2px -2px 5px #fff9}.portal-refresh .welcome-line strong{font-size:15.6px;font-weight:550}.portal-refresh .welcome-line small{font-size:13.2px;color:#778ca1;margin-left:13px}.portal-refresh .welcome-line time{font-size:13.2px;color:#73889b;white-space:nowrap}.portal-refresh .section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.portal-refresh .section-heading h2{font-size:16.8px;font-weight:600;margin:0}.portal-refresh .section-heading span{font-size:12px;color:#7d91a4}
.portal-refresh .compact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.portal-refresh .compact-workspace{position:relative;min-height:188px;display:flex;flex-direction:column;padding:24px 20px 19px;border-radius:16px;background:#e8eff6;box-shadow:var(--raised);border:1px solid #f4f8fba6;transition:transform .2s,box-shadow .2s}.portal-refresh .compact-workspace:hover{transform:translateY(-4px);box-shadow:12px 15px 25px #a6b8ca80,-7px -7px 20px #ffffffbd}.portal-refresh .compact-workspace:active{transform:translateY(0);box-shadow:var(--pressed)}.portal-refresh .compact-workspace .card-top{display:flex;align-items:center;gap:12px;margin-bottom:15px}.portal-refresh .module-icon{display:grid;place-items:center;width:40px;height:40px;flex:none;border-radius:12px;color:#5a8bc4;background:#e5eff9;box-shadow:inset 2px 2px 5px #adbed044,inset -2px -2px 5px #fff}.portal-refresh .compact-workspace h3{margin:0;font-size:18px;font-weight:600;line-height:1.5;color:#344e68}.portal-refresh .compact-workspace p{color:#74889d;font-size:13.2px;line-height:1.9;margin:0 0 16px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.portal-refresh .card-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto}.portal-refresh .card-features{font-size:12px;color:#8b9bab;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.portal-refresh .module-link{color:#4a7db2;font-size:13.2px;white-space:nowrap;text-decoration:none;display:flex;align-items:center;gap:5px}.portal-refresh .module-link .icon{width:15px;height:15px}.portal-refresh .module-link:after{content:'';position:absolute;inset:0;border-radius:16px}.portal-refresh .module-link:focus-visible:after{outline:2px solid #3977bb;outline-offset:4px}
.portal-refresh .compact-tasks{margin-top:28px;border-radius:12px;border:1px solid #f4f8fb;padding:16px 18px;color:#627c96;background:#e3edf5}.portal-refresh .compact-tasks summary{cursor:pointer;font-size:14.4px;list-style-position:inside}.portal-refresh .compact-tasks .activity-row{padding:13px 0;border-bottom:1px solid #ccdbe7}.portal-refresh .compact-tasks .activity-row:last-child{border-bottom:0}.portal-refresh .compact-tasks p{font-size:14.4px;margin:18px 0 4px;color:#7c8fa1}.portal-refresh .bottom-note{display:flex;justify-content:space-between;margin-top:35px;padding-top:18px;border-top:1px solid #d2dfea;font-size:12px;color:#92a2b2;gap:15px}.portal-refresh .empty-home{grid-column:1/-1;padding:30px;font-size:15.6px}.portal-refresh .preview-note{font-size:13.2px;color:#7c8fa1}
@media(min-width:1700px){.portal-refresh{margin-top:45px;min-height:calc(100dvh - 90px)}.portal-refresh .rail{top:45px;height:calc(100dvh - 90px)}.portal-refresh .content{padding-top:20px}.portal-refresh .compact-workspace{min-height:205px}}
@media(max-width:1200px){.portal-refresh{grid-template-columns:200px minmax(0,1fr)}.portal-refresh .content{padding:8px 26px 24px}.portal-refresh .topbar{padding:0 26px}.portal-refresh .compact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-refresh .compact-workspace{min-height:177px}}
@media(max-width:760px){body:has(.portal-refresh){padding:0 10px}.portal-refresh{margin:10px 0;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto 1fr;border-radius:17px;min-height:calc(100dvh - 20px)}.portal-refresh .rail{position:static;grid-column:1;grid-row:1;height:auto;max-height:none;display:flex;flex-direction:row;flex-wrap:wrap;padding:18px 14px 12px;border-radius:17px 17px 0 0;border-right:0;border-bottom:1px solid #cddce9;gap:6px;overflow:visible}.portal-refresh .sidebar-brand{width:100%;padding:0 3px 12px;font-size:19.2px}.portal-refresh .rail-label,.portal-refresh .sidebar-profile{display:none}.portal-refresh .navbtn{width:auto;min-height:37px;padding:8px;gap:6px}.portal-refresh .navbtn .tip{font-size:12px}.portal-refresh .navbtn .icon{width:15px;height:15px}.portal-refresh .navbtn.active:after{display:none}.portal-refresh .rail-bottom{margin:0}.portal-refresh .topbar{grid-column:1;grid-row:2;padding:16px 18px}.portal-refresh .top-context{font-size:12px}.portal-refresh .live{display:none}.portal-refresh .content{grid-column:1;grid-row:3;padding:10px 18px 22px}.portal-refresh h1{font-size:27.6px}.portal-refresh .heading{align-items:flex-start;gap:10px}.portal-refresh .heading p{max-width:220px;font-size:13.2px}.portal-refresh .heading-actions .btn{padding:8px;font-size:12px}.portal-refresh .welcome-line{align-items:flex-start;margin-bottom:23px;padding:13px}.portal-refresh .welcome-line strong{font-size:14.4px}.portal-refresh .welcome-line small{display:block;margin:7px 0 0}.portal-refresh .welcome-line time{max-width:80px;white-space:normal;text-align:right;line-height:1.7;font-size:12px}.portal-refresh .compact-grid{grid-template-columns:minmax(0,1fr);gap:17px}.portal-refresh .compact-workspace{min-height:164px;padding:20px}.portal-refresh .bottom-note{margin-top:25px}.portal-refresh .compact-tasks .activity-row{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.portal-refresh *{transition:none!important;animation:none!important}.portal-refresh .compact-workspace:hover{transform:none}}

.portal-refresh .topbar .brand{display:none}.portal-refresh .crumb{display:flex;font-size:13.2px;color:#8192a3}.portal-refresh .crumb strong{font-weight:500;color:#5f768d}.portal-refresh .crumb span{margin:0 10px}.portal-refresh .count-label{display:none}

/* Fill the viewport while retaining the approved floating frame. */
body:has(.portal-refresh){display:flow-root;padding:0 12px}
.portal-refresh{max-width:none;width:100%;margin:12px 0;min-height:calc(100dvh - 24px)}
.portal-refresh .rail{top:12px;height:calc(100dvh - 24px);max-height:none;min-height:0}
.portal-refresh .module-link-card{text-decoration:none;cursor:pointer;color:inherit}
.portal-refresh .module-link-card:focus-visible{outline:2px solid #3977bb;outline-offset:4px}
@media(min-width:1700px){.portal-refresh{margin:12px 0;min-height:calc(100dvh - 24px)}.portal-refresh .rail{top:12px;height:calc(100dvh - 24px)}}
@media(max-width:760px){body:has(.portal-refresh){padding:0 8px}.portal-refresh{margin:8px 0;min-height:calc(100dvh - 16px)}.portal-refresh .rail{position:static;height:auto}.portal-refresh .heading{flex-wrap:wrap}.portal-refresh .heading p{max-width:none}}
