/* Daily web work: readable labels, one action row, distinct work states. */
:root{--action-height:36px;--action-font:14px;--action-gap:8px}
body{font-size:14px}
button,.download-action,input,select,textarea{font-family:inherit}
button:not(.project-link):not(.order-title-button):not(.nav button):not(.overview-card):not(.tab-button):not(.back-to-overview){font-size:var(--action-font)}
.project-table th,.order-desktop th,table th{font-size:14px;font-weight:600;color:#4d6056;letter-spacing:0;line-height:1.5;padding-block:13px}
.project-table td,.order-desktop td{font-size:14px;line-height:1.65}
.project-table .project-link,.order-title-button,.mobile-project-head .project-link{font-size:15px;font-weight:600}
.project-table .small,.mobile-project>.small,.source-tag,.mobile-project-meta{font-size:12px;line-height:1.65}
.project-money-cell{padding-inline:10px}
.project-table .work-date strong,.project-table .work-date-range-end{display:block;white-space:nowrap}
.project-money-value{white-space:nowrap;font-variant-numeric:tabular-nums}
.project-amount-lines{display:grid;gap:4px;min-width:0}
.project-amount-line{display:grid;grid-template-columns:max-content max-content;align-items:baseline;justify-content:space-between;gap:1px 8px;white-space:normal}
.project-amount-line small{color:var(--sub);font-size:.8em;white-space:nowrap}
.project-budget-review{grid-column:1/-1}
.project-table{--project-money-width:148px;--project-date-width:124px;--project-region-width:96px}
.project-table col.col-money{width:var(--project-money-width)}
.order-number-guide,.project-number-note{color:#634014;background:#fff8e8;border-radius:10px;border:1px solid #ead3a9}
.order-number-guide{margin:10px 0;font-size:13px;line-height:1.55}
.order-number-guide{padding:8px 10px}
.order-number-guide p{margin:0}
.order-number-guide p+p{margin-top:3px}
.order-number-actions{display:flex;flex-wrap:wrap;gap:4px 12px;align-items:center;margin-top:4px}
.order-number-actions button{font-size:inherit;min-height:32px}
.order-number-suggestion{font-size:12px;overflow-wrap:anywhere}
.order-number-actions [data-copy-intake]{display:inline-flex;align-items:center;min-height:27px;padding:2px 7px;font-size:12px;line-height:1.45}
.order-entry-tips{margin:20px 0 10px;color:#3f546a;font-size:14px;line-height:1.7}
.order-entry-tips>h2{margin:0 0 12px;font-size:19px;color:#183956}
.order-entry-tips h3{margin:0 0 9px;font-size:15px;color:#244865}
.order-entry-tips strong{font-weight:680;color:#203f5d}
.order-entry-tips p{margin:7px 0}
.order-entry-tips .intake-required-fields{
 margin:0 0 11px;padding:9px 12px;border:1px solid #dce9f5;border-radius:8px;background:#f2f7fc
}
.intake-required-fields>p:first-child{margin-top:0}.intake-required-fields>p:last-child{margin-bottom:0}
.order-entry-tips .intake-number-steps{margin:0;padding-inline-start:1.6em}
.intake-number-steps li+li{margin-top:9px}
.intake-number-steps code{white-space:nowrap;color:#234f7c}
#page .order-entry-tips .upload-format-example{
 font-size:14px!important;line-height:1.7!important;padding:7px 10px;background:#f6f9fd;border-radius:7px
}
.intake-bracket-note>span{display:inline-block;white-space:nowrap}
.project-number-note{margin:10px 0;padding:8px 10px;font-size:13px;line-height:1.5}
.project-table col.col-region{width:var(--project-region-width)}.project-table col.col-date{width:var(--project-date-width)}.project-table col.col-owner{width:132px}.project-table col.col-progress{width:174px}.project-table col.col-state{width:156px}.project-table col.col-priority{width:144px}
.project-table .priority-control select{font-size:13px}
.personal-actions-row>td{padding:0 14px 13px!important;background:#fff;border-bottom:1px solid #dfe5e1!important}
.personal-table tr:has(+.personal-actions-row)>td{border-bottom:0}
.personal-actions-row:hover>td{background:#fbfcf9}
.personal-work-line{display:flex;flex-direction:column;align-items:stretch;gap:7px;margin:7px 0 0;padding:8px 0 0;min-width:0;max-width:100%}
.personal-work-line>span{font-size:13px;line-height:1.6;min-width:0;max-width:100%;overflow-wrap:anywhere}
.personal-work-line .work-actions,.work-actions,.personal-work-line>.row-actions,.order-entry>.actions{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;gap:var(--action-gap);min-width:0;max-width:100%;width:100%;overflow-x:auto;overflow-y:hidden;padding:1px 1px 5px;scrollbar-width:thin;scrollbar-color:#c6d2ca transparent;-webkit-overflow-scrolling:touch}
.work-actions>button,.work-actions>.download-action,.personal-work-line .row-actions>button,.personal-work-line .row-actions>a,.order-entry>.actions>button,.order-entry>.actions>a{flex:0 0 auto;min-width:0!important;height:var(--action-height)!important;min-height:var(--action-height)!important;padding:7px 12px!important;font-size:var(--action-font)!important;line-height:20px!important;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap!important;word-break:keep-all;box-sizing:border-box;letter-spacing:0;margin:0}
.work-actions .download-action{gap:7px}.work-actions .download-action span{font-size:inherit;white-space:nowrap}.work-actions .download-action small{display:none}
.work-actions .download-icon{width:16px;height:16px;flex-basis:16px}
.detail-section .list{grid-template-columns:minmax(0,1fr)}
.list>.task{min-width:0;max-width:100%;overflow-wrap:anywhere}
.identity-name-button{display:block;min-width:0;max-width:100%;padding:0!important;border:0;background:transparent;box-shadow:none;font-size:14px;font-weight:600;line-height:1.5;color:inherit;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.identity-name-button:hover{background:transparent;color:#255db8}
.account-panel{max-width:760px}
.work-actions>.task-request-status,.work-actions>.task-action-note{flex:0 0 auto;max-width:360px;white-space:normal;font-size:12px}
.mobile-projects.personal-cards{grid-template-columns:minmax(0,1fr)}
.mobile-project{padding:15px 17px}.mobile-project>p,.mobile-project>.source-tag{margin-top:5px}.mobile-project .personal-work-line{border-top:1px solid #e7ece6;margin-top:9px;padding-top:10px}
.completed-work-line{flex-wrap:nowrap;align-items:stretch;border-top:0;padding-top:0}
button.action-accept{background:#315f62;border-color:#315f62;color:#fff}
button.action-complete{background:#edf2f8;border:1px solid #b9c9d9;color:#365a7a}
button.action-complete:hover{background:#e1eaf5;border-color:#8ea9c2;color:#244764}
.pending-work-actions>.pending-followup:first-child,.pending-work-actions>button:first-child{background:#315f62;color:#fff;border:1px solid #315f62}
.compact-overview,.queue-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,180px));gap:10px;margin:0 0 18px}
.compact-overview .overview-card,.queue-tabs>button{min-height:76px;padding:12px 15px;border:1px solid var(--line);border-radius:9px;font-size:14px;box-sizing:border-box}
.compact-overview .overview-card span{font-size:14px}.compact-overview .overview-card strong,.queue-tabs button strong{font-size:24px;color:#31574b;line-height:1.3}
.compact-overview .overview-card small{font-size:12px}.compact-overview .overview-arrow{display:none}
.action-card .message-project{font-size:13px}.action-card h3{font-size:15px}.action-card .matter-message{font-size:14px}.action-card .handoff-status strong{font-size:14px}.action-footer .small,.handoff-status .small{font-size:12px}
.action-card .action-buttons button,.dialog-top-actions button,.form-footer button,.action-notice{min-height:36px;font-size:14px;padding:7px 12px;white-space:nowrap}
.filters:has(#action-search){display:flex;flex-wrap:wrap;gap:9px;align-items:center}
#action-search{flex:1 1 260px;width:auto;min-width:180px;max-width:430px}
#action-region,#action-brand,#action-department{font-size:14px;min-width:120px;max-width:170px;flex:0 1 auto}
.filters #reset-action-filters{white-space:nowrap}
button.action-notice{font-weight:600;border-color:#8eaaa0;background:#edf4f0;color:#284f46}
.dialog-top-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end}
.dialog-top-actions .badge{font-size:12px}
#detail .dialog-tabs button{font-size:14px}#detail .dialog-head .eyebrow{font-size:12px}
.field>.field-caption,.field>input,.field>select,.field>textarea{font-size:14px}.field>.field-caption{min-height:21px}.field>span.field-hint{font-size:12px}.field>input,.field>select{min-height:40px;height:40px}
.restart-section{border:1px solid #dce4dc;border-radius:9px;margin:18px 0;padding:15px}
.restart-section legend{font-size:15px;font-weight:600;padding:0 5px}
.restart-person.field{display:grid;grid-template-columns:minmax(140px,.8fr) minmax(140px,1.3fr) minmax(205px,1fr);align-items:center;gap:12px;padding:12px 0;border-top:1px solid #e7ece6}
.restart-person:first-of-type{border-top:0}.restart-person-name{font-weight:600}.restart-person-name small{display:block;font-size:12px;color:#66756b;font-weight:400;margin-top:3px}.restart-person-scope{font-size:13px;line-height:1.7;overflow-wrap:anywhere}.restart-person>select{font-size:13px}
.restart-review .check-label{font-size:14px;line-height:1.7}.restart-review .section-head{align-items:flex-start;gap:12px}.restart-review .section-head>button{flex-shrink:0}
.reply-suggestions{position:fixed;inset:auto;margin:0;padding:8px;max-height:min(300px,48vh);overflow-y:auto;z-index:30;background:#fff;border:1px solid #cbd8cf;border-radius:9px;box-shadow:0 12px 40px #233a2928;box-sizing:border-box}
.reply-suggestions::backdrop{background:transparent}
.reply-suggestions-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:5px 8px 9px;font-size:13px;color:#344d40}.reply-suggestions-head span{font-size:12px;color:#69766c}
.reply-suggestions>button{display:block;text-align:left;font-size:14px;line-height:1.7;padding:10px 9px;margin:0;width:100%;height:auto;white-space:normal;color:#354d42;border:0;border-top:1px solid #edf0eb;border-radius:0;background:#fff}
.reply-suggestions>button:hover,.reply-suggestions>button:focus-visible{background:#eef4ef}
@media(max-width:760px){
 .compact-overview,.queue-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.compact-overview .overview-card,.queue-tabs>button{min-height:74px;padding:10px;font-size:13px}.queue-tabs>button{gap:5px}.queue-tabs button strong{font-size:22px}
 .mobile-project{padding:14px}.work-actions{--action-font:13px;--action-gap:6px}.work-actions>button,.work-actions>.download-action{padding-inline:10px!important}
 .restart-person.field{grid-template-columns:minmax(0,1fr);gap:7px}.restart-person>select{width:100%;height:40px}
 .dialog-top-actions .badge:not(.status-token,[data-detail-status]){display:none}#detail .dialog-head h2{font-size:18px}.dialog-top-actions{gap:6px}.dialog-top-actions button{font-size:12px;padding:6px 8px;min-height:34px}
 #action-region,#action-brand,#action-department{flex:1;max-width:none;min-width:100px}#action-search{flex-basis:100%;max-width:none}
}

/* Keep windowed desktop lists compact while retaining readable action labels. */
@media(min-width:761px){
 .personal-cards .mobile-project{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:16px;row-gap:4px}
 .personal-cards .mobile-project-head,.personal-cards .mobile-project>.small:not(:first-of-type),.personal-cards .mobile-project>.project-state-note,.personal-cards .mobile-project>.source-tag,.personal-cards .mobile-project>.important-change-tag,.personal-card-footer{grid-column:1/-1}
 .personal-cards .mobile-project>p:first-of-type{margin:0;align-self:center}
 .personal-cards .mobile-project-meta{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px;margin:0}
 .personal-card-footer{display:flex;align-items:flex-end;gap:14px;min-width:0;margin-top:3px}
 .personal-card-footer>.personal-work-line{flex:1;min-width:0;margin-top:0}
 .personal-card-footer>.mobile-priority{flex:0 0 146px;margin:0 0 6px;padding:0;border:0}
 .personal-cards .completed-work-line>span{display:block}
}
#manager-project-announce,#staffing-reminder,#project-header-reminder{min-height:36px;font-size:14px;padding:7px 12px;border-radius:7px;white-space:nowrap}
@media(min-width:761px){
 .personal-cards .mobile-project>.change-tag{grid-column:1/-1;justify-self:start;width:auto}
 .personal-cards .mobile-project>.project-state-note,.personal-cards .mobile-project>.reschedule-note,.personal-cards .mobile-project>.notice{grid-column:1/-1}
 .personal-card-footer{flex-wrap:wrap;row-gap:4px}
 .personal-card-footer>.personal-work-line{flex:1 1 620px}
 .personal-card-footer>.mobile-priority{margin-left:auto}
}

/* Keep preview rows compact; detailed work is opened from the project title. */
.project-table .closure-label{display:block;margin-top:5px;line-height:1.6;white-space:normal;word-break:normal;overflow-wrap:break-word}
.project-table .state-col,.project-table .col-state{min-width:144px}
.project-table .requirement-line{display:flex;flex-direction:column;align-items:flex-start;gap:2px;margin:2px 0 9px}
.project-table .requirement-line .status-label,.project-table .requirement-line .status-text{white-space:normal;word-break:normal;overflow-wrap:break-word;max-width:100%;line-height:1.6}
.project-table .status-token.badge{white-space:nowrap;max-width:100%}
.project-state-note.schedule-compact{color:#6c776c;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.65;font-size:12px}
.project-resume-note{display:block;font-size:12px;line-height:1.6;color:#68786c;margin-top:5px;overflow-wrap:break-word}
.project-table .project-state-note{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.65}
.personal-card-footer:has(>.mobile-priority):not(:has(>.personal-work-line)){justify-content:flex-end;border-top:0}
.download-action.compact,.download-action.compact span{font-size:14px!important;line-height:20px!important;font-weight:500}
.download-action.compact{min-height:36px;align-items:center;white-space:nowrap}
.notification h3,.action-card h3{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:5px;line-height:1.6}
.notification h3 .message-title{min-width:0;overflow-wrap:break-word}
.notification .badge,.notification .urgency-token,.action-card h3 .badge,.action-card .urgency-token{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;height:24px;min-height:24px;line-height:1;padding:0 8px;margin:0;vertical-align:middle;font-size:12px;box-sizing:border-box;border-radius:5px;white-space:nowrap}
.action-card .action-buttons{display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-end;gap:7px;min-width:0;overflow-x:auto;max-width:100%}
.action-card .action-buttons button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;white-space:nowrap;min-height:36px;height:36px;font-size:14px;line-height:20px;padding:7px 10px;box-sizing:border-box;gap:0}
.action-card .action-buttons:has([data-action-rename]){flex-wrap:wrap;overflow:visible}
#detail:has(.action-project-name-head){width:min(520px,calc(100vw - 24px))}
.reminder-count{font-size:10px!important;font-weight:400;margin-left:3px;line-height:18px;white-space:nowrap}
.reminder-word{font-size:13px;font-weight:500;line-height:18px;white-space:nowrap}
@media(min-width:1201px){#action-list>.record.action-card{grid-template-columns:minmax(180px,.9fr) minmax(200px,1fr) minmax(326px,1.1fr);gap:15px}.action-card .action-footer{min-width:0}.action-card .action-buttons button{font-size:14px;padding-inline:10px}}
@media(max-width:1200px){.action-card .action-footer{display:flex;flex-direction:column;align-items:stretch;gap:10px}.action-card .action-buttons{justify-content:flex-start}}
.message-updated,.change-update-line{display:flex;align-items:center;flex-wrap:wrap;gap:7px 12px;margin-top:8px}
.update-time{display:inline-flex;align-items:center;gap:7px;font-size:13px;line-height:1.6;color:#56685f;font-variant-numeric:tabular-nums}
.update-time strong{font-weight:600;color:#375c50}.change-recency{font-size:12px;line-height:1.6;padding:2px 7px;border-radius:4px;background:#f0f3ef;color:#627467;white-space:nowrap}.change-recency.latest{color:#2d6650;background:#edf5ef}.change-recency.earlier{color:#7a6c58;background:#f7f3eb}
.review-other-box{display:flex;flex-direction:column;gap:8px;padding:12px;background:#f7f9f5;border:1px solid #dce5dc;border-radius:7px;font-size:13px;margin-top:7px}.review-other-box[hidden]{display:none}.review-other-box textarea{min-height:82px}
.readonly-arrangement{background:#f4f6f2;color:#69766d}
.notification .message-buttons{display:flex;align-items:center;justify-content:flex-end;gap:7px}.notification .message-buttons>button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;line-height:20px}

.restart-person>select[hidden]{display:none}.restart-person>.readonly-arrangement{font-size:13px;line-height:1.6;border-radius:5px;padding:7px 9px}.message-buttons button[disabled]{opacity:.65}

.notification .message-buttons{flex-direction:row;flex-wrap:nowrap;align-self:center;max-width:100%}.notification .message-buttons>button{flex:0 0 auto;white-space:nowrap}
.work-actions .download-action.compact,.work-actions .download-action.compact span{font-size:var(--action-font)!important}

.staff-preview{display:flex;flex-direction:column;align-items:stretch;gap:3px;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;min-height:0!important;text-align:left;max-width:100%;width:100%;color:inherit;font-size:13px!important;line-height:1.6}
.preview-person-row{display:flex;min-width:0;gap:3px;align-items:center;max-width:100%}.preview-person{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.preview-more{flex:0 0 auto;color:#63766b;font-size:12px}
.demand-preview{display:block;max-width:100%;min-width:0;width:100%;min-height:0!important;border:0!important;background:transparent!important;box-shadow:none!important;text-align:left;padding:0!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px!important;line-height:1.6;font-weight:550}
.project-table .requirement-line{max-width:100%;overflow:hidden}.mobile-project-meta .mobile-staff{min-width:0;max-width:240px}.mobile-project-meta .staff-preview{font-size:12px!important}
.change-highlight{font-weight:650;background:transparent!important;padding:0;border:0}.change-highlight.status-success{color:var(--status-green)}.change-highlight.status-danger{color:var(--status-red)}.change-highlight.status-wait{color:var(--status-amber)}.change-highlight.status-neutral{color:#69736b}
.reply-suggestions.reply-inline{display:block;position:static;inset:auto;width:100%;max-width:100%;max-height:235px;overflow-y:auto;margin:6px 0 2px;padding:5px 7px;border:1px solid #d6e0d6;border-radius:7px;background:#fff;box-shadow:none;box-sizing:border-box}
.reply-inline .reply-suggestions-head{padding:5px 7px;font-size:12px}.reply-inline .reply-suggestions-head span{font-size:11px}.reply-suggestions.reply-inline>button{font-size:12px!important;line-height:1.65;padding:6px 7px;margin:0;min-height:0;height:auto;white-space:normal}
.staff-preview:hover,.demand-preview:hover{text-decoration:underline;text-underline-offset:3px}.staff-preview:focus-visible,.demand-preview:focus-visible{outline:2px solid #829f8e;outline-offset:3px}

.finance-reminder-kinds{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.finance-reminder-kinds button{min-height:40px;font-size:14px;line-height:1.5;padding:8px 10px}.finance-reminder-kinds button.selected{background:#edf4ef;border-color:#799888;color:#2d584b}.finance-reminder-kinds button[disabled]{opacity:.45}.finance-reminder-kinds .record{min-width:0}#finance-reminder-panel .section-head{gap:12px;flex-wrap:wrap}#finance-reminder-form textarea{min-height:86px}@media(max-width:600px){.finance-reminder-kinds{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Long project titles stay as a two-line preview; click or hover for the full name. */
#project-results .project-table .project-link{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-height:3.4em;overflow:hidden;text-overflow:ellipsis;white-space:normal;line-height:1.7;overflow-wrap:anywhere;word-break:normal}

.detail-live-update{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:0 0 auto;padding:10px 20px;border-bottom:1px solid #e8d9b8;background:#fff7e7;color:#805b22;font-size:13px;line-height:1.65}.detail-live-update>span{min-width:0;overflow-wrap:anywhere}.detail-live-update>button{flex:0 0 auto;white-space:nowrap}

.action-card .handoff-people{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;max-height:3.4em;padding:0;white-space:normal}
.handoff-label,.handoff-person{display:inline-block;white-space:nowrap}
.action-card .handoff-status>.small{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;max-height:3.4em}

/* Keep the read-only entry in the same place when accepting changes the work buttons. */
.personal-work-line .work-actions>[data-my-demand]{margin-left:auto}

.preparation-description{margin:14px 0;padding:12px 14px;background:#f4f6f5;border-radius:7px}.preparation-description h4{margin:0 0 6px}.preparation-description p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}

/* Compact reminder action; counts remain secondary after every update. */
button.reminder-button,.action-card .action-buttons button.reminder-button{display:inline-flex;align-items:center;justify-content:center;gap:0;min-height:32px;height:32px;padding:5px 8px;font-size:13px;line-height:18px;white-space:nowrap;flex:0 0 auto}

/* Mixed progress keeps each current stage in its own status color. */
.demand-preview .progress-stage{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:transparent;border:0;font:inherit;padding:0;line-height:inherit}

/* A single empty surface inside the management list. */
#action-list>.action-empty{margin:0;background:transparent;border:0;border-radius:0;box-shadow:none;padding:38px 20px}
.filename-guide{border-top:1px solid var(--line);padding-top:14px;margin-top:14px;overflow-wrap:anywhere}.filename-guide strong{font-size:14px}.filename-guide p{margin-top:6px;line-height:1.65}
.filename-error{border:1px solid #cf6c6c;border-radius:8px;padding:10px 12px;overflow-wrap:anywhere}.filename-error strong{color:#a53f47}.filename-error p{margin-top:6px;font-size:13px}
