/* R5.2.1 unified brand; annotation and production-sheet colors remain independent. */
:root{--bg:#FAF9F5;--surface:#FAF9F5;--ink:#191919;--muted:#73716B;--line:#E8E6DF;--blue:#191919;--blue-soft:#F4F0E4;--radius:16px;--shadow:none;font-family:"Segoe UI","Microsoft YaHei UI","Microsoft YaHei",sans-serif}
body,button,input,select,textarea{font-family:"Segoe UI","Microsoft YaHei UI","Microsoft YaHei",sans-serif;color:#191919}body{background:#FAF9F5}a{color:#191919}.home-brand,.brand strong{font-family:"Microsoft YaHei UI","Microsoft YaHei","Segoe UI",sans-serif;font-weight:650;font-size:17px;letter-spacing:.1px}.brand-glyph{width:32px;height:32px;border-radius:7px;background:transparent}.brandmark{width:32px;height:32px;background:transparent}.brand small{display:none}
.task-entries{grid-template-columns:1fr 1fr;align-items:stretch}.task-entry,.task-entry:last-child{min-height:288px;height:288px;margin-top:0;padding:30px 34px;border-radius:22px}.task-entry h2{margin:22px 0 13px;line-height:1.25}.task-entry p{line-height:1.7;font-size:14px}.task-entry p strong{display:block;font-size:18px;font-weight:600;line-height:1.6;margin-top:6px}.task-entry:first-child p strong{color:#191919}.task-entry:last-child p strong{color:#FAF9F5}.task-entry>span{margin-top:20px}.task-intro h1{font-size:52px}.task-intro p{font-size:15px}
.button,.icon-button,input,select,textarea,.search{border-radius:9px}.button{border-color:#E8E6DF;background:#FFFFFF;font-weight:550;box-shadow:none}.button.primary,.work-actions .button.primary,.dialog-actions .button.primary{background:#191919;color:#FFD43B;border-color:#191919;box-shadow:none}.button.primary:hover{background:#303030}.button.quiet{color:#73716B}.button:hover,.icon-button:hover{background:#E8E6DF}.button.quiet:hover{background:#EEECE5;color:#191919}.field input,.field textarea,.field select,.structured-field input,.structured-field textarea,.structured-field select{border-color:#DCDAD2;color:#191919;background:#FFFFFF}.field,.structured-field,.eyebrow,.module-item small,.field-help,.prep-toolbar p,.canvas-status,.image-role{color:#73716B}.structured-row,.placement-controls,.prior-current{background:#F1EFE9;border-color:#E8E6DF;color:#73716B}.structured-row strong,.placement-label{color:#73716B}.structured-block,.field-status-options{border-color:#E8E6DF}.segments{background:#E8E6DF}.segments button.active,.work-shell .segments button.active{background:#FFD43B;color:#191919}.issue-tabs button.active{color:#191919;border-bottom-color:#191919}.issue-item{background:#FFFEFB;border-color:#E8E6DF}.issue-item.active{border-color:#D3C48D;background:#FFF9E4}.issue-number{background:#EEECE5;color:#191919;border-color:#DCDAD2}.tag.blue{background:#EAE8E1;color:#55534D}.tag.amber{background:#F7EDD9;color:#8B641F}.tag.green{background:#EAF2EC;color:#287C5A}.detail-hint,.hint-jump{background:#F7EDD9;color:#8B641F}.quick-colors button{color:inherit}.tool-options{background:#F1EFE9;border-color:#E8E6DF}.tool-option-label,.tool-option-hint{color:#73716B}
.sidebar,.sidebar-foot,.shell-header,.history-summary,.timeline,.round-button,.history-card,.history-card-head,.history-card-foot,.more-menu,.align-popover,dialog,.dialog-head,.dialog-actions,.export-preview,.round-preview,.module-panel,.prep-toolbar,.work-header,.canvas-top{background:#FAF9F5;border-color:#E8E6DF}.sidebar{background:#EEECE5}.round-button.active{background:#FFF9E4;border-color:#D3C48D}.nav a.active{background:#FFD43B;color:#191919;box-shadow:none}.history-card,.history-summary,.round-preview,.export-preview{border-radius:16px}.more-menu button:hover{background:#E8E6DF}.notice{background:#F1EFE9;color:#625F55;border-color:#E8E6DF}.notice.validation-errors,.validation-errors{background:#FFF3EB;color:#9F4C26}.module-item.active{background:#FFF9E4;border-color:#D3C48D}.canvas-viewport,.prep-preview-panel{background:#EEECE5}.frozen-preview{background:#EEECE5}
.canvas-top{gap:12px;flex-wrap:wrap;padding:12px 20px}.image-status{display:flex;gap:18px;align-items:center;flex:none}.image-source{display:flex;align-items:center;gap:6px;white-space:nowrap}.image-source strong{font-size:12px;font-weight:600}.image-source .button{font-size:12px;padding:5px 7px;min-height:30px}.image-source .icon{width:15px;height:15px}.image-optional{font-size:11px;color:#73716B}.canvas-top .segments{margin-left:auto;flex:none}.canvas-top>.simple-disclosure{margin:0;font-size:12px}.canvas-empty>div.row{display:none}.canvas-empty h2{font-size:22px}.backup-reminder{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:12px;color:#73716B;margin-top:10px;padding-top:10px;border-top:1px solid #E8E6DF}.dialog-actions:has(.backup-reminder){flex-wrap:wrap}.dialog-actions .backup-reminder{flex-basis:100%;justify-content:space-between}.backup-reminder .button{font-size:12px}.work-header .work-title h1{font-size:19px}
@media(max-width:1400px){.task-intro h1{font-size:44px}.task-entry,.task-entry:last-child{height:270px;min-height:270px;padding:28px}.task-entry h2{font-size:28px}.task-entry p{font-size:13px}.task-entry p strong{font-size:17px}.canvas-top{gap:8px;padding:10px 18px}.image-status{gap:12px}.canvas-top .segments button{padding:7px 9px;font-size:12px}.work-actions .button.primary{font-size:13px}}

/* Consistent keyboard focus and neutral form borders. */
:is(button,a,input,select,textarea):focus-visible{outline:2px solid #191919;outline-offset:3px}input:not([type="range"]):not([type="checkbox"]),select,textarea{border-color:#DCDAD2}.issue-tabs input,.search{background:#FFFFFF;border-color:#DCDAD2}input[type="checkbox"],input[type="radio"],input[type="range"]{accent-color:#FFD43B}
