/* 企业模板设计与员工工作流，沿用已有工作台的品牌和组件。 */
:root{--muted:#777286}.subtext,.muted{color:#777286}.page-heading p{color:#81798e}.nav-item{font-size:13px}.sidebar{overflow-y:auto}.local-label{font-size:11px}.nav-tag{display:none}.sidebar-footer{padding-bottom:3px}.content{max-width:1690px}button[hidden],[hidden]{display:none!important}.template-workspace{display:grid;grid-template-columns:255px minmax(0,1fr);gap:22px;align-items:start;margin-bottom:24px}.template-library{min-height:380px}.template-search{padding:0 17px 14px;display:flex;flex-direction:column;gap:12px}.template-search>input{border:1px solid #e8e2f2;border-radius:7px;padding:10px;font-size:12px;width:100%}.template-search label{font-size:11px;color:#93879e;display:flex;gap:5px;align-items:center}.template-search input[type=checkbox],.staff-panel input[type=checkbox]{accent-color:var(--accent);width:15px;height:15px;cursor:pointer}.saved-template{display:flex;width:calc(100% - 18px);margin:3px 9px;padding:14px 10px;align-items:center;gap:10px;border:1px solid transparent;border-radius:8px;background:white;text-align:left;color:#91829f}.saved-template:hover{background:#faf7fe}.saved-template.selected{border-color:#e7dff7;background:#f5f0fc;color:var(--accent)}.saved-template>span:nth-child(2){flex:1;min-width:0}.saved-template strong{display:block;font-size:12px;color:#6d597e;overflow-wrap:anywhere}.saved-template small{display:block;font-size:10px;color:#a395ad;margin-top:4px}.template-list-mark{width:32px;height:38px;border-radius:7px;display:grid;place-items:center;background:#f0eafa;flex-shrink:0}.template-empty{padding:30px 20px;text-align:center}.template-empty p{font-size:13px;color:#8e7c9d;margin-bottom:8px}.template-empty span{font-size:11px;color:#a496af;line-height:1.8;display:block}.template-intro{min-height:380px;padding:42px}.template-intro h2{font-size:29px;line-height:1.7;margin-top:16px;margin-bottom:18px;color:#655174;font-weight:550}.template-intro>p{font-size:13px;color:#95839f;max-width:500px;line-height:1.9;margin-bottom:22px}.template-intro-steps{display:flex;gap:23px;flex-wrap:wrap;margin-top:35px;font-size:11px;color:#b09bbe}.template-summary{display:grid;grid-template-columns:265px 1fr;gap:28px;padding:5px 24px 24px;align-items:center}.template-header-preview{padding:15px;background:#f5f1fa;border-radius:10px}.template-header-preview .visual-card{padding:20px;border-radius:10px}.template-header-preview .visual-person{margin:18px 0}.template-header-preview .avatar.large{width:55px;height:55px;border-radius:16px;font-size:24px}.template-header-preview .visual-person h2{font-size:21px;margin-top:10px}.template-header-preview .visual-bottom{margin-top:15px}.template-header-preview .visual-details{font-size:10px;gap:7px}.template-stat-row{display:flex;gap:35px;margin-bottom:22px}.template-stat-row b{font-size:28px;display:block;font-weight:550;color:#6f5888}.template-stat-row b small{font-size:12px;font-weight:400}.template-stat-row span{font-size:11px;color:#aa99b5}.template-summary-info dl{font-size:11px;color:#897594;margin-bottom:22px}.template-summary-info dl>div{display:flex;gap:18px;margin:10px 0}.template-summary-info dt{color:#b3a0bd;min-width:67px}.template-summary-info dd{margin:0;display:flex;align-items:center;gap:7px}.color-dot{display:inline-block;width:10px;height:10px;border-radius:50%;border:1px solid #0001}.template-block-summary,.template-assigned{padding:22px 24px;border-top:1px solid var(--line)}.template-block-summary h3,.template-assigned h3{font-size:12px;margin-bottom:13px}.template-block-summary .tag{display:inline-block;margin:0 5px 5px 0}.disabled-tag{opacity:.55;text-decoration:line-through}.assigned-person{display:inline-flex;align-items:center;gap:7px;font-size:11px;color:#977da9;margin:0 15px 8px 0}.assigned-person .avatar{width:29px;height:29px;font-size:12px}.starter-panel{margin-top:24px}.starter-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;padding:0 23px 23px}.starter-option{display:grid;grid-template-columns:32px 1fr auto;gap:3px 12px;align-items:center;border:1px solid #eee7f5;background:#fdfbff;border-radius:9px;padding:15px;text-align:left}.starter-option:hover{border-color:#bfb0d5;background:#f9f5ff}.starter-option strong{font-size:12px;color:#816b91;font-weight:550}.starter-option>span:not(.starter-swatch){font-size:10px;color:#b09bbd;grid-column:2}.starter-option>svg{grid-column:3;grid-row:1/3;color:#aa8bc0}.starter-swatch{grid-row:1/3;width:30px;height:37px;border-radius:4px;border:1px solid #d9cde9;background:#fff;border-top:4px solid var(--accent)}.starter-swatch.modern{background:var(--accent);border:0}.starter-swatch.minimal{background:#f7f3e9;border-color:#e1d7bf;border-top-width:1px}.staff-summary{display:flex;gap:42px;border:1px solid var(--line);border-radius:11px;padding:19px 24px;background:#fff;margin-bottom:22px}.staff-summary>div{display:flex;gap:12px;align-items:baseline}.staff-summary b{font-size:26px;color:#7e6590;font-weight:550}.staff-summary span{font-size:11px;color:#a48fb3}.count-pill{border-radius:5px;display:inline-block;background:#f0e8fb;padding:0 6px;font-size:10px;margin-left:6px}.staff-filters{display:flex;align-items:center;gap:14px;padding:17px 20px;flex-wrap:wrap;border-bottom:1px solid var(--line)}.staff-filters>label{display:flex;align-items:center;gap:9px;color:#9a82ab;font-size:11px}.staff-filters select{background:#fcfaff;border:1px solid #ebe2f3;border-radius:6px;padding:8px 10px;color:#8d759d;max-width:220px;font-size:11px;min-width:100px}.staff-filters .search-box{margin-left:auto}.batch-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 20px;background:#fdfbff;border-bottom:1px solid var(--line);font-size:11px;color:#b19bc0}.batch-toolbar .button{font-size:10px;min-height:28px}.batch-toolbar .button:disabled{opacity:.4;cursor:default}.staff-pagination{display:flex;gap:18px;align-items:center;justify-content:space-between;padding:16px 20px;border-top:1px solid var(--line);font-size:11px;color:#9e87ae}.staff-pagination>label{display:flex;align-items:center;gap:7px;margin-left:auto}.staff-pagination select{font-size:11px;border:1px solid #e7dcf0;border-radius:5px;padding:3px 7px;color:#9c83ad}.staff-pagination .actions>span{font-size:10px}.homepage-visibility{display:inline-flex;align-items:center;gap:4px;color:#7c9f8d;font-size:10px}.homepage-visibility.hidden-card{color:#b3a1be}.template-name-cell{display:block;max-width:145px;white-space:normal;font-size:11px;line-height:1.7;color:#9d86ad}.application-detail dl>div{display:grid;grid-template-columns:75px 1fr;gap:10px;font-size:12px;margin:12px 0}.application-detail dt{color:#b5a1c2}.application-detail dd{margin:0;color:#9379a5;white-space:pre-wrap;overflow-wrap:anywhere}.import-steps{display:flex;justify-content:space-between;gap:10px;padding:0 0 18px;font-size:12px;color:#b39cc3}.import-steps .active{color:var(--accent)}.upload-image-button{cursor:pointer}.import-options{max-width:300px;margin:18px 0}.import-table{max-height:270px;border:1px solid var(--line);border-radius:8px}.import-table th{position:sticky;top:0}.import-success{font-size:12px;color:#4e9b76;padding:11px 14px;background:#eff8f2;border-radius:7px}.designer-modal{width:calc(100vw - 32px)!important;max-width:1510px;max-height:calc(100dvh - 32px)!important;height:calc(100dvh - 32px);border-radius:13px}.designer-modal>header{padding:15px 23px}.designer-modal .modal-body{padding:0;overflow:hidden;display:flex;flex-direction:column;min-height:0;flex:1}.designer-toolbar{padding:12px 20px;display:flex;align-items:center;gap:15px;border-bottom:1px solid var(--line);flex-shrink:0;background:#fff}.designer-toolbar>label{display:flex;gap:12px;align-items:center;font-size:11px;color:#a58fb6}.designer-toolbar input{font-size:12px;color:#7d638f;border:1px solid #e8dff1;border-radius:6px;padding:9px 11px;width:230px}.designer-toolbar>span{font-size:10px;color:#b09bbf;margin-left:auto}.designer-toolbar>span.unsaved{color:#b6975b}.designer-grid{display:grid;grid-template-columns:235px minmax(300px,1fr) 310px;min-height:0;flex:1}.designer-library{padding:18px 14px;overflow:auto;border-right:1px solid var(--line);background:#fff}.designer-section-title h3{font-size:12px;color:#8c729f;margin-bottom:5px}.designer-section-title p{font-size:10px;color:#b49dc3;line-height:1.8;margin-bottom:14px}.component-catalog{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:25px}.component-catalog button{border:1px solid #eae1f3;border-radius:6px;background:#fcfaff;padding:12px 5px;display:flex;flex-direction:column;align-items:center;gap:7px;position:relative;color:#a58bb9}.component-catalog button:hover{border-color:var(--accent);background:#f7f0ff;color:var(--accent)}.component-catalog button span{font-size:10px}.component-catalog button>svg:last-child{position:absolute;right:4px;top:4px}.fixed-profile{display:flex;gap:8px;align-items:center;padding:10px;font-size:10px;background:#f5f1fa;border-radius:5px;color:#9f89ae;margin-bottom:8px}.fixed-profile span{margin-left:auto;font-size:9px;color:#c0adce}.design-block-row{border:1px solid #efe7f6;border-radius:6px;display:flex;align-items:center;margin:5px 0;background:#fff;padding:3px;min-height:40px}.design-block-row.selected{border-color:#c9b7e3;background:#f9f3ff}.design-block-row.drop-target{border-top:3px solid var(--accent)}.muted-block{opacity:.55}.block-select{display:flex;align-items:center;gap:5px;border:0;background:none;flex:1;min-width:0;padding:7px 2px;color:#a287b5;font-size:10px;text-align:left}.block-select>span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:78px}.block-grip{color:#c8b9d4;font-size:15px;cursor:grab}.block-row-actions{display:flex;gap:0;align-items:center}.block-row-actions .icon-button{font-size:12px;padding:4px;color:#b79ac9}.designer-help{font-size:10px;line-height:1.85;color:#b8a1c8;margin-top:17px}.designer-canvas{background:#f2eef8;padding:18px 25px 30px;overflow:auto;min-width:0}.canvas-label{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#aa94bb;max-width:375px;margin:0 auto 15px}.canvas-label span:last-child{font-size:9px}.designer-phone{width:375px;max-width:100%;margin:0 auto;border:1px solid #ddd2e9;border-radius:20px;overflow:hidden;background:white;box-shadow:0 10px 30px #74608012}.preview-statusbar{display:flex;align-items:center;justify-content:space-between;padding:10px 20px;font-size:9px;background:#fff;color:#a089b3}.preview-statusbar b{font-size:11px;color:#7d638f}.editor-card-preview{width:100%;max-width:none!important;min-height:300px!important;padding:20px 17px 100px!important;font-size:14px}.editor-card-preview .design-block{margin-top:var(--design-gap);padding:var(--design-padding);border-radius:var(--design-radius);border:1px solid #eee6f5;cursor:pointer}.editor-card-preview .design-block.selected-preview{outline:2px solid #a78bd6;outline-offset:1px}.editor-card-preview.layout-full{padding-left:0!important;padding-right:0!important}.editor-card-preview.layout-full .visual-card,.editor-card-preview.layout-full .design-block{border-radius:0!important}.editor-card-preview .design-block a,.editor-card-preview .design-block button{pointer-events:none}.preview-bottom-nav{display:flex;justify-content:space-around;gap:5px;background:#fff;border-radius:var(--design-radius);font-size:10px;color:var(--accent);padding:13px 6px;margin-top:var(--design-gap)}.canvas-caption{font-size:10px;color:#b199c0;max-width:375px;margin:18px auto 0;line-height:1.8;text-align:center}.designer-properties{background:#fff;overflow:auto;border-left:1px solid var(--line);min-width:0}.designer-tabs{display:flex;position:sticky;top:0;background:#fff;z-index:3;border-bottom:1px solid var(--line);justify-content:space-evenly;gap:1px}.designer-tabs>button{padding:16px 5px;border:0;border-bottom:2px solid transparent;background:none;color:#a388b5;font-size:11px}.designer-tabs>button.active{color:var(--accent);border-bottom-color:var(--accent)}#design-properties{padding:22px 20px}.property-heading{display:flex;gap:10px;align-items:center;margin-bottom:24px;color:#a589b9}.property-heading h3{font-size:13px;margin:0 0 4px;color:#8c6d9e}.property-heading p{font-size:10px;color:#b29ac1;margin:0;line-height:1.8}.designer-properties .field{margin-bottom:20px;font-size:11px}.designer-properties .field input,.designer-properties .field select,.designer-properties .field textarea{font-size:11px;padding:9px 10px}.setting-toggle{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:21px;font-size:11px;color:#977aa9}.setting-toggle b{display:block;font-size:12px;font-weight:500}.setting-toggle small{display:block;font-size:10px;color:#b39bc3;margin-top:4px;line-height:1.8}.setting-toggle input{width:17px;height:17px;accent-color:var(--accent);flex-shrink:0}.property-note{font-size:10px;line-height:1.9;color:#b097c1;margin:15px 0 22px;background:#fbf8ff;padding:12px;border-radius:7px}.property-divider{border-top:1px solid var(--line);margin:25px 0}.layout-options{display:flex;gap:7px;margin:0 0 25px}.layout-options button{flex:1;padding:12px 2px;border:1px solid #eee3f6;background:#fcf9ff;border-radius:7px;color:#a88bb9;min-width:0}.layout-options button b{display:block;font-size:10px;font-weight:500}.layout-options button span{display:block;font-size:9px;margin-top:5px;color:#c2aad1}.layout-options button.selected{border-color:var(--accent);color:var(--accent);background:#f6efff}.range-field>span{display:flex;justify-content:space-between;gap:10px}.range-field output{font-size:10px;color:#b196c3}.range-field input[type=range]{box-shadow:none!important;border:0;padding:0!important;accent-color:var(--accent);width:100%}.color-field{display:flex;align-items:center;gap:12px}.color-field input[type=color]{width:45px;height:36px;border:1px solid #e9dcf2;padding:3px!important}.color-field code{font-size:11px;color:#b196c3}.share-sample{border:1px solid #eee3f6;background:#fbf8ff;border-radius:8px;padding:15px}.share-sample strong{font-size:12px;color:#9879ab;display:block}.share-sample p{font-size:10px;color:#b69bc8;margin:8px 0 0;line-height:1.8}.designer-status{font-size:12px;padding:12px 20px;color:var(--red);background:#fff5f7;flex-shrink:0;border-top:1px solid #f0dce3}.designer-status:empty{display:none}.designer-mobile-tabs{display:none}.preview-statusbar span:last-child{letter-spacing:1px;font-size:7px}
@media(max-width:1250px){.template-workspace{grid-template-columns:220px minmax(0,1fr);gap:18px}.template-summary{grid-template-columns:220px 1fr;gap:20px;padding:5px 20px 20px}.template-stat-row{gap:20px}.template-summary-info .actions .button{padding:7px 10px;font-size:11px}.designer-grid{grid-template-columns:210px minmax(300px,1fr) 280px}.designer-canvas{padding:16px}.designer-properties #design-properties{padding:20px 15px}.staff-summary{gap:28px}.batch-toolbar{flex-wrap:wrap}}
@media(max-width:1050px){.template-summary{grid-template-columns:1fr}.template-header-preview{display:none}.template-summary-info{padding:10px 0}.starter-grid{gap:10px;padding:0 17px 17px}.starter-option{padding:12px;grid-template-columns:25px 1fr;gap:4px 8px}.starter-option>svg{display:none}.starter-swatch{width:23px;height:31px}.staff-summary{gap:20px;justify-content:space-between}.staff-summary>div{gap:8px;flex-direction:column;line-height:1.1}.staff-summary b{font-size:23px}.designer-grid{grid-template-columns:1fr}.designer-library,.designer-canvas,.designer-properties{display:none;border:0}.designer-grid[data-view=library] .designer-library{display:block}.designer-grid[data-view=preview] .designer-canvas{display:block}.designer-grid[data-view=settings] .designer-properties{display:block}.designer-mobile-tabs{display:flex;gap:10px;padding:8px 20px;border-bottom:1px solid var(--line);background:white}.designer-mobile-tabs button{padding:7px 20px;font-size:11px;border:1px solid transparent;background:white;border-radius:6px;color:#a88cba}.designer-mobile-tabs button.active{background:#f4ecfd;color:var(--accent)}.designer-library .component-catalog{grid-template-columns:repeat(3,1fr)}.block-select>span:last-child{max-width:none}.designer-toolbar{padding:10px 17px}.designer-toolbar>span{display:none}.designer-toolbar input{width:200px}.designer-toolbar .button{margin-left:auto}.designer-section-title{margin-top:5px}}
@media(max-width:768px){.template-workspace{grid-template-columns:1fr}.template-library{min-height:0}.template-search{flex-direction:row;align-items:center}.template-search>input{flex:1;width:auto;min-width:0}.template-search label{white-space:nowrap}#template-list{display:flex;gap:7px;overflow:auto;padding:0 10px 12px}.saved-template{min-width:210px;width:210px;flex-shrink:0;margin:0}.template-library .panel-head{padding-bottom:13px}.template-intro{padding:30px;min-height:320px}.template-intro h2{font-size:25px}.starter-grid{grid-template-columns:1fr}.starter-option{grid-template-columns:32px 1fr auto;padding:15px}.starter-swatch{width:27px;height:35px}.starter-option>svg{display:block}.staff-filters{gap:13px;padding:15px}.staff-filters>label{flex:1;justify-content:space-between}.staff-filters select{min-width:0;max-width:180px;width:100%}.staff-filters .search-box{margin-left:0;flex-basis:100%;width:100%}.staff-filters .search-box input{width:100%}.staff-filters>span{font-size:10px}.batch-toolbar{padding:12px 15px}.batch-toolbar .actions{gap:6px}.staff-pagination{padding:13px 15px;gap:12px;flex-wrap:wrap}.staff-pagination>label{margin-left:0}.staff-pagination .actions{margin-left:auto}.staff-summary{gap:10px;padding:16px 18px}.staff-summary span{font-size:10px}.staff-summary b{font-size:22px}.template-detail-panel .panel-head{padding:18px}.template-block-summary,.template-assigned{padding:18px}.template-summary{padding:0 18px 18px}.template-stat-row{justify-content:flex-start;gap:45px}.template-summary-info .actions{gap:7px}.template-intro-steps{gap:15px;font-size:10px}.designer-modal{height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)!important;width:calc(100vw - 16px)!important}.designer-modal>header{padding:12px 16px}.designer-modal>header h2{font-size:14px}.designer-toolbar{padding:10px 12px;gap:9px}.designer-toolbar>label{font-size:10px;gap:7px;flex:1;min-width:0}.designer-toolbar input{width:100%;min-width:0;flex:1;font-size:11px;padding:8px}.designer-toolbar .button{font-size:10px;padding:8px 10px;min-height:34px}.designer-mobile-tabs{padding:7px 12px;gap:5px}.designer-mobile-tabs button{flex:1}.designer-canvas{padding:15px 11px 25px}.canvas-label{font-size:9px}.canvas-label span:last-child{font-size:8px}.canvas-caption{font-size:9px}.designer-phone{width:100%;max-width:375px}.designer-section-title h3{font-size:13px}.designer-library{padding:19px}.designer-properties #design-properties{padding:23px}.import-steps{font-size:10px;flex-wrap:wrap}.staff-filters .search-box input{font-size:11px}.batch-toolbar .button{padding:5px 8px}.template-intro>p{font-size:12px}}
/* 提高工具区文字可读性，辅助说明仍保持次级层级。 */
.designer-section-title h3{font-size:13px}.designer-section-title p,.designer-help,.property-note,.property-heading p,.setting-toggle small,.canvas-caption{font-size:11px;color:#83718f}.component-catalog button span,.block-select,.fixed-profile{font-size:11px}.designer-tabs>button{font-size:12px}.designer-properties .field,.designer-properties .field input,.designer-properties .field select,.designer-properties .field textarea{font-size:12px}.setting-toggle{font-size:12px;color:#7f648e}.template-search label,.template-summary-info dt,.saved-template small,.template-stat-row span,.staff-summary span{color:#8b7798}.layout-options button span{color:#937ca1}.layout-options button b{font-size:11px}.template-intro>p,.template-empty span{color:#8c779a}.batch-toolbar{color:#92769f}.designer-help{line-height:1.8}
.designer-modal{position:relative}.designer-discard-overlay{position:absolute;inset:0;background:#32234550;backdrop-filter:blur(3px);display:grid;place-items:center;padding:20px;z-index:10;border-radius:inherit}.designer-discard-overlay>section{background:white;border:1px solid #e7dff0;border-radius:12px;width:420px;max-width:100%;padding:25px;box-shadow:0 10px 50px #35224520}.designer-discard-overlay h3{font-size:16px;color:#725a84;margin-bottom:12px}.designer-discard-overlay p{font-size:12px;color:#9881a9;line-height:1.9}.designer-modal [inert]{pointer-events:none}
