:root{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:#202736;background:#fff;font-synthesis:none;--blue:#2455df;--muted:#7b8291;--border:#e8eaf0;--sidebar:248px}*{box-sizing:border-box}body{margin:0;font-size:16px}button,input,select{font:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed}a{color:var(--blue)}button:focus-visible,a:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:3px solid #98b4ff;outline-offset:4px}button{border:0}button,select{transition:background .16s,color .16s,box-shadow .16s}button[hidden],[hidden]{display:none!important}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);background:#f7f8fb;border-right:1px solid var(--border);padding:33px 20px 20px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:11px;color:#171e2b;text-decoration:none;font-size:24px;font-weight:750;padding:0 8px;letter-spacing:.04em}.brand-mark{display:grid;place-items:center;background:var(--blue);color:#fff;width:40px;height:42px;border-radius:11px;font-size:23px;font-weight:500;box-shadow:0 4px 10px #2455df20}.brand-en{display:block;font-size:9px;letter-spacing:.1em;color:#8590a3;margin-top:4px;font-weight:600}.new-project{display:flex;align-items:center;gap:11px;margin:35px 0 35px;padding:13px 14px;background:white;color:#354056;border:1px solid #dde2ed;border-radius:9px;font-size:14px;font-weight:600;box-shadow:0 2px 4px #18203804}.new-project:hover{border-color:#b4c4f4}.new-project>span:first-child{font-size:23px;font-weight:400}.keycap{margin-left:auto;font-size:12px;border:1px solid #e4e7ee;border-radius:4px;padding:1px 5px;color:#8c94a4}.nav-section,.history-heading{font-size:12px;color:#8b93a2;padding:0 12px;margin-bottom:13px}.nav-item{width:100%;display:flex;align-items:center;gap:12px;text-align:left;padding:12px 14px;border-radius:8px;color:#687184;background:transparent;font-size:14px;margin-bottom:5px}.nav-item>span{font-size:20px}.nav-item.active{background:#e9eefc;color:#244eb7;font-weight:600}.nav-item:hover{background:#edf0f6}.history-heading{display:flex;justify-content:space-between;margin-top:38px}.history-heading>span:last-child{font-size:11px}.history-list{flex:1;overflow:auto}.history-empty{font-size:12px;line-height:1.7;padding:0 12px;color:#9aa1af}.history-item{display:block;text-align:left;width:100%;background:transparent;color:#586274;padding:11px 12px;border-radius:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}.history-item:hover,.history-item.selected{background:#eaeef6}.history-item small{display:block;color:#9098a6;font-size:11px;margin-top:5px}.sidebar-bottom{display:flex;align-items:center;gap:10px;padding:19px 6px 0;border-top:1px solid var(--border);font-size:13px;color:#4c576a}.local-icon{display:grid;place-items:center;width:33px;height:33px;background:white;border:1px solid var(--border);border-radius:50%;font-size:20px}.sidebar-bottom small{display:block;color:#929aa8;font-size:11px;margin-top:4px}.sidebar-bottom button{margin-left:auto;background:transparent;border:1px solid #d4d9e2;width:21px;height:21px;border-radius:50%;font-size:12px;color:#7c8799}.main{margin-left:var(--sidebar);min-height:100vh}.topbar{height:78px;display:flex;align-items:center;justify-content:space-between;padding:0 40px;font-size:13px;border-bottom:1px solid #f2f3f6}.breadcrumb{color:#8a93a3}.breadcrumb-sep{color:#cad0db;margin:0 13px}.runtime-state{font-size:12px;color:#7e899b;border:1px solid var(--border);border-radius:6px;padding:7px 11px}.runtime-state.ready{color:#567167}.mobile-menu{display:none}.workspace{max-width:990px;margin:0 auto;padding:0 42px 32px}.welcome{padding-top:105px;text-align:center;margin-bottom:43px}.eyebrow{font-size:13px;letter-spacing:.15em;color:#62759d;margin-bottom:20px}.welcome h1{font-size:40px;font-weight:650;letter-spacing:-.03em;margin:0 0 18px;line-height:1.4}.welcome p{margin:0;color:#7a8394;font-size:16px}.composer{border:1px solid #dfe4ee;border-radius:18px;padding:22px 23px 17px;box-shadow:0 10px 38px #28416309,0 2px 4px #28416303;background:#fff}.drop-area{min-height:138px;display:flex;align-items:center;cursor:pointer;border-radius:10px;transition:background .16s}.drop-area.dragging{background:#eef3ff;outline:2px dashed #7997ef}.upload-symbol{display:block;color:#8b98b0;font-size:25px;margin-bottom:10px}.upload-title{font-size:16px;color:#4f5a70;display:block}.upload-subtitle{display:block;margin-top:9px;font-size:12px;color:#97a0af}.composer-bottom{display:flex;justify-content:space-between;gap:16px;align-items:flex-end;margin-top:17px}.composer-options{display:flex;gap:18px;flex-wrap:wrap}.select-label{display:flex;flex-direction:column;gap:6px}.select-label>span{font-size:11px;color:#929bad}.select-label select{background:#f6f8fb;border:1px solid #e9edf4;border-radius:7px;color:#42516d;padding:9px 26px 9px 10px;font-size:13px;max-width:100%;cursor:pointer}.convert-button{background:var(--blue);color:#fff;border-radius:9px;padding:12px 17px;font-size:14px;font-weight:550;white-space:nowrap;display:flex;align-items:center;gap:24px;min-height:44px}.convert-button:hover{background:#1742bd}.convert-button:disabled{background:#e9edf7;color:#96a4bf}.convert-button>span:last-child{font-size:20px;line-height:1}.composer-note{text-align:center;color:#929bab;font-size:12px;margin-top:17px;line-height:1.8}.composer-note>span{font-size:17px;color:#8090ab;margin-right:5px}.quick-start{margin-top:43px;display:grid;grid-template-columns:1fr 1fr;gap:22px}.quick-start>button,.output-hint{display:flex;gap:15px;text-align:left;align-items:center;background:#fff;border:1px solid var(--border);border-radius:12px;padding:20px;font-size:14px;color:#59667d}.quick-start>button:hover{background:#fafbff;border-color:#c7d3f6}.quick-start small{display:block;font-size:11px;color:#9aa3b3;margin-top:7px}.quick-start>button>span:last-child{margin-left:auto;color:#a0aabb;font-size:18px}.demo-icon,.folder-icon{width:32px;height:36px;display:grid;place-items:center;background:#f0f4ff;color:#6381c4;border-radius:6px;font-size:24px}.folder-icon{background:#f5f6f9;color:#8f9aae}.workspace-footer{text-align:center;font-size:11px;color:#a2aaba;margin-top:60px;line-height:1.8}.file-preview{display:flex;align-items:center;gap:13px;padding:16px;background:#f7f9ff;border:1px solid #e3eafc;border-radius:10px;width:100%;min-width:0}.word-icon{width:39px;height:46px;border-radius:6px;background:#e5ecff;color:#2b5cd5;display:grid;place-items:center;font-weight:700}.file-preview>div{min-width:0;flex:1}.file-preview strong{display:block;font-size:14px;word-break:break-all;color:#38435b;font-weight:550}.file-preview small{display:block;margin-top:6px;font-size:12px;color:#8a94a8}.file-preview button{background:transparent;color:#8290aa;font-size:23px;padding:4px 8px}.form-error{font-size:13px;color:#a43444;background:#fff3f4;padding:12px 15px;border-radius:8px;line-height:1.6}.conversation:empty{display:none}.conversation{padding:35px 0 25px}.workspace.has-result .welcome,.workspace.has-result .quick-start{display:none}.workspace.has-result .composer-wrap{margin-top:0}.workspace.has-result .drop-area{min-height:80px}.workspace.has-result .upload-symbol{display:none}.workspace.has-result .workspace-footer{margin-top:28px}.user-message{display:flex;justify-content:flex-end;margin-bottom:26px}.user-bubble{max-width:85%;background:#f1f4fc;padding:17px 20px;border-radius:14px 14px 3px 14px;font-size:14px;color:#43516b;line-height:1.7}.user-bubble strong{display:block;color:#33415b;overflow-wrap:anywhere}.user-bubble small{display:block;font-size:12px;color:#8793a9;margin-top:5px}.assistant-message{display:flex;gap:13px;align-items:flex-start}.assistant-avatar{flex:none;display:grid;place-items:center;width:30px;height:32px;border-radius:8px;background:#edf2ff;color:var(--blue);font-size:18px;margin-top:2px}.assistant-content{min-width:0;flex:1}.assistant-content h2{font-size:19px;font-weight:600;line-height:1.5;margin:3px 0 9px}.assistant-description{font-size:13px;color:#8590a3;margin:0 0 20px;line-height:1.7}.progress-track{height:4px;border-radius:3px;background:#ecf0f8;overflow:hidden;margin:18px 0}.progress-fill{height:100%;background:var(--blue);transition:width .3s}.progress-steps{display:flex;gap:20px;flex-wrap:wrap;font-size:12px;color:#9aa5b7}.progress-steps .done{color:#476195}.result-card{border:1px solid var(--border);border-radius:12px;overflow:hidden;margin-top:19px}.result-top{padding:18px 20px;display:flex;justify-content:space-between;gap:15px;background:#fafbfe;border-bottom:1px solid var(--border)}.result-top strong{font-size:14px;font-weight:600}.result-top small{display:block;font-size:11px;color:#8d98ab;margin-top:5px}.result-badge{font-size:11px;color:#4f7565;background:#eaf5ee;padding:5px 8px;border-radius:5px;height:fit-content;white-space:nowrap}.result-stats{display:flex;gap:25px;flex-wrap:wrap;padding:19px 20px 15px;font-size:12px;color:#8c97aa}.result-stats strong{font-size:18px;color:#435371;margin-right:4px}.file-tree{padding:0 20px 15px;font-family:"Cascadia Code",Consolas,monospace;font-size:12px;line-height:1.95;color:#7e8ba2}.file-tree span{display:block}.file-tree .tree-primary{color:#4f6284}.result-actions{display:flex;flex-wrap:wrap;gap:9px;padding:15px 20px;border-top:1px solid var(--border)}.download-primary,.download-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:39px;padding:9px 13px;border-radius:7px;text-decoration:none;font-size:12px}.download-primary{background:var(--blue);color:white}.download-secondary{background:#f3f5f9;color:#61718c}.download-primary:hover{background:#1945bc}.download-secondary:hover{background:#e8edf7}.result-warnings{font-size:12px;line-height:1.8;margin-top:17px;color:#95743f;background:#fffaf0;border:1px solid #f3e9d4;border-radius:9px;padding:12px 15px}.result-warnings summary{cursor:pointer;font-weight:600}.result-warnings ul{padding-left:18px;margin:8px 0 0}.failure{color:#a34650;background:#fff5f6;border:1px solid #f1dce0;padding:15px;border-radius:9px;font-size:14px;line-height:1.8}.switch-template{margin-top:14px;font-size:12px;color:#929eaf}.switch-template button{color:var(--blue);background:transparent;padding:0 3px;font-size:12px}dialog{border:1px solid var(--border);border-radius:17px;padding:25px 28px;max-width:640px;width:calc(100% - 40px);color:#43516a;box-shadow:0 25px 80px #18254420}dialog::backdrop{background:#15244045;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:16px}.dialog-head h2{font-size:20px;margin:0}.dialog-head button{background:transparent;font-size:27px;color:#8a96aa}.dialog-template{border-top:1px solid var(--border);padding:17px 0}.dialog-template h3{font-size:15px;margin:0 0 8px}.dialog-template p,#dialog-body>p{font-size:14px;color:#8290a6;line-height:1.8;margin:6px 0}.dialog-template a{font-size:12px}.spinner{width:15px;height:15px;border:2px solid #cbd7ff;border-top-color:#2455df;border-radius:50%;display:inline-block;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(min-width:1500px){.welcome{padding-top:135px}}@media(max-width:1100px){:root{--sidebar:218px}.workspace{padding-left:30px;padding-right:30px}.figure-select{display:none}.topbar{padding:0 30px}.welcome h1{font-size:34px}.quick-start{gap:12px}.quick-start>button,.output-hint{padding:16px}}@media(max-width:760px){:root{--sidebar:0px}.sidebar{width:248px;transform:translateX(-100%);transition:transform .2s;box-shadow:15px 0 35px #17244312}.sidebar.open{transform:translateX(0)}.topbar{height:64px;padding:0 18px;font-size:12px}.mobile-menu{display:inline-block;background:transparent;color:#5d6d88;padding:6px;margin-right:12px}.runtime-state{font-size:10px;padding:5px 7px}.breadcrumb,.breadcrumb-sep{display:none}.workspace{padding:0 18px 25px}.welcome{padding-top:70px;margin-bottom:31px}.welcome h1{font-size:30px}.welcome p{font-size:14px}.eyebrow{font-size:12px}.composer{padding:18px 16px 14px;border-radius:14px}.composer-options{gap:10px;min-width:0}.select-label{min-width:0}.select-label select{max-width:195px;font-size:12px}.composer-bottom{gap:8px}.convert-button{font-size:12px;padding:11px 12px;gap:10px}.quick-start{grid-template-columns:1fr;margin-top:28px}.output-hint{display:none}.workspace-footer{margin-top:36px}.composer-note{font-size:10px}.assistant-message{gap:9px}.result-top,.result-actions{padding:14px}.result-stats{gap:18px;padding:16px 14px}.file-tree{padding-left:14px;font-size:11px}.user-bubble{max-width:95%}.result-top strong{font-size:13px}.assistant-content h2{font-size:17px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* Landing entry: individually sourced publisher marks hover behind a white frosted surface. */
.entry-screen{position:fixed;inset:0;z-index:100;isolation:isolate;display:grid;place-items:center;overflow:hidden;color:#20201f;background:radial-gradient(circle at 50% 45%,#fff 0%,#f7f6f4 47%,#eceae7 100%);transition:opacity .58s ease,visibility .58s ease}.workspace-entered .entry-screen{opacity:0;visibility:hidden;pointer-events:none}.entry-aurora{position:absolute;border-radius:50%;filter:blur(24px);opacity:.72}.entry-aurora-one{width:53vw;height:53vw;left:-20vw;top:-26vw;background:#e5e4e1;animation:aurora-drift 18s ease-in-out infinite alternate}.entry-aurora-two{width:45vw;height:45vw;right:-18vw;bottom:-25vw;background:#dedbd7;opacity:.52;animation:aurora-drift 23s ease-in-out -7s infinite alternate-reverse}.publisher-field{position:absolute;inset:0;pointer-events:none}.publisher-glass{position:absolute;display:grid;place-items:center;overflow:hidden;padding:24px;border:1px solid #fff;border-radius:30px;background:linear-gradient(135deg,#ffffffcf,#ffffff72);box-shadow:0 22px 65px #38332b16,inset 1px 1px 0 #fff,inset -12px -9px 25px #a69f9530;backdrop-filter:blur(18px) saturate(.88);opacity:.68;animation:publisher-drift 16s ease-in-out infinite alternate}.publisher-glass::after{content:"";position:absolute;inset:0;background:linear-gradient(118deg,#fff8 0%,transparent 29%,transparent 68%,#d6d1ca2e 100%)}.publisher-glass img{position:relative;z-index:1;display:block;width:100%;height:100%;object-fit:contain;filter:saturate(.88) contrast(.96);opacity:.83}.publisher-glass-a{width:245px;height:158px;left:5vw;top:15vh;transform:rotate(-10deg);animation-delay:-3s}.publisher-glass-b{width:220px;height:128px;right:6vw;top:18vh;transform:rotate(10deg);animation-delay:-7s}.publisher-glass-c{width:265px;height:145px;left:9vw;bottom:10vh;transform:rotate(7deg);animation-delay:-12s}.publisher-glass-d{width:232px;height:142px;right:10vw;bottom:8vh;transform:rotate(-7deg);animation-delay:-4s}.publisher-glass-e{width:165px;height:102px;left:43%;top:9%;transform:rotate(-3deg);opacity:.48;animation-delay:-9s}.entry-content{position:relative;z-index:2;display:flex;align-items:center;flex-direction:column;width:min(92vw,500px);padding:36px 32px;text-align:center;border:1px solid #fff;border-radius:28px;background:#ffffff9e;box-shadow:0 28px 90px #38332b1a,inset 0 1px 0 #fff;backdrop-filter:blur(24px) saturate(.9)}.entry-brand{display:flex;align-items:center;gap:11px;margin:0;color:#22211f;font-size:27px;font-weight:750;letter-spacing:.06em;line-height:1.15}.entry-mark{display:grid;place-items:center;width:43px;height:45px;border:1px solid #dedbd7;border-radius:13px;background:#ffffffa8;box-shadow:0 7px 20px #5b54481a,inset 0 1px 0 #fff;color:#292826;font-size:24px;font-weight:500}.entry-description{margin:22px 0 25px;color:#5f5c57;font-size:1rem;line-height:1.7}.entry-start{display:inline-flex;align-items:center;gap:28px;min-height:50px;padding:0 21px 0 24px;border:1px solid #e5e1dc;border-radius:14px;color:#292724;background:#ffffffc9;font-weight:700;font-size:15px;box-shadow:0 10px 26px #433d3514,inset 0 1px 0 #fff;transition:transform .2s ease,box-shadow .2s ease}.entry-start:hover{transform:translateY(-3px);box-shadow:0 16px 32px #433d3523,inset 0 1px 0 #fff}.entry-start span{font-size:20px;line-height:1}.entry-screen::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#f5f3ef92,transparent 36%,transparent 64%,#f4f2ee8e)}@keyframes publisher-drift{from{translate:0 0}to{translate:0 -16px}}@keyframes aurora-drift{from{transform:translate3d(0,0,0) scale(1)}to{transform:translate3d(7vw,8vh,0) scale(1.12)}}
@media(max-width:760px){.entry-content{width:min(90vw,430px);padding:31px 20px;border-radius:24px}.entry-brand{font-size:25px}.publisher-glass{border-radius:22px;padding:17px;opacity:.49}.publisher-glass-a{width:170px;height:108px;left:-24px;top:11vh}.publisher-glass-b{width:162px;height:99px;right:-27px;top:20vh}.publisher-glass-c{width:190px;height:108px;left:-37px;bottom:13vh}.publisher-glass-d{width:188px;height:108px;right:-44px;bottom:6vh}.publisher-glass-e{display:none}.entry-description{font-size:15px}.entry-start{min-height:49px}}

/* Publisher marks are clear, level, and borderless; only the page and center use frosted glass. */
.publisher-logo{position:absolute;display:block;width:170px;height:58px;opacity:.88;filter:drop-shadow(0 13px 15px #766f6617);animation:logo-drift 15s ease-in-out infinite alternate}.publisher-logo img{display:block;width:100%;height:100%;object-fit:contain;filter:none}.publisher-logo-d img{transform:scale(2.2)}.publisher-logo-a{left:5vw;top:12vh;width:190px;height:76px;animation-delay:-2s}.publisher-logo-b{right:6vw;top:14vh;width:175px;height:52px;animation-delay:-8s}.publisher-logo-c{left:8vw;bottom:13vh;width:178px;height:62px;animation-delay:-11s}.publisher-logo-d{right:7vw;bottom:12vh;width:162px;height:54px;animation-delay:-4s}.publisher-logo-e{left:43%;top:5vh;width:135px;height:48px;animation-delay:-7s}.publisher-logo-f{left:18vw;top:26vh;width:154px;height:52px;animation-delay:-13s}.publisher-logo-g{right:19vw;top:26vh;width:108px;height:56px;animation-delay:-5s}.publisher-logo-h{left:19vw;bottom:25vh;width:135px;height:48px;animation-delay:-10s}.publisher-logo-i{right:18vw;bottom:26vh;width:158px;height:54px;animation-delay:-1s}@keyframes logo-drift{from{translate:0 0}to{translate:0 -13px}}@media(max-width:760px){.publisher-logo{opacity:.75}.publisher-logo-a{left:-16px;top:12vh;width:122px;height:50px}.publisher-logo-b{right:-14px;top:15vh;width:118px;height:39px}.publisher-logo-c{left:-20px;bottom:12vh;width:120px;height:48px}.publisher-logo-d{right:-18px;bottom:11vh;width:110px;height:42px}.publisher-logo-e{left:39%;top:6vh;width:94px;height:36px}.publisher-logo-f{left:5vw;top:27vh;width:110px;height:38px}.publisher-logo-g{right:4vw;top:27vh;width:76px;height:42px}.publisher-logo-h{left:5vw;bottom:27vh;width:94px;height:36px}.publisher-logo-i{right:4vw;bottom:27vh;width:112px;height:42px}}

/* Readable controls and complete options on compact screens. */
.select-label select,.download-primary,.download-secondary,.history-item,.result-top strong,.result-warnings,.assistant-description{font-size:14px}.select-label>span,.upload-subtitle,.composer-note,.workspace-footer,.quick-start small,.sidebar-bottom small,.history-empty,.brand-en,.history-item small,.result-top small,.file-tree,.result-badge{font-size:12px}.figure-select{display:flex}@media(max-width:1100px){.composer-bottom{align-items:flex-end}.composer-options{gap:12px}.figure-select{display:flex}}@media(max-width:760px){.composer-bottom{flex-wrap:wrap}.composer-options{flex:1 1 100%}.select-label select{font-size:14px;max-width:100%}.convert-button{margin-left:auto;font-size:14px}.welcome{padding-top:45px}.sidebar-bottom small,.composer-note,.workspace-footer{font-size:12px}.quick-start small{font-size:12px}}
.conversion-options{border-top:1px solid #edf0f5;padding:15px 20px;font-size:14px;color:#525e72}.conversion-options summary{cursor:pointer;font-weight:600;margin-bottom:12px}.conversion-options p{font-size:12px;line-height:1.6;color:#758095;margin:8px 0 14px}.reference-toggle{display:flex;align-items:center;gap:8px}.metadata-upload{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.metadata-upload input{font-size:12px;max-width:100%}.metadata-result{padding:16px 0;margin-bottom:12px;border-top:1px solid #edf0f5;border-bottom:1px solid #edf0f5;font-size:14px;line-height:1.7}.metadata-result summary{cursor:pointer;font-weight:600}.metadata-result .author-names{font-weight:500;color:#263654}.metadata-result ol{padding-left:20px;font-size:13px;color:#586478}.metadata-source{color:#7d889a;font-size:12px}.reference-status{padding:0 20px;color:#3448b5;font-size:14px}.reference-status strong{font-weight:650}.latex-image-hint{margin:12px 20px 8px;padding:10px 12px;border:1px solid #eadfc9;border-radius:8px;background:#fffaf1;color:#78623d;font-size:12px;line-height:1.65}

.review-form { display:grid; gap:18px; margin-top:24px; }
.review-form h3 { margin:14px 0 0; font-size:17px; }
.review-form p { margin:0; color:#697581; font-size:13px; line-height:1.7; }
.review-form label { display:grid; gap:7px; font-size:13px; color:#435364; }
.review-form textarea, .review-form input:not([type=checkbox]), .review-form select { width:100%; box-sizing:border-box; background:#fff; border:1px solid #d7dfe6; border-radius:8px; padding:10px; font:inherit; color:#233443; }
.review-form textarea { resize:vertical; line-height:1.6; }
.review-form input[type=checkbox] { accent-color:#23856c; }
.review-form fieldset { min-width:0; border:1px solid #dfe5e9; border-radius:12px; padding:16px; display:grid; gap:12px; margin:12px 0; }
.review-form .review-author { gap:6px; padding:8px 16px; }
.review-form .review-author legend { display:flex; align-items:center; justify-content:space-between; width:100%; }
.review-form .review-author legend .author-order { margin-left:auto; }
.review-form legend { padding:0 7px; font-size:13px; font-weight:600; }
.review-form .review-section-map { color:#53677a; font-size:12px; padding:9px 11px; border-radius:7px; background:#f5f7f8; }
.heading-review { border:1px solid #dfe6ef; border-radius:12px; padding:16px; background:#fbfcff; display:grid; gap:12px; }
.heading-review h3 { margin:0; }
.heading-review-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.heading-review-level { min-width:0; border:1px solid #e1e7ef; border-radius:9px; padding:11px; background:#fff; }
.heading-review-level>strong,.heading-review-candidates>strong { display:block; color:#3f526b; font-size:13px; }
.heading-review-list { list-style:none; padding:0; margin:8px 0 0; display:grid; gap:6px; max-height:220px; overflow:auto; }
.heading-review-list li { display:grid; gap:2px; padding:6px 7px; border-radius:6px; background:#f5f7fa; color:#3b4d64; font-size:12px; line-height:1.45; overflow-wrap:anywhere; }
.heading-review-list small { display:block; margin-top:2px; color:#8995a5; font-size:10px; }
.heading-review-empty { margin-top:8px!important; color:#9a6e31!important; font-size:12px!important; }
.heading-review-candidates { border:1px solid #f0e1c8; border-radius:9px; padding:11px; background:#fffaf1; }
.heading-review-candidates>p { margin:6px 0!important; }
.heading-review-guidance { color:#596b80!important; }
.heading-review-check { padding-top:4px; }
.review-affiliation { margin-bottom:12px; }
.review-affiliation-actions { display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.review-affiliation-example { color:#7f8b99; font-size:12px; line-height:1.5; }
.author-order { display:flex; gap:8px; justify-content:flex-end; }
.author-order button,.review-link,.review-affiliation button { background:#f2f6f5; border:1px solid #dbe5e1; border-radius:6px; padding:6px 10px; color:#376c5c; width:fit-content; cursor:pointer; }
.author-aff-options { display:flex; gap:15px; flex-wrap:wrap; }
.review-form .review-check,.author-aff-options label { display:flex; align-items:center; gap:8px; line-height:1.6; }
.found { color:#28846c; font-size:11px; margin-left:8px; }
.missing { color:#a7661e; font-size:11px; margin-left:8px; }
.review-reference { padding:12px; background:#f6f8fa; border-radius:8px; overflow-wrap:anywhere; font-size:13px; }
.review-reference summary { cursor:pointer; line-height:1.6; }
.review-reference pre { white-space:pre-wrap; font-size:12px; }
.review-reference dd { margin:6px 0 12px; }
.review-notice { background:#f5f7f6; padding:12px; border-radius:8px; font-size:13px; line-height:1.7; color:#596b64; }
.reference-advice{border:1px solid #dfe6f1;background:#f8faff;color:#596b80}.reference-advice strong{color:#40516f}.reference-advice p{margin:6px 0}.reference-advice em{font-style:italic}
.review-form .convert-button { width:fit-content; }
@media(max-width:760px){.heading-review-grid{grid-template-columns:1fr}}

/* The entry screen stays pure white; the center alone carries a quiet frosted layer. */
.entry-screen{background:#fff}
.entry-screen::before{background:transparent}
.entry-aurora{display:none}
.entry-content{background:rgb(255 255 255 / .72);border-color:rgb(255 255 255 / .94);box-shadow:0 28px 90px rgb(36 34 31 / .09),inset 0 1px 0 #fff;backdrop-filter:blur(26px) saturate(.92)}

/* Publisher marks remain flat and sharp while each rises into view and recedes. */
.publisher-logo{opacity:0;filter:drop-shadow(0 12px 16px rgb(31 31 31 / .10));animation:logo-float-reveal 8.5s cubic-bezier(.42,0,.18,1) infinite;will-change:transform,opacity}
.publisher-logo-d img{transform:none}
.publisher-logo-d{right:5vw;bottom:11vh;width:192px;height:76px}
.publisher-logo-g{right:18vw;top:26vh;width:136px;height:48px}
.publisher-logo-j{left:64vw;top:5vh;width:142px;height:45px;animation-delay:-9s}
.publisher-logo-k{left:5vw;top:40vh;width:150px;height:46px;animation-delay:-6s}
.publisher-logo-l{right:5vw;top:41vh;width:138px;height:54px;animation-delay:-12s}
.publisher-logo-m{left:5vw;bottom:39vh;width:154px;height:48px;animation-delay:-3s}
.publisher-logo-n{right:5vw;bottom:38vh;width:96px;height:62px;animation-delay:-15s}
.publisher-logo-o{left:27vw;bottom:13vh;width:132px;height:48px;animation-delay:-8s}
.publisher-logo-p{right:25vw;bottom:9vh;width:112px;height:58px;animation-delay:-14s}
.publisher-logo-q{left:22vw;top:7vh;width:120px;height:40px;animation-delay:-1s}
@keyframes logo-float-reveal{0%,100%{transform:translate3d(0,14px,0);opacity:.13}18%{opacity:.42}48%,61%{transform:translate3d(0,-18px,0);opacity:.98}79%{transform:translate3d(0,-7px,0);opacity:.5}}
@media(max-width:760px){.publisher-logo-d{right:-30px;bottom:11vh;width:145px;height:54px}.publisher-logo-g{right:4vw;top:27vh;width:88px;height:36px}.publisher-logo-j{left:60vw;top:5vh;width:92px;height:30px}.publisher-logo-k{left:-21px;top:42vh;width:96px;height:30px}.publisher-logo-l{right:-18px;top:43vh;width:88px;height:34px}.publisher-logo-m{left:-22px;bottom:40vh;width:108px;height:34px}.publisher-logo-n{right:-18px;bottom:39vh;width:66px;height:47px}.publisher-logo-o{left:28vw;bottom:8vh;width:88px;height:34px}.publisher-logo-p{right:27vw;bottom:6vh;width:74px;height:42px}.publisher-logo-q{left:20vw;top:9vh;width:72px;height:26px}}
@media(prefers-reduced-motion:reduce){.publisher-logo{opacity:.82;transform:none}}

/* Make the primary entry action unmistakable without competing with the publisher marks. */
.entry-content{width:min(94vw,780px);padding:72px 86px;border-radius:40px}
.entry-brand{gap:19px;font-size:46px}
.entry-mark{width:72px;height:74px;border-radius:21px;font-size:38px}
.entry-description{margin:34px 0 42px;font-size:22px;line-height:1.65}
.entry-start{gap:64px;min-height:84px;padding:0 42px 0 46px;border-radius:22px;font-size:21px;box-shadow:0 18px 40px rgb(39 35 29 / .16),inset 0 1px 0 #fff}
.entry-start span{font-size:29px}
.publisher-logo-k{left:-8px}
.publisher-logo-l{right:1vw}
.publisher-logo-m{left:-10px}
@media(max-width:760px){.entry-content{width:min(92vw,490px);padding:37px 24px;border-radius:27px}.entry-brand{font-size:28px}.entry-mark{width:46px;height:48px;font-size:25px}.entry-description{margin:22px 0 27px;font-size:16px}.entry-start{min-height:56px;gap:34px;padding:0 23px 0 26px;font-size:16px}}

/* Keep Word image placement data intact while allowing later PDF replacement. */
.word-image-retention-note{margin:12px 20px 8px;padding:10px 12px;border:1px solid #dce7e1;border-radius:8px;background:#f5faf7;color:#456757;font-size:12px;line-height:1.65}

/* Pure-white entry background with a restrained 10 white : 2 black : 1 gold square pattern. */
.entry-screen{background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='104' height='78' viewBox='0 0 104 78'%3E%3Cg shape-rendering='crispEdges'%3E%3Crect width='104' height='78' fill='%23fff'/%3E%3Crect x='8' y='9' width='11' height='11' fill='%23fff' stroke='%23f1f0ee'/%3E%3Crect x='29' y='9' width='11' height='11' fill='%23fff' stroke='%23f1f0ee'/%3E%3Crect x='50' y='9' width='11' height='11' fill='%23171510'/%3E%3Crect x='71' y='9' width='11' height='11' fill='%23fff' stroke='%23f1f0ee'/%3E%3Crect x='92' y='9' width='11' height='11' fill='%23fff' stroke='%23f1f0ee'/%3E%3Crect x='8' y='30' width='11' height='11' fill='%23fff' stroke='%23f1f0ee'/%3E%3Crect x='29' y='30' width='11' height='11' fill='%23fff' stroke='%23f1f0ee'/%3E%3Crect x='50' y='30' width='11' height='11' fill='%23fff' stroke='%23f1f0ee'/%3E%3Crect x='71' y='30' width='11' height='11' fill='%23fff' stroke='%23f1f0ee'/%3E%3Crect x='92' y='30' width='11' height='11' fill='%23171510'/%3E%3Crect x='8' y='51' width='11' height='11' fill='%23fff' stroke='%23f1f0ee'/%3E%3Crect x='29' y='51' width='11' height='11' fill='%23caa75e'/%3E%3Crect x='50' y='51' width='11' height='11' fill='%23fff' stroke='%23f1f0ee'/%3E%3C/g%3E%3C/svg%3E");background-size:104px 78px}
.entry-screen::before{content:none}.entry-aurora{display:none}

/* AAAS (Science) keeps the optional supplementary Word close to the template choice. */
.science-supplement{margin:0 0 14px;padding:13px 14px;border:1px solid #e4e8f0;border-radius:9px;background:#fafbfc}.science-supplement p{margin:8px 0 0;max-width:720px}.science-supplement code{font-family:"Cascadia Code",Consolas,monospace;font-size:.92em;color:#46536b}.supplement-picker{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:11px}.supplement-picker button{border:1px solid #dce2eb;border-radius:7px;background:#fff;color:#46536b;padding:7px 10px;font-size:12px}.supplement-picker button:hover{background:#f1f4f8}.supplement-picker span{font-size:12px;color:#7d8798;overflow-wrap:anywhere}.supplement-picker #remove-supplement{margin-left:auto;border:0;background:transparent;color:#8792a4;font-size:21px;padding:0 4px}@media(max-width:760px){.science-supplement{padding:12px}.supplement-picker{align-items:flex-start}.supplement-picker #remove-supplement{margin-left:0}}

/* Brand mark is deliberately black and gold on both the entry screen and workspace. */
.brand-mark{background:#171510;color:#caa75e;border:1px solid #d9bd7f;box-shadow:0 4px 12px #17151022;font-weight:600}.entry-mark{background:#171510;color:#caa75e;border-color:#d9bd7f;box-shadow:0 7px 20px #5b54481a,inset 0 1px 0 #51442b;font-weight:600}.nav-item>span{display:inline-grid;place-items:center;width:20px;font-size:15px;font-weight:700}.nav-item#latex-nav>span{font-size:20px;font-weight:400}

/* Direct support channel, kept beside runtime status without distracting from conversion. */
.topbar-actions{display:flex;align-items:center;gap:10px}.feedback-entry{display:inline-flex;align-items:center;gap:7px;border:1px solid #e0e4eb;border-radius:7px;background:#fff;color:#56647a;padding:7px 10px;font-size:12px;font-weight:600}.feedback-entry:hover{border-color:#bfc9d9;background:#f7f9fc;color:#31405b}.feedback-entry>span{font-size:17px;line-height:0}.feedback-copy{margin:0 0 18px;color:#7d899c;font-size:13px;line-height:1.7}.feedback-form{display:grid;gap:14px}.feedback-form label{display:grid;gap:7px;color:#556178;font-size:13px;font-weight:600}.feedback-form input,.feedback-form select,.feedback-form textarea{width:100%;border:1px solid #dfe4ec;border-radius:8px;background:#fbfcfe;color:#2f3d55;padding:10px 11px;font:inherit;font-size:13px;font-weight:400;line-height:1.55}.feedback-form textarea{resize:vertical;min-height:120px}.feedback-form .convert-button{justify-self:start;gap:18px}.feedback-status{margin:0;padding:10px 12px;border-radius:8px;background:#eff7f1;color:#46705a;font-size:13px;line-height:1.6}.feedback-status.error{background:#fff2f4;color:#9d3c4d}@media(max-width:760px){.topbar-actions{gap:6px}.feedback-entry{padding:6px 8px;font-size:0}.feedback-entry>span{font-size:18px}.feedback-form .convert-button{width:100%;justify-content:center}}

.figure-replacement{padding:15px;border:1px solid #dfe6f1;border-radius:10px;background:#f9fbfe}.figure-replacement h3{margin:0 0 7px;color:#394963;font-size:15px}.figure-replacement p{margin:7px 0;color:#6d7b91;font-size:13px;line-height:1.7}.figure-slot-list{padding:9px 11px;border-radius:7px;background:#fff;color:#40516d!important;font-family:"Cascadia Code",Consolas,monospace;font-size:12px!important;overflow-wrap:anywhere}.figure-upload-label{display:grid;gap:7px;margin-top:12px;color:#53627a;font-size:13px;font-weight:600}.figure-upload-label input{font-size:12px;color:#66758b}.figure-replacement .review-notice{margin:10px 0 0}

/* Fine full-page grid: the faint divisions stay neutral while black and gold cells scatter without a repeat. */
.entry-screen{background-color:#fff;background-image:linear-gradient(rgb(23 21 16 / .028) 1px,transparent 1px),linear-gradient(90deg,rgb(23 21 16 / .028) 1px,transparent 1px);background-size:8px 8px}
.entry-screen::before,.entry-screen::after{content:"";position:absolute;inset:auto;width:5px;height:5px;pointer-events:none;z-index:0}
.entry-screen::before{top:6vh;left:4vw;background:#171510;box-shadow:9vw 13vh #171510,21vw -1vh #171510,30vw 22vh #171510,43vw 4vh #171510,54vw 18vh #171510,63vw 0vh #171510,72vw 12vh #171510,85vw 6vh #171510,92vw 23vh #171510,3vw 36vh #171510,15vw 51vh #171510,26vw 42vh #171510,38vw 62vh #171510,50vw 37vh #171510,59vw 54vh #171510,70vw 40vh #171510,80vw 59vh #171510,90vw 45vh #171510,8vw 75vh #171510,20vw 67vh #171510,33vw 82vh #171510,47vw 71vh #171510,57vw 86vh #171510,66vw 68vh #171510,76vw 81vh #171510,87vw 72vh #171510,96vw 88vh #171510,24vw 91vh #171510,45vw 28vh #171510,61vw 94vh #171510,95vw 96vh #171510}
.entry-screen::after{top:12vh;left:8vw;background:#caa75e;box-shadow:16vw 18vh #caa75e,29vw 7vh #caa75e,40vw 31vh #caa75e,53vw 9vh #caa75e,65vw 27vh #caa75e,78vw 4vh #caa75e,88vw 34vh #caa75e,6vw 58vh #caa75e,23vw 48vh #caa75e,35vw 73vh #caa75e,49vw 57vh #caa75e,60vw 77vh #caa75e,73vw 51vh #caa75e,84vw 89vh #caa75e,94vw 63vh #caa75e}
.publisher-field{z-index:1}.entry-content{z-index:2;background:rgb(255 255 255 / .76);backdrop-filter:blur(18px) saturate(.9)}

/* Fine white grid plus a dedicated pixel mark above the glass entry panel. */
.entry-screen{background:#fff}.entry-grid-canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}.entry-screen::before,.entry-screen::after{content:none}.entry-content{z-index:3}@media(min-width:761px){.entry-content{transform:translateY(-2px)}}

/* The entry page uses original editorial pixel motifs, never publisher marks. */
.entry-publisher-canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1}.entry-content{width:auto;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none}.entry-start{min-height:78px;padding:0 37px 0 42px;gap:52px;border-radius:18px;border:1px solid #b89242;background:#171510;color:#e1c277;box-shadow:0 18px 42px rgb(23 21 16 / .18),inset 0 1px 0 rgb(255 232 169 / .18);font-size:20px;letter-spacing:.08em}.entry-start:hover{background:#242018;border-color:#d2af65;box-shadow:0 24px 48px rgb(23 21 16 / .24),inset 0 1px 0 rgb(255 232 169 / .22)}.entry-start span{font-size:27px;color:#d8b362}.entry-content{z-index:3}@media(max-width:760px){.entry-content{transform:translateY(-40px)}.entry-start{min-height:58px;padding:0 25px 0 29px;gap:32px;border-radius:14px;font-size:16px}.entry-start span{font-size:21px}}

/* The action and its block-rendered Chinese caption drift on separate rhythms. */
.entry-start{will-change:translate;animation:entry-button-float 4.8s ease-in-out -0.8s infinite}
@keyframes entry-button-float{0%,100%{translate:0 0}38%{translate:0 -4px}67%{translate:0 2px}}
@media(prefers-reduced-motion:reduce){.entry-start{animation:none!important;translate:none!important}}

.composer-options{min-width:0;flex:1}.composer-options .select-label{min-width:0;max-width:100%}.aps-series-select{flex-basis:100%}.aps-series-select select{width:100%;max-width:100%}
.cleanup-option{display:flex;align-items:flex-start;gap:12px;margin-top:8px;padding:13px 0 0;border-top:1px solid #e8ecf3}.cleanup-option-toggle{display:inline-flex;align-items:center;gap:7px;flex:none;color:#4b5a72;font-size:12px;font-weight:650;cursor:pointer}.cleanup-option-toggle input{width:15px;height:15px;accent-color:#2455df}.cleanup-option p{margin:0;color:#8994a5;font-size:11px;line-height:1.55}@media(max-width:760px){.cleanup-option{align-items:flex-start;flex-direction:column;gap:6px}}

/* A compact preparation guide is available beside the workspace modules. */
.manuscript-help{display:grid;gap:14px}.manuscript-help p{margin:0;color:#7c899d;font-size:14px;line-height:1.8}.manuscript-help-links{display:grid;gap:9px;padding-top:3px}.manuscript-help-link{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid #e0e5ee;border-radius:9px;background:#fafbfe;color:#315ac2;text-decoration:none;font-size:13px}.manuscript-help-link:hover{border-color:#b9c8ed;background:#f4f7ff}.nav-item#manuscript-help-nav>span{font-size:16px;font-weight:700}@media(max-width:760px){.manuscript-help p{font-size:13px}.manuscript-help-link{font-size:12px;padding:11px 12px}}


.nav-item#templates-button{background:transparent;color:#687184;font-weight:inherit;box-shadow:none}.nav-item#templates-button:hover{background:#edf0f6}.nav-item#templates-button>span{color:inherit}

.workspace.has-result .composer-wrap{display:none}
.download-pdf{display:inline-flex;align-items:center;justify-content:center;min-height:39px;padding:9px 13px;border-radius:7px;text-decoration:none;font-size:12px}
.result-actions .download-primary,.result-actions .download-pdf{background:#c93845;color:#fff}.result-actions .download-primary:hover,.result-actions .download-pdf:hover{background:#a92331;color:#fff}

/* Public landing header: a quiet white brand bar above the existing Quick Start canvas. */
.entry-header{position:absolute;inset:0 0 auto;z-index:4;display:flex;align-items:center;height:72px;padding:0 clamp(22px,6vw,96px);background:#fff;border-bottom:1px solid #ececec;box-sizing:border-box}
.entry-header-brand{display:inline-flex;align-items:center;gap:12px;color:#171510;text-decoration:none;font-size:22px;font-weight:700;letter-spacing:.06em}
.entry-header-logo{display:grid;place-items:center;width:34px;height:34px;border:1px solid #171510;border-radius:8px;background:#171510;color:#caa75e;font-size:19px;font-weight:700;line-height:1}
@media(max-width:760px){.entry-header{height:58px;padding:0 20px}.entry-header-brand{font-size:18px;gap:9px}.entry-header-logo{width:29px;height:29px;border-radius:7px;font-size:16px}}

/* Quick Start landing: a restrained academic workflow canvas inspired by the
   uploaded reference, with its own visual language and scrollable modules. */
.entry-screen{position:relative!important;inset:auto!important;display:block!important;min-height:100svh;overflow-x:hidden!important;overflow-y:visible!important;--entry-grid-cell:16px;background:
  radial-gradient(ellipse 52% 38% at 9% 34%,rgb(190 226 248 / .34),transparent 72%),
  radial-gradient(ellipse 48% 42% at 90% 42%,rgb(219 204 246 / .28),transparent 72%),
  linear-gradient(180deg,#fff 0%,#fbfcff 55%,#f7f9fd 100%)!important}
.entry-screen::before{content:""!important;position:absolute;inset:72px 0 0;z-index:0;pointer-events:none;box-shadow:none!important;background:
  radial-gradient(circle at 24% 25%,rgb(127 194 235 / .13),transparent 24%),
  radial-gradient(circle at 78% 24%,rgb(191 164 239 / .11),transparent 25%),
  radial-gradient(circle at 54% 72%,rgb(96 155 218 / .07),transparent 28%)}
.entry-screen::after{content:""!important;position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(90deg,transparent 0%,rgb(255 255 255 / .32) 50%,transparent 100%);opacity:.5}
.entry-grid-canvas,.entry-publisher-canvas{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;pointer-events:none!important}
.entry-hero{position:relative;z-index:3;width:min(1180px,calc(100% - 80px));min-height:600px;margin:0 auto;padding:clamp(138px,17vh,188px) 0 86px;display:grid;grid-template-columns:minmax(0,1.06fr) minmax(320px,.74fr);gap:clamp(42px,7vw,96px);align-items:center}
.entry-hero-copy{min-width:0;padding-left:clamp(0px,2.4vw,35px);text-align:left}
.entry-tagline{align-items:flex-start!important;transform:none!important;margin:0 0 28px;font-size:clamp(34px,4.7vw,67px);line-height:1.02;white-space:normal;letter-spacing:-.06em}
.entry-tagline span:last-child{white-space:nowrap}
.entry-start{min-height:58px;padding:0 25px 0 28px;gap:36px;border-radius:15px;border:1px solid #294878;background:#1b365f;color:#fff;box-shadow:0 16px 32px rgb(27 54 95 / .2),inset 0 1px 0 rgb(255 255 255 / .2);font-size:17px;letter-spacing:.04em}
.entry-start:hover{background:#254a7e;border-color:#4b72a8;box-shadow:0 21px 38px rgb(27 54 95 / .24),inset 0 1px 0 rgb(255 255 255 / .24)}
.entry-start span{font-size:23px;color:#d6e5ff}
.entry-caption{margin:17px 0 0;color:#1b365f;font-size:clamp(17px,1.8vw,24px);font-weight:600;line-height:1.35;letter-spacing:.01em}
.entry-search-copy{margin:8px 0 0;color:#7889a3;font-size:12px;letter-spacing:.035em}
.entry-hero-preview{position:relative;isolation:isolate;min-height:370px;padding:22px 24px 25px;border:1px solid rgb(208 220 238 / .88);border-radius:28px;background:linear-gradient(145deg,rgb(255 255 255 / .82),rgb(241 246 255 / .68));box-shadow:0 24px 60px rgb(57 91 138 / .13),8px 9px 0 rgb(207 222 243 / .56),inset 0 1px 0 #fff;backdrop-filter:blur(18px) saturate(1.04);overflow:hidden}
.entry-hero-preview::before{content:"";position:absolute;inset:-35% -16% 28%;z-index:-1;background:radial-gradient(circle at 42% 46%,rgb(97 157 228 / .2),transparent 42%),radial-gradient(circle at 76% 30%,rgb(194 167 237 / .18),transparent 38%);pointer-events:none}
.hero-preview-bar{display:flex;align-items:center;gap:8px;color:#7185a3;font-size:10px;letter-spacing:.14em;font-weight:700}
.hero-preview-led{width:7px;height:7px;border-radius:50%;background:#4cbe91;box-shadow:0 0 0 4px rgb(76 190 145 / .13)}
.hero-preview-step{margin-left:auto;color:#9aa9bc;font-variant-numeric:tabular-nums;letter-spacing:.08em}
.hero-preview-orbit{position:relative;width:min(245px,75%);aspect-ratio:1.32;margin:30px auto 20px;border:1px solid rgb(104 151 209 / .32);border-radius:50%;transform:rotate(-12deg);background:radial-gradient(circle at 50% 50%,rgb(255 255 255 / .72),rgb(228 238 252 / .3) 60%,transparent 61%);box-shadow:0 0 0 17px rgb(169 200 237 / .08),0 0 44px rgb(81 139 215 / .12)}
.hero-preview-orbit::before,.hero-preview-orbit::after{content:"";position:absolute;inset:14% -10%;border:1px solid rgb(135 171 222 / .27);border-radius:50%;transform:rotate(31deg)}
.hero-preview-orbit::after{inset:4% 15%;transform:rotate(-54deg);border-color:rgb(184 154 230 / .24)}
.hero-preview-orbit-core{position:absolute;left:50%;top:50%;display:grid;place-items:center;width:62px;height:62px;transform:translate(-50%,-50%) rotate(12deg);border:1px solid #fff;border-radius:18px;background:#e9f1ff;color:#2f61bd;font-size:27px;font-weight:750;box-shadow:7px 8px 0 rgb(193 213 241 / .72),0 13px 28px rgb(41 78 137 / .14),inset 0 1px 0 #fff}
.hero-preview-orbit-dot{position:absolute;width:13px;height:13px;border:3px solid #fff;border-radius:50%;box-shadow:0 4px 10px rgb(37 67 114 / .16)}
.hero-preview-orbit-dot-one{left:12%;top:25%;background:#171510}.hero-preview-orbit-dot-two{right:9%;top:39%;background:#d41135}.hero-preview-orbit-dot-three{left:37%;bottom:1%;background:#2455df}
.hero-preview-kicker{margin:0;color:#7f91ad;font-size:10px;letter-spacing:.18em;font-weight:750}
.entry-hero-preview h2{margin:6px 0 7px;color:#1b365f;font-size:23px;letter-spacing:-.025em}
.hero-preview-copy{margin:0;color:#71839f;font-size:13px;line-height:1.65}
.hero-preview-pills{display:flex;flex-wrap:wrap;gap:7px;margin-top:16px}.hero-preview-pills span{padding:6px 9px;border-radius:999px;background:#f5f8ff;color:#58709a;font-size:10px;border:1px solid #e1eaf8}
.landing-workflow{position:relative;z-index:3;width:min(1180px,calc(100% - 80px));margin:0 auto;padding:15px 0 112px}
.workflow-heading{max-width:700px;margin-bottom:28px}.workflow-kicker{display:inline-block;color:#5c78a8;font-size:11px;font-weight:750;letter-spacing:.18em}.workflow-heading h2{margin:10px 0 7px;color:#1b365f;font-size:clamp(26px,3vw,38px);letter-spacing:-.045em}.workflow-heading p{margin:0;color:#7b8ba4;font-size:14px;line-height:1.7}
.workflow-rail{display:grid;grid-template-columns:minmax(0,1fr) 38px minmax(0,1fr) 38px minmax(0,1.08fr);align-items:center;gap:0}
.workflow-module{position:relative;min-height:255px;padding:21px 21px 19px;border:1px solid #dbe4f1;border-radius:22px;background:rgb(238 242 250 / .88);box-shadow:7px 8px 0 rgb(203 218 239 / .65),0 14px 30px rgb(45 76 117 / .07),inset 0 1px 0 #fff;backdrop-filter:blur(12px)}
.workflow-module-planned{opacity:.9}.workflow-module-current{border-color:#bed0ea;background:linear-gradient(145deg,rgb(245 249 255 / .95),rgb(230 239 253 / .9));box-shadow:8px 9px 0 rgb(179 204 238 / .72),0 18px 36px rgb(44 86 150 / .12),inset 0 1px 0 #fff}
.workflow-module-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.workflow-index{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#fff;color:#315382;font-size:12px;font-weight:750;box-shadow:3px 4px 0 rgb(207 220 238 / .9),inset 0 1px 0 #fff}.workflow-status{color:#8596ad;font-size:11px}.workflow-module-current .workflow-status{color:#2f72b4;font-weight:700}
.workflow-module-icon{display:grid;place-items:center;width:50px;height:50px;margin:25px 0 15px;border-radius:15px;background:#eef6ff;color:#3d7dc1;font-size:25px;font-weight:750;box-shadow:5px 6px 0 rgb(195 218 240 / .68),inset 0 1px 0 #fff}.workflow-module-icon-red{background:#fff0f3;color:#d04a63;box-shadow:5px 6px 0 rgb(243 202 212 / .75),inset 0 1px 0 #fff;font-size:18px}.workflow-module-icon-blue{background:#eaf1ff;color:#2455df;box-shadow:5px 6px 0 rgb(188 209 242 / .78),inset 0 1px 0 #fff}
.workflow-module h3{margin:0;color:#1d3b67;font-size:22px;letter-spacing:-.02em}.workflow-module p{margin:8px 0 0;color:#72849f;font-size:13px;line-height:1.7}.workflow-module-en{display:block;margin-top:17px;color:#9aa9bb;font-size:10px;letter-spacing:.08em}.workflow-connector{display:grid;place-items:center;color:#8ea5c5;font-size:25px;font-weight:300}.workflow-launch{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;margin-top:17px;padding:10px 12px;border:1px solid #b9cce6;border-radius:10px;background:#fff;color:#315b97;font-size:12px;font-weight:700;box-shadow:0 5px 12px rgb(48 92 150 / .08)}.workflow-launch:hover{background:#f5f8ff;border-color:#87a8d6;color:#2455df}.workflow-launch span{font-size:17px}
.workspace-entered .entry-screen,body.login-view .entry-screen{position:absolute!important;top:0;left:0;width:100%;height:0;min-height:0;overflow:hidden!important;opacity:0;visibility:hidden;pointer-events:none}
@media(max-width:900px){.entry-hero{width:min(760px,calc(100% - 56px));grid-template-columns:1fr;gap:42px;padding-top:125px}.entry-hero-copy{padding-left:0;text-align:center}.entry-tagline{align-items:center!important}.entry-hero-preview{width:min(520px,100%);justify-self:center}.landing-workflow{width:min(760px,calc(100% - 56px))}.workflow-rail{grid-template-columns:1fr;gap:18px}.workflow-connector{transform:rotate(90deg);height:18px}}
@media(max-width:760px){.entry-hero{width:calc(100% - 36px);min-height:0;padding:105px 0 64px;gap:34px}.entry-tagline{font-size:clamp(31px,9vw,48px);margin-bottom:23px}.entry-tagline span:last-child{white-space:normal}.entry-start{min-height:54px;padding:0 22px 0 24px;gap:26px;font-size:16px}.entry-caption{font-size:18px}.entry-search-copy{font-size:10px}.entry-hero-preview{min-height:340px;padding:19px 18px 21px;border-radius:22px}.hero-preview-orbit{margin-top:24px}.landing-workflow{width:calc(100% - 36px);padding-bottom:72px}.workflow-heading{margin-bottom:22px}.workflow-heading h2{font-size:28px}.workflow-heading p{font-size:13px}.workflow-module{min-height:0;padding:18px;border-radius:19px}.workflow-module-icon{margin-top:20px}.workflow-module h3{font-size:20px}}

/* Static landing message above the action button. The three journal names use
   distinct colors while the surrounding Quick Start page remains unchanged. */
.entry-tagline{display:flex;flex-direction:column;align-items:center;gap:2px;margin:0 0 27px;color:#171510;font-family:Arial,Helvetica,sans-serif;font-size:clamp(28px,4.2vw,56px);font-weight:700;letter-spacing:-.055em;line-height:.98;white-space:nowrap}
.entry-tagline i{font-style:normal}.tagline-nature{color:#171510}.tagline-science{color:#d41135}.tagline-cell{color:#2455df}
.entry-caption{margin:18px 0 0;color:#171510;font-family:Arial,"Microsoft YaHei",sans-serif;font-size:clamp(17px,1.7vw,24px);font-weight:400;line-height:1.3;letter-spacing:.02em}
@media(max-width:760px){.entry-tagline{margin-bottom:20px;font-size:clamp(25px,8vw,38px)}.entry-caption{margin-top:14px;font-size:18px}}

/* Final polish: lift the static landing tagline into the space between the
   white header and Quick Start, then give the workspace a clearer hierarchy
   with slightly stronger boundaries and quiet depth. */
:root{--border-strong:#d4dbe6;--border-soft:#e5eaf1}
@media(min-width:761px){.entry-tagline{transform:translateY(-95px)}}
@media(max-width:760px){.entry-tagline{transform:translateY(-90px)}}
.sidebar{border-right-color:var(--border-strong)}
.topbar{border-bottom-color:var(--border-strong);box-shadow:0 1px 0 #fff}
.runtime-state,.new-project,.local-icon,.sidebar-bottom button,.select-label select,.composer,.quick-start>button,.output-hint,.result-card,dialog{border-color:var(--border-strong)}
.composer{box-shadow:0 12px 30px rgb(34 55 86 / .07),inset 0 1px 0 #fff}
.drop-area{box-shadow:inset 0 0 0 1px #edf1f6}
.file-preview{border-color:#d8e1f2;box-shadow:inset 0 1px 0 #fff}
.quick-start>button,.output-hint{box-shadow:0 5px 16px rgb(34 55 86 / .045),inset 0 1px 0 #fff}
.conversion-options,.metadata-result,.result-top,.result-actions{border-color:var(--border-soft)}

/* Privacy and retention controls keep the storage policy visible at the point of upload. */
.upload-privacy-note{margin:9px 20px 0;color:#5f7184;font-size:12px;line-height:1.65}.upload-privacy-note a{margin-left:5px;color:#315ac2;text-decoration:none}.upload-privacy-note a:hover{text-decoration:underline}
.retention-option{display:flex;align-items:flex-start;gap:12px;margin-top:8px;padding:13px 0 0;border-top:1px solid #e8ecf3}.retention-option-toggle{display:inline-flex;align-items:center;gap:7px;flex:none;color:#4b5a72;font-size:12px;font-weight:650;cursor:pointer}.retention-option-toggle input{width:15px;height:15px;accent-color:#2455df}.retention-option p{margin:0;color:#8994a5;font-size:11px;line-height:1.55}
.history-row{display:flex;align-items:stretch;gap:3px}.history-row .history-item{flex:1;min-width:0}.history-delete{flex:none;align-self:center;background:transparent;color:#9aa3b1;border-radius:5px;padding:4px 5px;font-size:11px;opacity:0}.history-row:hover .history-delete,.history-row:focus-within .history-delete{opacity:1}.history-delete:hover{background:#fff0f1;color:#a43444}
.retention-panel{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:11px 20px;border-top:1px solid var(--border-soft);background:#fbfcfe;color:#65748b;font-size:12px;line-height:1.5}.retention-panel label{display:inline-flex;align-items:center;gap:7px;color:#465978;font-weight:600}.retention-panel input{width:15px;height:15px;accent-color:#2455df}.retention-panel>span{color:#8b96a8}.delete-current-job{margin-left:auto;background:transparent;color:#a23e4b;padding:5px 0;font-size:12px}.delete-current-job:hover{text-decoration:underline}.privacy-copy{display:grid;gap:10px}.privacy-copy p{margin:0;color:#6f7e91;font-size:13px;line-height:1.75}
@media(max-width:760px){.upload-privacy-note{margin-left:0;margin-right:0}.retention-option{align-items:flex-start;flex-direction:column;gap:6px}.retention-panel{align-items:flex-start;flex-direction:column;gap:6px;padding:11px 14px}.delete-current-job{margin-left:0}.history-delete{opacity:1}}

/* Premium interactive surfaces: a thicker neutral edge, a quiet moving sheen,
   and layered depth keep the workspace tactile without turning it into a neon UI. */
:root{--surface-edge:#c9d5e4;--surface-edge-soft:#d9e2ed;--surface-blue:rgb(56 105 211 / .48);--surface-gold:rgb(202 167 94 / .34)}
.composer,.drop-area,.file-preview,.select-label select,.convert-button,.quick-start>button,.output-hint,.new-project,.feedback-entry{border-width:1.5px}
.composer,.drop-area,.file-preview,.quick-start>button,.output-hint,.new-project,.feedback-entry{position:relative;isolation:isolate;border-color:var(--surface-edge);background:linear-gradient(145deg,#fff 0%,#fbfcff 100%);box-shadow:0 14px 32px rgb(34 55 86 / .075),0 3px 7px rgb(34 55 86 / .045),inset 0 1px 0 rgb(255 255 255 / .96)}
.composer::before,.drop-area::before,.file-preview::before,.quick-start>button::before,.output-hint::before,.new-project::before,.feedback-entry::before{content:"";position:absolute;inset:-1.5px;z-index:0;pointer-events:none;border-radius:inherit;padding:1.5px;background:linear-gradient(112deg,transparent 0%,transparent 35%,var(--surface-blue) 46%,var(--surface-gold) 52%,transparent 64%,transparent 100%);background-size:260% 100%;animation:edge-trail 10s linear infinite;opacity:.46;filter:drop-shadow(0 0 5px rgb(63 112 213 / .14));-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask-composite:exclude}
.composer>*,.drop-area>* , .file-preview>* ,.quick-start>button>* ,.output-hint>* ,.new-project>* ,.feedback-entry>*{position:relative;z-index:1}
.composer{background:linear-gradient(145deg,#fff 0%,#f9fbff 100%);box-shadow:0 20px 48px rgb(34 55 86 / .09),0 4px 10px rgb(34 55 86 / .045),inset 0 1px 0 rgb(255 255 255 / .98)}
.drop-area{background:linear-gradient(145deg,#fff 0%,#fbfcff 100%);box-shadow:inset 0 1px 0 rgb(255 255 255 / .98),0 7px 20px rgb(34 55 86 / .045)}
.select-label select{border-color:var(--surface-edge);background:linear-gradient(145deg,#fff,#f4f7fb);box-shadow:0 4px 13px rgb(34 55 86 / .045),inset 0 1px 0 rgb(255 255 255 / .98)}
.select-label select:hover{border-color:#9eb3d1;box-shadow:0 7px 18px rgb(34 55 86 / .08),inset 0 1px 0 #fff}
.select-label select:focus-visible{border-color:#6f8fd0;box-shadow:0 0 0 4px rgb(36 85 223 / .12),0 7px 18px rgb(34 55 86 / .08),inset 0 1px 0 #fff}
.convert-button{border-color:transparent;box-shadow:0 12px 26px rgb(36 85 223 / .18),inset 0 1px 0 rgb(255 255 255 / .22)}
.convert-button:not(:disabled){border-color:#315ac5;box-shadow:0 13px 28px rgb(36 85 223 / .24),0 0 0 1px rgb(202 167 94 / .22) inset,inset 0 1px 0 rgb(255 255 255 / .24)}
.convert-button:not(:disabled)::before{content:"";position:absolute;inset:-1.5px;z-index:0;pointer-events:none;border-radius:inherit;padding:1.5px;background:linear-gradient(112deg,transparent 0%,transparent 33%,rgb(255 255 255 / .62) 47%,rgb(202 167 94 / .56) 53%,transparent 66%,transparent 100%);background-size:260% 100%;animation:edge-trail 7s linear infinite;opacity:.72;-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask-composite:exclude}
.convert-button>*{position:relative;z-index:1}
.quick-start>button,.output-hint{transition:transform .22s ease,background .22s ease,color .22s ease,box-shadow .22s ease,border-color .22s ease}
.quick-start>button:hover,.output-hint:hover{transform:translateY(-3px);border-color:#a7b9d5;background:linear-gradient(145deg,#fff,#f6f9ff);box-shadow:0 17px 30px rgb(34 55 86 / .12),0 4px 10px rgb(34 55 86 / .05),inset 0 1px 0 #fff}
.quick-start>button:hover::before,.output-hint:hover::before,.drop-area:hover::before,.new-project:hover::before,.feedback-entry:hover::before{opacity:.8}
@keyframes edge-trail{0%{background-position:120% 50%}100%{background-position:-120% 50%}}
@media(prefers-reduced-motion:reduce){.composer::before,.drop-area::before,.file-preview::before,.quick-start>button::before,.output-hint::before,.new-project::before,.feedback-entry::before,.convert-button:not(:disabled)::before{animation:none}.quick-start>button,.output-hint{transition:none}}
@media(max-width:760px){.composer,.drop-area,.file-preview,.select-label select,.convert-button,.quick-start>button,.output-hint{border-width:1.4px}.composer,.drop-area,.file-preview,.quick-start>button,.output-hint{box-shadow:0 10px 25px rgb(34 55 86 / .07),0 3px 7px rgb(34 55 86 / .04),inset 0 1px 0 rgb(255 255 255 / .96)}}

/* Keep the noninteractive output summary calm, and preserve a clear edge
   for disabled actions while masked borders remain a progressive enhancement. */
.output-hint::before{display:none;animation:none}
.drop-area,.convert-button{border-style:solid}
.output-hint:hover{transform:none;border-color:var(--surface-edge);background:linear-gradient(145deg,#fff 0%,#fbfcff 100%);box-shadow:0 14px 32px rgb(34 55 86 / .075),0 3px 7px rgb(34 55 86 / .045),inset 0 1px 0 rgb(255 255 255 / .96)}
.convert-button:disabled{border-color:#d8dfec;box-shadow:0 8px 18px rgb(34 55 86 / .045),inset 0 1px 0 rgb(255 255 255 / .92)}
@supports not ((-webkit-mask-composite:xor) or (mask-composite:exclude)){.composer::before,.drop-area::before,.file-preview::before,.quick-start>button::before,.new-project::before,.feedback-entry::before,.convert-button:not(:disabled)::before{display:none}}
.entry-search-copy{margin:8px 0 0;color:#8e96a5;font-size:11px;letter-spacing:.04em}

/* Account entry: the landing header keeps a quiet top-right Log In action,
   while the login card follows TeXHub's centered, white, minimal structure. */
.entry-header{justify-content:space-between}
.entry-login-button{display:inline-flex;align-items:center;justify-content:center;min-width:88px;min-height:38px;padding:0 16px;border:1px solid #d8dce4;border-radius:8px;background:#fff;color:#27324a;font-size:13px;font-weight:650;box-shadow:0 4px 12px rgb(34 55 86 / .05)}
.entry-login-button:hover{border-color:#8fa8d5;background:#f7f9ff;color:#2455df;box-shadow:0 8px 18px rgb(34 55 86 / .09)}
.login-screen{position:fixed;inset:0;z-index:120;display:none;align-items:flex-start;justify-content:center;overflow:auto;padding:44px 20px;background:#f8f9fb;color:#252d3d}
body.login-view .login-screen{display:flex}
.login-card{width:min(100%,450px);margin:auto;padding:30px 32px 26px;border:1px solid #e2e5eb;border-radius:12px;background:#fff;box-shadow:0 18px 50px rgb(30 42 70 / .08)}
.login-back{display:inline-flex;align-items:center;padding:0;background:transparent;color:#667187;font-size:13px}
.login-back:hover{color:#2455df}
.login-brand{margin-top:22px;color:#171e2b;font-size:15px;font-weight:700;letter-spacing:.08em}
.login-card h1{margin:15px 0 7px;color:#161b27;font-size:28px;letter-spacing:-.035em;line-height:1.2}
.login-subtitle{margin:0;color:#8790a0;font-size:13px;line-height:1.6}.login-email-only-note{margin:10px 0 0;padding:8px 10px;border:1px solid #dbe4f7;border-radius:7px;background:#f5f8ff;color:#4b6290;font-size:12px;line-height:1.5}
.login-benefit{display:flex;align-items:flex-start;gap:9px;margin:23px 0 18px;padding:12px 13px;border:1px solid #d9ece5;border-radius:8px;background:#f1faf6;color:#4b7467;font-size:12px;line-height:1.6}
.login-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin-bottom:19px;padding:4px;border-radius:9px;background:#f1f3f6}
.login-tab{min-height:36px;border:0;border-radius:7px;background:transparent;color:#8b93a2;font-size:13px;font-weight:600}
.login-tab.active{background:#fff;color:#2e3c55;box-shadow:0 1px 4px rgb(35 52 84 / .12)}
.login-form{display:grid;gap:14px}
.login-form label:not(.login-check){display:grid;gap:7px;color:#596579;font-size:12px;font-weight:650}
.login-input-wrap{display:flex;align-items:center;gap:8px;min-height:43px;padding:0 11px;border:1px solid #dfe3ea;border-radius:8px;background:#fbfcfe;color:#9aa4b4}
.login-input-wrap:focus-within{border-color:#8da6de;box-shadow:0 0 0 3px rgb(36 85 223 / .11)}
.login-input-wrap input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:#26344c;font-size:13px}
.login-input-wrap input::placeholder{color:#a1a9b6}
.login-input-wrap button{flex:none;padding:0;background:transparent;color:#2455df;font-size:12px;font-weight:650}
.login-input-wrap button:disabled{color:#a3adbc}
.password-toggle{font-size:14px!important;color:#8e99aa!important}
.login-options{display:flex;align-items:flex-start;justify-content:space-between;gap:9px;margin-top:-2px}
.login-check{display:flex;align-items:flex-start;gap:7px;color:#8993a3;font-size:11px;line-height:1.6}
.login-check input{width:14px;height:14px;margin:2px 0 0;accent-color:#2455df}
.login-check a,.login-muted-link,.login-pro-link{color:#5573be;text-decoration:none}
.login-check a:hover,.login-muted-link:hover,.login-pro-link:hover{text-decoration:underline}
.login-muted-link{flex:none;font-size:11px;line-height:1.6}
.login-submit{display:flex;align-items:center;justify-content:center;gap:18px;min-height:44px;margin-top:1px;border:1px solid #315ac5;border-radius:8px;background:#2455df;color:#fff;font-size:14px;font-weight:650;box-shadow:0 10px 22px rgb(36 85 223 / .18)}
.login-submit:hover{background:#1742bd;box-shadow:0 13px 27px rgb(36 85 223 / .25)}
.login-submit span{font-size:18px}
.login-panel-note{margin:-2px 0 0;color:#a17c3d;font-size:11px;line-height:1.55}
.login-status{margin:0;padding:9px 11px;border-radius:7px;background:#fff2f4;color:#a13d4d;font-size:12px;line-height:1.55}
.login-divider{display:flex;align-items:center;gap:12px;margin:23px 0 15px;color:#a0a8b5;font-size:11px}
.login-divider::before,.login-divider::after{content:"";height:1px;flex:1;background:#edf0f3}
.login-social{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:40px;border:1px solid #e1e5eb;border-radius:8px;background:#fff;color:#8f98a7;font-size:12px}
.login-social:disabled{cursor:not-allowed;opacity:.82}
.login-social span{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#eef7f1;color:#65a57b;font-size:16px}
.login-register-copy{margin:22px 0 6px;text-align:center;color:#8c95a4;font-size:12px}
.inline-login-link{padding:0;background:transparent;color:#5573be;font-size:12px}
.login-pro-link{display:block;text-align:center;font-size:11px;color:#9ba4b1}
.register-terms{margin-top:1px}
.account-button{display:inline-flex;align-items:center;max-width:190px;min-height:31px;padding:0 9px;border:1px solid #d8dfeb;border-radius:7px;background:#fff;color:#56657c;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-button:hover{border-color:#9eb3d1;background:#f7f9ff;color:#2455df}
@media(max-width:760px){.entry-login-button{min-width:74px;min-height:34px;padding:0 11px;font-size:12px}.login-screen{padding:20px 13px}.login-card{padding:25px 20px 22px}.login-card h1{font-size:25px}.login-options{flex-direction:column;gap:4px}.login-muted-link{align-self:flex-end}.account-button{max-width:90px}.topbar-actions{gap:5px}}

/* Shared JournalKing brand wordmark. */
.entry-header-brand{display:inline-flex;align-items:center;width:min(220px,42vw);height:auto;line-height:0}
.entry-header-logo{display:block;width:100%;height:auto;border:0;border-radius:0;background:transparent;object-fit:contain}
.brand{display:block;width:100%;padding:0 4px;line-height:0}
.brand-logo{display:block;width:100%;height:auto;max-width:210px;object-fit:contain}
@media(max-width:760px){.entry-header-brand{width:min(180px,55vw)}.brand-logo{max-width:205px}}

/* Workspace dashboard refresh: keep the existing conversion controls, while giving
   the upload flow a compact left column and a future PDF-cover surface on the right. */
:root{--dashboard-ink:#1b365f;--dashboard-soft:#eef2fa;--dashboard-muted:#7a879c;--dashboard-gold:#d6b36e}
.workspace{max-width:1100px;padding:0 40px 42px}
.welcome{padding-top:63px;margin-bottom:38px}
.welcome h1{font-size:38px;color:#202736;margin-bottom:13px}
.welcome p{font-size:15px;color:#8490a4}
.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,.94fr);gap:clamp(26px,4vw,44px);align-items:start}
.dashboard-primary{min-width:0}
.composer-wrap{margin:0}
.composer{padding:0;border:0;background:transparent;box-shadow:none}
.composer::before{display:none}
.drop-area{min-height:122px;padding:25px 21px;align-items:flex-start;border:2px solid var(--dashboard-ink);border-radius:14px;background:linear-gradient(145deg,#fff 0%,#f4f7fc 100%);box-shadow:0 9px 24px rgb(29 58 95 / .08),inset 0 1px 0 #fff}
.drop-area::before{display:none}
.drop-area:hover{background:linear-gradient(145deg,#fff 0%,#eef2fa 100%);border-color:#264d81}
.upload-symbol{display:none}
.upload-title{font-size:15px;color:#4d5f7a}
.upload-subtitle{margin-top:8px;font-size:12px;color:#8d9aaf}
.upload-privacy-note{margin:11px 3px 0;font-size:11px;line-height:1.6;color:#8793a7}
.composer-bottom{display:grid;grid-template-columns:minmax(0,1fr);gap:17px;margin-top:21px;align-items:stretch}
.composer-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 14px;min-width:0}
.composer-options .select-label:first-child,.composer-options .aps-series-select{grid-column:1/-1}
.select-label{min-width:0;gap:6px}
.select-label>span{font-size:11px;color:#8290a6}
.select-label select{width:100%;min-height:40px;padding:9px 30px 9px 12px;border:1px solid #d6e0ee;border-radius:9px;background:#f7f9fd;color:#42516d;font-size:13px;box-shadow:inset 0 1px 0 #fff}
.select-label select:hover{border-color:#aec1dd;background:#f1f5fb}
.convert-button{width:100%;justify-content:space-between;min-height:42px;padding:10px 15px;border:1px solid #b9c9e2;border-radius:10px;background:var(--dashboard-ink);color:#fff;box-shadow:0 8px 18px rgb(27 54 95 / .16)}
.convert-button:hover{background:#254a7e}
.convert-button:disabled{border-color:#dbe2ee;background:#e9eef7;color:#96a4b9;box-shadow:none}
.latex-image-hint,.word-image-retention-note{margin:13px 0 0;padding:11px 13px;border-radius:9px;font-size:11px;line-height:1.6}
.latex-image-hint{border:1px solid #f1e3c7;background:#fff9ee;color:#967344}
.word-image-retention-note{border:1px solid #d9e9df;background:#f2f8f4;color:#577466}
.conversion-options{margin-top:14px}
.retention-option{padding:13px 0 0;border-top:1px solid #dce4ef}
.retention-option-toggle{font-size:12px;color:#51617a}
.retention-option p{font-size:11px;color:#8a96a9}
.quick-start{display:grid;grid-template-columns:1fr;margin-top:19px;gap:12px}
.quick-start>button{min-height:72px;padding:16px 17px;border:1.5px solid #cfdbea;border-radius:22px;background:var(--dashboard-soft);color:#425371;box-shadow:0 10px 24px rgb(34 55 86 / .07),inset 0 1px 0 #fff}
.quick-start>button::before{display:none}
.quick-start>button:hover{background:#e8eef9;border-color:#b8c9e3}
.demo-icon{width:34px;height:34px;background:#fff8e7;color:#c29a45;border-radius:11px;font-size:20px}
.quick-start small{margin-top:5px;color:#8794a8;font-size:11px}
.quick-start>button>span:last-child{color:#7f90aa}
.output-hint{display:none}
.template-preview{min-height:522px;padding:22px;border:2px solid var(--dashboard-ink);border-radius:14px;background:linear-gradient(145deg,#fff 0%,#f0f4fb 100%);box-shadow:0 11px 26px rgb(29 58 95 / .09),inset 0 1px 0 #fff;display:flex;flex-direction:column;overflow:hidden}
.template-preview-header{display:none}
.template-cover-frame{flex:1;min-height:474px;display:grid;place-items:center;border:0;border-radius:10px;background:radial-gradient(circle at 50% 42%,#fff 0%,#f0f4fb 72%)}
.template-cover-empty{width:min(86%,280px);padding:22px 20px;display:grid;justify-items:center;gap:8px;text-align:center;border-radius:24px;background:var(--dashboard-soft);box-shadow:0 10px 28px rgb(35 57 91 / .08),inset 0 1px 0 #fff;color:#1e3559}
.template-cover-empty-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#fff8e7;color:#c19b4b;font-size:21px}
.template-cover-empty strong{font-size:15px;font-weight:650}
.template-cover-empty>span:last-child{font-size:11px;line-height:1.6;color:#8692a7}
.template-preview-note{margin:14px 4px 0;text-align:center;color:#8793a7;font-size:11px;line-height:1.6}
.workspace-footer{margin-top:38px}
.workspace.has-result .dashboard-grid{display:block}
.workspace.has-result .template-preview{display:none}
@media(max-width:1000px){.workspace{padding-left:30px;padding-right:30px}.dashboard-grid{gap:24px}.template-preview{min-height:480px}.template-cover-frame{min-height:432px}}
@media(max-width:900px){.dashboard-grid{grid-template-columns:1fr}.template-preview{min-height:360px}.template-cover-frame{min-height:300px}.template-preview-note{margin-top:9px}}
@media(max-width:760px){.workspace{padding:0 18px 25px}.welcome{padding-top:47px;margin-bottom:30px}.welcome h1{font-size:30px}.dashboard-grid{gap:24px}.drop-area{min-height:120px;padding:23px 18px}.composer-options{gap:11px 10px}.select-label select{font-size:13px}.template-preview{min-height:360px;padding:15px;border-radius:14px}.template-cover-frame{min-height:300px}.template-cover-empty{width:min(90%,280px)}.workspace-footer{margin-top:30px}}

/* Soft dashboard controls: the reference uses one quiet fill instead of outlines. */
.dashboard-grid{gap:clamp(24px,3.2vw,36px)}
.drop-area,.select-label select,.template-preview,.template-cover-frame,.template-cover-empty,.quick-start>button,.file-preview{border:0!important;background:#eef2fa!important;box-shadow:0 10px 26px rgb(42 64 96 / .055),inset 0 1px 0 rgb(255 255 255 / .45)!important}
.drop-area{min-height:112px;padding:22px 20px;border-radius:20px!important}
.drop-area:hover{background:#e9eff9!important}
.upload-title{color:#50617b}
.upload-subtitle{color:#8895aa}
.upload-privacy-note{margin-top:8px}
.composer-bottom{margin-top:14px;gap:12px}
.composer-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.composer-options .select-label:first-child,.composer-options .aps-series-select{grid-column:auto}
.select-label select{min-height:38px;padding:8px 26px 8px 11px;border-radius:13px!important;color:#43526c}
.select-label>span{font-size:10px;color:#8290a6}
.convert-button{margin-top:0;border:0!important}
.latex-image-hint,.word-image-retention-note{margin:9px 0 0;padding:10px 13px;border:0!important;border-radius:13px;background:#eef2fa!important;color:#63718a;box-shadow:none!important}
.word-image-retention-note{color:#607766;background:#f0f6f2!important}
.conversion-options{margin-top:8px;border-top:0!important;padding:0!important}
.retention-option{padding:0;border-top:0!important;display:flex;align-items:center;gap:12px}
.retention-option-toggle{font-size:11px}
.retention-option p{font-size:10px;line-height:1.45}
.quick-start{margin-top:14px}
.quick-start>button{min-height:64px;padding:13px 16px;border-radius:20px!important}
.template-preview{min-height:502px;padding:18px;border-radius:20px!important}
.template-cover-frame{min-height:452px;border-radius:16px!important;overflow:hidden}
.template-cover-empty{border-radius:20px!important}
.template-preview-note{margin-top:9px}
.workspace-footer{margin-top:24px}
@media(max-width:1000px){.composer-options{grid-template-columns:repeat(3,minmax(0,1fr))}.template-preview{min-height:460px}.template-cover-frame{min-height:408px}}
@media(max-width:900px){.composer-options{grid-template-columns:repeat(3,minmax(0,1fr))}.template-preview{min-height:350px}.template-cover-frame{min-height:290px}}
@media(max-width:760px){.composer-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.select-label select{padding-left:9px;padding-right:20px;font-size:12px}.drop-area{min-height:112px;padding:21px 17px}.retention-option{align-items:flex-start;flex-direction:column;gap:4px}.template-preview{min-height:350px}.template-cover-frame{min-height:290px}}
@media(max-width:1100px){.figure-select{display:flex}}

/* Final dashboard polish: the layout note is blue and the storage policy sits
   below the main workspace, where the template-family note used to appear. */
.format-extension-hint{color:#2455df;font-weight:500;white-space:nowrap}
.workspace-retention{margin-top:18px;padding:11px 14px;border:0!important;border-radius:13px;background:#eef2fa;color:#63718a;box-shadow:none!important}
.workspace-retention p{color:#7b879b}
.workspace-footer{margin-top:26px}
.sidebar{background:var(--dashboard-soft)!important}
.sidebar-bottom{padding:12px 6px 0;border-top:0;justify-content:space-between}
.sidebar-spacer{flex:1}
.sidebar-collapse,.sidebar-pin{display:grid;place-items:center;width:31px;height:31px;border:0;border-radius:7px;background:#e5ecff;color:#5573be;font-size:18px;line-height:1;box-shadow:0 4px 10px rgb(34 55 86 / .08)}
.sidebar-collapse:hover,.sidebar-pin:hover{background:#dbe6ff;color:#315ac2}
.sidebar-pin[aria-pressed="false"]{background:#f0f3f8;color:#8490a4}
.sidebar.collapsed{width:78px;padding-left:14px;padding-right:14px}
.sidebar.collapsed .brand{justify-content:center;padding:0}
.sidebar.collapsed .brand-logo{display:none}
.brand-cube{display:none;place-items:center;width:40px;height:40px;border-radius:11px;background:#e5ecff;color:#5573be;font-size:20px;font-weight:750;box-shadow:0 7px 16px rgb(34 55 86 / .10),inset 0 1px 0 #fff}
.sidebar.collapsed .brand-cube{display:grid}
.sidebar-collapsed .main{margin-left:78px}
.sidebar-collapsed .sidebar .new-project,.sidebar-collapsed .sidebar .nav-section,.sidebar-collapsed .sidebar .nav-item,.sidebar-collapsed .sidebar .history-heading,.sidebar-collapsed .sidebar .history-list{display:none}
.sidebar-collapsed .sidebar-bottom{padding-left:0;padding-right:0}
.sidebar-collapsed .sidebar-pin{display:none}
.sidebar-collapsed .sidebar-collapse{margin-inline:auto}
.quick-start>#demo-button{margin-top:14px!important;background:#f5f8ff!important;box-shadow:0 12px 28px rgb(42 64 96 / .065),inset 0 1px 0 rgb(255 255 255 / .7)!important}
.quick-start>#demo-button:hover{background:#f0f5ff!important}

/* Sidebar icon tiles: use the same compact, raised cube language as the
   reference grid while keeping the module glyphs recognizable. */
.brand{width:100%!important;padding:0!important;justify-content:flex-start;gap:0}
.brand-logo{display:block!important;width:100%!important;height:auto!important;max-width:210px!important;object-fit:contain;border-radius:0;mix-blend-mode:multiply}
.brand-cube img{display:block;width:100%;height:100%;object-fit:contain}
.sidebar-bottom .sidebar-collapse,.sidebar-bottom .sidebar-pin{width:62px!important;height:62px!important;border-radius:12px;font-size:30px;box-shadow:6px 6px 0 #c7d8f2,0 13px 24px rgb(42 64 96 / .10),inset 0 1px 0 #fff}
.sidebar-bottom .sidebar-collapse:hover,.sidebar-bottom .sidebar-pin:hover{background:#dbe7ff;color:#315ac2;box-shadow:6px 7px 0 #b8ccee,0 16px 28px rgb(42 64 96 / .14),inset 0 1px 0 #fff}
.sidebar.collapsed{width:96px;padding-left:17px;padding-right:17px}
.sidebar.collapsed .brand{display:flex!important}
.sidebar.collapsed .brand{justify-content:center;padding:0!important}
.sidebar.collapsed .brand-logo{display:none!important}
.brand-cube{width:48px;height:48px;border-radius:12px;box-shadow:6px 6px 0 #c7d8f2,0 13px 24px rgb(42 64 96 / .10),inset 0 1px 0 #fff}
.sidebar.collapsed .brand-cube{display:grid}
.sidebar-collapsed .main{margin-left:96px}
.sidebar-collapsed .sidebar .nav-section,.sidebar-collapsed .sidebar .history-heading,.sidebar-collapsed .sidebar .history-list{display:none}
.sidebar-collapsed .sidebar .new-project{display:grid!important;place-items:center;width:62px!important;height:62px!important;margin:35px auto 18px!important;padding:0!important;gap:0;border:0!important;border-radius:12px!important;background:#e8f2ff!important;color:#5573be!important;font-size:0!important;box-shadow:6px 6px 0 #c7d8f2,0 13px 24px rgb(42 64 96 / .10),inset 0 1px 0 #fff!important}
.sidebar-collapsed .sidebar .new-project>span:first-child{font-size:32px!important;line-height:1}
.sidebar-collapsed .sidebar .nav-item{display:grid!important;place-items:center;width:62px!important;height:62px!important;margin:0 auto 10px!important;padding:0!important;gap:0;border:0!important;border-radius:12px!important;background:#e8f2ff!important;color:#5573be!important;font-size:0!important;box-shadow:6px 6px 0 #c7d8f2,0 13px 24px rgb(42 64 96 / .10),inset 0 1px 0 #fff!important}
.sidebar-collapsed .sidebar .nav-item:hover,.sidebar-collapsed .sidebar .nav-item.active{background:#e0ebff!important;color:#315ac2!important;box-shadow:6px 7px 0 #b8ccee,0 16px 28px rgb(42 64 96 / .14),inset 0 1px 0 #fff!important}
.sidebar-collapsed .sidebar .nav-item>span{display:grid!important;place-items:center;width:100%;height:100%;font-size:28px!important;line-height:1;color:inherit!important}
.sidebar-collapsed .sidebar .nav-item#latex-nav>span{font-size:30px!important}
.sidebar-collapsed .sidebar .nav-item#templates-button>span{font-size:27px!important}
.sidebar-collapsed .sidebar .nav-item#manuscript-help-nav>span{font-size:31px!important}
.sidebar-collapsed .sidebar-bottom{margin-top:auto;padding:18px 0 0;flex-direction:column;gap:10px;align-items:center}
.sidebar-collapsed .sidebar-collapse{margin:0}
.sidebar-collapsed .sidebar-pin{display:grid!important;margin:0}
@media(max-width:760px){
  .sidebar-collapsed .main{margin-left:0}
  .sidebar.collapsed{width:248px;padding-left:20px;padding-right:20px}
  .sidebar-collapsed .sidebar .brand-logo{display:block!important}
  .sidebar-collapsed .sidebar .brand-cube{display:none!important}
  .sidebar-collapsed .sidebar .new-project,.sidebar-collapsed .sidebar .nav-item{display:flex!important;width:100%!important;height:auto!important;margin:0 0 5px!important;padding:12px 14px!important;font-size:14px!important;place-items:initial;gap:12px;border-radius:8px!important;background:transparent!important;color:#687184!important;box-shadow:none!important}
  .sidebar-collapsed .sidebar .new-project{margin:35px 0 35px!important}
  .sidebar-collapsed .sidebar .new-project>span:first-child,.sidebar-collapsed .sidebar .nav-item>span{width:auto;height:auto;font-size:20px!important}
  .sidebar-collapsed .sidebar .nav-section,.sidebar-collapsed .sidebar .history-heading,.sidebar-collapsed .sidebar .history-list{display:block}
  .sidebar-collapsed .sidebar-bottom{padding:12px 6px 0;flex-direction:row;gap:10px}
}

/* Bring the workflow marker closer to the Quick Start action. Its compact
   colored bar gives the open middle area a focal point without filling the
   editorial negative space with another heavy panel. */
.entry-hero{min-height:calc(100svh - 220px)!important}
.landing-workflow{isolation:isolate;margin-top:-88px!important;padding-top:20px!important}
.landing-workflow::before{content:"";position:absolute;z-index:-1;top:-38px;left:-10%;width:76%;height:300px;border-radius:50%;background:radial-gradient(ellipse at 32% 46%,rgb(91 178 235 / .16),transparent 63%),radial-gradient(ellipse at 72% 40%,rgb(206 180 241 / .12),transparent 65%);filter:blur(12px);pointer-events:none}
.workflow-heading-row{display:flex;align-items:center;gap:13px;min-height:42px}
.workflow-heading-mark{display:block;width:5px;height:38px;flex:none;border-radius:999px;background:linear-gradient(180deg,#1aa7e7 0%,#357be1 52%,#d94a5c 100%);box-shadow:0 5px 12px rgb(49 126 212 / .18)}
.workflow-heading-row h2{margin:0!important;color:#d64c5a!important;font-size:clamp(25px,2.7vw,36px)!important;letter-spacing:-.035em!important}
.workflow-heading>p{margin:8px 0 0 18px!important;color:#7185a4!important;font-size:13px!important;line-height:1.6!important}
.workflow-heading{margin-left:clamp(20px,18vw,280px)!important}
@media(max-width:760px){.entry-hero{min-height:calc(100svh - 62px)!important}.landing-workflow{margin-top:-42px!important;padding-top:12px!important}.landing-workflow::before{left:-22%;width:120%;height:240px}.workflow-heading{margin-left:0!important}.workflow-heading-row{gap:10px}.workflow-heading-mark{height:32px;width:4px}.workflow-heading-row h2{font-size:27px!important}.workflow-heading>p{margin-left:14px!important;font-size:12px!important}}

/* The workflow label uses the same raised character blocks as the homepage
   review banner; its English line follows the spaced blue utility style. */
.entry-tagline{margin-bottom:clamp(100px,12vh,132px)!important}
.landing-workflow{margin-top:-118px!important}
.landing-workflow::before{display:none!important}
.workflow-heading{margin-left:clamp(20px,7vw,110px)!important}
.workflow-heading-row h2{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0!important;color:inherit!important;font-size:inherit!important;letter-spacing:0!important}
.workflow-heading-block{display:inline-grid;place-items:center;width:42px;height:42px;border-radius:10px;font-family:"Noto Sans SC","Microsoft YaHei","Segoe UI",sans-serif;font-size:22px;font-weight:850;line-height:1;box-shadow:5px 5px 0 var(--workflow-block-edge),0 10px 18px rgb(42 64 96 / .10),inset 0 1px 0 rgb(255 255 255 / .92)}
.workflow-heading-block[data-tone="blue"]{background:#edf3ff;color:#3159a4;--workflow-block-edge:#c5d5f2}
.workflow-heading-block[data-tone="green"]{background:#eaf7ef;color:#2d7450;--workflow-block-edge:#b9dfc5}
.workflow-heading-block[data-tone="purple"]{background:#f4edff;color:#6947a8;--workflow-block-edge:#d2c4ef}
.workflow-heading-block[data-tone="gold"]{background:#fff4df;color:#8a5b17;--workflow-block-edge:#ebd09b}
.workflow-heading>p{margin:11px 0 0 18px!important;color:#5573a9!important;font-size:11px!important;font-weight:750!important;letter-spacing:.18em!important;line-height:1.5!important}
@media(max-width:760px){.entry-hero{min-height:calc(100svh - 62px)!important}.landing-workflow{margin-top:-42px!important;padding-top:12px!important}.workflow-heading{margin-left:0!important}.workflow-heading-row{gap:10px}.workflow-heading-mark{height:32px;width:4px}.workflow-heading-row h2{gap:6px}.workflow-heading-block{width:34px;height:34px;border-radius:8px;font-size:18px;box-shadow:4px 4px 0 var(--workflow-block-edge),0 7px 13px rgb(42 64 96 / .09),inset 0 1px 0 rgb(255 255 255 / .92)}.workflow-heading>p{margin-left:14px!important;font-size:10px!important;letter-spacing:.12em!important}}

/* The section marker sits beside the card rail; the three cards have no
   step badges or linking arrows and use a larger, individually colored icon. */
.workflow-heading-row{position:relative}
.workflow-heading-mark{position:absolute;left:calc(-1 * clamp(75px,7vw,124px));top:50%;width:6px;height:62px;transform:translateY(-50%);border-radius:4px;background:#2455df!important;box-shadow:0 5px 12px rgb(36 85 223 / .18)!important}
.workflow-rail{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:28px}
.workflow-module{display:flex;flex-direction:column;align-items:center;min-height:315px;padding:112px 24px 25px;text-align:center}
.workflow-module-head{position:absolute;top:29px;right:25px;justify-content:flex-end}
.workflow-module-icon{position:absolute;top:24px;left:26px;display:grid;place-items:center;width:70px;height:70px;margin:0;border-radius:18px;background:#eaf7ef;color:#2d7450;font-size:35px;box-shadow:6px 7px 0 #b9dfc5,inset 0 1px 0 #fff}
.workflow-module-icon-purple{background:#f4edff;color:#6947a8;font-size:29px;box-shadow:6px 7px 0 #d2c4ef,inset 0 1px 0 #fff}
.workflow-module-icon-blue{background:#edf3ff;color:#3159a4;font-size:22px;letter-spacing:-.08em;box-shadow:6px 7px 0 #c5d5f2,inset 0 1px 0 #fff}
.workflow-module h3,.workflow-module p,.workflow-module-en{text-align:center}
.workflow-module p{max-width:36ch}
.workflow-launch{justify-content:center;margin-top:18px}
@media(max-width:900px){.workflow-rail{grid-template-columns:1fr;gap:22px}.workflow-module{min-height:285px}}
@media(max-width:760px){.workflow-heading-mark{position:static;width:4px;height:38px;transform:none}.workflow-module{min-height:270px;padding:106px 19px 23px}.workflow-module-head{top:26px;right:20px}.workflow-module-icon{top:20px;left:20px;width:66px;height:66px}}

/* Keep the compact cards on the full rail, allowing the spaces to grow. */
.workflow-heading{margin-left:clamp(4px,2vw,28px)!important}
.workflow-heading>p{margin-left:0!important}
.workflow-heading-mark{left:clamp(-40px,-3vw,-24px)!important}
.workflow-rail{width:100%;grid-template-columns:repeat(3,minmax(0,270px));justify-content:space-between;gap:20px}
.workflow-module{min-height:230px;padding:88px 16px 18px}
.workflow-module-head{top:20px;right:17px}
.workflow-module h3{font-size:24px}
.workflow-module p{max-width:30ch;font-size:14px;line-height:1.55}
.workflow-launch{margin-top:12px;padding:8px 10px;font-size:11.5px}
@media(max-width:900px){.workflow-rail{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.workflow-module{min-height:230px}}
@media(max-width:760px){.workflow-heading{margin-left:0!important}.workflow-heading>p{margin-left:0!important}.workflow-heading-mark{left:auto!important}.workflow-rail{grid-template-columns:minmax(0,320px);justify-content:center;gap:22px}.workflow-module{min-height:0;padding:104px 19px 20px}.workflow-module h3{font-size:23px}}

/* Enlarge the compact cards by 25% while keeping the rail full width so the
   remaining space is distributed between the items. */
.workflow-rail{grid-template-columns:repeat(3,minmax(0,338px));justify-content:space-between;gap:24px}
.workflow-module{min-height:288px}

/* Two distinct entry actions share the established raised-button language;
   Quick Start is intentionally the larger primary action. */
.entry-actions{display:flex;align-items:center;justify-content:center;gap:18px;margin:0}
.entry-hub{display:inline-flex;align-items:center;justify-content:center;min-width:106px;min-height:52px;padding:0 22px;border:1px solid #d3def1;border-radius:14px;background:#fff;color:#5573be;font-size:16px;font-weight:700;letter-spacing:.02em;box-shadow:0 10px 24px rgb(34 55 86 / .09),inset 0 1px 0 #fff;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}
.entry-hub:hover{transform:translateY(-2px);background:#f6f9ff;box-shadow:0 14px 28px rgb(34 55 86 / .13),inset 0 1px 0 #fff}
.entry-start{min-width:192px!important;padding:0 30px!important;gap:0!important}
@media(max-width:1050px){.workflow-rail{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.workflow-module{min-height:288px}}
@media(max-width:760px){.workflow-rail{grid-template-columns:minmax(0,320px);gap:22px}.entry-actions{gap:12px}.entry-hub{min-width:92px;min-height:48px;padding:0 16px;font-size:15px}.entry-start{min-width:164px!important;min-height:56px!important;padding:0 22px!important;font-size:17px!important}.workflow-module{min-height:0}}

/* Match the dashboard conversion action and anchor it at the bottom of the
   current card, in the lower action area shown in the reference. */
.workflow-launch{margin-top:auto!important;border:0!important;background:var(--blue)!important;color:#fff!important;box-shadow:0 8px 18px rgb(36 85 223 / .2),inset 0 1px 0 rgb(255 255 255 / .2)!important}
.workflow-launch:hover{background:#1742bd!important;color:#fff!important;box-shadow:0 11px 23px rgb(36 85 223 / .26),inset 0 1px 0 rgb(255 255 255 / .24)!important}
.entry-hub{border:0!important}
.entry-hub{gap:8px}
.entry-hub-icon{display:block;flex:none;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* The conversion action is a compact centered control in the lower content
   area of the card, matching the green-marked position in the reference. */
.workflow-module-current .workflow-launch{
  align-self:center!important;
  width:118px!important;
  min-width:118px!important;
  min-height:52px!important;
  margin:24px auto 0!important;
  padding:0 16px!important;
  border:0!important;
  border-radius:11px!important;
  justify-content:center!important;
  font-family:"Noto Sans SC","Microsoft YaHei","Segoe UI",sans-serif!important;
  font-size:16px!important;
  font-weight:800!important;
  letter-spacing:.08em!important;
}
@media(max-width:760px){
  .workflow-module-current .workflow-launch{
    width:118px!important;
    min-width:118px!important;
    min-height:50px!important;
    margin-top:24px!important;
    font-size:16px!important;
  }
}

/* Keep the landing page focused on the established hero. Service selection is
   presented on its own intermediate page so the actual converter is reached
   only after the user chooses the manuscript conversion module. */
.entry-screen>.landing-workflow{display:none!important}
body:not(.workspace-entered) .sidebar,
body:not(.workspace-entered) .main{display:none!important}
body.service-view .entry-screen,
body.service-view .login-screen{display:none!important}
body.service-view .service-screen{display:block!important}

.service-screen{
  position:relative;
  isolation:isolate;
  min-height:100svh;
  overflow:hidden;
  color:#1d3b67;
  background:
    radial-gradient(ellipse 52% 46% at 8% 34%,rgb(190 226 248 / .32),transparent 72%),
    radial-gradient(ellipse 48% 44% at 92% 43%,rgb(219 204 246 / .25),transparent 72%),
    linear-gradient(180deg,#fff 0%,#fbfcff 56%,#f5f8fd 100%);
}
.service-screen::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  opacity:.62;
  background-image:
    linear-gradient(rgb(91 128 181 / .06) 1px,transparent 1px),
    linear-gradient(90deg,rgb(91 128 181 / .06) 1px,transparent 1px);
  background-size:24px 24px;
  mask-image:linear-gradient(180deg,#000 0%,rgb(0 0 0 / .45) 76%,transparent 100%);
}
.service-header{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:min(1180px,calc(100% - 80px));
  min-height:86px;
  margin:0 auto;
  border-bottom:1px solid rgb(207 220 239 / .68);
}
.service-brand{display:inline-flex;align-items:center;text-decoration:none}
.service-brand img{display:block;width:min(188px,34vw);height:auto;object-fit:contain}
.service-back{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 18px;
  border:1px solid #b9cceb;
  border-radius:12px;
  background:#fff;
  color:#315b97;
  font-size:14px;
  font-weight:750;
  box-shadow:0 8px 20px rgb(52 82 130 / .08),inset 0 1px 0 #fff;
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease;
}
.service-back:hover{transform:translateY(-2px);background:#f7faff;box-shadow:0 12px 25px rgb(52 82 130 / .13),inset 0 1px 0 #fff}
.service-main{position:relative;z-index:1;width:min(1180px,calc(100% - 80px));margin:0 auto;padding:clamp(70px,10vh,116px) 0 110px}
.service-intro{max-width:640px;margin:0 0 42px;padding-left:clamp(0px,2.4vw,35px)}
.service-kicker{display:inline-block;color:#5c78a8;font-size:12px;font-weight:800;letter-spacing:.2em}
.service-intro h1{margin:13px 0 8px;color:#1b365f;font-size:clamp(36px,4.2vw,58px);letter-spacing:-.055em;line-height:1.05}
.service-intro p{margin:0;color:#71839f;font-size:16px;line-height:1.75}
.service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;align-items:stretch}
.service-card{
  position:relative;
  display:flex;
  flex-direction:column;
  min-height:344px;
  padding:24px 26px 25px;
  border:1px solid #d4e0f0;
  border-radius:24px;
  background:rgb(239 244 252 / .88);
  box-shadow:8px 9px 0 rgb(204 218 239 / .62),0 18px 38px rgb(45 76 117 / .08),inset 0 1px 0 #fff;
  backdrop-filter:blur(12px);
}
.service-card-planned{opacity:.86}
.service-card-current{border-color:#b8cdec;background:linear-gradient(145deg,rgb(246 250 255 / .96),rgb(229 239 254 / .92));box-shadow:9px 10px 0 rgb(180 205 239 / .72),0 22px 44px rgb(44 86 150 / .13),inset 0 1px 0 #fff}
.service-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.service-card-icon{display:grid;place-items:center;width:68px;height:68px;border-radius:18px;background:#eaf7ef;color:#2d7450;font-size:34px;font-weight:750;box-shadow:6px 7px 0 #b9dfc5,inset 0 1px 0 #fff}
.service-card-icon-purple{background:#f4edff;color:#6947a8;font-size:29px;box-shadow:6px 7px 0 #d2c4ef,inset 0 1px 0 #fff}
.service-card-icon-blue{background:#edf3ff;color:#3159a4;font-size:22px;letter-spacing:-.08em;box-shadow:6px 7px 0 #c5d5f2,inset 0 1px 0 #fff}
.service-card-state{padding-top:9px;color:#8596ad;font-size:12px;font-weight:650}
.service-card-current .service-card-state{color:#2f72b4;font-weight:800}
.service-card h2{margin:34px 0 8px;color:#1d3b67;font-size:27px;letter-spacing:-.035em}
.service-card p{max-width:28ch;margin:0;color:#72849f;font-size:14px;line-height:1.75}
.service-card-label{display:block;margin-top:auto;color:#9aa9bb;font-size:11px;letter-spacing:.08em}
.service-card-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:48px;
  margin-top:22px;
  border:0;
  border-radius:11px;
  background:var(--blue);
  color:#fff;
  font-size:14px;
  font-weight:800;
  letter-spacing:.04em;
  box-shadow:0 9px 20px rgb(36 85 223 / .2),inset 0 1px 0 rgb(255 255 255 / .2);
  transition:transform .2s ease,background .2s ease,box-shadow .2s ease;
}
.service-card-action:hover{transform:translateY(-2px);background:#1742bd;box-shadow:0 12px 25px rgb(36 85 223 / .27),inset 0 1px 0 rgb(255 255 255 / .24)}
@media(max-width:900px){.service-header,.service-main{width:min(760px,calc(100% - 56px))}.service-main{padding-top:72px}.service-grid{grid-template-columns:1fr;gap:22px}.service-card{min-height:280px}.service-card h2{margin-top:26px}}
@media(max-width:760px){.service-header{width:calc(100% - 36px);min-height:70px}.service-brand img{width:min(160px,46vw)}.service-back{min-height:38px;padding:0 14px;font-size:13px}.service-main{width:calc(100% - 36px);padding:56px 0 72px}.service-intro{margin-bottom:30px;padding-left:0}.service-kicker{font-size:10px}.service-intro h1{font-size:36px}.service-intro p{font-size:14px}.service-card{min-height:270px;padding:21px 20px 21px;border-radius:20px}.service-card-icon{width:62px;height:62px;font-size:31px}.service-card-icon-purple{font-size:27px}.service-card h2{font-size:24px}.service-card p{font-size:13px}.service-card-action{min-height:46px;margin-top:18px}}

/* Keep the established three-card workflow in the homepage's scroll feed.
   Quick Start still opens the dedicated service selector above it. */
.entry-screen>.landing-workflow{display:block!important}

/* A full-width editorial banner follows the complete landing feed. Its shorter
   viewport keeps the lower image strip and trims the sky above the reference
   line; it stays outside the patterned entry canvas so the space beneath it
   remains plain. */
.homepage-banner{
  display:block;
  width:100%;
  margin:-16px 0 0;
  padding:0;
  overflow:hidden;
  aspect-ratio:2169 / 290;
  background:#fff;
  line-height:0;
}
.homepage-banner img{
  display:block;
  width:100%;
  height:100%;
  margin:0;
  border:0;
  object-fit:cover;
  object-position:center bottom;
}
.workspace-entered .homepage-banner,
body.login-view .homepage-banner,
body.service-view .homepage-banner{display:none!important}
body:not(.workspace-entered):not(.service-view):not(.login-view){background:#fff!important}
@media(max-width:760px){.homepage-banner{margin-top:-10px}}


/* Dedicated service picker between the public landing page and manuscript workspace. */
.service-screen{position:fixed;inset:0;z-index:110;display:none;overflow:auto;color:#1d3b67;background:
  radial-gradient(ellipse 56% 46% at 8% 18%,rgb(189 226 248 / .28),transparent 72%),
  radial-gradient(ellipse 52% 48% at 92% 76%,rgb(218 204 246 / .26),transparent 72%),
  linear-gradient(180deg,#fbfdff 0%,#f5f8fd 100%)}
body.service-view .service-screen{display:block!important}
body.service-view .entry-screen,body.service-view .sidebar,body.service-view .main,body.service-view .login-screen{visibility:hidden!important;pointer-events:none!important}
.service-header{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(22px,6vw,96px);background:rgb(255 255 255 / .88);border-bottom:1px solid #dfe7f2;box-shadow:0 2px 10px rgb(50 78 123 / .04)}
.service-brand{display:inline-flex;align-items:center;text-decoration:none}.service-brand img{display:block;width:160px;height:42px;object-fit:contain;object-position:left center}
.service-back{padding:10px 18px;border:1px solid #cbd8ed;border-radius:10px;background:#fff;color:#44629a;font-size:13px;font-weight:700;box-shadow:0 6px 14px rgb(45 76 117 / .07)}.service-back:hover{background:#f3f7ff;border-color:#9cb4df;color:#2455df}
.service-main{width:min(1120px,calc(100% - 64px));margin:0 auto;padding:clamp(68px,11vh,120px) 0 88px}
.service-intro{text-align:center}.service-kicker{display:inline-block;color:#5d78ab;font-size:11px;font-weight:750;letter-spacing:.22em}.service-intro h1{margin:13px 0 9px;color:#1d3b67;font-size:clamp(32px,4vw,48px);letter-spacing:-.045em}.service-intro p{margin:0;color:#7b8ca7;font-size:15px;line-height:1.7}
.service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:55px}.service-card{position:relative;display:flex;flex-direction:column;min-height:310px;padding:27px 27px 24px;border:1px solid #d3dfef;border-radius:24px;background:rgb(240 245 253 / .88);box-shadow:8px 9px 0 rgb(203 218 239 / .66),0 16px 34px rgb(45 76 117 / .08),inset 0 1px 0 #fff;backdrop-filter:blur(10px)}.service-card-planned{opacity:.86}.service-card-current{border-color:#b9cdea;background:linear-gradient(145deg,rgb(246 250 255 / .96),rgb(229 239 254 / .92));box-shadow:9px 10px 0 rgb(181 207 240 / .72),0 19px 38px rgb(44 86 150 / .13),inset 0 1px 0 #fff}.service-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.service-card-icon{display:grid;place-items:center;width:64px;height:64px;border-radius:19px;background:#ecf8f2;color:#4b8d72;font-size:31px;font-weight:750;box-shadow:6px 7px 0 rgb(195 226 208 / .75),inset 0 1px 0 #fff}.service-card-icon-purple{background:#f5efff;color:#8057b9;box-shadow:6px 7px 0 rgb(214 195 240 / .74),inset 0 1px 0 #fff;font-size:27px}.service-card-icon-blue{background:#eaf1ff;color:#315cc2;box-shadow:6px 7px 0 rgb(190 211 244 / .8),inset 0 1px 0 #fff;font-size:24px}.service-card-state{padding-top:7px;color:#8c9bb1;font-size:12px}.service-card-current .service-card-state{color:#2f72b4;font-weight:700}.service-card h2{margin:34px 0 8px;color:#1d3b67;font-size:27px;letter-spacing:-.035em}.service-card p{margin:0;color:#7185a2;font-size:14px;line-height:1.7}.service-card-label{display:block;margin-top:auto;padding-top:24px;color:#9aa9bd;font-size:11px;letter-spacing:.08em}.service-card-action{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;margin-top:19px;border:0;border-radius:11px;background:#3157df;color:#fff;font-size:14px;font-weight:750;box-shadow:0 9px 18px rgb(36 85 223 / .2),inset 0 1px 0 rgb(255 255 255 / .2)}.service-card-action:hover{background:#1e45c3;box-shadow:0 12px 23px rgb(36 85 223 / .27)}
@media(max-width:850px){.service-grid{grid-template-columns:1fr;gap:19px;max-width:500px;margin-left:auto;margin-right:auto}.service-card{min-height:255px}.service-card h2{margin-top:25px}.service-main{padding-top:60px}}
@media(max-width:560px){.service-header{height:60px;padding:0 18px}.service-brand img{width:136px;height:36px}.service-back{padding:8px 12px;font-size:12px}.service-main{width:calc(100% - 36px);padding:48px 0 60px}.service-intro h1{font-size:34px}.service-grid{margin-top:36px}.service-card{min-height:238px;padding:22px 21px 20px;border-radius:20px}.service-card-icon{width:56px;height:56px;border-radius:17px;font-size:27px}.service-card-icon-purple{font-size:24px}.service-card-icon-blue{font-size:21px}.service-card h2{font-size:24px}}

/* Keep the existing workflow rail in the homepage scroll feed as well as in
   the dedicated picker reached from Quick Start. */
.entry-screen>.landing-workflow{display:block!important}

/* Status indicators keep the card labels scannable without changing their
   existing shadow treatment. The available state has a restrained live glow. */
.workflow-status{display:inline-flex;align-items:center;gap:7px}
.workflow-status::before{content:"";display:inline-block;width:8px;height:8px;flex:none;border-radius:50%;background:#9ca7b5;box-shadow:0 0 0 3px rgb(156 167 181 / .14)}
.workflow-module-current .workflow-status::before{background:#39c779;box-shadow:0 0 0 3px rgb(57 199 121 / .17),0 0 10px rgb(57 199 121 / .46);animation:available-status-glow 2.2s ease-in-out infinite}
@keyframes available-status-glow{0%,100%{box-shadow:0 0 0 3px rgb(57 199 121 / .15),0 0 7px rgb(57 199 121 / .3);transform:scale(.96)}50%{box-shadow:0 0 0 4px rgb(57 199 121 / .24),0 0 16px rgb(57 199 121 / .7);transform:scale(1.08)}}
@media(prefers-reduced-motion:reduce){.workflow-module-current .workflow-status::before{animation:none}}

/* The card surfaces are white while their established colored drop shadows
   remain unchanged. */
.workflow-module,.workflow-module-current{background:#fff!important}
.workflow-module-planned{opacity:1}

/* The next homepage feed section reuses the block title language for the
   manuscript conversion feature and adds one compact rounded promo line. */
.conversion-section{position:relative;z-index:3;width:min(1180px,calc(100% - 80px));margin:0 auto;padding:70px 0 96px;background:#fff;color:#1d3b67}
.conversion-heading{max-width:700px;margin:0 0 29px}
.conversion-heading-row{position:relative;display:flex;align-items:center;gap:13px;min-height:48px}
.conversion-heading-mark{display:block;width:6px;height:62px;flex:none;border-radius:4px;background:#2455df;box-shadow:0 5px 12px rgb(36 85 223 / .18)}
.conversion-heading-row h2{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0;color:inherit;font-size:inherit;letter-spacing:0}
.conversion-heading-block{display:inline-grid;place-items:center;width:42px;height:42px;border-radius:10px;font-family:"Noto Sans SC","Microsoft YaHei","Segoe UI",sans-serif;font-size:22px;font-weight:850;line-height:1;box-shadow:5px 5px 0 var(--conversion-block-edge),0 10px 18px rgb(42 64 96 / .1),inset 0 1px 0 rgb(255 255 255 / .92)}
.conversion-heading-block[data-tone="blue"]{background:#edf3ff;color:#3159a4;--conversion-block-edge:#c5d5f2}
.conversion-heading-block[data-tone="green"]{background:#eaf7ef;color:#2d7450;--conversion-block-edge:#b9dfc5}
.conversion-heading-block[data-tone="purple"]{background:#f4edff;color:#6947a8;--conversion-block-edge:#d2c4ef}
.conversion-heading-block[data-tone="gold"]{background:#fff4df;color:#8a5b17;--conversion-block-edge:#ebd09b}
.conversion-heading>p{margin:11px 0 0 19px;color:#5573a9;font-size:11px;font-weight:750;letter-spacing:.18em;line-height:1.5}
.conversion-promo{display:flex;align-items:center;justify-content:center;min-height:104px;padding:22px 30px;border-radius:25px;background:#2c3331;box-shadow:0 14px 30px rgb(35 47 43 / .12),inset 0 1px 0 rgb(255 255 255 / .08)}
.conversion-promo p{margin:0;text-align:center;font-family:ui-rounded,"Arial Rounded MT Bold","Nunito","Segoe UI","Microsoft YaHei",sans-serif;font-size:clamp(18px,2.3vw,29px);font-weight:800;letter-spacing:-.025em;line-height:1.35}
.conversion-promo strong{color:#c7e87c;font-weight:850}
.conversion-promo span{color:#f4f6f2;font-size:.7em;font-weight:650;letter-spacing:.01em}
.workspace-entered .conversion-section,body.login-view .conversion-section,body.service-view .conversion-section{display:none!important}
@media(max-width:760px){
  .conversion-section{width:calc(100% - 36px);padding:52px 0 68px}
  .conversion-heading-row{gap:10px}.conversion-heading-mark{width:4px;height:38px}.conversion-heading-block{width:34px;height:34px;border-radius:8px;font-size:18px;box-shadow:4px 4px 0 var(--conversion-block-edge),0 7px 13px rgb(42 64 96 / .09),inset 0 1px 0 rgb(255 255 255 / .92)}
  .conversion-heading>p{margin-left:14px;font-size:10px;letter-spacing:.12em}
  .conversion-promo{min-height:118px;padding:20px 18px;border-radius:20px}.conversion-promo p{font-size:19px}.conversion-promo span{display:block;margin-top:5px;font-size:.72em;line-height:1.6}
}

/* Conversion promotion: staggered source formats on the left, and a small
   publisher carousel on a floating color card at the right. */
.conversion-promo{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(270px,.82fr);align-items:stretch;gap:clamp(28px,5vw,62px);min-height:268px;padding:34px clamp(25px,4vw,48px);border:1px solid #e5eaf5;border-radius:27px;background:linear-gradient(136deg,#fbfdff 0%,#f8f5ff 52%,#eef7ff 100%);color:#243b67;box-shadow:0 18px 34px rgb(55 77 116 / .1),inset 0 1px 0 #fff}
.conversion-promo-copy{display:flex;flex-direction:column;justify-content:center;min-width:0}
.conversion-promo-kicker{margin:0 0 11px!important;color:#6680af;font-family:"Noto Sans SC","Microsoft YaHei",sans-serif;font-size:12px!important;font-weight:750!important;letter-spacing:.12em!important;text-align:left!important;line-height:1.4!important}
.conversion-flow{display:flex;align-items:center;gap:14px;min-height:53px;white-space:nowrap}
.conversion-flow-word{margin-left:0}
.conversion-flow-latex-to-latex{margin-top:7px;margin-left:58px}
.conversion-flow-text{color:#1e3664;font-family:ui-rounded,"Arial Rounded MT Bold","Nunito","Segoe UI","Microsoft YaHei",sans-serif;font-size:clamp(23px,3vw,37px);font-weight:850;letter-spacing:-.045em;line-height:1}
.conversion-flow-latex{display:block;width:clamp(105px,11vw,138px);height:43px;object-fit:contain;object-position:center;filter:drop-shadow(0 5px 7px rgb(31 39 62 / .08))}
.conversion-flow-arrow{display:block;flex:none;object-fit:contain;object-position:center;opacity:.87;filter:drop-shadow(0 4px 4px rgb(32 40 62 / .08))}
.conversion-flow-arrow-right{width:66px;height:30px}
.conversion-flow-arrow-bidirectional{width:55px;height:30px}
.conversion-promo-note{max-width:430px;margin:17px 0 0!important;color:#7081a1;font-family:"Noto Sans SC","Microsoft YaHei",sans-serif;font-size:13px!important;font-weight:600!important;letter-spacing:0!important;line-height:1.7!important;text-align:left!important}
.conversion-publisher-card{position:relative;display:flex;flex-direction:column;min-width:0;min-height:198px;padding:20px 20px 18px;border:1px solid rgb(255 255 255 / .94);border-radius:24px;background:linear-gradient(145deg,#f6eaff 0%,#f8f5ff 46%,#e9f5ff 100%);box-shadow:9px 11px 0 rgb(204 211 242 / .55),0 16px 27px rgb(78 71 141 / .12),inset 0 1px 0 #fff;overflow:hidden;animation:conversion-publisher-float 5.8s ease-in-out infinite}
.conversion-publisher-card-head{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;color:#6a79a2;font-family:"Noto Sans SC","Microsoft YaHei",sans-serif;font-size:12px;font-weight:750;letter-spacing:.06em}
.conversion-publisher-card-head span{color:inherit;font-size:inherit;font-weight:inherit;letter-spacing:inherit}
.conversion-publisher-pulse{width:7px;height:7px;border-radius:50%;background:#47ce87;box-shadow:0 0 0 3px rgb(71 206 135 / .16),0 0 10px rgb(71 206 135 / .55);animation:conversion-publisher-pulse 2s ease-in-out infinite}
.conversion-publisher-viewport{position:relative;z-index:1;flex:1;min-height:0;margin-top:15px;overflow:hidden;border-radius:15px;background:rgb(255 255 255 / .48);box-shadow:inset 0 1px 0 rgb(255 255 255 / .88)}
.conversion-publisher-track{display:flex;flex-direction:column;gap:9px;padding:9px 10px;animation:conversion-publisher-scroll 15s linear infinite}
.conversion-publisher-logo{display:flex;align-items:center;justify-content:center;flex:0 0 37px;border-radius:11px;background:#fff;box-shadow:0 4px 10px rgb(48 64 106 / .08),inset 0 1px 0 rgb(255 255 255 / .92);font-family:ui-rounded,"Arial Rounded MT Bold","Nunito","Segoe UI",sans-serif;font-size:16px;font-weight:850;letter-spacing:-.04em}
.conversion-publisher-logo-nature{color:#1e7c65;font-family:Georgia,serif;font-style:italic}.conversion-publisher-logo-science{color:#d0274f}.conversion-publisher-logo-cell{color:#d47f20;font-family:Georgia,serif}.conversion-publisher-logo-acs{color:#7254c5;letter-spacing:.08em}.conversion-publisher-logo-ieee{color:#2862a9;letter-spacing:.05em}.conversion-publisher-logo-springer{color:#e56d35;font-size:14px}
@keyframes conversion-publisher-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}
@keyframes conversion-publisher-scroll{0%,12%{transform:translateY(0)}42%,54%{transform:translateY(-142px)}84%,96%{transform:translateY(-284px)}100%{transform:translateY(-300px)}}
@keyframes conversion-publisher-pulse{0%,100%{opacity:.72;transform:scale(.9)}50%{opacity:1;transform:scale(1.16)}}
@media(prefers-reduced-motion:reduce){.conversion-publisher-card,.conversion-publisher-track,.conversion-publisher-pulse{animation:none}.conversion-publisher-track{transform:none}}
@media(max-width:760px){
  .conversion-promo{grid-template-columns:1fr;gap:25px;min-height:0;padding:28px 18px 25px;border-radius:22px}
  .conversion-promo-kicker{font-size:11px!important}.conversion-flow{gap:10px;min-height:43px}.conversion-flow-latex-to-latex{margin-left:28px}.conversion-flow-text{font-size:27px}.conversion-flow-latex{width:105px;height:37px}.conversion-flow-arrow-right{width:51px;height:25px}.conversion-flow-arrow-bidirectional{width:45px;height:25px}.conversion-promo-note{margin-top:14px!important;font-size:12px!important}.conversion-publisher-card{min-height:188px;padding:17px 16px 15px}.conversion-publisher-track{animation-duration:17s}
}

/* Override the legacy promo span rules and keep the logo viewport compact. */
.conversion-promo .conversion-flow-text{color:#1e3664!important;font-size:clamp(23px,3vw,37px)!important}
.conversion-publisher-card{height:220px;min-height:220px;align-self:center}
.conversion-publisher-viewport{height:150px;flex:none}
.conversion-promo .conversion-publisher-logo{color:#243b67!important;font-size:16px!important}
.conversion-promo .conversion-publisher-logo-nature{color:#1e7c65!important;font-family:Georgia,serif;font-style:italic}
.conversion-promo .conversion-publisher-logo-science{color:#d0274f!important}
.conversion-promo .conversion-publisher-logo-cell{color:#d47f20!important;font-family:Georgia,serif}
.conversion-promo .conversion-publisher-logo-acs{color:#7254c5!important;letter-spacing:.08em}
.conversion-promo .conversion-publisher-logo-ieee{color:#2862a9!important;letter-spacing:.05em}
.conversion-promo .conversion-publisher-logo-springer{color:#e56d35!important;font-size:14px!important}
@media(max-width:760px){.conversion-publisher-card{height:208px;min-height:208px}.conversion-publisher-viewport{height:139px}}

/* Latest promo refinement: give the promotion roughly one quarter more
   vertical room, let the page white space replace the old outer frame, and
   keep the supported-publisher card as the only raised surface. */
.conversion-promo{min-height:335px;padding:43px clamp(25px,4vw,48px);border:0;background:transparent;box-shadow:none}
.conversion-promo .conversion-flow-text{font-family:"Arial","Helvetica Neue","Segoe UI",sans-serif;font-weight:700;letter-spacing:-.02em}
.conversion-flow-arrow-right{width:70px;height:24px}
.conversion-promo .conversion-publisher-logo-nature{color:#11151d!important;font-family:Georgia,serif;font-style:italic}
.conversion-promo .conversion-publisher-logo-wiley{color:#1d5b91!important;font-family:Georgia,serif;font-style:italic}
.conversion-promo .conversion-publisher-logo-elsevier{color:#e46b35!important}
.conversion-promo .conversion-publisher-logo-aps{color:#b54a42!important;letter-spacing:.08em}
.conversion-promo .conversion-publisher-logo-taylor{color:#65418d!important;font-size:12px!important;letter-spacing:-.03em}
.conversion-publisher-card{height:275px;min-height:275px}
.conversion-publisher-viewport{height:187px}
.conversion-publisher-track{animation-duration:16s}
@keyframes conversion-publisher-scroll{0%,12%{transform:translateY(0)}42%,54%{transform:translateY(-230px)}84%,96%{transform:translateY(-460px)}100%{transform:translateY(-475px)}}
@media(max-width:760px){
  .conversion-promo{min-height:0;padding:35px 18px 31px}
  .conversion-flow-arrow-right{width:54px;height:20px}
  .conversion-publisher-card{height:260px;min-height:260px}
  .conversion-publisher-viewport{height:176px}
}

/* The promotion now leads with the concise Chinese service promise. */
.conversion-promo-copy-slogan{justify-content:center}
.conversion-promo .conversion-promo-slogan{display:flex;flex-direction:column;gap:7px;max-width:650px;margin:0!important;text-align:left!important;font-family:"Noto Sans SC","Microsoft YaHei","Segoe UI",sans-serif;font-size:clamp(29px,4.1vw,56px)!important;font-weight:800!important;letter-spacing:-.055em!important;line-height:1.18!important}
.conversion-promo .conversion-promo-slogan span{display:block;color:#1e3664;font-size:1em!important;font-weight:800!important;letter-spacing:inherit!important;line-height:inherit!important}
.conversion-promo .conversion-promo-slogan span:last-child{color:#3159a4}
@media(max-width:760px){.conversion-promo .conversion-promo-slogan{gap:5px;font-size:29px!important;letter-spacing:-.045em!important;text-align:center!important}.conversion-promo-copy-slogan{align-items:center}}

/* Final vertical expansion and localized editorial texture for the publisher
   card. The texture stays clipped to this card instead of drawing a loose
   orbit outside it. */
.conversion-promo{min-height:419px;padding-top:52px;padding-bottom:52px;padding-left:26px}
.conversion-promo .conversion-promo-slogan{gap:10px;letter-spacing:.02em!important}
.conversion-promo .conversion-promo-slogan span{letter-spacing:.02em!important}
.conversion-publisher-card{height:344px;min-height:344px;isolation:isolate}
.conversion-publisher-viewport{height:234px}
.conversion-publisher-card::before{content:"";position:absolute;z-index:0;inset:0;border:0;border-radius:0;transform:none;opacity:.5;pointer-events:none;background:repeating-linear-gradient(0deg,transparent 0 27px,rgb(117 143 190 / .1) 27px 28px),repeating-linear-gradient(90deg,transparent 0 35px,rgb(117 143 190 / .08) 35px 36px)}
.conversion-publisher-card::after{content:"";position:absolute;z-index:0;inset:0;opacity:.5;pointer-events:none;background:linear-gradient(#6e91d0 0 0) 14% 23% / 6px 6px no-repeat,linear-gradient(#d98cac 0 0) 83% 18% / 9px 4px no-repeat,linear-gradient(#83c8ab 0 0) 75% 78% / 5px 8px no-repeat,linear-gradient(#d9b565 0 0) 22% 86% / 7px 5px no-repeat,linear-gradient(115deg,transparent 0 44%,rgb(115 143 202 / .22) 44% 44.8%,transparent 44.8% 100%)}
.conversion-publisher-card-head,.conversion-publisher-viewport{z-index:1}
.conversion-promo .conversion-publisher-logo-elsevier{font-family:"Arial","Helvetica Neue","Segoe UI",sans-serif;font-weight:750;letter-spacing:-.05em;color:#ed6d25!important}
.conversion-promo .conversion-publisher-logo-wiley{font-family:"Arial","Helvetica Neue","Segoe UI",sans-serif;font-weight:750;letter-spacing:-.035em;color:#0073a8!important}
.conversion-promo .conversion-publisher-logo-aps{font-family:"Arial","Helvetica Neue","Segoe UI",sans-serif;font-weight:800;letter-spacing:.1em;color:#b52e3b!important}
@media(max-width:760px){
  .conversion-promo{min-height:0;padding:40px 18px 36px}
  .conversion-promo .conversion-promo-slogan{gap:7px;font-size:29px!important;letter-spacing:.01em!important;text-align:center!important}
  .conversion-promo .conversion-promo-slogan span{letter-spacing:.01em!important}
  .conversion-promo-copy-slogan{align-items:center}
  .conversion-publisher-card{height:330px;min-height:330px}
  .conversion-publisher-viewport{height:225px}
}

/* Keep the card surface clean: the homepage-like nebula and pixel grid live
   on a surrounding stage, outside the card's clipped edge. */
.conversion-promo-copy-slogan{position:relative;display:flex;flex-direction:column;justify-content:flex-start;padding-top:114px;box-sizing:border-box;transform:translateY(-101px)}
.conversion-promo-copy-slogan{isolation:isolate}
.conversion-promo-copy-slogan::before{content:"";position:absolute;z-index:0;inset:34px -82px 62px -92px;border-radius:48%;pointer-events:none;opacity:.72;filter:blur(30px);mask-image:radial-gradient(ellipse at 48% 48%,#000 0 42%,rgb(0 0 0 / .78) 61%,transparent 92%);-webkit-mask-image:radial-gradient(ellipse at 48% 48%,#000 0 42%,rgb(0 0 0 / .78) 61%,transparent 92%);background:radial-gradient(ellipse 42% 37% at 25% 35%,rgb(190 216 247 / .38) 0%,transparent 74%),radial-gradient(ellipse 45% 38% at 67% 35%,rgb(221 201 244 / .32) 0%,transparent 75%),radial-gradient(ellipse 48% 34% at 48% 82%,rgb(202 229 217 / .26) 0%,transparent 76%),radial-gradient(ellipse 34% 28% at 88% 67%,rgb(244 220 202 / .2) 0%,transparent 76%)}
.conversion-promo-copy-slogan>.conversion-promo-slogan,.conversion-promo-copy-slogan>.conversion-promo-note-detail{position:relative;z-index:1}
.conversion-promo .conversion-promo-slogan{font-family:"Arial Black","Microsoft YaHei UI","Microsoft YaHei","Noto Sans SC",sans-serif;font-size:clamp(25px,3.45vw,48px)!important;font-weight:900!important;letter-spacing:.03em!important}
.conversion-promo .conversion-promo-slogan{position:relative;left:-18px}
.conversion-promo .conversion-promo-slogan>span{color:#111!important;font-weight:900!important;letter-spacing:.03em!important;white-space:nowrap}
.conversion-promo .conversion-promo-slogan-accent-draft{color:#3157df!important}
.conversion-promo .conversion-promo-slogan-accent-submit{color:#4b8d72!important}
.conversion-promo .conversion-promo-slogan-accent-journal{color:#8057b9!important}
.conversion-promo .conversion-promo-slogan .conversion-promo-slogan-accent-draft,.conversion-promo .conversion-promo-slogan .conversion-promo-slogan-accent-submit,.conversion-promo .conversion-promo-slogan .conversion-promo-slogan-accent-journal{display:inline!important}
.conversion-promo-note-detail{display:block;max-width:640px;margin:72px 0 0!important;color:#3d454b!important;font-family:"Microsoft YaHei UI","Microsoft YaHei","Noto Sans SC",sans-serif;font-size:clamp(16px,1.42vw,18px)!important;font-weight:600!important;letter-spacing:.025em!important;line-height:1.55!important;text-align:left!important;white-space:normal}
.conversion-promo-note-logo{display:inline-flex!important;vertical-align:middle;align-items:center;justify-content:center;width:34px;height:30px;margin:0 8px 0 0;border-radius:9px;background:#eaf1ff!important;color:#315cc2!important;font-family:"Arial","Helvetica Neue",sans-serif!important;font-size:14px!important;font-weight:850!important;letter-spacing:-.08em!important;line-height:1!important;box-shadow:4px 5px 0 rgb(190 211 244 / .8),inset 0 1px 0 #fff}
button.promo-workspace-link{padding:0;border:0;min-width:0;min-height:0;cursor:pointer;text-decoration:none;transition:transform .16s ease,filter .16s ease}
button.promo-workspace-link:hover{transform:translateY(-2px);filter:brightness(1.04)}
button.promo-workspace-link:focus-visible{outline:3px solid #5b78db;outline-offset:6px}
@media(prefers-reduced-motion:reduce){button.promo-workspace-link{transition:none}button.promo-workspace-link:hover{transform:none}}
.conversion-promo-note-detail .conversion-promo-note-token{display:inline!important;margin:0 2px!important;font-size:inherit!important;font-weight:750!important;line-height:inherit!important;letter-spacing:.02em!important;white-space:nowrap}
.conversion-promo-note-detail .conversion-promo-note-token-word{font-family:"Segoe UI","Arial","Helvetica Neue",sans-serif!important;color:#3157df!important}
.conversion-promo-note-detail .conversion-promo-note-token-latex{font-family:Georgia,"Times New Roman",serif!important;color:#8057b9!important;letter-spacing:.015em!important}
.conversion-promo-feature-row{position:relative;z-index:1;display:flex;align-items:center;gap:12px;flex-wrap:nowrap;margin:48px 0 0 12px;max-width:590px}
.conversion-promo-feature{display:inline-flex;align-items:center;justify-content:center;min-height:42px;box-sizing:border-box;padding:10px 18px;border:1px solid rgb(109 118 139 / .16);border-radius:999px;background:#fff;color:#707586;font-family:ui-rounded,"Arial Rounded MT Bold","Nunito","Microsoft YaHei UI",sans-serif;font-size:15px;font-weight:750;letter-spacing:.02em;line-height:1;white-space:nowrap;box-shadow:0 8px 18px rgb(60 72 101 / .1),inset 0 1px 0 #fff}
.conversion-promo .conversion-promo-feature{color:#707586!important;font-size:15px!important;font-weight:750!important;line-height:1!important}
.conversion-promo-feature>span:last-child{display:inline!important;margin:0!important;color:inherit!important;font-size:inherit!important;font-weight:inherit!important;letter-spacing:inherit!important;line-height:inherit!important}
.conversion-promo-feature-check{display:inline-flex!important;align-items:center;justify-content:center;width:17px;height:17px;margin-right:8px!important;color:#a064ee!important;font-family:"Segoe UI",sans-serif!important;font-size:17px!important;font-weight:800!important;line-height:1!important}
.conversion-promo{transform:translateY(-28px)}
.conversion-scroll-cue{position:absolute;z-index:2;right:-8px;top:250px;width:280px;height:190px;pointer-events:none;--cue-progress:0}
.conversion-scroll-cue-rail{position:absolute;left:24px;top:0;width:2px;height:150px;border-radius:999px;background:repeating-linear-gradient(180deg,rgb(49 87 223 / .34) 0 8px,transparent 8px 16px)}
.conversion-scroll-cue-arm{position:absolute;left:24px;right:16px;top:150px;height:2px;border-radius:999px;background:rgb(49 87 223 / .34)}
.conversion-scroll-cue-marker{position:absolute;left:25px;top:0;display:block;transform:translate(-50%,calc(var(--cue-progress) * 132px));transition:transform .16s linear}
.conversion-scroll-cue-orb{display:block;width:13px;height:13px;border-radius:50%;background:#3157df;box-shadow:0 0 0 5px rgb(49 87 223 / .12),0 5px 12px rgb(49 87 223 / .22)}
.conversion-scroll-cue-arrow{position:absolute;right:8px;top:143px;display:block;width:16px;height:16px;border-top:3px solid #3157df;border-right:3px solid #3157df;transform:rotate(45deg);filter:drop-shadow(0 2px 3px rgb(49 87 223 / .18))}
.conversion-publisher-stage{position:relative;display:grid;place-items:center;min-width:0;min-height:434px;isolation:isolate}
.conversion-publisher-stage::before{content:"";position:absolute;z-index:0;inset:-74px -126px;border-radius:42%;opacity:.78;pointer-events:none;filter:blur(24px);background:radial-gradient(ellipse 33% 24% at 7% 22%,rgb(180 228 207 / .36) 0%,transparent 73%),radial-gradient(ellipse 36% 28% at 91% 14%,rgb(232 205 170 / .3) 0%,transparent 72%),radial-gradient(ellipse 45% 32% at 15% 88%,rgb(204 187 235 / .3) 0%,transparent 74%),radial-gradient(ellipse 35% 29% at 93% 84%,rgb(185 225 214 / .34) 0%,transparent 73%),radial-gradient(ellipse 31% 24% at 53% 51%,rgb(238 211 205 / .16) 0%,transparent 75%)}
.conversion-publisher-stage::after{content:"";position:absolute;z-index:0;inset:-62px -112px;opacity:.66;pointer-events:none;filter:blur(.25px);background:linear-gradient(rgb(112 114 117 / .18) 0 0) 5% 14% / 46px 2px no-repeat,linear-gradient(rgb(112 114 117 / .15) 0 0) 16% 32% / 2px 31px no-repeat,linear-gradient(rgb(128 128 128 / .14) 0 0) 28% 8% / 25px 2px no-repeat,linear-gradient(rgb(119 122 121 / .15) 0 0) 38% 19% / 2px 19px no-repeat,linear-gradient(rgb(126 126 126 / .13) 0 0) 49% 5% / 37px 2px no-repeat,linear-gradient(rgb(112 114 117 / .13) 0 0) 73% 11% / 2px 26px no-repeat,linear-gradient(rgb(121 121 121 / .15) 0 0) 91% 23% / 49px 2px no-repeat,linear-gradient(rgb(128 128 128 / .12) 0 0) 98% 43% / 2px 36px no-repeat,linear-gradient(rgb(116 118 118 / .14) 0 0) 8% 54% / 31px 2px no-repeat,linear-gradient(rgb(126 126 126 / .12) 0 0) 23% 73% / 2px 24px no-repeat,linear-gradient(rgb(111 113 114 / .13) 0 0) 43% 88% / 39px 2px no-repeat,linear-gradient(rgb(119 119 119 / .13) 0 0) 57% 77% / 2px 29px no-repeat,linear-gradient(rgb(132 132 132 / .12) 0 0) 76% 95% / 26px 2px no-repeat,linear-gradient(rgb(115 117 118 / .14) 0 0) 88% 68% / 2px 33px no-repeat,linear-gradient(rgb(127 127 127 / .13) 0 0) 96% 82% / 35px 2px no-repeat,linear-gradient(rgb(124 124 124 / .12) 0 0) 61% 27% / 28px 2px no-repeat,linear-gradient(rgb(113 115 116 / .12) 0 0) 4% 92% / 2px 22px no-repeat,linear-gradient(rgb(130 130 130 / .12) 0 0) 34% 62% / 19px 2px no-repeat,linear-gradient(rgb(116 116 116 / .12) 0 0) 82% 47% / 2px 20px no-repeat}
.conversion-publisher-card{position:relative;z-index:1;width:100%;height:344px;min-height:344px;background:linear-gradient(145deg,#f6eaff 0%,#f8f5ff 46%,#e9f5ff 100%);}
.conversion-publisher-card::before,.conversion-publisher-card::after{content:none!important}
.conversion-promo .conversion-publisher-logo-elsevier{font-family:Georgia,"Times New Roman",serif;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:#f36f21!important}
.conversion-promo .conversion-publisher-logo-wiley{font-family:Georgia,"Times New Roman",serif;font-weight:500;letter-spacing:.11em;text-transform:uppercase;color:#20232c!important}
.conversion-promo .conversion-publisher-logo-aps{position:relative;font-family:"Arial","Helvetica Neue",sans-serif;font-weight:800;letter-spacing:.08em;color:#2f6fae!important}
.conversion-promo .conversion-publisher-logo-aps::before{content:"";position:absolute;left:calc(50% - 34px);width:18px;height:10px;border:2px solid #78b79b;border-right-color:transparent;border-radius:50%;transform:rotate(22deg);opacity:.95}
.conversion-promo .conversion-publisher-logo-cell{background:#fff!important;color:#2d7db6!important;font-family:"Arial","Helvetica Neue",sans-serif;font-weight:800;letter-spacing:-.03em;box-shadow:0 4px 10px rgb(48 64 106 / .1),inset 0 1px 0 rgb(255 255 255 / .2)}
@media(max-width:760px){
  .conversion-promo{transform:none}
  .conversion-promo .conversion-promo-slogan{left:0}
  .conversion-promo-copy-slogan{justify-content:center;padding-top:0;transform:translateY(-46px)}
  .conversion-publisher-stage{min-height:420px}
  .conversion-publisher-stage::before,.conversion-publisher-stage::after{inset:-22px -30px}
  .conversion-publisher-card{height:330px;min-height:330px}
  .conversion-promo .conversion-publisher-logo-aps::before{left:calc(50% - 30px)}
}

/* Corner affordances sit on the surrounding stage, leaving the publisher
   card surface untouched.  The ambient grid uses neutral tones only. */
.conversion-publisher-stage::after{content:none!important}
.conversion-publisher-stage-grid{position:absolute;z-index:0;inset:-116px -184px;pointer-events:none;opacity:.62;overflow:hidden;mask-image:radial-gradient(ellipse at center,black 20%,rgb(0 0 0 / .82) 52%,transparent 93%);-webkit-mask-image:radial-gradient(ellipse at center,black 20%,rgb(0 0 0 / .82) 52%,transparent 93%);background-image:linear-gradient(90deg,rgb(99 108 119 / .11) 1px,transparent 1px),linear-gradient(0deg,rgb(99 108 119 / .11) 1px,transparent 1px),linear-gradient(90deg,rgb(121 128 136 / .075) 1px,transparent 1px),linear-gradient(0deg,rgb(121 128 136 / .075) 1px,transparent 1px),linear-gradient(90deg,rgb(143 148 155 / .05) 1px,transparent 1px),linear-gradient(0deg,rgb(143 148 155 / .05) 1px,transparent 1px);background-position:0 0,0 0,17px 10px,17px 10px,8px 25px,8px 25px;background-size:74px 74px,74px 74px,128px 128px,128px 128px,34px 34px,34px 34px;}
.conversion-publisher-stage-grid::after{content:"";position:absolute;inset:0;opacity:.52;background:linear-gradient(rgb(108 116 125 / .11) 0 0) 7% 15% / 42px 42px no-repeat,linear-gradient(rgb(108 116 125 / .08) 0 0) 23% 69% / 26px 26px no-repeat,linear-gradient(rgb(108 116 125 / .09) 0 0) 46% 8% / 58px 58px no-repeat,linear-gradient(rgb(108 116 125 / .075) 0 0) 67% 74% / 39px 39px no-repeat,linear-gradient(rgb(108 116 125 / .08) 0 0) 88% 30% / 47px 47px no-repeat,linear-gradient(rgb(108 116 125 / .065) 0 0) 94% 89% / 23px 23px no-repeat;}
.conversion-publisher-callout{position:absolute;z-index:2;display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:6px 12px;border:1px solid rgb(31 35 42 / .09);border-radius:10px;background:#fff;color:#171a20!important;font-family:"Microsoft YaHei UI","Microsoft YaHei","Noto Sans SC",sans-serif;font-size:12px;font-weight:750;line-height:1;letter-spacing:.03em;white-space:nowrap;box-shadow:0 8px 18px rgb(39 52 74 / .11),inset 0 1px 0 rgb(255 255 255 / .96)}
.conversion-publisher-callout-quick{top:-10px;left:-28px}
.conversion-publisher-callout-simple{top:16px;right:-24px}
.conversion-publisher-callout-template{right:-30px;bottom:-10px}
.conversion-publisher-callout-safe{bottom:18px;left:-24px}
.conversion-section{overflow:visible}
html,body{overflow-x:hidden}
.conversion-promo .conversion-publisher-logo-wiley{font-style:normal!important}
/* The publisher list contains two identical sets. Move exactly one set per
   cycle so the loop never pauses or jumps at a keyframe. */
.conversion-publisher-track{animation:conversion-publisher-scroll-continuous 13s linear infinite;will-change:transform}
@keyframes conversion-publisher-scroll-continuous{from{transform:translate3d(0,0,0)}to{transform:translate3d(0,-552px,0)}}
.conversion-promo .conversion-publisher-logo-mdpi{color:#28559a!important;font-family:"Arial","Helvetica Neue","Segoe UI",sans-serif;font-weight:800;letter-spacing:.04em}
.conversion-promo .conversion-publisher-logo-rsc{color:#176a66!important;font-family:Georgia,"Times New Roman",serif;font-weight:700;letter-spacing:.04em}
.conversion-promo .conversion-publisher-logo-rsc-letter-r{color:#e4b331!important}
.conversion-promo .conversion-publisher-logo-rsc-letter-s{color:#4b9b6d!important}
.conversion-promo .conversion-publisher-logo-rsc-letter-c{color:#3f73c9!important}

/* Community MVP -------------------------------------------------------- */
.workflow-module-community .workflow-status{color:#2f72b4;font-weight:800}
.community-screen{position:fixed;inset:0;z-index:120;display:none;overflow:auto;background:radial-gradient(circle at 12% 2%,rgb(255 255 255 / .92),transparent 32%),linear-gradient(135deg,#eef2fa 0%,#f7f9fc 52%,#eef3fb 100%);color:var(--dashboard-ink,#1b365f)}
body.community-view .community-screen{display:block!important}
body.community-view .entry-screen,body.community-view .service-screen,body.community-view .login-screen,body.community-view .sidebar,body.community-view .main{display:none!important}
.community-header{height:78px;display:flex;align-items:center;gap:22px;padding:0 42px;border-bottom:1px solid rgb(212 219 230 / .72);background:rgb(255 255 255 / .76);backdrop-filter:blur(14px)}
.community-header .service-brand{flex:none}
.community-header-meta{display:flex;align-items:center;gap:12px;min-width:0;margin-right:auto}
.community-header-kicker,.community-kicker,.community-section-kicker{font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#8190a8}
.community-header-status{padding:7px 11px;border:1px solid #dbe5f0;border-radius:999px;background:#f4f8fc;color:#59806f;font-size:11px;font-weight:700;white-space:nowrap}.community-header-status.error{background:#fff1f1;border-color:#f1d6d6;color:#bd5d68}
.community-main{width:min(1120px,calc(100% - 64px));margin:0 auto;padding:54px 0 86px}
.community-hero{display:flex;align-items:center;justify-content:space-between;gap:32px;margin-bottom:28px}
.community-hero h1{margin:9px 0 10px;color:#182d54;font-size:clamp(32px,4vw,52px);font-weight:800;letter-spacing:-.045em;line-height:1.06}
.community-hero p{max-width:650px;margin:0;color:#708099;font-size:16px;line-height:1.75}
.community-hero-mark{position:relative;display:grid;place-items:center;width:120px;height:120px;flex:none;border:1px solid #d4dfed;border-radius:34px;background:linear-gradient(145deg,#fff 0%,#edf2ff 100%);box-shadow:0 18px 40px rgb(51 79 126 / .12),inset 0 1px 0 #fff;color:#2455df;font-size:28px;transform:rotate(4deg)}
.community-hero-mark span:nth-child(1){position:absolute;top:18px;left:22px;color:#39bd8a;font-size:32px}.community-hero-mark span:nth-child(2){position:absolute;right:20px;bottom:16px;color:#8c6ad9;font-size:22px}.community-hero-mark span:nth-child(3){position:absolute;right:30px;top:25px;color:#d6a84b;font-size:18px}
.community-identity-card,.community-discovery,.community-create-panel,.community-detail{margin-top:22px;padding:24px 26px;border:1px solid #e1e7f0;border-radius:20px;background:rgb(255 255 255 / .86);box-shadow:0 14px 32px rgb(42 64 96 / .07),inset 0 1px 0 #fff}
.community-card-heading,.community-section-heading,.community-panel-heading,.community-detail-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.community-card-heading h2,.community-section-heading h2{margin:5px 0 0;color:#233b65;font-size:22px;letter-spacing:-.02em}.community-card-copy{margin:12px 0 18px;color:#77849a;font-size:13px;line-height:1.65}
.community-dev-badge{padding:7px 10px;border-radius:9px;background:#eef5ff;color:#5070ac;font-size:11px;font-weight:800;white-space:nowrap}
.community-identity-grid{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end}.community-identity-grid label,.community-existing-id label,.community-form label{display:grid;gap:7px;color:#687892;font-size:12px;font-weight:700}.community-identity-grid input,.community-existing-id input,.community-form input,.community-form select,.community-form textarea,.community-search-wrap input,.community-message-form textarea{width:100%;box-sizing:border-box;border:1px solid #dfe5ed;border-radius:11px;background:#fbfcfe;color:#253957;padding:11px 12px;font:inherit;font-size:13px;outline:none;transition:border-color .18s,box-shadow .18s}.community-identity-grid input:focus,.community-existing-id input:focus,.community-form input:focus,.community-form select:focus,.community-form textarea:focus,.community-search-wrap input:focus,.community-message-form textarea:focus{border-color:#88a9ed;box-shadow:0 0 0 3px rgb(36 85 223 / .1)}
.community-existing-id{display:flex;align-items:end;gap:10px;margin-top:12px}.community-existing-id label{flex:1}.community-identity-status{min-height:18px;align-self:center;color:#77849a;font-size:12px}.community-identity-status.success{color:#3b8b6d}.community-identity-status.error,.community-status.error{color:#bd5d68}
.community-primary-button,.community-secondary-button,.community-icon-button{border:0;border-radius:10px;padding:11px 16px;font:inherit;font-size:12px;font-weight:800;cursor:pointer;transition:transform .18s,box-shadow .18s,background .18s}.community-primary-button{background:#2455df;color:#fff;box-shadow:0 8px 16px rgb(36 85 223 / .18)}.community-primary-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 11px 20px rgb(36 85 223 / .24)}.community-secondary-button{border:1px solid #dce4ef;background:#f7f9fc;color:#496281}.community-secondary-button:hover:not(:disabled){background:#edf2fb}.community-primary-button:disabled,.community-secondary-button:disabled{cursor:not-allowed;opacity:.55}.community-icon-button{padding:4px 10px;background:#f0f3f8;color:#65738b;font-size:20px;line-height:1}
.community-discovery{margin-top:30px}.community-section-heading{align-items:center}.community-section-heading h2{margin-bottom:0}.community-toolbar{display:flex;gap:10px;margin-top:18px}.community-search-wrap{display:flex;align-items:center;gap:8px;flex:1;min-width:0;padding:0 12px;border:1px solid #dfe5ed;border-radius:11px;background:#fbfcfe;color:#8c99ac}.community-search-wrap input{border:0;padding-left:0;background:transparent;box-shadow:none}.community-status{min-height:20px;margin:13px 2px 5px;color:#7b8799;font-size:12px}.community-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:6px}.community-circle-card{position:relative;display:flex;align-items:flex-start;gap:14px;width:100%;padding:19px;text-align:left;border:1px solid #e0e7f0;border-radius:16px;background:#fff;color:inherit;box-shadow:0 8px 20px rgb(42 64 96 / .045);cursor:pointer;transition:transform .18s,box-shadow .18s,border-color .18s}.community-circle-card:hover{transform:translateY(-2px);border-color:#bdd0f3;box-shadow:0 14px 26px rgb(42 64 96 / .1)}.community-circle-avatar{display:grid;place-items:center;width:44px;height:44px;flex:none;border-radius:14px;background:linear-gradient(145deg,#eaf0ff,#dce8ff);color:#315bd1;font-size:20px;font-weight:800}.community-circle-card-body{display:grid;gap:7px;min-width:0}.community-circle-card-top{display:flex;align-items:center;gap:8px}.community-circle-card-top strong{color:#243b62;font-size:15px}.community-visibility-pill,.community-resource-kind{padding:4px 7px;border-radius:999px;background:#eaf7f1;color:#3f8d6c;font-size:10px;font-weight:800}.community-visibility-pill.private{background:#fff4df;color:#a77b2b}.community-circle-topic{color:#6d7d94;font-size:12px;font-weight:700}.community-circle-description{display:-webkit-box;overflow:hidden;color:#8792a2;font-size:12px;line-height:1.5;-webkit-line-clamp:2;-webkit-box-orient:vertical}.community-circle-meta{display:flex;gap:11px;color:#9aa4b1;font-size:11px}.community-tags{display:flex;gap:5px;flex-wrap:wrap}.community-tag{padding:4px 7px;border-radius:7px;background:#f1f4fa;color:#7587a3;font-size:10px}.community-card-arrow{position:absolute;right:17px;top:17px;color:#8da2c6;font-size:17px}.community-empty-card{grid-column:1/-1;display:grid;justify-items:center;padding:44px 20px;border:1px dashed #ccd8e9;border-radius:16px;background:#f8faff;text-align:center}.community-empty-mark{display:grid;place-items:center;width:42px;height:42px;margin-bottom:8px;border-radius:13px;background:#e7eefc;color:#5b78c9;font-size:23px}.community-empty-card h3{margin:4px 0;color:#37537e;font-size:17px}.community-empty-card p{max-width:420px;margin:4px 0 16px;color:#8794a8;font-size:12px;line-height:1.6}.community-empty-error .community-empty-mark{background:#fff1f1;color:#bd5d68}
.community-form{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:20px}.community-form-wide{grid-column:1/-1}.community-form textarea{resize:vertical}.community-form-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:10px}.community-detail{scroll-margin-top:20px}.community-detail-heading{align-items:center}.community-back-link{border:0;background:none;color:#6580ab;font:inherit;font-size:12px;font-weight:800;cursor:pointer}.community-detail-actions{display:flex;align-items:center;gap:10px}.community-detail-visibility{padding:6px 10px;border-radius:999px;background:#eaf7f1;color:#3f8d6c;font-size:11px;font-weight:800}.community-detail-visibility.private{background:#fff4df;color:#a77b2b}.community-detail-title-row{display:flex;justify-content:space-between;gap:20px;align-items:end;margin:22px 0 24px}.community-detail-title-row h2{margin:5px 0 8px;color:#233b65;font-size:30px;letter-spacing:-.04em}.community-detail-title-row p{max-width:650px;margin:0;color:#7b8799;font-size:13px;line-height:1.65}.community-king-card{min-width:150px;padding:13px 15px;border-radius:13px;background:linear-gradient(145deg,#f7f1df,#fffaf0);color:#9a7934}.community-king-card span{display:block;font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.community-king-card strong{display:block;margin-top:5px;color:#6f5724;font-size:14px}.community-detail-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(260px,.85fr);gap:16px}.community-panel{padding:18px;border:1px solid #e5eaf1;border-radius:15px;background:#fbfcfe}.community-panel-heading{align-items:center}.community-panel-heading h3{margin:4px 0 0;color:#30486d;font-size:15px}.community-panel-heading select{border:1px solid #dfe5ed;border-radius:9px;background:#fff;color:#516580;padding:8px 10px;font:inherit;font-size:12px}.community-message-list{display:grid;gap:12px;max-height:440px;overflow:auto;margin-top:16px;padding-right:3px}.community-message{display:flex;gap:10px}.community-message-avatar{display:grid;place-items:center;width:30px;height:30px;flex:none;border-radius:10px;background:#eaf0ff;color:#5876c4;font-size:12px;font-weight:800}.community-message-meta{display:flex;align-items:baseline;gap:8px}.community-message-meta strong{color:#3a5071;font-size:12px}.community-message-meta time{color:#a5adba;font-size:10px}.community-message p{margin:4px 0 0;color:#66758d;font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.community-list-empty{padding:28px 10px;color:#9aa5b4;font-size:12px;line-height:1.6;text-align:center}.community-message-form{display:grid;gap:9px;margin-top:17px;padding-top:15px;border-top:1px solid #e7ebf2}.community-message-form textarea{min-height:80px}.community-message-form>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.community-form-hint{color:#9aa4b1;font-size:11px}.community-side-stack{display:grid;align-content:start;gap:16px}.community-resource-list{display:grid;gap:10px;margin-top:14px}.community-resource{padding:11px 12px;border-radius:11px;background:#f2f5fa}.community-resource strong{color:#3a5071;font-size:12px}.community-resource p{display:-webkit-box;overflow:hidden;margin:6px 0;color:#7b8799;font-size:11px;line-height:1.5;-webkit-line-clamp:3;-webkit-box-orient:vertical}.community-resource>span,.community-resource>a{color:#7991ba;font-size:10px}.community-resource a{text-decoration:none}.community-resource-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.community-resource-kind{padding:3px 6px;background:#e8effc;color:#6680ba;font-size:9px}.community-resource-muted{color:#a5adb9!important}
@media(max-width:900px){.community-main{width:min(100% - 38px,720px);padding-top:36px}.community-grid{grid-template-columns:1fr}.community-detail-grid{grid-template-columns:1fr}.community-side-stack{grid-template-columns:1fr 1fr}.community-hero-mark{width:94px;height:94px}.community-identity-grid{grid-template-columns:1fr 1fr}.community-identity-grid .community-primary-button{grid-column:1/-1;justify-self:start}}
@media(max-width:760px){.community-header{height:66px;padding:0 18px;gap:12px}.community-header .service-brand img{max-width:125px}.community-header-meta{display:none}.community-header .service-back{margin-left:auto}.community-main{width:calc(100% - 28px);padding:28px 0 50px}.community-hero{align-items:flex-start}.community-hero-mark{display:none}.community-hero h1{font-size:35px}.community-hero p{font-size:14px}.community-identity-card,.community-discovery,.community-create-panel,.community-detail{padding:19px 16px;border-radius:16px}.community-identity-grid,.community-form{grid-template-columns:1fr}.community-form-wide,.community-form-actions{grid-column:auto}.community-existing-id{align-items:stretch;flex-wrap:wrap}.community-existing-id label{flex-basis:100%}.community-existing-id .community-secondary-button{flex:0 0 auto}.community-toolbar{flex-wrap:wrap}.community-search-wrap{flex-basis:100%}.community-toolbar .community-primary-button{flex:1}.community-toolbar .community-secondary-button{flex:1}.community-section-heading h2{font-size:19px}.community-detail-title-row{align-items:flex-start;flex-direction:column}.community-detail-title-row h2{font-size:26px}.community-detail-actions{width:100%;justify-content:space-between}.community-detail-actions .community-primary-button{flex:1}.community-side-stack{grid-template-columns:1fr}.community-message-form>div{align-items:flex-start;flex-direction:column}.community-message-form .community-primary-button{width:100%}}

/* Scroll cue for the one-minute destination.  The path starts beside the
   slogan, drops below the copy, then points into the compact UI target. */
.conversion-minute-flow{position:absolute;z-index:3;left:0;top:0;width:260px;height:526px;pointer-events:none;--minute-progress:0;--minute-x:-55px;--minute-y:144px}
.conversion-minute-flow-origin{position:absolute;left:-61px;top:138px;width:12px;height:12px;border-radius:50%;background:#d4d8dc;border:2px solid #c8cdd1;box-sizing:border-box;box-shadow:0 0 0 5px rgb(160 169 176 / .1),0 5px 12px rgb(160 169 176 / .13)}
.conversion-minute-flow-rail{position:absolute;left:-55px;top:180px;width:2px;height:296px;border-radius:999px;background:#d4d8dc;box-shadow:0 0 0 1px rgb(160 169 176 / .08),0 5px 14px rgb(160 169 176 / .12)}
.conversion-minute-flow-arm{position:absolute;left:-55px;top:474px;width:235px;height:2px;border-radius:999px;background:#d4d8dc;box-shadow:0 0 0 1px rgb(160 169 176 / .08),0 5px 14px rgb(160 169 176 / .12)}
.conversion-minute-flow-marker{position:absolute;left:0;top:0;display:block;transform:translate(var(--minute-x),var(--minute-y)) translate(-50%,-50%);transition:none;will-change:transform}
.conversion-minute-flow-ball{display:block;width:15px;height:15px;border-radius:50%;background:#fff;border:2px solid #c8cdd1;box-sizing:border-box;box-shadow:0 0 0 5px rgb(160 169 176 / .1),0 6px 14px rgb(160 169 176 / .16)}
.conversion-minute-target{position:absolute;z-index:4;left:188px;top:447px;width:180px;min-height:58px;display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:12px 18px;border:1px solid rgb(145 155 164 / .3);border-radius:17px;background:#fff;color:#202b3d;font-family:ui-rounded,"Arial Rounded MT Bold","Nunito","Microsoft YaHei UI",sans-serif;font-size:16px;font-weight:800;letter-spacing:.02em;line-height:1.2;white-space:nowrap;box-shadow:0 14px 26px rgb(52 69 106 / .1),inset 0 1px 0 #fff}
.conversion-minute-target>span{display:inline!important;margin:0!important;color:#202b3d!important;font-size:inherit!important;font-weight:inherit!important;letter-spacing:inherit!important;line-height:inherit!important}
.conversion-minute-target::before{content:"";width:7px;height:7px;flex:none;margin-right:9px;border-radius:50%;background:#d4d8dc;box-shadow:0 0 0 4px rgb(160 169 176 / .08)}
/* Use one continuous rounded connector so the lower-left turn feels soft. */
.conversion-minute-flow-rail,.conversion-minute-flow-arm{display:none}
.conversion-minute-flow::before{content:"";position:absolute;left:-55px;top:150px;width:235px;height:326px;box-sizing:border-box;border-left:2px solid #d4d8dc;border-bottom:2px solid #d4d8dc;border-bottom-left-radius:18px}
.conversion-minute-target::before{background:#39c779;box-shadow:0 0 0 3px rgb(57 199 121 / .17),0 0 10px rgb(57 199 121 / .46);animation:available-status-glow 2.2s ease-in-out infinite}
@media(prefers-reduced-motion:reduce){.conversion-minute-target::before{animation:none}}
@media(max-width:760px){
  .conversion-publisher-stage-grid{inset:-78px -84px;opacity:.54}
  .conversion-publisher-callout{min-height:27px;padding:5px 9px;font-size:11px}
  .conversion-promo-note-detail{max-width:340px;margin-top:42px!important;font-size:13px!important;line-height:1.6!important;font-weight:600!important}
  .conversion-promo-feature-row{gap:8px;margin:28px 0 0;max-width:100%;justify-content:center;flex-wrap:wrap}
  .conversion-promo-feature{min-height:36px;padding:8px 12px;font-size:13px}
  .conversion-promo .conversion-promo-feature{font-size:13px!important}
  .conversion-promo-feature-check{width:14px;height:14px;margin-right:6px!important;font-size:14px!important}
  .conversion-minute-flow{left:0;top:0;width:150px;height:375px}
  .conversion-minute-flow-origin{left:-16px;top:122px;width:10px;height:10px}
  .conversion-minute-flow::before{left:-10px;top:133px;width:104px;height:219px;border-left-width:1.5px;border-bottom-width:1.5px;border-bottom-left-radius:12px}
  .conversion-minute-flow-ball{width:13px;height:13px}
  .conversion-minute-target{left:106px;top:323px;width:150px;min-height:50px;padding:10px 12px;font-size:14px}
  .conversion-minute-target::before{width:6px;height:6px;margin-right:6px}
  .conversion-publisher-callout-quick{top:-8px;left:2px}
  .conversion-publisher-callout-simple{top:18px;right:2px}
  .conversion-publisher-callout-template{right:5px;bottom:-9px}
  .conversion-publisher-callout-safe{bottom:18px;left:4px}
}

.community-add-resource{width:30px;height:30px;padding:0;font-size:17px}.community-inline-form{display:grid;gap:10px;margin-top:12px;padding:12px;border:1px solid #e0e7f0;border-radius:11px;background:#f7f9fc}.community-inline-form label{display:grid;gap:5px;color:#74829a;font-size:10px;font-weight:800}.community-inline-form input,.community-inline-form select,.community-inline-form textarea{width:100%;box-sizing:border-box;border:1px solid #dfe5ed;border-radius:8px;background:#fff;color:#30486d;padding:8px 9px;font:inherit;font-size:11px}.community-inline-form textarea{resize:vertical}.community-inline-form-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}.community-inline-form-actions{display:flex;justify-content:flex-end;gap:7px}.community-inline-form-actions .community-primary-button,.community-inline-form-actions .community-secondary-button{padding:8px 10px;font-size:11px}
@media(max-width:760px){.community-inline-form-row{grid-template-columns:1fr}}

/* Community workspace refresh -------------------------------------------
   A restrained light shell keeps the Discord-inspired hierarchy while
   matching the product's black-on-white dashboard language. */
body.community-view{background:#fff}
body.community-view .community-screen{background:#fff;color:#171717;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;overflow:hidden}
body.community-view .community-screen [hidden]{display:none!important}
body.community-view .community-header{height:68px;box-sizing:border-box;padding:0 24px;border-bottom:1px solid #e6e6e2;background:#fff;backdrop-filter:none}
body.community-view .community-header .service-brand img{max-width:146px}
body.community-view .community-header-meta{gap:12px}
body.community-view .community-header-kicker{color:#6c6c69;font-size:10px;letter-spacing:.16em}
body.community-view .community-header-status{border:1px solid #deded9;border-radius:999px;background:#fafaf9;color:#5d5d59;font-size:11px;padding:6px 10px}
body.community-view .community-header-status.error{border-color:#e8caca;background:#fff7f7;color:#a34141}
body.community-view .community-header-actions{display:flex;align-items:center;gap:8px;margin-left:auto}
body.community-view .community-header .service-back{border:1px solid #deded9;border-radius:9px;background:#fff;color:#444;padding:9px 12px;font-size:12px}
body.community-view .community-header .service-back:hover{background:#f3f3f1}
body.community-view .community-header .community-secondary-button{border-color:#deded9;background:#151515;color:#fff;padding:9px 12px}
body.community-view .community-header .community-secondary-button:hover{background:#333}
body.community-view .community-shell{display:grid;grid-template-columns:72px 272px minmax(0,1fr);height:calc(100vh - 68px);min-height:0;overflow:hidden}
body.community-view .community-server-rail{display:flex;flex-direction:column;align-items:center;gap:10px;min-height:0;padding:16px 0 14px;border-right:1px solid #e7e7e4;background:#f5f5f3}
body.community-view .community-rail-home,.community-rail-action,.community-rail-profile{display:grid;place-items:center;width:42px;height:42px;box-sizing:border-box;border:1px solid #d9d9d4;border-radius:14px;background:#fff;color:#171717;font:inherit;font-size:14px;font-weight:850;cursor:pointer;transition:background .16s,border-color .16s,color .16s,transform .16s}
body.community-view .community-rail-home{border-color:#d9e5f2;background:#fff;color:#fff;font-size:16px;letter-spacing:-.08em}
.community-rail-home img{display:block;width:36px;height:36px;object-fit:contain}
body.community-view .community-rail-home:hover,.community-rail-action:hover,.community-rail-profile:hover{border-color:#171717;background:#171717;color:#fff;transform:translateY(-1px)}
body.community-view .community-rail-divider{width:30px;height:1px;background:#deded9;flex:none}
body.community-view .community-circle-list{display:flex;flex:1;flex-direction:column;align-items:center;gap:9px;width:100%;min-height:0;overflow:auto;padding:2px 0}
body.community-view .community-circle-card{position:relative;display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:14px;background:transparent;box-shadow:none;cursor:pointer}
body.community-view .community-circle-card:hover .community-circle-avatar,body.community-view .community-circle-card.active .community-circle-avatar{border-color:#171717;background:#171717;color:#fff;transform:translateY(-1px)}
body.community-view .community-circle-card.active::before{content:"";position:absolute;left:-14px;width:3px;height:24px;border-radius:0 3px 3px 0;background:#171717}
body.community-view .community-circle-avatar{display:grid;place-items:center;width:42px;height:42px;border:1px solid #d9d9d4;border-radius:14px;background:#fff;color:#222;font-size:15px;font-weight:800;transition:background .16s,border-color .16s,color .16s,transform .16s}
body.community-view .community-circle-avatar img{display:block;width:100%;height:100%;border-radius:inherit;object-fit:cover}
body.community-view .community-circle-tooltip{position:absolute;z-index:20;left:54px;top:50%;width:max-content;max-width:210px;transform:translateY(-50%) translateX(-4px);padding:8px 10px;border:1px solid #deded9;border-radius:7px;background:#171717;color:#fff;font-size:11px;opacity:0;pointer-events:none;transition:opacity .16s,transform .16s}
body.community-view .community-circle-card:hover .community-circle-tooltip,.community-circle-card:focus-visible .community-circle-tooltip{opacity:1;transform:translateY(-50%) translateX(0)}
body.community-view .community-rail-actions{display:grid;gap:8px;padding-top:4px}
body.community-view .community-rail-action{width:38px;height:38px;border-radius:12px;background:transparent;color:#555}
body.community-view .community-rail-spacer{flex:1}
body.community-view .community-rail-profile{width:38px;height:38px;border-radius:12px;background:#e7e7e3;color:#444;font-size:12px}
body.community-view .community-rail-empty{display:grid;justify-items:center;gap:7px;width:100%;padding:5px 0;color:#777;font-size:10px;text-align:center}
body.community-view .community-rail-empty-mark{display:grid;place-items:center;width:38px;height:38px;border:1px dashed #c9c9c3;border-radius:12px;color:#888;font-size:17px}
body.community-view .community-rail-empty button{display:grid;place-items:center;width:28px;height:28px;border:1px solid #d5d5d0;border-radius:9px;background:#fff;color:#222;font-size:16px;cursor:pointer}
body.community-view .community-channel-rail{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:auto;border-right:1px solid #e7e7e4;background:#fbfbfa}
body.community-view .community-channel-community-header{display:flex;gap:11px;align-items:flex-start;min-height:91px;padding:20px 16px 15px;border-bottom:1px solid #e7e7e4}
body.community-view .community-channel-logo{display:grid;place-items:center;width:38px;height:38px;flex:none;border:1px solid #d4d4cf;border-radius:12px;background:#171717;color:#fff;font-size:16px;font-weight:800}
body.community-view .community-channel-logo.has-image,body.community-view .community-detail-avatar.has-image{background-position:center;background-size:cover;color:transparent;font-size:0}
body.community-view .community-channel-community-copy{min-width:0}
body.community-view .community-channel-community-copy strong{display:block;overflow:hidden;color:#171717;font-size:13px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
body.community-view .community-channel-community-copy p{display:-webkit-box;overflow:hidden;margin:4px 0 0;color:#777773;font-size:11px;line-height:1.45;-webkit-line-clamp:2;-webkit-box-orient:vertical}
body.community-view .community-workspace-nav{display:grid;gap:3px;padding:14px 10px 16px;border-bottom:1px solid #e7e7e4}
body.community-view .community-workspace-tab{display:flex;align-items:center;gap:9px;width:100%;padding:9px 10px;border:0;border-radius:7px;background:transparent;color:#72726e;font:inherit;font-size:12px;font-weight:750;text-align:left;cursor:pointer}
body.community-view .community-workspace-tab span{width:16px;color:#999994;font-size:14px;text-align:center}
body.community-view .community-workspace-tab:hover{background:#f0f0ee;color:#171717}
body.community-view .community-workspace-tab.active{background:#171717;color:#fff}
body.community-view .community-workspace-tab.active span{color:#fff}
body.community-view .community-tag-heading{display:flex;align-items:center;justify-content:space-between;padding:18px 16px 8px;color:#898985;font-size:9px;font-weight:850;letter-spacing:.14em}
body.community-view .community-rail-add-tag{width:22px;height:22px;border:0;border-radius:6px;background:transparent;color:#a0a09b;font-size:16px;line-height:1;cursor:not-allowed}
body.community-view .community-tag-list{display:grid;gap:2px;padding:0 9px}
body.community-view .community-tag-button{display:flex;align-items:center;gap:7px;width:100%;padding:8px 9px;border:0;border-radius:7px;background:transparent;color:#777773;font:inherit;font-size:12px;text-align:left;cursor:pointer}
body.community-view .community-tag-button:hover{background:#f0f0ee;color:#222}
body.community-view .community-tag-button.active{background:#e9e9e6;color:#171717;font-weight:800}
body.community-view .community-tag-hash{color:#a2a29d;font-size:14px}
body.community-view .community-tag-button.active .community-tag-hash{color:#171717}
body.community-view .community-tag-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.community-view .community-tag-count{color:#aaa9a4;font-size:10px}
body.community-view .community-tag-empty{padding:8px 10px;color:#aaa9a4;font-size:11px;line-height:1.5}
body.community-view .community-channel-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding:14px 16px;border-top:1px solid #e7e7e4}
body.community-view .community-channel-footer-label{color:#aaa9a4;font-size:9px;font-weight:850;letter-spacing:.1em}
body.community-view .community-channel-footer .community-status{min-height:0;margin:0;max-width:118px;overflow:hidden;color:#757570;font-size:10px;text-align:right;text-overflow:ellipsis;white-space:nowrap}
body.community-view .community-main-column{min-width:0;min-height:0;overflow:auto;background:#fff}
body.community-view .community-workspace-empty{display:grid;place-items:center;align-content:center;min-height:100%;box-sizing:border-box;padding:50px;text-align:center}
body.community-view .community-workspace-empty .community-empty-mark{display:grid;place-items:center;width:58px;height:58px;margin-bottom:15px;border:1px solid #deded9;border-radius:18px;background:#f5f5f3;color:#5d5d59;font-size:26px}
body.community-view .community-workspace-empty h1{margin:0;color:#171717;font-size:26px;letter-spacing:-.03em}
body.community-view .community-workspace-empty p{max-width:390px;margin:9px 0 20px;color:#777773;font-size:13px;line-height:1.65}
body.community-view .community-main-column .community-detail{min-height:100%;margin:0;padding:0 36px 64px;border:0;border-radius:0;background:#fff;box-shadow:none}
body.community-view .community-main-topbar{position:sticky;z-index:4;top:0;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:62px;box-sizing:border-box;border-bottom:1px solid #e7e7e4;background:rgb(255 255 255 / .96);backdrop-filter:blur(8px)}
body.community-view .community-main-channel{display:flex;align-items:center;gap:8px;color:#171717;font-size:13px;font-weight:800}
body.community-view .community-main-channel-symbol{color:#9a9a95;font-size:18px}
body.community-view .community-main-api-note{color:#a0a09b;font-size:10px}
body.community-view .community-main-topbar .community-detail-actions{display:flex;align-items:center;gap:10px}
body.community-view .community-main-topbar .community-primary-button{padding:8px 12px;background:#171717;box-shadow:none}
body.community-view .community-main-topbar .community-primary-button:hover:not(:disabled){background:#333;box-shadow:none}
body.community-view .community-detail-heading{align-items:center;padding:21px 0 0}
body.community-view .community-back-link{color:#777773}
body.community-view .community-back-link:hover{color:#171717}
body.community-view .community-detail-title-row{align-items:center;margin:18px 0 30px;padding-bottom:26px;border-bottom:1px solid #e7e7e4}
body.community-view .community-main-community-summary{display:flex;align-items:center;gap:16px;min-width:0}
body.community-view .community-detail-avatar{display:grid;place-items:center;width:62px;height:62px;flex:none;border:1px solid #d7d7d2;border-radius:18px;background:#171717;color:#fff;font-size:25px;font-weight:850}
body.community-view .community-detail-title-row h1{margin:5px 0 7px;color:#171717;font-size:32px;letter-spacing:-.045em}
body.community-view .community-detail-title-row p{max-width:670px;color:#777773;font-size:13px;line-height:1.6}
body.community-view .community-king-card{min-width:146px;padding:11px 13px;border:1px solid #e0e0db;border-radius:10px;background:#fafaf9;color:#777773}
body.community-view .community-king-card span{font-size:9px;letter-spacing:.14em}
body.community-view .community-king-card strong{margin-top:5px;color:#171717;font-size:13px}
body.community-view .community-detail-grid{grid-template-columns:minmax(0,1.6fr) minmax(270px,.85fr);gap:20px;align-items:start}
body.community-view .community-panel{padding:18px;border:1px solid #e4e4df;border-radius:12px;background:#fff;box-shadow:none}
body.community-view .community-panel-heading h2{margin:4px 0 0;color:#171717;font-size:16px;letter-spacing:-.02em}
body.community-view .community-panel-heading select{border:1px solid #dcdcd7;border-radius:7px;background:#fff;color:#555550;padding:7px 9px;font-size:11px}
body.community-view .community-message-list{max-height:420px;margin-top:18px}
body.community-view .community-message{gap:10px;padding:8px 0}
body.community-view .community-message-avatar{width:30px;height:30px;border:1px solid #dddcd7;border-radius:9px;background:#f2f2f0;color:#333}
body.community-view .community-message-meta strong{color:#222;font-size:12px}
body.community-view .community-message p{color:#555550;font-size:13px}
body.community-view .community-message-form{border-top:1px solid #e7e7e4}
body.community-view .community-message-form textarea{border-color:#dcdcd7;border-radius:8px;background:#fafaf9;color:#222}
body.community-view .community-message-form textarea:focus{border-color:#171717;box-shadow:0 0 0 3px rgb(23 23 23 / .08)}
body.community-view .community-message-form .community-primary-button{background:#171717;box-shadow:none}
body.community-view .community-side-stack{gap:14px}
body.community-view .community-knowledge-panel,.community-project-panel{scroll-margin-top:80px}
body.community-view .community-knowledge-panel,.community-project-panel{transition:border-color .18s,box-shadow .18s}
body.community-view #community-main-view[data-section="knowledge"] .community-knowledge-panel,body.community-view #community-main-view[data-section="project"] .community-project-panel{border-color:#171717;box-shadow:0 0 0 3px rgb(23 23 23 / .06)}
body.community-view #community-main-view[data-section="knowledge"] .community-discussion-panel,body.community-view #community-main-view[data-section="knowledge"] .community-project-panel,body.community-view #community-main-view[data-section="project"] .community-discussion-panel,body.community-view #community-main-view[data-section="project"] .community-knowledge-panel{display:none}
body.community-view #community-main-view[data-section="knowledge"] .community-side-stack,body.community-view #community-main-view[data-section="project"] .community-side-stack{display:contents}
body.community-view #community-main-view[data-section="knowledge"] .community-knowledge-panel,body.community-view #community-main-view[data-section="project"] .community-project-panel{grid-column:1/-1;min-height:360px}
body.community-view .community-panel-link{padding:7px 9px;border-color:#deded9;background:#fff;color:#555550;font-size:10px}
body.community-view .community-panel-link:hover{background:#f2f2f0;color:#171717}
body.community-view .community-resource{border:1px solid #ecece8;border-radius:8px;background:#fafaf9}
body.community-view .community-resource strong{color:#222}
body.community-view .community-resource p{color:#666661}
body.community-view .community-resource-kind{background:#ededeb;color:#666661}
body.community-view .community-add-resource{border:1px solid #deded9;background:#fff;color:#444}
body.community-view .community-add-resource:hover{background:#171717;color:#fff}
body.community-view .community-inline-form{border-color:#e2e2dd;background:#fafaf9}
body.community-view .community-inline-form input,body.community-view .community-inline-form select,body.community-view .community-inline-form textarea{border-color:#dcdcd7;color:#222}
body.community-view .community-notification-badge{position:absolute;top:-5px;right:-5px;display:grid;place-items:center;min-width:17px;height:17px;padding:0 4px;border:2px solid #fff;border-radius:999px;background:#171717;color:#fff;font-size:9px;font-weight:850;line-height:1}
body.community-view .community-rail-inbox{position:relative}
body.community-view .community-notification-card{top:83px;left:88px;right:auto;width:min(390px,calc(100vw - 112px));max-height:min(580px,calc(100vh - 110px));overflow:auto}
body.community-view .community-notification-list{display:grid;gap:6px;margin-top:14px}
body.community-view .community-notification-item{display:grid;grid-template-columns:8px 1fr;gap:9px;width:100%;padding:11px 10px;border:1px solid transparent;border-radius:9px;background:#fafaf9;color:#555550;font:inherit;text-align:left;cursor:pointer}
body.community-view .community-notification-item:hover{border-color:#deded9;background:#f3f3f0}
body.community-view .community-notification-item.unread{border-color:#e2e2dd;background:#f5f5f2}
body.community-view .community-notification-item-dot{width:6px;height:6px;margin-top:5px;border-radius:50%;background:#c9c9c2}
body.community-view .community-notification-item.unread .community-notification-item-dot{background:#171717}
body.community-view .community-notification-item strong,body.community-view .community-notification-item small,body.community-view .community-notification-item time{display:block}
body.community-view .community-notification-item strong{color:#262622;font-size:11px;line-height:1.45}
body.community-view .community-notification-item small{margin-top:4px;color:#777773;font-size:10px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}
body.community-view .community-notification-item time{margin-top:5px;color:#aaa9a4;font-size:9px}
body.community-view .community-notification-actions{display:flex;justify-content:flex-end;margin-top:12px;padding-top:12px;border-top:1px solid #e7e7e4}
body.community-view .community-docs-panel{min-height:260px}
body.community-view .community-docs-members-hint{color:#9b9a94;font-size:10px}
body.community-view .community-doc-resource a{color:#33332f;font-size:10px;font-weight:750;text-decoration:none}
body.community-view .community-doc-resource a:hover{text-decoration:underline}
body.community-view .community-discussion-panel.is-docs-channel{display:none}
body.community-view .community-discussion-panel.is-docs-channel + .community-side-stack .community-knowledge-panel,body.community-view .community-discussion-panel.is-docs-channel + .community-side-stack .community-project-panel{display:none}
body.community-view .community-discussion-panel.is-docs-channel + .community-side-stack{display:block}
body.community-view .community-discussion-panel.is-docs-channel + .community-side-stack .community-docs-panel{display:block}
body.community-view .community-docs-panel input[type=file]{padding:9px;border:1px dashed #d4d4cf;border-radius:8px;background:#fff;color:#666661;font-size:11px}
body.community-view .community-discover-king-avatar img,body.community-view .community-discover-king-meta-avatar img{width:100%;height:100%;border-radius:inherit;object-fit:cover}
body.community-view .community-overlay-card{position:fixed;z-index:160;top:83px;right:24px;width:min(520px,calc(100vw - 48px));box-sizing:border-box;margin:0;padding:22px;border:1px solid #dcdcd7;border-radius:14px;background:#fff;box-shadow:0 24px 70px rgb(0 0 0 / .16)}
body.community-view .community-discovery{width:min(560px,calc(100vw - 48px))}
body.community-view .community-create-panel{width:min(610px,calc(100vw - 48px))}
body.community-view .community-overlay-card .community-section-heading h2,body.community-view .community-overlay-card .community-card-heading h2{color:#171717}
body.community-view .community-overlay-card .community-card-copy{color:#6e6e69}
body.community-view .community-overlay-card input,body.community-view .community-overlay-card select,body.community-view .community-overlay-card textarea{border-color:#dcdcd7;background:#fafaf9;color:#222}
body.community-view .community-overlay-card .community-primary-button{background:#171717;box-shadow:none}
body.community-view .community-overlay-card .community-secondary-button{border-color:#dcdcd7;background:#fff;color:#444}
body.community-view .community-overlay-dismiss{display:none}
body.community-view .community-identity-card .community-identity-grid{grid-template-columns:1fr 1fr auto}
body.community-view .community-identity-card .community-existing-id{margin-top:13px}
body.community-view .community-primary-button{background:#171717;color:#fff;box-shadow:none}
body.community-view .community-primary-button:hover:not(:disabled){background:#333;box-shadow:none}
body.community-view .community-secondary-button{border-color:#dcdcd7;background:#fff;color:#444}
body.community-view .community-secondary-button:hover:not(:disabled){border-color:#171717;background:#f2f2f0;color:#171717}
body.community-view button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #171717;outline-offset:2px}
@media(max-width:1060px){
  body.community-view .community-shell{grid-template-columns:64px 236px minmax(0,1fr)}
  body.community-view .community-main-column .community-detail{padding-left:24px;padding-right:24px}
  body.community-view .community-detail-grid{grid-template-columns:minmax(0,1fr) 270px}
}
@media(max-width:820px){
  body.community-view .community-header{padding:0 16px}
  body.community-view .community-header-meta{display:none}
  body.community-view .community-shell{grid-template-columns:62px 210px minmax(0,1fr)}
  body.community-view .community-detail-grid{grid-template-columns:1fr}
  body.community-view .community-side-stack{grid-template-columns:1fr 1fr;display:grid}
}
body.community-view #community-main-view[data-section="knowledge"] .community-knowledge-panel::before,
body.community-view #community-main-view[data-section="knowledge"] .community-knowledge-panel::after,
body.community-view #community-main-view[data-section="project"] .community-project-panel::before,
body.community-view #community-main-view[data-section="project"] .community-project-panel::after{display:none}
body.community-view #community-main-view[data-section="knowledge"] .community-section-chat,
body.community-view #community-main-view[data-section="project"] .community-section-chat{grid-column:1;grid-row:2;display:flex;flex-direction:column;min-height:280px;padding:16px 18px 18px 0}
body.community-view .community-section-chat-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding-bottom:11px;border-bottom:1px solid #e7e7e4;color:#222;font-size:13px;font-weight:800}
body.community-view .community-section-chat-heading small{color:#999994;font-size:10px;font-weight:500}
body.community-view .community-section-chat-empty{display:grid;place-items:center;flex:1;min-height:170px;color:#999994;font-size:11px;line-height:1.65;text-align:center}
body.community-view .community-section-composer{display:flex;align-items:center;gap:8px;padding-top:12px;border-top:1px solid #e7e7e4;color:#999994;font-size:10px}
body.community-view .community-section-composer .community-composer-tool{width:30px;height:30px;padding:0}
body.community-view #community-main-view[data-section="knowledge"] .community-knowledge-panel .community-resource-list,
body.community-view #community-main-view[data-section="project"] .community-project-panel .community-resource-list{position:relative;grid-column:2;grid-row:2;display:grid;align-content:start;align-self:stretch;min-height:280px;margin:0;padding:16px;border-left:1px solid #e7e7e4;background:#fafaf9}
body.community-view #community-main-view[data-section="knowledge"] .community-knowledge-panel .community-resource-list::before,
body.community-view #community-main-view[data-section="project"] .community-project-panel .community-resource-list::before{content:"文档树";display:block;margin-bottom:10px;color:#777773;font-size:10px;font-weight:850;letter-spacing:.12em;text-transform:uppercase}
body.community-view #community-main-view[data-section="project"] .community-artifact-form{grid-column:1/-1;grid-row:3}
body.community-view .community-discover-king-meta{align-items:center;gap:11px;padding:12px 0}
body.community-view .community-discover-king-meta-avatar{width:46px;height:46px;border-radius:14px;border-width:2px;font-size:17px}
body.community-view .community-discover-king-meta-crown{right:-6px;top:-7px;width:17px;height:17px;font-size:9px}
body.community-view .community-discover-king-meta-copy{gap:4px}
body.community-view .community-discover-king-meta-copy strong{font-size:11px}
body.community-view .community-discover-king-meta-copy>span{font-size:11px}
body.community-view .community-discover-king-meta-copy small{overflow:hidden;color:#aaa9a4;font-size:9px;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:820px){
  body.community-view #community-main-view[data-section="knowledge"] .community-section-chat,
  body.community-view #community-main-view[data-section="project"] .community-section-chat{grid-column:1;grid-row:2;padding:16px 0}
  body.community-view #community-main-view[data-section="knowledge"] .community-knowledge-panel .community-resource-list,
  body.community-view #community-main-view[data-section="project"] .community-project-panel .community-resource-list{grid-column:1;grid-row:3;border-top:1px solid #e7e7e4;border-left:0}
}
@media(max-width:620px){
  body.community-view .community-header{height:60px}
  body.community-view .community-shell{grid-template-columns:58px 170px minmax(0,1fr);height:calc(100vh - 60px)}
  body.community-view .community-channel-rail{position:static;width:auto;box-shadow:none}
  body.community-view .community-main-column .community-detail{padding:0 16px 40px}
  body.community-view .community-main-topbar{min-height:56px}
  body.community-view .community-detail-title-row{align-items:flex-start;flex-direction:column}
  body.community-view .community-detail-title-row h1{font-size:26px}
  body.community-view .community-king-card{min-width:0;width:100%;box-sizing:border-box}
  body.community-view .community-side-stack{grid-template-columns:1fr}
  body.community-view .community-header-actions .community-secondary-button{display:none}
  body.community-view .community-header .service-back{padding:8px 9px;font-size:11px}
  body.community-view .community-overlay-card{top:70px;right:12px;width:calc(100vw - 24px);padding:17px}
  body.community-view .community-identity-card .community-identity-grid{grid-template-columns:1fr}
}

/* Full-page discovery and King create workspaces -----------------------
   Search and create are destinations in the community shell. They share
   the same light system as the workspace while keeping enough surface for
   rich cards and an intentional creation flow. */
body.community-view .community-shell[hidden]{display:none!important}
body.community-view .community-full-page[hidden]{display:none!important}
body.community-view .community-rail-action{width:42px;height:42px;border-radius:14px}
body.community-view .community-discovery.community-full-page,
body.community-view .community-create-panel.community-full-page{position:absolute;z-index:8;inset:68px 0 0;width:auto;box-sizing:border-box;overflow:auto;margin:0;padding:0 32px 64px;border:0;border-radius:0;background:#fbfbfa;color:#171717;box-shadow:none}
body.community-view .community-page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:28px;max-width:1280px;margin:0 auto;padding:42px 0 28px;border-bottom:1px solid #e4e4df}
body.community-view .community-page-header-copy{max-width:720px}
body.community-view .community-page-header-copy h1{margin:7px 0 8px;color:#171717;font-size:36px;letter-spacing:-.05em}
body.community-view .community-page-header-copy p{max-width:620px;margin:0;color:#74746f;font-size:14px;line-height:1.7}
body.community-view .community-page-back{flex:none;margin-top:3px;padding:10px 14px;border-color:#dcdcd7;background:#fff;color:#3d3d39}
body.community-view .community-page-back:hover{background:#f1f1ef;color:#171717}
body.community-view .community-discovery-toolbar{display:flex;align-items:center;gap:10px;max-width:1280px;margin:22px auto 0}
body.community-view .community-discovery-toolbar .community-search-wrap{min-height:44px;border-radius:10px;background:#fff}
body.community-view .community-discovery-toolbar .community-primary-button,
body.community-view .community-discovery-toolbar .community-secondary-button{min-height:44px;padding:0 16px}
body.community-view .community-discovery-meta{display:flex;align-items:baseline;justify-content:space-between;gap:16px;max-width:1280px;margin:31px auto 14px}
body.community-view .community-discovery-meta strong{color:#171717;font-size:17px;letter-spacing:-.02em}
body.community-view .community-discovery-meta span{color:#888883;font-size:11px}
body.community-view .community-discover-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(252px,1fr));gap:18px;max-width:1280px;margin:0 auto}
body.community-view .community-discover-card{display:flex;flex-direction:column;min-width:0;padding:0;overflow:hidden;border:1px solid #e0e0db;border-radius:14px;background:#fff;color:#171717;text-align:left;box-shadow:0 3px 12px rgb(23 23 23 / .035);cursor:pointer;transition:transform .2s,box-shadow .2s,border-color .2s}
body.community-view .community-discover-card:hover{transform:translateY(-4px);border-color:#bdbdb7;box-shadow:0 18px 34px rgb(23 23 23 / .12)}
body.community-view .community-discover-card:focus-visible{outline:2px solid #171717;outline-offset:3px}
body.community-view .community-discover-cover{position:relative;display:flex;align-items:flex-end;justify-content:space-between;min-height:154px;overflow:hidden;padding:14px 16px;background-color:#25252a;background-image:radial-gradient(circle at 82% 18%,rgb(255 255 255 / .35),transparent 30%),linear-gradient(135deg,#3d3d43,#17171b)}
body.community-view .community-discover-cover::before{position:absolute;z-index:1;inset:-35%;content:"";background:repeating-linear-gradient(120deg,rgb(255 255 255 / .1) 0 1px,transparent 1px 27px);transform:rotate(14deg)}
body.community-view .community-discover-cover-image{position:absolute;z-index:0;inset:0;width:100%;height:100%;object-fit:cover;opacity:.74;mix-blend-mode:screen}
body.community-view .community-discover-cover[data-community-tone="0"]{background-image:radial-gradient(circle at 78% 16%,rgb(255 255 255 / .52),transparent 28%),linear-gradient(135deg,#151515 0%,#4c514b 54%,#bac6b2 130%)}
body.community-view .community-discover-cover[data-community-tone="1"]{background-image:radial-gradient(circle at 78% 16%,rgb(255 255 255 / .42),transparent 29%),linear-gradient(135deg,#20213a 0%,#495b98 50%,#c8d0ff 130%)}
body.community-view .community-discover-cover[data-community-tone="2"]{background-image:radial-gradient(circle at 78% 16%,rgb(255 255 255 / .42),transparent 29%),linear-gradient(135deg,#302018 0%,#a96348 52%,#f0c59d 130%)}
body.community-view .community-discover-cover[data-community-tone="3"]{background-image:radial-gradient(circle at 78% 16%,rgb(255 255 255 / .42),transparent 29%),linear-gradient(135deg,#172c2a 0%,#397b70 50%,#acd8c5 130%)}
body.community-view .community-discover-cover[data-community-tone="4"]{background-image:radial-gradient(circle at 78% 16%,rgb(255 255 255 / .42),transparent 29%),linear-gradient(135deg,#2f1b39 0%,#704c88 50%,#e0b8ea 130%)}
body.community-view .community-discover-cover[data-community-tone="5"]{background-image:radial-gradient(circle at 78% 16%,rgb(255 255 255 / .42),transparent 29%),linear-gradient(135deg,#1e2a3c 0%,#477b9c 50%,#b7def1 130%)}
body.community-view .community-discover-cover-shine{position:absolute;right:-10%;bottom:-42%;width:65%;height:130%;border:1px solid rgb(255 255 255 / .25);border-radius:50%;transform:rotate(-25deg)}
body.community-view .community-discover-cover-topic{position:relative;z-index:1;max-width:70%;overflow:hidden;padding:6px 8px;border:1px solid rgb(255 255 255 / .26);border-radius:999px;background:rgb(0 0 0 / .18);color:#fff;font-size:10px;font-weight:700;text-overflow:ellipsis;white-space:nowrap;backdrop-filter:blur(4px)}
body.community-view .community-discover-king{position:relative;z-index:2;display:block;width:74px;height:74px;margin-bottom:-27px}
body.community-view .community-discover-king-avatar{display:grid;place-items:center;width:68px;height:68px;border:3px solid #fff;border-radius:22px;background:#171717;color:#fff;font-size:27px;font-weight:850;box-shadow:0 8px 18px rgb(0 0 0 / .3)}
body.community-view .community-discover-crown{position:absolute;right:-4px;top:-14px;display:grid;place-items:center;width:28px;height:28px;border:2px solid #fff;border-radius:50%;background:#171717;color:#f5cf69;font-size:15px;box-shadow:0 4px 9px rgb(0 0 0 / .26)}
body.community-view .community-discover-card-body{display:flex;flex-direction:column;min-height:208px;padding:24px 16px 14px}
body.community-view .community-discover-card-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
body.community-view .community-discover-card-heading strong{overflow:hidden;color:#171717;font-size:15px;text-overflow:ellipsis;white-space:nowrap}
body.community-view .community-discover-visibility{flex:none;padding:4px 7px;border-radius:999px;background:#eef8f0;color:#367a4c;font-size:9px;font-weight:800}
body.community-view .community-discover-visibility.private{background:#f9f1e3;color:#967027}
body.community-view .community-discover-description{display:-webkit-box;overflow:hidden;min-height:35px;margin:8px 0 14px;color:#70706b;font-size:11px;line-height:1.55;-webkit-line-clamp:2;-webkit-box-orient:vertical}
body.community-view .community-discover-king-meta{display:flex;flex-direction:column;gap:3px;padding:10px 0;border-top:1px solid #ededE9;border-bottom:1px solid #edede9}
body.community-view .community-discover-king-meta strong{overflow:hidden;color:#252521;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
body.community-view .community-discover-king-meta span:last-child{overflow:hidden;color:#858580;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
body.community-view .community-discover-king-label{color:#9b9b95;font-size:9px;font-weight:850;letter-spacing:.08em}
body.community-view .community-discover-card-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:13px;color:#858580;font-size:10px}
body.community-view .community-discover-card-footer span{white-space:nowrap}
body.community-view .community-online-dot{display:inline-block;width:6px;height:6px;margin-right:5px;border-radius:50%;background:#48a868;vertical-align:1px}
body.community-view .community-discover-empty{grid-column:1/-1;display:grid;justify-items:center;padding:72px 20px;border:1px dashed #d1d1cb;border-radius:14px;background:#fff;text-align:center}
body.community-view .community-discover-empty-mark{display:grid;place-items:center;width:52px;height:52px;border:1px solid #dcdcd7;border-radius:17px;background:#f5f5f2;color:#5f5f5a;font-size:24px}
body.community-view .community-discover-empty h2{margin:15px 0 7px;color:#171717;font-size:19px}
body.community-view .community-discover-empty p{max-width:390px;margin:0 0 19px;color:#858580;font-size:12px;line-height:1.65}
body.community-view .community-create-panel.community-full-page{background:#f6f6f4}
body.community-view .community-create-page-header{display:flex;align-items:flex-start;gap:24px;max-width:1180px;margin:0 auto;padding:34px 0 22px;border-bottom:1px solid #e1e1dc}
body.community-view .community-create-back{flex:none;margin-top:5px;padding:9px 12px;border:1px solid #dcdcd7;border-radius:9px;background:#fff;color:#454541;font:inherit;font-size:12px;cursor:pointer}
body.community-view .community-create-back:hover{background:#efefec;color:#171717}
body.community-view .community-create-page-heading{flex:1}
body.community-view .community-create-page-heading h1{margin:6px 0 7px;color:#171717;font-size:33px;letter-spacing:-.05em}
body.community-view .community-create-page-heading p{max-width:640px;margin:0;color:#777772;font-size:13px;line-height:1.65}
body.community-view .community-create-page-status{margin-top:6px;padding:6px 9px;border:1px solid #deded9;border-radius:999px;color:#858580;font-size:10px;letter-spacing:.08em;white-space:nowrap}
body.community-view .community-create-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:24px;max-width:1180px;margin:25px auto 0}
body.community-view .community-create-form-column{min-width:0}
body.community-view .community-create-form-card{padding:24px;border:1px solid #e0e0db;border-radius:14px;background:#fff;box-shadow:0 8px 22px rgb(23 23 23 / .045)}
body.community-view .community-create-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:22px}
body.community-view .community-create-card-heading h2{margin:6px 0 0;color:#171717;font-size:20px;letter-spacing:-.03em}
body.community-view .community-create-required{color:#92928d;font-size:10px}
body.community-view .community-create-form-card .community-form{display:block;margin:0;padding:0;border:0;box-shadow:none}
body.community-view .community-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
body.community-view .community-form-grid label{display:grid;gap:7px;color:#676762;font-size:11px;font-weight:800}
body.community-view .community-form-grid label span em{margin-left:4px;color:#aaa9a4;font-size:10px;font-style:normal;font-weight:500}
body.community-view .community-form-grid label span b{color:#bc5e53;font-size:11px}
body.community-view .community-form-grid input,body.community-view .community-form-grid select,body.community-view .community-form-grid textarea{box-sizing:border-box;width:100%;border:1px solid #dcdcd7;border-radius:8px;background:#fbfbfa;color:#20201d;padding:11px 12px;font:inherit;font-size:12px;outline:none}
body.community-view .community-form-grid input:focus,body.community-view .community-form-grid select:focus,body.community-view .community-form-grid textarea:focus{border-color:#171717;box-shadow:0 0 0 3px rgb(23 23 23 / .08)}
body.community-view .community-form-grid textarea{resize:vertical}
body.community-view .community-form-grid .community-form-wide{grid-column:1/-1}
body.community-view .community-create-form-guidance{display:flex;align-items:flex-start;gap:9px;margin-top:18px;padding:11px 12px;border:1px solid #e5e5e0;border-radius:9px;background:#fafaf8;color:#777772;font-size:11px;line-height:1.5}
body.community-view .community-create-guidance-mark{display:grid;place-items:center;width:17px;height:17px;flex:none;border-radius:50%;background:#171717;color:#fff;font-size:10px;font-weight:850}
body.community-view .community-create-form-guidance p{margin:0}
body.community-view .community-create-form-guidance strong{color:#171717}
body.community-view .community-create-form-card .community-form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:21px}
body.community-view .community-create-note{display:flex;gap:10px;margin-top:13px;padding:13px 3px;color:#777772}
body.community-view .community-create-note-mark{display:grid;place-items:center;width:23px;height:23px;border:1px solid #d5d5d0;border-radius:7px;color:#5a5a55}
body.community-view .community-create-note strong{color:#393935;font-size:11px}
body.community-view .community-create-note p{margin:4px 0 0;font-size:10px;line-height:1.55}
body.community-view .community-create-preview{align-self:start;overflow:hidden;border:1px solid #deded9;border-radius:14px;background:#fff;box-shadow:0 8px 22px rgb(23 23 23 / .05)}
body.community-view .community-create-preview-cover{position:relative;display:flex;align-items:flex-end;min-height:173px;padding:16px;background-image:radial-gradient(circle at 82% 16%,rgb(255 255 255 / .4),transparent 27%),linear-gradient(135deg,#161616,#566158 58%,#c4d2c0)}
body.community-view .community-create-preview-cover::after{position:absolute;inset:-30%;content:"";border:1px solid rgb(255 255 255 / .22);border-radius:50%;transform:rotate(17deg)}
body.community-view .community-create-preview-badge{position:absolute;z-index:1;top:14px;left:15px;padding:5px 7px;border:1px solid rgb(255 255 255 / .3);border-radius:999px;background:rgb(0 0 0 / .18);color:#fff;font-size:8px;font-weight:850;letter-spacing:.12em}
body.community-view .community-create-preview-avatar{position:relative;z-index:2;display:grid;place-items:center;width:70px;height:70px;border:3px solid #fff;border-radius:23px;background:#171717;color:#fff;font-size:28px;font-weight:850;box-shadow:0 7px 17px rgb(0 0 0 / .3)}
body.community-view .community-create-preview-crown{position:absolute;z-index:3;left:67px;bottom:64px;display:grid;place-items:center;width:28px;height:28px;border:2px solid #fff;border-radius:50%;background:#171717;color:#f5cf69;font-size:15px}
body.community-view .community-create-preview-body{padding:18px 16px 16px}
body.community-view .community-create-preview-body h2{overflow:hidden;margin:6px 0 4px;color:#171717;font-size:18px;text-overflow:ellipsis;white-space:nowrap}
body.community-view .community-create-preview-topic{margin:0;color:#73736e;font-size:11px;font-weight:700}
body.community-view .community-create-preview-description{display:-webkit-box;overflow:hidden;min-height:33px;margin:12px 0 16px;color:#888883;font-size:11px;line-height:1.55;-webkit-line-clamp:2;-webkit-box-orient:vertical}
body.community-view .community-create-preview-meta{display:flex;justify-content:space-between;gap:8px;padding:11px 0;border-top:1px solid #ededE9;color:#858580;font-size:10px}
body.community-view .community-create-preview-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:12px;border-top:1px solid #ededE9}
body.community-view .community-create-preview-king-label{color:#a2a19c;font-size:9px;letter-spacing:.1em}
body.community-view .community-create-preview-footer strong{max-width:170px;overflow:hidden;color:#242420;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:900px){
  body.community-view .community-discovery.community-full-page,body.community-view .community-create-panel.community-full-page{inset:60px 0 0;padding:0 20px 45px}
  body.community-view .community-page-header{padding-top:30px}
  body.community-view .community-discover-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}
  body.community-view .community-create-layout{grid-template-columns:1fr}
  body.community-view .community-create-preview{max-width:420px}
}
@media(max-width:560px){
  body.community-view .community-page-header{display:block}
  body.community-view .community-page-header-copy h1{font-size:29px}
  body.community-view .community-page-back{margin-top:18px}
  body.community-view .community-discovery-toolbar{flex-wrap:wrap}
  body.community-view .community-discovery-toolbar .community-search-wrap{flex-basis:100%}
  body.community-view .community-discovery-toolbar .community-primary-button{flex:1}
  body.community-view .community-discovery-toolbar .community-secondary-button{flex:0 0 auto}
  body.community-view .community-create-page-header{display:block}
  body.community-view .community-create-page-status{display:inline-block;margin-top:14px}
  body.community-view .community-form-grid{grid-template-columns:1fr}
  body.community-view .community-form-grid .community-form-wide{grid-column:auto}
  body.community-view .community-create-form-card{padding:18px}
}

/* Create New Workspace page --------------------------------------------
   The create flow uses the same surface language as Discover but gets the
   full available workspace, so King setup is never trapped in a popover. */
body.community-view .community-create-panel.community-create-page {
  position: fixed;
  z-index: 180;
  top: 68px;
  right: 0;
  bottom: 0;
  left: 72px;
  width: auto;
  max-width: none;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #f6f6f4;
  color: #171717;
  overflow: auto;
  box-shadow: -18px 0 45px rgb(0 0 0 / .06);
}
body.community-view .community-create-page-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 42px 24px;
  box-sizing: border-box;
}
body.community-view .community-create-back {
  flex: none;
  margin-top: 4px;
  padding: 9px 12px 9px 0;
  border: 0;
  background: transparent;
  color: #686864;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: color .16s, transform .16s;
}
body.community-view .community-create-back:hover { color: #171717; transform: translateX(-2px); }
body.community-view .community-create-page-heading { min-width: 0; flex: 1; }
body.community-view .community-create-page-heading h1 {
  margin: 7px 0 8px;
  color: #171717;
  font-size: clamp(27px, 3vw, 42px);
  letter-spacing: -.055em;
  line-height: 1.05;
}
body.community-view .community-create-page-heading p {
  max-width: 620px;
  margin: 0;
  color: #73736e;
  font-size: 13px;
  line-height: 1.65;
}
body.community-view .community-create-page-status {
  flex: none;
  margin-top: 5px;
  padding: 7px 10px;
  border: 1px solid #d9d9d4;
  border-radius: 999px;
  background: #fff;
  color: #777773;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
body.community-view .community-create-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 350px);
  align-items: start;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 42px 64px;
  box-sizing: border-box;
}
body.community-view .community-create-form-column { min-width: 0; }
body.community-view .community-create-form-card {
  padding: 25px;
  border: 1px solid #e2e2dd;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 12px 35px rgb(0 0 0 / .045);
}
body.community-view .community-create-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 23px;
}
body.community-view .community-create-card-heading h2 {
  margin: 5px 0 0;
  color: #171717;
  font-size: 20px;
  letter-spacing: -.025em;
}
body.community-view .community-create-required { color: #9a9a95; font-size: 10px; }
body.community-view .community-create-form-card .community-form { display: block; margin: 0; }
body.community-view .community-create-form-card .community-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
}
body.community-view .community-create-form-card .community-form-grid > label { display: grid; gap: 8px; min-width: 0; }
body.community-view .community-create-form-card label > span {
  display: flex;
  align-items: baseline;
  gap: 7px;
  color: #454541;
  font-size: 11px;
  font-weight: 800;
}
body.community-view .community-create-form-card label > span b { color: #1c5947; font-weight: 900; }
body.community-view .community-create-form-card label > span em { color: #aaa9a4; font-size: 10px; font-style: normal; font-weight: 500; }
body.community-view .community-create-form-card .community-form-wide { grid-column: 1 / -1; }
body.community-view .community-create-form-card input,
body.community-view .community-create-form-card select,
body.community-view .community-create-form-card textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #dcdcd7;
  border-radius: 8px;
  background: #fafaf9;
  color: #222;
  font: inherit;
  font-size: 12px;
  line-height: 1.45;
  padding: 11px 12px;
  transition: border-color .16s, background .16s, box-shadow .16s;
}
body.community-view .community-create-form-card input,
body.community-view .community-create-form-card select { min-height: 42px; }
body.community-view .community-create-form-card textarea { resize: vertical; min-height: 102px; }
body.community-view .community-create-form-card input::placeholder,
body.community-view .community-create-form-card textarea::placeholder { color: #aaa9a4; }
body.community-view .community-create-form-card input:focus,
body.community-view .community-create-form-card select:focus,
body.community-view .community-create-form-card textarea:focus {
  border-color: #171717;
  background: #fff;
  box-shadow: 0 0 0 3px rgb(23 23 23 / .07);
  outline: 0;
}
body.community-view .community-create-form-guidance {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 21px;
  padding: 12px 13px;
  border: 1px solid #e3e3de;
  border-radius: 9px;
  background: #f8f8f6;
  color: #777773;
  font-size: 11px;
  line-height: 1.55;
}
body.community-view .community-create-guidance-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 17px;
  height: 17px;
  border: 1px solid #bfc8c0;
  border-radius: 50%;
  color: #3e6957;
  font-size: 10px;
  font-weight: 800;
}
body.community-view .community-create-form-guidance p { margin: 0; }
body.community-view .community-create-form-guidance strong { color: #242422; }
body.community-view .community-create-form-card .community-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 25px;
  padding-top: 18px;
  border-top: 1px solid #ecece8;
}
body.community-view .community-create-form-card .community-form-actions button { min-height: 40px; }
body.community-view .community-create-form-card .community-primary-button { display: inline-flex; align-items: center; gap: 12px; }
body.community-view .community-create-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 14px 3px 0;
  color: #777773;
  font-size: 11px;
  line-height: 1.55;
}
body.community-view .community-create-note-mark { color: #3e6957; font-size: 17px; line-height: 1; }
body.community-view .community-create-note strong { display: block; margin-bottom: 2px; color: #4a4a46; font-size: 11px; }
body.community-view .community-create-note p { margin: 0; }
body.community-view .community-create-preview {
  position: sticky;
  top: 20px;
  overflow: hidden;
  border: 1px solid #dfdfda;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 12px 35px rgb(0 0 0 / .055);
}
body.community-view .community-create-preview-cover {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 182px;
  padding: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #202824 0%, #4b665b 48%, #c4cec4 100%);
}
body.community-view .community-create-preview-cover::before,
body.community-view .community-create-preview-cover::after {
  position: absolute;
  content: "";
  border: 1px solid rgb(255 255 255 / .23);
  border-radius: 50%;
  transform: rotate(-28deg);
}
body.community-view .community-create-preview-cover::before { width: 280px; height: 280px; right: -100px; top: -160px; }
body.community-view .community-create-preview-cover::after { width: 180px; height: 180px; left: -70px; bottom: -110px; }
body.community-view .community-create-preview-badge {
  position: absolute;
  top: 16px;
  left: 17px;
  z-index: 1;
  color: rgb(255 255 255 / .72);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .15em;
}
body.community-view .community-create-preview-avatar {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border: 3px solid #fff;
  border-radius: 20px;
  background: #171717;
  color: #fff;
  font-size: 28px;
  font-weight: 850;
  box-shadow: 0 10px 20px rgb(0 0 0 / .2);
}
body.community-view .community-create-preview-crown {
  position: absolute;
  z-index: 2;
  bottom: 58px;
  left: 68px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #e7bd54;
  color: #201d15;
  font-size: 14px;
  line-height: 1;
}
body.community-view .community-create-preview-body { padding: 21px 20px 19px; }
body.community-view .community-create-preview-body h2 {
  overflow: hidden;
  margin: 7px 0 5px;
  color: #171717;
  font-size: 21px;
  letter-spacing: -.035em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.community-view .community-create-preview-topic { margin: 0; color: #3e6957; font-size: 11px; font-weight: 800; }
body.community-view .community-create-preview-description {
  display: -webkit-box;
  overflow: hidden;
  min-height: 38px;
  margin: 13px 0 20px;
  color: #72726e;
  font-size: 11px;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
body.community-view .community-create-preview-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 0;
  border-top: 1px solid #e9e9e5;
  border-bottom: 1px solid #e9e9e5;
  color: #858580;
  font-size: 10px;
}
body.community-view .community-create-preview-meta b { color: #464642; font-weight: 800; }
body.community-view .community-online-dot { display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: #4c9a72; }
body.community-view .community-create-preview-footer { display: grid; gap: 4px; padding-top: 14px; }
body.community-view .community-create-preview-king-label { color: #aaa9a4; font-size: 9px; font-weight: 850; letter-spacing: .14em; }
body.community-view .community-create-preview-footer strong { overflow: hidden; color: #555550; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
@media(max-width:900px) {
  body.community-view .community-create-panel.community-create-page { left: 62px; }
  body.community-view .community-create-page-header { padding: 28px 27px 21px; }
  body.community-view .community-create-layout { grid-template-columns: minmax(0, 1fr) 280px; padding: 0 27px 48px; }
}
@media(max-width:720px) {
  body.community-view .community-create-panel.community-create-page { left: 58px; top: 60px; }
  body.community-view .community-create-page-header { display: block; padding: 22px 18px 18px; }
  body.community-view .community-create-page-status { display: inline-block; margin-top: 14px; }
  body.community-view .community-create-layout { display: block; padding: 0 18px 40px; }
  body.community-view .community-create-form-card { padding: 18px; }
  body.community-view .community-create-form-card .community-form-grid { grid-template-columns: 1fr; gap: 15px; }
  body.community-view .community-create-form-card .community-form-wide { grid-column: auto; }
  body.community-view .community-create-preview { position: relative; top: auto; margin-top: 16px; }
}
@media(max-width:460px) {
  body.community-view .community-create-panel.community-create-page { left: 0; }
  body.community-view .community-create-page-heading h1 { font-size: 30px; }
  body.community-view .community-create-form-card .community-form-actions { justify-content: stretch; }
  body.community-view .community-create-form-card .community-form-actions button { flex: 1; }
}

/* The shell is hidden while Create New is open, so the page owns the full
   viewport instead of leaving an unused server-rail gutter. */
body.community-view .community-create-panel.community-create-page{left:0!important;right:0!important;top:68px!important;bottom:0!important;width:auto!important;max-width:none!important}
@media(max-width:720px){body.community-view .community-create-panel.community-create-page{top:60px!important;left:0!important}}

/* Create Circle access and profile treatment. Creation lives in the workspace
   header; the server rail stays focused on navigation. */
body.community-view .community-rail-actions{display:none!important}
body.community-view .community-header-actions{gap:10px}
body.community-view .community-create-gated{position:relative;min-width:108px}
body.community-view .community-create-gated:disabled{cursor:not-allowed;opacity:.52;background:#efefec!important;color:#777!important;border-color:#d8d8d2!important}
body.community-view .community-create-gated:disabled::after{content:"需完成身份验证";position:absolute;right:0;top:calc(100% + 8px);display:none;padding:6px 8px;border:1px solid #deded9;border-radius:7px;background:#fff;color:#777;font-size:10px;white-space:nowrap;box-shadow:0 8px 20px rgb(0 0 0 / .08)}
body.community-view .community-create-gated:disabled:hover::after{display:block}
body.community-view .community-header-profile{display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid #d9d9d4;border-radius:12px;background:#fff;color:#222;font:inherit;font-size:13px;font-weight:800;cursor:pointer;overflow:hidden}
body.community-view .community-header-profile:hover{border-color:#171717;background:#171717;color:#fff}
body.community-view .community-header-profile span{display:grid;place-items:center;width:100%;height:100%;background-position:center;background-size:cover}
body.community-view .community-header-profile span.has-image{font-size:0}
body.community-view .community-profile-summary{display:flex;align-items:center;gap:12px;margin:0 0 16px;padding:12px;border:1px solid #e7e7e2;border-radius:10px;background:#fafaf8}
body.community-view .community-profile-summary-avatar{display:grid;place-items:center;width:42px;height:42px;flex:none;border:1px solid #d6d6d0;border-radius:13px;background:#171717;color:#fff;font-size:15px;font-weight:850;background-position:center;background-size:cover}
body.community-view .community-profile-summary-avatar.has-image{font-size:0}
body.community-view .community-profile-summary div{display:grid;gap:3px;min-width:0}
body.community-view .community-profile-summary strong{overflow:hidden;color:#222;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
body.community-view .community-profile-summary span,body.community-view .community-profile-summary small{color:#777773;font-size:10px;line-height:1.45}
body.community-view .community-profile-summary small{color:#979791}
body.community-view .community-create-page-status.is-locked{border-color:#ead7d0;background:#fff8f5;color:#a1604e}
body.community-view .community-create-form-guidance.is-locked{border-color:#ead7d0;background:#fff8f5}
body.community-view .community-create-preview-cover{isolation:isolate}
body.community-view .community-create-preview-cover::after{z-index:-1}
body.community-view .community-create-cover-upload{position:absolute;z-index:2;top:14px;right:14px;display:flex;align-items:center;gap:5px;padding:6px 8px;border:1px solid rgb(255 255 255 / .38);border-radius:8px;background:rgb(0 0 0 / .2);color:#fff;font:inherit;cursor:pointer;backdrop-filter:blur(7px)}
body.community-view .community-create-cover-upload:hover{background:rgb(0 0 0 / .42)}
body.community-view .community-create-cover-upload span{font-size:16px;line-height:1}
body.community-view .community-create-cover-upload small{font-size:9px;font-weight:750;letter-spacing:.05em}
body.community-view .community-create-preview-avatar{padding:0;overflow:hidden;cursor:pointer}
body.community-view .community-create-preview-avatar:hover{outline:3px solid rgb(255 255 255 / .55);outline-offset:2px}
body.community-view .community-create-preview-avatar img{display:block;width:100%;height:100%;object-fit:cover}
body.community-view .community-create-preview-initial{display:grid;place-items:center;width:100%;height:100%}
body.community-view .community-create-preview-avatar::after{position:absolute;right:4px;bottom:4px;display:grid;place-items:center;width:18px;height:18px;border:2px solid #fff;border-radius:50%;background:#e7bd54;color:#201d15;content:"＋";font-size:13px;line-height:1}
body.community-view .community-create-preview-footer{display:flex;align-items:center;gap:10px}
body.community-view .community-create-profile-avatar{position:relative;display:grid;place-items:center;width:34px;height:34px;flex:none;border:1px solid #dadad5;border-radius:11px;background:#171717;color:#fff;font-size:12px;font-weight:850;background-position:center;background-size:cover}
body.community-view .community-create-profile-avatar.has-image{font-size:0}
body.community-view .community-create-profile-avatar i{position:absolute;right:-5px;top:-6px;display:grid;place-items:center;width:15px;height:15px;border:1px solid #fff;border-radius:50%;background:#e7bd54;color:#211f19;font-size:8px;font-style:normal}
body.community-view .community-create-preview-footer>div{display:grid;gap:3px;min-width:0}
body.community-view .community-create-preview-footer strong{max-width:205px;color:#242420;font-size:10px;letter-spacing:.02em}
body.community-view .community-create-preview-footer span:not(.community-create-profile-avatar){color:#777773;font-size:10px}
body.community-view .community-create-preview-footer .community-create-preview-king-label{color:#aaa9a4;font-size:9px;letter-spacing:.1em}
body.community-view .community-background-input{display:flex;align-items:stretch;gap:7px}
body.community-view .community-background-input input{min-width:0;flex:1}
body.community-view .community-background-input button{display:grid;place-items:center;width:42px;flex:none;border:1px solid #dcdcd7;border-radius:8px;background:#171717;color:#fff;font:inherit;font-size:19px;line-height:1;cursor:pointer}
body.community-view .community-background-input button:hover{background:#3b3b38}
body.community-view .community-king-card{display:flex;align-items:center;gap:9px;min-width:190px}
body.community-view .community-king-card>div{display:grid;gap:3px;min-width:0}
body.community-view .community-detail-king-avatar{display:grid;place-items:center;width:34px;height:34px;flex:none;border:1px solid #d8d8d2;border-radius:11px;background:#171717;color:#fff;font-size:12px;font-weight:850;background-position:center;background-size:cover}
body.community-view .community-detail-king-avatar.has-image{font-size:0}
body.community-view .community-king-card span:not(.community-detail-king-avatar){color:#777773;font-size:9px;letter-spacing:.08em}
body.community-view .community-king-card strong{overflow:hidden;color:#242420;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
body.community-view .community-king-card small{overflow:hidden;color:#858580;font-size:9px;text-overflow:ellipsis;white-space:nowrap}
body.community-view .community-discover-king-meta{display:flex;align-items:center;gap:8px}
body.community-view .community-discover-king-meta-avatar{position:relative;display:grid;place-items:center;width:28px;height:28px;flex:none;border:1px solid #d8d8d2;border-radius:9px;background:#171717;color:#fff;font-size:11px;font-weight:850}
body.community-view .community-discover-king-meta-crown{position:absolute;right:-5px;top:-6px;display:grid;place-items:center;width:14px;height:14px;border:1px solid #fff;border-radius:50%;background:#e7bd54;color:#211f19;font-size:8px;line-height:1}
body.community-view .community-discover-king-meta-copy{display:grid;gap:2px;min-width:0}
body.community-view .community-discover-king-meta-copy strong{overflow:hidden;color:#363632;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
body.community-view .community-discover-king-meta-copy strong em{color:#6c6c67;font-style:normal;font-weight:600}
body.community-view .community-discover-king-meta-copy>span{overflow:hidden;color:#8a8984;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:720px){body.community-view .community-header-profile{width:36px;height:36px}body.community-view .community-create-cover-upload small{display:none}}

/* Discussion message actions and composer. These styles stay within the chat panel. */
body.community-view .community-message{align-items:flex-start;border-radius:10px;padding:9px 11px;transition:background .15s}
body.community-view .community-message:hover,body.community-view .community-message:focus-within{background:#f7f7f5}
body.community-view .community-message-main{min-width:0;flex:1}
body.community-view .community-message-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
body.community-view .community-message-meta{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 8px;padding-top:2px}
body.community-view .community-message-handle{color:#858580;font-size:10px}
body.community-view .community-message-meta time{color:#999994}
body.community-view .community-message-avatar{appearance:none;width:35px;height:35px;padding:0;overflow:hidden;cursor:pointer;font:inherit;font-size:12px;font-weight:800}
body.community-view .community-message-avatar img{display:block;width:100%;height:100%;object-fit:cover}
body.community-view .community-message-avatar:focus-visible{outline:2px solid #383835;outline-offset:2px}
body.community-view .community-message-actions{display:flex;align-items:center;gap:3px;flex:none;opacity:.66;transition:opacity .15s}
body.community-view .community-message:hover .community-message-actions,body.community-view .community-message:focus-within .community-message-actions{opacity:1}
body.community-view .community-message-actions button{border:1px solid transparent;border-radius:6px;background:transparent;color:#777772;padding:4px 6px;font:inherit;font-size:10px;cursor:pointer}
body.community-view .community-message-actions button:hover,body.community-view .community-message-actions button:focus-visible{border-color:#e3e3df;background:#fff;color:#222}
body.community-view .community-message-reply-reference{display:flex;align-items:center;gap:7px;max-width:100%;margin:4px 0 2px;border-left:2px solid #d0d0ca;padding-left:8px;color:#777772;font-size:10px}
body.community-view .community-message-reply-reference span{flex:none;font-weight:700}
body.community-view .community-message-reply-reference q{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.community-view .community-message-reply-reference q::before,body.community-view .community-message-reply-reference q::after{content:''}
body.community-view .community-message-tools{display:flex;align-items:center;gap:8px}
body.community-view .community-composer-tool{border:1px solid #dcdcd7;border-radius:8px;background:#fff;color:#33332e;padding:5px 9px;font:inherit;font-size:11px;font-weight:750;cursor:pointer}
body.community-view .community-composer-tool:hover,body.community-view .community-composer-tool:focus-visible{border-color:#171717;background:#f6f6f3}
body.community-view .community-mention-menu[hidden],body.community-view .community-message-reply-context[hidden]{display:none!important}
body.community-view .community-mention-menu{display:grid;gap:3px;max-width:300px;max-height:178px;overflow-y:auto;padding:5px;border:1px solid #deded9;border-radius:9px;background:#fff;box-shadow:0 12px 26px rgb(0 0 0 / .09)}
body.community-view .community-mention-menu button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;border:0;border-radius:6px;background:transparent;color:#2b2b28;padding:8px;font:inherit;font-size:11px;text-align:left;cursor:pointer}
body.community-view .community-mention-menu button:hover,body.community-view .community-mention-menu button:focus-visible{background:#f1f1ee}
body.community-view .community-mention-menu button span,body.community-view .community-mention-empty{color:#888883;font-size:10px}
body.community-view .community-mention-empty{padding:8px}
body.community-view .community-message-reply-context{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid #e2e2dd;border-radius:8px;background:#f7f7f5;padding:7px 10px;color:#777772;font-size:11px}
body.community-view .community-message-reply-context>span{display:flex;align-items:center;gap:7px;min-width:0}
body.community-view .community-message-reply-context strong{color:#333}
body.community-view .community-message-reply-context q{display:block;max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.community-view .community-message-reply-context q::before,body.community-view .community-message-reply-context q::after{content:''}
body.community-view .community-message-reply-context button{border:0;background:transparent;color:#666;font-size:16px;cursor:pointer}
.community-forward-form{display:grid;gap:14px}.community-forward-form p{margin:0;color:#666;font-size:13px}.community-forward-form blockquote{max-height:130px;overflow:auto;margin:0;border-left:3px solid #d5d5d0;padding:9px 12px;background:#f7f7f5;color:#40403d;font-size:12px;white-space:pre-wrap}.community-forward-form label{display:grid;gap:6px;color:#555;font-size:12px;font-weight:700}.community-forward-form select{border:1px solid #dcdcd7;border-radius:8px;background:#fff;padding:9px;color:#222;font:inherit}.community-forward-form button{justify-self:end}
@media(max-width:620px){body.community-view .community-message-head{display:block}body.community-view .community-message-actions{margin-top:5px;opacity:1}body.community-view .community-message-reply-context q{max-width:140px}}

/* Workspace tree and the compact chat used by Knowledge and Project. */
body.community-view .community-workspace-tree-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px;padding-bottom:11px;border-bottom:1px solid #e7e7e4}
body.community-view .community-workspace-tree-head>div:first-child{display:grid;gap:4px;min-width:0}
body.community-view .community-workspace-tree-head strong{color:#292925;font-size:12px}
body.community-view .community-workspace-tree-head small{overflow:hidden;color:#969691;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
body.community-view .community-workspace-tree-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px}
body.community-view .community-workspace-tree-actions button,body.community-view .community-workspace-node-actions button,body.community-view .community-workspace-node-download{border:1px solid #deded9;border-radius:6px;background:#fff;color:#656560;padding:4px 7px;font:inherit;font-size:10px;cursor:pointer;text-decoration:none}
body.community-view .community-workspace-tree-actions button:hover,body.community-view .community-workspace-node-actions button:hover,body.community-view .community-workspace-node-download:hover{border-color:#171717;color:#171717}
body.community-view .community-workspace-tree-body{display:grid;align-content:start;gap:4px;min-height:170px}
body.community-view .community-workspace-node{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:34px;padding:4px 5px 4px calc(5px + (var(--tree-depth, 0) * 16px));border-radius:7px;background:#fff}
body.community-view .community-workspace-node:hover{background:#f1f1ee}
body.community-view .community-workspace-node-main,.community-workspace-node-links{display:flex;align-items:center;gap:7px;min-width:0}
body.community-view .community-workspace-node-main{flex:1}
body.community-view .community-workspace-node-open,.community-workspace-node-icon{display:grid;place-items:center;width:23px;height:23px;flex:none;border:0;border-radius:6px;background:#f1f1ee;color:#4b4b46;font:inherit;font-size:13px;cursor:pointer}
body.community-view .community-workspace-node-open:hover{background:#deded9}
body.community-view .community-workspace-node-name{overflow:hidden;color:#41413c;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
body.community-view .community-workspace-node-meta{color:#aaa9a4;font-size:9px;white-space:nowrap}
body.community-view .community-workspace-node-links{flex:none;opacity:.35}
body.community-view .community-workspace-node:hover .community-workspace-node-links,body.community-view .community-workspace-node:focus-within .community-workspace-node-links{opacity:1}
body.community-view .community-workspace-node-actions{display:flex;gap:4px}
body.community-view .community-workspace-tree-empty{display:grid;place-items:center;min-height:170px;padding:14px;color:#999994;font-size:11px;line-height:1.65;text-align:center}
body.community-view .community-resource-list::before{display:none!important}
body.community-view .community-section-message-list{display:grid;align-content:start;gap:2px;flex:1;min-height:150px;max-height:calc(100vh - 310px);overflow:auto;padding:10px 0}
body.community-view .community-section-message{display:flex;align-items:flex-start;gap:8px;padding:7px 5px;border-radius:7px}
body.community-view .community-section-message:hover{background:#f7f7f5}
body.community-view .community-section-message-avatar{display:grid;place-items:center;width:26px;height:26px;flex:none;overflow:hidden;border:0;border-radius:8px;background:#ecece8;color:#55554f;font:inherit;font-size:10px;font-weight:800;cursor:pointer}
body.community-view .community-section-message-avatar img{width:100%;height:100%;object-fit:cover}
body.community-view .community-section-message-meta{display:flex;align-items:baseline;gap:7px}
body.community-view .community-section-message-meta strong{color:#454540;font-size:11px}
body.community-view .community-section-message-meta time{color:#aaa9a4;font-size:9px}
body.community-view .community-section-message p{margin:3px 0 0;color:#656560;font-size:11px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
body.community-view .community-section-composer[data-section-chat-form]{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;gap:7px;padding-top:11px;border-top:1px solid #e7e7e4}
body.community-view .community-section-composer[data-section-chat-form] textarea{min-width:0;min-height:38px;resize:vertical;border:1px solid #dcdcd7;border-radius:8px;background:#fff;color:#33332e;padding:8px 9px;font:inherit;font-size:11px}
body.community-view .community-section-composer[data-section-chat-form] .community-primary-button{padding:8px 10px;font-size:10px}
body.community-view .community-section-mention-menu{display:grid;gap:3px;max-height:120px;overflow:auto;margin-bottom:7px;padding:4px;border:1px solid #deded9;border-radius:8px;background:#fff;box-shadow:0 10px 22px rgb(0 0 0 / .08)}
body.community-view .community-section-mention-menu[hidden]{display:none}
body.community-view .community-section-mention-menu button{display:flex;align-items:center;justify-content:space-between;gap:10px;border:0;border-radius:5px;background:transparent;color:#3d3d38;padding:6px 7px;font:inherit;font-size:10px;text-align:left;cursor:pointer}
body.community-view .community-section-mention-menu button:hover{background:#f1f1ee}
body.community-view .community-section-mention-menu button span{color:#999994;font-size:9px}
@media(max-width:820px){body.community-view .community-section-composer[data-section-chat-form]{grid-template-columns:auto auto minmax(0,1fr)}body.community-view .community-section-composer[data-section-chat-form] .community-primary-button{grid-column:3;justify-self:end}}

/* Homepage and full section workspaces. The circle identity row is the
   fixed part of Homepage; Discussion, Knowledge, and Project use the whole
   canvas below the channel bar. */
body.community-view .community-rail-actions{display:grid!important;align-items:center;gap:8px;padding:8px 0 0}
body.community-view .community-rail-action{width:42px;height:42px;border:1px solid #d9d9d4;border-radius:14px;background:#fff;color:#171717}
body.community-view .community-rail-action:hover:not(:disabled){border-color:#171717;background:#171717;color:#fff}
body.community-view .community-rail-action:disabled{cursor:not-allowed;opacity:.42}
body.community-view .community-circle-list{overflow:visible;flex:0 0 auto;max-height:none}
body.community-view .community-circle-overflow-wrap{position:relative;display:grid;place-items:center}
body.community-view .community-circle-more{display:grid;place-items:center;width:42px;height:42px;border:1px solid #d9d9d4;border-radius:14px;background:#fff;color:#777773;font:inherit;font-size:17px;font-weight:850;letter-spacing:2px;cursor:pointer}
body.community-view .community-circle-more:hover{border-color:#171717;background:#171717;color:#fff}
body.community-view .community-circle-overflow{position:absolute;z-index:25;left:54px;top:0;display:grid;gap:8px;min-width:52px;padding:8px;border:1px solid #deded9;border-radius:12px;background:#fff;box-shadow:0 14px 28px rgb(0 0 0 / .12)}
body.community-view .community-circle-overflow[hidden]{display:none!important}
body.community-view .community-circle-overflow .community-circle-card{width:42px;height:42px}
body.community-view .community-circle-overflow .community-circle-tooltip{left:48px}
body.community-view #community-main-view[data-section="discussion"] .community-detail-heading,
body.community-view #community-main-view[data-section="discussion"] .community-detail-title-row,
body.community-view #community-main-view[data-section="knowledge"] .community-detail-heading,
body.community-view #community-main-view[data-section="knowledge"] .community-detail-title-row,
body.community-view #community-main-view[data-section="project"] .community-detail-heading,
body.community-view #community-main-view[data-section="project"] .community-detail-title-row{display:none}
body.community-view .community-homepage-panel{display:grid;gap:20px;margin:0;padding:4px 0 26px;border-bottom:1px solid #e7e7e4}
body.community-view .community-homepage-panel[hidden]{display:none!important}
body.community-view .community-homepage-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-top:8px}
body.community-view .community-homepage-heading h2{margin:6px 0 6px;color:#171717;font-size:24px;letter-spacing:-.035em}
body.community-view .community-homepage-heading p{max-width:660px;margin:0;color:#777773;font-size:12px;line-height:1.6}
body.community-view .community-homepage-edit{flex:none;margin-top:6px}
body.community-view .community-homepage-editor{min-height:190px;padding:20px;border:1px solid #e2e2dd;border-radius:12px;background:#fafaf9;color:#444440;font-size:14px;line-height:1.8;outline:none;white-space:pre-wrap}
body.community-view .community-homepage-editor[contenteditable="true"]{border-color:#171717;background:#fff;box-shadow:0 0 0 3px rgb(23 23 23 / .06)}
body.community-view .community-homepage-editor:empty::before{content:attr(data-placeholder);color:#aaa9a4}
body.community-view .community-homepage-footer{display:flex;align-items:center;justify-content:space-between;gap:14px}
body.community-view #community-main-view[data-section="home"] .community-detail-grid{display:none}
body.community-view #community-main-view[data-section="discussion"] .community-detail-grid{display:grid;grid-template-columns:minmax(0,1fr);min-height:calc(100vh - 150px)}
body.community-view #community-main-view[data-section="discussion"] .community-discussion-panel{height:calc(100vh - 130px);min-height:0;display:flex;flex-direction:column;border:0;padding:0;border-radius:0;overflow:hidden}
body.community-view #community-main-view[data-section="discussion"] .community-message-list{flex:1;min-height:0;max-height:none;overflow:auto;align-content:start;grid-auto-rows:max-content;padding:12px 6px 20px 0}
body.community-view #community-main-view[data-section="discussion"] .community-message-form{margin-top:auto;padding:14px 0 0;border-top:1px solid #e7e7e4}
body.community-view #community-main-view[data-section="discussion"] .community-side-stack{display:none}
body.community-view #community-main-view[data-section="knowledge"] .community-detail-grid,
body.community-view #community-main-view[data-section="project"] .community-detail-grid{display:grid;grid-template-columns:minmax(0,1fr);min-height:calc(100vh - 150px)}
body.community-view #community-main-view[data-section="knowledge"] .community-side-stack,
body.community-view #community-main-view[data-section="project"] .community-side-stack{display:contents}
body.community-view #community-main-view[data-section="knowledge"] .community-knowledge-panel,
body.community-view #community-main-view[data-section="project"] .community-project-panel{display:grid;grid-column:1/-1;grid-template-columns:minmax(0,1fr) minmax(250px,.72fr);grid-template-rows:auto 1fr;gap:18px;min-height:calc(100vh - 168px);padding:0;border:0;border-radius:0}
body.community-view #community-main-view[data-section="knowledge"] .community-knowledge-panel .community-panel-heading,
body.community-view #community-main-view[data-section="project"] .community-project-panel .community-panel-heading{grid-column:1/-1;border-bottom:1px solid #e7e7e4;padding:0 0 14px}
body.community-view #community-main-view[data-section="knowledge"] .community-knowledge-panel::before,
body.community-view #community-main-view[data-section="project"] .community-project-panel::before{content:"频道讨论";grid-column:1;grid-row:2;color:#171717;font-size:14px;font-weight:800}
body.community-view #community-main-view[data-section="knowledge"] .community-knowledge-panel .community-resource-list,
body.community-view #community-main-view[data-section="project"] .community-project-panel .community-resource-list{grid-column:2;grid-row:2;align-self:stretch;min-height:260px;margin:0;padding:14px;border-left:1px solid #e7e7e4;background:#fafaf9}
body.community-view #community-main-view[data-section="knowledge"] .community-knowledge-panel::after,
body.community-view #community-main-view[data-section="project"] .community-project-panel::after{content:"文档树 · 由 King 授权成员管理";grid-column:2;grid-row:2;align-self:start;margin:0 14px;padding:0;color:#898985;font-size:10px;transform:translateY(2px);pointer-events:none}
body.community-view #community-main-view[data-section="knowledge"] .community-project-panel,
body.community-view #community-main-view[data-section="project"] .community-knowledge-panel,
body.community-view #community-main-view[data-section="knowledge"] .community-docs-panel,
body.community-view #community-main-view[data-section="project"] .community-docs-panel{display:none!important}
body.community-view #community-main-view[data-section="knowledge"] .community-panel-link,
body.community-view #community-main-view[data-section="project"] .community-panel-link{display:none}
@media(max-width:820px){
  body.community-view #community-main-view[data-section="knowledge"] .community-knowledge-panel,
  body.community-view #community-main-view[data-section="project"] .community-project-panel{grid-template-columns:1fr;grid-template-rows:auto auto 1fr}
  body.community-view #community-main-view[data-section="knowledge"] .community-knowledge-panel .community-resource-list,
  body.community-view #community-main-view[data-section="project"] .community-project-panel .community-resource-list{grid-column:1;grid-row:3;border-left:0;border-top:1px solid #e7e7e4}
  body.community-view #community-main-view[data-section="knowledge"] .community-knowledge-panel::after,
  body.community-view #community-main-view[data-section="project"] .community-project-panel::after{grid-column:1;grid-row:3;margin-top:14px}
}

/* Circle identity cover and the King signature bar. The identity row is the
   fixed top of Homepage; a circle supplied cover image is layered over the
   default editorial pattern without taking the page into a dark theme. */
body.community-view .community-detail-title-row{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-height:126px;
  box-sizing:border-box;
  margin-top:18px;
  padding:20px 22px 24px;
  border:1px solid #e2e2dd;
  border-radius:18px;
  background-color:#f4f4f1;
  background-image:
    linear-gradient(96deg,rgb(255 255 255 / .97) 0%,rgb(255 255 255 / .93) 42%,rgb(255 255 255 / .62) 100%),
    var(--community-homepage-cover, none),
    radial-gradient(circle at 84% 18%,rgb(255 255 255 / .84),transparent 30%),
    linear-gradient(135deg,#f1f2ef 0%,#dfe7e1 52%,#bdcabe 130%);
  background-position:center;
  background-size:cover;
  box-shadow:0 10px 26px rgb(23 23 23 / .045);
}
body.community-view .community-detail-title-row::before{
  position:absolute;
  z-index:-1;
  inset:-50%;
  content:"";
  background:repeating-linear-gradient(124deg,rgb(23 23 23 / .055) 0 1px,transparent 1px 28px);
  transform:rotate(-8deg);
  pointer-events:none;
}
body.community-view .community-detail-title-row::after{
  position:absolute;
  z-index:-1;
  right:4%;
  bottom:-42px;
  content:"RESEARCH GROUP";
  color:rgb(23 23 23 / .06);
  font-size:68px;
  font-weight:900;
  letter-spacing:.18em;
  line-height:1;
  pointer-events:none;
}
body.community-view .community-detail-title-row > *{position:relative;z-index:1}
body.community-view .community-detail-title-row[data-community-background="custom"]::before{background:linear-gradient(120deg,rgb(255 255 255 / .18),transparent 58%),repeating-linear-gradient(124deg,rgb(255 255 255 / .08) 0 1px,transparent 1px 28px)}
body.community-view .community-detail-title-row[data-community-background="custom"]::after{color:rgb(255 255 255 / .16)}

/* Discover's King bar keeps the portrait on the left and gives the right
   side a quiet signature watermark so identity reads before the description. */
body.community-view .community-discover-king-meta{
  position:relative;
  isolation:isolate;
  display:flex;
  flex-direction:row;
  justify-content:flex-start;
  min-height:78px;
  overflow:hidden;
  box-sizing:border-box;
  align-items:center;
  gap:12px;
  margin-top:2px;
  padding:11px 13px;
  border:1px solid #e3e3de;
  border-radius:12px;
  background:#f8f8f5;
}
body.community-view .community-discover-king-meta::before{
  position:absolute;
  z-index:-1;
  inset:0;
  content:"";
  background:linear-gradient(90deg,transparent 37%,rgb(255 255 255 / .82) 100%),repeating-linear-gradient(132deg,transparent 0 16px,rgb(23 23 23 / .035) 16px 17px);
  pointer-events:none;
}
body.community-view .community-discover-king-meta-avatar{
  position:relative;
  width:58px;
  height:58px;
  flex:0 0 58px;
  border:2px solid #fff;
  border-radius:17px;
  box-shadow:0 6px 15px rgb(23 23 23 / .16);
  font-size:20px;
}
body.community-view .community-discover-king-meta-crown{right:-7px;top:-8px;width:19px;height:19px;border-width:2px;font-size:10px;box-shadow:0 3px 8px rgb(23 23 23 / .16)}
body.community-view .community-discover-king-meta-copy{position:relative;z-index:2;display:grid;flex:1;gap:3px;min-width:0;text-align:left}
body.community-view .community-discover-king-label{color:#9a9a94;font-size:8px;font-weight:850;letter-spacing:.16em}
body.community-view .community-discover-king-meta-copy strong{color:#23231f;font-size:12px;letter-spacing:.01em}
body.community-view .community-discover-king-meta-copy>span{color:#696963;font-size:10px}
body.community-view .community-discover-king-meta-copy small{overflow:hidden;color:#9a9993;font-size:9px;text-overflow:ellipsis;white-space:nowrap}
body.community-view .community-discover-king-meta-pattern{
  position:absolute;
  z-index:1;
  right:-8px;
  top:50%;
  color:rgb(23 23 23 / .075);
  font-size:35px;
  font-weight:900;
  letter-spacing:.12em;
  line-height:1;
  transform:translateY(-50%) rotate(-10deg);
  pointer-events:none;
}
body.community-view .community-discover-king-meta > .community-discover-king-meta-pattern{overflow:visible;color:rgb(23 23 23 / .075);font-size:35px}
body.community-view .community-discover-king-meta-pattern::after{
  position:absolute;
  top:47%;
  right:5px;
  width:128px;
  height:1px;
  content:"";
  background:rgb(23 23 23 / .16);
  box-shadow:0 -8px 0 rgb(23 23 23 / .08),0 8px 0 rgb(23 23 23 / .08);
}
@media(max-width:620px){
  body.community-view .community-detail-title-row{padding:18px 16px 20px}
  body.community-view .community-discover-king-meta-pattern{font-size:28px}
}
/* Community verification-stage workspace refresh ------------------------
   The conversion review surface uses quiet paper cards, compact controls,
   and green / lilac status accents. Reuse that language in the circle
   workspace while keeping the black-and-white rail easy to scan. */
body.community-view .community-main-column{background:linear-gradient(180deg,#f7f9fb 0%,#f2f5f8 100%)}
body.community-view .community-main-column .community-detail{padding:0 42px 76px;background:transparent}
body.community-view .community-main-topbar{margin:0 -42px;padding:0 42px;background:rgb(255 255 255 / .9);border-bottom:1px solid #e5e9ee;box-shadow:0 1px 0 rgb(255 255 255 / .85)}
body.community-view .community-detail-grid{gap:24px}
body.community-view .community-workspace-nav{padding:15px 12px 17px;background:#fbfcfd}
body.community-view .community-workspace-nav .community-workspace-tab{min-height:42px;padding:10px 12px;border:1px solid transparent;border-radius:10px;color:#697789;font-size:12px;font-weight:760}
body.community-view .community-workspace-nav .community-workspace-tab:hover{border-color:#d9e3ef;background:#f5f8fb;color:#263b56}
body.community-view .community-workspace-nav .community-workspace-tab.active{border-color:#d5e8dd;background:#eef8f2;color:#225b43;box-shadow:inset 3px 0 #4da078}
body.community-view .community-workspace-nav .community-workspace-tab.active span{color:#3f9a70}
body.community-view .community-tag-heading{padding-top:21px;color:#8995a5}
body.community-view .community-tag-button{min-height:38px;padding:9px 10px;border-radius:9px;color:#707e90}
body.community-view .community-tag-button:hover{background:#eef2f6;color:#334760}
body.community-view .community-tag-button.active{border:1px solid #d9e6dc;background:#f0f8f3;color:#245c45;box-shadow:0 4px 12px rgb(53 110 80 / .08)}
body.community-view .community-tag-button.active .community-tag-hash{color:#3c9a70}

/* The top-level workspace contains Homepage, Knowledge, and Project only.
   Discussion remains available from the Discussion Tags list. */
body.community-view #community-workspace-nav #community-discussion-tab{display:none!important}

/* Homepage keeps a fixed identity header and gets the review-stage paper
   surface as its default editable area. */
body.community-view #community-main-view[data-section="home"] .community-detail-title-row{margin:18px 0 24px;padding:18px 20px;border:1px solid #e1e8ef;border-radius:16px;background:#fff;box-shadow:0 10px 24px rgb(54 78 105 / .06)}
body.community-view #community-main-view[data-section="home"] .community-homepage-panel{position:relative;overflow:hidden;padding:24px 26px 22px;border:1px solid #e1e5ea;border-radius:16px;background:#fff;box-shadow:0 12px 28px rgb(54 78 105 / .08)}
body.community-view #community-main-view[data-section="home"] .community-homepage-panel::before{position:absolute;z-index:0;inset:0 0 auto 0;height:92px;content:"";background:radial-gradient(circle at 86% 20%,rgb(188 162 229 / .2),transparent 35%),linear-gradient(115deg,rgb(217 238 228 / .75),rgb(246 241 255 / .7));pointer-events:none}
body.community-view #community-main-view[data-section="home"] .community-homepage-heading,body.community-view #community-main-view[data-section="home"] .community-homepage-editor,body.community-view #community-main-view[data-section="home"] .community-homepage-footer{position:relative;z-index:1}
body.community-view #community-main-view[data-section="home"] .community-homepage-editor{min-height:220px;border-color:#dfe5ea;background:rgb(255 255 255 / .92);box-shadow:inset 0 1px 2px rgb(63 77 92 / .03)}

/* Knowledge and Project are management surfaces on the top-level nav. The
   compact section chats stay available to tag navigation in the DOM, but do
   not compete with the file tree in the primary workspace. */
body.community-view #community-main-view[data-section="knowledge"] .community-detail-grid,
body.community-view #community-main-view[data-section="project"] .community-detail-grid{display:block;min-height:calc(100vh - 150px)}
body.community-view #community-main-view[data-section="knowledge"] .community-side-stack,
body.community-view #community-main-view[data-section="project"] .community-side-stack{display:block}
body.community-view #community-main-view[data-section="knowledge"] .community-knowledge-panel,
body.community-view #community-main-view[data-section="project"] .community-project-panel{display:block;min-height:calc(100vh - 172px);padding:0;border:0;border-radius:16px;background:#fff;box-shadow:0 12px 30px rgb(54 78 105 / .08);overflow:hidden}
body.community-view #community-main-view[data-section="knowledge"] .community-knowledge-panel .community-panel-heading,
body.community-view #community-main-view[data-section="project"] .community-project-panel .community-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;min-height:118px;box-sizing:border-box;padding:24px 26px 19px;border-bottom:1px solid #e7ebef;background:linear-gradient(112deg,#fff 0%,#fbfcfd 58%,#f7f8fb 100%)}
body.community-view .community-module-title{display:grid;gap:5px;min-width:0}
body.community-view .community-module-title h2{margin:3px 0 0;color:#273c56;font-size:23px;letter-spacing:-.035em}
body.community-view .community-module-title p{margin:0;color:#8290a0;font-size:11px;line-height:1.55}
body.community-view .community-module-header-actions{display:flex;align-items:flex-start;gap:12px;min-width:0}
body.community-view .community-module-status{padding:7px 10px;border:1px solid #dbe8df;border-radius:999px;background:#f3faf5;color:#4d886f;font-size:9px;font-weight:850;letter-spacing:.12em;white-space:nowrap}
body.community-view .community-storage-meter{display:grid;gap:7px;min-width:270px;padding:1px 0 0}
body.community-view .community-storage-meter-total{display:flex;align-items:baseline;gap:5px;color:#7e8895}
body.community-view .community-storage-meter-total strong{color:#344a64;font-size:21px;letter-spacing:-.045em}
body.community-view .community-storage-meter-total span{font-size:11px}
body.community-view .community-storage-meter-track{height:6px;overflow:hidden;border-radius:999px;background:#e3e6ea;box-shadow:inset 0 1px 2px rgb(44 58 73 / .08)}
body.community-view .community-storage-meter-track i{display:block;width:11%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#b95fc0 0 82%,#ecbd39 82% 100%)}
body.community-view .community-storage-meter small{display:flex;gap:12px;color:#9a9fa7;font-size:9px;white-space:nowrap}
body.community-view .community-storage-meter small b{color:#b45fbd;font-weight:750}
body.community-view .community-storage-meter small em{color:#c39930;font-style:normal;font-weight:750}
body.community-view #community-main-view[data-section="knowledge"] .community-section-chat,
body.community-view #community-main-view[data-section="project"] .community-section-chat{display:none!important}
body.community-view #community-main-view[data-section="knowledge"] .community-knowledge-panel .community-resource-list,
body.community-view #community-main-view[data-section="project"] .community-project-panel .community-resource-list{display:block;min-height:calc(100vh - 292px);margin:0;padding:18px 26px 36px;border:0;background:#fff}
body.community-view #community-main-view[data-section="knowledge"] .community-workspace-tree-head,
body.community-view #community-main-view[data-section="project"] .community-workspace-tree-head{min-height:50px;margin:0 0 10px;padding:0 0 13px;border-bottom:1px solid #e9edf1}
body.community-view .community-workspace-tree-head strong{color:#354d69;font-size:13px}
body.community-view .community-workspace-tree-head small{color:#8995a4;font-size:10px}
body.community-view .community-workspace-tree-actions button,body.community-view .community-workspace-node-actions button,body.community-view .community-workspace-node-download{border-color:#dce4ea;border-radius:7px;background:#fff;color:#65758a;padding:7px 10px;font-size:10px}
body.community-view .community-workspace-tree-actions button:first-child{background:#f5f8fb}
body.community-view .community-workspace-tree-actions button:hover,body.community-view .community-workspace-node-actions button:hover,body.community-view .community-workspace-node-download:hover{border-color:#4d9072;color:#2d7857;background:#f4faf6}
body.community-view .community-workspace-tree-body{gap:5px;min-height:240px;padding-top:4px}
body.community-view .community-workspace-node{min-height:46px;padding:6px 9px;border:1px solid transparent;border-radius:9px;background:#fbfcfd}
body.community-view .community-workspace-node:hover{border-color:#e1e8ed;background:#f7fafc;box-shadow:0 5px 12px rgb(46 71 93 / .05)}
body.community-view .community-workspace-node-open,body.community-view .community-workspace-node-icon{width:29px;height:29px;border:1px solid #e0e6eb;border-radius:8px;background:#f4f7f9;color:#5d7994}
body.community-view .community-workspace-node-name{color:#3e556d;font-size:12px;font-weight:700}
body.community-view .community-workspace-node-meta{color:#9aa4ad;font-size:10px}
body.community-view .community-workspace-node-links{opacity:.58}
body.community-view .community-workspace-tree-empty{min-height:230px;border:1px dashed #d9e1e7;border-radius:11px;background:#fafcfd;color:#9ba6b1}

/* Discussion tag gets the same verification card language while remaining
   a single full-width conversation, without a split resource column. */
body.community-view #community-main-view[data-section="discussion"]{background:linear-gradient(180deg,#f7f9fb 0%,#f2f5f8 100%)}
body.community-view #community-main-view[data-section="discussion"] .community-detail-grid{padding-top:24px}
body.community-view #community-main-view[data-section="discussion"] .community-discussion-panel{border:1px solid #e1e7ec;border-radius:16px;background:#fff;box-shadow:0 12px 28px rgb(54 78 105 / .08);padding:22px 26px 20px}
body.community-view #community-main-view[data-section="discussion"] .community-discussion-panel .community-panel-heading{padding-bottom:16px;border-bottom:1px solid #e7ebef}
body.community-view #community-main-view[data-section="discussion"] .community-discussion-panel .community-panel-heading h2{color:#273c56;font-size:19px}
body.community-view #community-main-view[data-section="discussion"] .community-message-list{padding:15px 3px 21px}
body.community-view #community-main-view[data-section="discussion"] .community-message:hover,body.community-view #community-main-view[data-section="discussion"] .community-message:focus-within{background:#f7fafc}
body.community-view #community-main-view[data-section="discussion"] .community-message-form{margin-top:0;padding-top:16px;border-top:1px solid #e7ebef}
body.community-view #community-main-view[data-section="discussion"] .community-message-form textarea{min-height:76px;border-color:#dce4ea;background:#fbfcfd}

@media(max-width:900px){body.community-view .community-main-column .community-detail{padding-left:24px;padding-right:24px}body.community-view .community-main-topbar{margin-left:-24px;margin-right:-24px;padding-left:24px;padding-right:24px}body.community-view .community-module-header-actions{flex-direction:column;align-items:flex-end}.community-storage-meter{min-width:220px}}
@media(max-width:640px){body.community-view .community-main-column .community-detail{padding-left:16px;padding-right:16px}body.community-view .community-main-topbar{margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px}body.community-view #community-main-view[data-section="knowledge"] .community-knowledge-panel .community-panel-heading,body.community-view #community-main-view[data-section="project"] .community-project-panel .community-panel-heading{display:block;min-height:0;padding:19px 18px}.community-module-header-actions{margin-top:15px;align-items:flex-start!important}.community-storage-meter{min-width:0;width:100%}body.community-view #community-main-view[data-section="knowledge"] .community-knowledge-panel .community-resource-list,body.community-view #community-main-view[data-section="project"] .community-project-panel .community-resource-list{padding:16px 18px 28px}body.community-view #community-main-view[data-section="discussion"] .community-discussion-panel{padding:18px 16px}}

/* Header actions mirror the review-stage file controls in the reference UI. */
body.community-view .community-module-header-actions{display:flex;align-items:flex-start;justify-content:flex-end;gap:14px;flex-wrap:wrap}
body.community-view .community-module-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}
body.community-view .community-workspace-toolbar-button{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;padding:0 9px;border:1px solid #dce3e9;border-radius:9px;background:#fff;color:#586c82;font:inherit;font-size:12px;font-weight:750;cursor:pointer;box-shadow:0 2px 4px rgb(40 61 80 / .03);transition:background .16s,border-color .16s,color .16s,transform .16s}
body.community-view .community-workspace-toolbar-button:hover:not(:disabled){border-color:#6ca288;background:#f2faf5;color:#28684c;transform:translateY(-1px)}
body.community-view .community-workspace-toolbar-button:disabled{cursor:not-allowed;opacity:.42}
body.community-view .community-workspace-toolbar-wide{padding:0 11px;font-size:10px}
body.community-view .community-workspace-toolbar-primary{border-color:#c79fd8;background:#c96ed1;color:#fff;box-shadow:0 5px 14px rgb(175 89 192 / .18)}
body.community-view .community-workspace-toolbar-primary:hover:not(:disabled){border-color:#ac58b6;background:#b960c4;color:#fff}
body.community-view .community-server-rail .community-rail-actions{width:42px}
body.community-view .community-server-rail .community-create-gated{width:42px;min-width:42px;padding:0}
body.community-view .community-circle-card{width:42px;height:42px;min-height:42px}
body.community-view #community-main-view[data-section="knowledge"] .community-workspace-tree-head .community-workspace-tree-actions button[data-workspace-action="new-folder"],
body.community-view #community-main-view[data-section="project"] .community-workspace-tree-head .community-workspace-tree-actions button[data-workspace-action="new-folder"]{display:none}
@media(max-width:900px){body.community-view .community-module-header-actions{justify-content:flex-start;gap:11px}.community-module-toolbar{justify-content:flex-start}.community-storage-meter{order:2;flex-basis:100%}}

/* Workspace toolbar full-screen mode keeps the review card available for a
   focused file pass while leaving the community rail and header reachable. */
body.community-view.community-workspace-fullscreen{overflow:hidden}
body.community-view .community-panel-fullscreen{position:fixed!important;z-index:150;inset:68px 0 0 344px;overflow:auto;margin:0!important;border-radius:0!important;box-shadow:0 24px 70px rgb(34 51 70 / .2)!important}
body.community-view .community-panel-fullscreen .community-panel-heading{position:sticky;top:0;z-index:3}
body.community-view .community-panel-fullscreen .community-resource-list{min-height:calc(100vh - 250px)!important}
@media(max-width:900px){body.community-view .community-panel-fullscreen{inset:62px 0 0 286px}}
@media(max-width:640px){body.community-view .community-panel-fullscreen{inset:58px 0 0 0}}

/* Full-width file management surfaces -----------------------------------
   Knowledge and Project keep their review-stage paper rhythm but use the
   entire available workspace. Their toolbar and storage meter are moved by
   app.js into the tree header so actions sit beside the directory they
   control rather than in a detached panel heading. */
body.community-view #community-main-view[data-section="knowledge"] .community-detail,
body.community-view #community-main-view[data-section="project"] .community-detail{
  display:flex;
  flex-direction:column;
  height:100%;
  min-height:0;
  overflow:hidden;
  padding-bottom:0;
}
body.community-view #community-main-view[data-section="knowledge"] .community-detail-grid,
body.community-view #community-main-view[data-section="project"] .community-detail-grid{
  display:block;
  flex:1 1 auto;
  height:auto;
  min-height:0;
  overflow:hidden;
  padding-top:0;
}
body.community-view #community-main-view[data-section="knowledge"] .community-side-stack,
body.community-view #community-main-view[data-section="project"] .community-side-stack{height:100%;min-height:0}
body.community-view #community-main-view[data-section="knowledge"] .community-knowledge-panel,
body.community-view #community-main-view[data-section="project"] .community-project-panel{
  display:flex;
  flex-direction:column;
  height:100%;
  min-height:0;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:#fff;
  box-shadow:none;
  overflow:hidden;
}
body.community-view #community-main-view[data-section="knowledge"] .community-knowledge-panel > .community-panel-heading,
body.community-view #community-main-view[data-section="project"] .community-project-panel > .community-panel-heading{display:none!important}
body.community-view #community-main-view[data-section="knowledge"] .community-knowledge-panel .community-resource-list,
body.community-view #community-main-view[data-section="project"] .community-project-panel .community-resource-list{
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  min-height:0;
  margin:0;
  padding:0;
  border:0;
  background:#fff;
  overflow:hidden;
}
body.community-view .community-workspace-tree-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:26px;
  flex:none;
  min-height:104px;
  box-sizing:border-box;
  margin:0;
  padding:25px 32px 19px;
  border-bottom:1px solid #e3e8ee;
  background:linear-gradient(118deg,#fff 0%,#fbfcfd 56%,#f5f1fd 100%);
}
body.community-view .community-workspace-tree-head-copy{display:grid;align-content:start;gap:6px;min-width:0}
body.community-view .community-workspace-tree-head-copy strong{color:#243c5c;font-size:24px;letter-spacing:-.04em;line-height:1.2}
body.community-view .community-workspace-tree-head-copy small{color:#8190a3;font-size:11px;line-height:1.55}
body.community-view .community-workspace-tree-head-tools{display:flex;align-items:flex-start;justify-content:flex-end;gap:17px;min-width:0;max-width:66%;margin-left:auto}
body.community-view .community-workspace-tree-head-tools .community-module-header-actions{display:flex;align-items:flex-start;justify-content:flex-end;gap:17px;min-width:0;margin:0}
body.community-view .community-workspace-tree-head-tools .community-panel-link{display:none!important}
body.community-view .community-workspace-tree-head-tools .community-module-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
body.community-view .community-workspace-tree-head-tools .community-workspace-toolbar-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:44px;
  min-height:44px;
  padding:0 12px;
  border:1px solid #d7e1ec;
  border-radius:12px;
  background:#fff;
  color:#486581;
  font:inherit;
  font-size:17px;
  font-weight:850;
  line-height:1;
  cursor:pointer;
  box-shadow:0 6px 12px rgb(42 64 96 / .08),inset 0 1px 0 #fff;
  transition:background .16s,border-color .16s,color .16s,box-shadow .16s,transform .16s;
}
body.community-view .community-workspace-tree-head-tools .community-workspace-toolbar-button:hover:not(:disabled){border-color:#89b69d;background:#eff9f3;color:#236b4c;box-shadow:0 9px 18px rgb(47 104 77 / .12);transform:translateY(-2px)}
body.community-view .community-workspace-tree-head-tools .community-workspace-toolbar-button:focus-visible{outline:3px solid rgb(74 143 109 / .2);outline-offset:2px}
body.community-view .community-workspace-tree-head-tools .community-workspace-toolbar-button:disabled{cursor:not-allowed;opacity:.4;box-shadow:none}
body.community-view .community-workspace-tree-head-tools .community-workspace-toolbar-wide{min-width:auto;padding:0 14px;font-size:11px;font-weight:800;letter-spacing:.01em}
body.community-view .community-workspace-tree-head-tools .community-workspace-toolbar-primary{border-color:#be8ad0;background:linear-gradient(145deg,#d486dd,#b960c4);color:#fff;box-shadow:0 9px 18px rgb(175 89 192 / .2)}
body.community-view .community-workspace-tree-head-tools .community-workspace-toolbar-primary:hover:not(:disabled){border-color:#a95ab5;background:linear-gradient(145deg,#d079da,#af53ba);color:#fff}
body.community-view .community-workspace-tree-head-tools .community-storage-meter{display:grid;align-content:start;gap:7px;min-width:220px;padding:2px 0 0}
body.community-view .community-workspace-tree-head-tools .community-storage-meter-total strong{color:#2f4865;font-size:22px}
body.community-view .community-workspace-tree-head-tools .community-storage-meter-total span{color:#8290a2;font-size:11px}
body.community-view .community-workspace-tree-head-tools .community-storage-meter-track{height:7px;background:#e7ebef}
body.community-view .community-workspace-tree-head-tools .community-storage-meter small{color:#939da8;font-size:9px}
body.community-view .community-workspace-tree-body{
  display:grid;
  align-content:start;
  gap:7px;
  flex:1 1 auto;
  min-height:0;
  margin:0;
  padding:17px 32px 34px;
  overflow:auto;
  scrollbar-color:#c4d0dc transparent;
}
body.community-view .community-workspace-node{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  min-height:56px;
  box-sizing:border-box;
  padding:8px 4px;
  border:0;
  border-bottom:1px solid #edf0f3;
  border-radius:0;
  background:transparent;
}
body.community-view .community-workspace-node:hover{border-color:#e4eaf0;background:#f8fafc;box-shadow:none}
body.community-view .community-workspace-node-main{display:flex;align-items:center;gap:11px;min-width:0}
body.community-view .community-workspace-node-open,
body.community-view .community-workspace-node-icon{display:grid;place-items:center;width:38px;height:38px;flex:none;border:1px solid #dbe4ec;border-radius:11px;background:#f5f8fb;color:#4e7893;font-size:18px;font-weight:850;box-shadow:0 4px 8px rgb(42 64 96 / .06)}
body.community-view .community-workspace-node-open{cursor:pointer}
body.community-view .community-workspace-node-open:hover{border-color:#84b39a;background:#eff9f3;color:#286d50}
body.community-view .community-workspace-node-name{color:#324d6d;font-size:13px;font-weight:750}
body.community-view .community-workspace-node-meta{color:#98a4b0;font-size:10px}
body.community-view .community-workspace-node-links{display:flex;align-items:center;gap:7px;opacity:.9}
body.community-view .community-workspace-node-actions{display:flex;align-items:center;gap:6px}
body.community-view .community-workspace-node-actions button,
body.community-view .community-workspace-node-download{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 10px;border:1px solid #d9e2eb;border-radius:9px;background:#fff;color:#61788c;font:inherit;font-size:10px;font-weight:750;text-decoration:none;cursor:pointer}
body.community-view .community-workspace-node-actions button:hover,
body.community-view .community-workspace-node-download:hover{border-color:#8db79e;background:#f0f9f3;color:#286d50}
body.community-view .community-workspace-tree-empty{display:grid;place-items:center;min-height:240px;border:1px dashed #d4dfe9;border-radius:14px;background:#fbfcfd;color:#96a4b3;font-size:12px;line-height:1.7;text-align:center}
@media(max-width:980px){
  body.community-view .community-workspace-tree-head{gap:16px;padding-left:24px;padding-right:24px}
  body.community-view .community-workspace-tree-head-tools{max-width:70%;gap:11px}
  body.community-view .community-workspace-tree-head-tools .community-module-header-actions{gap:11px}
  body.community-view .community-workspace-tree-head-tools .community-storage-meter{min-width:180px}
  body.community-view .community-workspace-tree-body{padding-left:24px;padding-right:24px}
}
@media(max-width:720px){
  body.community-view .community-workspace-tree-head{display:block;min-height:0;padding:20px 18px 16px}
  body.community-view .community-workspace-tree-head-tools{max-width:none;margin-top:17px;justify-content:flex-start}
  body.community-view .community-workspace-tree-head-tools .community-module-header-actions{justify-content:flex-start;flex-wrap:wrap}
  body.community-view .community-workspace-tree-head-tools .community-storage-meter{flex-basis:100%;min-width:0}
  body.community-view .community-workspace-tree-body{padding:13px 18px 24px}
}

/* Knowledge and Project use the toolbar/storage strip as the leading
   workspace control row. The former title/copy block created an empty blue
   panel on the left, so the file tree now starts directly with its actions. */
body.community-view .community-workspace-tree-head{
  justify-content:flex-start;
  min-height:88px;
  padding-top:20px;
  padding-bottom:18px;
}
body.community-view .community-workspace-tree-head-copy{display:none!important}
body.community-view .community-workspace-tree-head-tools{
  width:100%;
  max-width:none;
  margin-left:0;
  justify-content:flex-start;
}
body.community-view .community-workspace-tree-head-tools .community-module-header-actions{
  width:100%;
  justify-content:flex-start;
}
body.community-view .community-workspace-tree-head-tools .community-module-toolbar{
  justify-content:flex-start;
}

/* Discussion-tag workspaces use the review-stage two-column paper surface.
   The shell is shared by Discussion, Knowledge, Project, Q&A and
   Announcements; app.js fills the right preview according to the active tag. */
body.community-view .community-tag-workspace{
  grid-column:1/-1;
  min-height:calc(100vh - 150px);
  padding:0;
  border:1px solid #e1e7ec;
  border-radius:16px;
  background:#fff;
  box-shadow:0 12px 28px rgb(54 78 105 / .08);
  overflow:hidden;
}
body.community-view .community-tag-workspace[hidden]{display:none!important}
body.community-view .community-tag-workspace-heading{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:22px;
  min-height:105px;
  padding:23px 26px 18px;
  border-bottom:1px solid #e7ebef;
  background:linear-gradient(112deg,#fff 0%,#fbfcfd 58%,#f7f8fb 100%);
}
body.community-view .community-tag-workspace-heading h2{margin:4px 0 0;color:#273c56;font-size:23px;letter-spacing:-.035em}
body.community-view .community-tag-workspace-heading p{margin:5px 0 0;color:#8290a0;font-size:11px;line-height:1.55}
body.community-view .community-tag-workspace-status,
body.community-view .community-tag-preview-badge,
body.community-view .community-tag-chat-count{display:inline-flex;align-items:center;justify-content:center;min-height:26px;padding:0 10px;border:1px solid #dbe8df;border-radius:999px;background:#f3faf5;color:#4d886f;font-size:9px;font-weight:850;letter-spacing:.12em;white-space:nowrap}
body.community-view .community-tag-workspace-grid{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(320px,.96fr);min-height:calc(100vh - 256px)}
body.community-view .community-tag-chat-pane,
body.community-view .community-tag-preview-pane{min-width:0;padding:22px 24px 24px}
body.community-view .community-tag-chat-pane{display:flex;flex-direction:column;border-right:1px solid #e7ebef;background:#fff}
body.community-view .community-tag-preview-pane{background:linear-gradient(180deg,#fbfcfd 0%,#f7f9fb 100%)}
body.community-view .community-tag-pane-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:13px;border-bottom:1px solid #e7ebef}
body.community-view .community-tag-pane-heading h3{margin:4px 0 0;color:#354d69;font-size:15px;letter-spacing:-.02em}
body.community-view .community-tag-chat-list{display:grid;align-content:start;gap:4px;flex:1;min-height:220px;max-height:calc(100vh - 420px);overflow:auto;padding:14px 3px 18px 0}
body.community-view .community-tag-chat-message{display:flex;align-items:flex-start;gap:9px;padding:9px 7px;border:1px solid transparent;border-radius:9px}
body.community-view .community-tag-chat-message:hover{border-color:#e4eaee;background:#f8fafb}
body.community-view .community-tag-chat-message.is-selected{border-color:#b9d7c5;background:#f2faf5;box-shadow:0 5px 12px rgb(56 114 82 / .06)}
body.community-view .community-tag-chat-avatar{display:grid;place-items:center;width:30px;height:30px;flex:none;overflow:hidden;border:1px solid #dfe7ed;border-radius:9px;background:#edf3f0;color:#4f806c;font-size:11px;font-weight:800}
body.community-view .community-tag-chat-avatar img{width:100%;height:100%;object-fit:cover}
body.community-view .community-tag-chat-message-main{min-width:0;flex:1}
body.community-view .community-tag-chat-message-meta{display:flex;align-items:baseline;gap:7px;min-width:0}
body.community-view .community-tag-chat-message-meta strong{color:#3f556c;font-size:11px}
body.community-view .community-tag-chat-message-meta time{color:#a2abb4;font-size:9px}
body.community-view .community-tag-chat-message-content{margin:4px 0 0;color:#596b7e;font-size:12px;line-height:1.62;white-space:pre-wrap;overflow-wrap:anywhere}
body.community-view .community-tag-chat-message-note{margin-top:7px;padding:8px 9px;border-left:3px solid #c9d9e4;background:#f7fafc;color:#768695;font-size:10px;line-height:1.55;white-space:pre-wrap}
body.community-view .community-tag-chat-message-links{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}
body.community-view .community-tag-chat-message-links a,
body.community-view .community-tag-file-chip{display:inline-flex;align-items:center;gap:4px;border:1px solid #d8e7de;border-radius:6px;background:#f1f8f3;color:#347257;padding:4px 7px;font-size:9px;text-decoration:none}
body.community-view .community-tag-chat-message-links a:hover{border-color:#64a284;background:#eaf6ee}
body.community-view .community-tag-compose-links{position:relative;display:flex;align-items:center;flex-wrap:wrap;gap:7px}
body.community-view .community-tag-compose-links .community-composer-tool{min-height:29px;border:1px solid #dce4ea;border-radius:8px;background:#fff;color:#5d7285;font-size:10px}
body.community-view .community-tag-compose-links .community-composer-tool:hover{border-color:#5f9b7b;background:#f2faf5;color:#28684c}
body.community-view .community-tag-link-menu{position:absolute;z-index:8;left:0;bottom:36px;display:grid;gap:3px;width:min(320px,100%);max-height:220px;overflow:auto;padding:6px;border:1px solid #dce4ea;border-radius:10px;background:#fff;box-shadow:0 15px 35px rgb(39 59 77 / .16)}
body.community-view .community-tag-link-menu[hidden]{display:none!important}
body.community-view .community-tag-link-menu button{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:8px 9px;border:0;border-radius:6px;background:transparent;color:#445b73;font:inherit;font-size:10px;text-align:left;cursor:pointer}
body.community-view .community-tag-link-menu button:hover{background:#f1f7f3;color:#28684c}
body.community-view .community-tag-link-menu button small{color:#9aa5ae;font-size:9px}
body.community-view .community-tag-link-menu .community-tag-link-empty{padding:10px;color:#9aa5ae;font-size:10px}
body.community-view .community-tag-linked-files{display:flex;flex-wrap:wrap;gap:5px}
body.community-view .community-tag-file-chip{cursor:default}
body.community-view .community-tag-file-chip button{display:grid;place-items:center;width:14px;height:14px;border:0;border-radius:50%;background:transparent;color:#5c8c72;font-size:12px;line-height:1;cursor:pointer}
body.community-view .community-tag-file-chip button:hover{background:#d7eddf}
body.community-view .community-tag-chat-form{display:grid;gap:9px;padding-top:14px;border-top:1px solid #e7ebef}
body.community-view .community-tag-chat-form textarea{min-height:78px;resize:vertical;border:1px solid #dce4ea;border-radius:9px;background:#fbfcfd;color:#34495d;padding:10px 11px;font:inherit;font-size:12px;line-height:1.55}
body.community-view .community-tag-chat-form textarea:focus{outline:0;border-color:#70a489;box-shadow:0 0 0 3px rgb(87 153 117 / .12);background:#fff}
body.community-view .community-tag-compose-footer{display:flex;align-items:center;justify-content:space-between;gap:10px}
body.community-view .community-tag-preview-body{min-height:calc(100vh - 335px);padding-top:16px}
body.community-view .community-tag-preview-empty{display:grid;place-items:center;min-height:220px;padding:26px;border:1px dashed #d5e0e7;border-radius:12px;background:rgb(255 255 255 / .74);text-align:center}
body.community-view .community-tag-preview-empty span{display:grid;place-items:center;width:43px;height:43px;margin-bottom:11px;border-radius:12px;background:#eaf4ed;color:#4f9570;font-size:21px}
body.community-view .community-tag-preview-empty strong{color:#536a7d;font-size:12px}
body.community-view .community-tag-preview-empty p{max-width:250px;margin:7px 0 0;color:#9aa6b0;font-size:10px;line-height:1.6}
body.community-view .community-tag-file-preview{display:grid;gap:15px;padding:17px;border:1px solid #dce5ea;border-radius:12px;background:#fff;box-shadow:0 8px 20px rgb(48 69 86 / .06)}
body.community-view .community-tag-file-preview-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
body.community-view .community-tag-file-preview-heading strong{color:#354d69;font-size:14px;overflow-wrap:anywhere}
body.community-view .community-tag-file-preview-meta{display:grid;gap:6px;color:#8a98a5;font-size:10px}
body.community-view .community-tag-file-preview-note{padding:12px;border-left:3px solid #70a489;background:#f4faf6;color:#5e6f7c;font-size:11px;line-height:1.65}
body.community-view .community-tag-file-preview a{justify-self:start;border:1px solid #d7e3e9;border-radius:7px;background:#fbfcfd;color:#4e7c68;padding:7px 10px;font-size:10px;text-decoration:none}
body.community-view .community-tag-file-preview a:hover{border-color:#70a489;background:#f0f8f3}
body.community-view .community-tag-tree-preview{display:grid;gap:7px}
body.community-view .community-tag-tree-preview-head{display:flex;align-items:center;justify-content:space-between;gap:9px;padding-bottom:10px;border-bottom:1px solid #e3e9ed}
body.community-view .community-tag-tree-preview-head strong{color:#354d69;font-size:12px}
body.community-view .community-tag-tree-preview-head button{border:1px solid #dce4ea;border-radius:6px;background:#fff;color:#66798d;padding:5px 8px;font:inherit;font-size:9px;cursor:pointer}
body.community-view .community-tag-tree-preview-head button:hover{border-color:#70a489;color:#2f7657;background:#f4faf6}
body.community-view .community-tag-tree-preview-row{display:flex;align-items:center;justify-content:space-between;gap:9px;min-height:36px;padding:6px 8px;border:1px solid #e5eaee;border-radius:8px;background:#fff}
body.community-view .community-tag-tree-preview-row:hover{border-color:#b9d7c5;background:#f7fcf8}
body.community-view .community-tag-tree-preview-row-main{display:flex;align-items:center;gap:7px;min-width:0}
body.community-view .community-tag-tree-preview-row-main button{display:grid;place-items:center;width:24px;height:24px;border:1px solid #dce5eb;border-radius:6px;background:#f8fafb;color:#5b7790;font-size:11px;cursor:pointer}
body.community-view .community-tag-tree-preview-row-main span{overflow:hidden;color:#50657a;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
body.community-view .community-tag-tree-preview-row small{color:#a1aab2;font-size:9px}
/* Q&A cards expose the full question and answer state instead of hiding it
   behind title-only tiles. */
body.community-view .community-tag-chat-list[data-tag-kind="qna"]{gap:10px}
body.community-view .community-tag-question{padding:12px 13px;border:1px solid #dfe7eb;border-radius:10px;background:#fff}
body.community-view .community-tag-question.is-unanswered{border-left:3px solid #d5a13c}
body.community-view .community-tag-question.is-answered{border-left:3px solid #67a27f}
body.community-view .community-tag-question-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
body.community-view .community-tag-question-head strong{color:#344c65;font-size:11px}
body.community-view .community-tag-question-status{padding:3px 6px;border-radius:999px;background:#fff6df;color:#a17225;font-size:9px;font-weight:750}
body.community-view .community-tag-question.is-answered .community-tag-question-status{background:#eef8f1;color:#3e8660}
body.community-view .community-tag-question-content{margin:8px 0 0;color:#53697c;font-size:12px;line-height:1.62;white-space:pre-wrap}
body.community-view .community-tag-question-actions{display:flex;align-items:center;gap:10px;margin-top:10px;color:#9aa6b0;font-size:9px}
body.community-view .community-tag-question-actions button{border:1px solid #d7e2e8;border-radius:6px;background:#fff;color:#5f7b91;padding:5px 8px;font:inherit;font-size:9px;cursor:pointer}
body.community-view .community-tag-question-actions button:hover{border-color:#70a489;background:#f2faf5;color:#28684c}
body.community-view .community-tag-answer{margin:10px 0 0;padding:9px 10px;border-top:1px solid #edf0f2;background:#f7faf8}
body.community-view .community-tag-answer strong{color:#47735d;font-size:10px}
body.community-view .community-tag-answer time{margin-left:7px;color:#9aa6ae;font-size:9px}
body.community-view .community-tag-answer p{margin:4px 0 0;color:#61766a;font-size:11px;line-height:1.55;white-space:pre-wrap}
/* Announcements are intentionally headline-first: one readable line per
   entry, with the selected headline expanded in the preview column. */
body.community-view .community-tag-chat-list[data-tag-kind="announcements"]{gap:7px}
body.community-view .community-tag-announcement{display:block;width:100%;padding:14px 15px;border:1px solid #e2e7eb;border-radius:10px;background:#fff;color:#263f57;font-size:13px;font-weight:780;line-height:1.45;text-align:left;cursor:pointer}
body.community-view .community-tag-announcement:hover,.community-tag-announcement.is-selected{border-color:#bad7c4;background:#f2faf5;color:#28684c;box-shadow:0 7px 16px rgb(56 114 82 / .08)}
@media(max-width:900px){
  body.community-view .community-tag-workspace-heading{padding:20px 19px 16px}
  body.community-view .community-tag-workspace-grid{grid-template-columns:1fr}
  body.community-view .community-tag-chat-pane{border-right:0;border-bottom:1px solid #e7ebef}
  body.community-view .community-tag-chat-list{max-height:360px}
  body.community-view .community-tag-preview-body{min-height:260px}
}
@media(max-width:620px){
  body.community-view .community-tag-chat-pane,
  body.community-view .community-tag-preview-pane{padding:18px 16px 20px}
  body.community-view .community-tag-compose-footer{align-items:flex-start;flex-direction:column}
  body.community-view .community-tag-compose-footer .community-primary-button{width:100%}
}

/* Tag workspaces replace the legacy discussion and resource columns while
   preserving the three main module surfaces in their existing layout. */
body.community-view #community-main-view[data-workspace-mode="tag"] .community-detail-grid{display:block;padding-top:24px}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace{display:block}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-discussion-panel,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-side-stack{display:none!important}
body.community-view #community-main-view[data-workspace-mode="main"] .community-tag-workspace{display:none!important}
body.community-view .community-tag-chat-message.is-selected{border-color:#b9d7c5;background:#f5fbf6}
body.community-view .community-tag-answer time{margin-left:7px;color:#a1adb4;font-size:9px}
body.community-view .community-tag-answer-empty{color:#9aa6b0;font-size:10px}
body.community-view .community-tag-chat-actions{display:inline-flex;gap:4px;margin-left:auto;opacity:0;transition:opacity .15s ease}
body.community-view .community-tag-chat-message:hover .community-tag-chat-actions,
body.community-view .community-tag-chat-message:focus-within .community-tag-chat-actions{opacity:1}
body.community-view .community-tag-chat-actions button{border:0;background:transparent;color:#8293a1;padding:1px 3px;font:inherit;font-size:9px;cursor:pointer}
body.community-view .community-tag-chat-actions button:hover{color:#2f7657}
body.community-view .community-tag-inline-file{min-height:72px;max-height:360px;overflow:auto;padding:10px;border:1px solid #e4eaee;border-radius:8px;background:#f8fafb;color:#788996;font-size:10px;line-height:1.55}
body.community-view .community-tag-inline-file pre{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;color:#536a79}
body.community-view .community-tag-inline-file img{display:block;max-width:100%;height:auto;margin:auto;border-radius:6px}
body.community-view .community-tag-inline-file iframe{display:block;width:100%;height:330px;border:0;border-radius:6px;background:#fff}
body.community-view .community-tag-inline-file small{display:block;margin-top:8px;color:#9aa6b0}
body.community-view .community-tag-file-download{justify-self:start;border:1px solid #d7e3e9;border-radius:7px;background:#fbfcfd;color:#4e7c68;padding:7px 10px;font:inherit;font-size:10px;cursor:pointer}
body.community-view .community-tag-file-download:hover{border-color:#70a489;background:#f0f8f3}

/* Discussion tag polish ---------------------------------------------------
   Match the document-conversion review stage: quiet blue paper surfaces,
   readable hierarchy, and controls with enough area to scan and click. */
body.community-view .community-channel-rail{
  background:linear-gradient(180deg,#f8f9fc 0%,#f3f5f9 100%);
  border-right:1px solid #dfe5ef;
  color:#33445e;
}
body.community-view .community-channel-community-header{
  min-height:104px;
  padding:22px 18px 17px;
  border-bottom:1px solid #e2e8f1;
  background:linear-gradient(145deg,#ffffff 0%,#f4f7fd 100%);
}
body.community-view .community-channel-logo{
  width:46px;
  height:46px;
  border:0;
  border-radius:13px;
  background:#edf3ff;
  color:#3159a4;
  font-size:18px;
  box-shadow:5px 5px 0 #c5d5f2,0 9px 18px rgb(42 64 96 / .10),inset 0 1px 0 #fff;
}
body.community-view .community-channel-community-copy{padding-top:1px}
body.community-view .community-channel-community-copy strong{
  color:#253d69;
  font-size:14px;
  font-weight:750;
  line-height:1.35;
}
body.community-view .community-channel-community-copy p{
  margin-top:5px;
  color:#71819a;
  font-size:12px;
  line-height:1.55;
}
body.community-view .community-workspace-nav{
  gap:7px;
  padding:17px 13px 19px;
  border-bottom:1px solid #e2e8f1;
  background:#f4f6fb;
}
body.community-view .community-workspace-nav .community-workspace-tab{
  min-height:49px;
  padding:10px 12px;
  border:1px solid transparent;
  border-radius:12px;
  color:#5d6e87;
  font-size:13px;
  font-weight:700;
  line-height:1.35;
}
body.community-view .community-workspace-nav .community-workspace-tab span{
  display:grid;
  place-items:center;
  width:28px;
  height:28px;
  border-radius:9px;
  background:#fff;
  color:#6e84af;
  font-size:15px;
  box-shadow:0 4px 9px rgb(42 64 96 / .06),inset 0 1px 0 #fff;
}
body.community-view .community-workspace-nav .community-workspace-tab:hover{
  border-color:#d6e0f0;
  background:#fff;
  color:#2f4f88;
  box-shadow:0 7px 15px rgb(42 64 96 / .06);
}
body.community-view .community-workspace-nav .community-workspace-tab.active{
  border-color:#cbd9f4;
  background:#eaf1ff;
  color:#2455df;
  box-shadow:0 8px 17px rgb(42 64 96 / .09),inset 3px 0 #2455df;
}
body.community-view .community-workspace-nav .community-workspace-tab.active span{
  background:#2455df;
  color:#fff;
  box-shadow:none;
}
body.community-view .community-tag-heading{
  padding:22px 18px 10px;
  color:#7688a4;
  font-size:10px;
  font-weight:800;
  letter-spacing:.16em;
}
body.community-view .community-tag-list{gap:6px;padding:0 12px}
body.community-view .community-tag-button{
  min-height:45px;
  padding:9px 12px;
  gap:9px;
  border:1px solid transparent;
  border-radius:11px;
  background:transparent;
  color:#5e6f87;
  font-size:13px;
  font-weight:650;
  line-height:1.35;
}
body.community-view .community-tag-button:hover{
  border-color:#d8e2f0;
  background:#fff;
  color:#29466f;
  box-shadow:0 5px 12px rgb(42 64 96 / .055);
}
body.community-view .community-tag-button.active{
  border-color:#cbd9f4;
  background:#eaf1ff;
  color:#2455df;
  box-shadow:0 7px 15px rgb(42 64 96 / .08),inset 3px 0 #2455df;
}
body.community-view .community-tag-hash{
  display:grid;
  place-items:center;
  width:27px;
  height:27px;
  flex:none;
  border-radius:8px;
  background:#edf2fa;
  color:#7086b1;
  font-size:14px;
  font-weight:800;
}
body.community-view .community-tag-button.active .community-tag-hash{background:#2455df;color:#fff}
body.community-view .community-tag-count{color:#8695aa;font-size:11px;font-variant-numeric:tabular-nums}
body.community-view .community-tag-button.active .community-tag-count{color:#5b76b3}
body.community-view .community-tag-empty{padding:12px 11px;color:#8997aa;font-size:12px;line-height:1.6}
body.community-view .community-channel-footer{padding:16px 18px;border-top:1px solid #e2e8f1}
body.community-view .community-channel-footer-label{color:#8b9ab0;font-size:10px;letter-spacing:.11em}
body.community-view .community-channel-footer .community-status{color:#6e7f96;font-size:11px}

/* Keep the tag page itself fixed to the viewport. Only the message and
   document panes scroll, leaving the composer comfortably above the taskbar. */
body.community-view #community-main-view[data-workspace-mode="tag"]{overflow:hidden}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-detail{height:100%;min-height:0;overflow:hidden;padding-bottom:24px}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-detail-grid{height:calc(100vh - 254px);min-height:520px;overflow:hidden}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace{
  display:flex;
  flex-direction:column;
  height:100%;
  min-height:0;
  margin-bottom:24px;
  border-color:#dfe6ef;
  border-radius:20px;
  box-shadow:0 18px 38px rgb(42 64 96 / .10),inset 0 1px 0 #fff;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace-heading{
  min-height:96px;
  padding:22px 30px 17px;
  background:linear-gradient(118deg,#fff 0%,#f8faff 55%,#f5f0ff 100%);
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace-heading h2{color:#243d69;font-size:25px}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace-heading p{color:#6f809a;font-size:12px}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace-status{
  min-height:30px;
  padding:0 12px;
  border-color:#cbd9f4;
  background:#edf3ff;
  color:#3159a4;
  font-size:10px;
  letter-spacing:.12em;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace-grid{flex:1 1 auto;height:auto;min-height:0}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-pane,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-preview-pane{min-height:0;padding:24px 30px 26px}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-pane{border-right:1px solid #e0e7f0;background:#fff}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-preview-pane{display:flex;flex-direction:column;background:linear-gradient(180deg,#f7f9fe 0%,#f4f7fc 100%)}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-pane-heading{min-height:42px;padding-bottom:15px;border-bottom:1px solid #e4eaf2}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-pane-heading h3{color:#2d4771;font-size:17px;line-height:1.35}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-section-kicker{color:#6a82ae;font-size:10px;letter-spacing:.16em}
body.community-view .community-tag-pane-heading-actions{display:flex;align-items:center;gap:8px}
body.community-view .community-tag-search-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:32px;
  padding:0 11px;
  border:1px solid #d7e1ef;
  border-radius:9px;
  background:#fff;
  color:#5b7194;
  font:inherit;
  font-size:11px;
  font-weight:700;
  cursor:pointer;
  box-shadow:0 4px 10px rgb(42 64 96 / .05);
}
body.community-view .community-tag-search-button:hover,
body.community-view .community-tag-search-button[aria-expanded="true"]{border-color:#a9bfea;background:#edf3ff;color:#2455df}
body.community-view .community-tag-search-panel{display:grid;gap:6px;margin:12px 0 2px;padding:11px 12px;border:1px solid #dfe6f0;border-radius:12px;background:#f7f9fd}
body.community-view .community-tag-search-panel[hidden]{display:none!important}
body.community-view .community-tag-search-panel label{color:#74849d;font-size:10px;font-weight:700}
body.community-view .community-tag-search-panel>div{display:flex;align-items:center;gap:6px}
body.community-view .community-tag-search-panel input{width:100%;min-height:35px;padding:8px 10px;border:1px solid #d5deec;border-radius:8px;background:#fff;color:#334b6c;font:inherit;font-size:12px}
body.community-view .community-tag-search-panel input:focus{outline:3px solid rgb(36 85 223 / .14);border-color:#8ca9e6}
body.community-view .community-tag-search-panel button{width:28px;height:28px;border:1px solid #d7e1ef;border-radius:7px;background:#fff;color:#72839c;font-size:15px;line-height:1;cursor:pointer}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-list{min-height:0;max-height:none;padding:18px 7px 18px 0;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#c4d0e1 transparent}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-message{gap:12px;padding:11px 12px;border-color:transparent;border-radius:13px}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-message:hover{border-color:#dce5f0;background:#f7f9fd;box-shadow:0 5px 13px rgb(42 64 96 / .045)}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-message.is-selected{border-color:#bfd0f3;background:#edf3ff;box-shadow:0 7px 16px rgb(42 64 96 / .08)}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-avatar{width:38px;height:38px;border-radius:11px;border-color:#d7e1ef;background:#eef3ff;color:#3c63a6;font-size:13px;cursor:context-menu;box-shadow:0 4px 9px rgb(42 64 96 / .08)}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-message-meta{gap:8px;min-height:20px}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-message-meta strong{color:#2f4667;font-size:12px;font-weight:750}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-message-meta>span:not(.community-tag-chat-actions){color:#6f83a5;font-size:11px}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-message-meta time{padding:3px 7px;border:1px solid #e0e7f0;border-radius:999px;background:#f5f8fc;color:#8897aa;font-size:10px;font-variant-numeric:tabular-nums;white-space:nowrap}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-message-content{margin-top:6px;color:#425773;font-size:13px;line-height:1.68}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-actions{gap:6px;opacity:0}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-message:hover .community-tag-chat-actions,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-message:focus-within .community-tag-chat-actions{opacity:1}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-actions button{
  min-height:28px;
  padding:0 8px;
  border:1px solid #d7e1ef;
  border-radius:8px;
  background:#fff;
  color:#58739e;
  font-size:10px;
  font-weight:700;
  box-shadow:0 3px 8px rgb(42 64 96 / .06);
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-actions button:hover{border-color:#9bb5ea;background:#edf3ff;color:#2455df}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-message-note{display:none!important}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-form{flex:none;gap:11px;margin-top:8px;padding:14px;border:1px solid #dce5f1;border-radius:16px;background:linear-gradient(145deg,#f9fbff 0%,#f2f6fc 100%);box-shadow:0 9px 22px rgb(42 64 96 / .08),inset 0 1px 0 #fff}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-compose-links{gap:8px}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-compose-links .community-composer-tool{min-height:35px;padding:0 11px;border-color:#d3deed;border-radius:9px;background:#fff;color:#53709d;font-size:11px;font-weight:700;box-shadow:0 3px 8px rgb(42 64 96 / .05)}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-compose-links .community-composer-tool:hover{border-color:#9bb5ea;background:#edf3ff;color:#2455df}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-form .community-tag-composer-input{min-height:112px;padding:15px 16px;border:1px solid #cbd8ed;border-radius:13px;background:#fff;color:#263e61;font-size:14px;line-height:1.65;box-shadow:inset 0 1px 2px rgb(42 64 96 / .04),0 4px 13px rgb(42 64 96 / .04)}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-form .community-tag-composer-input::placeholder{color:#93a0b5}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-form .community-tag-composer-input:focus{outline:3px solid rgb(36 85 223 / .13);border-color:#82a3e5;background:#fff;box-shadow:inset 0 1px 2px rgb(42 64 96 / .04),0 7px 18px rgb(42 64 96 / .09)}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-compose-footer{min-height:40px}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-compose-footer .community-form-hint{color:#7a8aa3;font-size:11px}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-compose-footer .community-primary-button{min-height:40px;padding:0 16px;border-radius:10px;background:#2455df;box-shadow:0 7px 15px rgb(36 85 223 / .18);font-size:12px;font-weight:750}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-compose-footer .community-primary-button:hover{background:#1742bd;box-shadow:0 9px 19px rgb(36 85 223 / .24)}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-preview-body{min-height:0;flex:1;overflow:auto;padding:18px 4px 6px 0;scrollbar-color:#c4d0e1 transparent}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-preview-empty{min-height:260px;padding:34px 25px;border:1px dashed #cbd8e7;border-radius:15px;background:rgb(255 255 255 / .72)}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-preview-empty span{width:50px;height:50px;border-radius:14px;background:#edf3ff;color:#5574b1;font-size:24px;box-shadow:5px 5px 0 #d2def4}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-preview-empty strong{color:#4f6585;font-size:13px}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-preview-empty p{max-width:300px;color:#8795aa;font-size:11px;line-height:1.7}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-file-preview{padding:20px;border-color:#d8e3f0;border-radius:15px;background:#fff;box-shadow:0 10px 24px rgb(42 64 96 / .08)}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-file-preview-heading strong{color:#2c466b;font-size:15px}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-file-preview-meta{color:#7c8ca4;font-size:11px}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-inline-file{border-color:#dce5f1;border-radius:11px;background:#f7f9fd;color:#5f7391;font-size:11px;line-height:1.65}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-inline-file pre{color:#354e70;font-family:"Cascadia Code",Consolas,monospace;font-size:11px}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-tree-preview-row-main .community-tag-tree-file-name{
  display:block;
  width:auto;
  min-width:0;
  height:auto;
  padding:3px 0;
  overflow:hidden;
  border:0;
  border-radius:0;
  background:transparent;
  color:#506784;
  font:inherit;
  font-size:11px;
  text-align:left;
  text-overflow:ellipsis;
  white-space:nowrap;
  cursor:pointer;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-tree-preview-row-main .community-tag-tree-file-name:hover{color:#2455df}

/* Q&A and Announcements are reading surfaces. Keep them single-column and
   let their conversation list use the full card width. */
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="qna"]),
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="announcements"]){height:auto;min-height:calc(100vh - 254px)}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="qna"]) .community-tag-workspace-grid,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="announcements"]) .community-tag-workspace-grid{display:block;height:auto;min-height:calc(100vh - 350px)}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="qna"]) .community-tag-chat-pane,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="announcements"]) .community-tag-chat-pane{min-height:calc(100vh - 350px);border-right:0}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="qna"]) .community-tag-preview-pane,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="announcements"]) .community-tag-preview-pane{display:none}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="qna"]) .community-tag-chat-list,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="announcements"]) .community-tag-chat-list{max-height:calc(100vh - 520px)}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-question{padding:17px 18px;border-color:#d9e3ef;border-radius:14px;background:#fbfcff;box-shadow:0 5px 15px rgb(42 64 96 / .05)}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-question-head strong{color:#304c75;font-size:12px}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-question-author{display:flex;align-items:center;gap:8px;min-width:0}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-question-author time,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-answer time{padding:3px 7px;border:1px solid #e0e7f0;border-radius:999px;background:#f5f8fc;color:#8897aa;font-size:10px;font-variant-numeric:tabular-nums;white-space:nowrap}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-question-content{color:#3d5779;font-size:14px;line-height:1.7}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-question-actions button{min-height:31px;border-color:#d5e0ee;border-radius:8px;color:#526e98;font-size:10px;font-weight:700}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-announcement{padding:17px 18px;border-color:#d8e2ef;border-radius:13px;background:#fff;color:#2d4770;font-size:15px;font-weight:750;box-shadow:0 6px 16px rgb(42 64 96 / .06)}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-announcement:hover,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-announcement.is-selected{border-color:#a9bfea;background:#edf3ff;color:#2455df;box-shadow:0 9px 20px rgb(42 64 96 / .10)}

/* Keep the tag composer above the system taskbar and let the conversation
   list own the scroll position.  The preview pane has its own internal
   scroll for long text and document previews. */
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace[data-tag-layout="split"] .community-tag-workspace-grid{
  height:calc(100vh - 270px);
  min-height:420px;
  max-height:calc(100vh - 270px);
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace[data-tag-layout="split"] .community-tag-chat-pane{
  min-height:0;
  max-height:100%;
  overflow:hidden;
  padding-bottom:18px;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace[data-tag-layout="split"] .community-tag-chat-list{
  min-height:0;
  max-height:none;
  overscroll-behavior:contain;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace[data-tag-layout="split"] .community-tag-chat-form{
  position:sticky;
  bottom:10px;
  z-index:4;
  flex:0 0 auto;
  margin-top:8px;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace[data-tag-layout="single"] .community-tag-workspace-grid{display:block;height:auto;min-height:0;max-height:none}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace[data-tag-layout="single"] .community-tag-chat-pane{min-height:calc(100vh - 310px);border-right:0;overflow:visible}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace[data-tag-layout="single"] .community-tag-chat-list{max-height:none;overflow:visible}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace[data-tag-layout="single"] .community-tag-chat-form{position:static}
body.community-view .community-tag-tree-preview-row-main .community-tag-tree-file-open,
body.community-view .community-tag-tree-preview-row-main .community-tag-tree-file-name{border:0;background:transparent;color:#50657a;font:inherit;cursor:pointer}
body.community-view .community-tag-tree-preview-row-main .community-tag-tree-file-open{display:grid;place-items:center;width:24px;height:24px;padding:0;border:1px solid #dce5eb;border-radius:6px;background:#f8fafb;color:#5b7790;font-size:11px}
body.community-view .community-tag-tree-preview-row-main .community-tag-tree-file-name{padding:2px 0;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}
body.community-view .community-tag-tree-preview-row-main .community-tag-tree-file-open:hover,
body.community-view .community-tag-tree-preview-row-main .community-tag-tree-file-name:hover{color:#2455df}
body.community-view .community-tag-tree-preview-row.is-selected{border-color:#a9bfea;background:#edf3ff;box-shadow:0 6px 14px rgb(42 64 96 / .07)}
body.community-view .community-tag-question-author{display:flex;align-items:center;gap:8px;min-width:0}
body.community-view .community-tag-question-avatar,
body.community-view .community-tag-answer-avatar{width:30px;height:30px;cursor:context-menu}
body.community-view .community-tag-answer{display:flex;align-items:flex-start;gap:8px}
body.community-view .community-tag-answer-body{min-width:0;flex:1}
body.community-view .community-tag-answer-body>div{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap}

@media(max-width:900px){
  body.community-view #community-main-view[data-workspace-mode="tag"]{overflow:auto}
  body.community-view #community-main-view[data-workspace-mode="tag"] .community-detail{height:auto;min-height:100%;overflow:visible}
  body.community-view #community-main-view[data-workspace-mode="tag"] .community-detail-grid{height:auto;min-height:0;overflow:visible}
  body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace{height:auto;min-height:650px}
  body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace-grid{height:auto;min-height:0}
  body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-pane{min-height:620px}
}
@media(max-width:620px){
  body.community-view .community-channel-community-header{padding-left:14px;padding-right:14px}
  body.community-view .community-workspace-nav{padding-left:10px;padding-right:10px}
  body.community-view .community-tag-heading{padding-left:14px;padding-right:14px}
  body.community-view .community-tag-list{padding-left:8px;padding-right:8px}
  body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace-heading{padding:19px 18px 16px}
  body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-pane,
  body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-preview-pane{padding:18px 17px 20px}
  body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-compose-footer{align-items:stretch;flex-direction:column}
  body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-compose-footer .community-primary-button{width:100%}
}

/* Tag workspace geometry -------------------------------------------------
   The global channel bar already identifies the active tag.  Remove the
   second DISCUSSION TAG banner so the conversation starts immediately below
   it, and let the tag frame reach the bottom of the main viewport.  The
   internal conversation / preview panes own their scroll positions. */
body.community-view #community-main-view[data-workspace-mode="tag"]{
  overflow:hidden;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-detail{
  display:flex;
  flex-direction:column;
  height:100%;
  min-height:0;
  padding-bottom:0;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-main-topbar{
  flex:0 0 auto;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace-heading{
  display:none!important;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-detail-grid{
  display:block;
  flex:1 1 auto;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  padding-top:0!important;
  overflow:hidden;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace{
  display:flex;
  flex-direction:column;
  height:100%;
  min-height:0;
  margin:0;
  border-color:#dce4ee;
  border-radius:15px 15px 0 0;
  box-shadow:none;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace-grid{
  flex:1 1 auto;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-pane{
  min-height:0;
  max-height:none;
  overflow:hidden;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-list{
  min-height:0;
  max-height:none!important;
  overflow-y:auto;
  overscroll-behavior:contain;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-preview-pane{
  min-height:0;
  max-height:none;
  overflow:hidden;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-preview-body{
  min-height:0;
  overflow-y:auto;
  overscroll-behavior:contain;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace[data-tag-layout="single"] .community-tag-workspace-grid{
  display:block;
  overflow:hidden;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace[data-tag-layout="single"] .community-tag-chat-pane{
  display:flex;
  flex-direction:column;
  min-height:0;
  height:100%;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace[data-tag-layout="single"] .community-tag-chat-list{
  flex:1 1 auto;
  overflow-y:auto;
}

/* Use the review-stage borderless paper treatment inside the frame.  Keep
   the pane divider and outer frame as the two structural boundaries. */
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-pane,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-preview-pane{
  background:transparent;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-pane-heading{
  background:transparent;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-message,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-question,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-announcement{
  border-color:transparent;
  background:transparent;
  box-shadow:none;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-message:hover,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-question:hover,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-announcement:hover,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-message.is-selected,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-announcement.is-selected{
  border-color:#d7e2f1;
  background:#f7f9fd;
  box-shadow:0 5px 13px rgb(42 64 96 / .045);
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-form{
  border-top:1px solid #e1e7ef;
  background:transparent;
  box-shadow:none;
}

@media(max-width:900px){
  body.community-view #community-main-view[data-workspace-mode="tag"]{
    overflow:auto;
  }
  body.community-view #community-main-view[data-workspace-mode="tag"] .community-detail{
    height:auto;
    min-height:100%;
  }
  body.community-view #community-main-view[data-workspace-mode="tag"] .community-detail-grid,
  body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace{
    height:auto!important;
    min-height:0!important;
    overflow:visible;
  }
}

/* Final control pass: give the tag controls a stronger visual hierarchy while
   keeping the conversation and file surfaces open like the conversion review.
   These rules intentionally apply only to the community workspaces. */
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-pane-heading{
  min-height:48px;
  padding-bottom:14px;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-pane-heading h3{
  color:#1f3e68;
  font-size:18px;
  font-weight:800;
  letter-spacing:-.025em;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-search-button{
  min-height:40px;
  padding:0 15px;
  border:1px solid #b9cbed;
  border-radius:11px;
  background:linear-gradient(145deg,#fff 0%,#edf3ff 100%);
  color:#2455df;
  font-size:12px;
  font-weight:850;
  box-shadow:0 7px 15px rgb(36 85 223 / .10),inset 0 1px 0 #fff;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-search-button:hover,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-search-button[aria-expanded="true"]{
  border-color:#7c9de3;
  background:linear-gradient(145deg,#2455df,#4779e9);
  color:#fff;
  box-shadow:0 9px 20px rgb(36 85 223 / .22);
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-count,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-preview-badge{
  min-height:30px;
  padding:0 11px;
  border-color:#c3dfd0;
  background:#eef9f2;
  color:#347555;
  font-size:11px;
  font-weight:850;
  letter-spacing:.04em;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-message-meta time,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-question-author time,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-answer time{
  min-height:24px;
  padding:3px 9px;
  border-color:#cad8ee;
  background:linear-gradient(145deg,#f9fbff,#edf3ff);
  color:#667fa8;
  font-size:10px;
  font-weight:750;
  letter-spacing:.01em;
  box-shadow:0 3px 8px rgb(42 64 96 / .05);
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-compose-links .community-composer-tool{
  min-height:42px;
  padding:0 14px;
  border:1px solid #b9cbed;
  border-radius:11px;
  background:linear-gradient(145deg,#fff 0%,#f2f6ff 100%);
  color:#3a5f9a;
  font-size:12px;
  font-weight:850;
  box-shadow:0 6px 14px rgb(42 64 96 / .08),inset 0 1px 0 #fff;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-compose-links .community-composer-tool:hover{
  border-color:#7c9de3;
  background:#edf3ff;
  color:#2455df;
  transform:translateY(-1px);
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-actions button{
  min-height:32px;
  padding:0 11px;
  border:1px solid #c4d2e9;
  border-radius:9px;
  background:#fff;
  color:#476a9b;
  font-size:11px;
  font-weight:850;
  box-shadow:0 4px 10px rgb(42 64 96 / .06);
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-actions button:hover{
  border-color:#7c9de3;
  background:#edf3ff;
  color:#2455df;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-form .community-tag-composer-input{
  min-height:124px;
  border:2px solid #b9cbed;
  border-radius:15px;
  background:#fff;
  font-size:15px;
  box-shadow:0 10px 22px rgb(42 64 96 / .08),inset 0 1px 0 #fff;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-form .community-tag-composer-input:focus{
  border-color:#557bd6;
  box-shadow:0 0 0 4px rgb(36 85 223 / .12),0 12px 24px rgb(42 64 96 / .10);
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace[data-tag-layout="single"] .community-tag-chat-form .community-tag-composer-input{
  min-height:112px;
}

/* The top-level file workspaces use the same visual weight for their moved
   toolbar. The first control is the return-to-parent action. */
body.community-view .community-workspace-tree-head-tools .community-workspace-toolbar-button[data-workspace-toolbar="up"]{
  border-color:#243f63;
  background:linear-gradient(145deg,#243f63,#385d88);
  color:#fff;
  box-shadow:0 9px 18px rgb(36 63 99 / .20);
}
body.community-view .community-workspace-tree-head-tools .community-workspace-toolbar-button[data-workspace-toolbar="up"]:hover:not(:disabled){
  border-color:#152c49;
  background:linear-gradient(145deg,#1c3454,#2d527e);
  color:#fff;
}
body.community-view .community-workspace-tree-head-tools .community-workspace-toolbar-button[data-workspace-toolbar="refresh"],
body.community-view .community-workspace-tree-head-tools .community-workspace-toolbar-button[data-workspace-toolbar="fullscreen"]{
  font-size:20px;
}
body.community-view .community-workspace-tree-head-tools .community-workspace-toolbar-wide{
  min-height:44px;
  font-size:12px;
}

/* Tag composer polish ----------------------------------------------------
   Keep the action controls in the blue action strip above the editor.  The
   editor is the last element in the form, so no hint or secondary footer can
   consume space beneath it. */
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-form{
  gap:12px;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-compose-actions{
  display:flex;
  align-items:center;
  min-height:54px;
  margin:0;
  padding:7px 9px;
  border:0;
  border-radius:14px;
  background:linear-gradient(135deg,#edf3ff 0%,#e8f0ff 56%,#eef7f2 100%);
  box-shadow:inset 0 1px 0 rgb(255 255 255 / .9);
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-compose-actions .community-composer-tool{
  min-height:38px;
  padding:0 14px;
  border:1px solid #b9cbed;
  border-radius:11px;
  background:#fff;
  color:#3a5f9a;
  font-size:12px;
  font-weight:850;
  box-shadow:0 5px 12px rgb(42 64 96 / .08);
  transition:transform .16s ease,background .16s ease,border-color .16s ease,color .16s ease;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-compose-actions .community-composer-tool:hover,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-compose-actions .community-composer-tool[aria-expanded="true"]{
  border-color:#7c9de3;
  background:#edf3ff;
  color:#2455df;
  transform:translateY(-1px);
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-post-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  margin-left:auto;
  padding:0 17px;
  border:0;
  border-radius:11px;
  background:linear-gradient(145deg,#315ee1,#2445c6);
  color:#fff;
  font-size:12px;
  font-weight:850;
  box-shadow:0 8px 17px rgb(36 85 223 / .23);
  white-space:nowrap;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-post-button:hover:not(:disabled){
  background:linear-gradient(145deg,#244fd0,#1c3baa);
  box-shadow:0 10px 21px rgb(36 85 223 / .30);
  transform:translateY(-1px);
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-post-button:disabled{opacity:.48;box-shadow:none;cursor:not-allowed}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-form .community-tag-composer-input{
  order:2;
  margin-top:1px;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-compose-actions{order:1}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-compose-footer{display:none!important}

/* Search and linked-file controls share the same soft, rounded language and
   avoid attention-grabbing red accents. */
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-search-button,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-search-panel button,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-link-menu,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-file-chip{
  border-radius:11px;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-search-button{
  border-color:#b9cbed;
  background:linear-gradient(145deg,#fff 0%,#edf3ff 100%);
  color:#3a5f9a;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-search-button:hover,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-search-button[aria-expanded="true"]{
  border-color:#7c9de3;
  background:#edf3ff;
  color:#2455df;
}

/* Timestamp badges are quiet green status labels rather than bordered pills. */
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-message-meta time,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-question-author time,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-answer time{
  min-height:23px;
  padding:3px 9px;
  border:0!important;
  border-radius:999px;
  background:#eaf6ee;
  color:#4d8564;
  font-size:10px;
  font-weight:750;
  box-shadow:none;
}

/* Restore the small reply branch shown before each threaded response. */
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-message.is-reply{padding-left:20px}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-reply-reference{
  display:flex;
  align-items:stretch;
  gap:8px;
  min-width:0;
  margin:6px 0 2px;
  color:#7790a0;
  font-size:10px;
  line-height:1.45;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-reply-branch{
  position:relative;
  display:block;
  width:16px;
  min-height:25px;
  flex:0 0 16px;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-reply-branch::before{
  content:"";
  position:absolute;
  top:-12px;
  left:7px;
  width:10px;
  height:22px;
  border-left:2px solid #9bc7aa;
  border-bottom:2px solid #9bc7aa;
  border-radius:0 0 0 9px;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-reply-reference>div{
  display:flex;
  align-items:baseline;
  gap:6px;
  min-width:0;
  padding:4px 8px;
  border-radius:7px;
  background:#f1f8f3;
  color:#568066;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-reply-reference span{font-weight:800;white-space:nowrap}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-reply-reference q{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#779184}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-reply-reference q::before,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-reply-reference q::after{content:""}

@media(max-width:620px){
  body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-compose-actions{align-items:stretch;flex-wrap:wrap}
  body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-post-button{margin-left:0}
}

/* Keep the file toolbar glyphs optically centered inside their compact
   controls, including the SVG icons used by the return, refresh and expand
   actions. */
body.community-view .community-workspace-tree-head-tools .community-workspace-toolbar-button svg,
body.community-view .community-module-toolbar .community-workspace-toolbar-button svg{
  display:block;
  width:20px;
  height:20px;
  margin:auto;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
  pointer-events:none;
}
body.community-view .community-workspace-tree-head-tools .community-workspace-toolbar-button:not(.community-workspace-toolbar-wide),
body.community-view .community-module-toolbar .community-workspace-toolbar-button:not(.community-workspace-toolbar-wide){
  padding:0;
  text-align:center;
}

/* Q&A state controls are primary actions, so they remain legible at a glance
   in both answered and unanswered cards. */
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-question-status{
  min-width:92px;
  min-height:48px;
  padding:0 16px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  font-size:13px;
  font-weight:850;
  letter-spacing:.02em;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-question.is-answered .community-tag-question-status{
  background:#dff3e5;
  color:#2f7950;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-question.is-unanswered .community-tag-question-status{
  background:#fff0c8;
  color:#956d16;
}

/* Folder previews use an open path treatment instead of a file download
   surface. */
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-folder-path{
  display:grid;
  gap:5px;
  margin:14px 0 12px;
  padding:12px 14px;
  border-radius:10px;
  background:#eef6ff;
  color:#55749c;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-folder-path span{
  color:#7b92af;
  font-size:10px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-folder-path code{
  overflow-wrap:anywhere;
  color:#2b527d;
  font:600 12px/1.45 "Cascadia Code",Consolas,monospace;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-folder-tree{
  display:grid;
  gap:6px;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-folder-tree .community-tag-tree-preview-row{
  padding-left:calc(8px + (var(--tree-depth, 0) * 18px));
}

/* Latest tag composer pass: keep controls borderless and make the editor feel
   like an open review surface.  The two actions use distinct cool colors so
   mention and file linking remain easy to scan at a glance. */
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-form .community-tag-composer-input{
  border:0!important;
  border-radius:12px;
  background:#f8fbff;
  color:#29445f;
  box-shadow:0 12px 28px rgb(49 78 112 / .10);
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-form .community-tag-composer-input:focus{
  border:0!important;
  outline:3px solid rgb(74 111 202 / .16);
  background:#fff;
  box-shadow:0 14px 31px rgb(49 78 112 / .14);
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-compose-actions .community-composer-tool{
  min-height:38px;
  border:0!important;
  border-radius:8px;
  box-shadow:none;
  font-weight:850;
  transition:transform .16s ease,background .16s ease,color .16s ease;
}
body.community-view #community-main-view[data-workspace-mode="tag"] #community-tag-mention-button{
  background:#e5edff;
  color:#32579f;
}
body.community-view #community-main-view[data-workspace-mode="tag"] #community-tag-mention-button:hover,
body.community-view #community-main-view[data-workspace-mode="tag"] #community-tag-mention-button[aria-expanded="true"]{
  background:#d3e1ff;
  color:#204a9d;
  transform:translateY(-1px);
}
body.community-view #community-main-view[data-workspace-mode="tag"] #community-tag-link-button{
  background:#e4f5eb;
  color:#2e7853;
}
body.community-view #community-main-view[data-workspace-mode="tag"] #community-tag-link-button:hover,
body.community-view #community-main-view[data-workspace-mode="tag"] #community-tag-link-button[aria-expanded="true"]{
  background:#d1ebdb;
  color:#236543;
  transform:translateY(-1px);
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-mention-menu,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-link-menu{
  border:0!important;
  border-radius:8px;
  box-shadow:0 16px 34px rgb(42 64 96 / .16);
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-linked-files .community-tag-file-chip,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-message-links .community-tag-file-chip{
  border:0!important;
  border-radius:8px;
  background:#f0e8fb;
  color:#70459e;
  box-shadow:none;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-linked-files .community-tag-file-chip:hover,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-message-links .community-tag-file-chip:hover{
  background:#e5d7f6;
  color:#5b3585;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-search-button{
  border:0!important;
  border-radius:8px;
  background:#e4f2ea;
  color:#2e7350;
  box-shadow:none;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-search-button:hover,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-search-button[aria-expanded="true"]{
  border:0!important;
  background:#d1e9da;
  color:#225e3e;
  box-shadow:0 7px 16px rgb(52 117 85 / .12);
}

/* Linked folders keep their path visible and show the complete directory tree
   in the right hand preview.  Depth is expressed as a quiet inset so the
   preview remains readable without introducing another framed panel. */
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-folder-preview{display:grid;gap:14px;padding:20px;border-radius:15px;background:#fff;box-shadow:0 10px 24px rgb(42 64 96 / .08)}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-folder-path{display:grid;gap:5px;padding:10px 12px;border-radius:9px;background:#f3f8f5;color:#668371;font-size:10px}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-folder-path code{color:#2e7350;font:700 11px/1.5 "Cascadia Code",Consolas,monospace;overflow-wrap:anywhere}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-folder-tree{display:grid;gap:6px}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-folder-tree .community-tag-tree-preview-row{padding-left:calc(8px + (var(--tree-depth, 0) * 18px));border-color:transparent;background:#fbfcfd}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-folder-tree .community-tag-tree-preview-row:hover{border-color:#b9d7c5;background:#f7fcf8}

/* Announcement cards separate the prominent one-line headline from an
   optional three-line body excerpt. Clicking a card expands the full body in
   place, while the preview renderer exposes the same full content where a
   preview pane is available. */
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-announcement{display:grid;gap:8px;text-align:left}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-announcement-headline{display:block;color:#263f57;font-size:18px;font-weight:850;line-height:1.35;letter-spacing:-.01em}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-announcement-body{display:-webkit-box;overflow:hidden;color:#617389;font-size:12px;font-weight:500;line-height:1.6;white-space:normal;-webkit-line-clamp:3;-webkit-box-orient:vertical}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-announcement-full{display:block;color:#52697f;font-size:12px;font-weight:500;line-height:1.7;white-space:normal}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-announcement-more{display:block;color:#4d8564;font-size:10px;font-weight:800;letter-spacing:.03em}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-announcement.is-selected .community-tag-announcement-headline{color:#28684c;font-size:20px}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-announcement-preview-body{margin:0;padding:14px 15px;border-radius:10px;background:#f4faf6;color:#526f61;font-size:13px;line-height:1.75;white-space:normal;overflow-wrap:anywhere}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-announcement-body-input{width:100%;min-height:78px;resize:vertical;border:0;border-radius:12px;background:#f3f8ff;color:#29445f;padding:13px 14px;font:inherit;font-size:13px;line-height:1.6;box-shadow:0 8px 20px rgb(49 78 112 / .08)}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-announcement-body-input{order:3}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-link-menu button span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-link-menu button small{max-width:52%;overflow:hidden;text-align:right;text-overflow:ellipsis;white-space:nowrap}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-announcement-body-input:focus{outline:3px solid rgb(74 111 202 / .13);background:#fff}

/* Workspace toolbar and Homepage polish (latest request) ------------------ */
body.community-view #community-main-view[data-section="knowledge"] .community-workspace-tree-head-tools,
body.community-view #community-main-view[data-section="project"] .community-workspace-tree-head-tools{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  width:100%;
  max-width:none;
  gap:18px;
}
body.community-view #community-main-view[data-section="knowledge"] .community-workspace-tree-head-tools .community-module-header-actions,
body.community-view #community-main-view[data-section="project"] .community-workspace-tree-head-tools .community-module-header-actions{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  width:100%;
  min-width:0;
  gap:18px;
}
body.community-view #community-main-view[data-section="knowledge"] .community-workspace-tree-head-tools .community-module-toolbar,
body.community-view #community-main-view[data-section="project"] .community-workspace-tree-head-tools .community-module-toolbar{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  flex:0 0 auto;
  gap:8px;
}
/* The storage readout is a right anchored status block, keeping actions at
   the left and making the quota immediately scannable at the far edge. */
body.community-view #community-main-view[data-section="knowledge"] .community-workspace-tree-head-tools .community-storage-meter{
  display:grid;
  flex:0 1 300px;
  width:min(300px,32vw);
  min-width:230px;
  margin-left:auto;
  padding:3px 0 0 20px;
  border-left:1px solid #e3eaf0;
}
body.community-view #community-main-view[data-section="knowledge"] .community-workspace-tree-head-tools .community-storage-meter-total{
  justify-content:flex-end;
  color:#7d8b9d;
}
body.community-view #community-main-view[data-section="knowledge"] .community-workspace-tree-head-tools .community-storage-meter-total strong{
  color:#2b4968;
  font-size:24px;
}
body.community-view #community-main-view[data-section="knowledge"] .community-workspace-tree-head-tools .community-storage-meter-track{width:100%;}
body.community-view #community-main-view[data-section="knowledge"] .community-workspace-tree-head-tools .community-storage-meter small{justify-content:flex-end;}
body.community-view #community-main-view[data-section="knowledge"] .community-workspace-tree-head-tools .community-storage-meter small b{color:#af5eb9;}
body.community-view .community-workspace-tree-head-tools [data-workspace-toolbar="up"]{
  border-color:#c8d4e2;
  background:#aebdd0;
  color:#fff;
  box-shadow:0 7px 16px rgb(75 99 126 / .18);
}
body.community-view .community-workspace-tree-head-tools [data-workspace-toolbar="up"]:hover:not(:disabled){
  border-color:#879bb4;
  background:#8fa4bb;
  color:#fff;
}
body.community-view .community-workspace-tree-head-tools [data-workspace-toolbar="refresh"],
body.community-view .community-workspace-tree-head-tools [data-workspace-toolbar="fullscreen"]{
  background:#f9fbfd;
  color:#4f7897;
}
body.community-view .community-workspace-tree-head-tools [data-workspace-toolbar="folder"]{
  border-color:#d5e1eb;
  background:#f3f7fb;
  color:#4c6f88;
}
body.community-view .community-workspace-tree-head-tools [data-workspace-toolbar="upload"]{
  border-color:#bb86ce;
  background:linear-gradient(145deg,#d48add,#b85ec4);
  color:#fff;
}
body.community-view .community-workspace-tree-head-tools [data-workspace-toolbar="upload"]:hover:not(:disabled){
  border-color:#a957b4;
  background:linear-gradient(145deg,#cc75d5,#aa51b9);
}

/* Homepage identity hero: a stronger editorial header plus an explicit King
   mark so the role is visible even when an avatar is not available. */
body.community-view #community-main-view[data-section="home"] .community-detail-title-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  min-height:152px;
  margin:18px 0 22px;
  padding:24px 28px;
  border-color:#dce6e8;
  background-image:
    linear-gradient(100deg,rgb(255 255 255 / .97) 0%,rgb(255 255 255 / .88) 49%,rgb(255 255 255 / .54) 100%),
    var(--community-homepage-cover, none),
    radial-gradient(circle at 89% 18%,rgb(211 193 235 / .34),transparent 31%),
    linear-gradient(125deg,#f2f8f4 0%,#e4eef4 58%,#e8e1f1 120%);
  box-shadow:0 14px 32px rgb(49 76 102 / .1);
}
body.community-view #community-main-view[data-section="home"] .community-main-community-summary{min-width:0;}
body.community-view #community-main-view[data-section="home"] .community-main-community-summary h1{
  margin-top:5px;
  color:#233b58;
  font-size:28px;
  letter-spacing:-.045em;
}
body.community-view #community-main-view[data-section="home"] .community-main-community-summary p{max-width:620px;color:#6e8092;font-size:12px;line-height:1.65;}
body.community-view #community-main-view[data-section="home"] .community-king-card{
  display:flex;
  align-items:center;
  gap:11px;
  min-width:250px;
  padding:11px 14px 11px 11px;
  border-color:#d4e2dc;
  border-radius:15px;
  background:rgb(255 255 255 / .82);
  box-shadow:0 9px 20px rgb(49 76 102 / .08);
}
body.community-view #community-main-view[data-section="home"] .community-king-card>div{display:grid;gap:3px;min-width:0;}
body.community-view #community-main-view[data-section="home"] .community-detail-king-avatar{width:42px;height:42px;border-radius:13px;font-size:14px;}
body.community-view .community-detail-king-mark{
  display:grid!important;
  place-items:center;
  align-content:center;
  width:45px;
  height:45px;
  flex:0 0 45px;
  border:1px solid #e1bd5d;
  border-radius:14px;
  background:linear-gradient(145deg,#fff6c9,#e7b94a);
  color:#5f4614;
  box-shadow:0 7px 14px rgb(162 115 21 / .2),inset 0 1px 0 rgb(255 255 255 / .85);
  line-height:1;
  text-align:center;
}
body.community-view .community-detail-king-mark b{display:block;color:#6e5115;font-size:22px;line-height:1;}
body.community-view .community-detail-king-mark small{display:block!important;margin-top:2px;color:#765918!important;font-size:6px!important;font-weight:900!important;letter-spacing:.14em!important;line-height:1!important;}
body.community-view #community-main-view[data-section="home"] .community-homepage-panel{
  gap:22px;
  padding:28px 30px 26px;
  border-color:#dce5ea;
  border-radius:16px;
  background:linear-gradient(180deg,#fff 0%,#fbfcfd 100%);
  box-shadow:0 14px 30px rgb(49 76 102 / .08);
}
body.community-view #community-main-view[data-section="home"] .community-homepage-heading{align-items:center;padding-top:0;}
body.community-view #community-main-view[data-section="home"] .community-homepage-heading h2{color:#273f5c;font-size:23px;}
body.community-view #community-main-view[data-section="home"] .community-homepage-heading p{color:#7c8c9e;font-size:11px;}
body.community-view #community-main-view[data-section="home"] .community-homepage-editor{
  min-height:230px;
  padding:23px 24px;
  border:0;
  border-left:3px solid #70a489;
  border-radius:0 13px 13px 0;
  background:#f7fafc;
  color:#425b73;
  box-shadow:none;
  font-size:14px;
  line-height:1.85;
}
body.community-view #community-main-view[data-section="home"] .community-homepage-editor[contenteditable="true"]{
  border-left-color:#b960c4;
  background:#fff;
  box-shadow:0 0 0 3px rgb(185 96 196 / .1);
}
body.community-view #community-main-view[data-section="home"] .community-homepage-footer{padding-top:3px;border-top:1px solid #e9eef1;}
@media(max-width:900px){
  body.community-view #community-main-view[data-section="home"] .community-detail-title-row{align-items:flex-start;flex-direction:column;}
  body.community-view #community-main-view[data-section="home"] .community-king-card{width:100%;}
  body.community-view #community-main-view[data-section="knowledge"] .community-workspace-tree-head-tools .community-storage-meter{min-width:220px;}
}
@media(max-width:720px){
  body.community-view #community-main-view[data-section="knowledge"] .community-workspace-tree-head-tools .community-module-header-actions,
  body.community-view #community-main-view[data-section="project"] .community-workspace-tree-head-tools .community-module-header-actions{display:flex;align-items:flex-start;flex-wrap:wrap;gap:11px;}
  body.community-view #community-main-view[data-section="knowledge"] .community-workspace-tree-head-tools .community-storage-meter{width:100%;min-width:0;margin-left:0;padding:10px 0 0;border-top:1px solid #e3eaf0;border-left:0;}
  body.community-view #community-main-view[data-section="knowledge"] .community-workspace-tree-head-tools .community-storage-meter{width:100%;}
}

/* Only explicit hidden state suppresses a tag composer. */
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="qna"]) .community-tag-chat-form[hidden]{
  display:none!important;
}

/* Announcement composer: headline above body, with the complete editor
   anchored at the bottom of the white conversation surface. */
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="announcements"]) .community-tag-chat-form{
  display:flex;
  flex-direction:column;
  gap:10px;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="announcements"]) .community-tag-compose-actions{
  order:1;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="announcements"]) .community-tag-chat-form{
  position:sticky;
  bottom:10px;
  z-index:4;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="announcements"]) .community-tag-announcement-body-input{
  order:3;
  min-height:76px;
  max-height:128px;
  resize:vertical;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="announcements"]) .community-tag-composer-input{
  order:2;
  width:100%;
  height:54px;
  min-height:54px;
  max-height:64px;
  resize:none;
  padding:13px 15px;
  border:0!important;
  border-radius:10px;
  background:#fff;
  color:#29445f;
  font-size:13px;
  line-height:1.45;
  box-shadow:0 7px 16px rgb(49 78 112 / .08);
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="announcements"]) .community-tag-composer-input:focus{
  outline:3px solid rgb(74 111 202 / .13);
  background:#fff;
  box-shadow:0 9px 19px rgb(49 78 112 / .11);
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="qna"]) .community-tag-chat-form{
  position:sticky;
  bottom:10px;
  z-index:4;
  background:#fff;
}
/* Workspace and preview visual pass ---------------------------------------
   Keep the file-management strip crisp and solid like the conversion review:
   controls stay borderless, upload is an elongated action, and storage uses
   the remaining right-hand width. */
body.community-view #community-main-view[data-section="knowledge"] .community-workspace-tree-head,
body.community-view #community-main-view[data-section="project"] .community-workspace-tree-head,
body.community-view #community-main-view[data-section="knowledge"] .community-workspace-tree-head-tools,
body.community-view #community-main-view[data-section="project"] .community-workspace-tree-head-tools,
body.community-view #community-main-view[data-section="knowledge"] .community-workspace-tree-head-tools .community-module-header-actions,
body.community-view #community-main-view[data-section="project"] .community-workspace-tree-head-tools .community-module-header-actions{
  background:#fff!important;
  border:0!important;
}
body.community-view #community-main-view[data-section="knowledge"] .community-workspace-tree-head-tools .community-module-header-actions,
body.community-view #community-main-view[data-section="project"] .community-workspace-tree-head-tools .community-module-header-actions{
  align-items:center;
  gap:16px;
}
body.community-view #community-main-view[data-section="knowledge"] .community-workspace-tree-head-tools .community-module-toolbar,
body.community-view #community-main-view[data-section="project"] .community-workspace-tree-head-tools .community-module-toolbar{
  align-items:center;
  flex:0 0 auto;
  gap:8px;
}
body.community-view #community-main-view[data-section="knowledge"] .community-workspace-tree-head-tools .community-workspace-toolbar-button,
body.community-view #community-main-view[data-section="project"] .community-workspace-tree-head-tools .community-workspace-toolbar-button{
  border:0!important;
  border-radius:6px!important;
  box-shadow:none!important;
  background:#f1f4f8!important;
  color:#46627d!important;
}
body.community-view #community-main-view[data-section="knowledge"] .community-workspace-tree-head-tools .community-workspace-toolbar-button:hover:not(:disabled),
body.community-view #community-main-view[data-section="project"] .community-workspace-tree-head-tools .community-workspace-toolbar-button:hover:not(:disabled){
  border:0!important;
  background:#e4edf5!important;
  color:#254d70!important;
  box-shadow:none!important;
  transform:translateY(-1px);
}
body.community-view #community-main-view[data-section="knowledge"] .community-workspace-tree-head-tools [data-workspace-toolbar="up"],
body.community-view #community-main-view[data-section="project"] .community-workspace-tree-head-tools [data-workspace-toolbar="up"]{
  background:#345878!important;
  color:#fff!important;
}
body.community-view #community-main-view[data-section="knowledge"] .community-workspace-tree-head-tools [data-workspace-toolbar="folder"],
body.community-view #community-main-view[data-section="project"] .community-workspace-tree-head-tools [data-workspace-toolbar="folder"]{
  min-width:118px;
  padding:0 20px!important;
  background:#edf5f1!important;
  color:#2e7353!important;
}
body.community-view #community-main-view[data-section="knowledge"] .community-workspace-tree-head-tools [data-workspace-toolbar="upload"],
body.community-view #community-main-view[data-section="project"] .community-workspace-tree-head-tools [data-workspace-toolbar="upload"]{
  min-width:132px;
  padding:0 26px!important;
  border-radius:6px!important;
  background:#c465c9!important;
  color:#fff!important;
  font-size:13px;
  letter-spacing:.02em;
}
body.community-view #community-main-view[data-section="knowledge"] .community-workspace-tree-head-tools [data-workspace-toolbar="upload"]:hover:not(:disabled),
body.community-view #community-main-view[data-section="project"] .community-workspace-tree-head-tools [data-workspace-toolbar="upload"]:hover:not(:disabled){
  background:#ae4fb4!important;
  color:#fff!important;
  box-shadow:none!important;
}
body.community-view #community-main-view[data-section="knowledge"] .community-workspace-tree-head-tools .community-storage-meter{
  flex:1 1 330px;
  width:auto;
  max-width:none;
  min-width:260px;
  margin-left:auto;
  padding:0 0 0 24px;
  border:0!important;
  background:#fff!important;
}
body.community-view #community-main-view[data-section="knowledge"] .community-workspace-tree-head-tools .community-storage-meter-total{
  justify-content:flex-end;
  color:#74869a;
  font-size:12px;
}
body.community-view #community-main-view[data-section="knowledge"] .community-workspace-tree-head-tools .community-storage-meter-total strong{
  color:#294a6d;
  font-size:24px;
}
body.community-view #community-main-view[data-section="knowledge"] .community-workspace-tree-head-tools .community-storage-meter-track{
  width:100%;
  height:7px;
  border-radius:4px;
  background:#e9edf1;
  box-shadow:none;
}
body.community-view #community-main-view[data-section="knowledge"] .community-workspace-tree-head-tools .community-storage-meter-track i{
  border-radius:4px;
}
body.community-view #community-main-view[data-section="knowledge"] .community-workspace-tree-head-tools .community-storage-meter small{
  justify-content:flex-end;
  font-size:10px;
}

/* The tag preview follows the same solid, open file-surface treatment as the
   main Knowledge and Project workspaces. */
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-preview-pane{
  background:#fff!important;
  border-left:1px solid #e5ebf1;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-preview-pane .community-tag-pane-heading{
  min-height:54px;
  padding-bottom:16px;
  border-bottom:1px solid #e5ebf1;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-preview-pane .community-tag-pane-heading h3{
  color:#294766;
  font-size:20px;
  font-weight:850;
  letter-spacing:-.03em;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-preview-pane .community-section-kicker{
  color:#728ba6;
  font-size:11px;
  font-weight:850;
  letter-spacing:.16em;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-preview-pane .community-tag-preview-badge{
  min-height:32px;
  padding:0 13px;
  border:0!important;
  border-radius:8px;
  background:#e5f3e9!important;
  color:#2e7353;
  font-size:11px;
  font-weight:850;
  letter-spacing:.04em;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-preview-body{
  padding:22px 2px 10px 0;
  background:#fff;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-preview-empty{
  min-height:300px;
  padding:42px 30px;
  border:0!important;
  border-radius:10px;
  background:#f6f9fc!important;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-preview-empty span{
  width:58px;
  height:58px;
  margin-bottom:14px;
  border-radius:12px;
  background:#e6f0fb;
  color:#4f7897;
  font-size:28px;
  box-shadow:none;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-preview-empty strong{
  color:#385572;
  font-size:15px;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-preview-empty p{
  max-width:340px;
  color:#8294a6;
  font-size:12px;
  line-height:1.7;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-file-preview,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-folder-preview{
  padding:24px;
  border:0!important;
  border-radius:10px;
  background:#f7fafc!important;
  box-shadow:none!important;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-file-preview-heading strong{
  color:#294766;
  font-size:18px;
  font-weight:850;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-file-preview-meta{
  gap:8px;
  color:#72869a;
  font-size:13px;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-file-preview-note{
  border-left:3px solid #70a489;
  background:#edf6f0;
  color:#567466;
  font-size:13px;
  line-height:1.7;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-file-preview a,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-file-download,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-tree-preview-head button{
  min-height:42px;
  padding:0 17px;
  border:0!important;
  border-radius:7px;
  background:#2f7657!important;
  color:#fff!important;
  font-size:13px;
  font-weight:850;
  box-shadow:none!important;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-file-preview a:hover,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-file-download:hover,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-tree-preview-head button:hover{
  background:#246045!important;
  color:#fff!important;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-tree-preview-head{
  padding-bottom:13px;
  border-bottom:1px solid #e5ebf1;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-tree-preview-head strong{
  color:#294766;
  font-size:15px;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-tree-preview-row{
  min-height:44px;
  padding:7px 10px;
  border:0!important;
  border-radius:7px;
  background:#f7fafc!important;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-tree-preview-row:hover{
  background:#edf6f0!important;
  border:0!important;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-tree-preview-row-main span{
  color:#47627c;
  font-size:12px;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-tree-preview-row-main button,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-tree-preview-row-main .community-tag-tree-file-open{
  width:32px;
  height:32px;
  border:0!important;
  border-radius:7px;
  background:#e6eff7!important;
  color:#4f7897;
  font-size:14px;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-tree-preview-row small{
  color:#8192a2;
  font-size:11px;
}
@media(max-width:720px){
  body.community-view #community-main-view[data-section="knowledge"] .community-workspace-tree-head-tools .community-module-header-actions,
  body.community-view #community-main-view[data-section="project"] .community-workspace-tree-head-tools .community-module-header-actions{
    gap:11px;
  }
  body.community-view #community-main-view[data-section="knowledge"] .community-workspace-tree-head-tools .community-storage-meter{
    flex-basis:100%;
    width:100%;
    min-width:0;
    padding:10px 0 0;
  }
  body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-preview-pane{
    border-left:0;
    border-top:1px solid #e5ebf1;
  }
}


/* Research Group naming and King identity treatment. */
body.community-view .community-discover-king-meta{
  border:0;
  background:transparent;
  box-shadow:none;
  padding:10px 0;
}
body.community-view .community-discover-king-meta::before,
body.community-view .community-discover-king-meta-pattern{display:none!important;}
body.community-view .community-discover-king-meta-avatar,
body.community-view .community-detail-king-avatar{
  border-color:#d8b55a;
  background:linear-gradient(145deg,#fff4bd 0%,#e4b53f 52%,#315b9b 100%);
  color:#173b70;
  box-shadow:0 3px 10px rgb(43 74 125 / .2);
}
body.community-view .community-discover-king-meta-copy strong,
body.community-view .community-king-card strong{
  color:#28558f;
  font-weight:800;
}
body.community-view .community-discover-king-meta-copy>span,
body.community-view .community-king-card small{color:#6c7f9d;}
body.community-view .community-detail-king-mark{border-color:#d8b55a;background:linear-gradient(145deg,#fff4bd,#e4b53f);color:#244c84;}

/* Identity refinements: the gold belongs to the frame and the message
   surface, while avatars and timestamps stay quiet and readable. */
body.community-view .community-detail-king-avatar,
body.community-view .community-discover-king-meta-avatar,
body.community-view :is(.community-message,.community-tag-chat-message,.community-tag-question,.community-tag-answer).is-king :is(.community-message-avatar,.community-tag-chat-avatar),
body.community-view :is(.community-message,.community-tag-chat-message,.community-tag-question,.community-tag-answer).is-steward :is(.community-message-avatar,.community-tag-chat-avatar),
body.community-view :is(.community-message,.community-tag-chat-message,.community-tag-question,.community-tag-answer).is-maintainer :is(.community-message-avatar,.community-tag-chat-avatar){
  background:#f3f6fa!important;
  border-color:#d8b55a!important;
  color:#28558f!important;
}
body.community-view .community-discover-king-meta-avatar{box-shadow:0 3px 10px rgb(43 74 125 / .12);}
body.community-view :is(.community-message,.community-tag-chat-message).is-king .community-message-main,
body.community-view :is(.community-message,.community-tag-chat-message).is-king .community-tag-chat-message-main,
body.community-view .community-tag-question.is-king,
body.community-view .community-tag-answer.is-king{
  border-radius:12px;
  background:#fff5d8!important;
}
body.community-view :is(.community-message,.community-tag-chat-message,.community-tag-question,.community-tag-answer).is-king :is(.community-message-meta time,.community-tag-chat-message-meta time,.community-tag-question-author time,.community-tag-answer-body time),
body.community-view :is(.community-message,.community-tag-chat-message,.community-tag-question,.community-tag-answer).is-steward :is(.community-message-meta time,.community-tag-chat-message-meta time,.community-tag-question-author time,.community-tag-answer-body time),
body.community-view :is(.community-message,.community-tag-chat-message,.community-tag-question,.community-tag-answer).is-maintainer :is(.community-message-meta time,.community-tag-chat-message-meta time,.community-tag-question-author time,.community-tag-answer-body time){
  background:transparent!important;
  border-color:transparent!important;
  color:#7d8793!important;
}

/* Q&A uses the same anchored editor model as Discussion: only the question
   list scrolls while the composer remains in view at the bottom. */
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="qna"]) .community-tag-chat-pane{
  display:flex;
  flex-direction:column;
  height:calc(100vh - 270px);
  min-height:500px;
  overflow:hidden;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="qna"]) .community-tag-chat-list{
  flex:1 1 auto;
  min-height:0;
  max-height:none;
  overflow-y:auto;
  padding-bottom:14px;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="qna"]) .community-tag-chat-form{
  position:static;
  flex:0 0 auto;
  margin-top:10px;
  padding:12px;
  border-top:1px solid #e4eaf0;
  border-radius:0;
  background:#fff;
  box-shadow:0 -8px 18px rgb(49 78 112 / .06);
}

/* Kings and delegated administrators share a restrained gold + blue identity
   treatment anywhere they post. */
body.community-view :is(.community-message,.community-tag-chat-message,.community-tag-question,.community-tag-answer).is-king,
body.community-view :is(.community-message,.community-tag-chat-message,.community-tag-question,.community-tag-answer).is-steward,
body.community-view :is(.community-message,.community-tag-chat-message,.community-tag-question,.community-tag-answer).is-maintainer{
  --community-admin-blue:#28558f;
  --community-admin-gold:#d8b55a;
}
body.community-view :is(.community-message,.community-tag-chat-message).is-king :is(.community-message-avatar,.community-tag-chat-avatar),
body.community-view :is(.community-message,.community-tag-chat-message).is-steward :is(.community-message-avatar,.community-tag-chat-avatar),
body.community-view :is(.community-message,.community-tag-chat-message).is-maintainer :is(.community-message-avatar,.community-tag-chat-avatar),
body.community-view .community-tag-question.is-king > .community-tag-question-head .community-tag-question-avatar,
body.community-view .community-tag-question.is-steward > .community-tag-question-head .community-tag-question-avatar,
body.community-view .community-tag-question.is-maintainer > .community-tag-question-head .community-tag-question-avatar,
body.community-view .community-tag-answer.is-king > .community-tag-chat-avatar,
body.community-view .community-tag-answer.is-steward > .community-tag-chat-avatar,
body.community-view .community-tag-answer.is-maintainer > .community-tag-chat-avatar{
  border-color:#d8b55a!important;
  background:linear-gradient(145deg,#fff3bb 0%,#e3b640 52%,#315b9b 100%)!important;
  color:#173b70!important;
  box-shadow:0 4px 12px rgb(43 74 125 / .2);
}
body.community-view :is(.community-message,.community-tag-chat-message).is-king :is(.community-message-meta,.community-tag-chat-message-meta) strong,
body.community-view :is(.community-message,.community-tag-chat-message).is-steward :is(.community-message-meta,.community-tag-chat-message-meta) strong,
body.community-view :is(.community-message,.community-tag-chat-message).is-maintainer :is(.community-message-meta,.community-tag-chat-message-meta) strong,
body.community-view .community-tag-question.is-king > .community-tag-question-head .community-tag-question-author strong,
body.community-view .community-tag-question.is-steward > .community-tag-question-head .community-tag-question-author strong,
body.community-view .community-tag-question.is-maintainer > .community-tag-question-head .community-tag-question-author strong,
body.community-view .community-tag-answer.is-king .community-tag-answer-body strong,
body.community-view .community-tag-answer.is-steward .community-tag-answer-body strong,
body.community-view .community-tag-answer.is-maintainer .community-tag-answer-body strong{
  color:#28558f!important;
  font-weight:850;
}
body.community-view :is(.community-message,.community-tag-chat-message).is-king :is(.community-message-handle,.community-tag-chat-handle,.community-message-meta time,.community-tag-chat-message-meta time),
body.community-view :is(.community-message,.community-tag-chat-message).is-steward :is(.community-message-handle,.community-tag-chat-handle,.community-message-meta time,.community-tag-chat-message-meta time),
body.community-view :is(.community-message,.community-tag-chat-message).is-maintainer :is(.community-message-handle,.community-tag-chat-handle,.community-message-meta time,.community-tag-chat-message-meta time),
body.community-view .community-tag-question.is-king > .community-tag-question-head .community-tag-question-author time,
body.community-view .community-tag-question.is-steward > .community-tag-question-head .community-tag-question-author time,
body.community-view .community-tag-question.is-maintainer > .community-tag-question-head .community-tag-question-author time,
body.community-view .community-tag-answer.is-king .community-tag-answer-body time,
body.community-view .community-tag-answer.is-steward .community-tag-answer-body time,
body.community-view .community-tag-answer.is-maintainer .community-tag-answer-body time{
  color:#a58127!important;
}

/* Homepage members and King identity: the role uses a gold frame while the
   avatar surface stays neutral, so the header remains readable and calm. */
body.community-view #community-main-view[data-section="home"] .community-king-card{
  min-width:320px;
  padding:10px 4px 10px 0;
  border:0;
  background:transparent;
  box-shadow:none;
}
body.community-view #community-main-view[data-section="home"] .community-detail-king-avatar{
  width:58px;
  height:58px;
  border:3px solid #d8b55a!important;
  border-radius:50%;
  background:#f3f6fa!important;
  color:#28558f;
  box-shadow:0 4px 12px rgb(43 74 125 / .12);
  font-size:19px;
}
body.community-view #community-main-view[data-section="home"] .community-detail-king-mark{
  width:54px;
  height:54px;
  flex-basis:54px;
  border-radius:50%;
}
body.community-view #community-main-view[data-section="home"] .community-king-card span:not(.community-detail-king-avatar){font-size:10px;}
body.community-view #community-main-view[data-section="home"] .community-king-card strong{font-size:17px;line-height:1.25;}
body.community-view #community-main-view[data-section="home"] .community-king-card small{font-size:11px;line-height:1.35;}
body.community-view #community-main-view[data-section="home"] .community-members-panel{
  display:grid;
  gap:14px;
  margin:0 0 20px;
  padding:18px 22px 17px;
  border:1px solid #e1e8ef;
  border-radius:15px;
  background:#fff;
  box-shadow:0 8px 20px rgb(49 76 102 / .06);
}
body.community-view #community-main-view[data-section="home"] .community-members-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;}
body.community-view #community-main-view[data-section="home"] .community-members-heading h2{margin:4px 0 0;color:#273f5c;font-size:19px;letter-spacing:-.03em;}
body.community-view #community-main-view[data-section="home"] .community-members-count{color:#7890a4;font-size:11px;font-weight:700;}
body.community-view #community-main-view[data-section="home"] .community-member-strip{display:flex;align-items:flex-start;gap:18px;overflow-x:auto;padding:2px 0 4px;}
body.community-view #community-main-view[data-section="home"] .community-member-chip{display:grid;justify-items:center;gap:7px;min-width:70px;color:#425b73;}
body.community-view #community-main-view[data-section="home"] .community-member-avatar{display:grid;place-items:center;width:48px;height:48px;border:2px solid #dfe6ee;border-radius:50%;background:#f3f6fa;color:#315b9b;font-size:16px;font-weight:850;overflow:hidden;}
body.community-view #community-main-view[data-section="home"] .community-member-avatar img{width:100%;height:100%;object-fit:cover;}
body.community-view #community-main-view[data-section="home"] .community-member-chip.is-king .community-member-avatar{border-color:#d8b55a;}
body.community-view #community-main-view[data-section="home"] .community-member-name{max-width:110px;overflow:hidden;color:#425b73;font-size:11px;font-weight:800;text-overflow:ellipsis;white-space:nowrap;}
body.community-view #community-main-view[data-section="home"] .community-member-chip small{color:#a58127;font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;}
body.community-view #community-main-view[data-section="home"] .community-members-empty{padding:8px 0;color:#9aa8b6;font-size:12px;}
body.community-view #community-main-view[data-section="discussion"] .community-members-panel,
body.community-view #community-main-view[data-section="knowledge"] .community-members-panel,
body.community-view #community-main-view[data-section="project"] .community-members-panel{display:none;}
body.community-view #community-main-view[data-section="home"] .community-homepage-panel{margin-top:0;}
body.community-view #community-main-view[data-section="home"] .community-homepage-footer{display:flex;justify-content:flex-end;padding-top:0;border-top:0;}
body.community-view :is(.community-message,.community-tag-chat-message).is-king :is(.community-message-meta time,.community-tag-chat-message-meta time){background:transparent!important;border:0!important;color:#7d8793!important;}
body.community-view :is(.community-message,.community-tag-chat-message).is-king :is(.community-message-avatar,.community-tag-chat-avatar){background:#f3f6fa!important;border-color:#d8b55a!important;color:#28558f!important;}
@media(max-width:900px){
  body.community-view #community-main-view[data-section="home"] .community-king-card{min-width:0;width:100%;padding-right:0;}
  body.community-view #community-main-view[data-section="home"] .community-members-panel{padding:16px;}
}

/* Final King color correction: neutral avatar fill and timestamp, gold only
   on the avatar frame and the message/question surface. */
body.community-view :is(.community-message,.community-tag-chat-message,.community-tag-question,.community-tag-answer).is-king :is(.community-message-avatar,.community-tag-chat-avatar),
body.community-view :is(.community-message,.community-tag-chat-message,.community-tag-question,.community-tag-answer).is-steward :is(.community-message-avatar,.community-tag-chat-avatar),
body.community-view :is(.community-message,.community-tag-chat-message,.community-tag-question,.community-tag-answer).is-maintainer :is(.community-message-avatar,.community-tag-chat-avatar){
  background:#f3f6fa!important;
  border-color:#d8b55a!important;
  color:#28558f!important;
}
body.community-view :is(.community-message,.community-tag-chat-message,.community-tag-question,.community-tag-answer).is-king :is(.community-message-meta time,.community-tag-chat-message-meta time,.community-tag-question-author time,.community-tag-answer-body time),
body.community-view :is(.community-message,.community-tag-chat-message,.community-tag-question,.community-tag-answer).is-steward :is(.community-message-meta time,.community-tag-chat-message-meta time,.community-tag-question-author time,.community-tag-answer-body time),
body.community-view :is(.community-message,.community-tag-chat-message,.community-tag-question,.community-tag-answer).is-maintainer :is(.community-message-meta time,.community-tag-chat-message-meta time,.community-tag-question-author time,.community-tag-answer-body time){
  background:transparent!important;
  border:0!important;
  color:#7d8793!important;
}
body.community-view #community-main-view[data-section="home"] .community-member-name{max-width:180px;}

/* Raise specificity over the role accent rules so the neutral avatar and
   timestamp treatment is consistent in nested Q&A cards too. */
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-question.is-king > .community-tag-question-head .community-tag-question-avatar,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-question.is-steward > .community-tag-question-head .community-tag-question-avatar,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-question.is-maintainer > .community-tag-question-head .community-tag-question-avatar,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-answer.is-king > .community-tag-chat-avatar,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-answer.is-steward > .community-tag-chat-avatar,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-answer.is-maintainer > .community-tag-chat-avatar{
  background:#f3f6fa!important;
  border-color:#d8b55a!important;
  color:#28558f!important;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-question.is-king > .community-tag-question-head .community-tag-question-author time,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-question.is-steward > .community-tag-question-head .community-tag-question-author time,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-question.is-maintainer > .community-tag-question-head .community-tag-question-author time,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-answer.is-king .community-tag-answer-body time,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-answer.is-steward .community-tag-answer-body time,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-answer.is-maintainer .community-tag-answer-body time{
  background:transparent!important;
  border:0!important;
  color:#7d8793!important;
}

/* Homepage refinement: the highlighted editorial captions are intentionally
   quiet so the member row and introduction title carry the hierarchy. */
body.community-view #community-main-view[data-section="home"] .community-members-heading .community-section-kicker,
body.community-view #community-main-view[data-section="home"] .community-homepage-heading .community-section-kicker,
body.community-view #community-main-view[data-section="home"] .community-homepage-heading > div > p{
  display:none!important;
}
body.community-view #community-main-view[data-section="home"] .community-members-heading h2,
body.community-view #community-main-view[data-section="home"] .community-homepage-heading h2{
  margin-top:0;
}

/* Keep the King mark attached to the avatar.  The separate DOM element is
   retained for accessibility, but it no longer consumes a column in the
   header layout. */
body.community-view #community-main-view[data-section="home"] .community-king-card{
  position:relative;
  display:flex;
  align-items:center;
  gap:22px;
  min-width:460px;
  padding:12px 8px 12px 0;
  border:0!important;
  border-radius:0;
  background:transparent!important;
  box-shadow:none!important;
}
body.community-view #community-main-view[data-section="home"] .community-detail-king-avatar{
  position:relative;
  z-index:1;
  width:116px;
  height:116px;
  flex:0 0 116px;
  border:5px solid #d8b55a!important;
  border-radius:50%;
  background:#f3f6fa!important;
  color:#28558f;
  box-shadow:0 9px 20px rgb(43 74 125 / .14);
  font-size:37px;
}
body.community-view #community-main-view[data-section="home"] .community-detail-king-mark{
  position:absolute!important;
  z-index:3;
  left:-11px;
  top:3px;
  display:grid!important;
  place-items:center;
  width:42px;
  height:42px;
  padding:0;
  border:2px solid #fff1b5!important;
  border-radius:50%;
  background:linear-gradient(145deg,#fff5bd,#dfb642)!important;
  color:#294b80!important;
  box-shadow:0 5px 12px rgb(161 115 21 / .2);
  line-height:1;
  pointer-events:none;
}
body.community-view #community-main-view[data-section="home"] .community-detail-king-mark b{font-size:20px;line-height:1;}
body.community-view #community-main-view[data-section="home"] .community-detail-king-mark small{display:none!important;}
body.community-view #community-main-view[data-section="home"] .community-king-card>div{display:grid;gap:7px;min-width:0;}
body.community-view #community-main-view[data-section="home"] .community-king-card span:not(.community-detail-king-avatar){font-size:16px;letter-spacing:.1em;}
body.community-view #community-main-view[data-section="home"] .community-king-card strong{font-size:34px;line-height:1.18;letter-spacing:-.02em;}
body.community-view #community-main-view[data-section="home"] .community-king-card small{font-size:22px;line-height:1.25;}

/* The Knowledge and Project tag previews are narrow file-tree surfaces that
   use the same rows, separators and white canvas as their main workspaces. */
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="docs"]) .community-tag-workspace-grid,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="projects"]) .community-tag-workspace-grid{
  grid-template-columns:minmax(0,1fr) minmax(300px,.72fr)!important;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="docs"]) .community-tag-preview-pane,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="projects"]) .community-tag-preview-pane{
  min-width:0;
  padding:0 26px 26px!important;
  border-left:1px solid #e3e8ee!important;
  background:#fff!important;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="docs"]) .community-tag-preview-pane .community-tag-pane-heading,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="projects"]) .community-tag-preview-pane .community-tag-pane-heading{
  min-height:104px;
  box-sizing:border-box;
  margin:0 -26px 0;
  padding:25px 26px 19px!important;
  border-bottom:1px solid #e3e8ee!important;
  background:linear-gradient(118deg,#fff 0%,#fbfcfd 56%,#f5f1fd 100%)!important;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="docs"]) .community-tag-preview-pane .community-tag-pane-heading h3,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="projects"]) .community-tag-preview-pane .community-tag-pane-heading h3{
  margin:0;
  color:#243c5c!important;
  font-size:24px!important;
  letter-spacing:-.04em;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="docs"]) .community-tag-preview-body,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="projects"]) .community-tag-preview-body{
  height:calc(100% - 104px);
  min-height:0;
  padding:17px 0 34px!important;
  overflow:auto;
  background:#fff!important;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="docs"]) .community-tag-tree-preview,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="projects"]) .community-tag-tree-preview{
  display:flex;
  flex-direction:column;
  min-height:100%;
  gap:0;
  background:#fff;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="docs"]) .community-tag-tree-preview-head,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="projects"]) .community-tag-tree-preview-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:44px;
  box-sizing:border-box;
  margin:0 0 7px;
  padding:0 0 13px!important;
  border-bottom:1px solid #e3e8ee!important;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="docs"]) .community-tag-tree-preview-head strong,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="projects"]) .community-tag-tree-preview-head strong{
  color:#243c5c!important;
  font-size:15px!important;
  font-weight:850;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="docs"]) .community-tag-tree-preview-row,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="projects"]) .community-tag-tree-preview-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  min-height:56px;
  box-sizing:border-box;
  padding:8px 4px!important;
  border:0!important;
  border-bottom:1px solid #edf0f3!important;
  border-radius:0!important;
  background:transparent!important;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="docs"]) .community-tag-tree-preview-row:hover,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="projects"]) .community-tag-tree-preview-row:hover{
  background:#f8fafc!important;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="docs"]) .community-tag-tree-preview-row-main,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="projects"]) .community-tag-tree-preview-row-main{
  display:flex;
  align-items:center;
  gap:11px;
  min-width:0;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="docs"]) .community-tag-tree-preview-row-main button,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="projects"]) .community-tag-tree-preview-row-main button{
  display:grid;
  place-items:center;
  width:38px!important;
  height:38px!important;
  flex:none;
  border:1px solid #dbe4ec!important;
  border-radius:11px!important;
  background:#f5f8fb!important;
  color:#4e7893!important;
  font-size:18px!important;
  font-weight:850;
  box-shadow:0 4px 8px rgb(42 64 96 / .06);
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="docs"]) .community-tag-tree-preview-row-main .community-tag-tree-file-name,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="projects"]) .community-tag-tree-preview-row-main .community-tag-tree-file-name{
  width:auto!important;
  height:auto!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#324d6d!important;
  box-shadow:none!important;
  font-size:13px!important;
  font-weight:750;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="docs"]) .community-tag-tree-preview-row small,
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-workspace:has(.community-tag-chat-list[data-tag-kind="projects"]) .community-tag-tree-preview-row small{
  color:#98a4b0!important;
  font-size:10px!important;
}

@media(max-width:900px){
  body.community-view #community-main-view[data-section="home"] .community-king-card{min-width:0;width:100%;}
  body.community-view #community-main-view[data-section="home"] .community-detail-king-avatar{width:86px;height:86px;flex-basis:86px;font-size:28px;}
  body.community-view #community-main-view[data-section="home"] .community-king-card strong{font-size:25px;}
  body.community-view #community-main-view[data-section="home"] .community-king-card small{font-size:16px;}
}

/* Project review handoff: keep the status visible beside the selected
   sub-project without adding another heavy card to the workspace. */
body.community-view .community-project-workflow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-top:16px;
  padding:13px 16px;
  border:1px solid #e2e8ef;
  border-radius:12px;
  background:linear-gradient(105deg,#f8fbff 0%,#fff 74%);
}
body.community-view .community-project-workflow[hidden]{display:none!important;}
body.community-view .community-project-workflow-copy{display:grid;gap:3px;min-width:0;}
body.community-view .community-project-workflow-kicker{color:#7d91a7;font-size:10px;font-weight:850;letter-spacing:.15em;text-transform:uppercase;}
body.community-view .community-project-workflow-copy strong{color:#29476c;font-size:14px;line-height:1.3;}
body.community-view .community-project-workflow-copy small{color:#8292a4;font-size:11px;line-height:1.45;}
body.community-view .community-workflow-action{flex:none;padding:9px 13px;border:0;border-radius:9px;background:#eef3fa;color:#345f91;font:inherit;font-size:11px;font-weight:850;cursor:pointer;}
body.community-view .community-workflow-action:hover{background:#dce8f7;color:#234d7d;}
body.community-view .community-workflow-action.is-primary{background:#2f5ddd;color:#fff;box-shadow:0 6px 14px rgb(47 93 221 / .18);}
body.community-view .community-workflow-action.is-primary:hover{background:#234fc7;}
@media(max-width:700px){
  body.community-view .community-project-workflow{align-items:flex-start;flex-direction:column;}
}
body.community-view .community-project-review{margin-top:18px;padding-top:16px;border-top:1px solid #e5ebf1;}
body.community-view .community-project-review .community-workspace-tree-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;min-height:0;margin:0 0 8px;padding:0;border:0;}
body.community-view .community-project-review .community-workspace-tree-head strong{color:#29476c;font-size:13px;}
body.community-view .community-project-review .community-workspace-tree-head span{color:#8c9bad;font-size:10px;}
body.community-view .community-project-review-list{display:grid;gap:6px;}
body.community-view .community-project-review-card{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 12px;border-bottom:1px solid #edf1f5;}
body.community-view .community-project-review-card>div:first-child{display:grid;gap:2px;min-width:0;}
body.community-view .community-project-review-card strong{overflow:hidden;color:#3a5574;font-size:12px;text-overflow:ellipsis;white-space:nowrap;}
body.community-view .community-project-review-card small{color:#8a99aa;font-size:10px;}
body.community-view .community-project-review-actions{display:flex;gap:7px;flex:none;}
body.community-view .community-project-review-actions button{padding:6px 10px;border:0;border-radius:7px;background:#eff4fa;color:#41658b;font:inherit;font-size:10px;font-weight:800;cursor:pointer;}
body.community-view .community-project-review-actions button:last-child{background:#2f5ddd;color:#fff;}
body.community-view .community-project-review-waiting{margin-left:auto;color:#a58127!important;font-weight:750;}

/* Keep role color on the identity line only. The King's message surface can
   still be warm, but its body stays white so the gold does not overwhelm the
   conversation. Administrators use the matching blue treatment. */
body.community-view :is(.community-message,.community-tag-chat-message).is-king .community-message-main,
body.community-view :is(.community-message,.community-tag-chat-message).is-king .community-tag-chat-message-main,
body.community-view :is(.community-message,.community-tag-chat-message).is-steward .community-message-main,
body.community-view :is(.community-message,.community-tag-chat-message).is-steward .community-tag-chat-message-main,
body.community-view :is(.community-message,.community-tag-chat-message).is-maintainer .community-message-main,
body.community-view :is(.community-message,.community-tag-chat-message).is-maintainer .community-tag-chat-message-main{
  border-radius:0!important;background:transparent!important;
}
body.community-view :is(.community-message,.community-tag-chat-message).is-king .community-message-head,
body.community-view :is(.community-message,.community-tag-chat-message).is-king .community-tag-chat-message-meta{
  padding:5px 8px;border-radius:8px;background:#fff5d8!important;
}
body.community-view :is(.community-message,.community-tag-chat-message).is-steward .community-message-head,
body.community-view :is(.community-message,.community-tag-chat-message).is-steward .community-tag-chat-message-meta,
body.community-view :is(.community-message,.community-tag-chat-message).is-maintainer .community-message-head,
body.community-view :is(.community-message,.community-tag-chat-message).is-maintainer .community-tag-chat-message-meta{
  padding:5px 8px;border-radius:8px;background:#edf4ff!important;
}
body.community-view :is(.community-message,.community-tag-chat-message).is-king .community-message-meta strong,
body.community-view :is(.community-message,.community-tag-chat-message).is-king .community-tag-chat-message-meta strong{color:#8e681b!important;}
body.community-view :is(.community-message,.community-tag-chat-message).is-steward .community-message-meta strong,
body.community-view :is(.community-message,.community-tag-chat-message).is-steward .community-tag-chat-message-meta strong,
body.community-view :is(.community-message,.community-tag-chat-message).is-maintainer .community-message-meta strong,
body.community-view :is(.community-message,.community-tag-chat-message).is-maintainer .community-tag-chat-message-meta strong{color:#28558f!important;}
body.community-view :is(.community-message,.community-tag-chat-message).is-steward :is(.community-message-avatar,.community-tag-chat-avatar),
body.community-view :is(.community-message,.community-tag-chat-message).is-maintainer :is(.community-message-avatar,.community-tag-chat-avatar){border-color:#6d94cb!important;background:#edf4ff!important;color:#28558f!important;}

/* The tag preview uses the same action rhythm as the full Knowledge and
   Project workspaces, including the capacity readout on the far right. */
body.community-view .community-tag-tree-preview-toolbar{display:flex;align-items:center;gap:8px;min-height:60px;padding:0 0 12px;border-bottom:1px solid #e5ebf1;}
body.community-view .community-tag-tree-toolbar-button{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 11px;border:0;border-radius:7px;background:#f1f5f8;color:#486685;font:inherit;font-size:12px;font-weight:800;cursor:pointer;}
body.community-view .community-tag-tree-toolbar-button:not(:first-child):not(.is-primary){background:#f7f9fb;}
body.community-view .community-tag-tree-toolbar-button.is-primary{min-width:74px;background:#bd58c9;color:#fff;box-shadow:0 6px 12px rgb(189 88 201 / .16);}
body.community-view .community-tag-tree-toolbar-button:hover:not(:disabled){filter:brightness(.97);transform:translateY(-1px);}
body.community-view .community-tag-tree-toolbar-button:disabled{cursor:not-allowed;opacity:.42;}
body.community-view .community-tag-tree-capacity{display:grid;gap:1px;margin-left:auto;min-width:120px;color:#2b4d79;text-align:right;}
body.community-view .community-tag-tree-capacity strong{font-size:20px;line-height:1.05;}
body.community-view .community-tag-tree-capacity small{color:#8899ac;font-size:10px;}
body.community-view .community-tag-tree-preview .community-tag-tree-preview-head{margin-top:15px;}

/* Workspaces and announcements are primary navigation groups, so give their
   labels and creation controls enough weight to be found at a glance. */
body.community-view .community-tag-heading{min-height:42px;padding:14px 13px 8px;color:#334f72;font-size:14px;font-weight:900;letter-spacing:.09em;text-transform:uppercase;}
body.community-view .community-tag-heading .community-subtag-create{min-height:34px;padding:7px 11px;border:0;border-radius:8px;background:#edf3ff;color:#315f9c;font-size:11px;font-weight:850;}
body.community-view .community-tag-heading .community-subtag-create:hover:not(:disabled){background:#dce8fb;}
body.community-view .community-tag-children{display:grid;gap:3px;margin:0 0 8px 18px;padding-left:11px;border-left:1px solid #dbe5ef;}
body.community-view .community-tag-children .community-tag-button{min-height:34px;padding-left:10px;font-size:11px;}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-message-links .community-tag-file-chip{
  min-height:54px!important;
  padding:11px 17px!important;
  border:0!important;
  border-radius:8px!important;
  background:#eaf1fb!important;
  color:#2f5d90!important;
  font-size:14px!important;
  font-weight:800;
  box-shadow:0 4px 10px rgb(40 85 143 / .06);
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-message-links .community-tag-file-chip:hover{background:#dce9fa!important;}

/* Keep the faculty service's editorial treatment above the shared legacy
   service rules.  The search surface is intentionally borderless; the
   controls gain their shape from the underline and the black/gold action. */
body.faculty-view .faculty-filters{
  grid-template-columns:minmax(250px,1.8fr) minmax(150px,.8fr) minmax(170px,1fr) minmax(138px,.7fr) auto;
  gap:24px; align-items:end; padding:0 0 22px; border:0;
  border-bottom:1px solid #e7e7e2; border-radius:0; background:transparent; box-shadow:none;
}
body.faculty-view .faculty-search-field,
body.faculty-view .faculty-filter-field{
  min-width:0; border:0; border-bottom:1px solid #cfcfca; border-radius:0;
  background:transparent; color:#777773; transition:border-color .18s,transform .18s;
}
body.faculty-view .faculty-search-field{
  display:grid; grid-template-columns:auto minmax(0,1fr); grid-template-rows:auto auto;
  column-gap:9px; padding:0 0 8px;
}
body.faculty-view .faculty-search-field input,
body.faculty-view .faculty-filter-field input,
body.faculty-view .faculty-filter-field select{
  width:100%; box-sizing:border-box; border:0; outline:0; background:transparent;
  color:#171717; padding:4px 0 0; font:inherit; font-size:13px;
}
body.faculty-view .faculty-search-field input::placeholder,
body.faculty-view .faculty-filter-field input::placeholder{color:#b0b0aa}
body.faculty-view .faculty-filter-field{display:grid; gap:4px; padding:0 0 8px}
body.faculty-view .faculty-filter-field span{padding-top:0; color:#999993; font-size:9px; font-weight:850; letter-spacing:.14em; text-transform:uppercase}
body.faculty-view .faculty-filter-field select{appearance:none; cursor:pointer; padding-right:20px}
body.faculty-view .faculty-filter-field:has(select){position:relative}
body.faculty-view .faculty-filter-field:has(select)::after{content:"⌄"; position:absolute; right:0; bottom:10px; color:#777773; font-size:15px; pointer-events:none}
body.faculty-view .faculty-search-field:focus-within,
body.faculty-view .faculty-filter-field:focus-within{border-color:#171717; transform:translateY(-2px); box-shadow:none}
body.faculty-view .faculty-list{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:17px; margin-top:12px}
body.faculty-view .faculty-card{
  position:relative; display:flex; flex-direction:column; min-width:0; padding:25px 24px 16px;
  border:0; border-radius:0; background:#f6f6f3; box-shadow:none;
  transition:transform .18s ease,background .18s ease;
}
body.faculty-view .faculty-card::before{content:""; position:absolute; left:0; top:0; bottom:0; width:4px; background:#b7d9c7}
body.faculty-view .faculty-card:nth-child(2n)::before{background:#d8b862}
body.faculty-view .faculty-card:nth-child(3n)::before{background:#c4b0e4}
body.faculty-view .faculty-card:hover{transform:translateY(-3px); border:0; background:#f2f2ee; box-shadow:10px 11px 0 #ebeae4}
body.faculty-view .faculty-card h3{color:#171717}
body.faculty-view .faculty-card-contact{border-left-color:#deded8}
body.faculty-view .faculty-card-footer{border-top-color:#e1e1dc}
body.faculty-view .faculty-empty{border:0; border-radius:0; background:#f6f6f3}
body.faculty-view .faculty-loading span{border-radius:0; background:#171717}
@media(max-width:1040px){
  body.faculty-view .faculty-filters{grid-template-columns:1.4fr 1fr 1fr}
  body.faculty-view .faculty-scope-field{grid-column:1/2}
  body.faculty-view .faculty-search-button{grid-column:2/4}
  body.faculty-view .faculty-list{grid-template-columns:1fr}
}
@media(max-width:760px){
  body.faculty-view .faculty-filters{grid-template-columns:1fr; gap:17px; padding-bottom:17px}
  body.faculty-view .faculty-scope-field,
  body.faculty-view .faculty-search-button{grid-column:auto}
  body.faculty-view .faculty-search-button{width:100%}
  body.faculty-view .faculty-card{padding:21px 17px 15px}
  body.faculty-view .faculty-card-layout{grid-template-columns:1fr; gap:15px}
  body.faculty-view .faculty-card-contact{padding:14px 0 0; border-left:0; border-top:1px solid #deded8}
}
/* Faculty position studio refresh ----------------------------------------
   Borderless editorial treatment aligned with the community module. */
body.faculty-view .faculty-screen{background:#fff;color:#171717;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif}
body.faculty-view .faculty-screen::before{opacity:.34;background-image:linear-gradient(rgb(23 23 23 / .035) 1px,transparent 1px),linear-gradient(90deg,rgb(23 23 23 / .035) 1px,transparent 1px);background-size:32px 32px;mask-image:linear-gradient(180deg,#000 0%,rgb(0 0 0 / .22) 64%,transparent 100%)}
body.faculty-view .faculty-header{height:68px;padding:0 28px;border-bottom:1px solid #e7e7e2;background:#fff;backdrop-filter:none}
body.faculty-view .faculty-header .service-brand img{max-width:148px}
body.faculty-view .faculty-header-meta{gap:12px}
body.faculty-view .faculty-header-kicker{color:#777773;font-size:10px;letter-spacing:.16em}
body.faculty-view .faculty-header-status{border:0;border-radius:999px;background:#f4f4f1;color:#5c5c57;font-size:10px;padding:6px 10px}
body.faculty-view .faculty-header-status.error{background:#fff1ef;color:#a8413b}
.faculty-header-actions{display:flex;align-items:center;gap:9px;margin-left:auto}
body.faculty-view .faculty-header .service-back{border:0;border-radius:7px;background:#f1f1ee;color:#444440;padding:9px 12px;font-size:12px}
body.faculty-view .faculty-header .service-back:hover{background:#e6e6e2}
.faculty-post-button,.faculty-search-button,.faculty-submit-button{position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:42px;border:0;border-radius:8px;overflow:hidden;background:#171717;color:#fff;font:inherit;font-size:12px;font-weight:850;letter-spacing:.01em;box-shadow:none;transition:transform .18s ease,background .18s ease}
.faculty-post-button{padding:0 14px}
.faculty-post-button::after,.faculty-search-button::after,.faculty-submit-button::after{content:"";position:absolute;z-index:-1;right:-18px;bottom:-17px;width:47px;height:47px;border-radius:50%;background:#dcb75b;opacity:.9;transition:transform .2s ease}
.faculty-post-button:hover,.faculty-search-button:hover,.faculty-submit-button:hover{transform:translateY(-2px);background:#2a2a27}
.faculty-post-button:hover::after,.faculty-search-button:hover::after,.faculty-submit-button:hover::after{transform:scale(1.55)}
.faculty-post-button-mark{color:#dcb75b;font-size:16px;line-height:1}
.faculty-main{width:min(1180px,calc(100% - 92px));padding:58px 0 88px}
.faculty-hero{align-items:flex-end;gap:36px;margin:0 0 34px;padding:0 0 36px;border-bottom:1px solid #e7e7e2}
.faculty-hero-copy{max-width:780px}
.faculty-kicker,.faculty-section-kicker{color:#777773;font-size:10px;letter-spacing:.2em}
.faculty-hero h1{margin:15px 0 11px;color:#171717;font-size:clamp(39px,5.2vw,70px);font-weight:800;letter-spacing:-.07em;line-height:.98}
.faculty-hero p{max-width:660px;margin:0;color:#777773;font-size:15px;line-height:1.75}
.faculty-hero-side{display:flex;align-items:flex-end;gap:16px;flex:none}
.faculty-hero-mark{width:100px;height:100px;border:0;border-radius:50%;background:radial-gradient(circle at 34% 26%,#fff 0 19%,#f5e7b8 20% 48%,#dfbd62 49% 100%);box-shadow:12px 14px 0 #f0eee8,0 16px 26px rgb(23 23 23 / .08);color:#171717;transform:rotate(9deg)}
.faculty-hero-mark span{top:15px;left:17px;color:#398e6e}.faculty-hero-mark b{font-size:30px}.faculty-hero-mark i{right:17px;bottom:13px;color:#171717}
.faculty-hero-note{display:grid;gap:4px;min-width:122px;padding-bottom:4px}.faculty-hero-note span{color:#9a9a94;font-size:9px;font-weight:850;letter-spacing:.16em}.faculty-hero-note strong{color:#171717;font-size:15px}.faculty-hero-note small{color:#777773;font-size:11px}
.faculty-filters{display:grid;grid-template-columns:minmax(250px,1.8fr) minmax(150px,.8fr) minmax(170px,1fr) minmax(138px,.7fr) auto;gap:24px;align-items:end;padding:0 0 22px;border:0;border-bottom:1px solid #e7e7e2;border-radius:0;background:transparent;box-shadow:none}
.faculty-search-field,.faculty-filter-field{min-width:0;border:0;border-bottom:1px solid #cfcfca;border-radius:0;background:transparent;color:#777773;transition:border-color .18s,transform .18s}
.faculty-search-field{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto;column-gap:9px;padding:0 0 8px}
.faculty-search-glyph{grid-row:1/3;align-self:center;color:#171717;font-size:22px;line-height:1}.faculty-search-label{padding-top:2px;color:#999993;font-size:9px;font-weight:850;letter-spacing:.14em;text-transform:uppercase}
.faculty-search-field input,.faculty-filter-field input,.faculty-filter-field select{width:100%;box-sizing:border-box;border:0;outline:0;background:transparent;color:#171717;padding:4px 0 0;font:inherit;font-size:13px}
.faculty-search-field input::placeholder,.faculty-filter-field input::placeholder{color:#b0b0aa}
.faculty-filter-field{display:grid;gap:4px;padding:0 0 8px}.faculty-filter-field span{padding-top:0;color:#999993;font-size:9px;font-weight:850;letter-spacing:.14em;text-transform:uppercase}
.faculty-filter-field select{appearance:none;cursor:pointer;padding-right:20px}.faculty-filter-field:has(select){position:relative}.faculty-filter-field:has(select)::after{content:"⌄";position:absolute;right:0;bottom:10px;color:#777773;font-size:15px;pointer-events:none}
.faculty-search-field:focus-within,.faculty-filter-field:focus-within{border-color:#171717;transform:translateY(-2px);box-shadow:none}
.faculty-search-button{min-width:118px;padding:0 17px}.faculty-button-arrow{font-size:18px;color:#dcb75b;line-height:1}
.faculty-list-heading{align-items:end;margin:42px 0 0}.faculty-list-heading h2{margin:7px 0 0;color:#171717;font-size:28px;letter-spacing:-.05em}.faculty-list-meta{color:#898984}.faculty-list-meta .community-secondary-button{border:0;border-radius:7px;background:#f1f1ee;color:#555550}.faculty-list-meta .community-secondary-button:hover{background:#e5e5e1}
.faculty-status{margin:13px 0 8px;color:#898984}.faculty-list{gap:17px;margin-top:12px}
.faculty-card{position:relative;display:flex;flex-direction:column;min-width:0;padding:25px 24px 16px;border:0;border-radius:0;background:#f6f6f3;box-shadow:none;transition:transform .18s ease,background .18s ease}
.faculty-card::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#b7d9c7}.faculty-card:nth-child(2n)::before{background:#d8b862}.faculty-card:nth-child(3n)::before{background:#c4b0e4}
.faculty-card:hover{transform:translateY(-3px);border:0;background:#f2f2ee;box-shadow:10px 11px 0 #ebeae4}
.faculty-card-top{gap:14px}.faculty-card-badges{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.faculty-card-badge,.faculty-card-scope{display:inline-flex;padding:5px 8px;border:0;border-radius:4px;font-size:9px;font-weight:850;letter-spacing:.04em}
.faculty-card-badge{background:#e1f0e7;color:#357458}.faculty-card-scope-domestic{background:#e7eefb;color:#41619b}.faculty-card-scope-international{background:#f7ead0;color:#9a6d25}
.faculty-card h3{margin:11px 0 0;color:#171717;font-size:19px;letter-spacing:-.025em}.faculty-card-location{color:#777773;font-size:11px}.faculty-card-layout{gap:24px;margin-top:19px}.faculty-card-description p{color:#696963;font-size:13px;line-height:1.75}.faculty-card-tags{gap:6px;margin-top:14px}.faculty-card-tags span{border-radius:4px;background:#e9e9e5;color:#777773;font-size:10px}.faculty-card-contact{gap:6px;padding-left:18px;border-left:1px solid #deded8}.faculty-contact-kicker{color:#999993;font-size:9px}.faculty-card-contact strong{color:#222;font-size:13px}.faculty-contact-affiliation{color:#777773}.faculty-contact-link{color:#4b6eaa;font-size:11px}.faculty-card-footer{margin-top:19px;padding-top:12px;border-top:1px solid #e1e1dc;color:#999993}.faculty-card-status{color:#9a6d25}.faculty-empty{border:0;border-radius:0;background:#f6f6f3}.faculty-empty-mark{border-radius:12px;background:#e8e8e3;color:#555550}.faculty-loading{padding:58px}.faculty-loading span{border-radius:0;background:#171717}
.faculty-post-panel{margin-top:58px;padding:36px 0 0;border-top:1px solid #171717}.faculty-post-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:28px;padding-bottom:28px}.faculty-post-panel-head h2{margin:10px 0 8px;color:#171717;font-size:clamp(26px,3.4vw,42px);letter-spacing:-.055em}.faculty-post-panel-head p{max-width:620px;margin:0;color:#777773;font-size:13px;line-height:1.7}
.faculty-post-close{width:38px;height:38px;border:0;border-radius:50%;background:#f1f1ee;color:#555550;font-size:23px;line-height:1}.faculty-post-close:hover{background:#171717;color:#fff;transform:rotate(8deg)}
.faculty-post-layout{display:grid;grid-template-columns:minmax(190px,.5fr) minmax(0,1.5fr);gap:54px;align-items:start}.faculty-post-guide{position:sticky;top:20px;padding:26px 0}.faculty-post-guide-mark{display:grid;place-items:center;width:46px;height:46px;margin-bottom:19px;border-radius:15px 15px 15px 3px;background:#171717;color:#dcb75b;font-size:22px;transform:rotate(-7deg)}.faculty-post-guide strong{display:block;color:#171717;font-size:17px}.faculty-post-guide p{margin:8px 0 20px;color:#777773;font-size:12px;line-height:1.65}.faculty-post-guide ol{display:grid;gap:11px;margin:0;padding:0;list-style:none}.faculty-post-guide li{display:flex;align-items:center;gap:9px;color:#777773;font-size:11px}.faculty-post-guide li span{color:#999993;font-size:9px;font-weight:850;letter-spacing:.08em}
.faculty-post-form{min-width:0}.faculty-form-section{padding:0 0 29px;margin-bottom:29px;border-bottom:1px solid #e7e7e2}.faculty-form-section-head{display:flex;align-items:baseline;gap:10px;margin-bottom:17px}.faculty-form-section-head>span{color:#d2a946;font-size:11px;font-weight:900;letter-spacing:.1em}.faculty-form-section-head h3{margin:0;color:#171717;font-size:16px}.faculty-form-section-head small{margin-left:auto;color:#999993;font-size:10px}.faculty-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 22px}.faculty-form-field{display:grid;align-content:start;gap:7px;min-width:0}.faculty-form-field>span{color:#777773;font-size:10px;font-weight:850;letter-spacing:.06em}
.faculty-form-field input,.faculty-form-field select,.faculty-form-field textarea{width:100%;box-sizing:border-box;border:0;border-bottom:1px solid #cfcfca;border-radius:0;outline:0;background:#fafaf8;color:#171717;padding:11px 10px;font:inherit;font-size:13px;resize:vertical}.faculty-form-field textarea{min-height:132px;line-height:1.65}.faculty-form-field input:focus,.faculty-form-field select:focus,.faculty-form-field textarea:focus{border-bottom-color:#171717;box-shadow:0 3px 0 #dcb75b}.faculty-form-field input:invalid:not(:placeholder-shown),.faculty-form-field textarea:invalid:not(:placeholder-shown){box-shadow:0 2px 0 #dc8b81}.faculty-form-wide{grid-column:1/-1}.faculty-field-hint{color:#9a9a94;font-size:10px;line-height:1.4}
.faculty-verify-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.faculty-verify-card{padding:18px 0 14px;background:#f6f6f3}.faculty-verify-card.is-verified{background:#edf6ef}.faculty-verify-card-head{display:flex;align-items:center;gap:10px;padding:0 15px}.faculty-verify-icon{display:grid;place-items:center;width:31px;height:31px;border-radius:9px;background:#e1f0e7;color:#357458;font-size:17px}.faculty-verify-icon-email{background:#e7eefb;color:#41619b}.faculty-verify-card-head>div{display:grid;gap:3px;min-width:0}.faculty-verify-card-head strong{color:#222;font-size:12px}.faculty-verify-card-head small{color:#999993;font-size:9px}.faculty-verify-state{margin-left:auto;color:#a0702b;font-size:10px;font-weight:850}.faculty-verify-state.verified{color:#357458}
.faculty-verify-row,.faculty-verify-confirm{display:flex;gap:8px;padding:13px 15px 0}.faculty-verify-row input,.faculty-verify-confirm input{min-width:0;flex:1;border:0;border-bottom:1px solid #cfcfca;border-radius:0;background:#fff;color:#171717;outline:0;padding:9px 8px;font:inherit;font-size:12px}.faculty-verify-row input:focus,.faculty-verify-confirm input:focus{border-bottom-color:#171717}.faculty-verify-button{flex:none;min-height:35px;border:0;border-radius:6px;background:#171717;color:#fff;padding:0 11px;font:inherit;font-size:10px;font-weight:850}.faculty-verify-button:hover:not(:disabled){background:#3a3a36;transform:translateY(-1px)}.faculty-verify-message{min-height:15px;margin:9px 15px 0;color:#777773;font-size:10px;line-height:1.45}.faculty-verify-note{margin:14px 0 0;color:#999993;font-size:10px;line-height:1.5}
.faculty-post-form-footer{display:grid;gap:15px;padding-bottom:20px}.faculty-post-form-status{min-height:18px;margin:0;color:#777773;font-size:12px}.faculty-post-form-status.error{color:#a8413b}.faculty-post-form-status.success{color:#357458}.faculty-form-consent{display:flex;align-items:flex-start;gap:8px;color:#777773;font-size:11px;line-height:1.5}.faculty-form-consent input{margin-top:2px;accent-color:#171717}.faculty-submit-button{justify-self:start;min-width:190px;padding:0 19px}
@media(max-width:1100px){.faculty-main{width:min(920px,calc(100% - 56px))}.faculty-filters{grid-template-columns:1.4fr 1fr 1fr}.faculty-scope-field{grid-column:1/2}.faculty-search-button{grid-column:2/4}.faculty-list{grid-template-columns:1fr}}
@media(max-width:760px){body.faculty-view .faculty-header{height:66px;padding:0 16px}body.faculty-view .faculty-header .service-brand img{max-width:128px}.faculty-header-meta{display:none}.faculty-header-actions{gap:6px}.faculty-post-button{min-height:37px;padding:0 10px;font-size:10px}.faculty-post-button-mark{font-size:13px}body.faculty-view .faculty-header .service-back{padding:8px 9px;font-size:10px}.faculty-main{width:calc(100% - 32px);padding:39px 0 60px}.faculty-hero{align-items:flex-start;gap:20px;padding-bottom:27px}.faculty-hero h1{font-size:38px}.faculty-hero p{font-size:13px}.faculty-hero-side{display:none}.faculty-filters{grid-template-columns:1fr;gap:17px;padding-bottom:17px}.faculty-scope-field,.faculty-search-button{grid-column:auto}.faculty-search-button{width:100%}.faculty-list-heading{align-items:flex-start;flex-direction:column;margin-top:31px}.faculty-list-meta{width:100%;justify-content:space-between}.faculty-card{padding:21px 17px 15px}.faculty-card-layout{grid-template-columns:1fr;gap:15px}.faculty-card-contact{padding:14px 0 0;border-top:1px solid #deded8;border-left:0}.faculty-post-panel{margin-top:45px;padding-top:27px}.faculty-post-panel-head{gap:15px}.faculty-post-panel-head h2{font-size:28px}.faculty-post-layout{grid-template-columns:1fr;gap:10px}.faculty-post-guide{position:static;padding:0 0 20px}.faculty-post-guide ol{grid-template-columns:repeat(3,1fr);gap:7px}.faculty-post-guide li{display:grid;gap:4px;font-size:10px}.faculty-form-grid,.faculty-verify-grid{grid-template-columns:1fr}.faculty-form-wide{grid-column:auto}.faculty-form-section-head small{font-size:9px}.faculty-submit-button{width:100%}}


/* Expandable workspace hierarchy: Discussion and Project own their child
   channels, with one compact plus control on the root row. */
body.community-view .community-tag-root-group{display:block;}
body.community-view .community-tag-root-line{display:flex;align-items:center;gap:6px;}
body.community-view .community-tag-root-line>.community-tag-button{flex:1 1 auto;min-width:0;}
body.community-view .community-tag-expand,
body.community-view .community-tag-child-create{
  display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;
  border:0;border-radius:10px;background:#e8f0ff;color:#28558f;
  font:inherit;font-weight:850;cursor:pointer;transition:background .16s ease,transform .16s ease;
}
body.community-view .community-tag-expand{width:38px;height:38px;flex:0 0 38px;font-size:22px;line-height:1;}
body.community-view .community-tag-expand:hover,
body.community-view .community-tag-child-create:hover:not(:disabled){background:#d7e6ff;transform:translateY(-1px);}
body.community-view .community-tag-expand[aria-expanded="true"]{background:#315ee8;color:#fff;}
body.community-view .community-tag-children{display:grid;gap:4px;margin:4px 0 8px 16px;padding-left:10px;border-left:2px solid #dce6f6;}
body.community-view .community-tag-children[hidden]{display:none;}
body.community-view .community-tag-child-create{min-height:36px;padding:7px 12px;justify-self:start;background:#f1f5fc;color:#46688f;font-size:12px;}
body.community-view .community-tag-child-create:disabled{opacity:.5;cursor:not-allowed;}

/* Team Leader identity: retain the gold avatar frame and crown mark while
   keeping the avatar fill neutral. */
body.community-view :is(.community-message-avatar,.community-tag-chat-avatar,.community-section-message-avatar){position:relative;overflow:visible;}
body.community-view :is(.community-message,.community-tag-chat-message,.community-section-message).is-king :is(.community-message-avatar,.community-tag-chat-avatar,.community-section-message-avatar){
  border:3px solid #d6a52d!important;background:#fff!important;color:#28558f!important;box-shadow:0 3px 10px rgba(166,123,27,.16)!important;
}
body.community-view .community-avatar-king-mark{position:absolute;top:-8px;left:-8px;z-index:2;display:grid;place-items:center;width:18px;height:18px;box-sizing:border-box;border:2px solid #d6a52d;border-radius:50%;background:#fff8de;color:#a47718;font-size:10px;line-height:1;box-shadow:0 2px 6px rgba(166,123,27,.2);}

/* Faculty positions service -------------------------------------------- */
.service-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.service-card-faculty{border-color:#ead9b8;background:linear-gradient(145deg,rgb(255 252 244 / .97),rgb(249 243 231 / .94));box-shadow:9px 10px 0 rgb(231 211 171 / .65),0 19px 38px rgb(133 104 45 / .1),inset 0 1px 0 #fff}
.service-card-faculty .service-card-state{color:#9a7a3e;font-weight:750}
.service-card-icon-gold{background:#fff5dc!important;color:#a77a25!important;box-shadow:6px 7px 0 #ead6a6,inset 0 1px 0 #fff!important}
body.faculty-view .faculty-screen{display:block!important}
body.faculty-view .entry-screen,body.faculty-view .service-screen,body.faculty-view .login-screen,body.faculty-view .sidebar,body.faculty-view .main,body.faculty-view .community-screen{display:none!important}
.faculty-screen{position:fixed;inset:0;z-index:125;display:none;overflow:auto;color:#1d3b67;background:radial-gradient(ellipse 56% 42% at 8% 8%,rgb(191 227 248 / .3),transparent 72%),radial-gradient(ellipse 50% 46% at 93% 74%,rgb(231 215 190 / .25),transparent 72%),linear-gradient(180deg,#fbfdff 0%,#f6f8fc 100%)}
.faculty-screen::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:.48;background-image:linear-gradient(rgb(91 128 181 / .06) 1px,transparent 1px),linear-gradient(90deg,rgb(91 128 181 / .06) 1px,transparent 1px);background-size:24px 24px;mask-image:linear-gradient(180deg,#000 0%,rgb(0 0 0 / .35) 76%,transparent 100%)}
.faculty-header{height:78px;display:flex;align-items:center;gap:22px;padding:0 clamp(22px,6vw,96px);border-bottom:1px solid rgb(212 219 230 / .78);background:rgb(255 255 255 / .84);backdrop-filter:blur(14px)}
.faculty-header .service-brand{flex:none}.faculty-header .service-brand img{display:block;width:min(188px,34vw);height:auto;object-fit:contain}
.faculty-header-meta{display:flex;align-items:center;gap:12px;min-width:0;margin-right:auto}.faculty-header-kicker{overflow:hidden;color:#8190a8;font-size:11px;font-weight:800;letter-spacing:.14em;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.faculty-header-status{padding:7px 11px;border:1px solid #dbe5f0;border-radius:999px;background:#f4f8fc;color:#59806f;font-size:11px;font-weight:700;white-space:nowrap}.faculty-header-status.error{border-color:#f1d6d6;background:#fff1f1;color:#bd5d68}
.faculty-main{width:min(1180px,calc(100% - 80px));margin:0 auto;padding:clamp(54px,8vh,96px) 0 96px}
.faculty-hero{display:flex;align-items:center;justify-content:space-between;gap:32px;margin:0 0 30px;padding:0 clamp(0px,2.4vw,35px)}.faculty-hero-copy{max-width:730px}.faculty-kicker,.faculty-section-kicker{display:inline-block;color:#5d78ab;font-size:11px;font-weight:800;letter-spacing:.2em;text-transform:uppercase}.faculty-hero h1{margin:13px 0 10px;color:#1b365f;font-size:clamp(36px,4.2vw,56px);letter-spacing:-.055em;line-height:1.05}.faculty-hero p{max-width:650px;margin:0;color:#71839f;font-size:16px;line-height:1.75}.faculty-hero-mark{position:relative;display:grid;place-items:center;width:112px;height:112px;flex:none;border:1px solid #eadfca;border-radius:32px;background:linear-gradient(145deg,#fffdf7 0%,#f4eddd 100%);box-shadow:0 18px 40px rgb(133 104 45 / .12),inset 0 1px 0 #fff;color:#b0812d;font-size:27px;transform:rotate(4deg)}.faculty-hero-mark span{position:absolute;top:17px;left:19px;color:#4aa078;font-size:29px}.faculty-hero-mark b{font-size:30px;font-weight:800}.faculty-hero-mark i{position:absolute;right:18px;bottom:14px;color:#7d64b7;font-size:20px;font-style:normal}
.faculty-filters{display:grid;grid-template-columns:minmax(260px,1.7fr) minmax(145px,.8fr) minmax(170px,1fr) auto;gap:10px;align-items:end;padding:14px;border:1px solid #dfe6ef;border-radius:18px;background:rgb(255 255 255 / .86);box-shadow:0 12px 26px rgb(42 64 96 / .07),inset 0 1px 0 #fff}.faculty-search-field,.faculty-filter-field{display:grid;gap:6px;min-width:0;color:#7788a0;font-size:11px;font-weight:750}.faculty-search-field{display:flex;align-items:center;gap:8px;padding:0 11px;border:1px solid #dfe5ed;border-radius:11px;background:#fbfcfe;color:#8c99ac}.faculty-search-field input,.faculty-filter-field input{width:100%;box-sizing:border-box;border:0;outline:none;background:transparent;color:#253957;padding:11px 0;font:inherit;font-size:13px}.faculty-filter-field{padding:0 11px;border:1px solid #dfe5ed;border-radius:11px;background:#fbfcfe}.faculty-filter-field span{padding-top:8px;color:#8796aa;font-size:10px;letter-spacing:.06em;text-transform:uppercase}.faculty-filter-field input{padding-top:3px;padding-bottom:9px}.faculty-search-field:focus-within,.faculty-filter-field:focus-within{border-color:#88a9ed;box-shadow:0 0 0 3px rgb(36 85 223 / .1)}.faculty-search-button{display:inline-flex;align-items:center;gap:8px;min-height:45px;white-space:nowrap}.faculty-list-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin:43px 2px 0}.faculty-list-heading h2{margin:7px 0 0;color:#233b65;font-size:26px;letter-spacing:-.035em}.faculty-list-meta{display:flex;align-items:center;gap:12px;color:#7f8ea4;font-size:12px}.faculty-list-meta .community-secondary-button{padding:9px 13px}.faculty-status{min-height:18px;margin:13px 2px 8px;color:#7b8799;font-size:12px}.faculty-status.error{color:#bd5d68}
.faculty-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:13px}.faculty-card{display:flex;flex-direction:column;min-width:0;padding:20px 21px 16px;border:1px solid #dfe6ef;border-radius:17px;background:rgb(255 255 255 / .9);box-shadow:0 12px 28px rgb(42 64 96 / .065),inset 0 1px 0 #fff;transition:transform .18s,box-shadow .18s,border-color .18s}.faculty-card:hover{transform:translateY(-2px);border-color:#bbcef0;box-shadow:0 16px 32px rgb(42 64 96 / .12),inset 0 1px 0 #fff}.faculty-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.faculty-card-title{min-width:0}.faculty-card-badge{display:inline-flex;padding:4px 8px;border-radius:999px;background:#edf6f0;color:#418466;font-size:10px;font-weight:800;letter-spacing:.04em}.faculty-card h3{margin:9px 0 0;color:#233b65;font-size:18px;line-height:1.35;letter-spacing:-.02em}.faculty-card-location{flex:none;padding-top:5px;color:#8293aa;font-size:11px;white-space:nowrap}.faculty-card-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(155px,.62fr);gap:19px;margin-top:17px}.faculty-card-description p{margin:0;color:#6c7b91;font-size:13px;line-height:1.7}.faculty-card-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:13px}.faculty-card-tags span{padding:5px 8px;border-radius:7px;background:#f0f4fa;color:#7186a6;font-size:10px}.faculty-card-contact{display:grid;align-content:start;gap:5px;padding-left:16px;border-left:1px solid #e6ebf2}.faculty-contact-kicker{color:#9aa8bb;font-size:9px;font-weight:850;letter-spacing:.16em}.faculty-card-contact strong{color:#385276;font-size:13px}.faculty-contact-affiliation{color:#7a89a0;font-size:11px;line-height:1.45}.faculty-contact-link{overflow:hidden;color:#4670aa;font-size:11px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.faculty-contact-link:hover{text-decoration:underline}.faculty-card-footer{display:flex;flex-wrap:wrap;gap:10px;margin-top:17px;padding-top:12px;border-top:1px solid #edf0f4;color:#9aa5b4;font-size:10px}.faculty-card-status{margin-left:auto;color:#ae7a38}.faculty-empty{grid-column:1/-1;display:grid;justify-items:center;padding:52px 20px;border:1px dashed #cad8e9;border-radius:17px;background:#f8faff;text-align:center}.faculty-empty-mark{display:grid;place-items:center;width:43px;height:43px;margin-bottom:8px;border-radius:13px;background:#e7eefc;color:#5b78c9;font-size:23px}.faculty-empty h3{margin:4px 0;color:#37537e;font-size:17px}.faculty-empty p{max-width:420px;margin:4px 0 16px;color:#8794a8;font-size:12px;line-height:1.6}.faculty-empty-error .faculty-empty-mark{background:#fff1f1;color:#bd5d68}.faculty-loading{grid-column:1/-1;display:flex;justify-content:center;gap:8px;padding:58px}.faculty-loading span{width:8px;height:8px;border-radius:50%;background:#6c8dde;animation:faculty-pulse 1s ease-in-out infinite}.faculty-loading span:nth-child(2){animation-delay:.15s}.faculty-loading span:nth-child(3){animation-delay:.3s}@keyframes faculty-pulse{0%,80%,100%{opacity:.3;transform:scale(.7)}40%{opacity:1;transform:scale(1)}}
@media(max-width:1040px){.faculty-main{width:min(840px,calc(100% - 56px))}.faculty-filters{grid-template-columns:1.5fr 1fr 1fr}.faculty-search-button{grid-column:1/-1}.faculty-list{grid-template-columns:1fr}.service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.faculty-header{height:70px;padding:0 18px;gap:12px}.faculty-header .service-brand img{width:145px}.faculty-header-meta{display:none}.faculty-header .service-back{min-height:38px;padding:0 13px;font-size:12px}.faculty-main{width:calc(100% - 36px);padding:46px 0 64px}.faculty-hero{align-items:flex-start;margin-bottom:24px;padding:0}.faculty-hero-mark{width:76px;height:76px;border-radius:23px;font-size:20px}.faculty-hero-mark span{top:11px;left:12px;font-size:22px}.faculty-hero-mark i{right:11px;bottom:8px;font-size:15px}.faculty-hero h1{font-size:34px}.faculty-hero p{font-size:14px;line-height:1.65}.faculty-filters{grid-template-columns:1fr;padding:11px;border-radius:15px}.faculty-search-button{grid-column:auto}.faculty-list-heading{align-items:flex-start;flex-direction:column;margin-top:32px}.faculty-list-meta{width:100%;justify-content:space-between}.faculty-card{padding:18px 16px 14px}.faculty-card-layout{grid-template-columns:1fr;gap:15px}.faculty-card-contact{padding:13px 0 0;border-top:1px solid #e6ebf2;border-left:0}.faculty-card-location{font-size:10px}.service-grid{grid-template-columns:1fr}.service-card-faculty{box-shadow:7px 8px 0 rgb(231 211 171 / .65),0 15px 30px rgb(133 104 45 / .1),inset 0 1px 0 #fff}}

/* Final navigation, identity, and homepage hierarchy pass.  Keep these
   rules together so they win over the earlier workspace-specific treatments. */
body.community-view .community-tag-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:52px;
  box-sizing:border-box;
  margin:0;
  padding:15px 14px 10px;
  border-top:1px solid #e3e8f0;
  color:#29466d!important;
  font-size:15px!important;
  font-weight:900!important;
  letter-spacing:.035em!important;
  line-height:1.2;
  text-transform:none!important;
}
body.community-view .community-announcements-heading{margin-top:8px;}
body.community-view .community-tag-heading>span{min-width:0;}
body.community-view .community-tag-heading .community-subtag-create{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:none;
  min-height:32px;
  max-width:100%;
  box-sizing:border-box;
  padding:6px 10px;
  border:1px solid #cfddf1!important;
  border-radius:8px;
  background:#eef4ff!important;
  color:#315f9c!important;
  font:inherit;
  font-size:11px!important;
  font-weight:850!important;
  letter-spacing:0;
  line-height:1.2;
  white-space:nowrap;
}
body.community-view .community-tag-heading .community-subtag-create:hover:not(:disabled){
  border-color:#aac2e6!important;
  background:#e1ecff!important;
}
body.community-view .community-tag-heading .community-subtag-create:disabled{opacity:.82;}

/* Gold identifies the King on the message identity line only.  Message and
   Q&A surfaces stay neutral; administrator identity lines use blue. */
body.community-view :is(.community-message,.community-tag-chat-message).is-king .community-message-main,
body.community-view :is(.community-message,.community-tag-chat-message).is-king .community-tag-chat-message-main,
body.community-view .community-tag-question.is-king,
body.community-view .community-tag-answer.is-king{
  border-color:#e1e8ef!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.community-view :is(.community-message,.community-tag-chat-message).is-king .community-message-head,
body.community-view :is(.community-message,.community-tag-chat-message).is-king .community-tag-chat-message-meta,
body.community-view :is(.community-message,.community-tag-chat-message).is-steward .community-message-head,
body.community-view :is(.community-message,.community-tag-chat-message).is-steward .community-tag-chat-message-meta,
body.community-view :is(.community-message,.community-tag-chat-message).is-maintainer .community-message-head,
body.community-view :is(.community-message,.community-tag-chat-message).is-maintainer .community-tag-chat-message-meta{
  padding:0!important;
  border-radius:0!important;
  background:transparent!important;
}
body.community-view :is(.community-message,.community-tag-chat-message).is-king :is(.community-message-meta strong,.community-tag-chat-message-meta strong),
body.community-view .community-tag-question.is-king .community-tag-question-author strong,
body.community-view .community-tag-answer.is-king .community-tag-answer-body strong{
  color:#a47718!important;
  font-weight:850!important;
}
body.community-view :is(.community-message,.community-tag-chat-message).is-king :is(.community-message-meta time,.community-tag-chat-message-meta time),
body.community-view .community-tag-question.is-king .community-tag-question-author time,
body.community-view .community-tag-answer.is-king .community-tag-answer-body time{
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#a47718!important;
  font-weight:750!important;
}
body.community-view :is(.community-message,.community-tag-chat-message).is-king :is(.community-message-handle,.community-tag-chat-handle),
body.community-view .community-tag-question.is-king .community-tag-chat-handle,
body.community-view .community-tag-answer.is-king .community-tag-chat-handle{
  color:#7f8da1!important;
  font-weight:600;
}
body.community-view :is(.community-message,.community-tag-chat-message,.community-tag-question,.community-tag-answer).is-king :is(.community-message-avatar,.community-tag-chat-avatar){
  border-color:#d7e0eb!important;
  background:#f3f6fa!important;
  color:#28558f!important;
  box-shadow:none!important;
}
body.community-view :is(.community-message,.community-tag-chat-message).is-steward :is(.community-message-meta strong,.community-tag-chat-message-meta strong),
body.community-view .community-tag-question.is-steward .community-tag-question-author strong,
body.community-view .community-tag-answer.is-steward .community-tag-answer-body strong,
body.community-view :is(.community-message,.community-tag-chat-message).is-maintainer :is(.community-message-meta strong,.community-tag-chat-message-meta strong),
body.community-view .community-tag-question.is-maintainer .community-tag-question-author strong,
body.community-view .community-tag-answer.is-maintainer .community-tag-answer-body strong{
  color:#28558f!important;
  font-weight:850!important;
}
body.community-view :is(.community-message,.community-tag-chat-message).is-steward :is(.community-message-meta time,.community-tag-chat-message-meta time),
body.community-view .community-tag-question.is-steward .community-tag-question-author time,
body.community-view .community-tag-answer.is-steward .community-tag-answer-body time,
body.community-view :is(.community-message,.community-tag-chat-message).is-maintainer :is(.community-message-meta time,.community-tag-chat-message-meta time),
body.community-view .community-tag-question.is-maintainer .community-tag-question-author time,
body.community-view .community-tag-answer.is-maintainer .community-tag-answer-body time{
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#28558f!important;
  font-weight:750!important;
}
body.community-view :is(.community-message,.community-tag-chat-message).is-steward :is(.community-message-avatar,.community-tag-chat-avatar),
body.community-view :is(.community-message,.community-tag-chat-message).is-maintainer :is(.community-message-avatar,.community-tag-chat-avatar),
body.community-view .community-tag-question.is-steward .community-tag-question-avatar,
body.community-view .community-tag-question.is-maintainer .community-tag-question-avatar,
body.community-view .community-tag-answer.is-steward .community-tag-answer-avatar,
body.community-view .community-tag-answer.is-maintainer .community-tag-answer-avatar{
  border-color:#8eadd7!important;
  background:#edf4ff!important;
  color:#28558f!important;
  box-shadow:none!important;
}
body.community-view :is(.community-message,.community-tag-chat-message).is-steward :is(.community-message-handle,.community-tag-chat-handle),
body.community-view :is(.community-message,.community-tag-chat-message).is-maintainer :is(.community-message-handle,.community-tag-chat-handle),
body.community-view .community-tag-question:is(.is-steward,.is-maintainer) .community-tag-chat-handle,
body.community-view .community-tag-answer:is(.is-steward,.is-maintainer) .community-tag-chat-handle{color:#7a8fae!important;}

/* The King card has room for a full UUID and keeps the crown attached to the
   upper-left of the avatar without introducing a second background panel. */
body.community-view #community-main-view[data-section="home"] .community-detail-title-row{
  align-items:center;
  flex-wrap:wrap;
}
body.community-view #community-main-view[data-section="home"] .community-king-card{
  min-width:0!important;
  width:min(100%,540px);
  max-width:48%;
  flex:0 1 540px;
  box-sizing:border-box;
  padding:12px 0;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.community-view #community-main-view[data-section="home"] .community-king-card>div{
  min-width:0;
  flex:1 1 auto;
}
body.community-view #community-main-view[data-section="home"] .community-king-card strong{
  max-width:100%;
  color:#a47718;
  font-size:clamp(19px,2.1vw,28px)!important;
  line-height:1.18;
  overflow-wrap:anywhere;
  word-break:break-word;
  white-space:normal;
}
body.community-view #community-main-view[data-section="home"] .community-king-card small{
  max-width:100%;
  color:#708098;
  font-size:clamp(12px,1.35vw,17px)!important;
  line-height:1.35;
  overflow-wrap:anywhere;
  white-space:normal;
}
body.community-view #community-main-view[data-section="home"] .community-detail-king-mark{
  left:-11px!important;
  top:3px!important;
}

/* File links are compact message metadata, so they stay readable without
   turning into a second message-sized card. */
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-message-links .community-tag-file-chip{
  display:inline-flex!important;
  align-items:center;
  min-height:32px!important;
  max-width:100%;
  box-sizing:border-box;
  padding:6px 10px!important;
  border:1px solid #d4e1f0!important;
  border-radius:8px!important;
  background:#f3f7fd!important;
  color:#315d90!important;
  font-size:11px!important;
  font-weight:750!important;
  line-height:1.25;
  box-shadow:none!important;
  overflow-wrap:anywhere;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-message-links .community-tag-file-chip:hover{
  border-color:#b5cce9!important;
  background:#eaf2fd!important;
}

@media(max-width:900px){
  body.community-view #community-main-view[data-section="home"] .community-king-card{
    width:100%;
    max-width:none;
    flex:1 1 100%;
  }
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-module-surface{display:flex;flex-direction:column;min-height:100%;background:#fff;}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-module-surface .community-workspace-tree-head{display:block;min-height:0;margin:0;padding:0;border:0;background:#fff;}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-module-surface .community-workspace-tree-head-tools{display:flex;align-items:center;width:100%;}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-module-surface .community-module-header-actions{display:flex;align-items:center;width:100%;gap:16px;}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-module-surface .community-module-toolbar{display:flex;align-items:center;gap:8px;flex:none;}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-module-surface .community-workspace-toolbar-button{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 10px;border:0!important;border-radius:7px!important;background:#f1f4f8;color:#46627d;font:inherit;font-size:12px;font-weight:800;cursor:pointer;}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-module-surface .community-workspace-toolbar-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7;}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-module-surface .community-workspace-toolbar-button[data-workspace-toolbar="folder"]{min-width:118px;background:#edf5f1;color:#2e7353;}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-module-surface .community-workspace-toolbar-button[data-workspace-toolbar="upload"]{min-width:124px;background:#c465c9;color:#fff;}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-module-surface .community-workspace-toolbar-button:disabled{opacity:.42;cursor:not-allowed;}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-module-surface .community-storage-meter{display:grid;flex:0 1 300px;min-width:200px;margin-left:auto;padding-left:18px;border-left:1px solid #e3eaf0;background:#fff;}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-module-surface .community-storage-meter-total{justify-content:flex-end;}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-module-surface .community-storage-meter-total strong{color:#2b4968;font-size:22px;}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-module-surface .community-storage-meter-track{width:100%;}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-module-surface .community-workspace-breadcrumb{margin:16px 0 0;padding:0 0 12px;border-bottom:1px solid #e5ebf1;color:#637892;font-size:12px;font-weight:800;}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-module-surface .community-workspace-tree-body{flex:1 1 auto;min-height:0;overflow:auto;}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-module-surface .community-workspace-tree-empty{padding:36px 14px;color:#96a2ae;font-size:12px;text-align:center;}
@media(max-width:760px){body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-module-surface .community-storage-meter{display:none;}}
/* Absolute final cascade: keep hierarchy and role accents bounded after all
   workspace surface rules. */
body.community-view .community-tag-heading{
  display:flex!important;align-items:center;justify-content:space-between;gap:10px;
  min-height:52px;box-sizing:border-box;margin:0;padding:15px 14px 10px;
  border-top:1px solid #e3e8f0;color:#29466d!important;
  font-size:15px!important;font-weight:900!important;letter-spacing:.035em!important;
  line-height:1.2;text-transform:none!important;
}
body.community-view .community-announcements-heading{margin-top:8px;}
body.community-view .community-tag-heading>span{min-width:0;}
body.community-view .community-tag-heading .community-subtag-create{
  display:inline-flex!important;align-items:center;justify-content:center;flex:none;
  min-height:32px;max-width:100%;box-sizing:border-box;padding:6px 10px;
  border:1px solid #cfddf1!important;border-radius:8px;background:#eef4ff!important;
  color:#315f9c!important;font:inherit;font-size:11px!important;font-weight:850!important;
  letter-spacing:0;line-height:1.2;white-space:nowrap;
}
body.community-view .community-tag-heading .community-subtag-create:hover:not(:disabled){
  border-color:#aac2e6!important;background:#e1ecff!important;
}
body.community-view .community-tag-heading .community-subtag-create:disabled{opacity:.82;}

body.community-view :is(.community-message,.community-tag-chat-message).is-king .community-message-main,
body.community-view :is(.community-message,.community-tag-chat-message).is-king .community-tag-chat-message-main,
body.community-view .community-tag-question.is-king,
body.community-view .community-tag-answer.is-king{
  border-color:#e1e8ef!important;border-radius:10px!important;background:#fff!important;
  box-shadow:none!important;
}
body.community-view :is(.community-message,.community-tag-chat-message).is-king .community-message-head,
body.community-view :is(.community-message,.community-tag-chat-message).is-king .community-tag-chat-message-meta,
body.community-view :is(.community-message,.community-tag-chat-message).is-steward .community-message-head,
body.community-view :is(.community-message,.community-tag-chat-message).is-steward .community-tag-chat-message-meta,
body.community-view :is(.community-message,.community-tag-chat-message).is-maintainer .community-message-head,
body.community-view :is(.community-message,.community-tag-chat-message).is-maintainer .community-tag-chat-message-meta{
  padding:0!important;border-radius:0!important;background:transparent!important;
}
body.community-view :is(.community-message,.community-tag-chat-message).is-king :is(.community-message-meta strong,.community-tag-chat-message-meta strong),
body.community-view .community-tag-question.is-king .community-tag-question-author strong,
body.community-view .community-tag-answer.is-king .community-tag-answer-body strong{color:#a47718!important;font-weight:850!important;}
body.community-view :is(.community-message,.community-tag-chat-message).is-king :is(.community-message-meta time,.community-tag-chat-message-meta time),
body.community-view .community-tag-question.is-king .community-tag-question-author time,
body.community-view .community-tag-answer.is-king .community-tag-answer-body time{
  padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;
  color:#a47718!important;font-weight:750!important;
}
body.community-view :is(.community-message,.community-tag-chat-message).is-king :is(.community-message-handle,.community-tag-chat-handle),
body.community-view .community-tag-question.is-king .community-tag-chat-handle,
body.community-view .community-tag-answer.is-king .community-tag-chat-handle{color:#7f8da1!important;font-weight:600;}
body.community-view :is(.community-message,.community-tag-chat-message,.community-tag-question,.community-tag-answer).is-king :is(.community-message-avatar,.community-tag-chat-avatar){
  border-color:#d7e0eb!important;background:#f3f6fa!important;color:#28558f!important;box-shadow:none!important;
}
body.community-view :is(.community-message,.community-tag-chat-message).is-steward :is(.community-message-meta strong,.community-tag-chat-message-meta strong),
body.community-view .community-tag-question.is-steward .community-tag-question-author strong,
body.community-view .community-tag-answer.is-steward .community-tag-answer-body strong,
body.community-view :is(.community-message,.community-tag-chat-message).is-maintainer :is(.community-message-meta strong,.community-tag-chat-message-meta strong),
body.community-view .community-tag-question.is-maintainer .community-tag-question-author strong,
body.community-view .community-tag-answer.is-maintainer .community-tag-answer-body strong{color:#28558f!important;font-weight:850!important;}
body.community-view :is(.community-message,.community-tag-chat-message).is-steward :is(.community-message-meta time,.community-tag-chat-message-meta time),
body.community-view .community-tag-question.is-steward .community-tag-question-author time,
body.community-view .community-tag-answer.is-steward .community-tag-answer-body time,
body.community-view :is(.community-message,.community-tag-chat-message).is-maintainer :is(.community-message-meta time,.community-tag-chat-message-meta time),
body.community-view .community-tag-question.is-maintainer .community-tag-question-author time,
body.community-view .community-tag-answer.is-maintainer .community-tag-answer-body time{
  padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;
  color:#28558f!important;font-weight:750!important;
}
body.community-view :is(.community-message,.community-tag-chat-message).is-steward :is(.community-message-avatar,.community-tag-chat-avatar),
body.community-view :is(.community-message,.community-tag-chat-message).is-maintainer :is(.community-message-avatar,.community-tag-chat-avatar),
body.community-view .community-tag-question.is-steward .community-tag-question-avatar,
body.community-view .community-tag-question.is-maintainer .community-tag-question-avatar,
body.community-view .community-tag-answer.is-steward .community-tag-answer-avatar,
body.community-view .community-tag-answer.is-maintainer .community-tag-answer-avatar{
  border-color:#8eadd7!important;background:#edf4ff!important;color:#28558f!important;box-shadow:none!important;
}

body.community-view #community-main-view[data-section="home"] .community-detail-title-row{align-items:center;flex-wrap:wrap;}
body.community-view #community-main-view[data-section="home"] .community-king-card{
  min-width:0!important;width:min(100%,540px);max-width:48%;flex:0 1 540px;box-sizing:border-box;
  padding:12px 0;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
}
body.community-view #community-main-view[data-section="home"] .community-king-card>div{min-width:0;flex:1 1 auto;}
body.community-view #community-main-view[data-section="home"] .community-king-card strong{
  max-width:100%;color:#a47718;font-size:clamp(19px,2.1vw,28px)!important;line-height:1.18;
  overflow-wrap:anywhere;word-break:break-word;white-space:normal;
}
body.community-view #community-main-view[data-section="home"] .community-king-card small{
  max-width:100%;color:#708098;font-size:clamp(12px,1.35vw,17px)!important;line-height:1.35;
  overflow-wrap:anywhere;white-space:normal;
}
body.community-view #community-main-view[data-section="home"] .community-detail-king-mark{left:-11px!important;top:3px!important;}

body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-message-links .community-tag-file-chip{
  display:inline-flex!important;align-items:center;min-height:32px!important;max-width:100%;box-sizing:border-box;
  padding:6px 10px!important;border:1px solid #d4e1f0!important;border-radius:8px!important;
  background:#f3f7fd!important;color:#315d90!important;font-size:11px!important;font-weight:750!important;
  line-height:1.25;box-shadow:none!important;overflow-wrap:anywhere;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-message-links .community-tag-file-chip:hover{
  border-color:#b5cce9!important;background:#eaf2fd!important;
}
@media(max-width:900px){
  body.community-view #community-main-view[data-section="home"] .community-king-card{
    width:100%;max-width:none;flex:1 1 100%;
  }
}
/* Keep the two sidebar creation controls legible at the rail width. */
body.community-view .community-tag-heading .community-subtag-create{
  min-height:34px;
  padding:7px 11px;
  font-size:12px!important;
}

/* Final visual pass for the current hierarchy and role treatment. */
body.community-view .community-tag-heading{
  min-height:58px!important;
  padding:15px 14px 12px!important;
  font-size:16px!important;
}
body.community-view .community-tag-heading .community-subtag-create{
  min-height:40px!important;
  padding:9px 14px!important;
  border:0!important;
  border-radius:10px!important;
  background:#e7efff!important;
  color:#28558f!important;
  font-size:12px!important;
  box-shadow:0 8px 18px rgba(47,93,177,.12);
}
body.community-view .community-tag-heading .community-subtag-create:hover:not(:disabled){background:#d8e7ff!important;}

/* Team Leader gold is limited to the identity row; the message body stays
   neutral and administrators use the same blue accent as their identity. */
body.community-view :is(.community-message,.community-tag-chat-message).is-king .community-message-head,
body.community-view :is(.community-message,.community-tag-chat-message).is-king .community-tag-chat-message-meta,
body.community-view .community-tag-question.is-king .community-tag-question-author,
body.community-view .community-tag-answer.is-king .community-tag-answer-body>div{
  padding:6px 9px!important;
  border-radius:9px!important;
  background:#fff5d8!important;
}
body.community-view :is(.community-message,.community-tag-chat-message).is-steward .community-message-head,
body.community-view :is(.community-message,.community-tag-chat-message).is-steward .community-tag-chat-message-meta,
body.community-view :is(.community-message,.community-tag-chat-message).is-maintainer .community-message-head,
body.community-view :is(.community-message,.community-tag-chat-message).is-maintainer .community-tag-chat-message-meta,
body.community-view .community-tag-question.is-steward .community-tag-question-author,
body.community-view .community-tag-question.is-maintainer .community-tag-question-author,
body.community-view .community-tag-answer.is-steward .community-tag-answer-body>div,
body.community-view .community-tag-answer.is-maintainer .community-tag-answer-body>div{
  padding:6px 9px!important;
  border-radius:9px!important;
  background:#edf4ff!important;
}
body.community-view :is(.community-message,.community-tag-chat-message).is-king .community-message-main,
body.community-view :is(.community-message,.community-tag-chat-message).is-king .community-tag-chat-message-main,
body.community-view .community-tag-question.is-king,
body.community-view .community-tag-answer.is-king{background:#fff!important;}

/* Linked files are intentionally easy to spot in a busy chat. */
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-message-links .community-tag-file-chip{
  min-height:64px!important;
  padding:13px 18px!important;
  border:0!important;
  border-radius:10px!important;
  background:#eaf1fb!important;
  color:#234d82!important;
  font-size:14px!important;
  font-weight:850!important;
  line-height:1.3;
  box-shadow:0 7px 16px rgba(51,91,143,.12)!important;
}
body.community-view #community-main-view[data-workspace-mode="tag"] .community-tag-chat-message-links .community-tag-file-chip:hover{background:#dce9fa!important;}

/* Faculty editorial cascade: final overrides for the shared service styles. */
body.faculty-view .faculty-filters{grid-template-columns:minmax(250px,1.8fr) minmax(150px,.8fr) minmax(170px,1fr) minmax(138px,.7fr) auto;gap:24px;align-items:end;padding:0 0 22px;border:0;border-bottom:1px solid #e7e7e2;border-radius:0;background:transparent;box-shadow:none}
body.faculty-view .faculty-search-field,body.faculty-view .faculty-filter-field{min-width:0;border:0;border-bottom:1px solid #cfcfca;border-radius:0;background:transparent;color:#777773;transition:border-color .18s,transform .18s}
body.faculty-view .faculty-search-field{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto;column-gap:9px;padding:0 0 8px}
body.faculty-view .faculty-search-field input,body.faculty-view .faculty-filter-field input,body.faculty-view .faculty-filter-field select{width:100%;box-sizing:border-box;border:0;outline:0;background:transparent;color:#171717;padding:4px 0 0;font:inherit;font-size:13px}
body.faculty-view .faculty-search-field input::placeholder,body.faculty-view .faculty-filter-field input::placeholder{color:#b0b0aa}
body.faculty-view .faculty-filter-field{display:grid;gap:4px;padding:0 0 8px}
body.faculty-view .faculty-filter-field span{padding-top:0;color:#999993;font-size:9px;font-weight:850;letter-spacing:.14em;text-transform:uppercase}
body.faculty-view .faculty-filter-field select{appearance:none;cursor:pointer;padding-right:20px}
body.faculty-view .faculty-filter-field:has(select){position:relative}
body.faculty-view .faculty-filter-field:has(select)::after{content:"⌄";position:absolute;right:0;bottom:10px;color:#777773;font-size:15px;pointer-events:none}
body.faculty-view .faculty-search-field:focus-within,body.faculty-view .faculty-filter-field:focus-within{border-color:#171717;transform:translateY(-2px);box-shadow:none}
body.faculty-view .faculty-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin-top:12px}
body.faculty-view .faculty-card{position:relative;display:flex;flex-direction:column;min-width:0;padding:25px 24px 16px;border:0;border-radius:0;background:#f6f6f3;box-shadow:none;transition:transform .18s ease,background .18s ease}
body.faculty-view .faculty-card::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#b7d9c7}
body.faculty-view .faculty-card:nth-child(2n)::before{background:#d8b862}
body.faculty-view .faculty-card:nth-child(3n)::before{background:#c4b0e4}
body.faculty-view .faculty-card:hover{transform:translateY(-3px);border:0;background:#f2f2ee;box-shadow:10px 11px 0 #ebeae4}
body.faculty-view .faculty-card h3{color:#171717}
body.faculty-view .faculty-card-contact{border-left-color:#deded8}
body.faculty-view .faculty-card-footer{border-top-color:#e1e1dc}
body.faculty-view .faculty-empty{border:0;border-radius:0;background:#f6f6f3}
body.faculty-view .faculty-loading span{border-radius:0;background:#171717}
@media(max-width:1040px){body.faculty-view .faculty-filters{grid-template-columns:1.4fr 1fr 1fr}body.faculty-view .faculty-scope-field{grid-column:1/2}body.faculty-view .faculty-search-button{grid-column:2/4}body.faculty-view .faculty-list{grid-template-columns:1fr}}
@media(max-width:760px){body.faculty-view .faculty-filters{grid-template-columns:1fr;gap:17px;padding-bottom:17px}body.faculty-view .faculty-scope-field,body.faculty-view .faculty-search-button{grid-column:auto}body.faculty-view .faculty-search-button{width:100%}body.faculty-view .faculty-card{padding:21px 17px 15px}body.faculty-view .faculty-card-layout{grid-template-columns:1fr;gap:15px}body.faculty-view .faculty-card-contact{padding:14px 0 0;border-left:0;border-top:1px solid #deded8}}

/* Faculty title refresh: a calm framed palette and a clear recruiter entry point. */
body.faculty-view .faculty-screen{
  color:#28466e;
  background:linear-gradient(145deg,#fbfcff 0%,#f6f9ff 56%,#f8f5ff 100%);
}
body.faculty-view .faculty-screen::before{
  opacity:.44;
  background-image:linear-gradient(rgb(65 102 165 / .045) 1px,transparent 1px),linear-gradient(90deg,rgb(65 102 165 / .045) 1px,transparent 1px);
  background-size:34px 34px;
  mask-image:linear-gradient(180deg,#000 0%,rgb(0 0 0 / .2) 66%,transparent 100%);
}
body.faculty-view .faculty-header{
  height:72px;
  padding:0 clamp(20px,5vw,76px);
  border-bottom:1px solid #e1e8f3;
  background:rgb(255 255 255 / .88);
  backdrop-filter:blur(16px);
}
/* The faculty header shares the site's brand wordmark. */
body.faculty-view .faculty-header .faculty-brand{
  display:inline-flex;
  align-items:center;
  flex:0 0 auto;
  width:min(210px,34vw);
  height:auto;
  border:0;
  border-radius:0;
  background:transparent;
  text-decoration:none;
}
body.faculty-view .faculty-header .faculty-brand:hover{background:transparent}
body.faculty-view .faculty-header .faculty-brand img{width:100%;height:auto}
body.faculty-view .faculty-brand-mark{display:grid;place-items:center;width:100%;height:100%}
body.faculty-view .faculty-brand-search-icon{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
body.faculty-view .faculty-header-meta{gap:10px}
body.faculty-view .faculty-header-kicker{color:#7488a7;letter-spacing:.13em}
body.faculty-view .faculty-header-status{border:1px solid #dbe5f4;border-radius:999px;background:#f1f5fd;color:#58749e;padding:6px 10px}
body.faculty-view .faculty-header .service-back{border:1px solid #dfe7f3;border-radius:10px;background:#f7f9fe;color:#526f99;padding:9px 13px}
body.faculty-view .faculty-header .service-back:hover{background:#edf3ff;color:#315d90}
body.faculty-view .faculty-post-button,
body.faculty-view .faculty-search-button,
body.faculty-view .faculty-submit-button{
  position:relative;
  isolation:isolate;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:44px;
  border:1px solid #c9d7f0;
  border-radius:12px;
  overflow:hidden;
  background:linear-gradient(135deg,#e7f0ff 0%,#eeeaff 100%);
  color:#315d90;
  box-shadow:0 9px 20px rgb(78 100 160 / .13),inset 0 1px 0 #fff;
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;
}
body.faculty-view .faculty-post-button{padding:0 16px}
body.faculty-view .faculty-post-button::after,
body.faculty-view .faculty-search-button::after,
body.faculty-view .faculty-submit-button::after{content:none!important;background:#cbd8f5!important;opacity:0!important;width:0;height:0;transform:none!important}
body.faculty-view .faculty-post-button:hover,
body.faculty-view .faculty-search-button:hover,
body.faculty-view .faculty-submit-button:hover{background:linear-gradient(135deg,#dbe8ff 0%,#e5e0ff 100%);border-color:#aabfe9;color:#2f5689;box-shadow:0 12px 24px rgb(78 100 160 / .18);filter:none;transform:translateY(-2px)}
body.faculty-view .faculty-post-button-mark,
body.faculty-view .faculty-button-arrow{color:#6b63cd}
body.faculty-view .faculty-contact-note{color:#7a8eaa;font-size:10px;line-height:1.45}

body.faculty-view .faculty-main{width:min(1190px,calc(100% - 64px));padding:54px 0 88px}
body.faculty-view .faculty-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(300px,.58fr);
  align-items:stretch;
  gap:30px;
  margin:0 0 34px;
  padding:0 0 34px;
  border-bottom:0;
}
body.faculty-view .faculty-hero-copy{align-self:center;max-width:710px;padding:18px 0 12px 4px}
body.faculty-view .faculty-kicker{
  display:inline-flex;
  align-items:center;
  padding:7px 11px;
  border-radius:999px;
  background:#eaf1ff;
  color:#5f78ad;
  font-size:10px;
  font-weight:850;
  letter-spacing:.16em;
}
body.faculty-view .faculty-hero h1{margin:17px 0 13px;color:#294e7f;font-size:clamp(42px,5.8vw,72px);font-weight:820;letter-spacing:-.065em;line-height:1.03}
body.faculty-view .faculty-hero p{max-width:620px;margin:0;color:#7185a2;font-size:15px;line-height:1.8}
body.faculty-view .faculty-hero-action{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-content:center;
  gap:15px;
  min-height:224px;
  box-sizing:border-box;
  padding:26px;
  border:1px solid #dbe5f5;
  border-radius:24px;
  background:linear-gradient(135deg,#eef4ff 0%,#f3efff 100%);
  box-shadow:0 17px 34px rgb(78 100 160 / .1),inset 0 1px 0 #fff;
}
body.faculty-view .faculty-hero-action-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:16px 16px 16px 5px;background:#dce8ff;color:#5c72c3;font-size:22px;transform:rotate(-7deg)}
body.faculty-view .faculty-hero-action-copy{display:grid;align-content:center;gap:5px;min-width:0}
body.faculty-view .faculty-hero-action-copy span{color:#7992bd;font-size:9px;font-weight:850;letter-spacing:.16em}
body.faculty-view .faculty-hero-action-copy strong{color:#31547e;font-size:18px;line-height:1.3}
body.faculty-view .faculty-hero-action-copy p{margin:0;color:#7085a4;font-size:12px;line-height:1.55}
body.faculty-view .faculty-hero-action-button{
  grid-column:1/-1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:46px;
  padding:0 15px 0 17px;
  border:1px solid #c4d3f3;
  border-radius:12px;
  background:#fff;
  color:#315d90;
  font:inherit;
  font-size:12px;
  font-weight:850;
  cursor:pointer;
  box-shadow:0 7px 16px rgb(67 95 155 / .1);
  transition:background .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease;
}
body.faculty-view .faculty-hero-action-button span:last-child{color:#6b63cd;font-size:17px}
body.faculty-view .faculty-hero-action-button:hover{border-color:#9fb8ed;background:#f9fbff;box-shadow:0 10px 20px rgb(67 95 155 / .16);transform:translateY(-2px)}

body.faculty-view .faculty-filters{
  grid-template-columns:minmax(250px,1.75fr) minmax(145px,.85fr) minmax(165px,1fr) minmax(140px,.72fr) auto;
  gap:12px;
  align-items:stretch;
  padding:14px;
  border:1px solid #dce6f4;
  border-radius:18px;
  background:rgb(248 251 255 / .92);
  box-shadow:0 12px 26px rgb(69 94 148 / .07),inset 0 1px 0 #fff;
}
body.faculty-view .faculty-search-field,
body.faculty-view .faculty-filter-field{
  min-width:0;
  border:1px solid #e0e7f3;
  border-radius:12px;
  background:#fff;
  color:#7185a2;
  transition:border-color .18s,box-shadow .18s,transform .18s;
}
body.faculty-view .faculty-search-field{padding:0 12px}
body.faculty-view .faculty-search-field input,
body.faculty-view .faculty-filter-field input,
body.faculty-view .faculty-filter-field select{color:#28466e;padding:10px 0;background:transparent}
body.faculty-view .faculty-search-field input::placeholder,
body.faculty-view .faculty-filter-field input::placeholder{color:#a7b3c6}
body.faculty-view .faculty-filter-field{padding:0 12px}
body.faculty-view .faculty-filter-field span{padding-top:9px;color:#8190a8}
body.faculty-view .faculty-filter-field:has(select)::after{right:12px;bottom:12px;color:#6f83a0}
body.faculty-view .faculty-search-field:focus-within,
body.faculty-view .faculty-filter-field:focus-within{border-color:#98b1e6;box-shadow:0 0 0 3px rgb(66 105 201 / .1);transform:none}
body.faculty-view .faculty-search-button{min-width:116px;padding:0 17px}
body.faculty-view .faculty-list-heading{margin-top:42px}
body.faculty-view .faculty-section-kicker{color:#8190a8}
body.faculty-view .faculty-list-heading h2{color:#294e7f;font-size:30px}
body.faculty-view .faculty-list-meta{color:#7d91ae}
body.faculty-view .faculty-list-meta .community-secondary-button{border:1px solid #dce6f4;border-radius:10px;background:#f5f8ff;color:#52709b}
body.faculty-view .faculty-list-meta .community-secondary-button:hover{border-color:#c5d6ef;background:#edf3ff}
body.faculty-view .faculty-card{
  padding:24px 24px 16px;
  border:1px solid #e1e8f3;
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 24px rgb(64 88 139 / .08);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
body.faculty-view .faculty-card::before{left:-1px;top:16px;bottom:16px;width:5px;border-radius:0 5px 5px 0;background:#b9e2d0}
body.faculty-view .faculty-card:nth-child(2n)::before{background:#bfcaf4}
body.faculty-view .faculty-card:nth-child(3n)::before{background:#d7c8f5}
body.faculty-view .faculty-card:hover{transform:translateY(-4px);border-color:#cbd9ef;background:#fff;box-shadow:0 16px 30px rgb(64 88 139 / .13)}
body.faculty-view .faculty-card h3{color:#28466e}
body.faculty-view .faculty-card-scope-international{background:#eeeaff;color:#665ab4}
body.faculty-view .faculty-card-scope-domestic{background:#e9f2ff;color:#456ea6}
body.faculty-view .faculty-card-tags span{background:#f0f4fb;color:#6c84a5}
body.faculty-view .faculty-card-contact{border-left-color:#e3eaf4}
body.faculty-view .faculty-contact-link{color:#416fa9}
body.faculty-view .faculty-card-footer{border-top-color:#e5ebf4;color:#8a9ab0}
body.faculty-view .faculty-card-status{color:#695eb9}
body.faculty-view .faculty-empty{border:1px solid #e1e8f3;border-radius:18px;background:#fff;color:#6e83a1}
body.faculty-view .faculty-empty-mark{background:#eaf1ff;color:#5875b6}
body.faculty-view .faculty-loading span{background:#5d73ca}

body.faculty-view .faculty-post-panel{margin-top:54px;padding:31px;border:1px solid #dbe5f4;border-radius:24px;background:linear-gradient(145deg,#f8fbff 0%,#f6f4ff 100%);box-shadow:0 16px 30px rgb(70 91 148 / .08)}
body.faculty-view .faculty-post-panel-head{padding-bottom:27px}
body.faculty-view .faculty-post-panel-head h2{color:#294e7f}
body.faculty-view .faculty-post-panel-head p{color:#7185a2}
body.faculty-view .faculty-post-close{border:1px solid #dbe5f4;background:#fff;color:#58739c}
body.faculty-view .faculty-post-close:hover{border-color:#aec4eb;background:#eef4ff;color:#315d90;transform:rotate(8deg)}
body.faculty-view .faculty-post-layout{gap:42px}
body.faculty-view .faculty-post-guide-mark{background:#dce8ff;color:#5d72c5;box-shadow:none}
body.faculty-view .faculty-post-guide strong{color:#31547e}
body.faculty-view .faculty-post-guide p,body.faculty-view .faculty-post-guide li{color:#7185a2}
body.faculty-view .faculty-post-guide li span{color:#6d83b0}
body.faculty-view .faculty-form-section{border-bottom-color:#dfe7f3}
body.faculty-view .faculty-form-section-head>span{color:#657cc1}
body.faculty-view .faculty-form-section-head h3{color:#31547e}
body.faculty-view .faculty-form-field>span{color:#7185a2}
body.faculty-view .faculty-form-field input,
body.faculty-view .faculty-form-field select,
body.faculty-view .faculty-form-field textarea{border:1px solid #dce5f2;border-radius:10px;background:#fff;color:#28466e;padding:11px 12px}
body.faculty-view .faculty-form-field input:focus,
body.faculty-view .faculty-form-field select:focus,
body.faculty-view .faculty-form-field textarea:focus{border-color:#98b1e6;box-shadow:0 0 0 3px rgb(66 105 201 / .1)}
body.faculty-view .faculty-verify-card{border:1px solid #dfe7f3;border-radius:14px;background:#fff}
body.faculty-view .faculty-verify-card.is-verified{border-color:#b8dfcc;background:#f1fbf5}
body.faculty-view .faculty-verify-button{border:1px solid #c7d5ee;border-radius:9px;background:#edf3ff;color:#416596}
body.faculty-view .faculty-verify-button:hover:not(:disabled){background:#dfeaff;color:#315d90;transform:translateY(-1px)}
body.faculty-view .faculty-verify-state{color:#657cc1}
body.faculty-view .faculty-form-consent input{accent-color:#4e6fd0}

@media(max-width:1040px){
  body.faculty-view .faculty-hero{grid-template-columns:1fr}
  body.faculty-view .faculty-hero-action{max-width:560px}
  body.faculty-view .faculty-filters{grid-template-columns:1.4fr 1fr 1fr}
  body.faculty-view .faculty-scope-field{grid-column:1/2}
  body.faculty-view .faculty-search-button{grid-column:2/4}
  body.faculty-view .faculty-list{grid-template-columns:1fr}
}
@media(max-width:760px){
  body.faculty-view .faculty-header{height:66px;padding:0 16px}
  body.faculty-view .faculty-header .service-brand img{max-width:128px}
  body.faculty-view .faculty-main{width:calc(100% - 32px);padding:34px 0 60px}
  body.faculty-view .faculty-hero{gap:21px;margin-bottom:25px;padding-bottom:0}
  body.faculty-view .faculty-hero-copy{padding:7px 0 0}
  body.faculty-view .faculty-hero h1{font-size:40px}
  body.faculty-view .faculty-hero p{font-size:13px}
  body.faculty-view .faculty-hero-action{min-height:0;padding:20px;border-radius:19px}
  body.faculty-view .faculty-filters{grid-template-columns:1fr;gap:11px;padding:11px;border-radius:16px}
  body.faculty-view .faculty-scope-field,body.faculty-view .faculty-search-button{grid-column:auto}
  body.faculty-view .faculty-search-button{width:100%}
  body.faculty-view .faculty-list-heading{align-items:flex-start;flex-direction:column;margin-top:31px}
  body.faculty-view .faculty-list-meta{width:100%;justify-content:space-between}
  body.faculty-view .faculty-card{padding:21px 17px 15px}
  body.faculty-view .faculty-card-layout{grid-template-columns:1fr;gap:15px}
  body.faculty-view .faculty-card-contact{padding:14px 0 0;border-top:1px solid #e3eaf4;border-left:0}
  body.faculty-view .faculty-post-panel{margin-top:40px;padding:22px 17px}
  body.faculty-view .faculty-post-layout{grid-template-columns:1fr;gap:10px}
  body.faculty-view .faculty-post-guide{position:static;padding:0 0 20px}
  body.faculty-view .faculty-submit-button{width:100%}
}

/* Faculty contrast pass: clear hierarchy, solid controls, and a centered
   recruiter action for the job-search landing page. */
body.faculty-view .faculty-screen{
  color:#102f47;
  background:#fbfdfe;
}
body.faculty-view .faculty-screen::before{
  opacity:.04;
  background-image:linear-gradient(rgb(16 47 71 / .12) 1px,transparent 1px),linear-gradient(90deg,rgb(16 47 71 / .12) 1px,transparent 1px);
  background-size:36px 36px;
  mask-image:linear-gradient(180deg,#000 0%,rgb(0 0 0 / .4) 68%,transparent 100%);
}
body.faculty-view .faculty-header{
  border-bottom:1px solid #c7d2da;
  background:#fff;
  backdrop-filter:none;
}
body.faculty-view .faculty-header .faculty-brand{
  background:transparent;
}
body.faculty-view .faculty-header .faculty-brand:hover{background:transparent}
body.faculty-view .faculty-header-kicker{color:#35576d;font-size:12px;font-weight:850;letter-spacing:.12em}
body.faculty-view .faculty-header-status{border:0;background:#dce7ed;color:#123f5c;font-weight:800}

/* Faculty buttons are intentionally borderless and high contrast. */
body.faculty-view :is(.faculty-post-button,.faculty-search-button,.faculty-submit-button,.faculty-hero-action-button,.faculty-verify-button,.faculty-post-close,.faculty-header .service-back,.faculty-list-meta .community-secondary-button){
  border:0!important;
  border-radius:8px;
  box-shadow:none!important;
  font-weight:900;
  text-shadow:none;
}
body.faculty-view :is(.faculty-post-button,.faculty-search-button,.faculty-hero-action-button){
  background:#125a7f!important;
  color:#fff!important;
}
body.faculty-view .faculty-submit-button{background:#0d6b5b!important;color:#fff!important}
body.faculty-view :is(.faculty-post-button,.faculty-search-button,.faculty-submit-button,.faculty-hero-action-button):hover:not(:disabled){
  background:#0b3f5d!important;
  color:#fff!important;
  box-shadow:none!important;
  transform:translateY(-2px);
}
body.faculty-view .faculty-submit-button:hover:not(:disabled){background:#084d42!important}
body.faculty-view .faculty-post-button-mark,
body.faculty-view .faculty-button-arrow,
body.faculty-view .faculty-hero-action-button span:last-child{color:#b9eee2}
body.faculty-view .faculty-header .service-back,
body.faculty-view .faculty-list-meta .community-secondary-button{background:#d9e4ea!important;color:#123f5c!important}
body.faculty-view .faculty-header .service-back:hover,
body.faculty-view .faculty-list-meta .community-secondary-button:hover{background:#c5d5de!important;color:#0b2e45!important}
body.faculty-view .faculty-verify-button{background:#d7e8ee;color:#0e4b66}
body.faculty-view .faculty-verify-button:hover:not(:disabled){background:#b9d9e4;color:#08344a;transform:translateY(-1px)}
body.faculty-view .faculty-post-close{background:#d9e4ea;color:#123f5c}
body.faculty-view .faculty-post-close:hover{background:#123f5c;color:#fff;transform:rotate(8deg)}

body.faculty-view .faculty-main{width:min(1190px,calc(100% - 64px));padding:54px 0 88px}
body.faculty-view .faculty-kicker{padding:8px 12px;background:#c9e0e7;color:#0b526d;font-size:13px;font-weight:900;letter-spacing:.13em}
body.faculty-view .faculty-hero h1{color:#102f47;font-size:clamp(44px,5.8vw,76px);font-weight:850}
body.faculty-view .faculty-hero p{color:#31566d;font-size:17px;line-height:1.75}
body.faculty-view .faculty-hero-action{
  border:0;
  border-radius:16px;
  background:#cddfe5;
  box-shadow:none;
}
body.faculty-view .faculty-hero-action-mark{background:#123f5c;color:#fff}
body.faculty-view .faculty-hero-action-copy span{color:#0c536d;font-size:12px;font-weight:900}
body.faculty-view .faculty-hero-action-copy strong{color:#102f47;font-size:21px;font-weight:900}
body.faculty-view .faculty-hero-action-copy p{color:#31566d;font-size:14px}
body.faculty-view .faculty-hero-action-button{
  width:min(100%,260px);
  min-height:50px;
  margin:14px auto 0;
  padding:0 22px;
  justify-content:center;
  gap:11px;
  font-size:14px;
}

@media (min-width:761px){
  body.faculty-view .faculty-header-actions .faculty-post-button{display:none}
}

body.faculty-view .faculty-filters{border:0;background:#fff;box-shadow:none}
body.faculty-view .faculty-search-label,
body.faculty-view .faculty-filter-field span{color:#31566d;font-size:12px;font-weight:900;letter-spacing:.1em}
body.faculty-view .faculty-search-field input,
body.faculty-view .faculty-filter-field input,
body.faculty-view .faculty-filter-field select{color:#102f47;font-size:15px;font-weight:650}
body.faculty-view .faculty-search-field input::placeholder,
body.faculty-view .faculty-filter-field input::placeholder{color:#6c8798}
body.faculty-view .faculty-section-kicker{color:#0b526d;font-size:14px;font-weight:900;letter-spacing:.14em}
body.faculty-view .faculty-list-heading h2{color:#102f47;font-size:36px;font-weight:850}
body.faculty-view .faculty-list-meta{color:#31566d;font-weight:700}
body.faculty-view .faculty-card{border:0;background:#fff;box-shadow:0 5px 0 #c5d2d9}
body.faculty-view .faculty-card:hover{border:0;box-shadow:0 8px 0 #9eb6c1}
body.faculty-view .faculty-card h3{color:#102f47;font-size:21px;font-weight:850}
body.faculty-view .faculty-card-description p{color:#31566d;font-size:14px}
body.faculty-view .faculty-contact-kicker{color:#0b526d;font-size:11px;font-weight:900}
body.faculty-view .faculty-card-contact strong{color:#102f47;font-size:14px}
body.faculty-view .faculty-contact-affiliation,
body.faculty-view .faculty-card-footer{color:#537083}
body.faculty-view .faculty-contact-link{color:#075c83;font-weight:750}
body.faculty-view .faculty-empty{border:0;background:#fff;color:#31566d}
body.faculty-view .faculty-status{color:#31566d;font-weight:650}
body.faculty-view .faculty-post-panel{border:0;border-radius:16px;background:#fff;box-shadow:0 5px 0 #c5d2d9}
body.faculty-view .faculty-post-panel-head h2{color:#102f47;font-size:clamp(28px,3.6vw,46px);font-weight:850}
body.faculty-view .faculty-post-panel-head p{color:#31566d;font-size:14px}

@media(max-width:760px){
  body.faculty-view .faculty-main{width:calc(100% - 32px);padding:36px 0 60px}
  body.faculty-view .faculty-hero h1{font-size:42px}
  body.faculty-view .faculty-hero p{font-size:15px}
  body.faculty-view .faculty-hero-action{padding:22px}
  body.faculty-view .faculty-hero-action-button{width:100%}
  body.faculty-view .faculty-section-kicker{font-size:12px}
  body.faculty-view .faculty-list-heading h2{font-size:31px}
}

/* Hub selector: give the 找教职 entry a slightly stronger call to action
   while preserving the shared service-card rhythm. */
.service-card-faculty .service-card-action{
  min-height:54px;
  padding:0 18px;
  font-size:15px;
  letter-spacing:.02em;
}
@media(max-width:760px){
  .service-card-faculty .service-card-action{
    min-height:50px;
    font-size:14px;
  }
}

/* Data self-check workspace ---------------------------------------------
   The self-check page borrows the manuscript workbench's quiet blue
   surfaces, raised character blocks, and compact review cards. It remains
   hidden until the navigation action opens the module. */
.selfcheck-workspace{display:none;min-height:calc(100vh - 78px);color:#202736}
body.selfcheck-view .workspace{display:none!important}
body.selfcheck-view .selfcheck-workspace{display:block!important}
body.selfcheck-view #data-selfcheck-nav{background:#e9eefc;color:#244eb7;font-weight:600}
.selfcheck-shell{width:min(1100px,calc(100% - 80px));margin:0 auto;padding:56px 0 54px}
.selfcheck-heading{margin:0 0 28px}
.selfcheck-heading-row{display:flex;align-items:center;gap:13px;min-height:48px}
.selfcheck-heading-mark{display:block;width:6px;height:62px;flex:none;border-radius:4px;background:#2455df;box-shadow:0 5px 12px rgb(36 85 223 / .18)}
.selfcheck-heading h1{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0;color:#253d69;font-size:inherit;letter-spacing:0}
.selfcheck-heading-block{display:inline-grid;place-items:center;width:42px;height:42px;border-radius:10px;font-family:"Noto Sans SC","Microsoft YaHei","Segoe UI",sans-serif;font-size:22px;font-weight:850;line-height:1;box-shadow:5px 5px 0 var(--selfcheck-block-edge),0 10px 18px rgb(42 64 96 / .1),inset 0 1px 0 rgb(255 255 255 / .92)}
.selfcheck-heading-block[data-tone="blue"],.selfcheck-check-card[data-tone="blue"] .selfcheck-check-icon,.selfcheck-guide-index[data-tone="blue"]{background:#edf3ff;color:#3159a4;--selfcheck-block-edge:#c5d5f2}
.selfcheck-heading-block[data-tone="green"],.selfcheck-check-card[data-tone="green"] .selfcheck-check-icon,.selfcheck-guide-index[data-tone="green"]{background:#eaf7ef;color:#2d7450;--selfcheck-block-edge:#b9dfc5}
.selfcheck-heading-block[data-tone="purple"],.selfcheck-check-card[data-tone="purple"] .selfcheck-check-icon,.selfcheck-guide-index[data-tone="purple"]{background:#f4edff;color:#6947a8;--selfcheck-block-edge:#d2c4ef}
.selfcheck-heading-block[data-tone="gold"],.selfcheck-check-card[data-tone="gold"] .selfcheck-check-icon,.selfcheck-guide-index[data-tone="gold"]{background:#fff4df;color:#8a5b17;--selfcheck-block-edge:#ebd09b}
.selfcheck-heading-en{margin:11px 0 0 19px;color:#5573a9;font-size:11px;font-weight:750;letter-spacing:.18em;line-height:1.5}
.selfcheck-heading-copy{max-width:680px;margin:8px 0 0 19px;color:#7b8ba4;font-size:14px;line-height:1.7}
.selfcheck-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(300px,.82fr);align-items:start;gap:clamp(24px,3.2vw,36px)}
.selfcheck-primary{min-width:0}
.selfcheck-form{display:grid;gap:0;padding:0;border-radius:20px;background:transparent}
.selfcheck-drop-area{min-height:132px;display:flex;align-items:center;padding:25px 22px;border:0;border-radius:20px;background:#eef2fa;box-shadow:0 10px 26px rgb(42 64 96 / .055),inset 0 1px 0 rgb(255 255 255 / .45);cursor:pointer;transition:background .16s ease,box-shadow .16s ease}
.selfcheck-drop-area:hover,.selfcheck-drop-area.dragging{background:#e9eff9;box-shadow:0 13px 30px rgb(42 64 96 / .09),inset 0 1px 0 rgb(255 255 255 / .52)}
.selfcheck-drop-area.dragging{outline:2px dashed #7997ef;outline-offset:3px}
.selfcheck-upload-prompt{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.selfcheck-upload-symbol{display:block;margin-bottom:10px;color:#5573be;font-size:26px;line-height:1}
.selfcheck-upload-title{display:block;color:#50617b;font-size:16px;font-weight:650;line-height:1.45}
.selfcheck-upload-subtitle{display:block;margin-top:8px;color:#8895aa;font-size:12px;line-height:1.6}
.selfcheck-file-preview{display:flex;align-items:center;gap:13px;width:100%;min-width:0;padding:15px 16px;border-radius:14px;background:#f7f9fe;box-shadow:inset 0 1px 0 rgb(255 255 255 / .82)}
.selfcheck-file-icon{display:grid;place-items:center;flex:none;width:40px;height:42px;border-radius:10px;background:#e5ecff;color:#5573be;font-size:21px;box-shadow:4px 5px 0 #c5d5f2,inset 0 1px 0 #fff}
.selfcheck-file-preview>div{min-width:0;flex:1}
.selfcheck-file-preview strong{display:block;overflow-wrap:anywhere;color:#405371;font-size:14px;font-weight:650}
.selfcheck-file-preview small{display:block;margin-top:5px;color:#8a96a9;font-size:12px}
.selfcheck-file-preview button{flex:none;padding:4px 7px;background:transparent;color:#8290aa;font-size:23px;line-height:1}
.selfcheck-file-preview button:hover{color:#2455df}
.selfcheck-upload-note{margin:9px 3px 0;color:#8793a7;font-size:11px;line-height:1.65}
.selfcheck-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:18px}
.selfcheck-select-label{display:flex;flex-direction:column;gap:6px;min-width:0;color:#8290a6;font-size:11px}
.selfcheck-select-label select,.selfcheck-evidence-filter-label select{width:100%;min-height:40px;padding:9px 30px 9px 12px;border:0;border-radius:13px;background:#eef2fa;color:#43526c;font-size:13px;box-shadow:0 10px 26px rgb(42 64 96 / .055),inset 0 1px 0 rgb(255 255 255 / .45);cursor:pointer}
.selfcheck-select-label select:hover,.selfcheck-evidence-filter-label select:hover{background:#e9eff9}
.selfcheck-select-label select:focus-visible,.selfcheck-evidence-filter-label select:focus-visible{outline:3px solid rgb(36 85 223 / .16);outline-offset:2px}
.selfcheck-actions{display:flex;align-items:center;gap:10px;margin-top:14px}
.selfcheck-run-button{display:flex;align-items:center;justify-content:space-between;gap:24px;flex:1;width:auto;min-height:44px;padding:10px 15px;border:0;border-radius:11px;background:#2455df;color:#fff;font-size:14px;font-weight:650;box-shadow:0 12px 26px rgb(36 85 223 / .18),inset 0 1px 0 rgb(255 255 255 / .2);transition:background .16s ease,box-shadow .16s ease,transform .16s ease}
.selfcheck-run-button:hover:not(:disabled){background:#1742bd;box-shadow:0 15px 30px rgb(36 85 223 / .23);transform:translateY(-1px)}
.selfcheck-run-button:disabled{background:#e9eef7;color:#96a4b9;box-shadow:none;cursor:not-allowed}
.selfcheck-run-button>span:last-child{font-size:20px;line-height:1}
.selfcheck-reset-button{min-height:44px;padding:0 14px;border:0;border-radius:11px;background:#fff;color:#5573be;font-size:12px;white-space:nowrap;box-shadow:0 7px 17px rgb(42 64 96 / .06)}
.selfcheck-reset-button:hover{background:#e9efff;color:#2455df}
.selfcheck-form-error{margin:12px 0 0;padding:11px 13px;border-radius:13px;background:#fff5f6;color:#9a4650;font-size:12px;line-height:1.7}
.selfcheck-disclaimer{display:flex;align-items:flex-start;gap:9px;margin:14px 2px 0;padding:11px 13px;border-radius:14px;background:#f7f9fe;color:#7b879b;font-size:11px;line-height:1.7}
.selfcheck-disclaimer-mark{display:grid;place-items:center;flex:none;width:18px;height:18px;border-radius:6px;background:#e5ecff;color:#5573be;font-size:11px;font-weight:800}
.selfcheck-guide{min-height:100%;padding:22px;border-radius:20px;background:#eef2fa;box-shadow:0 10px 26px rgb(42 64 96 / .055),inset 0 1px 0 rgb(255 255 255 / .45)}
.selfcheck-guide-top{display:flex;align-items:center;gap:11px}
.selfcheck-guide-icon{display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:14px;background:#eaf1ff;color:#3159a4;font-size:26px;box-shadow:5px 6px 0 #c5d5f2,inset 0 1px 0 #fff}
.selfcheck-guide-pulse{width:8px;height:8px;margin-left:auto;border-radius:50%;background:#47bf84;box-shadow:0 0 0 4px rgb(71 191 132 / .15)}
.selfcheck-section-kicker{display:block;color:#7f91ad;font-size:10px;font-weight:750;letter-spacing:.16em;line-height:1.45}
.selfcheck-guide h2,.selfcheck-section-heading h2{margin:5px 0 0;color:#31527f;font-size:22px;letter-spacing:-.03em}
.selfcheck-guide>p{margin:18px 0 0;color:#71839f;font-size:13px;line-height:1.7}
.selfcheck-guide-list{display:grid;gap:9px;margin:18px 0 0;padding:0;list-style:none}
.selfcheck-guide-list li{display:flex;align-items:center;gap:10px;min-width:0;padding:10px 11px;border-radius:13px;background:#f7f9fe;color:#425371;box-shadow:inset 0 1px 0 rgb(255 255 255 / .75)}
.selfcheck-guide-index{display:grid;place-items:center;flex:none;width:31px;height:31px;border-radius:9px;font-size:11px;font-weight:800;box-shadow:3px 4px 0 var(--selfcheck-block-edge),inset 0 1px 0 #fff}
.selfcheck-guide-list li>span:last-child{display:grid;gap:2px;min-width:0}
.selfcheck-guide-list strong{font-size:13px;font-weight:700}
.selfcheck-guide-list small{color:#8a96a9;font-size:11px;line-height:1.5}
.selfcheck-summary,.selfcheck-results,.selfcheck-evidence{margin-top:24px;padding:20px;border-radius:20px;background:#eef2fa;box-shadow:0 10px 26px rgb(42 64 96 / .055),inset 0 1px 0 rgb(255 255 255 / .45)}
.selfcheck-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;min-width:0}
.selfcheck-section-heading h2{font-size:20px}
.selfcheck-summary-status,.selfcheck-results-meta{color:#7b8aa0;font-size:11px;line-height:1.5}
.selfcheck-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:15px}
.selfcheck-summary-stat{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:13px 14px;border-radius:13px;background:#f7f9fe;color:#7d8ba1;font-size:11px}
.selfcheck-summary-stat strong{color:#405371;font-size:21px;font-variant-numeric:tabular-nums}
.selfcheck-checks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:16px}
.selfcheck-check-card{min-width:0;padding:15px 14px 14px;border-radius:16px;background:#f7f9fe;box-shadow:0 8px 20px rgb(42 64 96 / .045),inset 0 1px 0 rgb(255 255 255 / .75)}
.selfcheck-check-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.selfcheck-check-icon{display:grid;place-items:center;width:31px;height:31px;border-radius:9px;font-size:11px;font-weight:800;box-shadow:3px 4px 0 var(--selfcheck-block-edge),inset 0 1px 0 #fff}
.selfcheck-check-status{padding:4px 7px;border-radius:999px;background:#edf1f7;color:#8390a3;font-size:10px;white-space:nowrap}
.selfcheck-check-card.is-clear .selfcheck-check-status{background:#e8f5ed;color:#3f7358}
.selfcheck-check-card.is-attention .selfcheck-check-status{background:#fff4df;color:#8a5b17}
.selfcheck-check-card.is-review .selfcheck-check-status{background:#f4edff;color:#6947a8}
.selfcheck-check-card h3{margin:14px 0 3px;color:#425371;font-size:14px;font-weight:700}
.selfcheck-check-value{display:block;color:#263e68;font-size:24px;font-variant-numeric:tabular-nums;line-height:1.2}
.selfcheck-check-card p{margin:5px 0 0;color:#8a96a9;font-size:11px;line-height:1.55}
.selfcheck-result-note{margin-top:13px;padding:11px 13px;border-radius:13px;background:#f7f9fe;color:#7c899e;font-size:12px;line-height:1.65}
.selfcheck-evidence-filter-label{display:flex;align-items:center;gap:8px;flex:none;color:#7f8ca2;font-size:11px}
.selfcheck-evidence-filter-label select{width:auto;min-width:138px;min-height:36px;padding:7px 27px 7px 10px;font-size:12px;box-shadow:none;background:#f7f9fe}
.selfcheck-evidence-table-wrap{margin-top:16px;overflow:auto;border-radius:14px;background:#f7f9fe}
.selfcheck-evidence-table{width:100%;min-width:620px;border-collapse:collapse;color:#50617b;font-size:12px}
.selfcheck-evidence-table th{padding:11px 13px;background:#eef2fa;color:#7b8aa0;font-size:10px;font-weight:750;letter-spacing:.06em;text-align:left;white-space:nowrap}
.selfcheck-evidence-table td{padding:12px 13px;border-top:1px solid #e8edf5;line-height:1.55;vertical-align:top}
.selfcheck-evidence-table tbody tr:hover{background:#fff}
.selfcheck-evidence-empty td{padding:22px 13px;color:#8a96a9;text-align:center}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:900px){
  .selfcheck-shell{width:min(760px,calc(100% - 56px))}
  .selfcheck-layout{grid-template-columns:1fr;gap:22px}
  .selfcheck-guide{min-height:0}
  .selfcheck-guide-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .selfcheck-checks{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .selfcheck-workspace{min-height:calc(100vh - 64px)}
  .selfcheck-shell{width:calc(100% - 36px);padding:42px 0 45px}
  .selfcheck-heading{margin-bottom:22px}
  .selfcheck-heading-row{gap:10px;min-height:38px}
  .selfcheck-heading-mark{width:4px;height:38px}
  .selfcheck-heading-block{width:34px;height:34px;border-radius:8px;font-size:18px;box-shadow:4px 4px 0 var(--selfcheck-block-edge),0 7px 13px rgb(42 64 96 / .09),inset 0 1px 0 rgb(255 255 255 / .92)}
  .selfcheck-heading-en{margin-left:14px;font-size:10px;letter-spacing:.12em}
  .selfcheck-heading-copy{margin-left:14px;font-size:13px}
  .selfcheck-drop-area{min-height:120px;padding:22px 18px;border-radius:18px}
  .selfcheck-upload-title{font-size:15px}
  .selfcheck-upload-subtitle{font-size:11px}
  .selfcheck-options{grid-template-columns:1fr;gap:9px;margin-top:14px}
  .selfcheck-select-label select{font-size:12px}
  .selfcheck-disclaimer{font-size:11px}
  .selfcheck-guide{padding:18px;border-radius:18px}
  .selfcheck-guide-list{grid-template-columns:1fr;gap:8px}
  .selfcheck-summary,.selfcheck-results,.selfcheck-evidence{padding:16px;border-radius:18px}
  .selfcheck-summary-grid{gap:8px}
  .selfcheck-summary-stat{display:grid;gap:3px;padding:11px 10px}
  .selfcheck-summary-stat strong{font-size:18px}
  .selfcheck-checks{grid-template-columns:1fr 1fr;gap:9px}
  .selfcheck-check-card{padding:12px 11px}
  .selfcheck-check-card h3{margin-top:11px;font-size:13px}
  .selfcheck-check-value{font-size:21px}
  .selfcheck-section-heading{align-items:flex-start;flex-direction:column;gap:8px}
  .selfcheck-evidence-filter-label{width:100%;justify-content:space-between}
  .selfcheck-evidence-filter-label select{flex:1}
}

/* Standalone data self-check flow ---------------------------------------
   Keeps the manuscript conversion palette while giving upload, plan, and
   results their own readable pages. */
.data-check-screen{display:none;min-height:calc(100vh - 78px);background:#fbfcff;color:#25354e}
body.data-check-view .workspace,body.selfcheck-view .workspace{display:none!important}
body.data-check-view .data-check-screen,body.selfcheck-view .data-check-screen{display:block!important}
body.data-check-view #data-selfcheck-nav,body.selfcheck-view #data-selfcheck-nav{background:#e9eefc;color:#244eb7;font-weight:650}
.data-check-shell{width:min(1180px,calc(100% - 72px));margin:0 auto;padding:44px 0 58px}
.data-check-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:28px;margin-bottom:28px}
.data-check-heading-main{min-width:0}
.data-check-heading .selfcheck-heading-copy{max-width:710px}
.data-check-heading-meta{display:grid;gap:7px;justify-items:end;padding-top:7px;color:#8794aa;font-size:11px;white-space:nowrap}
.data-check-local-badge{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:#eef7f2;color:#31765a;font-size:11px;font-weight:750}
.data-check-local-badge i{width:7px;height:7px;border-radius:50%;background:#48b983;box-shadow:0 0 0 4px rgb(72 185 131 / .13)}
.data-check-stepper{display:flex;align-items:stretch;gap:0;min-height:75px;margin-bottom:24px;border:1px solid #e1e7f1;border-radius:18px;background:#fff;box-shadow:0 10px 25px rgb(42 64 96 / .045);overflow:hidden}
.data-check-step{position:relative;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;align-content:center;column-gap:10px;flex:1;min-width:0;padding:15px 19px;border:0;border-right:1px solid #e9edf4;background:#fff;color:#7a89a1;text-align:left;cursor:pointer}
.data-check-step:last-of-type{border-right:0}
.data-check-step>span{grid-row:1 / span 2;align-self:center;display:grid;place-items:center;width:31px;height:31px;border-radius:10px;background:#f0f3f9;color:#7e8da5;font-size:11px;font-weight:800}
.data-check-step strong{align-self:end;color:#526580;font-size:13px;font-weight:750;line-height:1.35}
.data-check-step small{align-self:start;color:#9aa6b8;font-size:10px;line-height:1.45}
.data-check-step.is-active{background:#f4f7ff;color:#3159a4}
.data-check-step.is-active>span{background:#e4ecff;color:#3159a4;box-shadow:3px 4px 0 #c7d6f3}
.data-check-step.is-active strong{color:#3159a4}
.data-check-step.is-complete>span{background:#e8f6ee;color:#2f7a57}
.data-check-step-note{align-self:center;margin:0 17px;color:#98a4b7;font-size:10px;white-space:nowrap}
.data-check-page{padding:25px;border-radius:22px;background:#fff;box-shadow:0 12px 30px rgb(42 64 96 / .06);border:1px solid #e2e8f2}
.data-check-page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;margin-bottom:23px}
.data-check-page-header h2{margin:7px 0 4px;color:#31527f;font-size:25px;letter-spacing:-.035em}
.data-check-page-header p{margin:0;color:#7b8ba4;font-size:13px;line-height:1.7}
.data-check-page-mark{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:12px;background:#e9f5ee;color:#3e7f5b;font-size:17px;font-weight:800;box-shadow:4px 5px 0 #c9e3d3}
.data-check-upload-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,.8fr);gap:15px}
.data-check-drop-area{min-height:196px;align-items:center;justify-content:center;text-align:center;border:1px dashed #adc0df;background:#f5f8ff;box-shadow:inset 0 1px 0 #fff,0 10px 22px rgb(42 64 96 / .04)}
.data-check-drop-area:hover,.data-check-drop-area.dragging{background:#eef4ff;border-color:#7b9ae8;box-shadow:inset 0 1px 0 #fff,0 12px 28px rgb(42 64 96 / .07)}
.data-check-drop-area .selfcheck-upload-prompt{align-items:center}
.data-check-drop-area .selfcheck-upload-title{color:#456080;font-size:15px}
.data-check-file-stack{display:grid;align-content:start;min-height:196px;padding:14px;border-radius:16px;background:#f7f9fd;border:1px solid #e7ebf3}
.data-check-file-stack-head{display:flex;align-items:center;justify-content:space-between;color:#667893;font-size:11px;font-weight:750}
.data-check-file-stack-head span:last-child{color:#9ba7b9;font-weight:600}
.data-check-file-list-panel{display:grid;gap:7px;align-content:start;min-height:108px;margin-top:10px}
.data-check-empty-files{align-self:center;margin:0;color:#9ba6b7;font-size:11px;text-align:center}
.data-check-file-row{display:flex;align-items:center;gap:9px;min-width:0;padding:8px 9px;border-radius:10px;background:#fff;color:#526580;box-shadow:inset 0 1px 0 rgb(255 255 255 / .7)}
.data-check-file-row .data-check-file-type{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:8px;background:#e4ecff;color:#5573be;font-size:10px;font-weight:800}
.data-check-file-row-body{display:grid;min-width:0;flex:1;gap:2px}
.data-check-file-row .data-check-file-meta{display:grid;min-width:0;flex:1;gap:2px}
.data-check-file-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:700}
.data-check-file-row small{color:#98a4b6;font-size:10px}
.data-check-file-row button{flex:none;padding:2px 4px;border:0;background:transparent;color:#9ba6b8;font-size:17px;line-height:1;cursor:pointer}
.data-check-file-row button:hover{color:#2455df}
.data-check-add-button{justify-self:start;margin-top:8px;padding:7px 10px;border:1px solid #cad7ed;border-radius:9px;background:#fff;color:#5573be;font-size:11px;font-weight:700;cursor:pointer}
.data-check-add-button:hover{border-color:#8ca7df;background:#f4f7ff;color:#3159a4}
.data-check-upload-fields{margin-top:17px}
.data-check-method-note{display:flex;gap:11px;margin-top:21px;padding:14px 15px;border-radius:14px;background:#f4f8f5;border:1px solid #dfede4}
.data-check-method-icon{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:9px;background:#e3f2e9;color:#3e8661;font-size:18px}
.data-check-method-note strong{display:block;color:#4a6e5b;font-size:12px;font-weight:750}
.data-check-method-note p{margin:3px 0 0;color:#81958a;font-size:11px;line-height:1.65}
.data-check-disclaimer{margin-top:14px!important}
.data-check-back-link{align-self:flex-start;padding:6px 0;border:0;background:transparent;color:#5573be;font-size:11px;font-weight:700;white-space:nowrap;cursor:pointer}
.data-check-back-link:hover{color:#2455df}
.data-check-plan-context{display:flex;align-items:center;gap:11px;margin:-4px 0 18px;padding:11px 13px;border-radius:13px;background:#f6f8fc;color:#526580}
.data-check-plan-context-icon{display:grid;place-items:center;flex:none;width:33px;height:33px;border-radius:9px;background:#e5ecff;color:#5573be;font-size:17px}
.data-check-plan-context div{display:grid;min-width:0;gap:3px;flex:1}
.data-check-plan-context strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.data-check-plan-context small{color:#95a2b4;font-size:10px}
.data-check-plan-context-status{padding:5px 8px;border-radius:999px;background:#e8f5ed;color:#3f7759;font-size:10px;font-weight:700;white-space:nowrap}
.data-check-plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.data-check-plan-card{display:grid;grid-template-columns:auto 1fr auto;align-items:start;gap:11px;min-width:0;padding:16px 15px;border:1px solid #e1e7f1;border-radius:15px;background:#fff;color:#4a5f7a;text-align:left;cursor:pointer;transition:border .16s ease,box-shadow .16s ease,background .16s ease,transform .16s ease}
.data-check-plan-card:hover{border-color:#a8bce3;background:#fbfcff;box-shadow:0 9px 20px rgb(42 64 96 / .06);transform:translateY(-1px)}
.data-check-plan-card.is-selected{border-color:#7295e4;background:#f3f7ff;box-shadow:0 0 0 2px rgb(87 123 221 / .13)}
.data-check-plan-index{display:grid;place-items:center;width:33px;height:33px;border-radius:10px;font-size:10px;font-weight:850;box-shadow:3px 4px 0 var(--selfcheck-block-edge),inset 0 1px 0 #fff}
.data-check-plan-index[data-tone="blue"]{background:#edf3ff;color:#3159a4;--selfcheck-block-edge:#c5d5f2}.data-check-plan-index[data-tone="green"]{background:#eaf7ef;color:#2d7450;--selfcheck-block-edge:#b9dfc5}.data-check-plan-index[data-tone="purple"]{background:#f4edff;color:#6947a8;--selfcheck-block-edge:#d2c4ef}.data-check-plan-index[data-tone="gold"]{background:#fff4df;color:#8a5b17;--selfcheck-block-edge:#ebd09b}
.data-check-plan-body{display:grid;gap:5px;min-width:0}
.data-check-plan-body strong{color:#425a79;font-size:14px;font-weight:750}
.data-check-plan-body small{color:#8b99ad;font-size:11px;line-height:1.65}
.data-check-plan-count{align-self:start;color:#8d9bad;font-size:10px;white-space:nowrap;text-align:right}
.data-check-plan-count b{display:block;color:#2e7656;font-size:18px;line-height:1.1}
.data-check-plan-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:19px;padding-top:16px;border-top:1px solid #e9edf4}
.data-check-plan-footer p{margin:0;color:#8a97a9;font-size:11px;line-height:1.6}
.data-check-run-status{min-height:18px;margin:14px 0 0;color:#6f7e9a;font-size:12px;line-height:1.6}
.data-check-run-status[data-tone="error"]{color:#9a4650}
.data-check-run-status[data-tone="success"]{color:#267f6a}
.data-check-plan-error{margin-top:14px}
.data-check-start-button{flex:0 0 auto;min-width:185px}
.data-check-outline-button{min-height:37px;padding:0 13px;border:1px solid #cad7ed;border-radius:10px;background:#fff;color:#5573be;font-size:11px;font-weight:700;cursor:pointer}
.data-check-outline-button:hover{border-color:#8ca7df;background:#f4f7ff;color:#3159a4}
.data-check-results-actions{display:flex;align-items:center;gap:17px}
.data-check-results-summary{margin:0 0 18px;padding:16px;background:#f5f8ff;box-shadow:none;border:1px solid #e5eaf3}
.data-check-results-summary .selfcheck-summary-grid{grid-template-columns:repeat(5,minmax(0,1fr));margin-top:12px}
.data-check-results-summary .selfcheck-summary-stat{padding:11px 12px;background:#fff;border:1px solid #e8edf5}
.data-check-results-layout{display:grid;grid-template-columns:292px minmax(0,1fr);gap:18px;align-items:start}
.data-check-result-index{padding:14px;border-radius:15px;background:#f5f8fd;border:1px solid #e4eaf3}
.data-check-result-index-head{display:grid;gap:6px;padding:2px 3px 12px;border-bottom:1px solid #e2e8f1}
.data-check-result-index-head span{color:#8b99ae;font-size:9px;font-weight:800;letter-spacing:.13em}
.data-check-result-index-head strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#4c6482;font-size:12px}
.data-check-result-tabs{display:grid;gap:4px;margin-top:10px}
.data-check-result-tab{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 8px;border:0;border-radius:9px;background:transparent;color:#71839e;font-size:11px;text-align:left;cursor:pointer}
.data-check-result-tab b{color:#9ba7b8;font-size:10px;font-weight:700}
.data-check-result-tab:hover{background:#eaf0fc;color:#4564a0}.data-check-result-tab.is-active{background:#e2ebff;color:#3159a4;font-weight:750}.data-check-result-tab.is-active b{color:#5573be}
.data-check-results-main{min-width:0}
.data-check-results-main .selfcheck-results,.data-check-results-main .selfcheck-evidence{margin-top:0;padding:16px;border:1px solid #e3e9f2;box-shadow:none}
.data-check-results-main .selfcheck-evidence{margin-top:13px}
.data-check-results-main .selfcheck-checks{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:12px}
.data-check-results-main .selfcheck-check-card{padding:12px 11px}
.data-check-results-main .selfcheck-check-card h4{margin:11px 0 3px;color:#425371;font-size:13px}
.data-check-detail-panel{min-height:270px;padding:19px;border-radius:15px;background:linear-gradient(135deg,#f1f8f3,#edf4ff);border:1px solid #dfe9e7}
.data-check-detail-empty{display:grid;align-content:start;gap:8px}.data-check-detail-glyph{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#e2f1e7;color:#3d805e;font-size:19px;box-shadow:4px 5px 0 #c7e1d1}.data-check-detail-empty h3{margin:7px 0 0;color:#315a52;font-size:18px}.data-check-detail-empty p{margin:0;color:#76908a;font-size:11px;line-height:1.7}
.data-check-detail-content{display:grid;gap:8px}.data-check-detail-label{color:#4b8a66;font-size:10px;font-weight:800;letter-spacing:.08em}.data-check-detail-content>strong{color:#315a52;font-size:24px}.data-check-detail-content>p{margin:0;color:#718b86;font-size:11px;line-height:1.6}.data-check-detail-callout{margin-top:8px;padding:10px 11px;border-radius:10px;background:#fff;color:#607d75;font-size:11px;line-height:1.65}
.data-check-rule-list{display:grid;gap:7px;max-height:345px;margin-top:13px;padding-right:3px;overflow:auto}
.data-check-rule-row{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;column-gap:10px;width:100%;padding:10px 11px;border:1px solid #e5eaf2;border-radius:11px;background:#fafbfe;color:#4b607c;text-align:left;cursor:pointer}
.data-check-rule-row:hover{border-color:#afc1e5;background:#f5f8ff}.data-check-rule-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#4c6381;font-size:11px;font-weight:750}.data-check-rule-row span{justify-self:end;color:#8493a8;font-size:10px;white-space:nowrap}.data-check-rule-row small{grid-column:1 / -1;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#98a5b7;font-size:10px}.data-check-rule-row.status-review{border-left:3px solid #a27bd1}.data-check-rule-row.status-clear{border-left:3px solid #65b98a}.data-check-rule-row.status-limited,.data-check-rule-row.status-unavailable{border-left:3px solid #d6ae57}
@media(max-width:1000px){.data-check-results-layout{grid-template-columns:170px minmax(0,1fr)}.data-check-detail-panel{grid-column:1 / -1;min-height:0}.data-check-results-summary .selfcheck-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.data-check-shell{width:calc(100% - 36px);padding:36px 0 45px}.data-check-heading{gap:14px;margin-bottom:20px}.data-check-heading-meta{display:none}.data-check-stepper{min-height:0;overflow:auto}.data-check-step{min-width:148px;padding:12px 13px}.data-check-step-note{display:none}.data-check-page{padding:17px;border-radius:18px}.data-check-page-header{gap:12px;margin-bottom:17px}.data-check-page-header h2{font-size:21px}.data-check-page-header p{font-size:12px}.data-check-upload-grid{grid-template-columns:1fr}.data-check-drop-area,.data-check-file-stack{min-height:150px}.data-check-plan-grid{grid-template-columns:1fr}.data-check-plan-footer{align-items:stretch;flex-direction:column}.data-check-start-button{width:100%}.data-check-results-actions{align-items:flex-end;flex-direction:column;gap:5px}.data-check-results-summary .selfcheck-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.data-check-results-layout{grid-template-columns:1fr}.data-check-result-index{padding:11px}.data-check-result-tabs{display:flex;overflow:auto}.data-check-result-tab{min-width:128px}.data-check-results-main .selfcheck-checks{grid-template-columns:1fr 1fr}.data-check-detail-panel{min-height:190px}}
.selfcheck-summary-status[data-status="clear"]{color:#3f7358}
.selfcheck-summary-status[data-status="review"]{color:#6947a8}
.selfcheck-summary-status[data-status="unavailable"],.selfcheck-summary-status[data-status="limited"]{color:#8a5b17}

/* Data self-check visual pass ------------------------------------------------
   Keep this workspace in the same visual language as the LaTeX review cards:
   white surfaces, explicit borders, compact controls, and one clear blue
   action. The earlier pastel panels made adjacent regions read as one surface.
 */
body.data-check-view .data-check-screen,body.selfcheck-view .data-check-screen{background:#f8f9fc;color:#202736}
body.data-check-view .data-check-shell,body.selfcheck-view .data-check-shell{width:min(1200px,calc(100% - 72px));padding-top:36px}
body.data-check-view .data-check-heading,body.selfcheck-view .data-check-heading{margin-bottom:20px}
body.data-check-view .data-check-heading-copy,body.selfcheck-view .data-check-heading-copy,body.data-check-view .selfcheck-heading-copy,body.selfcheck-view .selfcheck-heading-copy{color:#69768a}
body.data-check-view .data-check-stepper,body.selfcheck-view .data-check-stepper{min-height:68px;margin-bottom:20px;border-color:#d7dfe9;border-radius:14px;box-shadow:0 5px 14px rgb(40 65 99 / .055)}
body.data-check-view .data-check-step,body.selfcheck-view .data-check-step{padding:12px 17px}
body.data-check-view .data-check-step.is-active,body.selfcheck-view .data-check-step.is-active{background:#eef3ff}
body.data-check-view .data-check-step strong,body.selfcheck-view .data-check-step strong{color:#43516c}
body.data-check-view .data-check-step.is-active strong,body.selfcheck-view .data-check-step.is-active strong{color:#244eb7}
body.data-check-view .data-check-page,body.selfcheck-view .data-check-page{padding:24px;border:1px solid #d7dfe9;border-radius:17px;background:#fff;box-shadow:0 8px 22px rgb(40 65 99 / .065)}
body.data-check-view .data-check-page-header h2,body.selfcheck-view .data-check-page-header h2{color:#202f4b;font-size:24px;letter-spacing:-.025em}
body.data-check-view .data-check-page-header p,body.selfcheck-view .data-check-page-header p{color:#6d7a8e}
body.data-check-view .data-check-page-mark,body.selfcheck-view .data-check-page-mark{border:1px solid #cfe1d5;box-shadow:3px 4px 0 #dcebe1}
body.data-check-view .data-check-drop-area,body.selfcheck-view .data-check-drop-area{min-height:178px;border:1px dashed #aab8cb;border-radius:12px;background:#fbfcfe;box-shadow:none}
body.data-check-view .data-check-drop-area:hover,body.selfcheck-view .data-check-drop-area:hover,body.data-check-view .data-check-drop-area.dragging,body.selfcheck-view .data-check-drop-area.dragging{background:#f3f6fc;border-color:#6f90d8;box-shadow:0 5px 14px rgb(40 65 99 / .06)}
body.data-check-view .data-check-file-stack,body.selfcheck-view .data-check-file-stack{min-height:178px;padding:13px;border:1px solid #d9e1eb;border-radius:12px;background:#fbfcfe}
body.data-check-view .data-check-file-row,body.selfcheck-view .data-check-file-row{border:1px solid #e0e6ef;box-shadow:none}
body.data-check-view .data-check-add-button,body.selfcheck-view .data-check-add-button{border-color:#bccae0;border-radius:7px;color:#2455df}
body.data-check-view .data-check-method-note,body.selfcheck-view .data-check-method-note{border:1px solid #d7e5dc;border-radius:11px;background:#f5f9f6}
body.data-check-view .data-check-disclaimer,body.selfcheck-view .data-check-disclaimer{border:1px solid #e0e5ee;border-radius:9px;background:#fbfcfe;color:#69768a}
body.data-check-view .data-check-plan-context,body.selfcheck-view .data-check-plan-context{border:1px solid #dce4ee;border-radius:10px;background:#fbfcfe}
body.data-check-view .data-check-plan-card,body.selfcheck-view .data-check-plan-card{border-color:#d7dfe9;border-radius:11px;background:#fff;box-shadow:0 2px 7px rgb(40 65 99 / .035)}
body.data-check-view .data-check-plan-card:hover,body.selfcheck-view .data-check-plan-card:hover{border-color:#8ba7df;background:#fbfcff;box-shadow:0 7px 16px rgb(40 65 99 / .08)}
body.data-check-view .data-check-plan-card.is-selected,body.selfcheck-view .data-check-plan-card.is-selected{border-color:#5f83dd;background:#f5f8ff;box-shadow:0 0 0 2px rgb(36 85 223 / .12)}
body.data-check-view .data-check-plan-body strong,body.selfcheck-view .data-check-plan-body strong{color:#263c5d}
body.data-check-view .data-check-plan-body small,body.selfcheck-view .data-check-plan-body small{color:#66758d}
body.data-check-view .data-check-plan-footer,body.selfcheck-view .data-check-plan-footer{border-top-color:#dce3ed}
body.data-check-view .data-check-start-button,body.selfcheck-view .data-check-start-button{min-height:43px;border-radius:8px}

/* Results read like a review record: each pane has a visible boundary and a
   stable reading column. Keep the trace pane white so its content remains
   legible against the surrounding workspace background. */
body.data-check-view .data-check-results-summary,body.selfcheck-view .data-check-results-summary{margin-bottom:15px;padding:15px;border:1px solid #d7e0eb;border-radius:13px;background:#fff;box-shadow:0 4px 12px rgb(40 65 99 / .045)}
body.data-check-view .data-check-results-summary .selfcheck-summary-stat,body.selfcheck-view .data-check-results-summary .selfcheck-summary-stat{border:1px solid #dce3ed;border-radius:9px;background:#fbfcfe;color:#66758d}
body.data-check-view .data-check-results-summary .selfcheck-summary-stat strong,body.selfcheck-view .data-check-results-summary .selfcheck-summary-stat strong{color:#263c5d}
body.data-check-view .data-check-results-layout,body.selfcheck-view .data-check-results-layout{grid-template-columns:292px minmax(0,1fr);gap:18px}
body.data-check-view .data-check-result-index,body.selfcheck-view .data-check-result-index{padding:13px;border:1px solid #d7dfe9;border-radius:12px;background:#fff;box-shadow:0 4px 12px rgb(40 65 99 / .045)}
body.data-check-view .data-check-result-index-head,body.selfcheck-view .data-check-result-index-head{border-bottom-color:#dce3ed}
body.data-check-view .data-check-result-index-head strong,body.selfcheck-view .data-check-result-index-head strong{color:#263c5d}
body.data-check-view .data-check-result-tab,body.selfcheck-view .data-check-result-tab{border:1px solid transparent;color:#66758d}
body.data-check-view .data-check-result-tab:hover,body.selfcheck-view .data-check-result-tab:hover{border-color:#cbd8ee;background:#f5f8ff;color:#3159a4}
body.data-check-view .data-check-result-tab.is-active,body.selfcheck-view .data-check-result-tab.is-active{border-color:#b8cbed;background:#edf3ff;color:#244eb7}
body.data-check-view .data-check-results-main .selfcheck-results,body.selfcheck-view .data-check-results-main .selfcheck-results,body.data-check-view .data-check-results-main .selfcheck-evidence,body.selfcheck-view .data-check-results-main .selfcheck-evidence{padding:16px;border:1px solid #d7dfe9;border-radius:12px;background:#fff;box-shadow:0 4px 12px rgb(40 65 99 / .045)}
body.data-check-view .data-check-results-main .selfcheck-evidence,body.selfcheck-view .data-check-results-main .selfcheck-evidence{margin-top:12px}
body.data-check-view .data-check-results-main .selfcheck-check-card,body.selfcheck-view .data-check-results-main .selfcheck-check-card{padding:13px 12px;border:1px solid #dce3ed;border-radius:10px;background:#fbfcfe;box-shadow:none}
body.data-check-view .data-check-results-main .selfcheck-check-card h4,body.selfcheck-view .data-check-results-main .selfcheck-check-card h4{color:#263c5d}
body.data-check-view .data-check-results-main .selfcheck-check-card p,body.selfcheck-view .data-check-results-main .selfcheck-check-card p{color:#6d7b90}
body.data-check-view .data-check-detail-panel,body.selfcheck-view .data-check-detail-panel{position:sticky;top:18px;min-height:270px;padding:18px;border:1px solid #d7dfe9;border-radius:12px;background:#fff;box-shadow:0 4px 12px rgb(40 65 99 / .045)}
body.data-check-view .data-check-detail-empty h3,body.selfcheck-view .data-check-detail-empty h3{color:#263c5d}
body.data-check-view .data-check-detail-empty p,body.selfcheck-view .data-check-detail-empty p,body.data-check-view .data-check-detail-content>p,body.selfcheck-view .data-check-detail-content>p{color:#66758d}
body.data-check-view .data-check-detail-callout,body.selfcheck-view .data-check-detail-callout{border:1px solid #dce3ed;background:#fbfcfe;color:#4f6078}
body.data-check-view .data-check-rule-row,body.selfcheck-view .data-check-rule-row{border-color:#dce3ed;border-radius:9px;background:#fbfcfe}
body.data-check-view .data-check-rule-row:hover,body.selfcheck-view .data-check-rule-row:hover{border-color:#9fb5e1;background:#f4f7fd}
body.data-check-view .selfcheck-evidence-table-wrap,body.selfcheck-view .selfcheck-evidence-table-wrap{border:1px solid #dce3ed;background:#fff}
body.data-check-view .selfcheck-evidence-table th,body.selfcheck-view .selfcheck-evidence-table th{border-bottom:1px solid #dce3ed;background:#f5f7fb;color:#53647d}
body.data-check-view .selfcheck-evidence-table td,body.selfcheck-view .selfcheck-evidence-table td{border-top-color:#e4e9f1;color:#4f6078}
body.data-check-view .selfcheck-evidence-table tbody tr:hover,body.selfcheck-view .selfcheck-evidence-table tbody tr:hover{background:#f7f9fd}
@media(max-width:1000px){body.data-check-view .data-check-results-layout,body.selfcheck-view .data-check-results-layout{grid-template-columns:180px minmax(0,1fr)}body.data-check-view .data-check-detail-panel,body.selfcheck-view .data-check-detail-panel{position:static}}

/* Review refinement: keep the lead-in compact, put the unit helper on one
   line, and use the same raised, face-and-side color treatment as the
   reference cubes. */
.affiliation-chip-pool{width:100%!important}
.affiliation-chip-pool-title{display:flex!important;align-items:baseline;gap:10px;flex-wrap:wrap;min-height:24px}
.affiliation-chip-pool-title>span{font-size:11px;line-height:1.45}
.affiliation-chip,.affiliation-number,.affiliation-pool-chip{display:inline-grid;place-items:center;width:34px!important;min-width:34px!important;height:34px!important;padding:0!important;border:0!important;border-radius:9px!important;background:var(--chip-face,#eef3ff)!important;color:var(--chip-ink,#3159a4)!important;font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;font-size:14px!important;font-weight:800!important;line-height:1;letter-spacing:.01em;box-shadow:4px 4px 0 var(--chip-edge,#c5d5f2),0 8px 14px rgb(42 64 96 / .11),inset 0 1px 0 rgb(255 255 255 / .85)!important;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
.affiliation-chip:hover,.affiliation-pool-chip:hover{transform:translate(-1px,-1px);box-shadow:5px 5px 0 var(--chip-edge,#b7caec),0 11px 18px rgb(42 64 96 / .14),inset 0 1px 0 rgb(255 255 255 / .9)!important}
.affiliation-chip[data-affiliation-id$="1"],.affiliation-pool-chip[data-affiliation-id$="1"],.affiliation-card[data-id$="1"] .affiliation-number{--chip-face:#edf3ff;--chip-edge:#c5d5f2;--chip-ink:#3159a4}
.affiliation-chip[data-affiliation-id$="2"],.affiliation-pool-chip[data-affiliation-id$="2"],.affiliation-card[data-id$="2"] .affiliation-number{--chip-face:#eaf7ef;--chip-edge:#b9dfc5;--chip-ink:#2d7450}
.affiliation-chip[data-affiliation-id$="3"],.affiliation-pool-chip[data-affiliation-id$="3"],.affiliation-card[data-id$="3"] .affiliation-number{--chip-face:#f4edff;--chip-edge:#d2c4ef;--chip-ink:#6947a8}
.affiliation-chip[data-affiliation-id$="4"],.affiliation-pool-chip[data-affiliation-id$="4"],.affiliation-card[data-id$="4"] .affiliation-number{--chip-face:#fff4df;--chip-edge:#ebd09b;--chip-ink:#8a5b17}
@media(max-width:760px){.affiliation-card{width:100%}.affiliation-chip-pool-title{gap:7px}}

/* Remove decorative gold effects while keeping the interface's quiet blue palette. */
:root{--dashboard-gold:transparent;--surface-gold:transparent}
.composer::before,.drop-area::before,.file-preview::before,.quick-start>button::before,.output-hint::before,.new-project::before,.feedback-entry::before,.convert-button:not(:disabled)::before{display:none!important;animation:none!important;opacity:0!important}
.convert-button:not(:disabled){box-shadow:0 13px 28px rgb(36 85 223 / .20),inset 0 1px 0 rgb(255 255 255 / .24)!important}
.demo-icon,.template-cover-empty-icon{background:#e5ecff!important;color:#5573be!important}
.entry-publisher-canvas{display:block!important}
.entry-screen::after{content:none!important;box-shadow:none!important}
.entry-start{border:0!important;background:#eef2fa!important;color:#425371!important;box-shadow:0 12px 26px rgb(34 55 86 / .10)!important}
.entry-start:hover{background:#e5ecf8!important;color:#315ac2!important;box-shadow:0 15px 30px rgb(34 55 86 / .14)!important}
.entry-start span{color:#5573be!important}

/* Keep the upload surface in place while lowering the controls beneath it by
   the distance used by the reference layout. */
.composer-bottom{margin-top:clamp(54px,4.5vw,64px)}
.template-cover-image{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:fill;border-radius:inherit;background:#fff;box-shadow:none}
.template-cover-empty{transition:opacity .16s ease}
.template-cover-empty strong{font-size:16px;font-weight:650;color:#31527f}

/* Give the three template settings clearer labels without changing the blue format hint. */
.journal-select>span,.layout-select>span,.figure-select>span{font-size:15px;font-weight:700;line-height:1.35}
.figure-select .format-extension-hint{font-size:15px;font-weight:500;color:#2455df}

/* Review stage: replace the chat-style lead-in with the same quiet dashboard surface. */
.review-result-content{padding-top:0}
.review-stage-banner{margin:0 0 24px;padding:18px 22px;border:0;border-radius:20px;background:#eef2fa;box-shadow:0 10px 26px rgb(42 64 96 / .055),inset 0 1px 0 rgb(255 255 255 / .45)}
.review-stage-banner h2{margin:0;color:#2455df;font-size:24px;font-weight:700;line-height:1.35}
.review-stage-banner p{margin:8px 0 0;color:#74829a;font-size:13px;line-height:1.7}
.review-result-content .review-form{margin-top:0}
.review-title-field{gap:8px!important;color:#2455df!important;font-size:15px!important;font-weight:700!important}
.review-title-field textarea{min-height:106px;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;color:#21365d;font-size:26px!important;font-weight:700;line-height:1.35}
.review-title-field textarea:focus{outline:3px solid rgb(36 85 223 / .18);outline-offset:4px}
.figure-replacement{margin:0;padding:18px 20px;border:0!important;border-radius:20px;background:#eef2fa!important;box-shadow:0 10px 26px rgb(42 64 96 / .055),inset 0 1px 0 rgb(255 255 255 / .45)}
.figure-replacement h3{margin:0 0 8px;color:#425371;font-size:18px;font-weight:700}
.figure-replacement p{margin:8px 0;color:#6f7e96;font-size:13px;line-height:1.7}
.figure-replacement .figure-slot-list{border:0;background:#f7f9fe;color:#40516d!important;border-radius:13px}
.figure-replacement .figure-upload-label{margin-top:13px;color:#425371;font-size:13px;font-weight:700}
.figure-replacement .figure-upload-label input{border:0!important;border-radius:13px!important;background:#f7f9fe!important;color:#66758b;padding:10px 12px}
.figure-replacement .review-notice{margin:11px 0 0;border-radius:13px;background:#f0f6f2;color:#607766}

/* Author and affiliation workbench: quiet cards, native drag targets, and
   email-driven corresponding-author colors. */
.author-affiliation-workbench{display:grid;gap:10px;margin-top:2px}
.review-section-label{margin:0!important;color:#2455df;font-size:15px!important;font-weight:700;line-height:1.35}
.author-affiliation-label{margin-top:0!important}
.chapter-title-label{margin-top:0!important}
.author-affiliation-workbench>p{margin:0;color:#7c899e;font-size:12px;line-height:1.7}
.author-block-grid{display:flex;flex-wrap:wrap;align-items:flex-start;gap:12px;min-width:0}
.author-block{position:relative;display:flex;align-items:center;gap:9px;flex:0 1 auto;width:max-content;max-width:100%;min-width:0;min-height:42px;padding:7px 30px 7px 10px;border:0!important;border-radius:13px;background:#eef2fa;box-shadow:0 7px 16px rgb(42 64 96 / .05),inset 0 1px 0 rgb(255 255 255 / .45);cursor:grab;transition:background .16s ease,box-shadow .16s ease,transform .16s ease}
.author-block:active{cursor:grabbing}
.author-block.drag-over{transform:translateY(-2px);box-shadow:0 14px 30px rgb(42 64 96 / .12),inset 0 1px 0 rgb(255 255 255 / .45)}
.author-block--primary{background:#f0eaff;box-shadow:0 12px 28px rgb(112 76 190 / .14),inset 0 1px 0 rgb(255 255 255 / .58)}
.author-block--secondary{background:#e7f5ee;box-shadow:0 12px 28px rgb(53 126 98 / .10),inset 0 1px 0 rgb(255 255 255 / .58)}
.author-block--added-corresponding{background:#f0eaff;color:#6948be;box-shadow:0 12px 28px rgb(112 76 190 / .14),inset 0 1px 0 rgb(255 255 255 / .58)}
.author-block-head{display:flex;align-items:center;gap:7px;min-width:0;flex:0 1 auto}
.author-name-block{min-width:0;max-width:min(52vw,360px);color:#334563;font-size:18px;font-weight:750;line-height:1.18;overflow-wrap:anywhere;outline:0;cursor:text}
.author-name-block[data-empty="true"]::before{content:attr(data-placeholder);color:#9aa6b7;font-weight:650}
.author-block--primary .author-name-block{color:#6948be}
.author-block--secondary .author-name-block{color:#2c7b61}
.author-block--added-corresponding .author-name-block{color:#6948be}
.author-remove{position:absolute;top:4px;right:6px;z-index:1;flex:none;border:0;background:transparent;color:#8b98ab;font-size:0;cursor:pointer;padding:1px;line-height:1}
.author-remove::after{content:'×';font-size:14px;line-height:1}
.affiliation-remove{flex:none;border:0;background:transparent;color:#8b98ab;font-size:11px;cursor:pointer;padding:3px 0}
.author-remove:hover,.affiliation-remove:hover{color:#2455df}
.author-name-input{display:none!important}
.author-affiliation-chips{display:flex;align-items:center;flex:0 0 auto;flex-wrap:nowrap;gap:6px;min-height:22px}
.affiliation-chip,.affiliation-number{display:inline-grid;place-items:center;min-width:28px;height:28px;padding:0 7px;border:0;border-radius:10px;background:#fff;color:#425371;font-size:13px;font-weight:750;cursor:grab;box-shadow:0 4px 9px rgb(39 62 96 / .07)}
.affiliation-chip:active{cursor:grabbing}
.author-affiliation-empty{color:#9aa6b7;font-size:11px}
.author-block-hint{display:none}
.affiliation-pool-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-top:5px;color:#425371;font-size:13px}
.affiliation-pool-heading span{color:#8a96a9;font-size:11px}
.affiliation-workbench-grid{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:12px;min-width:0}
.affiliation-workbench-grid>.affiliation-pool{grid-column:1;grid-row:2}
.affiliation-workbench-grid>#affiliation-chip-pool{grid-column:1;grid-row:1}
.affiliation-pool{display:grid;grid-template-columns:1fr;gap:10px;width:100%;padding:0;border:0!important}
.affiliation-pool.drag-over{padding:8px;border-radius:16px;background:#eef4ff}
.affiliation-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:9px;min-width:0;padding:10px 12px;border:0!important;border-radius:16px;background:#f3f6fb;box-shadow:0 8px 20px rgb(42 64 96 / .045);cursor:default}
.affiliation-card:active{cursor:default}
.affiliation-card.drag-over{background:#e6efff}
.affiliation-editor{display:grid;gap:4px;min-width:0;color:#7c899e;font-size:11px}
.affiliation-editor textarea{min-height:76px;height:76px;border:0!important;border-radius:11px!important;background:#fff!important;box-shadow:none!important;color:#40516d;padding:8px 9px!important;resize:vertical;line-height:1.5;white-space:pre-wrap}
.affiliation-example{color:#8b97a9;font-size:10px;line-height:1.5}
.affiliation-chip-pool{display:grid;gap:8px;align-content:start;width:100%;max-width:none;padding:12px;border:0!important;border-radius:16px;background:#f3f6fb;box-shadow:0 8px 20px rgb(42 64 96 / .045);color:#425371}
.affiliation-chip-pool-title{display:grid;gap:4px;align-items:start}
.affiliation-chip-pool-title>strong{font-size:13px}
.affiliation-chip-pool-title>span{color:#8a96a9;font-size:10px;line-height:1.5}
.affiliation-chip-pool.drag-over{background:#e6efff}
.affiliation-chip-pool-list{display:flex;flex-wrap:wrap;gap:7px}
.affiliation-pool-chip{display:inline-grid;place-items:center;min-width:30px;height:30px;padding:0 8px;border:0;border-radius:10px;background:#fff;color:#425371;font-size:13px;font-weight:750;cursor:grab;box-shadow:0 4px 9px rgb(39 62 96 / .07)}
.affiliation-pool-chip:active{cursor:grabbing}
.review-link{justify-self:start;border:0;background:transparent;color:#5573be;font-size:12px;cursor:pointer;padding:3px 0}
.review-link:hover{color:#2455df}
.author-email-pool-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-top:4px;color:#425371;font-size:13px}
.author-email-pool-heading span{color:#8a96a9;font-size:11px}
.author-email-pool{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.author-email-row{position:relative;display:grid;grid-template-columns:minmax(90px,.4fr) minmax(0,1fr);align-items:center;gap:10px;padding:10px 42px 10px 12px;border:0!important;border-radius:14px;background:#f3f6fb;box-shadow:0 8px 20px rgb(42 64 96 / .045);color:#425371;font-size:12px}
.author-email-name{min-width:0;font-weight:700;overflow-wrap:anywhere}
.author-email-row--added{background:#e4edff;color:#2455df;box-shadow:0 10px 24px rgb(36 85 223 / .12)}
.author-corresponding-name-input{width:100%;min-height:34px;border:0!important;border-radius:11px!important;background:#fff!important;box-shadow:none!important;color:#2455df;padding:8px 10px!important;font-weight:700}
.author-email-empty{margin:0!important;padding:10px 12px;border-radius:14px;background:#f3f6fb;color:#8a96a9!important;font-size:12px!important}
.author-corresponding-adder{display:grid;grid-template-columns:minmax(150px,.4fr) minmax(0,1fr);align-items:center;gap:10px;padding:10px 12px;border:0!important;border-radius:14px;background:#eef2fa;box-shadow:0 8px 20px rgb(42 64 96 / .045)}
.author-corresponding-select{width:100%;min-height:34px;border:0!important;border-radius:11px!important;background:#fff!important;box-shadow:none!important;color:#40516d;padding:8px 10px!important}
.author-corresponding-adder-email{width:100%;min-height:34px;border:0!important;border-radius:11px!important;background:#fff!important;box-shadow:none!important;color:#40516d;padding:8px 10px!important}
.author-email-input{width:100%;min-height:34px;border:0!important;border-radius:11px!important;background:#fff!important;box-shadow:none!important;color:#40516d;padding:8px 10px!important}
.author-email-input:focus{outline:3px solid rgb(36 85 223 / .14);outline-offset:1px}
.author-email-remove{position:absolute;top:6px;right:8px;z-index:1;border:0;background:transparent;color:#8b98ab;font-size:0;cursor:pointer;padding:2px;line-height:1}
.author-email-remove::after{content:'×';font-size:14px;line-height:1}
.author-email-remove:hover{color:#2455df}
.corresponding-contact-list{display:none!important}
@media(max-width:760px){.author-block-grid{display:flex}.author-block{width:100%;max-width:100%}.author-name-block{max-width:calc(100vw - 150px)}.affiliation-workbench-grid{grid-template-columns:1fr}.affiliation-pool,.affiliation-chip-pool{width:100%}.affiliation-pool,.author-email-pool,.author-corresponding-adder{grid-template-columns:1fr}.affiliation-pool-heading,.author-email-pool-heading{display:grid;gap:3px}}

/* Chapter-title review keeps its original verification controls in the
   workbench, while the surrounding surface uses the same quiet blue card
   treatment as the author and affiliation panels. */
.heading-review{border:0!important;border-radius:16px!important;padding:14px 16px!important;background:#eef2fa!important;box-shadow:0 8px 20px rgb(42 64 96 / .045)!important;display:grid;gap:12px}
.heading-review h3.chapter-title-label{margin:0!important;color:#2455df!important;font-size:15px!important;font-weight:700;line-height:1.35}
.heading-review>p{color:#667894;font-size:13px;line-height:1.7}
.heading-review-level{border:0!important;border-radius:12px!important;padding:11px!important;background:#f7f9fe!important;box-shadow:none!important}
.heading-review-level>strong,.heading-review-candidates>strong{color:#425371;font-size:13px}
.heading-review-list li{background:#fff;color:#3b4d64;font-size:12px}
.heading-review-candidates{border:0!important;border-radius:12px!important;padding:11px!important;background:#f7f9fe!important}
.heading-review-empty{color:#8a96a9!important}
.heading-review-guidance{color:#667894!important}

/* Declaration and end-matter choices stay compact until the user chooses to
   write or migrate content. */
.declaration-heading{margin-top:0!important;color:#2455df!important;font-size:15px!important;font-weight:700;line-height:1.35}
.declaration-description{color:#7c899e!important;font-size:12px!important}
.declaration-sort-hint{margin:0;padding:10px 14px;border:0;border-radius:16px;background:#eef7f1;color:#45695a;font-size:12px;line-height:1.6}
.review-section{border:0!important;border-radius:16px!important;padding:12px 14px!important;margin:0!important;background:#eef2fa!important;box-shadow:0 8px 20px rgb(42 64 96 / .045)!important;gap:8px!important}
.review-section legend{padding:0!important;color:#2455df;font-size:15px;font-weight:700;line-height:1.35}
.review-section .found,.review-section .missing{color:#8492a7;font-size:11px;font-weight:500;margin-left:7px}
.review-section-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;min-height:29px;margin:-2px 0 1px;padding:0}
.review-section-sort-label{margin-right:auto;color:#7f8ca2;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.review-section-order{color:#8793a7;font-size:10px;white-space:nowrap}
.review-section-actions button{display:inline-grid;place-items:center;width:28px;height:26px;padding:0;border:0;border-radius:9px;background:#fff;color:#5573be;font-size:15px;font-weight:800;line-height:1;cursor:pointer;box-shadow:0 4px 10px rgb(42 64 96 / .08)}
.review-section-actions button:hover:not(:disabled){background:#dfe9ff;color:#2455df}
.review-section-actions button:disabled{opacity:.35;cursor:not-allowed;box-shadow:none}
.review-section-map{background:#f7f9fe!important;color:#74839b!important;border-radius:11px!important;padding:8px 10px!important;font-size:12px!important}
.review-section-decision{font-size:13px!important;color:#425371!important}
.review-section-decision select{border:0!important;border-radius:11px!important;background:#fff!important;box-shadow:none!important;padding:9px 10px!important;color:#40516d}
.review-section-content-field{font-size:13px!important;color:#425371!important}
.review-section-content-field textarea{border:0!important;border-radius:11px!important;background:#fff!important;box-shadow:none!important;min-height:84px}
.review-section--included{background:#e8f2ff!important;box-shadow:0 10px 26px rgb(36 85 223 / .09)!important}
.review-section--included legend{color:#2455df}
.review-section--included .review-section-sort-label{color:#2455df}
.review-section--included .review-section-order{color:#5573be}
.review-section--excluded{background:#596474!important;color:#f6f8fc!important;box-shadow:0 10px 24px rgb(48 59 76 / .14)!important}
.review-section--excluded legend{color:#2455df!important}
.review-section--excluded .found,.review-section--excluded .missing,.review-section--excluded .review-section-sort-label,.review-section--excluded .review-section-order{color:#b8c1d0}
.review-section--excluded .review-section-map{background:#687383!important;color:#f0f3f7!important}
.review-section--excluded .review-section-decision{color:#edf1f7!important}
.review-section--excluded .review-section-decision select{background:#687383!important;color:#f5f7fb!important}
.review-section--excluded .review-section-actions button{background:#758090;color:#f2f5f8}
.review-section--excluded .review-section-actions button:disabled{opacity:.25}

/* Reference entries use compact raised cards: green means every required
   field was parsed, while red signals that the card needs review. */
.reference-card-list{display:grid;gap:10px;width:100%}
.reference-card{display:block;width:100%;margin:0!important;padding:0!important;border:0!important;border-radius:12px!important;overflow:hidden;background:#e9f7ee!important;box-shadow:6px 6px 0 #b9dfc4,0 13px 24px rgb(39 86 58 / .11)!important;transition:transform .16s ease,box-shadow .16s ease}
.reference-card--missing{background:#fff0f0!important;box-shadow:6px 6px 0 #efbcbc,0 13px 24px rgb(128 57 57 / .10)!important}
.reference-card:hover{transform:translateY(-1px);box-shadow:6px 7px 0 #a9d5b6,0 16px 28px rgb(39 86 58 / .14)!important}
.reference-card--missing:hover{box-shadow:6px 7px 0 #e5aaaa,0 16px 28px rgb(128 57 57 / .13)!important}
.reference-card-summary{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:58px;padding:12px 14px;list-style:none;cursor:pointer;color:#245a3e;font-size:13px;line-height:1.5}
.reference-card-summary::-webkit-details-marker{display:none}
.reference-card--missing .reference-card-summary{color:#8d3942}
.reference-card-index{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#fff;color:#2d7751;font-size:13px;font-weight:800;box-shadow:0 3px 0 rgb(47 119 81 / .12)}
.reference-card--missing .reference-card-index{color:#a4444d;box-shadow:0 3px 0 rgb(164 68 77 / .14)}
.reference-card-title{min-width:0;overflow-wrap:anywhere;font-weight:700}
.reference-card-status{justify-self:end;white-space:nowrap;font-size:11px;font-weight:650;color:#4d8065}
.reference-card--missing .reference-card-status{color:#ad4c55}
.reference-card-details{padding:13px 16px 15px;border-top:1px solid rgb(55 125 79 / .16);background:rgb(255 255 255 / .56);color:#38516a;font-size:13px;line-height:1.7}
.reference-card--missing .reference-card-details{border-top-color:rgb(170 64 73 / .16);color:#68474c;background:rgb(255 255 255 / .62)}
.reference-card-raw{margin:0 0 10px!important;color:#55716a!important;font-size:12px!important;line-height:1.7!important}
.reference-card--missing .reference-card-raw{color:#875f63!important}
.reference-card-details dl{display:grid;grid-template-columns:minmax(110px,auto) minmax(0,1fr);gap:4px 14px;margin:0}
.reference-card-details dt{color:#2f6848;font-weight:750}
.reference-card--missing .reference-card-details dt{color:#963f48}
.reference-card-details dd{min-width:0;margin:0 0 4px!important;overflow-wrap:anywhere}
.reference-card-details .reference-missing{margin:9px 0 0!important;padding:8px 10px;border-radius:9px;background:#ffe2e2;color:#9a3d46;font-size:12px}
@media(max-width:760px){.reference-card-summary{grid-template-columns:28px minmax(0,1fr);gap:8px}.reference-card-status{grid-column:2;justify-self:start}.reference-card-details dl{grid-template-columns:1fr;gap:1px}.reference-card-details dt{margin-top:7px}}

/* Keep the closed reference list extremely compact: each item is a numbered
   cube, and its full citation appears only after that cube is opened. */
.reference-card-list{display:flex;flex-wrap:wrap;align-items:flex-start;gap:12px}
.reference-card-list .reference-card{flex:0 0 48px;width:48px;min-height:48px;overflow:hidden!important}
.reference-card-list .reference-card-summary{display:grid;grid-template-columns:1fr;place-items:center;width:100%;min-height:48px;padding:6px;cursor:pointer}
.reference-card-list .reference-card-index{width:32px;height:32px;border-radius:9px;font-size:13px}
.reference-card-list .reference-card[open]{flex:1 1 100%;width:100%;overflow:hidden!important}
.reference-card-list .reference-card[open] .reference-card-summary{place-items:center;justify-content:center}
.reference-card-list .reference-card[open] .reference-card-details{display:block}
@media(max-width:760px){.reference-card-list{gap:10px}.reference-card-list .reference-card{flex-basis:44px;width:44px;min-height:44px}.reference-card-list .reference-card-summary{min-height:44px}.reference-card-list .reference-card-index{width:30px;height:30px}}

/* Keep the review lead-in quiet and direct: the actionable instruction is
   black, while the former secondary sentence is intentionally omitted. */
.review-stage-banner h2{color:#202736!important}
.review-stage-banner p{display:none!important}

/* Suggestions and the final template notes share the soft green notice
   surface used by the rest of the dashboard. */
.reference-advice{border:0!important;border-radius:16px!important;background:#eef7f1!important;color:#45695a!important;box-shadow:0 8px 20px rgb(42 64 96 / .045)!important}
.reference-advice strong{color:#2f6348!important}
.reference-advice p{color:#5a7464!important}
.journal-notes{border:0!important;border-radius:16px!important;background:#eef7f1!important;color:#45695a!important;box-shadow:0 8px 20px rgb(42 64 96 / .045)!important}
.journal-notes ul{margin:0;padding-left:20px}
.journal-notes li{padding-left:2px;color:#45695a}

/* Completed conversion output uses the same borderless dashboard surface as
   the review modules. The hierarchy stays clear through soft inner panels,
   spacing, and restrained shadows instead of hard divider lines. */
.result-card{margin-top:20px;border:0!important;border-radius:20px!important;overflow:hidden;background:#eef2fa!important;box-shadow:0 14px 32px rgb(42 64 96 / .09),inset 0 1px 0 rgb(255 255 255 / .55)!important}
.result-top{padding:18px 20px 14px;border:0!important;background:transparent!important}
.result-top strong{color:#334563;font-size:15px;font-weight:750}
.result-top small{color:#7c899e;font-size:12px}
.result-badge{color:#3f7358;background:#e8f5ed;border-radius:10px;padding:7px 10px;font-size:11px;font-weight:650}
.result-stats{margin:0 20px 13px;padding:14px 16px;border:0;border-radius:14px;background:#f7f9fe;box-shadow:inset 0 1px 0 rgb(255 255 255 / .8)}
.result-stats span{color:#7d8ba1;font-size:12px}
.result-stats strong{color:#405371;font-size:20px}
.result-card .reference-status{margin:0 20px 12px;padding:0;color:#5573be;font-size:12px}
.result-card .file-tree{margin:0 20px 13px;padding:13px 16px;border-radius:14px;background:#f7f9fe;color:#7a8aa3;font-size:12px;line-height:1.9}
.result-card .file-tree .tree-primary{color:#405a83}
.result-card .retention-panel{margin:0 20px 14px;border:0!important;border-radius:14px;background:#f0f6f2;color:#657c6e;padding:12px 14px;box-shadow:none}
.result-card .retention-panel label{color:#456b58}
.result-card .retention-panel>span{color:#82988b}
.result-actions{margin:0;padding:4px 20px 19px;border:0!important;background:transparent!important;gap:10px}
.result-actions .download-primary,.result-actions .download-pdf{border:0;border-radius:11px;background:#2455df!important;color:#fff;box-shadow:0 8px 18px rgb(36 85 223 / .18)}
.result-actions .download-primary:hover,.result-actions .download-pdf:hover{background:#1742bd!important}
.result-actions .download-secondary{border:0;border-radius:11px;background:#fff;color:#5573be;box-shadow:0 6px 14px rgb(42 64 96 / .06)}
.result-actions .download-secondary:hover{background:#e9efff;color:#2455df}
@media(max-width:760px){.result-stats{margin-left:14px;margin-right:14px}.result-card .reference-status,.result-card .file-tree,.result-card .retention-panel{margin-left:14px;margin-right:14px}.result-actions{padding-left:14px;padding-right:14px}}

/* Review page refinement: the lead-in is a coordinated row of raised
   character cubes instead of a single Chinese sentence in a large frame. */
.review-stage-banner{display:block!important;margin:0 0 20px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.review-stage-banner h2{margin:0!important;color:#253d69!important;font-size:24px!important;font-weight:800!important;line-height:1.2!important}
.review-stage-letter-group{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.review-stage-letter{display:inline-grid;place-items:center;width:44px;height:44px;padding:0;border-radius:10px;background:#edf3ff;color:#3159a4;font-family:"Noto Sans SC","Microsoft YaHei","Segoe UI",sans-serif;font-size:24px;font-weight:850;line-height:1;box-shadow:5px 5px 0 #c5d5f2,0 10px 18px rgb(42 64 96 / .11),inset 0 1px 0 rgb(255 255 255 / .9);transition:transform .16s ease,box-shadow .16s ease}
.review-stage-letter:hover{transform:translate(-1px,-1px);box-shadow:6px 6px 0 #b7caec,0 13px 22px rgb(42 64 96 / .15),inset 0 1px 0 rgb(255 255 255 / .92)}
.review-stage-letter[data-tone="1"]{background:#eaf7ef;color:#2d7450;box-shadow:5px 5px 0 #b9dfc5,0 10px 18px rgb(42 64 96 / .11),inset 0 1px 0 rgb(255 255 255 / .9)}
.review-stage-letter[data-tone="2"]{background:#f4edff;color:#6947a8;box-shadow:5px 5px 0 #d2c4ef,0 10px 18px rgb(42 64 96 / .11),inset 0 1px 0 rgb(255 255 255 / .9)}
.review-stage-letter[data-tone="3"]{background:#fff4df;color:#8a5b17;box-shadow:5px 5px 0 #ebd09b,0 10px 18px rgb(42 64 96 / .11),inset 0 1px 0 rgb(255 255 255 / .9)}
.affiliation-chip-pool{padding:8px 12px!important;gap:4px!important}
.affiliation-chip-pool-list{gap:6px!important}
.affiliation-card{width:100%;padding:8px 12px!important;gap:9px}
.affiliation-editor textarea{min-height:58px!important;height:58px!important}
.affiliation-example{line-height:1.35!important}
@media(max-width:760px){.review-stage-letter{width:38px;height:38px;font-size:21px}.review-stage-letter-group{gap:7px}.affiliation-card{width:100%}}

/* The unit card keeps its editable field usable while trimming the extra
   vertical whitespace to match the compact card shown in the reference. */
.affiliation-card{padding:7px 12px!important}
.affiliation-editor{gap:5px!important}
.affiliation-editor textarea{min-height:52px!important;height:52px!important}

/* Review copy and section controls: keep the action row above the section
   content, with a quiet white control surface and readable dark text. */
.author-block-hint{display:none!important}
.review-section{display:grid!important;min-width:0;width:calc(100% - 28px)!important;margin-left:0!important;margin-right:28px!important}
.review-section-top{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
.review-section-heading{display:flex;align-items:baseline;gap:7px;min-width:0;flex-wrap:wrap}
.review-section-heading>strong{color:#2455df;font-size:15px;font-weight:700;line-height:1.35;overflow-wrap:anywhere}
.review-section-heading .found,.review-section-heading .missing{margin-left:0!important}
.review-section-actions{flex:none!important;margin:0!important;padding:4px 6px!important;min-height:34px!important;border-radius:10px;background:#fff;color:#202736;box-shadow:0 4px 12px rgb(42 64 96 / .07)}
.review-section-order{color:#202736!important;font-size:11px!important;font-weight:600}
.review-section-actions button{color:#202736!important;background:#eef2fa!important}
.review-section-actions button:hover:not(:disabled){background:#dfe9ff!important;color:#202736!important}
.review-section--included .review-section-actions{background:#fff!important}
.review-section--included .review-section-order{color:#202736!important}
.review-section--excluded .review-section-actions{background:#687383!important;color:#f5f7fb!important}
.review-section--excluded .review-section-order{color:#f5f7fb!important}
.declaration-sort-hint{width:calc(100% - 28px);margin-left:14px!important;margin-right:14px!important}

/* The expanded sidebar keeps the same button hit area; only the two glyphs
   become smaller, leaving the controls easy to click. */
.sidebar:not(.collapsed) .sidebar-bottom .sidebar-collapse>span,
.sidebar:not(.collapsed) .sidebar-bottom .sidebar-pin>span{font-size:15px!important}
/* Keep the raised cube, its drop edge, and its glyph on the same scale in
   the expanded sidebar.  The preceding rule only reduced the glyph, which
   left the two 3D tiles visually oversized. */
.sidebar:not(.collapsed) .sidebar-bottom .sidebar-collapse,
.sidebar:not(.collapsed) .sidebar-bottom .sidebar-pin{width:31px!important;height:31px!important;border-radius:6px!important;font-size:15px!important;box-shadow:3px 3px 0 #c7d8f2,0 7px 12px rgb(42 64 96 / .10),inset 0 1px 0 #fff!important}
.sidebar:not(.collapsed) .sidebar-bottom .sidebar-collapse:hover,
.sidebar:not(.collapsed) .sidebar-bottom .sidebar-pin:hover{box-shadow:3px 3px 0 #b8ccee,0 8px 14px rgb(42 64 96 / .14),inset 0 1px 0 #fff!important}
@media(max-width:760px){.review-section{width:100%!important;margin-left:0!important;margin-right:0!important}}

/* Keep the Quick Start hero overrides last so the older landing polish rules
   cannot collapse the new two-column, scrollable layout. */
.entry-hero{width:min(1180px,calc(100% - 80px));min-height:600px;margin:0 auto;padding:clamp(138px,17vh,188px) 0 86px;display:grid;grid-template-columns:minmax(0,1.06fr) minmax(320px,.74fr);gap:clamp(42px,7vw,96px);align-items:center;transform:none!important}
.entry-tagline{align-items:flex-start!important;transform:none!important;margin:0 0 28px;font-size:clamp(34px,4.7vw,67px);line-height:1.02;white-space:normal;letter-spacing:-.06em}
.entry-tagline span:last-child{white-space:nowrap}
.entry-caption{margin:17px 0 0;color:#1b365f;font-size:clamp(17px,1.8vw,24px);font-weight:600;line-height:1.35;letter-spacing:.01em}
.entry-search-copy{margin:8px 0 0;color:#7889a3;font-size:12px;letter-spacing:.035em}
@media(max-width:900px){.entry-hero{width:min(760px,calc(100% - 56px));grid-template-columns:1fr;gap:42px;padding-top:125px}.entry-hero-copy{padding-left:0;text-align:center}.entry-tagline{align-items:center!important}.entry-hero-preview{width:min(520px,100%);justify-self:center}.landing-workflow{width:min(760px,calc(100% - 56px))}.workflow-rail{grid-template-columns:1fr;gap:18px}.workflow-connector{transform:rotate(90deg);height:18px}}
@media(max-width:760px){.entry-hero{width:calc(100% - 36px);min-height:0;padding:105px 0 64px;gap:34px}.entry-tagline{font-size:clamp(31px,9vw,48px);margin-bottom:23px}.entry-tagline span:last-child{white-space:normal}.entry-caption{font-size:18px}.entry-search-copy{font-size:10px}.entry-hero-preview{min-height:340px;padding:19px 18px 21px;border-radius:22px}.landing-workflow{width:calc(100% - 36px);padding-bottom:72px}.workflow-heading h2{font-size:28px}.workflow-heading p{font-size:13px}.workflow-module{min-height:0;padding:18px;border-radius:19px}.workflow-module-icon{margin-top:20px}.workflow-module h3{font-size:20px}}

/* Keep the centered landing composition while bringing the workflow cards
   into the first viewport. */
.entry-hero{width:100%!important;min-height:clamp(430px,51svh,560px)!important;margin:0!important;padding:clamp(104px,13vh,132px) 24px 34px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:0!important;text-align:center!important;transform:none!important}
.entry-hero-copy{width:min(820px,100%);display:flex;flex-direction:column;align-items:center;text-align:center}
.entry-tagline{align-items:center!important;margin:0 0 clamp(44px,7vh,70px)!important;font-size:clamp(35px,4.45vw,68px)!important;line-height:1.02!important;white-space:nowrap!important;letter-spacing:-.055em!important}
.entry-tagline span:last-child{white-space:nowrap!important}
.entry-start{min-height:66px!important;padding:0 32px 0 36px!important;gap:42px!important;border:0!important;border-radius:17px!important;background:#eef2fa!important;color:#425371!important;box-shadow:0 13px 28px rgb(34 55 86 / .10),inset 0 1px 0 rgb(255 255 255 / .86)!important;font-size:20px!important;letter-spacing:.02em!important}
.entry-start:hover{background:#e5ecf8!important;color:#315ac2!important;box-shadow:0 16px 32px rgb(34 55 86 / .14),inset 0 1px 0 rgb(255 255 255 / .9)!important}
.entry-start span{color:#5573be!important;font-size:27px!important}
.entry-caption{margin:19px 0 0!important;color:#171510!important;font-size:clamp(18px,1.7vw,25px)!important;font-weight:400!important;line-height:1.3!important;letter-spacing:.02em!important}
.entry-search-copy{margin:8px 0 0!important;color:#8e96a5!important;font-size:11px!important;letter-spacing:.04em!important}
.entry-hero-preview{display:none!important}
.landing-workflow{width:min(1180px,calc(100% - 80px));margin:0 auto!important;padding:18px 0 112px!important}
@media(max-width:760px){.entry-screen{--entry-grid-cell:10px}.entry-hero{min-height:0!important;padding:clamp(96px,12svh,116px) 18px 40px!important}.entry-tagline{font-size:clamp(28px,8vw,44px)!important;margin-bottom:22px!important;white-space:normal!important}.entry-tagline span:last-child{white-space:normal!important}.entry-start{min-height:56px!important;padding:0 24px 0 27px!important;gap:29px!important;font-size:17px!important}.entry-start span{font-size:22px!important}.entry-caption{margin-top:15px!important;font-size:18px!important}.entry-search-copy{font-size:10px!important}.landing-workflow{width:calc(100% - 36px);padding-bottom:72px!important}}


/* Workspace entry points and result readability --------------------------------
   Data self-check is a peer service alongside manuscript conversion. The
   cards use the same bordered, raised treatment as the LaTeX workspace. */
.workflow-rail{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px!important;align-items:stretch}
.workflow-module-data-check{border-color:#c8d8d2;background:linear-gradient(145deg,#f7fbf9,#edf6f1);box-shadow:8px 9px 0 #c2ddd0,0 18px 36px rgb(52 102 82 / .10),inset 0 1px 0 #fff}
.workflow-module-data-check .workflow-status{color:#2f775f;font-weight:750}
.workflow-module-data-check .workflow-module-icon{background:#e8f5ed;color:#28765a;box-shadow:6px 7px 0 #b9ddca,inset 0 1px 0 #fff}
.workflow-module-data-check .workflow-launch{background:#287d68!important;box-shadow:0 8px 18px rgb(40 125 104 / .20),inset 0 1px 0 rgb(255 255 255 / .2)!important}
.workflow-module-data-check .workflow-launch:hover{background:#1f6857!important;box-shadow:0 11px 23px rgb(40 125 104 / .26),inset 0 1px 0 rgb(255 255 255 / .24)!important}
.service-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important}
.service-card-data-check{grid-column:2}
.service-card-data-check{border-color:#c8d8d2;background:linear-gradient(145deg,#f7fbf9,#edf6f1);box-shadow:8px 9px 0 #c2ddd0,0 18px 38px rgb(52 102 82 / .10),inset 0 1px 0 #fff}
.service-card-data-check .service-card-state{color:#2f775f;font-weight:800}
.service-card-data-check .service-card-action{background:#287d68;box-shadow:0 9px 20px rgb(40 125 104 / .20),inset 0 1px 0 rgb(255 255 255 / .2)}
.service-card-data-check .service-card-action:hover{background:#1f6857;box-shadow:0 12px 25px rgb(40 125 104 / .27),inset 0 1px 0 rgb(255 255 255 / .24)}
.service-card-icon-green{background:#e8f5ed;color:#28765a;box-shadow:6px 7px 0 #b9ddca,inset 0 1px 0 #fff}
@media(max-width:1100px){.workflow-rail{grid-template-columns:repeat(2,minmax(0,1fr))!important}.service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.service-card-data-check{grid-column:auto}}
@media(max-width:760px){.workflow-rail,.service-grid{grid-template-columns:1fr!important}.workflow-module-data-check,.service-card-data-check{min-height:270px}}

/* Results are a bounded review record, with white reading surfaces and
   explicit dividers so each column and action remains easy to scan. */
body.data-check-view .data-check-results-page,body.selfcheck-view .data-check-results-page{background:#f8f9fc}
body.data-check-view .data-check-results-header,body.selfcheck-view .data-check-results-header{padding-bottom:16px;border-bottom:1px solid #d7dfe9}
body.data-check-view .data-check-results-layout,body.selfcheck-view .data-check-results-layout{grid-template-columns:292px minmax(0,1fr)!important;gap:18px!important;overflow:hidden;border:1px solid #d4dce8;border-radius:16px;background:#fff;box-shadow:0 8px 22px rgb(40 65 99 / .065)}
body.data-check-view .data-check-result-index,body.selfcheck-view .data-check-result-index{min-width:0;padding:17px 14px;border:0!important;border-right:1px solid #d7dfe9!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}
body.data-check-view .data-check-results-main,body.selfcheck-view .data-check-results-main{min-width:0;padding:16px;background:#f8f9fc}
body.data-check-view .data-check-results-main .selfcheck-results,body.selfcheck-view .data-check-results-main .selfcheck-results,body.data-check-view .data-check-results-main .selfcheck-evidence,body.selfcheck-view .data-check-results-main .selfcheck-evidence{margin-top:0;border:1px solid #d7dfe9!important;border-radius:12px!important;background:#fff!important;box-shadow:0 4px 12px rgb(40 65 99 / .045)!important}
body.data-check-view .data-check-results-main .selfcheck-evidence,body.selfcheck-view .data-check-results-main .selfcheck-evidence{margin-top:12px}
body.data-check-view .data-check-results-main .selfcheck-checks,body.selfcheck-view .data-check-results-main .selfcheck-checks{gap:10px}
body.data-check-view .data-check-results-main .selfcheck-check-card,body.selfcheck-view .data-check-results-main .selfcheck-check-card{min-width:0;border:1px solid #d7dfe9!important;border-radius:10px!important;background:#fbfcfe!important;box-shadow:none!important}
body.data-check-view .data-check-detail-panel,body.selfcheck-view .data-check-detail-panel{min-width:0;position:static!important;padding:18px;border:0!important;border-left:1px solid #d7dfe9!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}
body.data-check-view .data-check-result-tab,body.selfcheck-view .data-check-result-tab{border-radius:8px}
body.data-check-view .data-check-result-tabs,body.selfcheck-view .data-check-result-tabs{gap:5px}
body.data-check-view .data-check-rule-row,body.selfcheck-view .data-check-rule-row{border:1px solid #d7dfe9!important;border-left:3px solid #72b18c!important;border-radius:9px!important;background:#fff!important}
body.data-check-view .data-check-rule-row:hover,body.selfcheck-view .data-check-rule-row:hover{border-color:#8ba7df!important;background:#f5f8ff!important}
body.data-check-view .selfcheck-evidence-table-wrap,body.selfcheck-view .selfcheck-evidence-table-wrap{border:1px solid #d7dfe9!important;border-radius:10px;background:#fff}
body.data-check-view .data-check-disclaimer,body.selfcheck-view .data-check-disclaimer{border:1px solid #d7dfe9;background:#fff;color:#66758d}
@media(max-width:1000px){body.data-check-view .data-check-results-layout,body.selfcheck-view .data-check-results-layout{grid-template-columns:180px minmax(0,1fr)!important}.data-check-detail-panel{grid-column:1 / -1;border-top:1px solid #d7dfe9!important;border-left:0!important}}
@media(max-width:760px){body.data-check-view .data-check-results-layout,body.selfcheck-view .data-check-results-layout{grid-template-columns:1fr!important}.data-check-result-index{border-right:0!important;border-bottom:1px solid #d7dfe9!important}.data-check-results-main{padding:12px!important}}

/* Report surface calibration --------------------------------------------------
   The self-check report follows the LaTeX verification module's quiet,
   borderless composition: soft grouped surfaces, dark readable type, and
   shadows that separate regions without drawing a grid of outlines. */
body.data-check-view .data-check-screen,body.selfcheck-view .data-check-screen{background:#fff}
body.data-check-view .data-check-stepper,body.selfcheck-view .data-check-stepper{border:0!important;background:#eef2fa;box-shadow:0 10px 26px rgb(42 64 96 / .055),inset 0 1px 0 rgb(255 255 255 / .7)}
body.data-check-view .data-check-page,body.selfcheck-view .data-check-page{border:0!important;background:#eef2fa;box-shadow:0 10px 26px rgb(42 64 96 / .055),inset 0 1px 0 rgb(255 255 255 / .7)}
body.data-check-view .data-check-drop-area,body.selfcheck-view .data-check-drop-area{border:0!important;background:#f7f9fe;box-shadow:inset 0 0 0 1px rgb(213 223 237 / .55),0 8px 18px rgb(42 64 96 / .04)}
body.data-check-view .data-check-file-stack,body.selfcheck-view .data-check-file-stack{border:0!important;background:#f7f9fe;box-shadow:inset 0 0 0 1px rgb(213 223 237 / .55),0 8px 18px rgb(42 64 96 / .04)}
body.data-check-view .data-check-file-row,body.selfcheck-view .data-check-file-row{border:0!important;background:#fff;box-shadow:0 5px 12px rgb(42 64 96 / .055)}
body.data-check-view .data-check-method-note,body.selfcheck-view .data-check-method-note{border:0!important;background:#eaf7ef;box-shadow:none}
body.data-check-view .data-check-disclaimer,body.selfcheck-view .data-check-disclaimer{border:0!important;background:#f7f9fe;box-shadow:none}
body.data-check-view .data-check-plan-context,body.selfcheck-view .data-check-plan-context{border:0!important;background:#f7f9fe;box-shadow:none}
body.data-check-view .data-check-plan-card,body.selfcheck-view .data-check-plan-card{border:0!important;background:#f7f9fe;box-shadow:0 5px 14px rgb(42 64 96 / .05)}
body.data-check-view .data-check-plan-card:hover,body.selfcheck-view .data-check-plan-card:hover{border:0!important;background:#fff;box-shadow:0 10px 22px rgb(42 64 96 / .10)}
body.data-check-view .data-check-plan-card.is-selected,body.selfcheck-view .data-check-plan-card.is-selected{border:0!important;background:#e8f2ff;box-shadow:0 0 0 3px rgb(36 85 223 / .10),0 10px 22px rgb(36 85 223 / .10)}
body.data-check-view .data-check-results-header,body.selfcheck-view .data-check-results-header{border-bottom:0!important}
body.data-check-view .data-check-results-summary,body.selfcheck-view .data-check-results-summary{border:0!important;background:#eef2fa;box-shadow:0 10px 26px rgb(42 64 96 / .055),inset 0 1px 0 rgb(255 255 255 / .7)}
body.data-check-view .data-check-results-summary .selfcheck-summary-stat,body.selfcheck-view .data-check-results-summary .selfcheck-summary-stat{border:0!important;background:#f7f9fe;box-shadow:0 5px 12px rgb(42 64 96 / .04)}
body.data-check-view .data-check-results-layout,body.selfcheck-view .data-check-results-layout{border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
body.data-check-view .data-check-result-index,body.selfcheck-view .data-check-result-index{border:0!important;border-radius:4px!important;background:#eef2fa!important;box-shadow:0 10px 26px rgb(42 64 96 / .055),inset 0 1px 0 rgb(255 255 255 / .7)!important}
body.data-check-view .data-check-results-main,body.selfcheck-view .data-check-results-main{padding:0;background:transparent}
body.data-check-view .data-check-results-main .selfcheck-results,body.selfcheck-view .data-check-results-main .selfcheck-results,body.data-check-view .data-check-results-main .selfcheck-evidence,body.selfcheck-view .data-check-results-main .selfcheck-evidence{border:0!important;background:#eef2fa!important;box-shadow:0 10px 26px rgb(42 64 96 / .055),inset 0 1px 0 rgb(255 255 255 / .7)!important}
body.data-check-view .data-check-results-main .selfcheck-check-card,body.selfcheck-view .data-check-results-main .selfcheck-check-card{border:0!important;background:#f7f9fe!important;box-shadow:0 6px 14px rgb(42 64 96 / .045)!important}
body.data-check-view .data-check-detail-panel,body.selfcheck-view .data-check-detail-panel{border:0!important;border-radius:4px!important;background:#eaf7ef!important;box-shadow:0 10px 26px rgb(42 96 70 / .08)!important}
body.data-check-view .data-check-detail-callout,body.selfcheck-view .data-check-detail-callout{border:0!important;background:#f7fbf8;color:#45695a;box-shadow:none}
body.data-check-view .data-check-rule-row,body.selfcheck-view .data-check-rule-row{border:0!important;border-left:4px solid #72b18c!important;background:#f7f9fe!important;box-shadow:0 4px 10px rgb(42 64 96 / .04)!important}
body.data-check-view .data-check-rule-row:hover,body.selfcheck-view .data-check-rule-row:hover{border:0!important;border-left:4px solid #557fd6!important;background:#fff!important;box-shadow:0 8px 18px rgb(42 64 96 / .08)!important}
body.data-check-view .selfcheck-evidence-table-wrap,body.selfcheck-view .selfcheck-evidence-table-wrap{border:0!important;background:#f7f9fe;box-shadow:inset 0 0 0 1px rgb(213 223 237 / .55)}
body.data-check-view .selfcheck-evidence-table th,body.selfcheck-view .selfcheck-evidence-table th{border:0!important;background:#e5ecf8;color:#405371}
body.data-check-view .selfcheck-evidence-table td,body.selfcheck-view .selfcheck-evidence-table td{border:0!important;border-top:1px solid rgb(213 223 237 / .42);color:#405371}
@media(max-width:1000px){body.data-check-view .data-check-results-main,body.selfcheck-view .data-check-results-main{padding:0}.data-check-detail-panel{border-top:0!important}}

/* Evidence-report layout ------------------------------------------------------
   This report pass follows the referenced DataSelfCheck page: soft gray page
   background, flat white report surfaces, a sticky rule index, compact feed
   rows, and dense evidence tables. The vocabulary and colors remain local. */
body.data-check-view .data-check-screen,body.selfcheck-view .data-check-screen{background:#f3f6f9}
body.data-check-view .data-check-shell,body.selfcheck-view .data-check-shell{width:min(1480px,calc(100% - 56px));padding-top:28px}
body.data-check-view .data-check-results-page,body.selfcheck-view .data-check-results-page{padding:0 0 44px;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body.data-check-view .data-check-results-page>.data-check-page-header,body.selfcheck-view .data-check-results-page>.data-check-page-header{margin:0 0 0;padding:18px 0 16px;border-bottom:1px solid #cdd8e3}
body.data-check-view .data-check-results-page>.data-check-page-header h2,body.selfcheck-view .data-check-results-page>.data-check-page-header h2{font-size:27px;color:#182c40}
body.data-check-view .data-check-results-page>.data-check-page-header p,body.selfcheck-view .data-check-results-page>.data-check-page-header p{color:#53697c}
body.data-check-view .data-check-report-toolbar,body.selfcheck-view .data-check-report-toolbar{margin:0 0 18px;border:1px solid #cdd8e3;border-radius:0;background:#fff;color:#182c40}
body.data-check-view .data-check-report-toolbar summary,body.selfcheck-view .data-check-report-toolbar summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;padding:0 14px;cursor:pointer;font-size:13px;font-weight:750;list-style:none}
body.data-check-view .data-check-report-toolbar summary::-webkit-details-marker,body.selfcheck-view .data-check-report-toolbar summary::-webkit-details-marker{display:none}
body.data-check-view .data-check-report-toolbar summary::before,body.selfcheck-view .data-check-report-toolbar summary::before{content:'▸';margin-right:7px;color:#5573be}
body.data-check-view .data-check-report-toolbar[open] summary::before,body.selfcheck-view .data-check-report-toolbar[open] summary::before{content:'▾'}
body.data-check-view .data-check-report-toolbar-hint,body.selfcheck-view .data-check-report-toolbar-hint{margin-left:auto;color:#7b8b9b;font-size:11px;font-weight:500}
body.data-check-view .data-check-report-controls,body.selfcheck-view .data-check-report-controls{display:flex;align-items:end;gap:12px;padding:12px 14px;border-top:1px solid #cdd8e3;background:#f0f4f8}
body.data-check-view .data-check-report-controls label,body.selfcheck-view .data-check-report-controls label{display:grid;gap:5px;min-width:220px;color:#53697c;font-size:11px;font-weight:700}
body.data-check-view .data-check-report-controls input,body.data-check-view .data-check-report-controls select,body.selfcheck-view .data-check-report-controls input,body.selfcheck-view .data-check-report-controls select{min-height:34px;padding:7px 9px;border:1px solid #bdcddd;border-radius:0;background:#fff;color:#182c40;font:inherit;font-size:12px}
body.data-check-view .data-check-rule-count,body.selfcheck-view .data-check-rule-count{margin-left:auto;color:#53697c;font-size:11px;white-space:nowrap}
body.data-check-view .data-check-results-summary,body.selfcheck-view .data-check-results-summary{margin:0 0 18px;padding:16px;border:1px solid #cdd8e3!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}
body.data-check-view .data-check-results-summary .selfcheck-summary-stat,body.selfcheck-view .data-check-results-summary .selfcheck-summary-stat{border:1px solid #d5dfe8!important;border-radius:0!important;background:#f0f4f8!important;box-shadow:none!important}
body.data-check-view .data-check-results-layout,body.selfcheck-view .data-check-results-layout{display:grid;grid-template-columns:250px minmax(0,1fr)!important;gap:18px!important;align-items:start;overflow:visible!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body.data-check-view .data-check-result-index,body.selfcheck-view .data-check-result-index{grid-column:1;grid-row:1 / span 2;position:sticky;top:16px;max-height:calc(100vh - 32px);overflow:auto;padding:14px;border:1px solid #cdd8e3!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}
body.data-check-view .data-check-result-index-head,body.selfcheck-view .data-check-result-index-head{padding:0 0 12px;border-bottom:1px solid #cdd8e3}
body.data-check-view .data-check-result-tabs,body.selfcheck-view .data-check-result-tabs{display:grid;gap:0;margin-top:8px}
body.data-check-view .data-check-result-tab,body.selfcheck-view .data-check-result-tab{justify-content:space-between;min-height:36px;padding:8px 9px;border:0!important;border-top:1px solid #e0e7ee!important;border-radius:0!important;background:#fff!important;color:#53697c;text-align:left}
body.data-check-view .data-check-result-tab:hover,body.selfcheck-view .data-check-result-tab:hover{background:#f0f4f8!important;color:#244e87}
body.data-check-view .data-check-result-tab.is-active,body.selfcheck-view .data-check-result-tab.is-active{border:1px solid #9db8e9!important;background:#edf3ff!important;color:#204f9f}
body.data-check-view .data-check-results-main,body.selfcheck-view .data-check-results-main{grid-column:2;grid-row:1;min-width:0;padding:0;background:transparent}
body.data-check-view .data-check-results-main .selfcheck-results,body.selfcheck-view .data-check-results-main .selfcheck-results{margin:0;padding:0;border:1px solid #bdcddd!important;border-radius:0!important;background:#f0f4f8!important;box-shadow:none!important}
body.data-check-view .data-check-results-main .selfcheck-results>.selfcheck-section-heading,body.selfcheck-view .data-check-results-main .selfcheck-results>.selfcheck-section-heading{margin:0;padding:14px 16px;border-bottom:1px solid #bdcddd}
body.data-check-view .data-check-results-main .selfcheck-checks,body.selfcheck-view .data-check-results-main .selfcheck-checks{gap:0;padding:14px 14px 0}
body.data-check-view .data-check-results-main .selfcheck-check-card,body.selfcheck-view .data-check-results-main .selfcheck-check-card{min-height:138px;padding:12px;border:1px solid #cdd8e3!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}
body.data-check-view .data-check-rule-list,body.selfcheck-view .data-check-rule-list{max-height:none!important;overflow:visible!important;margin:14px;padding:0;border:1px solid #cdd8e3;background:#fff}
body.data-check-view .data-check-rule-group,body.selfcheck-view .data-check-rule-group{padding:10px 12px;border-top:1px solid #bdcddd;background:#f0f4f8;color:#334e67;font-size:12px;font-weight:800}
body.data-check-view .data-check-rule-group:first-child,body.selfcheck-view .data-check-rule-group:first-child{border-top:0}
body.data-check-view .data-check-rule-row,body.selfcheck-view .data-check-rule-row{display:grid;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto!important;gap:5px;width:100%;padding:11px 12px;border:0!important;border-top:1px solid #d5dfe8!important;border-left:3px solid #72b18c!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;text-align:left}
body.data-check-view .data-check-rule-row:hover,body.selfcheck-view .data-check-rule-row:hover{border-left-color:#557fd6!important;background:#f6f9fc!important;box-shadow:none!important}
body.data-check-view .data-check-rule-row-head,body.selfcheck-view .data-check-rule-row-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0}
body.data-check-view .data-check-rule-code,body.selfcheck-view .data-check-rule-code{padding:3px 5px;background:#eef3f8;color:#526b82;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px;white-space:nowrap}
body.data-check-view .data-check-rule-row strong,body.selfcheck-view .data-check-rule-row strong{min-width:0;color:#182c40;font-size:13px;font-weight:750;overflow-wrap:anywhere}
body.data-check-view .data-check-rule-meta,body.selfcheck-view .data-check-rule-meta{justify-self:end;color:#657b8e;font-size:11px;white-space:nowrap}
body.data-check-view .data-check-rule-row-head,body.selfcheck-view .data-check-rule-row-head{justify-self:stretch!important;color:inherit!important;font-size:inherit!important;white-space:normal!important}
body.data-check-view .data-check-rule-code,body.selfcheck-view .data-check-rule-code{grid-column:auto!important;justify-self:start!important;margin:0!important;overflow:visible!important;white-space:nowrap!important}
body.data-check-view .data-check-rule-detail,body.selfcheck-view .data-check-rule-detail{display:block;justify-self:stretch!important;color:#62788b;font-size:11px;line-height:1.55;white-space:normal!important}
body.data-check-view .data-check-detail-panel,body.selfcheck-view .data-check-detail-panel{grid-column:2;grid-row:2;position:static!important;min-height:0!important;padding:14px;border:1px solid #cdd8e3!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}
body.data-check-view .data-check-detail-empty,body.selfcheck-view .data-check-detail-empty{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:10px}
body.data-check-view .data-check-detail-empty .selfcheck-section-kicker,body.selfcheck-view .data-check-detail-empty .selfcheck-section-kicker,body.data-check-view .data-check-detail-empty h3,body.selfcheck-view .data-check-detail-empty h3,body.data-check-view .data-check-detail-empty p,body.selfcheck-view .data-check-detail-empty p{grid-column:2}
body.data-check-view .data-check-detail-empty .data-check-detail-glyph,body.selfcheck-view .data-check-detail-empty .data-check-detail-glyph{grid-row:1 / span 3;align-self:start}
body.data-check-view .data-check-detail-callout,body.selfcheck-view .data-check-detail-callout{border:1px solid #cdd8e3!important;border-radius:0!important;background:#f0f4f8;color:#405b70}
body.data-check-view .data-check-results-main .selfcheck-evidence,body.selfcheck-view .data-check-results-main .selfcheck-evidence{margin-top:14px;padding:14px;border:1px solid #cdd8e3!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}
body.data-check-view .selfcheck-evidence-table-wrap,body.selfcheck-view .selfcheck-evidence-table-wrap{border:1px solid #bdcddd!important;border-radius:0!important;background:#fff;box-shadow:none}
body.data-check-view .selfcheck-evidence-table th,body.selfcheck-view .selfcheck-evidence-table th{padding:8px 10px;border-bottom:1px solid #bdcddd!important;background:#f0f4f8;color:#334e67}
body.data-check-view .selfcheck-evidence-table td,body.selfcheck-view .selfcheck-evidence-table td{padding:8px 10px;border-top:1px solid #e0e7ee!important;color:#405b70;vertical-align:top}
@media(max-width:1000px){body.data-check-view .data-check-shell,body.selfcheck-view .data-check-shell{width:min(920px,calc(100% - 36px))}body.data-check-view .data-check-results-layout,body.selfcheck-view .data-check-results-layout{grid-template-columns:220px minmax(0,1fr)!important}}
@media(max-width:760px){body.data-check-view .data-check-shell,body.selfcheck-view .data-check-shell{width:calc(100% - 28px)}body.data-check-view .data-check-report-controls,body.selfcheck-view .data-check-report-controls{align-items:stretch;flex-direction:column}body.data-check-view .data-check-report-controls label,body.selfcheck-view .data-check-report-controls label{min-width:0}body.data-check-view .data-check-rule-count,body.selfcheck-view .data-check-rule-count{margin-left:0}body.data-check-view .data-check-results-layout,body.selfcheck-view .data-check-results-layout{grid-template-columns:1fr!important}.data-check-result-index,.data-check-results-main,.data-check-detail-panel{grid-column:1!important}.data-check-result-index{grid-row:1!important;position:static!important;max-height:none!important}.data-check-results-main{grid-row:2!important}.data-check-detail-panel{grid-row:3!important}}

/* Relationship trace detail ------------------------------------------------- */
body.data-check-view .data-check-detail-content,body.selfcheck-view .data-check-detail-content{display:grid;gap:10px}
body.data-check-view .data-check-detail-locator,body.selfcheck-view .data-check-detail-locator{display:flex;align-items:center;gap:10px;padding:9px 11px;border-left:3px solid #8eafd7;background:#eaf1f8;color:#60758a;font-size:11px}
body.data-check-view .data-check-detail-locator strong,body.selfcheck-view .data-check-detail-locator strong{color:#203b59;font-size:13px}
body.data-check-view .data-check-relationship-kicker,body.selfcheck-view .data-check-relationship-kicker{margin-top:2px;color:#71869a;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
body.data-check-view .data-check-relationship-equation,body.selfcheck-view .data-check-relationship-equation{padding:12px 13px;border-left:4px solid #c49a2d;background:#fff6d9;color:#6e5314;font-size:18px;font-weight:750;letter-spacing:.01em}
body.data-check-view .data-check-relationship-note,body.selfcheck-view .data-check-relationship-note{margin:0;color:#61758b;font-size:11px;line-height:1.65}
body.data-check-view .data-check-relationship-plot-wrap,body.selfcheck-view .data-check-relationship-plot-wrap{padding:8px;border:1px solid #cdd8e3;background:#edf3fa}
body.data-check-view .data-check-relationship-plot,body.selfcheck-view .data-check-relationship-plot{display:block;width:100%;height:auto;max-height:190px}
body.data-check-view .data-check-relationship-table,body.selfcheck-view .data-check-relationship-table{width:100%;border-collapse:collapse;background:#fff;color:#2f4961;font-size:11px}
body.data-check-view .data-check-relationship-table caption,body.selfcheck-view .data-check-relationship-table caption{padding:8px 9px;border:1px solid #cdd8e3;border-bottom:0;background:#f0f4f8;color:#314c64;font-size:12px;font-weight:750;text-align:left}
body.data-check-view .data-check-relationship-table th,body.selfcheck-view .data-check-relationship-table th{padding:8px 9px;border:1px solid #cdd8e3;background:#edf2f7;color:#536c82;font-size:10px;font-weight:750;text-align:left;white-space:nowrap}
body.data-check-view .data-check-relationship-table td,body.selfcheck-view .data-check-relationship-table td{padding:9px;border:1px solid #d9e1e8;vertical-align:top;line-height:1.5}
body.data-check-view .data-check-relationship-table tbody tr:nth-child(even),body.selfcheck-view .data-check-relationship-table tbody tr:nth-child(even){background:#f8fafc}
body.data-check-view .data-check-relationship-table tbody td:nth-child(1),body.selfcheck-view .data-check-relationship-table tbody td:nth-child(2){background:#fff6dc}
body.data-check-view .data-check-relationship-table tbody td:nth-child(3),body.selfcheck-view .data-check-relationship-table tbody td:nth-child(4){background:#e9f5f7}
body.data-check-view .data-check-lineage,body.selfcheck-view .data-check-lineage{margin-top:2px;padding-top:11px;border-top:1px solid #cdd8e3}
body.data-check-view .data-check-lineage-title,body.selfcheck-view .data-check-lineage-title{color:#314c64;font-size:12px;font-weight:750}
body.data-check-view .data-check-lineage-summary,body.selfcheck-view .data-check-lineage-summary{margin:6px 0 8px;color:#6a7f92;font-size:11px;line-height:1.55}
body.data-check-view .data-check-lineage-table caption,body.selfcheck-view .data-check-lineage-table caption{display:none}
body.data-check-view .data-check-detail-evidence,body.selfcheck-view .data-check-detail-evidence{padding-top:10px;border-top:1px solid #cdd8e3}
@media(max-width:760px){body.data-check-view .data-check-relationship-equation,body.selfcheck-view .data-check-relationship-equation{font-size:15px}body.data-check-view .data-check-relationship-table,body.selfcheck-view .data-check-relationship-table{display:block;overflow:auto;white-space:normal}}

/* Two-column report: a collapsible rule index and one full evidence surface. */
body.data-check-view .data-check-results-layout,body.selfcheck-view .data-check-results-layout{grid-template-columns:292px minmax(0,1fr)!important;gap:18px!important}
body.data-check-view .data-check-results-main,body.selfcheck-view .data-check-results-main{display:none!important}
body.data-check-view .data-check-result-index,body.selfcheck-view .data-check-result-index{grid-column:1;grid-row:1;max-height:calc(100vh - 32px);padding:14px!important;border:0!important;border-radius:4px!important;background:#eef2fa!important;box-shadow:none!important}
body.data-check-view .data-check-detail-panel,body.selfcheck-view .data-check-detail-panel{grid-column:2;grid-row:1;position:static!important;min-height:430px!important;max-height:none;padding:20px!important;overflow:visible;border:0!important;border-radius:4px!important;background:#eef2fa!important;box-shadow:none!important}
body.data-check-view .data-check-result-index-head,body.selfcheck-view .data-check-result-index-head{border-bottom:1px solid #d9e2ef;color:#2e46df}
body.data-check-view .data-check-result-index-head strong,body.selfcheck-view .data-check-result-index-head strong{color:#243859;font-size:13px}
body.data-check-view .data-check-standard-toggle,body.selfcheck-view .data-check-standard-toggle,body.data-check-view .data-check-index-hint,body.selfcheck-view .data-check-index-hint{display:none}
body.data-check-view .data-check-result-index .data-check-rule-list,body.selfcheck-view .data-check-result-index .data-check-rule-list{margin:0;padding:0;border:0;background:transparent}
body.data-check-view .data-check-rule-group,body.selfcheck-view .data-check-rule-group{margin:0 0 8px;padding:0;border:0;background:transparent;color:#243859}
body.data-check-view .data-check-rule-group-summary,body.selfcheck-view .data-check-rule-group-summary{display:grid;grid-template-columns:12px minmax(0,1fr) auto;align-items:center;gap:4px 7px;min-height:48px;padding:10px 8px;background:#e3eaf6;color:#2e46df;list-style:none;cursor:pointer}
body.data-check-view .data-check-rule-group-summary::-webkit-details-marker,body.selfcheck-view .data-check-rule-group-summary::-webkit-details-marker{display:none}
body.data-check-view .data-check-rule-group-summary::before,body.selfcheck-view .data-check-rule-group-summary::before{content:'▸';grid-column:1;grid-row:1;color:#5e72aa;font-size:13px}
body.data-check-view .data-check-rule-group[open]>.data-check-rule-group-summary::before,body.selfcheck-view .data-check-rule-group[open]>.data-check-rule-group-summary::before{content:'▾'}
body.data-check-view .data-check-rule-group-label,body.selfcheck-view .data-check-rule-group-label{grid-column:2;grid-row:1;min-width:0;color:#2f46d7;font-size:14px;font-weight:750;line-height:1.45}
body.data-check-view .data-check-rule-group-meta,body.selfcheck-view .data-check-rule-group-meta{grid-column:2 / -1;grid-row:2;color:#687b96;font-size:12px;font-weight:500;text-align:left;line-height:1.4}
body.data-check-view .data-check-category-toggle,body.selfcheck-view .data-check-category-toggle{grid-column:3;grid-row:1;display:inline-flex;align-items:center;gap:5px;margin:0;padding:2px 0;color:#586d8c;font-size:12px;font-weight:500;line-height:1.4;white-space:nowrap;cursor:pointer}
body.data-check-view .data-check-category-toggle input,body.selfcheck-view .data-check-category-toggle input{width:14px;height:14px;margin:0;accent-color:#3f58de;cursor:pointer}
body.data-check-view .data-check-category-toggle:focus-within,body.selfcheck-view .data-check-category-toggle:focus-within{outline:2px solid #8c9ee9;outline-offset:3px}
body.data-check-view .data-check-rule-group-items,body.selfcheck-view .data-check-rule-group-items{display:grid;gap:5px;padding:6px 0 0 8px}
body.data-check-view .data-check-rule-group-empty,body.selfcheck-view .data-check-rule-group-empty{margin:0;padding:9px;color:#7a8aa3;font-size:13px}
body.data-check-view .data-check-result-index .data-check-rule-row,body.selfcheck-view .data-check-result-index .data-check-rule-row{gap:4px;padding:9px;border:0!important;border-left:3px solid transparent!important;border-radius:2px!important;background:#f8faff!important}
body.data-check-view .data-check-result-index .data-check-rule-row.status-review,body.selfcheck-view .data-check-result-index .data-check-rule-row.status-review{border-left-color:#d9777f!important;background:#fff0f1!important}
body.data-check-view .data-check-result-index .data-check-rule-row:hover,body.selfcheck-view .data-check-result-index .data-check-rule-row:hover{border-left-color:#3f58de!important;background:#e9efff!important}
body.data-check-view .data-check-result-index .data-check-rule-row.is-selected,body.selfcheck-view .data-check-result-index .data-check-rule-row.is-selected{outline:1px solid #8c9ee9;background:#e4ebff!important}
body.data-check-view .data-check-result-index .data-check-rule-row.status-review:hover,body.selfcheck-view .data-check-result-index .data-check-rule-row.status-review:hover,body.data-check-view .data-check-result-index .data-check-rule-row.status-review.is-selected,body.selfcheck-view .data-check-result-index .data-check-rule-row.status-review.is-selected{border-left-color:#d9777f!important;background:#fff0f1!important;outline:1px solid #8c9ee9}
body.data-check-view .data-check-result-index .data-check-rule-row-head,body.selfcheck-view .data-check-result-index .data-check-rule-row-head{grid-template-columns:auto minmax(0,1fr);gap:5px 6px}
body.data-check-view .data-check-result-index .data-check-rule-row strong,body.selfcheck-view .data-check-result-index .data-check-rule-row strong{font-size:14px;line-height:1.4;color:#2d4363}
body.data-check-view .data-check-result-index .data-check-rule-code,body.selfcheck-view .data-check-result-index .data-check-rule-code{padding:2px 4px;background:#e7edf8;font-size:11px;color:#657799}
body.data-check-view .data-check-result-index .data-check-rule-meta,body.selfcheck-view .data-check-result-index .data-check-rule-meta{grid-column:2;justify-self:start;font-size:12px;color:#7a4b55}
body.data-check-view .data-check-result-index .data-check-rule-detail,body.selfcheck-view .data-check-result-index .data-check-rule-detail{display:none}
body.data-check-view .data-check-detail-label,body.selfcheck-view .data-check-detail-label{color:#3049db;font-size:16px;font-weight:750}
body.data-check-view #data-check-detail-value,body.selfcheck-view #data-check-detail-value{color:#243859;font-size:26px}
body.data-check-view #data-check-detail-location,body.selfcheck-view #data-check-detail-location{white-space:pre-line;color:#294361;font-size:13px;font-weight:650;line-height:1.55}
body.data-check-view .data-check-detail-location,body.selfcheck-view .data-check-detail-location{white-space:pre-line;color:#294361;font-size:13px;font-weight:650;line-height:1.55}
body.data-check-view .data-check-detail-callout,body.selfcheck-view .data-check-detail-callout{border:0!important;border-radius:3px!important;background:#f9fbff!important;color:#526682}
body.data-check-view .data-check-detail-empty,body.selfcheck-view .data-check-detail-empty{min-height:340px;align-content:center;max-width:520px;margin:auto}
body.data-check-view .data-check-results-summary,body.selfcheck-view .data-check-results-summary{border:0!important;border-radius:4px!important;background:#eef2fa!important}
body.data-check-view .data-check-results-summary .selfcheck-summary-stat,body.selfcheck-view .data-check-results-summary .selfcheck-summary-stat{border:0!important;border-radius:3px!important;background:#f9fbff!important}
@media(min-width:761px) and (max-width:1100px){
  body.data-check-view .data-check-results-layout,body.selfcheck-view .data-check-results-layout{grid-template-columns:248px minmax(0,1fr)!important;gap:12px!important}
  body.data-check-view .data-check-detail-panel,body.selfcheck-view .data-check-detail-panel{padding:15px!important}
}
@media(max-width:760px){
  body.data-check-view .data-check-results-layout,body.selfcheck-view .data-check-results-layout{grid-template-columns:1fr!important}
  body.data-check-view .data-check-result-index,body.selfcheck-view .data-check-result-index{grid-column:1!important;grid-row:1!important;max-height:360px!important;position:static!important}
  body.data-check-view .data-check-detail-panel,body.selfcheck-view .data-check-detail-panel{grid-column:1!important;grid-row:2!important;padding:14px!important;min-height:300px!important}
}

/* Evidence preview ---------------------------------------------------------
   Keep compact Excel-like context next to the selected rule.  The renderer
   adds .is-anomaly only when a focused finding has ten or fewer nearby cells;
   dispersed findings intentionally stay in the source list without a grid. */
body.data-check-view .data-check-excel-preview,body.selfcheck-view .data-check-excel-preview{margin-top:16px;padding:14px;background:#f8faff;border-top:1px solid #d8e2ef}
body.data-check-view .data-check-excel-preview-header,body.selfcheck-view .data-check-excel-preview-header{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:9px;color:#2d4363}
body.data-check-view .data-check-excel-preview-header strong,body.selfcheck-view .data-check-excel-preview-header strong{font-size:13px}
body.data-check-view .data-check-excel-preview-header span,body.selfcheck-view .data-check-excel-preview-header span{color:#75859d;font-size:13px}
body.data-check-view .data-check-preview-scroll,body.selfcheck-view .data-check-preview-scroll{overflow:auto;border:1px solid #cbd8e8;background:#fff}
body.data-check-view .data-check-preview-table,body.selfcheck-view .data-check-preview-table{min-width:620px;width:100%;border-collapse:collapse;color:#2f4961;font-size:13px}
body.data-check-view .data-check-preview-table th,body.selfcheck-view .data-check-preview-table th{position:sticky;top:0;z-index:1;padding:8px 9px;border-right:1px solid #d8e2ec;border-bottom:1px solid #becddd;background:#e9eff7;color:#405874;font-size:13px;font-weight:750;text-align:left;white-space:nowrap}
body.data-check-view .data-check-preview-table td,body.selfcheck-view .data-check-preview-table td{position:relative;min-width:86px;padding:9px;border-right:1px solid #dfe6ee;border-bottom:1px solid #dfe6ee;background:#fff;vertical-align:top;line-height:1.45}
body.data-check-view .data-check-preview-table tbody tr:nth-child(even) td,body.selfcheck-view .data-check-preview-table tbody tr:nth-child(even) td{background:#fbfcfe}
body.data-check-view .data-check-preview-table td:first-child,body.selfcheck-view .data-check-preview-table td:first-child{min-width:126px;background:#f1f5f9;color:#536a82;font-weight:650}
body.data-check-view .data-check-preview-table td.is-anomaly,body.selfcheck-view .data-check-preview-table td.is-anomaly,body.data-check-view .data-check-preview-table .is-anomaly,body.selfcheck-view .data-check-preview-table .is-anomaly{background:#ffe5e7!important;color:#9f3543!important;box-shadow:inset 0 0 0 2px #df6e78}
body.data-check-view .data-check-preview-table td.is-anomaly::after,body.selfcheck-view .data-check-preview-table td.is-anomaly::after,body.data-check-view .data-check-preview-table .is-anomaly::after,body.selfcheck-view .data-check-preview-table .is-anomaly::after{content:'!';position:absolute;top:4px;right:5px;display:grid;place-items:center;width:14px;height:14px;border-radius:50%;background:#ce4a58;color:#fff;font-size:9px;font-weight:800;line-height:1}
body.data-check-view .data-check-preview-table td[data-anomaly='true'],body.selfcheck-view .data-check-preview-table td[data-anomaly='true']{background:#ffe5e7!important;color:#9f3543!important;box-shadow:inset 0 0 0 2px #df6e78}
body.data-check-view .data-check-preview-table td[data-anomaly='true']::after,body.selfcheck-view .data-check-preview-table td[data-anomaly='true']::after{content:'!';position:absolute;top:4px;right:5px;display:grid;place-items:center;width:14px;height:14px;border-radius:50%;background:#ce4a58;color:#fff;font-size:9px;font-weight:800}
body.data-check-view .data-check-preview-caption,body.selfcheck-view .data-check-preview-caption{margin:8px 0 0;color:#7789a0;font-size:13px;line-height:1.5}
body.data-check-view .data-check-source-location,body.selfcheck-view .data-check-source-location{display:block;min-width:150px;line-height:1.4}
body.data-check-view td.data-check-source-location,body.selfcheck-view td.data-check-source-location,body.data-check-view th.data-check-source-location,body.selfcheck-view th.data-check-source-location{display:table-cell}
body.data-check-view .data-check-source-file,body.selfcheck-view .data-check-source-file{display:block;overflow:hidden;color:#667b93;font-size:12px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}
body.data-check-view .data-check-source-position,body.selfcheck-view .data-check-source-position{display:block;margin-top:4px;color:#203b59;font-size:14px;font-weight:800;letter-spacing:.01em;white-space:nowrap}
body.data-check-view .data-check-source-position::before,body.selfcheck-view .data-check-source-position::before{content:'↳ ';color:#d05b65;font-size:11px}
body.data-check-view .data-check-source-location.is-anomaly,body.selfcheck-view .data-check-source-location.is-anomaly{padding:5px 6px;background:#fff0f1}
body.data-check-view .data-check-source-location.is-anomaly .data-check-source-position,body.selfcheck-view .data-check-source-location.is-anomaly .data-check-source-position{color:#a23844}
body.data-check-view .data-check-anomaly-legend,body.selfcheck-view .data-check-anomaly-legend{display:flex;align-items:center;gap:6px;margin-top:8px;color:#7a6c73;font-size:13px}
body.data-check-view .data-check-anomaly-legend::before,body.selfcheck-view .data-check-anomaly-legend::before{content:'!';display:grid;place-items:center;width:14px;height:14px;border-radius:50%;background:#ce4a58;color:#fff;font-size:9px;font-weight:800}
body.data-check-view .data-check-detail-table-wrap,body.selfcheck-view .data-check-detail-table-wrap{overflow:auto;margin-top:12px}
body.data-check-view .data-check-detail-table,body.selfcheck-view .data-check-detail-table{width:100%;border-collapse:collapse;background:#fff;color:#314c64;font-size:13px}
body.data-check-view .data-check-detail-table th,body.selfcheck-view .data-check-detail-table th{padding:8px 9px;border-bottom:1px solid #cbd8e8;background:#e9eff7;color:#536c82;font-size:13px;text-align:left;white-space:nowrap}
body.data-check-view .data-check-detail-table td,body.selfcheck-view .data-check-detail-table td{padding:9px;border-bottom:1px solid #e0e7ee;vertical-align:top}
body.data-check-view .data-check-detail-panel p,body.selfcheck-view .data-check-detail-panel p,body.data-check-view .data-check-detail-callout,body.selfcheck-view .data-check-detail-callout,body.data-check-view .data-check-detail-locator,body.selfcheck-view .data-check-detail-locator,body.data-check-view .data-check-relationship-kicker,body.selfcheck-view .data-check-relationship-kicker,body.data-check-view .data-check-relationship-table,body.selfcheck-view .data-check-relationship-table,body.data-check-view .data-check-relationship-table th,body.selfcheck-view .data-check-relationship-table th,body.data-check-view .data-check-relationship-table caption,body.selfcheck-view .data-check-relationship-table caption,body.data-check-view .data-check-lineage-title,body.selfcheck-view .data-check-lineage-title{font-size:13px}

/* Results are the reading surface. Keep the workflow chrome on upload and
   plan pages, then let the overview begin at the top of the report. */
body.data-check-view.data-check-results-active .data-check-heading,
body.data-check-view.data-check-results-active .data-check-stepper,
body.selfcheck-view.data-check-results-active .data-check-heading,
body.selfcheck-view.data-check-results-active .data-check-stepper{display:none!important}
body.data-check-view.data-check-results-active .data-check-shell,
body.selfcheck-view.data-check-results-active .data-check-shell{padding-top:18px}
body.data-check-view.data-check-results-active #selfcheck-status,
body.selfcheck-view.data-check-results-active #selfcheck-status{display:none!important}
body.data-check-view .data-check-summary-category,
body.selfcheck-view .data-check-summary-category{display:block;margin-left:auto;max-width:48%;overflow:hidden;color:#536b88;font-size:13px;font-weight:750;line-height:1.4;text-align:right;text-overflow:ellipsis;white-space:nowrap}
body.data-check-view .data-check-detail-locator strong,
body.selfcheck-view .data-check-detail-locator strong{letter-spacing:.01em}

/* Final data self-check adjustments -------------------------------------- */
body.data-check-view .data-check-screen,body.selfcheck-view .data-check-screen{background:#fff!important}
body.data-check-view .data-check-shell,body.selfcheck-view .data-check-shell{background:#fff}
body.data-check-view .data-check-page,body.selfcheck-view .data-check-page{background:#fff!important}
body.data-check-view.data-check-results-active .data-check-heading,body.selfcheck-view.data-check-results-active .data-check-heading{display:flex!important;margin:0 0 14px!important;padding:0 0 12px;border-bottom:0!important}
body.data-check-view.data-check-results-active .data-check-heading-copy,body.selfcheck-view.data-check-results-active .data-check-heading-copy,body.data-check-view.data-check-results-active .data-check-heading-meta,body.selfcheck-view.data-check-results-active .data-check-heading-meta{display:none!important}
body.data-check-view.data-check-results-active .data-check-stepper,body.selfcheck-view.data-check-results-active .data-check-stepper{display:none!important}
body.data-check-view.data-check-results-active .data-check-shell,body.selfcheck-view.data-check-results-active .data-check-shell{padding-top:22px!important}
body.data-check-view .data-check-results-summary,body.selfcheck-view .data-check-results-summary{background:#fff!important;border:0!important;padding:0!important;box-shadow:none!important}
body.data-check-view .data-check-results-summary .selfcheck-section-heading,body.selfcheck-view .data-check-results-summary .selfcheck-section-heading{padding:0 0 10px;border-bottom:1px solid #e2e8f1}
body.data-check-view .data-check-results-summary .selfcheck-summary-grid,body.selfcheck-view .data-check-results-summary .selfcheck-summary-grid{margin-top:12px}
.data-check-category-overview{margin:13px 0 0;padding:13px 0 0;border-top:1px solid #e2e8f1}
.data-check-category-overview-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.data-check-category-overview-note{color:#7d8ba1;font-size:11px}
.data-check-category-overview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.data-check-category-stat{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;gap:2px 8px;padding:10px 11px;border:1px solid #e2e8f1;background:#f8faff;color:#667893}
.data-check-category-stat span{grid-column:1;grid-row:1;font-size:11px;font-weight:700;line-height:1.4}
.data-check-category-stat strong{grid-column:2;grid-row:1 / span 2;align-self:center;color:#2e4770;font-size:20px;line-height:1;font-variant-numeric:tabular-nums}
.data-check-category-stat small{grid-column:1;grid-row:2;color:#91a0b3;font-size:10px}
.data-check-category-stat.has-issues{border-color:#efc9ce;background:#fff5f5}
.data-check-category-stat.has-issues strong{color:#b14655}
body.data-check-view .data-check-index-hint,body.selfcheck-view .data-check-index-hint{color:#7587a0}
body.data-check-view .data-check-category-toggle,body.selfcheck-view .data-check-category-toggle{color:#4967a7}
body.data-check-view .data-check-detail-panel,body.selfcheck-view .data-check-detail-panel{border:0!important;background:#fff!important;box-shadow:none!important}
body.data-check-view .data-check-detail-locator,body.selfcheck-view .data-check-detail-locator{border:0!important;border-left:0!important;background:#f2f6fb;color:#171a20;padding:11px 13px}
body.data-check-view .data-check-detail-locator strong,body.selfcheck-view .data-check-detail-locator strong{color:#171a20;font-size:18px;font-weight:800}
body.data-check-view .data-check-relationship-kicker,body.selfcheck-view .data-check-relationship-kicker{display:none!important}
body.data-check-view .data-check-relationship-equation,body.selfcheck-view .data-check-relationship-equation{border:0!important;border-left:0!important;background:#fff6d9;color:#5f4816}
body.data-check-view .data-check-detail-callout,body.selfcheck-view .data-check-detail-callout{border:0!important;background:#f8fafc!important}
body.data-check-view .data-check-relationship-plot-wrap,body.selfcheck-view .data-check-relationship-plot-wrap{border:0!important}
body.data-check-view .data-check-lineage,body.selfcheck-view .data-check-lineage,body.data-check-view .data-check-detail-evidence,body.selfcheck-view .data-check-detail-evidence{border-top:0!important}
body.data-check-view .data-check-result-index,body.selfcheck-view .data-check-result-index{border:0!important;background:#f5f8fd!important}
@media(max-width:900px){.data-check-category-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.data-check-category-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.data-check-category-stat{padding:9px}.data-check-category-stat strong{font-size:18px}}
body.data-check-view .data-check-detail-content,body.selfcheck-view .data-check-detail-content{border:0!important}
body.data-check-view .data-check-excel-preview,body.selfcheck-view .data-check-excel-preview{border:0!important;border-top:0!important;padding-top:8px}
body.data-check-view .data-check-relationship-detail,body.selfcheck-view .data-check-relationship-detail{border:0!important}
body.data-check-view .data-check-detail-panel h4,body.selfcheck-view .data-check-detail-panel h4{margin:12px 0 8px;color:#1d2b3d;font-size:15px;font-weight:750}
body.data-check-view .data-check-detail-panel .data-check-lineage-title,body.selfcheck-view .data-check-detail-panel .data-check-lineage-title{margin:12px 0 0;color:#1d2b3d;font-size:15px}
.data-check-category-stat{border:0;background:#f0f4fb;border-radius:3px}
.data-check-category-stat.has-issues{border:0;background:#fff0f1}
body.data-check-view .data-check-results-summary .selfcheck-section-heading,body.selfcheck-view .data-check-results-summary .selfcheck-section-heading,.data-check-category-overview{border:0}

/* The upload route is the self-check home. Keep file intake and plan setup
   in one readable flow; the dedicated plan hash remains available for deep
   links and keyboard navigation. */
body.data-check-view.data-check-home-combined .data-check-plan-page,
body.selfcheck-view.data-check-home-combined .data-check-plan-page{display:block!important;margin-top:18px}
body.data-check-view.data-check-home-combined .data-check-plan-page .data-check-page-header,
body.selfcheck-view.data-check-home-combined .data-check-plan-page .data-check-page-header{display:none!important}
body.data-check-view.data-check-home-combined .data-check-plan-page .data-check-plan-context,
body.selfcheck-view.data-check-home-combined .data-check-plan-page .data-check-plan-context{margin-top:0}
body.data-check-view.data-check-home-combined .data-check-upload-page,
body.selfcheck-view.data-check-home-combined .data-check-upload-page{margin-bottom:0}
body.data-check-view.data-check-home-combined .data-check-plan-footer,
body.selfcheck-view.data-check-home-combined .data-check-plan-footer{margin-top:16px}
body.data-check-view .data-check-results-layout .data-check-result-index,
body.data-check-view .data-check-results-layout .data-check-detail-panel,
body.selfcheck-view .data-check-results-layout .data-check-result-index,
body.selfcheck-view .data-check-results-layout .data-check-detail-panel{border-radius:4px}

/* Final alignment with the manuscript conversion workspace ----------------
   Keep the title mark as the module anchor, while removing helper copy and
   workflow chrome that compete with the actual upload and review surfaces. */
body.data-check-view .data-check-heading-copy,
body.selfcheck-view .data-check-heading-copy,
body.data-check-view .selfcheck-heading-copy,
body.selfcheck-view .selfcheck-heading-copy,
body.data-check-view .data-check-stepper,
body.selfcheck-view .data-check-stepper{display:none!important}

/* The results heading is intentionally a single, quiet title row. */
body.data-check-view .data-check-results-summary .selfcheck-section-heading,
body.selfcheck-view .data-check-results-summary .selfcheck-section-heading{display:block!important;padding:0!important;border:0!important}
body.data-check-view .data-check-summary-category,
body.data-check-view .selfcheck-summary-status,
body.selfcheck-view .data-check-summary-category,
body.selfcheck-view .selfcheck-summary-status{display:none!important}
body.data-check-view .data-check-results-summary .selfcheck-summary-grid,
body.selfcheck-view .data-check-results-summary .selfcheck-summary-grid{display:none!important}
body.data-check-view .data-check-results-summary .selfcheck-section-kicker,
body.selfcheck-view .data-check-results-summary .selfcheck-section-kicker{display:block;margin-bottom:8px}
body.data-check-view .data-check-results-summary #selfcheck-summary-title,
body.selfcheck-view .data-check-results-summary #selfcheck-summary-title{font-size:28px;line-height:1.2}

/* Make the category overview carry the hierarchy shown in the reference. */
.data-check-category-overview{margin-top:18px;padding-top:0}
.data-check-category-overview-head{margin-bottom:10px}
.data-check-category-overview-head .selfcheck-section-kicker{font-size:12px;letter-spacing:.12em}
.data-check-category-stat{min-height:86px;padding:16px 17px;gap:5px 12px;background:#f1f5fb}
.data-check-category-stat span{font-size:15px;line-height:1.45;color:#253e63}
.data-check-category-stat strong{font-size:30px;color:#1c3b70}
.data-check-category-stat small{font-size:12px;color:#8291a7}
.data-check-category-stat.has-issues{background:#fff0f1}
.data-check-category-stat.has-issues span{color:#8d3642}
.data-check-category-stat.has-issues strong{color:#b83f4d}

/* On the combined home, the two file surfaces remain side by side. The four
   review plans become compact, vertical option rows under the upload surface
   and the run action follows them below. */
body.data-check-view.data-check-home-combined .data-check-next-button,
body.selfcheck-view.data-check-home-combined .data-check-next-button{display:none!important}
body.data-check-view.data-check-home-combined .data-check-upload-page,
body.selfcheck-view.data-check-home-combined .data-check-upload-page{margin-bottom:0}
body.data-check-view.data-check-home-combined .data-check-upload-page,
body.selfcheck-view.data-check-home-combined .data-check-upload-page{padding:24px;background:#fff;border:1px solid #dce4ef;box-shadow:0 8px 22px rgb(40 65 99 / .055)}
body.data-check-view.data-check-home-combined .data-check-drop-area,
body.selfcheck-view.data-check-home-combined .data-check-drop-area{min-height:228px}
body.data-check-view.data-check-home-combined .data-check-file-stack,
body.selfcheck-view.data-check-home-combined .data-check-file-stack{min-height:330px;background:#eef2fa;border:0;border-radius:14px;padding:18px;box-shadow:0 10px 25px rgb(42 64 96 / .055)}
body.data-check-view.data-check-home-combined .data-check-upload-fields,
body.selfcheck-view.data-check-home-combined .data-check-upload-fields{width:calc(64% - 9px);grid-template-columns:1fr;gap:9px;margin-top:16px}
body.data-check-view.data-check-home-combined .selfcheck-options,
body.selfcheck-view.data-check-home-combined .selfcheck-options{display:none!important}
body.data-check-view.data-check-home-combined .selfcheck-upload-note,
body.selfcheck-view.data-check-home-combined .selfcheck-upload-note{display:none!important}
body.data-check-view.data-check-home-combined .data-check-method-note,
body.data-check-view.data-check-home-combined .data-check-disclaimer,
body.selfcheck-view.data-check-home-combined .data-check-method-note,
body.selfcheck-view.data-check-home-combined .data-check-disclaimer{display:none!important}
body.data-check-view.data-check-home-combined .data-check-plan-page,
body.selfcheck-view.data-check-home-combined .data-check-plan-page{width:calc(64% - 9px);margin-top:14px;margin-right:auto}
body.data-check-view.data-check-home-combined .data-check-plan-context,
body.selfcheck-view.data-check-home-combined .data-check-plan-context{display:none!important}
body.data-check-view.data-check-home-combined .data-check-plan-grid,
body.selfcheck-view.data-check-home-combined .data-check-plan-grid{grid-template-columns:1fr;gap:8px}
body.data-check-view.data-check-home-combined .data-check-plan-card,
body.selfcheck-view.data-check-home-combined .data-check-plan-card{grid-template-columns:auto minmax(0,1fr) auto;min-height:58px;padding:11px 13px;border-radius:9px;border-color:#dce4ef;box-shadow:none}
body.data-check-view.data-check-home-combined .data-check-plan-card.is-selected,
body.selfcheck-view.data-check-home-combined .data-check-plan-card.is-selected{border-color:#7295e4;background:#f3f7ff;box-shadow:0 0 0 1px rgb(87 123 221 / .12)}
body.data-check-view.data-check-home-combined .data-check-plan-body,
body.selfcheck-view.data-check-home-combined .data-check-plan-body{gap:2px}
body.data-check-view.data-check-home-combined .data-check-plan-body strong,
body.selfcheck-view.data-check-home-combined .data-check-plan-body strong{font-size:13px}
body.data-check-view.data-check-home-combined .data-check-plan-body small,
body.selfcheck-view.data-check-home-combined .data-check-plan-body small{font-size:10px;line-height:1.45}
body.data-check-view.data-check-home-combined .data-check-plan-count b,
body.selfcheck-view.data-check-home-combined .data-check-plan-count b{font-size:16px}
body.data-check-view.data-check-home-combined .data-check-plan-footer,
body.selfcheck-view.data-check-home-combined .data-check-plan-footer{display:block;padding-top:12px;border-top:0}
body.data-check-view.data-check-home-combined .data-check-plan-footer p,
body.selfcheck-view.data-check-home-combined .data-check-plan-footer p{display:none!important}
body.data-check-view.data-check-home-combined .data-check-start-button,
body.selfcheck-view.data-check-home-combined .data-check-start-button{display:flex;width:100%;min-height:56px;padding:15px 18px;border:0;border-radius:14px;background:#edf3ff;color:#3159a4;box-shadow:0 10px 24px rgb(49 89 164 / .10);font-size:15px;font-weight:750}
body.data-check-view.data-check-home-combined .data-check-start-button:hover:not(:disabled),
body.selfcheck-view.data-check-home-combined .data-check-start-button:hover:not(:disabled){background:#e3ecff;color:#244eb7;box-shadow:0 12px 28px rgb(49 89 164 / .16);transform:none}
body.data-check-view.data-check-home-combined .data-check-start-button:disabled,
body.selfcheck-view.data-check-home-combined .data-check-start-button:disabled{background:#edf1f7;color:#96a4b9;box-shadow:none}
body.data-check-view.data-check-home-combined .data-check-disclaimer,
body.selfcheck-view.data-check-home-combined .data-check-disclaimer{max-width:100%;line-height:1.65}

@media(max-width:900px){
  body.data-check-view.data-check-home-combined .data-check-plan-page,
  body.selfcheck-view.data-check-home-combined .data-check-plan-page{width:100%}
}

/* Match the LaTeX composer geometry exactly on the self-check home. The
   upload surface and the four plan rows share one grid: the left column is a
   continuous workflow and the right column is the tall file-preview surface. */
@media(min-width:901px){
  body.data-check-view.data-check-home-combined .data-check-shell,
  body.selfcheck-view.data-check-home-combined .data-check-shell{display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,.94fr);column-gap:clamp(24px,3.2vw,36px);row-gap:14px;width:min(1100px,calc(100% - 80px));padding:26px 40px 42px}
  body.data-check-view.data-check-home-combined .data-check-heading,
  body.selfcheck-view.data-check-home-combined .data-check-heading{grid-column:1 / -1;margin:0 0 4px}
  body.data-check-view.data-check-home-combined .data-check-upload-page,
  body.selfcheck-view.data-check-home-combined .data-check-upload-page{display:contents!important;width:auto;padding:0;border:0;background:transparent;box-shadow:none}
  body.data-check-view.data-check-home-combined .data-check-page-header,
  body.selfcheck-view.data-check-home-combined .data-check-page-header{grid-column:1 / -1;margin:0 0 2px}
  body.data-check-view.data-check-home-combined .data-check-upload-form,
  body.selfcheck-view.data-check-home-combined .data-check-upload-form{display:contents}
  body.data-check-view.data-check-home-combined .data-check-upload-grid,
  body.selfcheck-view.data-check-home-combined .data-check-upload-grid{display:contents}
  body.data-check-view.data-check-home-combined .data-check-drop-area,
  body.selfcheck-view.data-check-home-combined .data-check-drop-area{grid-column:1;grid-row:2;align-self:start;min-height:112px;height:112px;padding:22px 20px;border:0!important;border-radius:20px;background:#eef2fa;box-shadow:0 10px 26px rgb(42 64 96 / .055),inset 0 1px 0 rgb(255 255 255 / .45)}
  body.data-check-view.data-check-home-combined .data-check-file-stack,
  body.selfcheck-view.data-check-home-combined .data-check-file-stack{grid-column:2;grid-row:2 / span 3;align-self:start;width:100%;height:502px;min-height:502px;padding:18px;border:0;border-radius:20px;background:#eef2fa;box-shadow:0 10px 26px rgb(42 64 96 / .055),inset 0 1px 0 rgb(255 255 255 / .45)}
  body.data-check-view.data-check-home-combined .data-check-plan-page,
  body.selfcheck-view.data-check-home-combined .data-check-plan-page{display:contents!important;width:auto;margin:0;padding:0;border:0;background:transparent;box-shadow:none}
  body.data-check-view.data-check-home-combined .data-check-plan-grid,
  body.selfcheck-view.data-check-home-combined .data-check-plan-grid{grid-column:1;grid-row:3;display:grid;grid-template-columns:1fr;gap:8px;width:100%;margin:0}
  body.data-check-view.data-check-home-combined .data-check-plan-footer,
  body.selfcheck-view.data-check-home-combined .data-check-plan-footer{grid-column:1;grid-row:4;display:block;width:100%;margin:0;padding:0;border:0}
  body.data-check-view.data-check-home-combined .data-check-run-status,
  body.data-check-view.data-check-home-combined .data-check-plan-error,
  body.selfcheck-view.data-check-home-combined .data-check-run-status,
  body.selfcheck-view.data-check-home-combined .data-check-plan-error{display:none!important}
  body.data-check-view.data-check-home-combined .data-check-start-button,
  body.selfcheck-view.data-check-home-combined .data-check-start-button{width:100%;min-height:44px;padding:12px 17px;border-radius:9px;background:#eef2fa;color:#425371;box-shadow:0 10px 26px rgb(42 64 96 / .055),inset 0 1px 0 rgb(255 255 255 / .45);font-size:14px;font-weight:650}
  body.data-check-view.data-check-home-combined .data-check-start-button:hover:not(:disabled),
  body.selfcheck-view.data-check-home-combined .data-check-start-button:hover:not(:disabled){background:#e5ecf8;color:#315ac2;box-shadow:0 13px 28px rgb(42 64 96 / .10);transform:none}
  body.data-check-view.data-check-home-combined .data-check-disclaimer,
  body.selfcheck-view.data-check-home-combined .data-check-disclaimer{display:flex!important;grid-column:1 / -1;grid-row:5;width:100%;margin:0;padding:11px 14px;border:0;border-radius:13px;background:#f7f9fe;color:#66758d;box-shadow:none;font-size:11px;line-height:1.6}
}

/* A centered upload action and an unmistakable selected plan. */
body:is(.data-check-view,.selfcheck-view) .data-check-file-stack{position:relative}
body:is(.data-check-view,.selfcheck-view) #data-check-add-file{position:absolute;left:50%;top:50%;display:grid;place-items:center;width:64px;height:64px;margin:0;padding:0;border:0;border-radius:16px;background:#fff;color:#2455df;box-shadow:0 8px 22px rgb(42 64 96 / .09);transform:translate(-50%,-50%);font-size:42px;font-weight:400;line-height:1}
body:is(.data-check-view,.selfcheck-view) #data-check-add-file:hover{background:#2455df;color:#fff}
body:is(.data-check-view,.selfcheck-view) .data-check-file-list-panel{max-height:174px;overflow:auto}
#data-check-plan-grid .data-check-plan-card.is-selected,
#data-check-plan-grid .data-check-plan-card.is-selected:hover{background:#2455df;color:#fff;box-shadow:none}
#data-check-plan-grid .data-check-plan-card.is-selected .data-check-plan-body strong,
#data-check-plan-grid .data-check-plan-card.is-selected .data-check-plan-body small,
#data-check-plan-grid .data-check-plan-card.is-selected .data-check-plan-count,
#data-check-plan-grid .data-check-plan-card.is-selected .data-check-plan-count b{color:#fff}
#data-check-plan-grid .data-check-plan-card.is-selected .data-check-plan-index{color:#fff;background:rgb(255 255 255 / .16);box-shadow:none}
@media(max-width:900px){
  body:is(.data-check-view,.selfcheck-view).data-check-home-combined .data-check-heading{padding-top:26px}
}

/* Keep the upload surface visually centered beneath the brand mark, matching
   the vertical breathing room of the manuscript conversion workspace. */
@media(min-width:901px){
  body.data-check-view.data-check-home-combined .data-check-drop-area,
  body.selfcheck-view.data-check-home-combined .data-check-drop-area,
  body.data-check-view.data-check-home-combined .data-check-file-stack,
  body.selfcheck-view.data-check-home-combined .data-check-file-stack{margin-top:54px}
}

/* The results overview keeps its useful category cards without the two
   auxiliary labels that previously occupied the red-marked rows. */
body.data-check-view .data-check-category-overview,
body.selfcheck-view .data-check-category-overview{margin-top:10px}
body.data-check-view .data-check-category-overview-head,
body.selfcheck-view .data-check-category-overview-head,
body.data-check-view .data-check-results-summary .selfcheck-section-kicker,
body.selfcheck-view .data-check-results-summary .selfcheck-section-kicker{display:none!important}

/* Keep module entry points distinct from conversion-specific tools. */
.sidebar #conversion-space-nav>span{font-size:13px;letter-spacing:-.05em;font-weight:750}
.sidebar .conversion-space-tools{margin:0 0 8px 13px}
.sidebar .conversion-space-tools .nav-item{padding-left:13px;font-size:13px}
body:is(.data-check-view,.selfcheck-view) .sidebar :is(.conversion-space-tools,#new-project,.history-heading,.history-list){display:none!important}
body:not(.data-check-view):not(.selfcheck-view) .sidebar #selfcheck-new-project{display:none!important}
body:is(.data-check-view,.selfcheck-view) .sidebar .nav-section{margin-top:27px}
body:is(.data-check-view,.selfcheck-view) .sidebar .sidebar-bottom{margin-top:auto}
body:is(.data-check-view,.selfcheck-view) .sidebar .selfcheck-history-heading{display:flex;justify-content:space-between;margin-top:30px;margin-bottom:13px;padding:0 12px;color:#8b93a2;font-size:12px}
body:is(.data-check-view,.selfcheck-view) .sidebar .selfcheck-history-heading>span:last-child{font-size:11px}
body:is(.data-check-view,.selfcheck-view) .sidebar .selfcheck-history-list{display:block;flex:1;min-height:0;overflow:auto}
body:is(.data-check-view,.selfcheck-view) .sidebar .selfcheck-history-row{display:flex;align-items:stretch;gap:3px}
body:is(.data-check-view,.selfcheck-view) .sidebar .selfcheck-history-item{display:block;flex:1;min-width:0;padding:9px 12px;border-radius:7px;background:transparent;color:#586274;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}
body:is(.data-check-view,.selfcheck-view) .sidebar .selfcheck-history-item:hover{background:#eaeef6}
body:is(.data-check-view,.selfcheck-view) .sidebar .selfcheck-history-item strong,body:is(.data-check-view,.selfcheck-view) .sidebar .selfcheck-history-item small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body:is(.data-check-view,.selfcheck-view) .sidebar .selfcheck-history-item small{margin-top:4px;color:#9098a6;font-size:10px}
body:is(.data-check-view,.selfcheck-view) .sidebar .selfcheck-history-actions{display:flex;align-items:center;gap:2px}
body:is(.data-check-view,.selfcheck-view) .sidebar .selfcheck-history-actions button{padding:3px 4px;background:transparent;color:#8d97a6;font-size:10px}
body:is(.data-check-view,.selfcheck-view) .sidebar .selfcheck-history-actions button:hover{background:#fff;color:#2455df}
body:not(.data-check-view):not(.selfcheck-view) .sidebar .selfcheck-history-heading,body:not(.data-check-view):not(.selfcheck-view) .sidebar .selfcheck-history-list{display:none}

/* Sidebar legibility: the workspace rail is a primary navigation surface. Keep
   its compact footprint, but give each module a clear hit area, stronger type,
   and a raised active state so the selected workspace is immediately visible. */
.sidebar{padding:36px 18px 22px;background:#eef3fc!important;border-right:1px solid #d8e2f1!important}
.sidebar .brand{margin:0 2px 8px}
.sidebar .nav-section{padding:0 12px;margin:27px 0 10px;color:#7184a2;font-size:13px;font-weight:750;letter-spacing:.04em}
.sidebar .nav-item{min-height:46px;margin:0 0 7px;padding:11px 13px;gap:13px;border:1px solid transparent;border-radius:10px;background:transparent;color:#405574;font-size:15px;font-weight:600;line-height:1.25}
.sidebar .nav-item>span{display:inline-grid;place-items:center;flex:none;width:27px;height:27px;border:1px solid #d9e3f1;border-radius:8px;background:#f9fbff;color:#5c76a3;font-size:16px;font-weight:750;line-height:1;box-shadow:0 3px 7px rgb(43 67 103 / .08)}
.sidebar .nav-item#latex-nav>span{font-size:20px;font-weight:450}
.sidebar .nav-item:hover{border-color:#c5d4ec;background:#e5edfb;color:#294f92}
.sidebar .nav-item.active{border-color:#b9cdf1;background:#dce8ff;color:#1e4bb8;font-weight:750;box-shadow:0 7px 16px rgb(57 93 153 / .12)}
.sidebar .nav-item.active>span{border-color:#b8cdf3;background:#fff;color:#2455df;box-shadow:0 4px 9px rgb(42 74 132 / .12)}
.sidebar .conversion-space-tools{margin:0 0 11px 12px;padding-left:10px;border-left:1px solid #d8e3f3}
.sidebar .conversion-space-tools .nav-item{min-height:40px;margin-bottom:4px;padding:8px 10px;font-size:13px;font-weight:600;color:#526886;border-radius:8px}
.sidebar .conversion-space-tools .nav-item>span{width:23px;height:23px;border-radius:7px;font-size:14px}
.sidebar .conversion-space-tools .nav-item.active{background:#e7efff;color:#2455df;box-shadow:none}
.sidebar .history-heading,.sidebar .selfcheck-history-heading{padding:0 12px;color:#7184a2;font-size:13px;font-weight:750;letter-spacing:.04em}
.sidebar .history-heading{margin-top:28px;margin-bottom:10px}
.sidebar .history-empty{font-size:12px;color:#7f90aa}
.sidebar .selfcheck-history-heading{margin-top:28px!important;margin-bottom:10px!important}
.sidebar .selfcheck-history-item{padding:10px 12px!important;border-radius:8px!important;color:#405574!important;font-size:12px!important}
.sidebar .selfcheck-history-item:hover{background:#e1ebfb!important;color:#2455df!important}
.sidebar .selfcheck-history-actions button{padding:4px 5px!important;border-radius:6px;color:#6c80a0!important}
.sidebar .selfcheck-history-actions button:hover{background:#fff;color:#2455df!important}
.sidebar:not(.collapsed) .sidebar-bottom .sidebar-collapse,.sidebar:not(.collapsed) .sidebar-bottom .sidebar-pin{width:36px!important;height:36px!important;border-radius:9px!important;font-size:17px!important;box-shadow:4px 4px 0 #c7d8f2,0 8px 15px rgb(42 64 96 / .10),inset 0 1px 0 #fff!important}

/* Give the workspace switcher enough weight to read as primary navigation on
   desktop while keeping the content canvas unchanged. */
@media(min-width:761px){
  .sidebar{padding:33px 18px 20px;background:#f3f6fc!important}
  .sidebar .new-project{min-height:52px;padding:14px 16px;font-size:16px;font-weight:700;border-color:#d5deef;background:#fff;box-shadow:0 7px 18px rgb(42 64 96 / .08)}
  .sidebar .nav-section{padding:0 13px;margin-bottom:15px;color:#72819b;font-size:14px;font-weight:700;letter-spacing:.02em}
  .sidebar .nav-item{min-height:48px;margin-bottom:7px;padding:13px 15px;border-radius:10px;gap:13px;color:#536580;font-size:16px;font-weight:600}
  .sidebar .nav-item>span{display:inline-grid;place-items:center;width:25px;height:25px;font-size:19px;font-weight:750}
  .sidebar .nav-item:hover{background:#e8effd;color:#315ac2}
  .sidebar .nav-item.active{background:#dbe7ff;color:#1e4ebf;font-weight:750;box-shadow:inset 3px 0 0 #2455df,0 6px 14px rgb(42 64 96 / .07)}
  .sidebar .conversion-space-tools{margin:0 0 11px 15px;padding-left:4px;border-left:2px solid #d9e3f7}
  .sidebar .conversion-space-tools .nav-item{min-height:44px;margin-bottom:5px;padding:11px 13px;font-size:14px}
  .sidebar .conversion-space-tools .nav-item>span{width:22px;height:22px;font-size:17px}
  body:is(.data-check-view,.selfcheck-view) .sidebar .selfcheck-history-heading{margin-top:28px;margin-bottom:14px;padding:15px 13px 0;border-top:1px solid #d9e2f1;color:#536b91;font-size:14px;font-weight:750;letter-spacing:.01em}
  body:is(.data-check-view,.selfcheck-view) .sidebar .selfcheck-history-heading>span:last-child{font-size:13px;color:#7489aa}
  body:is(.data-check-view,.selfcheck-view) .sidebar .history-empty{padding:0 13px;color:#7d8da7;font-size:13px;line-height:1.7}
  body:is(.data-check-view,.selfcheck-view) .sidebar .selfcheck-history-item{padding:11px 13px;color:#4d6384;font-size:13px}
  body:is(.data-check-view,.selfcheck-view) .sidebar .selfcheck-history-item small{font-size:11px}
}

/* One complete coordinate list, grouped by source file and worksheet. */
body:is(.data-check-view,.selfcheck-view) #data-check-detail-location{margin:12px 0 18px;white-space:normal}
body:is(.data-check-view,.selfcheck-view) .data-check-location-list{display:flex;flex-direction:column;gap:12px;padding:2px 0}
body:is(.data-check-view,.selfcheck-view) .data-check-location-line{display:block;padding:0;color:#28496f;font-size:13px;line-height:1.6;white-space:normal}
body:is(.data-check-view,.selfcheck-view) .data-check-location-file{display:block;margin-bottom:6px;color:#69809d;font-size:12px;line-height:1.4}
body:is(.data-check-view,.selfcheck-view) .data-check-location-coordinates{display:flex;flex-wrap:wrap;gap:5px 16px}
body:is(.data-check-view,.selfcheck-view) .data-check-location-coordinate{display:inline-block;color:#173d70;font-size:13px;line-height:1.6;font-weight:750;white-space:nowrap}
body:is(.data-check-view,.selfcheck-view) .data-check-source-location{min-width:170px}
body:is(.data-check-view,.selfcheck-view) .data-check-source-position{display:block;margin-top:4px;color:#173d70;font-size:14px;font-weight:750}
body:is(.data-check-view,.selfcheck-view) .data-check-source-value{display:block;margin-top:6px;color:#243b58;font-size:13px;font-weight:500;overflow-wrap:anywhere}
body:is(.data-check-view,.selfcheck-view) .data-check-statistics-detail{margin-top:22px;padding:0;border:0;background:transparent}
body:is(.data-check-view,.selfcheck-view) .data-check-statistics-detail h3{margin:0 0 10px;color:#172a44;font-size:18px}
body:is(.data-check-view,.selfcheck-view) .data-check-statistics-detail h4{margin:20px 0 8px;color:#243b58;font-size:15px}
body:is(.data-check-view,.selfcheck-view) .data-check-calculation-copy{margin:8px 0;color:#526682;font-size:13px;line-height:1.75;overflow-wrap:anywhere}
body:is(.data-check-view,.selfcheck-view) .data-check-calculation-steps{margin:8px 0;padding-left:22px;color:#405671;font-size:13px;line-height:1.8}
body:is(.data-check-view,.selfcheck-view) .data-check-calculation-steps li{margin:5px 0}
body:is(.data-check-view,.selfcheck-view) .data-check-relationship-group{margin:24px 0;overflow-x:auto}
body:is(.data-check-view,.selfcheck-view) .data-check-relationship-group h4{margin:0 0 10px;color:#243b58;font-size:15px}
body:is(.data-check-view,.selfcheck-view) .data-check-relationship-detail>.data-check-detail-locator{margin:0 0 12px;padding:0;background:transparent;color:#000;font-size:18px;font-weight:750}
body:is(.data-check-view,.selfcheck-view) .data-check-statistics-detail .data-check-relationship-table{margin:14px 0;font-size:13px}
body:is(.data-check-view,.selfcheck-view) .data-check-statistics-detail .data-check-relationship-table th{font-size:12px}
body:is(.data-check-view,.selfcheck-view) .data-check-distribution-table tbody td{background:transparent!important}
body:is(.data-check-view,.selfcheck-view) .data-check-distribution-table .is-flagged td{background:#fff0f1!important;color:#a83e4b}
body:is(.data-check-view,.selfcheck-view) .data-check-iqr-table td:nth-child(2){color:#a83e4b;font-weight:750;background:#fff0f1!important}
body:is(.data-check-view,.selfcheck-view) .data-check-iqr-table td:nth-child(3),body:is(.data-check-view,.selfcheck-view) .data-check-iqr-table td:nth-child(4){font-variant-numeric:tabular-nums}
body:is(.data-check-view,.selfcheck-view) .data-check-statistics-table-scroll{overflow-x:auto}
body:is(.data-check-view,.selfcheck-view) .data-check-iqr-table{min-width:620px}
body:is(.data-check-view,.selfcheck-view) .data-check-detail-evidence h3{margin:0 0 12px;color:#172a44;font-size:18px}
body:is(.data-check-view,.selfcheck-view) .data-check-findings-table{min-width:620px;font-size:13px;table-layout:fixed}
body:is(.data-check-view,.selfcheck-view) .data-check-findings-table th:nth-child(1){width:30%}
body:is(.data-check-view,.selfcheck-view) .data-check-findings-table th:nth-child(2){width:22%}
body:is(.data-check-view,.selfcheck-view) .data-check-findings-table td:nth-child(2){font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
body:is(.data-check-view,.selfcheck-view) .data-check-findings-table td:nth-child(3){line-height:1.7;overflow-wrap:anywhere}
body:is(.data-check-view,.selfcheck-view) .data-check-findings-table .data-check-source-file{white-space:normal;overflow-wrap:anywhere}
body:is(.data-check-view,.selfcheck-view) .data-check-findings-table tr[data-duplicate-group] td{background:var(--data-check-group-bg)!important;color:#243b58}
body:is(.data-check-view,.selfcheck-view) .data-check-decimal-group{margin:22px 0 26px}
body:is(.data-check-view,.selfcheck-view) .data-check-decimal-group h4{display:flex;align-items:baseline;gap:14px;margin:0 0 10px;color:#172a44;font-size:18px;font-weight:750}
body:is(.data-check-view,.selfcheck-view) .data-check-decimal-group h4 small{color:#69809d;font-size:12px;font-weight:500}
body:is(.data-check-view,.selfcheck-view) .data-check-decimal-group .data-check-location-file{margin:10px 0 7px}
body:is(.data-check-view,.selfcheck-view) .data-check-decimal-locations{display:flex;flex-wrap:wrap;gap:8px 20px;margin:0;padding:0;list-style:none}
body:is(.data-check-view,.selfcheck-view) .data-check-decimal-locations li{color:#173d70;font-size:14px;font-weight:700;line-height:1.7;white-space:nowrap}
body:is(.data-check-view,.selfcheck-view) .data-check-integer-grid-section{min-width:0;width:100%}
body:is(.data-check-view,.selfcheck-view) .data-check-grid-summary{margin:0 0 12px;color:#526682;font-size:13px}
body:is(.data-check-view,.selfcheck-view) .data-check-grid-legend{display:flex;flex-wrap:wrap;gap:18px;margin:0 0 14px;color:#526682;font-size:13px}
body:is(.data-check-view,.selfcheck-view) .data-check-grid-legend span{display:inline-flex;align-items:center;gap:7px}
body:is(.data-check-view,.selfcheck-view) .data-check-grid-legend i{display:inline-block;width:12px;height:12px;background:#e6edf7;border-radius:1px}
body:is(.data-check-view,.selfcheck-view) .data-check-grid-legend i.is-clustered{background:#df5263}
body:is(.data-check-view,.selfcheck-view) .data-check-cell-grid-scroll{max-height:620px;overflow:auto;padding:3px 0 6px}
body:is(.data-check-view,.selfcheck-view) .data-check-cell-grid{display:grid;grid-template-columns:44px repeat(var(--grid-columns),minmax(8px,1fr));gap:3px;width:100%}
body:is(.data-check-view,.selfcheck-view) .data-check-cell-grid-row{display:contents}
body:is(.data-check-view,.selfcheck-view) .data-check-cell-grid-label{display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;color:#526682;font-size:11px;font-weight:650;line-height:1}
body:is(.data-check-view,.selfcheck-view) .data-check-cell-grid-label[role="columnheader"]{position:sticky;top:0;z-index:1;min-height:22px;background:#fff}
body:is(.data-check-view,.selfcheck-view) .data-check-grid-cell{display:block;width:100%;height:auto;min-width:0;min-height:0;aspect-ratio:1;padding:0;background:#e6edf7;border:0;border-radius:1px;box-shadow:none;cursor:pointer}
body:is(.data-check-view,.selfcheck-view) .data-check-grid-cell.is-clustered{background:#df5263}
body:is(.data-check-view,.selfcheck-view) .data-check-grid-cell:hover,body:is(.data-check-view,.selfcheck-view) .data-check-grid-cell.is-current{outline:2px solid #173d70;outline-offset:0}
body:is(.data-check-view,.selfcheck-view) .data-check-grid-cell:focus-visible{outline:3px solid #173d70;outline-offset:1px}
body:is(.data-check-view,.selfcheck-view) .data-check-grid-inspector{min-height:44px;margin:14px 0 0;color:#243b58;font-size:13px;line-height:1.7;overflow-wrap:anywhere}
body:is(.data-check-view,.selfcheck-view) .data-check-duplicate-legend{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:9px 18px;max-height:180px;overflow:auto;padding:2px 0 6px}
body:is(.data-check-view,.selfcheck-view) .data-check-duplicate-legend>span{min-width:0}
body:is(.data-check-view,.selfcheck-view) .data-check-duplicate-legend>span>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body:is(.data-check-view,.selfcheck-view) .data-check-duplicate-legend i{flex:0 0 12px}
body:is(.data-check-view,.selfcheck-view) .data-check-duplicate-grid-source{min-width:0;width:100%;margin:20px 0 28px}
body:is(.data-check-view,.selfcheck-view) .data-check-duplicate-grid-source h4{margin:0 0 8px;color:#243b58;font-size:16px;overflow-wrap:anywhere}
body:is(.data-check-view,.selfcheck-view) .data-check-findings-table tr[data-duplicate-group] td:first-child{box-shadow:inset 3px 0 var(--data-check-group-accent)}

/* Homepage data self-check promotion. The source report's 6 × 25 duplicate map
   is redrawn as SVG so the table remains sharp at every display scale. */
.data-promo-section{--data-promo-visual-offset:165px;position:relative;z-index:3;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(350px,.85fr);align-items:center;gap:clamp(28px,4vw,62px);box-sizing:border-box;width:min(1180px,calc(100% - 80px));margin:0 auto;padding:98px 0 calc(23.5px + var(--data-promo-visual-offset));background:#fff;color:#17243d}
.data-promo-section+.conversion-section{padding-top:35px}
.data-promo-visual{position:relative;top:var(--data-promo-visual-offset);isolation:isolate;display:flex;flex-direction:column;align-items:stretch;min-width:0}
.data-promo-visual::before{content:"";position:absolute;z-index:-1;inset:78px 110px -35px -36px;pointer-events:none;background:#eff8ff;filter:none}
.data-promo-map-intro{position:relative;z-index:1;width:min(100%,650px);margin:0 auto 12px}
.data-promo-map-title{position:relative;top:12px;display:flex;align-items:center;gap:10px;margin:0 0 14px;color:#1c355e;font-family:"Noto Sans SC","Microsoft YaHei",sans-serif;font-size:20px;font-weight:850;letter-spacing:.04em;line-height:1.25;filter:blur(.7px);opacity:.62}
.data-promo-legend{display:flex;flex:none;align-items:center;gap:7px;mask-image:linear-gradient(to right,transparent 0,#000 2%,#000 98%,transparent 100%)}
.data-promo-legend span{--data-promo-swatch:#5274d8;display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border:1px solid #e8edf5;border-radius:999px;background:rgb(255 255 255 / .92);box-shadow:0 5px 13px rgb(42 64 96 / .05);color:#547096;font-family:ui-monospace,"Cascadia Code",Consolas,monospace;font-size:11px;font-weight:750;line-height:1.2}
.data-promo-legend span:nth-child(2){--data-promo-swatch:#29996d}
.data-promo-legend span:nth-child(3){--data-promo-swatch:#c88a24}
.data-promo-legend span:nth-child(4){--data-promo-swatch:#9360cf}
.data-promo-legend span:nth-child(5){--data-promo-swatch:#258fa6}
.data-promo-legend span:nth-child(6){--data-promo-swatch:#ca627c}
.data-promo-legend span:nth-child(7){--data-promo-swatch:#8c9c34}
.data-promo-legend i{display:block;width:10px;height:10px;flex:none;border-radius:2px;background:var(--data-promo-swatch)}
.data-promo-modules{position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;width:min(100%,560px);margin:0 0 25px max(0px,calc((100% - 650px)/2));padding:0;list-style:none}
.data-promo-modules li{--data-promo-tone:#4561b4;position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;min-width:0;min-height:64px;box-sizing:border-box;padding:10px 12px;border:1px solid #e6ebf3;border-radius:16px;background:#fff;box-shadow:0 3px 6px rgb(45 67 103 / .025),0 13px 28px rgb(45 67 103 / .08);color:#243650;white-space:nowrap;animation:data-promo-module-float 7.5s ease-in-out infinite}
.data-promo-modules li:nth-child(2){animation-delay:-1.8s}
.data-promo-modules li:nth-child(3){animation-delay:-3.6s}
.data-promo-modules li:nth-child(4){animation-delay:-5.4s}
.data-promo-module-check{position:absolute;right:11px;bottom:10px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:color-mix(in srgb,var(--data-promo-tone) 9%,white);color:var(--data-promo-tone)}
.data-promo-module-check svg{display:block;width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
@keyframes data-promo-module-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
.data-promo-modules li[data-tone="green"]{--data-promo-tone:#4e9170}
.data-promo-modules li[data-tone="purple"]{--data-promo-tone:#8158b9}
.data-promo-modules li[data-tone="gold"]{--data-promo-tone:#ad8130}
.data-promo-module-name{font-family:"Noto Sans SC","Microsoft YaHei",sans-serif;font-size:12px;font-weight:750;letter-spacing:-.025em}
.data-promo-modules strong{padding-right:30px;color:var(--data-promo-tone);font-size:17px;font-weight:850;font-variant-numeric:tabular-nums}
.data-promo-modules small{margin-left:4px;color:#8392aa;font-size:10px;font-weight:650}
.data-promo-map{width:min(100%,650px);min-width:0;margin:0 auto}
.data-promo-map figcaption{position:relative;z-index:1;display:flex;align-items:center;gap:12px;margin:0 0 10px 16px;color:#213b6b;font-family:ui-monospace,"Cascadia Code",Consolas,monospace;font-size:15px;font-weight:800;letter-spacing:-.02em;white-space:nowrap}
.data-promo-map-file>span{color:#6f80a0;font-size:12px;font-weight:650}
/* Cropping the 930-unit original to 610 units preserves its former cell scale. */
.data-promo-map-window{position:relative;width:min(100%,clamp(400px,calc(40.192vw - 33.494px),527px));margin:0;overflow:hidden;mask-image:linear-gradient(to right,transparent 0,#000 2%,#000 98%,transparent 100%),linear-gradient(to bottom,transparent 0,#000 6%,#000 94%,transparent 100%);mask-composite:intersect}
.data-promo-map-window img{display:block;width:100%;max-width:none;height:auto}
.data-promo-copy{position:relative;left:-24px;display:flex;flex-direction:column;justify-content:center;align-items:stretch;min-width:0;min-height:370px}
.data-promo-sequence{align-self:flex-end;max-width:none;margin:0 0 43px}
.data-promo-sequence .conversion-heading-row{min-height:62px}
.data-promo-sequence .conversion-heading-mark{position:absolute;left:calc(100% + 13px);top:50%;transform:translateY(-50%)}
.data-promo-sequence>p{margin-left:0}
.data-promo-message{position:relative;top:1em;display:flex;flex-direction:column;align-items:flex-end;max-width:100%;margin:0;color:#151b2b;font-family:"Noto Sans SC","Microsoft YaHei","Segoe UI",sans-serif;font-size:clamp(32px,2.75vw,43px);font-weight:850;letter-spacing:-.055em;line-height:1.28}
.data-promo-message-lead,.data-promo-message-main{display:block;white-space:nowrap}
.data-promo-message-lead{font-size:1.12em;text-align:right}
.data-promo-message-accent{color:#559579}
.data-promo-detail{position:relative;top:120px;align-self:flex-end;width:max-content;max-width:none;margin:27px 0 0!important;font-family:ui-rounded,"Arial Rounded MT Bold","Nunito","Segoe UI","Microsoft YaHei",sans-serif;text-align:right!important}
.data-promo-detail-line{display:block;white-space:nowrap}
.data-promo-note-logo{background:#e8f5ed!important;color:#28765a!important;box-shadow:4px 5px 0 rgb(185 221 202 / .8),inset 0 1px 0 #fff}
.data-promo-note-logo svg{display:block;width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.workspace-entered .data-promo-section,body:is(.login-view,.service-view,.community-view,.data-check-view,.selfcheck-view) .data-promo-section{display:none!important}
@media(max-width:1100px){
  .data-promo-section{--data-promo-visual-offset:130px;grid-template-columns:minmax(0,1fr) minmax(300px,.76fr);gap:30px}
  .data-promo-modules li{padding:9px 8px}
  .data-promo-module-name{font-size:11px}
  .data-promo-modules strong{font-size:15px}
  .data-promo-modules small{font-size:9px}
  .data-promo-message{font-size:clamp(29px,3.25vw,38px)}
  .data-promo-map-window{width:min(100%,calc(37.268vw - 40.995px))}
}
@media(max-width:850px){
  .data-promo-section{--data-promo-visual-offset:0px;grid-template-columns:1fr;gap:26px;padding:72px 0 41px}
  .data-promo-copy{left:0;grid-row:1;min-height:0}
  .data-promo-detail{top:0;width:auto;max-width:100%;margin-top:48px!important}
  .data-promo-detail-line{white-space:normal}
  .data-promo-sequence{margin-bottom:21px}
  .data-promo-message{align-self:flex-end;font-size:clamp(33px,5.2vw,43px)}
  .data-promo-visual{grid-row:2}
  .data-promo-modules li{padding:11px 12px}
  .data-promo-module-name{font-size:12px}
  .data-promo-modules strong{font-size:16px}
  .data-promo-map-window{width:min(100%,calc(65.591vw - 52.473px))}
}
@media(max-width:600px){
  .data-promo-section{width:calc(100% - 36px);padding:56px 0 32px}
  .data-promo-message{font-size:clamp(25px,6.8vw,34px)}
  .data-promo-detail{font-size:13px}
  .data-promo-map-title{font-size:18px}
  .data-promo-legend{gap:4px}
  .data-promo-legend span{gap:4px;padding:3px 4px;font-size:9px}
  .data-promo-legend i{width:8px;height:8px}
  .data-promo-modules{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .data-promo-modules li{min-height:63px;padding:8px 10px}
  .data-promo-modules strong{font-size:14px}
  .data-promo-module-name{font-size:11px}
  .data-promo-map figcaption{gap:8px;margin-left:0;font-size:12px}
  .data-promo-map-file>span{font-size:10px}
  .data-promo-map-window{width:min(100%,407px)}
  .data-promo-map-window img{width:100%}
}
@media(max-width:360px){.data-promo-map figcaption{flex-wrap:wrap;gap:7px}}
@media(max-width:760px){
  .data-promo-section+.conversion-section{padding-top:26px}
  .data-promo-sequence .conversion-heading-row{min-height:48px}
  .data-promo-sequence .conversion-heading-mark{left:calc(100% + 10px)}
}

/* Literature and citations workbench. Keep this surface in the same quiet
   blue and white family as the data self-check workspace. */
.entry-screen>.landing-workflow .workflow-rail{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:16px!important;align-items:stretch}
.entry-screen>.landing-workflow .workflow-module{min-width:0}
.workflow-module-citations{border-color:#dfd4ec;box-shadow:8px 9px 0 #e1d5ed,0 18px 36px rgb(91 68 125 / .09),inset 0 1px 0 #fff}
.workflow-module-citations .workflow-status{color:#775999;font-weight:750}
.workflow-module-citations .workflow-module-icon{background:#f4edff;color:#6947a8;box-shadow:6px 7px 0 #d2c4ef,inset 0 1px 0 #fff;font-size:20px;letter-spacing:-.1em}
.workflow-module-citations .workflow-launch{background:#7657a6!important;box-shadow:0 8px 18px rgb(103 77 151 / .18),inset 0 1px 0 rgb(255 255 255 / .2)!important}
.workflow-module-citations .workflow-launch:hover{background:#63458e!important;box-shadow:0 11px 23px rgb(103 77 151 / .23)!important}
.service-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important}
.service-card-data-check{grid-column:auto!important}
.service-card-citations{border-color:#ddd1ea;background:linear-gradient(145deg,#fdfbff,#f5effa);box-shadow:8px 9px 0 #ded2ec,0 18px 38px rgb(91 68 125 / .09),inset 0 1px 0 #fff}
.service-card-citations .service-card-state{color:#775999;font-weight:800}
.service-card-citations .service-card-action{background:#7657a6;box-shadow:0 9px 20px rgb(103 77 151 / .19),inset 0 1px 0 rgb(255 255 255 / .2)}
.service-card-citations .service-card-action:hover{background:#63458e;box-shadow:0 12px 25px rgb(103 77 151 / .25)}

/* Citation workbench uses the shared self-check shell, upload
   surface, file stack, and primary action. Only the table and dialogs need
   module-specific treatment. */
body.citation-view .workspace{display:none!important}
body.citation-view .citation-screen{display:block!important}
body.citation-view #citations-nav{background:#e9eefc;color:#244eb7;font-weight:750}
body.citation-view .sidebar :is(.conversion-space-tools,#new-project,#selfcheck-new-project,.history-heading,.history-list,.selfcheck-history-heading,.selfcheck-history-list){display:none!important}
.citation-screen{display:none;min-height:calc(100vh - 78px);background:#fff;color:#202736}
.citation-shell{width:min(1100px,calc(100% - 80px));padding:26px 40px 54px}
.citation-shell:has(.citation-manage-page:not([hidden])){display:flex;flex-direction:column;height:calc(100dvh - 78px);min-height:600px;padding-bottom:24px}
.citation-shell:has(.citation-manage-page:not([hidden]))>.citation-heading,.citation-shell:has(.citation-manage-page:not([hidden]))>.citation-status{flex:none}
.citation-heading{align-items:center;margin-bottom:18px}
.citation-heading h1{display:flex;align-items:center;gap:8px;margin:0;font-size:inherit}
.citation-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:14px;flex:none}
.citation-heading-actions .citation-open-details-button{flex:none;gap:20px;padding-inline:16px}
.citation-heading-count{align-self:center;white-space:nowrap;padding:8px 12px;border-radius:9px;background:#eef3ff;color:#506991;font-size:12px;font-weight:650}
.citation-heading-count strong{margin-right:4px;color:#3159a4;font-size:19px;font-variant-numeric:tabular-nums}
.citation-status{margin:0 0 15px;padding:10px 13px;border-radius:9px;background:#eff5fc;color:#45627f;font-size:12px;line-height:1.6}
.citation-status:empty{display:none}
.citation-status[data-tone="error"]{background:#fff2f2;color:#a4404f}
.citation-status[data-tone="success"]{background:#edf8f0;color:#2d7851}
.citation-page{min-width:0}
.citation-manage-page{flex:1;min-height:0;padding:0;border:0;background:transparent;box-shadow:none}
.citation-manage-form{display:grid;grid-template-columns:minmax(160px,.39fr) minmax(0,1.61fr);grid-template-rows:minmax(0,1fr);height:100%;gap:24px;align-items:stretch}
.citation-upload-grid{display:contents}
.citation-upload-side{display:flex;flex-direction:column;min-width:0;min-height:0;padding:12px}
.citation-dropzone{flex:1;min-height:220px;height:auto;padding:16px 0;border:0;border-radius:14px;background:transparent;box-shadow:none}
.citation-dropzone:hover,.citation-dropzone.dragging{border:0;background:#e5ecf8;box-shadow:none}
.citation-dropzone.dragging{outline:2px dashed #7297d6;outline-offset:3px}
.citation-dropzone[aria-busy="true"]{opacity:.7;pointer-events:none}
.citation-dropzone .selfcheck-upload-prompt{gap:10px;width:100%;min-width:0}
.citation-upload-plus{display:grid;place-items:center;width:64px;height:64px;margin-bottom:8px;border-radius:16px;background:#fff;color:#2455df;box-shadow:0 8px 22px rgb(42 64 96 / .09);font-size:42px;font-weight:400;line-height:1;transition:background .15s,color .15s}
.citation-dropzone:hover .citation-upload-plus,.citation-dropzone:focus-visible .citation-upload-plus{background:#2455df;color:#fff}
.citation-dropzone .selfcheck-upload-title{font-size:15px;line-height:1.5}
.citation-dropzone .selfcheck-upload-subtitle{margin-top:0;font-size:11px;line-height:1.9}
.citation-upload-side,.citation-manage-stack,.citation-detail-library,.citation-detail-preview,.citation-batch-available,.citation-batch-selected{min-width:0;border:0;border-radius:20px;background:#eef2fa;box-shadow:0 10px 26px rgb(42 64 96 / .055),inset 0 1px 0 rgb(255 255 255 / .45)}
.citation-screen .data-check-file-stack-head{color:#31527f;font-size:12px;font-weight:750}
.citation-screen .data-check-file-stack-head>span:first-child{color:#31527f}
.citation-screen .data-check-file-stack-head>span:last-child:not(:first-child){color:#607590;font-weight:650}
.citation-manage-stack{--citation-manage-columns:minmax(0,1fr) 110px 38px 67px;display:flex;flex-direction:column;min-height:0;padding:18px}
.citation-search-field{display:block;min-width:0}
.citation-search-field input{width:100%;min-width:0;height:35px;margin:0;padding:7px 11px;border:1px solid #d9e1eb;border-radius:8px;background:#fff;color:#314968;font-size:12px}
.citation-search-field input::placeholder{color:#9aa7b7}
.citation-search-field input:focus{border-color:#7c9bd8;outline:2px solid rgb(124 155 216 / .17)}
.citation-manage-stack>.citation-search-field{margin:13px 0 10px}
.citation-table-head{display:grid;align-items:center;gap:8px;padding:10px;border-bottom:1px solid #cad7ed;border-radius:9px 9px 0 0;background:#f7f9fd;color:#31527f;font-size:12px;font-weight:750;line-height:1.4}
.citation-manage-table-head{grid-template-columns:var(--citation-manage-columns);flex:none;overflow-y:hidden;scrollbar-gutter:stable}
.citation-manage-table-head>span:not(:first-child){text-align:right}
.citation-table-body{display:block;min-height:115px;margin:0;overflow:auto}
.citation-manage-list{flex:1;min-height:0;max-height:none;scrollbar-gutter:stable}
.citation-table-empty{display:grid;place-items:center;min-height:95px;margin:0;padding:16px}
.citation-table-row{display:grid;align-items:center;gap:8px;min-width:0;padding:11px 10px;border-bottom:1px solid #e4eaf1;background:transparent;transition:background .15s}
.citation-table-row:hover{background:#f1f5fc}
.citation-table-row.is-active{background:#edf3ff;box-shadow:inset 3px 0 0 #5d83d1}
.citation-manage-list .citation-table-row{grid-template-columns:var(--citation-manage-columns)}
.citation-manage-list .citation-row-author,.citation-manage-list .citation-row-year{text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.citation-manage-list .citation-row-year{font-variant-numeric:tabular-nums}
.citation-row-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;min-width:0;max-width:100%;padding:0;background:transparent;color:#294364;text-align:left;font-size:13px;font-weight:750;line-height:1.5;overflow:hidden;overflow-wrap:anywhere;text-overflow:ellipsis;white-space:normal}
.citation-row-title:hover{color:#2455df}
.citation-row-byline{display:block;min-width:0;color:#526580;font-size:12px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.citation-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:3px;min-width:0}
.citation-row-actions button{display:grid;place-items:center;min-width:35px;min-height:28px;padding:3px 5px;border:1px solid #cad7ed;border-radius:6px;background:#fff;color:#3159a4;font-size:11px;font-weight:700;white-space:nowrap}
.citation-row-actions button:last-child{min-width:24px;font-size:16px}
.citation-row-actions button:hover{background:#e1ebfb;color:#2455df}
.citation-row-actions button:last-child:hover{background:#fff0f1;color:#ad4755}
.citation-empty{display:grid;place-content:center;justify-items:center;min-height:125px;padding:18px;color:#7d90aa;text-align:center}
.citation-empty-mark{color:#94a9c8;font-size:25px;line-height:1}
.citation-empty strong{margin-top:7px;color:#58708f;font-size:12px}
.citation-empty p{max-width:30ch;margin:6px 0 0;color:#8f9fb2;font-size:11px;line-height:1.6}
.citation-manage-list>.citation-empty{min-height:100%}
.citation-manage-actions{display:flex;flex:none;margin-top:auto}
.citation-open-details-button{min-height:48px;gap:6px;padding:12px 10px;font-size:13px;font-weight:750;white-space:nowrap}
.citation-manage-actions .citation-open-details-button{width:100%}

.citation-details-page{padding:0;border:0;background:transparent;box-shadow:none}
.citation-details-header{align-items:center;margin-bottom:17px}
.citation-details-header h2{margin:0}
.citation-details-header-actions{display:flex;align-items:center;gap:15px}
.citation-header-button{min-height:40px;padding:9px 15px;border-radius:9px;background:#eef2fa;color:#425371;box-shadow:0 10px 26px rgb(42 64 96 / .055);font-size:12px;white-space:nowrap}
.citation-header-button:hover:not(:disabled){background:#e5ecf8;color:#315ac2;box-shadow:0 13px 28px rgb(42 64 96 / .10);transform:none}
.citation-back-button{justify-content:center;background:#fff;box-shadow:0 10px 26px rgb(42 64 96 / .055),inset 0 0 0 1px #e2e8f2}
.citation-back-button:hover:not(:disabled){background:#f8faff}
.citation-batch-open{min-height:44px;padding:11px 18px;background:#2455df;color:#fff;font-size:13px;font-weight:750;box-shadow:0 10px 24px rgb(36 85 223 / .22)}
.citation-batch-open:hover:not(:disabled){background:#1742bd;color:#fff;box-shadow:0 13px 28px rgb(36 85 223 / .28)}
.citation-batch-open:disabled{background:#e2e9f8;color:#8497b7;box-shadow:none}
.citation-detail-layout{display:grid;grid-template-columns:minmax(0,1.48fr) minmax(320px,.95fr);align-items:stretch;gap:17px}
.citation-detail-library,.citation-detail-preview{display:flex;flex-direction:column;min-height:502px;padding:18px}
.citation-detail-tools{display:flex;align-items:center;gap:8px;margin:13px 0 9px}
.citation-detail-tools .citation-search-field{flex:1}
.citation-select-all{flex:none;margin:0;white-space:nowrap}
.citation-detail-table-head{grid-template-columns:20px minmax(0,1fr) minmax(88px,.48fr) 112px}
.citation-detail-list{flex:1;height:0;max-height:none;min-height:250px}
.citation-detail-list .citation-table-row{grid-template-columns:20px minmax(0,1fr) minmax(88px,.48fr) 112px}
.citation-row-select{width:15px;height:15px;margin:0;accent-color:#3159a4;cursor:pointer}
.citation-row-formats{display:flex;justify-content:flex-end;gap:4px}
.citation-row-formats button{min-width:48px;min-height:30px;padding:5px 7px;border:1px solid #b8caea;border-radius:7px;background:#fff;color:#3159a4;font-size:11px;font-weight:750;white-space:nowrap}
.citation-row-formats button:hover{border-color:#8aa8dc;background:#eaf1ff;color:#2455af}
.citation-row-formats button.is-active{border-color:#2455df;background:#2455df;color:#fff;box-shadow:0 4px 10px rgb(36 85 223 / .16)}
.citation-row-formats .citation-format-bib{border-color:#d2c4e5;color:#6947a8}
.citation-row-formats .citation-format-bib:hover{border-color:#bca5d4;background:#f3edf9;color:#634684}
.citation-row-formats .citation-format-bib.is-active{border-color:#6947a8;background:#6947a8;color:#fff;box-shadow:0 4px 10px rgb(105 71 168 / .16)}
.citation-preview-heading{gap:9px}
.citation-mode-tabs{display:flex;gap:3px;padding:3px;border:1px solid #dce5f0;border-radius:8px;background:#f2f6fc}
.citation-mode-tab{min-height:27px;padding:5px 9px;border-radius:6px;background:transparent;color:#71829c;font-size:11px;font-weight:700}
.citation-mode-tab.is-active,.citation-mode-tab[aria-selected="true"]{background:#fff;color:#3159a4;box-shadow:0 1px 5px rgb(32 62 109 / .1)}
.citation-preview-toolbar{display:flex;margin:14px 0 12px}
.citation-style-trigger{display:flex;align-items:center;gap:9px;min-height:36px;max-width:100%;padding:7px 10px;border:1px solid #d4dfed;border-radius:8px;background:#fff;color:#73849c;font-size:11px;text-align:left}
.citation-style-trigger:hover{border-color:#aabfdf;background:#f8faff}
.citation-style-trigger strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#3159a4;font-size:12px}
.citation-style-trigger>span:last-child{margin-left:auto;color:#7990b0;font-size:15px}
.citation-preview-empty{display:grid;place-content:center;justify-items:center;flex:1;min-height:240px;padding:23px;border:1px dashed #d4dfed;border-radius:9px;text-align:center}
.citation-preview-empty>span{color:#92a8ca;font-size:27px}
.citation-preview-empty strong{margin-top:7px;color:#506583;font-size:13px}
.citation-preview-empty p{max-width:26ch;margin:7px 0 0;color:#8c9ab0;font-size:11px;line-height:1.7}
#citation-preview-content{min-width:0}
#citation-preview-paper-title{margin:4px 0 5px;color:#294364;font-size:15px;font-weight:750;line-height:1.5;overflow-wrap:anywhere}
.citation-preview-source{margin:0 0 14px;color:#526580;font-size:12px;font-weight:600;line-height:1.6;overflow-wrap:anywhere}
.citation-preview-code{overflow:hidden;border:1px solid #dae4ef;border-radius:9px;background:#fff}
.citation-preview-code-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 10px;border-bottom:1px solid #e3eaf3;background:#f5f8fc;color:#627a9b;font-size:10px;font-weight:750}
.citation-preview-code-head .data-check-add-button{margin:0;padding:4px 8px}
.citation-preview-text{min-height:125px;max-height:280px;overflow:auto;padding:12px;color:#354e70;font-family:inherit;font-size:13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}
.citation-preview-text.is-bib{font-family:"Cascadia Code",Consolas,monospace;font-size:11px;line-height:1.75}
.citation-edit{margin-top:15px;padding-top:12px;border-top:1px solid #e2e9f1}
.citation-edit summary{color:#45648a;font-size:11px;font-weight:700;cursor:pointer}
.citation-edit-form{display:grid;gap:10px;margin-top:13px}
.citation-edit-form label{display:grid;gap:5px;color:#425b7d;font-size:12px;font-weight:700}
.citation-edit-form input{width:100%;min-width:0;min-height:34px;padding:7px 9px;border:1px solid #d9e2ec;border-radius:7px;background:#fff;color:#2c4666;font-size:11px;font-weight:500}
.citation-edit-form input:focus{border-color:#7c9bd8;outline:2px solid rgb(124 155 216 / .17)}
.citation-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.citation-edit-grid:has(>label:nth-child(3)){grid-template-columns:repeat(3,minmax(0,1fr))}
.citation-save-button{justify-self:start;min-height:37px;margin-top:2px;padding:8px 12px;border-radius:8px;font-size:11px}

.citation-dialog{width:min(760px,calc(100vw - 36px));max-width:none;max-height:calc(100vh - 54px);overflow:auto;padding:24px;border:1px solid #d7e1ed;border-radius:17px;background:#fff;color:#243956;box-shadow:0 26px 90px rgb(17 39 72 / .22)}
.citation-dialog::backdrop{background:rgb(20 36 61 / .48);backdrop-filter:blur(3px)}
.citation-dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:16px}
.citation-dialog-header h2{margin:5px 0 0;color:#294362;font-size:22px;line-height:1.35}
.citation-dialog-close{display:grid;place-items:center;flex:none;width:32px;height:32px;padding:0;border-radius:8px;background:#f2f5fa;color:#71819a;font-size:21px}
.citation-dialog-close:hover{background:#e8eff9;color:#3159a4}
.citation-style-dialog>.citation-search-field{margin-bottom:15px}
.citation-style-results{display:grid;gap:9px;max-height:55vh;overflow:auto}
.citation-style-group{padding:12px 14px;border:1px solid #e0e7f0;border-radius:10px;background:#fff}
.citation-style-group.is-selected{border-color:#b7cae9;background:#edf3ff}
.citation-style-group-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.citation-style-group-head h3{margin:0;color:#3d5576;font-size:13px}
.citation-style-description{margin:7px 0 0;color:#8897a9;font-size:11px;line-height:1.55}
.citation-style-options{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:6px}
.citation-style-option{min-height:27px;padding:5px 8px;border:1px solid #dbe4ef;border-radius:6px;background:#fff;color:#435d7f;text-align:center;font-size:11px;font-weight:700;white-space:nowrap}
.citation-style-option:hover,.citation-style-option.is-active{border-color:#87a7df;background:#dce9ff;color:#2455af}
.citation-style-credit{margin:16px 0 0;color:#94a2b3;font-size:10px;line-height:1.5;text-align:right}
.citation-style-credit a{color:#748cad}
.citation-batch-dialog{width:min(1080px,calc(100vw - 36px))}
.citation-batch-count{margin:0 0 12px;color:#607590;font-size:12px;font-weight:700}
.citation-batch-style{display:flex;align-items:center;gap:12px;margin-bottom:17px}
.citation-batch-style small{color:#8a99ad;font-size:11px;line-height:1.5}
.citation-batch-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.citation-batch-available,.citation-batch-selected{min-height:320px;padding:14px}
.citation-batch-available .data-check-file-stack-head .data-check-add-button{margin:0}
.citation-batch-available>.citation-search-field{margin:11px 0}
.citation-batch-list{max-height:315px;overflow:auto}
.citation-batch-list>label,.citation-batch-list>.citation-table-row{display:grid;grid-template-columns:18px minmax(0,1fr) minmax(75px,.45fr);align-items:center;gap:8px;min-height:40px;padding:8px 9px;border-bottom:1px solid #e5ebf2;color:#3c5677;font-size:11px}
.citation-batch-list input[type="checkbox"]{width:14px;height:14px;accent-color:#3159a4}
.citation-batch-list .citation-row-title{font-size:11px}
.citation-order-list{display:grid;align-content:start;gap:7px;max-height:350px;overflow:auto;margin:12px 0 0;padding:0;list-style:none}
.citation-order-empty{padding:17px;color:#93a1b3;text-align:center;font-size:11px}
.citation-order-item{display:grid;grid-template-columns:14px 22px minmax(0,1fr) auto;align-items:center;gap:6px;min-width:0;padding:8px;border:1px solid #e0e8f1;border-radius:7px;background:#fff;cursor:grab}
.citation-order-item.is-dragging{opacity:.46;border-style:dashed}
.citation-order-handle{color:#a9b7c9;font-size:14px}
.citation-order-index{color:#8ba0bc;font-size:10px;font-weight:800}
.citation-order-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#3a5375;font-size:11px;font-weight:650}
.citation-order-actions{display:flex;gap:3px}
.citation-order-actions button{display:grid;place-items:center;width:24px;height:24px;padding:0;border:1px solid #e0e7f0;border-radius:6px;background:#fff;color:#657c9d;font-size:12px}
.citation-order-actions button:hover:not(:disabled){border-color:#adc2e3;background:#eef4ff;color:#3159a4}
.citation-order-actions button:disabled{opacity:.38}
.citation-batch-footer{display:flex;justify-content:flex-end;gap:9px;margin-top:18px;padding-top:16px;border-top:1px solid #e3eaf2}
.citation-batch-footer .selfcheck-run-button{min-width:150px;min-height:40px;padding:9px 14px;border-radius:9px;font-size:12px}
.citation-batch-footer .selfcheck-run-button small{margin-left:3px;font-size:10px;opacity:.8}
.citation-export-bib{background:#edf3ff;color:#3159a4}
.citation-export-bib:hover:not(:disabled){background:#e2ebff}
.citation-batch-footer button:disabled{opacity:.5;cursor:not-allowed}
#citation-batch-status:not(:empty){margin:14px 0 0}

@media(max-width:1240px){
  .entry-screen>.landing-workflow .workflow-rail{grid-template-columns:repeat(6,minmax(0,1fr))!important}
  .entry-screen>.landing-workflow .workflow-module{grid-column:span 2}
  .entry-screen>.landing-workflow .workflow-module:nth-child(n+4){grid-column:span 3}
}
@media(max-width:1180px){
  .citation-detail-layout{grid-template-columns:minmax(0,1fr)}
  .citation-detail-library,.citation-detail-preview{min-height:0}
  .citation-detail-list{height:auto;max-height:500px;min-height:145px}
}
@media(max-width:1100px){
  .service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:900px){
  .citation-shell:has(.citation-manage-page:not([hidden])){display:block;height:auto;min-height:0}
  .citation-manage-form{grid-template-columns:minmax(0,1fr);grid-template-rows:auto;height:auto}
  .citation-upload-side{height:360px}
  .citation-manage-stack{height:420px;min-height:420px}
}
@media(max-width:760px){
  .entry-screen>.landing-workflow .workflow-rail,.service-grid{grid-template-columns:minmax(0,1fr)!important}
  .entry-screen>.landing-workflow .workflow-module,.entry-screen>.landing-workflow .workflow-module:nth-child(n+4){grid-column:auto;min-height:238px!important}
  .service-grid .service-card{min-height:238px!important}
  .citation-screen{min-height:calc(100vh - 64px)}
  .citation-shell{width:calc(100% - 36px);padding:30px 0 54px}
  .citation-heading-count{display:none}
  .citation-page{padding:0}
  .citation-details-header{align-items:flex-start}
  .citation-details-header-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px}
  .citation-batch-layout{grid-template-columns:minmax(0,1fr)}
  .citation-batch-available,.citation-batch-selected{min-height:0}
  .citation-dialog{padding:18px}
}
@media(max-width:560px){
  .citation-heading{flex-wrap:wrap}
  .citation-heading-actions{margin-left:auto}
  .citation-details-header{flex-direction:column}
  .citation-details-header-actions{width:100%;justify-content:space-between}
  .citation-detail-table-head,.citation-manage-table-head{display:none}
  .citation-manage-list .citation-table-row{grid-template-columns:minmax(0,1fr) 38px 59px;gap:3px 8px}
  .citation-manage-list .citation-row-title{grid-column:1 / span 2}
  .citation-manage-list .citation-row-author{grid-column:1;grid-row:2;text-align:left}
  .citation-manage-list .citation-row-year{grid-column:2;grid-row:2}
  .citation-manage-list .citation-row-actions{grid-column:3;grid-row:1 / span 2}
  .citation-detail-list .citation-table-row{grid-template-columns:18px minmax(0,1fr) auto;gap:3px 7px}
  .citation-detail-list .citation-row-select{grid-column:1;grid-row:1 / span 2}
  .citation-detail-list .citation-row-title{grid-column:2;grid-row:1}
  .citation-detail-list .citation-row-byline{grid-column:2;grid-row:2}
  .citation-detail-list .citation-row-formats{grid-column:3;grid-row:1 / span 2}
  .citation-row-formats button{min-width:38px;padding:4px}
  .citation-style-group-head{align-items:flex-start;flex-direction:column}
  .citation-style-options{justify-content:flex-start}
  .citation-batch-style{align-items:flex-start;flex-direction:column}
  .citation-batch-footer{flex-direction:column}
  .citation-batch-footer .selfcheck-run-button{width:100%}
}
@media(max-width:370px){
  .citation-edit-grid,.citation-edit-grid:has(>label:nth-child(3)){grid-template-columns:minmax(0,1fr)}
  .citation-row-formats{flex-direction:column}
}
