
/* Personal center shares the same presentation in desktop and hosted workspaces. */
.download-action{margin:14px 0}.download-action a{text-decoration:none}#account-dialog .download-action a.btn.primary{color:#fff}.download-hash{margin:12px 0}.download-hash code{display:block;overflow-wrap:anywhere;font-size:11px}
#account-dialog{max-width:calc(100vw - 32px)}
#account-dialog .actions{flex-wrap:wrap}
#account-dialog [hidden]{display:none!important}
.version-card,.roadmap-card{padding:20px;margin:0 0 16px;border:1px solid #e6e0f1;border-radius:16px;background:#faf8fe}
.roadmap-card{background:#fff}
.version-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
.version-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:14px}
.version-grid strong{display:block;font-size:22px;font-weight:600;overflow-wrap:anywhere}
.version-card h4{margin:16px 0 0}
.version-card progress{width:100%;height:8px;accent-color:#7563d7;margin:0 0 12px}
.version-card .update-notes,.roadmap-card .update-notes{margin:10px 0;overflow-wrap:anywhere}
:root{--ink:#292734;--muted:#96939f;--accent:#7563d7;--accent-soft:#efebfa;--paper:#fff;--bg:#f6f5f8;--line:#efedf3;--green:#4a987b;--orange:#c99154;--rose:#cd7185;--font:'Workspace Sans','Segoe UI','Microsoft YaHei',sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:13px/1.6 var(--font);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;border:0;background:transparent;transition:background .16s,transform .16s,box-shadow .16s}button:disabled{opacity:.4;cursor:not-allowed}button:hover:not(:disabled){background:#f0edf6}button:active:not(:disabled){transform:translateY(1px)}button:focus-visible,a:focus-visible{outline:3px solid #c8bdf3;outline-offset:2px}input,select,textarea{border:0;outline:none;background:#f6f5f8;border-radius:10px;padding:11px 13px;width:100%;min-width:0}input:focus,select:focus,textarea:focus{box-shadow:0 0 0 2px #d7cef3;background:#faf9fc}textarea{resize:vertical;line-height:1.8}h1,h2,h3,h4,p{margin:0}h1{font-size:25px;font-weight:600;letter-spacing:-.8px}h2{font-size:18px;font-weight:600;letter-spacing:-.4px}h3{font-size:14px;font-weight:550}small,.muted{color:var(--muted)}svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex:none}.shell{display:grid;grid-template-columns:194px 1fr;height:100vh;overflow:hidden}.sidebar{background:#faf9fc;display:flex;flex-direction:column;padding:27px 18px 20px;gap:28px}.brand{display:flex;align-items:center;gap:10px;padding:0 8px;font-weight:600;font-size:17px;letter-spacing:-.6px}.brand-mark{display:grid;place-items:center;width:35px;height:35px;border-radius:12px;background:var(--accent);color:white;font-size:18px;font-weight:500;box-shadow:0 4px 12px #7563d72b}.brand small{display:block;font-size:10px;font-weight:400;letter-spacing:1.5px;line-height:1.5}.nav-label{font-size:10px;letter-spacing:1.4px;color:#aaa5b5;margin:0 12px 12px}.nav{display:flex;flex-direction:column;gap:7px}.nav button{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:12px;color:#8a8496;text-align:left}.nav button.active{background:#ede8f8;color:#7562bd;font-weight:500}.nav button svg{width:19px}.sidebar-bottom{margin-top:auto}.account-mini{display:flex;gap:10px;align-items:center;background:#f0edf6;border-radius:14px;padding:12px;margin-top:20px}.account-mini strong{font-size:11px;display:block;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:98px}.account-mini small{font-size:10px}.avatar{width:39px;height:39px;border-radius:14px;background:#ebe7f6;color:#8b79ba;display:grid;place-items:center;font-size:14px;flex:none}.avatar.peach{background:#f9ebe2;color:#bd9479}.avatar.sage{background:#e7efea;color:#7d9f8b}.avatar.blue{background:#e7edf6;color:#819abb}.avatar.rose{background:#f5e7ed;color:#b4889b}.main{padding:28px 30px 18px;min-width:0;display:flex;flex-direction:column;overflow:hidden}.topbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:23px}.topbar p{font-size:12px;color:var(--muted);margin-top:4px}.actions{display:flex;gap:9px;align-items:center}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:10px;padding:9px 14px;background:white;white-space:nowrap;font-size:12px}.btn svg{width:16px;height:16px}.btn.primary{background:var(--accent);color:white;box-shadow:0 4px 12px #7563d724}.btn.primary:hover{background:#6754c5}.btn.soft{background:var(--accent-soft);color:#7b65bf}.btn.danger{color:#bb7081;background:#f8edf0}.btn.ghost{background:transparent;color:var(--muted)}.live{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:#8b8695}.dot{width:6px;height:6px;display:inline-block;border-radius:50%;background:#b3aebc}.dot.on{background:#70ae92;box-shadow:0 0 0 4px #e6f1ea}.stats{display:flex;align-items:center;gap:40px;margin:0 0 22px;padding:0 4px}.stat{display:flex;flex-direction:column;gap:1px;min-width:105px}.stat span{font-size:11px;color:#9994a3}.stat b{font-size:27px;letter-spacing:-1px;font-weight:500;font-variant-numeric:tabular-nums}.stat b em{font-size:11px;color:#aaa4b4;font-weight:400;letter-spacing:0;font-style:normal;margin-left:7px}.stat-note{margin-left:auto;max-width:240px;font-size:10px;color:#a7a1af;text-align:right}.workspace{display:grid;grid-template-columns:270px minmax(300px,1fr) 270px;gap:16px;min-height:0;flex:1}.panel{background:var(--paper);border-radius:19px;min-height:0;overflow:hidden;box-shadow:0 3px 18px #35304503}.contact-panel{display:flex;flex-direction:column}.panel-heading{padding:20px 20px 14px;display:flex;align-items:center;justify-content:space-between}.pill{font-size:10px;border-radius:6px;padding:3px 7px;background:#f4f2f8;color:#9c91b4;white-space:nowrap}.pill.purple{background:#eee9f8;color:#947ec3}.pill.orange{background:#faf0e3;color:#c79b60}.pill.rose{background:#f8eaf0;color:#c4879a}.pill.green{background:#e9f3ee;color:#76a38b}.search{position:relative;margin:0 15px 12px}.search svg{position:absolute;left:12px;top:11px;width:15px;height:15px;color:#aaa4b4}.search input{padding-left:35px;font-size:11px;background:#f7f6f9}.filter-row{display:flex;gap:6px;padding:0 16px 14px;overflow:auto}.chip{font-size:10px;padding:5px 10px;border-radius:7px;white-space:nowrap;color:#aaa3b3}.chip.active{background:#f0ecf8;color:#8a76bc}.contact-list{overflow-y:auto;flex:1;padding:0 9px 12px}.contact-item{display:flex;gap:11px;padding:14px 11px;border-radius:13px;text-align:left;width:100%;margin:3px 0}.contact-item.active{background:#f2eff9}.contact-item .avatar{width:36px;height:36px;border-radius:12px;font-size:13px}.contact-copy{min-width:0;flex:1}.contact-line{display:flex;justify-content:space-between;align-items:center;gap:4px;margin-bottom:4px}.contact-name{font-size:12px;font-weight:500}.contact-time{font-size:9px;color:#b5aebf}.contact-copy p{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#a29aaa;margin-bottom:7px}.contact-foot{display:flex;align-items:center;justify-content:space-between}.count-dot{font-size:9px;background:#a08bc9;color:white;border-radius:6px;padding:0 5px;min-width:15px;text-align:center}.empty{padding:30px 24px;text-align:center;color:#aaa3b3;font-size:12px;line-height:2}.empty svg{width:35px;height:35px;margin-bottom:12px;color:#c7bedb}.chat-panel{display:flex;flex-direction:column}.chat-head{padding:19px 23px;display:flex;align-items:center;gap:11px;border-bottom:1px solid #f6f4f8}.chat-head .spacer{flex:1}.chat-head h3{font-size:14px}.chat-head small{font-size:10px}.chat-history{flex:1;overflow-y:auto;padding:20px 24px;background:#fff;min-height:100px}.day-label{text-align:center;font-size:9px;color:#beb7c6;margin:0 0 22px}.message{display:flex;gap:9px;margin:17px 0;max-width:90%;align-items:flex-start}.message.out{margin-left:auto;flex-direction:row-reverse}.message .avatar{width:27px;height:27px;font-size:10px;border-radius:9px}.bubble-wrap{min-width:0}.message-meta{font-size:9px;color:#bab2c4;margin-bottom:6px}.out .message-meta{text-align:right}.bubble{background:#f5f4f8;border-radius:3px 13px 13px 13px;padding:12px 15px;line-height:1.9;font-size:12px;overflow-wrap:anywhere;white-space:pre-wrap}.out .bubble{background:#eee9f9;color:#72618d;border-radius:13px 3px 13px 13px}.history-note{font-size:9px;color:#c5becd;text-align:center;margin-top:22px}.composer{padding:15px 20px 17px;background:#fcfbfd}.composer-tools{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px;font-size:10px;color:#a298ae}.composer textarea{background:transparent;padding:0;resize:none;min-height:75px;font-size:12px;line-height:1.9;box-shadow:none}.composer .source{font-size:9px;color:#b4a9c2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:7px 0 12px}.composer-bottom{display:flex;align-items:center;gap:6px}.composer-bottom .spacer{flex:1}.composer-bottom .btn{font-size:10px;padding:7px 10px}.inspector{display:flex;flex-direction:column;gap:14px;overflow:auto}.profile-panel{padding:20px}.profile-top{display:flex;gap:11px;align-items:center;margin-bottom:18px}.profile-top .avatar{width:43px;height:43px;border-radius:15px}.profile-top small{font-size:10px}.section-label{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px}.section-label h3{font-size:12px;font-weight:500}.section-label small{font-size:9px}.info-row{display:flex;justify-content:space-between;gap:10px;margin:11px 0;font-size:10px}.info-row .label{color:#ada4b8}.reason{padding:10px 12px;background:#f7f5fb;border-radius:9px;font-size:10px;color:#a295b5;line-height:1.8}.stage-track{display:flex;gap:5px;margin:17px 0 10px}.stage-track i{height:4px;border-radius:5px;background:#eeebf4;flex:1}.stage-track i.on{background:#b4a3d6}.note{color:#a79bb4;font-size:10px;line-height:1.9;background:#faf8fc;border-radius:10px;padding:11px 12px;margin-top:14px}.product-mini{margin-top:18px;padding-top:16px;border-top:1px solid #f2eff6}.product-icon{width:35px;height:35px;border-radius:10px;background:#f4f1ea;color:#b4a388;display:grid;place-items:center}.product-name{font-size:11px;font-weight:500}.product-spec{font-size:9px;color:#aaa0b6;margin-top:3px}.timeline-panel{padding:18px 20px;overflow:visible;flex-shrink:0}.timeline-item{position:relative;padding:0 0 16px 17px;margin-left:3px;border-left:1px solid #eee9f4}.timeline-item:before{content:'';position:absolute;width:5px;height:5px;border-radius:50%;background:#bfb0d6;left:-3px;top:5px}.timeline-item:last-child{border-left-color:transparent;padding-bottom:0}.timeline-item strong{font-size:10px;font-weight:500;color:#9c8eaf}.timeline-item p{font-size:9px;color:#b4a7c1;line-height:1.8;margin:4px 0;overflow-wrap:anywhere}.timeline-item small{font-size:8px;color:#c8bdd2}.bottom-status{display:flex;align-items:center;gap:9px;font-size:10px;color:#aaa2b5;padding:12px 2px 0;min-height:25px}.bottom-status .spacer{flex:1}.error-banner{background:#f9e9ef;color:#b97889;border-radius:11px;padding:9px 15px;margin-bottom:14px;font-size:11px;display:flex;justify-content:space-between;gap:12px}.page-scroll{overflow:auto;flex:1;padding:1px 1px 16px}.page-toolbar{display:flex;gap:10px;align-items:center;margin-bottom:19px}.page-toolbar input{max-width:300px;background:white}.page-toolbar .spacer{flex:1}.table-wrap{background:white;border-radius:18px;overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px}th{text-align:left;font-size:10px;color:#afa6bc;font-weight:400;padding:18px 22px;background:#fdfcfe}td{padding:19px 22px;border-top:1px solid #f7f5fa;color:#897d99}td strong{font-weight:500;color:#665b75}tr[data-cid]{cursor:pointer}tr[data-cid]:hover{background:#faf8fe}.table-name{display:flex;align-items:center;gap:12px}.board{display:grid;grid-template-columns:repeat(4,minmax(210px,1fr));gap:18px;min-width:850px}.board-column{background:#efeaf4a8;border-radius:16px;padding:15px;min-height:380px}.board-title{display:flex;justify-content:space-between;align-items:center;margin:0 4px 15px;font-size:12px;color:#9d8eaf}.board-card{display:block;background:white;border-radius:12px;padding:17px;text-align:left;width:100%;margin-bottom:11px;box-shadow:0 4px 12px #45305404}.board-card .row{display:flex;gap:10px;align-items:center;margin-bottom:12px}.board-card p{font-size:11px;color:#afa1be;margin-bottom:10px}.board-card small{font-size:9px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;max-width:1100px}.settings-card{background:#fff;border-radius:18px;padding:26px}.settings-card h2{font-size:17px;margin-bottom:7px}.settings-card p{font-size:11px;color:#ada1ba;line-height:1.9;margin-bottom:20px}.form-row{margin:15px 0}.form-row label{display:block;font-size:11px;color:#a699b4;margin-bottom:7px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.check{display:flex;align-items:center;gap:9px;margin:13px 0;font-size:11px;color:#9f91ae}.check input{width:15px;height:15px;accent-color:var(--accent)}details{background:white;border-radius:18px;padding:20px 25px;margin-top:20px}summary{cursor:pointer;font-size:13px;color:#9888ab}details p{font-size:11px;color:#b2a2c2;margin:12px 0}.selector-row{display:grid;grid-template-columns:130px 1fr 65px;gap:10px;align-items:center;margin:10px 0;font-size:11px}.binding-flow{display:flex;gap:12px;margin:22px 0}.binding-step{flex:1;padding:16px 14px;background:#f7f4fb;border-radius:12px;font-size:11px;color:#aa99bc}.binding-step b{display:block;font-size:17px;color:#c2b2d6;font-weight:400;margin-bottom:6px}.binding-step.done{background:#edf5ef;color:#86a38e}.sync-detail{margin-top:20px;padding:15px 17px;border-radius:12px;background:#f8f6fb;font-size:11px;line-height:2;color:#a796bc}.quick-grid{display:flex;flex-wrap:wrap;gap:8px}.quick-grid button{background:#f3eef9;border-radius:8px;font-size:10px;padding:6px 10px;color:#9a84b7}.blank-welcome{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;padding:40px;gap:12px;text-align:center}.welcome-art{width:104px;height:104px;border-radius:34px;background:#efebf7;display:grid;place-items:center;margin-bottom:14px;transform:rotate(-7deg)}.welcome-art svg{width:43px;height:43px;color:#b1a0ce;transform:rotate(7deg)}.blank-welcome h2{font-size:19px;font-weight:500;color:#8f7fa4}.blank-welcome p{font-size:11px;line-height:2;color:#b2a5c1;max-width:290px}.boot{display:grid;place-content:center;justify-items:center;height:100vh;gap:15px}.boot p{color:var(--muted)}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%) translateY(25px);background:#4b415b;color:white;padding:12px 22px;border-radius:12px;font-size:12px;box-shadow:0 8px 40px #50405c22;opacity:0;pointer-events:none;transition:.2s;z-index:100}#toast.show{opacity:1;transform:translateX(-50%)}dialog{border:0;border-radius:22px;padding:28px;box-shadow:0 30px 100px #35244622;width:min(650px,90vw);max-height:88vh;color:var(--ink)}dialog::backdrop{background:#2f253b38;backdrop-filter:blur(4px)}dialog h2{margin-bottom:6px}dialog>p{font-size:11px;color:#a897ba;margin-bottom:18px}.dialog-actions{display:flex;gap:10px;justify-content:flex-end;padding-top:18px}.confirm-text{white-space:pre-wrap;background:#f7f4fb;border-radius:12px;padding:18px;max-height:40vh;overflow:auto;font-size:12px;line-height:1.9}.modal-close{float:right;border-radius:8px;padding:3px 7px;color:#aaa}.file-input{display:none}::-webkit-scrollbar{width:5px;height:5px}::-webkit-scrollbar-thumb{background:#ded7e8;border-radius:8px}::-webkit-scrollbar-track{background:transparent}@media(max-width:1300px){.shell{grid-template-columns:166px 1fr}.sidebar{padding:24px 12px}.main{padding:23px 20px 14px}.workspace{grid-template-columns:235px minmax(280px,1fr) 235px;gap:12px}.stats{gap:22px}.stat{min-width:85px}.stat-note{max-width:180px}.profile-panel{padding:17px}.topbar h1{font-size:23px}.contact-item{padding:12px 9px}.chat-history{padding:17px}.chat-head{padding:17px}.message{max-width:96%}.btn{padding:8px 11px}}@media(max-width:1120px){.workspace{grid-template-columns:220px minmax(280px,1fr)}.inspector{display:none}.stat-note{display:none}.settings-grid{grid-template-columns:1fr}.stats{gap:30px}.main{padding:20px}.topbar .live{display:none}}

/* Readable type and non-collapsing detail panels. */
.profile-panel{flex-shrink:0}.brand small{white-space:nowrap;font-size:9px}.brand{font-size:16px}.nav button{font-size:12px;white-space:nowrap}.contact-name{font-size:13px}.contact-copy p{font-size:11px}.bubble,.composer textarea{font-size:13px}.bubble{color:#62596f}.out .bubble{color:#74618e}.contact-time,.message-meta{font-size:10px}.reason{color:#8f809e}.info-row{font-size:11px}.profile-top small{font-size:10px}.timeline-item strong{color:#8d7b9f}.timeline-item p{color:#9e8db0;font-size:10px}.chat-head h3{font-size:15px}.panel-heading h3{font-size:14px}.sync-detail{white-space:pre-line}.profile-panel .btn{font-size:11px}.profile-panel .info-row span:last-child{text-align:right;max-width:145px}.profile-panel .note{overflow-wrap:anywhere}

.brand-mark{flex:none}.account-mini small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:102px}.account-mini strong{font-size:11px}.contact-panel .panel-heading,.contact-panel .filter-row,.contact-panel .search{flex-shrink:0}
/* Script workspace: quiet editorial cards and generous reading space. */
.script-heading{display:flex;align-items:center;justify-content:space-between;margin:10px 0 28px;gap:20px}.script-heading h2{font-size:26px;font-weight:500;letter-spacing:-.7px;margin:8px 0}.script-heading p{color:#87848e;font-size:13px;margin:0}.eyebrow{font-size:11px;color:#90859e;letter-spacing:1px}.script-tabs{display:flex;align-items:center;gap:28px;border-bottom:1px solid #e9e6ed;margin-bottom:24px}.script-tabs>button{border:0;background:none;padding:0 0 15px;color:#8b8792;font:inherit;font-size:14px;cursor:pointer;border-bottom:2px solid transparent}.script-tabs>button.active{color:#62517b;border-color:#8870aa}.script-tabs span:not(.spacer){font-size:11px;margin-left:6px;color:#96909f}.script-tabs small{font-size:11px;color:#97909e;margin-bottom:14px}.pack-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.pack-card{background:#f0edf5;border-radius:22px;padding:24px}.pack-1{background:#f6eee8}.pack-2{background:#eaf0ed}.pack-3{background:#f5ecef}.pack-4{background:#eaf0f5}.pack-5{background:#f3f0e7}.pack-number{font-size:12px;color:#92889b;letter-spacing:2px}.pack-card h3{font-size:21px;font-weight:500;margin:14px 0 9px}.pack-card p{font-size:12px;color:#79727f;line-height:1.8;min-height:44px}.pack-scenes{display:flex;gap:7px;flex-wrap:wrap;margin:20px 0 28px}.pack-scenes span{font-size:10px;color:#807687;background:#ffffff70;border-radius:6px;padding:5px 8px}.pack-card small,.script-card small{font-size:10px;color:#958c9c}.pack-card .btn{padding:7px 9px;font-size:11px}.script-toolbar{display:flex;align-items:center;gap:20px;margin-bottom:22px}.script-filters{display:flex;gap:8px;flex-wrap:wrap;flex:1}.script-toolbar input{width:240px;flex-shrink:0;background:#fff;border:0;border-radius:10px;padding:11px 14px;font:inherit;font-size:12px;outline-color:#b6a6ca}.script-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.script-card{background:#fff;border-radius:18px;padding:21px 23px;display:flex;flex-direction:column}.script-card h3{font-size:15px;font-weight:500;margin:13px 0 10px}.script-card>p{font-size:13px;color:#77717e;line-height:1.95;white-space:pre-wrap;overflow-wrap:anywhere;flex:1;margin:0 0 20px}.script-card mark{color:#88709e;background:#f6f0fa;border-radius:4px;padding:1px 3px}.script-category{font-size:10px;color:#a499ad}.script-footnote{font-size:11px;color:#9b929f;margin-top:20px}.disabled-script{opacity:.65}.scripts-empty{grid-column:1/-1;text-align:center;padding:65px 20px}.empty-script-icon{display:inline-flex;background:#ede7f4;color:#8f76aa;padding:20px;border-radius:22px}.empty-script-icon svg{width:25px;height:25px}.scripts-empty h3{font-size:18px;font-weight:500}.scripts-empty p{font-size:13px;color:#8b8393;margin-bottom:24px}.variable-hint{font-size:11px;line-height:1.9;background:#f7f4fa;color:#9986ab;padding:12px;border-radius:10px;margin-bottom:16px}.script-variable-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.preview-label{display:flex;justify-content:space-between;font-size:12px;color:#9a8ca7;margin:16px 0 10px}.script-preview{white-space:pre-wrap;overflow-wrap:anywhere;padding:20px;line-height:1.9;font-size:14px;border-radius:16px;background:#f3eef8;color:#675875}.pack-preview{max-height:50vh;overflow:auto}.pack-preview article{padding:15px 0;border-bottom:1px solid #f1edf5}.pack-preview h3{font-size:14px;font-weight:500}.pack-preview small{color:#9a8ba8}.pack-preview p{font-size:13px;line-height:1.9;white-space:pre-wrap;color:#807688}@media(max-width:1250px){.pack-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.script-tabs small{display:none}}@media(max-width:900px){.script-grid{grid-template-columns:1fr}.script-toolbar{flex-wrap:wrap}}
/* Reusable media inside the knowledge workspace. */
.knowledge-tabs{display:flex;gap:25px;align-items:center;border-bottom:1px solid #e9e6ed;margin-bottom:25px}.knowledge-tabs button{padding:0 0 14px;font-size:14px;color:#968c9f;border-bottom:2px solid transparent}.knowledge-tabs button.active{border-color:#8d75ad;color:#6d568a}.knowledge-tabs span:not(.spacer){font-size:11px;margin-left:5px}.knowledge-tabs small{font-size:11px;color:#a59cab}.media-heading{display:flex;justify-content:space-between;align-items:center;margin:5px 0 24px;gap:16px}.media-heading h2{font-weight:500;font-size:23px}.media-heading p{font-size:12px;color:#978b9e;margin-top:7px}.media-toolbar{display:flex;align-items:center;gap:20px;margin:0 0 20px}.media-toolbar .filter-row{padding:0;flex:1}.media-toolbar input{width:290px;background:white;font-size:12px}.media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.media-card{background:white;border-radius:20px;overflow:hidden}.media-thumb{width:100%;height:185px;display:block;position:relative;background:#ebe7ee;padding:0}.media-thumb img,.media-thumb video{width:100%;height:100%;object-fit:contain}.video-badge{position:absolute;left:12px;bottom:12px;padding:4px 9px;background:#292332aa;color:white;font-size:10px;border-radius:7px}.media-card-info{padding:18px 20px}.media-card h3{font-weight:500;font-size:15px;margin:9px 0 5px;overflow-wrap:anywhere}.media-card p{font-size:11px;color:#a093a9;margin-bottom:14px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:55px;overflow:auto}.media-card small{font-size:10px;color:#9d93a6}.media-large{height:300px;border-radius:16px;overflow:hidden;background:#eeebf1;margin:12px 0 16px;display:flex;align-items:center;justify-content:center}.media-large img,.media-large video{max-width:100%;max-height:100%;object-fit:contain}.media-details{font-size:11px;color:#a293b0;margin:10px 0}.upload-drop{display:flex;flex-direction:column;align-items:center;padding:25px;background:#f4eff8;border-radius:18px;color:#8a729f;gap:9px;margin:15px 0}.upload-drop svg{width:28px;height:28px}.upload-drop span{font-size:11px}.upload-drop input{font-size:12px;max-width:100%;width:auto;background:transparent;padding:4px}.upload-drop strong{font-weight:500}#upload-files-list{white-space:pre-wrap;max-height:100px;overflow:auto;margin:12px 0;font-size:11px}#upload-progress{white-space:pre-wrap;color:#9175a3;font-size:12px}.delivery-list{max-height:50vh;overflow:auto}.delivery-list article{padding:16px 0;border-bottom:1px solid #efeaf4}.delivery-list strong{font-size:13px;font-weight:500}.delivery-list p{font-size:12px;margin:8px 0;color:#9787a2}.delivery-list small{font-size:10px;color:#a497af}.media-settings{margin-top:18px}.composer-bottom{flex-wrap:wrap;row-gap:5px}.composer-bottom .btn{padding:8px 10px}@media(max-width:1250px){.media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.knowledge-tabs small{display:none}.media-heading{align-items:flex-start;flex-wrap:wrap}}
.favorite-button{font-size:19px;padding:0 5px;color:#aa9eaf;background:transparent}.favorite-button[aria-pressed=true]{color:#b18b51}.library-filters{display:flex;align-items:center;gap:15px;margin-bottom:20px;flex-wrap:wrap}.library-filters select{width:auto;min-width:130px;font-size:12px;background:white}.library-filters .check{margin:0;font-size:12px}.readiness{margin:0 0 22px}.readiness h2{font-size:17px;font-weight:500}.readiness small{font-size:11px;color:#9a90a3}.readiness-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:14px}.readiness-grid article{background:#f0ecf5;border-radius:16px;padding:18px}.readiness-grid strong{font-size:13px;font-weight:500}.readiness-grid p{font-size:11px;line-height:1.9;color:#998ba4;margin-top:12px}.review-evidence{background:#f6f2f8;border-radius:12px;padding:14px;font-size:12px;line-height:1.9;color:#8d7b9b;margin:10px 0 15px;white-space:pre-wrap;overflow-wrap:anywhere}.send-problem{padding:13px 15px;border-radius:12px;background:#f8eee6;color:#a38164;font-size:12px;margin-top:12px;line-height:1.8}.btn[href]{color:var(--muted);text-decoration:none}.script-toolbar>.chip{white-space:nowrap}
#editor-status{font-size:10px;color:#9a90a5;flex:1;text-align:right;margin:0 10px}#editor-status.save-error{color:#b47d6b}.import-summary{display:flex;gap:35px;padding:20px;background:#f3eff7;border-radius:16px;margin-bottom:16px}.import-summary span{font-size:11px;color:#9685a4}.import-summary b{display:block;font-size:25px;font-weight:500;color:#735f85}.import-items{max-height:38vh;overflow:auto}.import-items p{padding:12px 0;border-bottom:1px solid #f1edf4}.import-items strong{font-size:13px;font-weight:500}.import-items small{display:block;font-size:11px;color:#a293ad;margin-top:4px}.composer-tools{flex-wrap:wrap;gap:3px}.script-heading>.actions{flex-wrap:wrap}
.media-card-info .row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.media-card-info .row .spacer{flex:1}.media-card-info .row .btn{padding:8px 12px}.media-heading>.actions{flex-wrap:wrap}.import-items small{color:#776880}#editor-status{color:#776c82}

/* Reception setup keeps its commit action reachable while editing business facts. */
dialog.reception-dialog{width:min(780px,94vw)}.reception-dialog .form-row small{display:block;margin-top:5px;line-height:1.7}.reception-dialog .dialog-actions{position:sticky;bottom:-28px;background:#fff;padding:16px 0;border-top:1px solid #eeeaf2;margin-top:16px}.reception-dialog details{margin:16px 0}.reception-dialog summary{margin-bottom:14px}#reception-summary{margin-bottom:20px}

.health-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:20px 0}.health-grid strong{display:block;font-size:26px;font-weight:600}.health-grid span{display:block;color:#777381;font-size:12px;margin-top:4px}.health-issues>div{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-top:1px solid #eeeaf2}.health-issues small{display:block;color:#777381;margin-top:5px}.reception-health{background:#faf9fc}

.reception-health p,.reception-health small{color:#625d70}.reception-health .muted{line-height:1.8}

.account-login{height:100vh;display:grid;place-items:center;background:radial-gradient(ellipse at 20% 10%,#ede6fa,transparent 55%),#f6f5f8}.account-login section{width:410px;background:white;border-radius:24px;padding:38px;box-shadow:0 20px 80px #5d437a0c}.account-login .brand-mark{display:inline-grid;margin-bottom:24px;width:48px;height:48px;font-size:26px}.account-login h1{font-size:24px}.account-login p{color:#96899f;line-height:1.9;margin:14px 0}.account-login .field{display:block;margin:18px 0}.account-login .field span{display:block;margin:0 0 7px}.account-login button{width:100%;padding:12px;margin:10px 0 24px}.account-login small{color:#afa4b9;font-size:10px}.account-error{color:#ba6176!important;font-size:12px}.update-notes{white-space:pre-wrap;line-height:1.9;margin:16px 0;color:#82738f}.account-summary{background:#f6f3fa;padding:18px;border-radius:12px;margin-bottom:22px}.account-summary p,#update-progress{margin:12px 0;color:#94849f}#account-dialog{width:600px}
[data-update-available="true"]::after{content:"有更新";font-size:9px;padding:1px 5px;background:#e8dff9;color:#7d59ba;border-radius:5px;white-space:nowrap}

/* Xingyu identity; keep existing workspace layout. */
.brand{font-size:15px;letter-spacing:0;padding:0 2px;gap:8px}.brand-mark{flex:none;object-fit:contain;background:transparent;box-shadow:none;border-radius:0}.account-login{background:#f3f6f4}.account-login .btn.primary{background:#28634d}.account-login h1{letter-spacing:0}.account-login small{color:#738278}

.account-service{margin-top:24px;padding-top:20px;border-top:1px solid #e7ebe7}.account-service h3{margin:16px 0 8px}.service-notice{white-space:pre-wrap;background:#edf5ef;padding:12px;border-radius:8px}.account-orders{max-height:220px;overflow:auto;margin:14px 0}.account-orders>div{padding:12px 0;border-bottom:1px solid #edf0ed}.account-orders strong{font-size:12px;margin-right:10px}.account-orders span{font-size:11px}.account-orders small{display:block;color:#78877f;margin-top:5px}
/* Personal script rules and source-backed document review. */
.pack-card>.row{flex-wrap:wrap;gap:6px}.pack-card>.row small{width:100%}.script-rule{margin-top:22px;padding:20px;background:#f5f7f6;border-radius:16px}.script-rule h3{margin:0 0 14px}.script-rule .muted{line-height:1.8}.script-attached{display:flex;align-items:center;gap:14px;margin:10px 0}.script-attached img,.script-attached video{width:150px;max-height:120px;object-fit:contain;border-radius:10px}.document-flow{display:flex;gap:24px;flex-wrap:wrap;padding:22px 0;color:#477563;font-size:14px}.document-list{display:grid;gap:12px}.document-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 26px;background:#fff;border-radius:16px}.document-row h3{margin:0 0 6px;font-size:16px}.document-row p{font-size:13px;max-width:700px;color:#946329}.document-dialog{width:min(1120px,94vw);max-width:1120px}.document-review{display:grid;grid-template-columns:1fr 1.2fr;gap:24px}.document-review>aside{min-width:0}.document-review pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:62vh;overflow:auto;font-family:inherit;font-size:14px;line-height:1.9;background:#f6f7f5;border-radius:14px;padding:20px;position:sticky;top:0}.document-review>section{min-width:0}.document-draft{padding:18px;margin:0 0 16px;background:#f8f8fc;border-radius:14px}.document-draft>.row{margin-bottom:15px}.document-draft textarea{min-height:120px;line-height:1.8}.document-warning{padding:12px;background:#fff5df;color:#83581d;border-radius:10px;font-size:13px;line-height:1.7}.document-working{padding:25px;background:#f3f7f4;border-radius:16px;line-height:1.8}.script-tabs{flex-wrap:wrap}.script-heading{gap:20px}.script-heading>.actions{max-width:580px;justify-content:flex-end}.document-dialog .dialog-actions{position:sticky;bottom:0;background:#fff;padding:16px 0;flex-wrap:wrap}
@media(max-width:800px){.document-review{grid-template-columns:1fr}.document-review pre{max-height:180px}.document-row{align-items:flex-start;flex-direction:column}.script-heading{flex-direction:column}.script-heading>.actions{justify-content:flex-start}}

.document-draft>.row{display:flex;align-items:center;justify-content:space-between}.document-draft>.row label{display:flex;align-items:center;gap:8px;margin:0;width:auto}.document-draft>.row input[type=checkbox]{width:16px;height:16px;margin:0}.script-tabs small{white-space:normal}
/* Editable product sheet */
.product-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}.product-heading h2{font-size:24px;font-weight:600;margin:12px 0}.product-heading p{font-size:13px;color:#817b8b;line-height:1.8}.product-heading .actions{flex-wrap:wrap}.product-toolbar{display:flex;align-items:center;gap:12px;margin:18px 0}.product-toolbar>input{max-width:300px;background:white}.product-sheet-wrap{overflow:auto;background:#fff;border-radius:16px;border:1px solid #eeedf1}.product-sheet{table-layout:fixed;width:100%;min-width:1180px;border-collapse:separate;border-spacing:0}.product-sheet th{font-weight:500;background:#fafafa;position:sticky;top:0;padding:14px 10px;text-align:left;color:#74707c;font-size:12px}.product-sheet td{vertical-align:top;padding:8px;border-top:1px solid #efedf3}.product-sheet th:first-child{width:125px}.product-sheet th:nth-child(2){width:155px}.product-sheet th:nth-last-child(2){width:65px}.product-sheet th:last-child{width:112px}.product-sheet td input:not([type=checkbox]),.product-sheet td textarea{width:100%;min-width:0;margin:0;border:1px solid transparent;background:transparent;border-radius:8px;padding:10px;font-family:inherit;font-size:13px;color:#34303c;line-height:1.7;box-shadow:none}.product-sheet td textarea{min-height:90px;resize:vertical}.product-sheet td input[readonly]{color:#88818d}.product-sheet td input:hover,.product-sheet td textarea:hover{background:#f7f8fb}.product-sheet td input:focus,.product-sheet td textarea:focus{outline:2px solid #bbb0e5;background:#fff}.product-sheet td input[type=checkbox]{width:16px;height:16px;margin:13px 10px;accent-color:#7660c9}.product-sheet .is-dirty{background:#fffdf3}.product-row-actions{display:flex;flex-direction:column;gap:5px;align-items:stretch}.product-row-actions .btn{font-size:12px;padding:8px}.product-row-actions small{font-size:10px;color:#99919d;text-align:center}.product-sheet-note{display:flex;justify-content:space-between;gap:20px;padding:14px 0;color:#8e8796;font-size:12px;line-height:1.8}.product-import-history{margin-top:30px}.product-import-history h3{font-size:16px;font-weight:600}.product-import-row{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;margin-top:10px;border-radius:12px;background:white;gap:16px}.product-import-row strong{font-size:14px}.product-import-row small{display:block;margin-top:6px;color:#98909f;font-size:12px}.product-import-row p{font-size:12px;color:#927040}.product-empty{padding:50px;text-align:center}.product-empty h3{font-size:18px;font-weight:500}.product-empty p{color:#918b9a;font-size:13px}.product-dialog{width:min(1480px,96vw);max-width:1480px}.product-dialog .product-sheet-wrap{max-height:55vh}.product-dialog .dialog-actions{position:sticky;bottom:0;background:#fff;flex-wrap:wrap;padding-top:16px}.product-import-sheet{min-width:1250px}.product-import-sheet th:first-child{width:55px}.product-import-sheet th:nth-child(2){width:130px}.product-import-sheet th:nth-last-child(2){width:180px}.product-import-sheet th:last-child{width:160px}.product-import-sheet td>small{font-size:11px;color:#98733b;line-height:1.8}.product-source{margin:12px 0;color:#726780;font-size:13px}.product-source pre{white-space:pre-wrap;overflow:auto;max-height:180px;background:#f5f6f4;padding:16px;border-radius:10px;font-family:inherit;line-height:1.8}.product-dialog #product-import-status{color:#32715a;font-size:13px}@media(max-width:900px){.product-heading{align-items:flex-start;flex-direction:column}.product-toolbar{flex-wrap:wrap}.product-toolbar .spacer{display:none}.product-sheet-note{flex-direction:column}}
/* Business-scoped media library */
.media-library-filter{max-width:420px;margin:18px 0}.media-library-filter label{font-size:13px}.media-library-filter select{background:#fff}.pack-card .row{flex-wrap:wrap;gap:6px}.pack-card .row .btn{font-size:12px;padding:8px 10px}
