/* Complete B homepage. Existing resource pages and account controls stay intact. */
body.home-view {font-family:'Noto Sans SC','Microsoft YaHei','PingFang SC',sans-serif;-webkit-font-smoothing:antialiased;}
body.home-view .sidebar {height:88px;min-height:88px;padding:0 max(36px,calc((100% - 1256px)/2));}
body.home-view .brand {gap:12px;font-size:23px;font-weight:700;}
body.home-view .brand-avatar {width:42px;height:42px;border-radius:13px;}
body.home-view .login-entry {height:44px;padding:0 22px;border-radius:12px;background:#eff2ff;color:#3155f5;font-size:14px;font-weight:600;}
body.home-view .login-entry:hover {background:#e7ecff;}
body.home-view .workspace>header {display:none;}
body.home-view #main {width:100%;max-width:960px;min-height:0;padding:64px 24px 48px;text-align:center;}
body.home-view .intro {padding:0;}
body.home-view .intro h1 {margin:0;font-size:28px;line-height:1.4;font-weight:650;letter-spacing:0;text-wrap:balance;}
body.home-view .home-purpose {max-width:none;margin:0;color:#202632;font-size:28px;line-height:1.4;text-wrap:pretty;}
.search-icon {width:19px;height:19px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;color:#858b96;}
.search .workflow-picker {display:none;}
body.home-view .search {position:relative;display:flex;align-items:center;gap:0;width:min(100%,760px);height:64px;margin:40px auto 0;padding:0;border:1px solid #e4e7ec;border-radius:13px;background:#fafbfc;overflow:visible;}
body.home-view .search:focus-within {border-color:#abb9ff;box-shadow:0 0 0 3px #edf0ff;}
body.home-view .search .workflow-picker {display:block;flex-shrink:0;width:128px;margin:0 0 0 14px;}
body.home-view .search .workflow-star {display:flex;align-items:center;justify-content:center;gap:13px;min-width:0;width:100%;min-height:44px;padding:0 9px;border:0;border-radius:8px;background:transparent;color:#555c68;font-size:16px;line-height:1.4;}
body.home-view .search .workflow-star:hover,body.home-view .search .workflow-star[aria-expanded=true] {background:#eef0f4;}
body.home-view .search .workflow-picker::after {content:'';position:absolute;right:-1px;top:9px;bottom:9px;border-right:1px solid #e7e9ed;pointer-events:none;}
body.home-view .search .workflow-options {top:calc(100% + 13px);left:-7px;transform:none;width:210px;}
body.home-view .search-icon {margin-left:22px;}
body.home-view .search input {height:44px;min-width:0;flex:1;padding:0 14px;font-size:17px;color:#303641;}
body.home-view .search input::placeholder {color:#818995;}
body.home-view .search>button {height:44px;min-width:90px;margin:0 9px 0 0;padding:0 12px;background:transparent;border:0;border-radius:9px;color:#505765;font-size:16px;transition:background-color 160ms ease;}
body.home-view .search>button:hover {background:#eef0f4;}
body.home-view .home-action-group {margin-top:24px;}
body.home-view .home-services {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:min(100%,760px);margin:42px auto 0;padding:30px 0 0;border-top:1px solid #e7e9ed;gap:14px;}
body.home-view .home-service {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:78px;padding:8px;border:0;border-radius:12px;background:transparent;color:#66717f;font:inherit;font-size:15px;line-height:1.5;transition:color 180ms ease,background-color 180ms ease;}
body.home-view .home-service svg {width:25px;height:25px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;}
body.home-view .home-service:hover {color:#3155f5;background:#f7f8fc;}
body.home-view .home-service:focus-visible {outline:3px solid #8096f4;outline-offset:2px;}
#service-contact-dialog {box-sizing:border-box;width:min(400px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow-y:auto;padding:32px;border:1px solid #e4e7ec;border-radius:18px;background:#fff;color:#202632;box-shadow:0 20px 70px #15203926;}
#service-contact-dialog::backdrop {background:#17202f44;}
.service-contact-close {position:absolute;top:12px;right:12px;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:9px;background:transparent;color:#687384;font-size:27px;line-height:1;}
.service-contact-close:hover {background:#f1f3f6;}
#service-contact-title {margin:0 40px 12px 0;font-size:23px;line-height:1.4;}
#service-contact-description {margin:0 0 24px;color:#626976;font-size:14px;line-height:1.8;}
.service-deployment {margin:0 0 24px;border-top:1px solid #e7e9ed;border-bottom:1px solid #e7e9ed;}
.service-deployment[hidden] {display:none;}
.service-deployment summary {display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px;padding:12px 0;list-style:none;cursor:pointer;}
.service-deployment summary::-webkit-details-marker {display:none;}
.service-deployment summary:focus-visible {outline:3px solid #8096f4;outline-offset:3px;border-radius:4px;}
.service-deployment-name {font-size:16px;font-weight:600;line-height:1.5;}
.service-deployment-action {display:flex;align-items:center;gap:6px;flex-shrink:0;color:#3155f5;font-size:13px;line-height:1.5;}
.service-deployment-action svg {width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.service-detail-collapse {display:none;}
.service-deployment[open] .service-detail-expand {display:none;}
.service-deployment[open] .service-detail-collapse {display:inline;}
.service-deployment[open] .service-deployment-action svg {transform:rotate(180deg);}
.service-deployment-content {padding:0 0 18px;color:#626976;font-size:14px;line-height:1.8;}
.service-deployment-content p {margin:0;}
.service-deployment-content ul {margin:12px 0;padding-left:20px;}
.service-deployment-content li+li {margin-top:4px;}
.service-deployment-content .service-deployment-note {margin-top:12px;font-size:13px;}
.service-contact-label {display:block;margin-bottom:8px;color:#626976;font-size:13px;}
.service-wechat-id {width:100%;min-width:0;height:48px;padding:0 12px;border:1px solid #e4e7ec;border-radius:9px;background:#fafbfc;color:#26313f;font-size:17px;}
.service-contact-copy {width:100%;min-height:44px;margin-top:16px;padding:10px 18px;border:0;border-radius:9px;background:#3155f5;color:#fff;font-size:14px;}
.service-contact-copy:hover {background:#2648df;}
.service-contact-status {min-height:21px;margin:12px 0 0;color:#626976;font-size:13px;line-height:1.6;}
@media(max-width:600px) {
 body.home-view .sidebar {height:72px;min-height:72px;padding:0 20px;gap:10px;}
 body.home-view .brand {gap:9px;font-size:17px;}
 body.home-view .sidebar .brand-avatar {width:34px;height:34px;border-radius:10px;}
 body.home-view .login-entry {height:40px;min-height:40px;padding:0 14px;font-size:13px;}
 body.home-view #main {padding:40px 22px 36px;}
 body.home-view .intro h1 {font-size:24px;letter-spacing:0;line-height:1.4;}
 body.home-view .home-purpose {margin-top:0;font-size:24px;}
 body.home-view .search {height:58px;margin-top:30px;}
 body.home-view .search .workflow-picker {width:85px;margin-left:6px;}
 body.home-view .search .workflow-star {gap:6px;padding:0 5px;font-size:13px;}
 body.home-view .search .workflow-options {left:0;}
 body.home-view .search-icon {margin-left:11px;width:16px;height:16px;}
 body.home-view .search input {font-size:14px;padding:0 8px;}
 body.home-view .search>button {min-width:50px;margin-right:5px;padding:0 8px;font-size:13px;}
 body.home-view .home-action-group {margin-top:22px;}
 body.home-view .home-services {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-top:20px;margin-top:40px;}
 body.home-view .home-service {min-height:78px;font-size:14px;gap:10px;}
 #service-contact-dialog {padding:28px 24px;}
}
@media(prefers-reduced-motion:reduce) {
 body.home-view .search>button,body.home-view .home-service {transition:none;}
}
