.team-value-report{display:grid;gap:18px;color:#17324f}.value-report-filterbar{display:grid;grid-template-columns:150px repeat(4,minmax(150px,1fr)) auto;gap:10px;align-items:end;padding:12px 16px;border:1px solid #cfe3f5;border-radius:16px;background:linear-gradient(135deg,#f4faff,#eaf5ff)}.value-report-filterbar label{display:grid;gap:5px;font-size:12px;font-weight:700;color:#617994}.value-report-filterbar input,.value-report-filterbar select{height:38px;border:1px solid #c7ddee;border-radius:10px;background:#fff;padding:0 10px;color:#24445f}.value-report-actions{display:flex;gap:8px;white-space:nowrap}.mt-monthly-report,.team-value-workspace{display:grid;gap:18px}.value-summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.value-summary-card{padding:16px;border:1px solid #d7e5f3;border-radius:18px;box-shadow:0 8px 22px #30659b0d;background:#fff;overflow:hidden;position:relative}.value-summary-card:after{content:"";position:absolute;inset:auto 0 0;height:48%;opacity:.55}.value-summary-card.sales{background:linear-gradient(145deg,#f8fbff,#e7f2ff)}.value-summary-card.publicity{background:linear-gradient(145deg,#fbf9ff,#eeeaff)}.value-summary-card.investment{background:linear-gradient(145deg,#f5fffb,#e4f8ef)}.value-summary-card.product{background:linear-gradient(145deg,#fffaf5,#fff0df)}.value-summary-card header{display:flex;align-items:center;gap:8px;position:relative;z-index:1}.value-card-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:#318ce7;color:#fff}.value-summary-card>div{display:grid;grid-template-columns:1fr 1fr;margin-top:16px;position:relative;z-index:1}.value-summary-card p{display:grid;gap:4px;margin:0}.value-summary-card p+ p{border-left:1px solid #d9e5ef;padding-left:14px}.value-summary-card small{color:#70859a}.value-summary-card b{font-size:22px;color:#1673d1}.value-summary-card footer{margin-top:12px;font-size:12px;color:#627a91;position:relative;z-index:1}.value-report-section,.value-report-specials,.team-value-workspace{padding:18px;border:1px solid #d9e7f3;border-radius:18px;background:#fff;box-shadow:0 10px 26px #234e7a0c}.value-report-section>header,.value-report-specials>header,.team-value-workspace>header,.special-work-config>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.value-report-section>header>div,.team-value-workspace>header>div,.special-work-config>header>div{display:flex;align-items:center;gap:10px}.value-report-section h2,.value-report-specials h2,.team-value-workspace h2,.special-work-config h3{font-size:20px;margin:0}.representative-projects{display:grid;gap:10px}.representative-projects article{display:grid;grid-template-columns:42px minmax(180px,1fr) auto minmax(260px,2fr) auto auto;gap:12px;align-items:center;padding:12px;border:1px solid #e0ebf4;border-radius:14px;background:#fbfdff}.representative-icon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#e4f1ff;color:#1973c5;font-weight:800}.representative-projects h3,.representative-projects p{margin:0}.representative-projects h3{font-size:15px}.representative-projects p{font-size:13px;color:#647b91}.representative-projects button,.value-change-table button{border:0;background:none;color:#1879d2;cursor:pointer}.value-type-pill,.realization-pill,.confidence-pill{display:inline-flex;width:max-content;padding:4px 9px;border-radius:999px;font-size:12px;font-style:normal;font-weight:700;background:#eaf4ff;color:#1976c9}.value-type-pill.publicity{background:#f1ecff;color:#7250c7}.value-type-pill.investment{background:#e7f8ef;color:#16845c}.value-type-pill.product{background:#fff0df;color:#d57822}.realization-pill.realized{background:#e5f8ed;color:#188451}.realization-pill.expected{background:#edf4ff;color:#3c70bb}.value-change-table{display:grid;gap:0;border:1px solid #e1ebf3;border-radius:12px;overflow:hidden}.value-change-table>div{display:grid;grid-template-columns:90px minmax(150px,1.2fr) 100px 90px minmax(220px,2fr) 100px 140px;gap:10px;align-items:center;padding:10px 12px;border-top:1px solid #edf2f6;font-size:12px}.value-change-table>div>*{min-width:0;margin:0}.value-change-table .value-change-head{border-top:0;background:#f1f7fc;font-weight:700;color:#647c92}.value-change-table span small{display:block;color:#8295a7}.value-report-specials{display:grid;gap:10px}.value-report-specials>header{margin:0}.value-report-specials article{border:1px solid #d9e6f1;border-radius:14px;padding:13px;background:linear-gradient(135deg,#fbfdff,#f3f8fd)}.value-report-specials article>div{display:flex;justify-content:space-between}.value-report-specials article p{display:grid;grid-template-columns:minmax(180px,1fr) 2fr auto;gap:12px;margin:10px 0 0;padding-top:10px;border-top:1px solid #e4edf4}.team-workspace-divider{display:flex;align-items:center;gap:14px;margin-top:8px;font-size:24px;font-weight:800}.team-workspace-divider:after{content:"";height:1px;flex:1;background:#aacde8}.team-value-workspace>header{margin:0}.team-value-workspace>header p,.special-work-config header p{margin:2px 0 0;color:#6d8297;font-size:12px}.team-value-workspace>header strong{color:#1976ce}.value-candidate-list{display:grid;gap:9px}.value-candidate-card{display:grid;grid-template-columns:minmax(280px,2fr) minmax(300px,1.5fr) 190px auto;gap:14px;align-items:center;padding:12px;border:1px solid #dce8f2;border-radius:13px;background:#fbfdff}.candidate-main{display:flex;justify-content:space-between;gap:12px}.candidate-main h3,.candidate-main p{margin:0}.candidate-main h3{font-size:15px}.candidate-main p{margin-top:4px;color:#63798f;font-size:12px}.confidence-pill{background:#e5f8ed;color:#168250;white-space:nowrap}.candidate-meta{display:flex;gap:7px;align-items:center;flex-wrap:wrap;font-size:12px}.candidate-meta>span,.candidate-meta>b,.candidate-meta>i{padding:4px 8px;border-radius:8px;background:#edf5fc;font-style:normal}.candidate-meta button{border:0;background:none;color:#1676cd}.candidate-report-check{font-size:12px;font-weight:700}.candidate-actions{display:flex;gap:6px}.special-pending-head{padding-top:16px;border-top:1px solid #e2ebf3}.value-empty{padding:28px;text-align:center;color:#8194a6;border:1px dashed #cfdeea;border-radius:12px}.value-candidate-editor{width:min(760px,calc(100vw - 30px));padding:20px;border-radius:18px;background:#f5faff;box-shadow:0 30px 70px #102d4b40}.value-candidate-editor>header{display:flex;justify-content:space-between}.value-candidate-editor h2,.value-candidate-editor p{margin:0}.value-candidate-editor form{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}.value-candidate-editor label{display:grid;gap:5px;font-size:12px;font-weight:700}.value-candidate-editor input,.value-candidate-editor select,.value-candidate-editor textarea{border:1px solid #c9ddec;border-radius:10px;background:#fff;padding:10px}.value-candidate-editor .span-2{grid-column:1/-1}.special-work-config{margin:14px 0;padding:16px}.special-work-config>header{margin:0 0 12px}.special-work-config>header>div{display:block}.special-work-config article{display:grid;grid-template-columns:220px 1fr 240px;gap:12px;align-items:center;padding:10px;border-top:1px solid #e5edf4}.special-work-config article>div:first-child{display:flex;justify-content:space-between}.special-work-config article i{display:inline-flex;margin:2px;padding:4px 8px;border-radius:8px;background:#eef6fd;font-style:normal;font-size:12px}.task-value-signal{padding:14px;border:1px solid #cfe3f3;border-radius:14px;background:linear-gradient(135deg,#f7fbff,#edf7ff)}.task-value-signal-head{display:flex;justify-content:space-between;gap:15px}.task-value-signal-head>div{display:grid;gap:3px}.task-value-signal-head span{font-size:12px;color:#6e8398}.task-value-signal-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:12px}.task-value-signal-grid label{display:grid;gap:5px}.task-value-signal-grid .span-2{grid-column:1/-1}.task-value-exclude{display:flex!important;align-items:center}.task-special-work-notice{margin-top:10px;padding:9px 12px;border-radius:9px;background:#fff1df;color:#a85c12;font-weight:700}.task-value-signal.special-project .task-value-signal-grid{opacity:.45;pointer-events:none}
.value-position-manager{width:min(760px,calc(100vw - 30px));max-height:calc(100vh - 30px);overflow:auto;padding:18px;border-radius:18px;background:#f5faff;box-shadow:0 30px 70px #102d4b40}.value-position-manager>header{display:flex;justify-content:space-between;margin-bottom:14px}.value-position-manager h2,.value-position-manager h3,.value-position-manager p{margin:0}.position-manager-region{padding:14px;border:1px solid #d7e6f2;border-radius:15px;background:#fff}.position-manager-region+.position-manager-region{margin-top:14px}.special-manager-region{border-color:#bddcff;background:linear-gradient(145deg,#fbfdff,#edf7ff)}.position-manager-region-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.position-manager-region-head h3{font-size:18px}.position-manager-region-head p{margin-top:3px;color:#6d8297;font-size:12px}.value-position-list{display:grid;gap:8px;margin-bottom:12px}.value-position-list article{display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center;padding:10px;border:1px solid #d9e6f1;border-radius:12px;background:#fff}.value-position-list article>div{display:grid}.value-position-list span{font-size:12px;color:#71869a}.value-position-list i{padding:4px 8px;border-radius:999px;background:#e6f7ee;color:#168154;font-style:normal;font-size:12px}.value-position-manager form{display:grid;grid-template-columns:minmax(150px,.7fr) minmax(0,1.3fr) auto;gap:10px;margin-top:14px;padding-top:14px;border-top:1px solid #d9e6f1}.value-position-manager form label{display:grid;gap:5px;font-size:12px;font-weight:700}.value-position-manager form input,.value-position-manager form select{height:40px;border:1px solid #c9ddec;border-radius:10px;background:#fff;padding:0 10px}.value-position-manager .modal-actions{display:flex;align-items:end;gap:8px}.special-manager-region form{grid-template-columns:minmax(0,1fr) auto}.special-manager-region form .modal-actions{display:flex;align-items:end;gap:8px}
@media(max-width:1200px){.value-report-filterbar{grid-template-columns:repeat(3,1fr)}.value-report-actions{grid-column:1/-1}.value-summary-grid{grid-template-columns:repeat(2,1fr)}.representative-projects article{grid-template-columns:42px 1fr auto}.representative-summary{grid-column:2/-1}.value-change-table{overflow:auto}.value-change-table>div{min-width:900px}.value-candidate-card{grid-template-columns:1fr 1fr}.special-work-config article{grid-template-columns:1fr}.value-position-manager form{grid-template-columns:1fr 1fr}}
@media(max-width:720px){.value-report-filterbar,.value-summary-grid,.value-candidate-card,.value-candidate-editor form,.task-value-signal-grid{grid-template-columns:1fr}.value-report-filterbar label,.value-report-actions,.value-candidate-editor .span-2,.task-value-signal-grid .span-2{grid-column:auto}.value-report-actions{flex-wrap:wrap}.representative-projects article{grid-template-columns:40px 1fr}.representative-projects article>*:not(.representative-icon){grid-column:2}.value-report-specials article p{grid-template-columns:1fr}.team-value-workspace{padding:12px}.candidate-actions{justify-content:flex-end}}
@media(max-width:720px){.position-manager-region-head{align-items:stretch;flex-direction:column}.value-position-list article{grid-template-columns:1fr auto}.value-position-list article .button{grid-column:1/-1}.special-manager-region form{grid-template-columns:1fr}.special-manager-region form .modal-actions{grid-column:1/-1}}

/* Keep wide value-change rows scrollable inside their own panel without making the page grid wider. */
.team-value-report,.mt-monthly-report,.team-value-workspace,.value-report-section,.value-report-specials,.value-report-filterbar,.value-summary-grid,.representative-projects,.value-change-table,.value-candidate-list,.value-candidate-card,.special-work-config{box-sizing:border-box;min-width:0;max-width:100%}
.team-value-report{width:100%}
.team-value-report>*,.mt-monthly-report>*,.team-value-workspace>*,.value-report-section>*,.value-report-specials>*,.value-report-filterbar>*,.value-summary-grid>*,.representative-projects>*,.value-candidate-list>*,.value-candidate-card>*,.special-work-config>*{min-width:0}

.representative-sort-header,.representative-sort-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.representative-sort-header small{color:#6f8397}.representative-sort-entry,.representative-sort-actions .button{min-height:32px;padding:5px 11px}.representative-projects.sorting article{grid-template-columns:86px 42px minmax(180px,1fr) auto minmax(260px,2fr) auto auto;cursor:grab;border-color:#9bc9f3;background:#f6fbff}.representative-projects.sorting article.dragging{opacity:.55;box-shadow:0 10px 25px #1f74bc26}.representative-sort-controls{display:grid;grid-template-columns:24px 24px 24px;gap:3px;align-items:center}.representative-sort-controls .representative-drag-handle{grid-row:1/3;display:grid;place-items:center;height:52px;border-radius:8px;background:#dceeff;color:#1774c5;font-weight:900;letter-spacing:-3px;cursor:grab}.representative-sort-controls button{display:grid;place-items:center;width:24px;height:24px;padding:0;border:1px solid #bfd9ee;border-radius:7px;background:#fff;color:#176fba}.representative-sort-controls b{grid-column:2/4;text-align:center;font-size:11px;color:#607b94}.representative-sort-controls button:disabled{opacity:.35}.representative-projects.sorting .representative-toggle{opacity:.55}

@media(max-width:1200px){.representative-report-section>header{align-items:flex-start}.representative-sort-header{align-items:flex-end;flex-direction:column}.representative-projects.sorting article{grid-template-columns:86px 42px 1fr auto}.representative-projects.sorting .representative-summary{grid-column:3/-1}}
@media(max-width:720px){.representative-report-section>header{display:grid;gap:8px}.representative-sort-header{align-items:stretch}.representative-sort-actions{justify-content:flex-start}.representative-projects.sorting article{grid-template-columns:76px 40px 1fr}.representative-projects.sorting article>*:not(.representative-sort-controls):not(.representative-icon){grid-column:3}.representative-sort-controls{grid-column:1;grid-row:1/8}.representative-projects.sorting .representative-icon{grid-column:2}}
.value-report-filterbar{width:100%;grid-template-columns:150px repeat(3,minmax(0,1fr)) auto}
.value-report-filterbar input,.value-report-filterbar select{box-sizing:border-box;width:100%;min-width:0}
.value-change-table{display:block;width:100%;overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}
.value-candidate-card{grid-template-columns:minmax(0,2fr) minmax(0,1.5fr) minmax(0,190px) auto}
.candidate-main,.candidate-meta,.candidate-actions{min-width:0}.candidate-main h3,.candidate-main p,.candidate-meta>*{overflow-wrap:anywhere}.candidate-actions{flex-wrap:wrap}
@media(max-width:1200px){.value-report-filterbar{grid-template-columns:repeat(3,minmax(0,1fr))}.value-candidate-card{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.value-report-filterbar,.value-summary-grid,.value-candidate-card,.value-candidate-editor form,.task-value-signal-grid{grid-template-columns:minmax(0,1fr)}}

/* Daily Work value signal: compact monthly-report selection. */
.task-value-signal{padding:8px 11px}
.task-value-signal-head{align-items:center;gap:10px}
.task-value-signal-head>div{gap:1px;min-width:0}.task-value-signal-head strong{font-size:14px;line-height:1.15}.task-value-signal-head span{overflow:hidden;font-size:10px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
.task-monthly-report-button{height:28px;min-width:60px;padding:0 10px;border:1px solid #76c9f3;border-radius:8px;background:#fff;color:#1375a8;font-size:10px;font-weight:800;white-space:nowrap;cursor:pointer}
.task-monthly-report-button.active{border-color:#36aeea;background:linear-gradient(135deg,#dff5ff,#83d7ff);box-shadow:0 4px 12px #43b7ee30;color:#075f8c}
.task-value-signal-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 9px;margin-top:6px}
.task-value-signal-grid label{min-width:0;gap:2px;font-size:10px}.task-value-signal-grid select,.task-value-signal-grid input{box-sizing:border-box;width:100%;min-width:0;height:32px;padding-block:4px}.task-value-signal-grid select.is-placeholder{color:#8a99a7}.task-value-signal-grid select option{color:#20384c}.task-value-signal-grid input::placeholder{color:#8a99a7}
@media(max-width:720px){.task-value-signal{padding:7px 8px}.task-value-signal-head{align-items:center}.task-value-signal-head span{max-width:none}.task-value-signal-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:5px}.task-value-signal-grid label{font-size:9px}.task-value-signal-grid select,.task-value-signal-grid input{height:30px;padding:3px 5px;font-size:10px}.task-monthly-report-button{height:26px;min-width:54px;padding-inline:8px;font-size:9px}}

/* A project-to-special mapping is an AI hint only; members keep the final category choice. */
.task-value-signal.special-project .task-value-signal-grid{opacity:1;pointer-events:auto}
.task-value-signal.special-project{border-color:#9fcdf3;background:linear-gradient(135deg,#f7fbff,#e9f5ff)}

/* Multi-month report filter. The popover owns its scrolling and never widens the page. */
.month-multi-field{position:relative;display:grid;gap:5px;min-width:0;color:#617994;font-size:12px;font-weight:700}
.month-multi-trigger{box-sizing:border-box;width:100%;min-width:0;height:38px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 10px;border:1px solid #c7ddee;border-radius:10px;background:#fff;color:#24445f;font:inherit;text-align:left;cursor:pointer}
.month-multi-trigger b{min-width:20px;height:20px;display:grid;place-items:center;padding:0 4px;border-radius:999px;background:#e4f2ff;color:#1777c8;font-size:11px}
.month-multi-popover{position:absolute;z-index:45;top:calc(100% + 7px);left:0;box-sizing:border-box;width:min(360px,calc(100vw - 32px));padding:12px;border:1px solid #bdd8ee;border-radius:14px;background:#fff;box-shadow:0 18px 45px #173f6630}
.month-multi-tools{display:flex;gap:8px;margin-bottom:9px}.month-multi-tools button{padding:6px 10px;border:1px solid #c7def1;border-radius:8px;background:#eef7ff;color:#1d6fae;font-weight:700;cursor:pointer}
.month-multi-options{max-height:260px;overflow:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:2px}.month-multi-options label{display:flex!important;align-items:center;gap:7px;padding:8px;border:1px solid #e1ebf3;border-radius:9px;background:#fbfdff;color:#31526d;font-size:12px;cursor:pointer}.month-multi-options label:has(input:checked){border-color:#72b9eb;background:#eaf6ff;color:#0c6fae}.month-multi-options input{width:auto!important;height:auto!important;margin:0}.month-multi-popover>small{display:block;margin-top:9px;color:#7890a5;font-weight:400}
@media(max-width:720px){.month-multi-popover{position:fixed;top:auto;right:16px;bottom:16px;left:16px;width:auto}.month-multi-options{max-height:45vh}}

/* Customer-grouped monthly report tables follow the PIC project report columns. */
.customer-report-groups{display:grid;gap:14px;min-width:0}
.customer-report-group{min-width:0;border:1px solid #d7e6f2;border-radius:14px;background:#fbfdff;overflow:hidden}
.customer-report-group.unresolved{border-color:#efb564;background:#fffaf2}
.customer-report-group>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px;background:linear-gradient(135deg,#eef7ff,#f9fcff);border-bottom:1px solid #dce8f2}
.customer-report-group.unresolved>header{background:linear-gradient(135deg,#fff4e2,#fffaf3)}
.customer-report-group>header>div{display:flex;align-items:baseline;gap:9px;min-width:0;flex-wrap:wrap}.customer-report-group>header strong{font-size:15px}.customer-report-group>header span{font-size:12px;color:#74899d}.customer-report-group>header .customer-industry{color:#416e91;font-weight:700}
.customer-report-group>header .company-name-hint{display:inline-flex;align-items:center;padding:3px 7px;border:1px solid #efbd71;border-radius:999px;color:#a9610b;background:#fff7e8;font-size:10px;font-style:normal;font-weight:700}
.customer-report-group>header button,.customer-report-group .value-change-table button{border:0;background:none;color:#1678cd;cursor:pointer;font-weight:700}
.customer-report-group>header .customer-confirm-entry{padding:7px 12px;border:1px solid #e3a143;border-radius:9px;background:linear-gradient(135deg,#fff4dc,#ffe8bd);color:#9d5708;box-shadow:0 3px 9px #c57c1924;white-space:nowrap}
.customer-report-group .value-change-table{border:0;border-radius:0;overflow-x:visible}
.customer-report-group .value-change-table>div{box-sizing:border-box;grid-template-columns:36px minmax(165px,1fr) 5em minmax(100px,.62fr) repeat(3,minmax(165px,1.28fr));min-width:0;width:100%;align-items:start;line-height:1.45}
.customer-report-group .value-change-table>div:not(.value-change-head)>p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;overflow-wrap:anywhere}
.customer-report-group .value-change-table>div:not(.value-change-head)>p.team-value-cell{display:block;-webkit-line-clamp:unset;overflow:visible;white-space:normal;color:#294b68;font-size:12px;font-weight:500;line-height:1.55;letter-spacing:0}.customer-report-group .team-value-text{display:block;min-width:0;color:inherit;font:inherit;overflow-wrap:anywhere}
.customer-report-group .value-change-table>div:not(.value-change-head)>strong{display:grid;gap:7px;font-size:13px;overflow-wrap:anywhere}.project-report-title{display:block}.project-report-actions{display:grid;justify-items:start;gap:5px}.project-report-secondary-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.customer-report-group .value-change-table .project-source-tag{width:max-content;padding:3px 7px;border-radius:999px;background:linear-gradient(135deg,#258fe2,#1676ca);color:#fff;font-size:10px;line-height:1.25;white-space:nowrap}
.project-representative-check,.representative-toggle{display:inline-flex;align-items:center;gap:5px;width:max-content;color:#1976c9;font-size:11px;font-weight:700;white-space:nowrap}
.project-representative-check input,.representative-toggle input{margin:0}.representative-toggle{padding:5px 8px;border-radius:999px;background:#eaf5ff}
.customer-report-group .value-change-table .report-remove-button{width:max-content;padding:3px 7px;border:1px solid #f3b6b6;border-radius:7px;background:#fff5f5;color:#c84b4b;font-size:11px}.customer-report-group .value-change-table .report-remove-button:disabled{cursor:not-allowed;opacity:.45}
.workspace-report-groups .customer-report-group>header{padding-block:9px}.workspace-report-groups .customer-report-group .value-change-table>div{grid-template-columns:36px minmax(155px,.95fr) 5em minmax(96px,.58fr) repeat(3,minmax(150px,1.12fr)) 52px}.workspace-report-groups .customer-report-group .value-change-table>div:not(.value-change-head)>strong{gap:6px}
.workspace-report-groups .candidate-actions{display:grid;grid-template-columns:1fr;gap:4px;width:44px;justify-self:center}
.workspace-report-groups .candidate-actions button{box-sizing:border-box;width:44px;min-height:24px;padding:3px 6px;border-radius:7px;font-size:10px;font-weight:800;line-height:1.15}
.workspace-report-groups .candidate-confirm-button{border:1px solid #2189d1!important;color:#fff!important;background:linear-gradient(135deg,#2199dd,#176fc3)!important;box-shadow:0 3px 8px #1679c526}
.workspace-report-groups .candidate-edit-button{border:1px solid #c8dce9!important;color:#42657d!important;background:#f5f9fc!important}
.workspace-report-groups .candidate-special-check{display:inline-flex;align-items:center;gap:4px;width:max-content;color:#2472a7;font-size:10px;font-weight:700}.workspace-report-groups .candidate-special-check input{margin:0}
.special-pending-sections{display:grid;gap:12px;min-width:0}.special-pending-block{min-width:0;padding:0;border:1px solid #bddcf2;border-radius:14px;background:linear-gradient(145deg,#fbfdff,#eef7ff);overflow:hidden}.special-pending-block-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px;border-bottom:1px solid #d5e7f4;background:linear-gradient(135deg,#edf7ff,#f8fcff)}.special-pending-block-head strong{color:#176fae;font-size:15px}.special-pending-block-head span{color:#6e8598;font-size:12px}.special-pending-block>.customer-report-groups{padding:12px}.special-pending-block>.value-empty{margin:12px;background:#fff}
.value-report-specials>article.special-report-block{padding:0;overflow:hidden}.value-report-specials>article.special-report-block>div:first-child{display:flex;justify-content:space-between;padding:13px;background:linear-gradient(135deg,#f6fbff,#eaf5ff)}
.special-report-block .customer-report-groups{display:grid;padding:12px}.special-report-block .customer-report-group>header{display:flex}
.special-report-block .customer-report-group .value-change-table p{margin:0;padding:0;border:0;grid-template-columns:none}
.special-report-block .customer-report-group .value-change-table>div:not(.value-change-head)>p{display:block;-webkit-line-clamp:unset;overflow:visible;white-space:normal}
.customer-report-group .formal-report-table>div{grid-template-columns:minmax(165px,1fr) 5em minmax(100px,.62fr) repeat(3,minmax(155px,1.2fr)) 66px}
.formal-report-table .report-row-actions{display:grid;gap:5px;width:64px;justify-self:center;align-self:start}.formal-report-table .report-row-actions button,.formal-report-table .report-realized-pill{box-sizing:border-box;width:64px;height:26px;min-height:26px;padding:3px 5px;border-radius:7px;font-size:10px;font-weight:800;line-height:18px;text-align:center;white-space:nowrap}.customer-report-group .formal-report-table .report-edit-button{border:1px solid #99c9ef;background:#eaf5ff;color:#1676ca}.customer-report-group .formal-report-table .report-remove-button{width:64px;height:26px;padding:3px 5px;white-space:nowrap}.formal-report-table .report-realized-pill{display:inline-grid;place-items:center;background:#e4f7eb;color:#188451}.formal-report-table .project-report-secondary-actions{align-items:center}
.formal-report-table .report-source-missing-row{background:#fafcff;color:#71849a}.formal-report-table .report-source-missing-pill,.formal-report-table .report-source-missing-action{display:inline-grid;place-items:center;box-sizing:border-box;min-height:26px;padding:3px 7px;border:1px solid #d7e2ec;border-radius:7px;background:#f1f5f8;color:#71849a;font-size:10px;font-weight:800;line-height:18px;white-space:nowrap}.formal-report-table .report-source-missing-action{width:64px}
.customer-detail-modal{width:min(820px,calc(100vw - 30px));max-height:calc(100vh - 30px);overflow:auto;padding:22px;border-radius:20px;background:linear-gradient(145deg,#f8fcff,#edf7ff);box-shadow:0 30px 70px #102d4b40}
.customer-detail-modal>header{display:flex;justify-content:space-between;gap:15px}.customer-detail-modal h2,.customer-detail-modal p{margin:0}.customer-detail-modal header small{color:#1880c9;font-weight:800}.customer-detail-modal header p{margin-top:4px;color:#70869a;font-size:12px}
.customer-link-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;margin:18px 0 12px;padding:12px;border:1px solid #cfe3f3;border-radius:13px;background:#fff}.customer-link-panel label{display:grid;gap:5px;font-size:12px;font-weight:700}.customer-link-panel select{height:40px;border:1px solid #c8dceb;border-radius:9px;background:#fff;padding:0 10px}
.customer-detail-loading,.customer-detail-error{margin-top:18px;padding:20px;border-radius:13px;background:#fff;text-align:center;color:#72879a}.customer-detail-error{padding:10px;background:#fff3e9;color:#b16018}
.customer-search-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:16px}.customer-search-panel input{height:40px;border:1px solid #c9ddec;border-radius:10px;background:#fff;padding:0 12px;color:#24445f}
.customer-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.customer-detail-grid article{min-height:68px;padding:12px;border:1px solid #d7e5f0;border-radius:12px;background:#fff}.customer-detail-grid article.wide{grid-column:1/-1}.customer-detail-grid span{display:block;margin-bottom:7px;color:#6d8397;font-size:12px}.customer-detail-grid strong,.customer-detail-grid p{min-height:20px;color:#203b55;white-space:pre-wrap}
.report-source-task-modal{width:min(780px,calc(100vw - 30px));max-height:calc(100vh - 30px);overflow:auto;padding:22px;border-radius:20px;background:linear-gradient(145deg,#f8fcff,#edf7ff);box-shadow:0 30px 70px #102d4b40}.report-source-task-modal>header{display:flex;justify-content:space-between;gap:15px}.report-source-task-modal h2,.report-source-task-modal p{margin:0}.report-source-task-modal header small{color:#1880c9;font-weight:800}.report-source-task-modal header p{margin-top:4px;color:#70869a;font-size:12px}.report-source-task-list{display:grid;gap:9px;margin-top:16px}.report-source-task-list article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 14px;align-items:center;padding:13px;border:1px solid #d7e5f0;border-radius:13px;background:#fff}.report-source-task-list article>div{display:grid;gap:3px}.report-source-task-list article span,.report-source-task-list article p{color:#6c8296;font-size:12px}.report-source-task-list article p{grid-column:1/-1;margin:0;white-space:pre-wrap}.definition-actions{display:flex;gap:6px}.value-position-list i.inactive{background:#edf1f4;color:#71808d}
@media(max-width:900px){.customer-report-group>header{align-items:flex-start}.customer-report-group .value-change-table{overflow:visible}.customer-report-group .value-change-head{display:none}.customer-report-group .value-change-table>div:not(.value-change-head),.workspace-report-groups .customer-report-group .value-change-table>div:not(.value-change-head){grid-template-columns:32px minmax(0,1fr) 5em;gap:8px;min-width:0;padding:12px}.customer-report-group .value-change-table>div:not(.value-change-head)>strong{grid-column:2}.customer-report-group .value-change-table>div:not(.value-change-head)>span[data-label="负责人"]{grid-column:3;overflow-wrap:anywhere}.customer-report-group .value-change-table>div:not(.value-change-head)>p{grid-column:1/-1;display:grid;-webkit-line-clamp:unset;grid-template-columns:86px minmax(0,1fr);gap:8px;padding-top:8px;border-top:1px solid #e7eff6}.customer-report-group .value-change-table>div:not(.value-change-head)>p:before{content:attr(data-label);color:#668098;font-weight:700}.customer-report-group .value-change-table>div:not(.value-change-head)>p.team-value-cell{display:grid;grid-template-columns:86px minmax(0,1fr);column-gap:12px}.customer-report-group p.team-value-cell:before{font-size:12px;line-height:1.55}.project-report-actions{gap:5px}.workspace-report-groups .candidate-actions{grid-column:2/-1;grid-template-columns:repeat(2,auto);justify-self:end;width:auto}.workspace-report-groups .candidate-actions:before{content:attr(data-label);align-self:center;color:#668098;font-size:11px;font-weight:700}}
@media(max-width:900px){.customer-report-group .formal-report-table>div:not(.value-change-head){grid-template-columns:minmax(0,1fr) 5em}.customer-report-group .formal-report-table>div:not(.value-change-head)>strong{grid-column:1}.customer-report-group .formal-report-table>div:not(.value-change-head)>span[data-label="负责人"]{grid-column:2}.customer-report-group .formal-report-table>div:not(.value-change-head)>p{grid-column:1/-1}.formal-report-table .report-row-actions{grid-column:1/-1;grid-template-columns:repeat(2,64px);justify-self:end;width:auto}.formal-report-table .report-row-actions:before{content:attr(data-label);align-self:center;color:#668098;font-size:11px;font-weight:700}}
@media(max-width:720px){.customer-search-panel,.customer-link-panel,.customer-detail-grid,.report-source-task-list article{grid-template-columns:minmax(0,1fr)}.customer-detail-grid article.wide,.report-source-task-list article p{grid-column:auto}.customer-report-group>header>div{display:grid;gap:3px}.customer-report-group>header button{white-space:nowrap}.definition-actions{grid-column:1/-1}.special-pending-block-head{align-items:flex-start;flex-direction:column}.special-pending-block>.customer-report-groups{padding:8px}}

/* Value categories are open-ended: every active category owns an independent summary card. */
.value-summary-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.value-summary-card{box-sizing:border-box;width:100%;min-width:0;max-width:100%;padding:11px 12px}
.value-summary-card header{min-width:0}.value-summary-card header strong{min-width:0;overflow-wrap:anywhere}.value-summary-card>div{gap:6px}.value-summary-card p+ p{padding-left:8px}.value-summary-card b{font-size:20px}
.value-summary-card>div{margin-top:10px}.value-summary-card footer{display:none}
.value-report-section>header,.value-report-specials>header,.team-value-workspace>header{margin-bottom:10px}
.value-report-section h2,.value-report-specials h2,.team-value-workspace h2{font-size:17px;color:#1676cd}
.value-report-section,.value-report-specials,.team-value-workspace{padding:15px}
.customer-report-group .value-change-table>div{padding-block:8px}
.customer-report-group .value-change-table>div:not(.value-change-head)>strong{gap:4px}
.value-summary-empty{grid-column:1/-1}
@media(max-width:900px){.value-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.value-summary-grid{grid-template-columns:minmax(0,1fr)}}
.value-summary-card.custom{background:linear-gradient(145deg,#f8fcff,#eaf7ff)}
.position-manager-region:not(.special-manager-region) form{grid-template-columns:minmax(0,1fr) auto}
@media(max-width:720px){.position-manager-region:not(.special-manager-region) form{grid-template-columns:minmax(0,1fr)}}
.value-position-manager .definition-editor{grid-template-columns:minmax(170px,.75fr) minmax(0,2fr);align-items:end}.definition-editor fieldset{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0;padding:10px;border:1px solid #d7e6f2;border-radius:12px}.definition-editor legend{padding:0 5px;color:#607a92;font-size:11px;font-weight:700}.definition-editor fieldset label{grid-template-columns:20px minmax(0,1fr);align-items:center}.definition-editor fieldset b{color:#1b78c8;text-align:center}.definition-editor .modal-actions{grid-column:1/-1;justify-content:flex-end}.definition-editor.read-only input{color:#627a90;background:#f3f6f8}.definition-actions .archive{border-color:#f2c78d;color:#a86417;background:#fff9ef}.archived-definition-region{margin-top:14px;padding-top:12px;border-top:1px solid #d3e3ef}.archived-definition-toggle{width:100%}.archived-definition-list{display:grid;gap:7px;margin-top:10px}.archived-definition-list article{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;border:1px solid #dce6ed;border-radius:10px;background:#f7f9fa}.archived-definition-list article>div{display:grid;gap:2px}.archived-definition-list small{color:#738698}.archived-definition-list article>span{display:flex;gap:6px}
@media(max-width:720px){.value-position-manager .definition-editor,.definition-editor fieldset{grid-template-columns:minmax(0,1fr)}.definition-editor fieldset label{grid-template-columns:24px minmax(0,1fr)}.archived-definition-list article{align-items:stretch;flex-direction:column}.archived-definition-list article>span{justify-content:flex-end}}

/* Representative task gallery and immutable report snapshot history. */
.representative-projects{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:stretch}
.representative-projects>article{position:relative;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto auto auto;gap:7px;align-content:start;align-items:start;height:100%;padding:12px;border:1px solid #d7e6f2;border-radius:15px;background:linear-gradient(155deg,#fff,#f5faff);overflow:hidden}
.representative-projects>article.secondary-option-primary{border-color:transparent;background:linear-gradient(155deg,#fff,#f5faff) padding-box,linear-gradient(to top,#ee8d28 0%,rgba(244,160,73,.72) 34%,rgba(255,211,161,.22) 72%,rgba(255,255,255,0) 100%) border-box;box-shadow:0 9px 22px rgba(238,141,40,.17),0 2px 7px rgba(238,141,40,.1)}
.representative-task-meta{display:grid;grid-template-columns:minmax(0,1fr);gap:5px;min-width:0}.representative-project-name{display:-webkit-box;min-height:2.7em;overflow:hidden;color:#607a91;font-size:11px;font-weight:800;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow-wrap:anywhere}.representative-task-badges{display:flex;align-items:center;gap:5px;min-height:24px;min-width:0;flex-wrap:wrap}
.representative-projects h3{display:-webkit-box;min-height:2.7em;overflow:hidden;font-size:15px;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow-wrap:anywhere}.representative-projects .representative-summary{display:-webkit-box;min-height:4.2em;overflow:hidden;color:#617990;font-size:12px;line-height:1.4;-webkit-box-orient:vertical;-webkit-line-clamp:3}
.representative-media{box-sizing:border-box;width:100%;aspect-ratio:16/9;border:1px solid #d8e9f6;border-radius:11px;background-color:#edf7ff;background-position:center;background-repeat:no-repeat;background-size:cover}
.representative-media.has-media{cursor:zoom-in;box-shadow:inset 0 0 0 1px #ffffff80}.representative-media:not(.has-media){pointer-events:none}
.representative-card-actions{display:flex;align-items:center;justify-content:space-between;gap:7px;min-height:24px}.representative-card-actions>span{color:#71869a;font-size:10px}.representative-card-actions>button{min-height:22px;padding:1px 3px;font-size:10px;line-height:1.2}
.report-project-count{padding:3px 8px;border-radius:999px;background:#e7f4ff;color:#1476c8;font-size:11px;white-space:nowrap}
.representative-projects.sorting>article{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto auto auto;padding-top:50px}.representative-projects.sorting .representative-sort-controls{position:absolute;inset:9px 9px auto;display:flex;grid-template-columns:none}.representative-projects.sorting .representative-sort-controls .representative-drag-handle{grid-row:auto;width:34px;height:28px}.representative-projects.sorting .representative-sort-controls b{margin-left:auto;grid-column:auto}
.report-snapshot-history{display:grid;gap:11px;padding:15px;border:1px solid #d9e7f3;border-radius:18px;background:#fff;box-shadow:0 10px 26px #234e7a0c}.report-snapshot-history>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.report-snapshot-history>header>div{display:flex;align-items:center;gap:9px}.report-snapshot-history h2,.report-snapshot-history p{margin:0}.report-snapshot-history h2{font-size:17px;color:#1676cd}.report-snapshot-history p{margin-top:2px;color:#71869a;font-size:12px}.report-snapshot-history>header>strong{color:#607a91;font-size:12px}
.report-snapshot-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.report-snapshot-list>button{display:grid;gap:4px;min-width:0;padding:10px 11px;border:1px solid #d7e5f0;border-radius:11px;background:#f8fbfe;color:#274761;text-align:left;cursor:pointer}.report-snapshot-list>button:hover{border-color:#78b9e8;background:#edf7ff}.report-snapshot-list span,.report-snapshot-list small{overflow:hidden;color:#71869a;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.snapshot-view-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 18px;border:1px solid #cfe3f5;border-radius:16px;background:linear-gradient(135deg,#f4faff,#eaf5ff)}.snapshot-view-toolbar h2,.snapshot-view-toolbar p{margin:0}.snapshot-view-toolbar small{color:#1880c9;font-weight:800}.snapshot-view-toolbar p{margin-top:4px;color:#70869a;font-size:12px}
.snapshot-view-actions{display:flex;align-items:end;gap:10px}.snapshot-view-actions label{display:grid;gap:4px;color:#55738d;font-size:12px;font-weight:700}.snapshot-view-actions select{min-width:150px;padding:8px 10px;border:1px solid #c9deef;border-radius:10px;background:#fff;color:#173550}.snapshot-filter-incomplete{margin:10px 0;padding:10px 14px;border:1px solid #f0cf8a;border-radius:12px;background:#fff8e8;color:#8b611a;font-size:13px}
.snapshot-records{display:grid;gap:11px;padding:15px;border:1px solid #d9e7f3;border-radius:18px;background:#fff}.snapshot-records>header{display:flex;align-items:end;justify-content:space-between;gap:12px}.snapshot-records h2{margin:0;color:#1676cd;font-size:17px}.snapshot-records>header small{color:#71869a}.snapshot-records>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.snapshot-records article{display:grid;gap:7px;padding:11px;border:1px solid #dce8f2;border-radius:12px;background:#fbfdff}.snapshot-records article p{margin:0;color:#536f87;font-size:12px;line-height:1.55}.snapshot-records article>small{color:#778da0}
.report-media-preview-backdrop{position:fixed;z-index:1800;inset:0;display:grid;place-items:center;padding:20px;background:#10263bb8}.report-media-preview{position:relative;display:grid;place-items:center;width:min(1100px,calc(100vw - 40px));height:min(82vh,760px);padding:18px;border-radius:18px;background:#fff;box-shadow:0 30px 80px #0006}.report-media-preview>.icon-button{position:absolute;z-index:1;top:10px;right:10px}.report-media-preview img{display:block;max-width:100%;max-height:100%;object-fit:contain}
@media(min-width:1800px){.representative-projects{grid-template-columns:repeat(5,minmax(0,1fr))}.report-snapshot-list{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1150px){.representative-projects,.report-snapshot-list{grid-template-columns:repeat(2,minmax(0,1fr))}.snapshot-records>div{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.representative-projects,.report-snapshot-list,.snapshot-records>div{grid-template-columns:minmax(0,1fr)}.representative-projects>article,.representative-projects.sorting>article{grid-template-columns:minmax(0,1fr)}.representative-projects>article>*:not(.representative-sort-controls){grid-column:auto!important}.snapshot-view-toolbar,.snapshot-records>header{align-items:flex-start;flex-direction:column}.snapshot-view-actions{width:100%;align-items:stretch;flex-direction:column}.snapshot-view-actions select,.snapshot-view-actions .button{width:100%}.report-media-preview{width:calc(100vw - 24px);height:78vh;padding:10px}}

/* Compact report controls: the period picker owns its scrolling and never widens the page. */
.value-report-filterbar{box-sizing:border-box;width:100%;grid-template-columns:minmax(160px,.9fr) repeat(4,minmax(115px,1fr)) auto;gap:8px;padding:7px 10px;border-radius:12px}
.value-report-filterbar>label,.month-multi-field{gap:3px;font-size:10px}.value-report-filterbar select,.month-multi-trigger{height:34px;padding-inline:10px;border-radius:9px}.value-report-actions{gap:6px}.value-report-actions .button{min-height:34px;padding:6px 10px;border-radius:9px;font-size:12px;white-space:nowrap}
.month-multi-popover{box-sizing:border-box;width:min(680px,calc(100vw - 32px));max-height:calc(100vh - 140px);padding:12px 14px;overflow:auto;border-radius:15px}
.month-multi-popover-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:9px;color:#244862}.month-multi-popover-head strong{font-size:14px}.month-multi-popover-head span{color:#7890a5;font-size:11px;font-weight:500}
.month-multi-tools{margin-bottom:8px}.month-multi-tools button{padding:6px 12px}
.month-year-groups{display:grid;gap:10px}.month-year-group{display:grid;grid-template-columns:62px minmax(0,1fr);gap:8px;align-items:start;padding-top:9px;border-top:1px solid #e4edf4}.month-year-group>strong{padding-top:8px;color:#1d6fae;font-size:13px}.month-year-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}.month-year-grid label{display:flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:4px 6px;border:1px solid #dbe8f2;border-radius:9px;background:#fbfdff;color:#31526d;font-size:12px;cursor:pointer}.month-year-grid label:has(input:checked){border-color:#72b9eb;background:#eaf6ff;color:#0c6fae;font-weight:800}.month-year-grid input{width:auto!important;height:auto!important;margin:0}.month-multi-popover>small{display:block;margin-top:10px;color:#7890a5;font-weight:400}

/* The desktop sidebar remains 240px wide above 800px. In this narrow desktop
   band the period panel uses the report canvas width (viewport minus sidebar
   and page gutters), so both edges remain visible without hiding overflow. */
@media(min-width:801px) and (max-width:1100px){.month-multi-popover{right:auto;left:0;width:min(680px,calc(100vw - var(--sidebar-width) - 60px))}}

/* Customer detail is an information sheet, with association controls shown only on demand. */
.customer-detail-modal{box-sizing:border-box;width:min(900px,calc(100vw - 30px));max-height:calc(100vh - 30px);padding:16px 18px;border-radius:17px}
.customer-detail-modal>header{align-items:flex-start;padding-bottom:11px;border-bottom:1px solid #d9e8f3}.customer-detail-modal h2{margin-top:2px;font-size:24px;line-height:1.25}.customer-detail-tags{display:flex;gap:6px;margin-top:7px}.customer-detail-tags span{padding:3px 8px;border-radius:999px;background:#e8f4ff;color:#2875ad;font-size:10px;font-weight:800}
.customer-linked-strip{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:9px;align-items:center;margin:10px 0;padding:8px 10px;border:1px solid #cfe3f3;border-radius:10px;background:#fff}.customer-linked-strip span{color:#70879a;font-size:11px}.customer-linked-strip strong{overflow:hidden;color:#24445f;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.customer-linked-strip .button{min-height:30px;padding:4px 9px;font-size:11px}
.customer-search-panel{margin-top:10px}.customer-search-panel input,.customer-link-panel select{height:34px}.customer-search-panel .button,.customer-link-panel .button{min-height:34px;padding:5px 10px}.customer-link-panel{margin:7px 0 10px;padding:8px 10px;border-radius:10px}
.customer-detail-loading{margin-top:10px;padding:16px}.customer-detail-grid{gap:0;margin-top:10px;overflow:hidden;border:1px solid #d7e5f0;border-radius:11px;background:#fff}.customer-detail-grid article{display:grid;grid-template-columns:92px minmax(0,1fr);gap:10px;align-items:start;min-height:0;padding:9px 11px;border:0;border-right:1px solid #e3edf4;border-bottom:1px solid #e3edf4;border-radius:0;background:#fff}.customer-detail-grid article:nth-child(even),.customer-detail-grid article.wide{border-right:0}.customer-detail-grid article:nth-last-child(-n+2):not(.wide),.customer-detail-grid article:last-child{border-bottom:0}.customer-detail-grid article.wide{grid-column:1/-1}.customer-detail-grid span{margin:0;color:#6d8397;font-size:11px}.customer-detail-grid strong,.customer-detail-grid p{min-height:0;margin:0;color:#203b55;font-size:12px;line-height:1.5;white-space:pre-wrap}.customer-detail-modal>footer{margin-top:8px;color:#7890a5;font-size:10px;text-align:right}

@media(max-width:1100px){.value-report-filterbar{grid-template-columns:repeat(2,minmax(0,1fr))}.value-report-actions{grid-column:1/-1;justify-content:flex-end}}
@media(max-width:720px){.value-report-filterbar{grid-template-columns:minmax(0,1fr);padding:8px}.value-report-actions{grid-column:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.month-multi-popover{position:fixed;inset:auto 12px 12px;width:auto;max-height:76vh}.month-year-group{grid-template-columns:minmax(0,1fr)}.month-year-group>strong{padding-top:0}.month-year-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.customer-detail-modal{width:calc(100vw - 20px);padding:14px}.customer-detail-modal h2{font-size:19px}.customer-linked-strip{grid-template-columns:minmax(0,1fr) auto}.customer-linked-strip span{grid-column:1/-1}.customer-detail-grid{grid-template-columns:minmax(0,1fr)}.customer-detail-grid article,.customer-detail-grid article:nth-child(even),.customer-detail-grid article.wide{grid-column:auto;border-right:0;border-bottom:1px solid #e3edf4}.customer-detail-grid article:last-child{border-bottom:0}}

/* MT mobile reading mode: compact controls and summaries without changing desktop or report semantics. */
@media(max-width:600px){
  .team-value-report,.mt-monthly-report{gap:12px}
  .value-report-filterbar{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:4px 8px;border-radius:12px}
  .month-multi-field{grid-column:1;grid-row:1}
  .month-multi-field>span,.value-report-filterbar>label{font-size:0}
  .month-multi-trigger,.value-report-filterbar>label select{height:40px;min-width:0;padding:0 20px 0 8px;font-size:12px;text-overflow:ellipsis}
  .value-report-filterbar>label:nth-of-type(1){grid-column:1;grid-row:2}
  .value-report-filterbar>label:nth-of-type(2){grid-column:2;grid-row:2}
  .value-report-filterbar>label:nth-of-type(3){grid-column:1;grid-row:3}
  .value-report-filterbar>label:nth-of-type(4){grid-column:2;grid-row:3}
  .value-report-actions{grid-column:2;grid-row:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  .value-report-actions .button{min-height:40px;padding:5px 6px;font-size:11px}
  .value-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .value-summary-card{min-height:102px;padding:10px;border-radius:14px}
  .value-summary-card header{gap:6px}
  .value-summary-card header strong{font-size:13px;line-height:1.25}
  .value-card-icon{width:26px;height:26px;border-radius:8px;font-size:12px}
  .value-summary-card>div{gap:4px;margin-top:8px}
  .value-summary-card p+ p{padding-left:6px}
  .value-summary-card small{font-size:10px}
  .value-summary-card b{font-size:18px;line-height:1.15}
  .value-report-section,.value-report-specials,.team-value-workspace{padding:10px;border-radius:15px}
  .value-report-section>header,.value-report-specials>header,.team-value-workspace>header{margin-bottom:8px}
  .value-report-section h2,.value-report-specials h2,.team-value-workspace h2{font-size:17px}
  .representative-report-section>header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;align-items:center}
  .representative-report-section>header>div{grid-column:1;grid-row:1;min-width:0}
  .representative-sort-header{display:contents}
  .representative-sort-header>small{grid-column:1/-1;grid-row:2;overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
  .representative-sort-entry,.representative-sort-actions{grid-column:2;grid-row:1}
  .representative-sort-entry,.representative-sort-actions .button{min-height:30px;padding:4px 9px;font-size:11px}
  .representative-sort-actions{gap:5px}
  .representative-projects{gap:9px}
  .representative-projects>article{gap:5px;padding:10px;border-radius:13px}
  .representative-project-name{min-height:0;font-size:11px;-webkit-line-clamp:1}
  .representative-task-badges{gap:4px}
  .representative-task-badges .value-type-pill,.representative-task-badges .realization-pill{padding:3px 7px;font-size:10px}
  .representative-projects h3{display:-webkit-box;overflow:hidden;font-size:15px;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}
  .representative-summary{min-height:3.9em;font-size:12px;line-height:1.3}
  .representative-media{border-radius:9px}
  .representative-card-actions{min-height:26px}
  .representative-projects.sorting>article{padding-top:44px}
  .representative-projects.sorting .representative-sort-controls{inset:8px 8px auto}
  .customer-report-groups{gap:9px}
  .customer-report-group{border-radius:13px}
  .customer-report-group>header{gap:6px;padding:9px 10px}
  .customer-report-group>header>div{gap:2px}
  .customer-report-group>header strong{font-size:13px;line-height:1.35}
  .customer-report-group .formal-report-table>div:not(.value-change-head),.workspace-report-groups .customer-report-group .value-change-table>div:not(.value-change-head){gap:6px;padding:10px}
  .customer-report-group .value-change-table>div:not(.value-change-head)>p{grid-template-columns:74px minmax(0,1fr);gap:6px;padding-top:6px;font-size:12px;line-height:1.45}
  .customer-report-group .value-change-table>div:not(.value-change-head)>p.team-value-cell{grid-template-columns:74px minmax(0,1fr);column-gap:6px}
  .value-report-specials{background:linear-gradient(155deg,#fbfdff,#f1f3ff)}
  .value-report-specials>header{align-items:flex-start}
  .value-report-specials>header small{font-size:10px;text-align:right}
  .special-report-block{border-radius:12px}
  .value-report-specials>article.special-report-block>div:first-child{padding:10px}
  .special-report-block .customer-report-groups{padding:8px}
  .team-workspace-divider{gap:8px;margin-top:2px;font-size:17px}
  .team-value-workspace{gap:10px}
  .team-value-workspace>header p{font-size:11px}
  .report-snapshot-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .report-snapshot-list>button{padding:8px 9px}
}

.value-report-filterbar{
  --report-control-height:34px;
  grid-template-columns:minmax(130px,1.2fr) repeat(4,minmax(90px,1fr)) minmax(216px,246px) auto;
  align-items:end;
}
.value-report-filterbar>.month-multi-field>.month-multi-trigger,
.value-report-filterbar>label>select,.report-search-field>input,.report-task-search .report-search-submit{
  box-sizing:border-box;height:var(--report-control-height);min-height:var(--report-control-height);
}
.report-task-search{display:grid;gap:3px;min-width:0}
.report-task-search>label{font-size:10px;color:#284862}
.report-task-search-controls{display:grid;grid-template-columns:minmax(0,1fr) 50px;gap:6px;min-width:0}
.report-search-field{position:relative;min-width:0}
.report-search-field>input{
  min-width:0;width:100%;padding:0 34px 0 10px;border:1px solid #bcd7ed;border-radius:9px;
  color:#14304a;background:#fff;font-size:12px;
}
.report-search-field>input::-webkit-search-cancel-button{appearance:none}
.report-search-clear{
  position:absolute;inset-inline-end:6px;top:50%;transform:translateY(-50%);display:grid;place-items:center;
  width:24px;height:24px;padding:0;border:0;border-radius:6px;background:#e4f0fc;color:#25578d;
  font-size:16px;line-height:1;cursor:pointer;
}
.report-search-field>input:placeholder-shown+.report-search-clear{visibility:hidden}
.report-search-clear:hover{background:#d1e5fa}
.report-search-clear:focus-visible{outline:2px solid var(--blue,#2d6cdf);outline-offset:2px}
.report-task-search .report-search-submit{
  width:50px;padding:0 6px;border:1px solid var(--blue,#2d6cdf);border-radius:9px;
  background:var(--blue,#2d6cdf);color:#fff;font-size:12px;font-weight:650;
}
@media(max-width:1100px){
  .value-report-filterbar{grid-template-columns:repeat(2,minmax(0,1fr))}
  .report-task-search{grid-column:1/-1;max-width:246px;width:100%}
}
@media(max-width:720px){
  .value-report-filterbar{grid-template-columns:minmax(0,1fr)}
  .report-task-search{max-width:none}
}
@media(max-width:600px){
  .value-report-filterbar{--report-control-height:40px;grid-template-columns:repeat(2,minmax(0,1fr))}
  .report-task-search{grid-row:4}
}

.workspace-report-groups .candidate-confirm-button[aria-busy="true"]{opacity:.7;cursor:progress}
.report-authority-notice{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#284862}
