.work-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.work-head h1{margin:0 0 8px}.work-note{color:#596e81;font-size:13px}.work-tools{display:flex;gap:12px;flex-wrap:wrap;margin:14px 0}.kanban{display:grid;grid-template-columns:repeat(3,minmax(235px,1fr));gap:16px;overflow:auto;padding-bottom:16px}.kanban-column{background:#e8eef5;border:1px solid #d4dfeb;border-radius:12px;padding:14px;min-height:160px}.kanban-column h2{display:flex;justify-content:space-between;font-size:15px;margin:2px 0 18px}.task-card{background:#fff;border:1px solid #d7e2ee;border-radius:8px;padding:14px;margin-bottom:12px;box-shadow:0 2px 4px #213d5610;cursor:grab}.task-card h3{font-size:14px;margin:8px 0}.task-card p{font-size:12px;color:#61768a;white-space:pre-wrap}.task-card select{font-size:12px;padding:6px}.task-tag{font-size:11px;padding:3px 7px;background:#e8f1fc;border-radius:4px}.workspace-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.workspace-form label{display:grid;gap:6px;font-size:13px}.workspace-form input,.workspace-form select,.workspace-form textarea{box-sizing:border-box;width:100%;padding:10px;border:1px solid #c9d7e4;border-radius:6px;font:inherit;background:#fff}.workspace-form .wide{grid-column:1/-1}.work-table{width:100%;border-collapse:collapse}.work-table td,.work-table th{text-align:start;padding:11px;border-bottom:1px solid #e1e8ef}.work-table input[type=checkbox]{width:18px;height:18px}.chat-layout{display:grid;grid-template-columns:250px 1fr;border:1px solid #d5e1e9;border-radius:12px;overflow:hidden;background:white;min-height:480px}.chat-people{border-right:1px solid #dae4ea;padding:14px}.chat-people button{display:block;width:100%;text-align:start;margin-bottom:8px}.chat-people button[aria-pressed=true]{background:#dceee7}.chat-thread{padding:20px;background:#f0f5f2;display:flex;flex-direction:column}.chat-history{flex:1;max-height:390px;overflow:auto}.chat-message{padding:10px 14px;margin:10px 0;background:#fff;border-radius:10px;max-width:85%;white-space:pre-wrap;overflow-wrap:anywhere}.chat-message.mine{margin-left:auto;background:#dff3e8}.chat-compose{display:flex;gap:8px;flex-wrap:wrap}.chat-compose textarea{flex:1;min-width:160px}.account-total{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0}.account-total span{padding:10px;background:#eef4fb;border-radius:6px}.cari-image-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}#content>.paper{margin-bottom:18px}#personnelFields{border-top:3px solid #3b7cad}#content>p.muted{padding:0 16px}.work-status{min-height:20px;color:#245b45}.work-disabled{padding:16px;background:#f5f7fa;border:1px solid #d8e2eb;border-radius:8px}.work-dialog{width:min(620px,95vw);max-height:90dvh;overflow:auto;border:1px solid #b8c9d8;border-radius:12px;padding:24px}.work-dialog::backdrop{background:#102a4560}.work-dialog .actions{margin-top:20px}.work-rtl{direction:rtl}@media(max-width:750px){.workspace-form,.cari-image-grid{grid-template-columns:1fr}.chat-layout{grid-template-columns:1fr}.chat-people{border-right:0;border-bottom:1px solid #ddd}.work-head{align-items:start;flex-direction:column}}
.work-tools input{width:auto;flex:1;min-width:160px}.work-tools button{flex:0 0 auto}.work-body>.paper{padding:20px}.work-body form>button{margin-top:16px}.work-body .work-table input:not([type=checkbox]){max-width:160px}.workspace-form textarea{min-height:80px}
/* Expanded date headers scroll with their data columns, not the metric label. */
.cashflow-matrix thead tr:nth-child(2) th:first-child{position:static;min-width:0}
.cashflow-alert{background:#fff1f2;color:#9f1239;border:1px solid #e8a8b3;border-left:5px solid #be123c;border-radius:8px;padding:14px;margin:14px 0}.cashflow-alert p{margin:8px 0 0}.cashflow-overdue td,.cashflow-overdue-cell{background:#fff1f2;color:#9f1239}.cashflow-negative{color:#9f1239;background:#fff1f2;font-weight:700}.cashflow-positive{color:#176044;font-weight:700}.cashflow-late-label{display:block;color:#9f1239;margin-top:6px;font-size:12px}.cashflow-matrix{white-space:nowrap;margin:14px 0}.cashflow-matrix th{background:#edf3fa}.cashflow-matrix th:first-child{position:sticky;left:0;z-index:1;min-width:150px}.cashflow-matrix td{min-width:110px;text-align:right}.cashflow-matrix thead button{font:inherit;white-space:normal;min-width:180px;max-width:250px}.cashflow-matrix tbody tr:last-child td{text-align:left}#cashBody details{margin:18px 0}#cashBody summary{cursor:pointer;font-weight:600;padding:10px 0}
.business-body .paper{padding:24px;margin-bottom:20px;overflow-x:auto}
.business-body fieldset{border:1px solid #dce4ed;border-radius:10px;padding:20px;margin:20px 0}
.business-body legend{font-weight:700;color:#163f6a;padding:0 8px}
.business-body .workspace-form{margin-top:12px}
.business-body table{width:100%;border-collapse:collapse}
.business-body th,.business-body td{padding:12px;text-align:left;border-bottom:1px solid #e5eaf0}
.business-body th{background:#f5f8fc}
.business-body input,.business-body textarea,.business-body select{max-width:100%}
@media(max-width:700px){.business-body .paper{padding:14px}.business-body fieldset{padding:12px}.business-body .workspace-form{grid-template-columns:1fr}}

.task-comment-form{display:grid;gap:12px}.task-comment-form label{display:grid;gap:6px}.task-discussion{max-height:400px;overflow:auto}.work-body>.paper{overflow-x:auto}.work-body>.paper table{width:100%;border-collapse:collapse}.work-body>.paper td,.work-body>.paper th{padding:12px;text-align:left;border-bottom:1px solid #dce5ee}

/* Column controls remain compact; horizontal scrolling stays inside each table. */
#content table[data-table-tools] th { white-space: nowrap; }
#content table[data-table-tools] th button { padding: 6px 4px; border: 0; background: transparent; color: inherit; font: inherit; }
#content table[data-table-tools] th button:hover { background: #e3edf8; }
#content table[data-table-tools] th button:focus-visible { outline: 2px solid #1565c0; outline-offset: 2px; }
#boardForm section { margin-bottom: 18px; }
#boardForm select { min-width: 100px; }
#inventoryBody { overflow-x: auto; }
#masterForm .paper { padding:24px; margin:16px 0; }
#masterForm .workspace-form > div { min-width:0; }
#masterForm input[type=checkbox] { width:20px; height:20px; }
@media(max-width:700px) {
 #masterForm .paper { padding:16px; }
 .master-table, .master-table tbody { display:block; width:100%; }
 .master-table thead { display:block; overflow-x:auto; }
 .master-table thead tr { display:flex; }
 .master-table tbody tr { display:block; margin:14px 0; padding:12px; border:1px solid #d4dfeb; border-radius:10px; background:white; }
 .master-table tbody tr[hidden] { display:none; }
 .master-table tbody td { display:grid; grid-template-columns:minmax(90px,40%) minmax(0,1fr); gap:12px; overflow-wrap:anywhere; padding:9px 0; }
 .master-table tbody td::before { content:attr(data-label); font-weight:600; color:#52687e; }
 .master-table button { min-height:44px; }
}
#lotLabel img { max-width: 100%; display: block; margin: 12px 0; }
@media print {
 body:has(#lotLabel) * { visibility: hidden; }
 body:has(#lotLabel) #lotLabel, body:has(#lotLabel) #lotLabel * { visibility: visible; }
 body:has(#lotLabel) dialog[open] { position: absolute; inset: 0 auto auto 0; border: 0; width: 100%; max-height: none; }
 body:has(#lotLabel) #lotLabel { position: absolute; left: 0; top: 0; width: 95mm; }
}
/* Consistent card interiors and messenger workspace. */
.workspace-form.paper,.cari-list-paper{padding:24px;box-sizing:border-box}
.workspace-form.paper>label{min-width:0}
.chat-layout{grid-template-columns:260px minmax(0,1fr);min-height:540px;background:#fff;border-radius:12px;overflow:hidden}
.chat-people{padding:16px;background:#f6f8fb}
.chat-people button{display:block;width:100%;text-align:left;padding:12px;margin:4px 0;border-color:transparent;border-radius:8px}
.chat-people button[aria-pressed=true]{background:#e6effc;border-color:#9bbbec;color:#123b62}
.chat-thread{min-width:0;padding:20px;background:#fff}
.chat-history{height:360px;overflow:auto;padding:8px;display:flex;flex-direction:column;gap:12px}
.chat-message{max-width:80%;padding:12px 16px;border-radius:12px;background:#f1f4f8;white-space:pre-wrap;overflow-wrap:anywhere;align-self:flex-start}
.chat-message.mine{background:#e1efff;align-self:flex-end}
.chat-compose{border-top:1px solid #dce5ef;padding-top:16px}
.chat-compose textarea{min-height:80px}
.team-notifications{position:fixed;bottom:20px;right:20px;z-index:10000;display:grid;gap:10px;width:min(340px,calc(100vw - 32px))}
.team-notification{background:#fff;border:1px solid #b5c9df;border-left:4px solid #1974cb;border-radius:10px;padding:16px;box-shadow:0 6px 24px #163f6a22;overflow-wrap:anywhere}
@media(max-width:680px){.workspace-form.paper,.cari-list-paper{padding:16px}.chat-layout{grid-template-columns:1fr}.chat-people{max-height:200px;overflow:auto}.chat-history{height:300px}.chat-compose{display:grid;grid-template-columns:1fr}.chat-message{max-width:94%}}

/* User presence: keep the text label alongside the colour indicator. */
.chat-people .chat-presence{display:flex;align-items:center;gap:8px}
.chat-people .chat-presence.is-online{color:#166534}
.chat-people .chat-presence.is-offline{color:#b91c1c}
.chat-presence-dot{display:inline-block;flex:0 0 9px;width:9px;height:9px;border-radius:50%;background:currentColor}

/* Technical card forms: consistent interior padding and field alignment. */
.task-notifications{position:fixed;top:110px;right:16px;width:min(330px,calc(100vw - 24px));max-height:50dvh;overflow:auto;z-index:9000;display:grid;gap:8px;font-size:14px;background:#f5f8fc;border:1px solid #bfd2e6;border-radius:8px;padding:10px;box-sizing:border-box;box-shadow:0 4px 14px #163f6a22;overflow-wrap:anywhere}.task-notifications[hidden]{display:none!important}.task-notifications>header{display:flex;justify-content:space-between;gap:8px}.task-notifications article{background:white;border:1px solid #d6e2ee;border-radius:6px;padding:10px}.task-notifications small{display:block;font-size:12px;color:#52677a;margin:4px 0}.task-notifications p{font-size:14px;margin:6px 0;white-space:pre-wrap}.task-notifications article>div,.task-notifications footer{display:flex;gap:6px;flex-wrap:wrap}.task-notifications button{font-size:14px;min-height:32px;padding:5px 9px}.task-notifications :focus-visible{outline:3px solid #176fc1;outline-offset:2px}
@media(max-width:700px),(pointer:coarse){.task-notifications{right:12px;top:100px;max-height:45dvh}.task-notifications button{min-height:44px}}
.task-reminder-editor,.task-reminder-preferences{border:1px solid #d6e2ee;border-radius:6px;padding:10px;margin:12px 0;font-size:14px}.task-reminder-editor summary,.task-reminder-preferences summary{cursor:pointer;min-height:32px;display:list-item;align-content:center}.task-reminder-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;align-items:start}.task-reminder-fields .task-wide{grid-column:1/-1}.task-reminder-editor [hidden]{display:none!important}.task-reminder-editor .task-reminder-zone,.task-reminder-editor .task-reminder-help{font-size:12px;color:#52677a;margin:6px 0}.task-reminder-channels{display:flex;gap:8px 16px;align-items:center;flex-wrap:wrap;margin:12px 0}.typed-task-dialog .task-reminder-channels label,.task-reminder-preferences .task-reminder-channels label,.typed-task-dialog .task-reminder-check{flex-direction:row;align-items:center;gap:6px}.task-reminder-channels input[type=checkbox],.task-reminder-check input{width:18px;min-height:18px;flex:0 0 18px;padding:0}.task-reminder-editor label,.task-reminder-preferences label{display:flex;flex-direction:column;gap:4px;font-size:13px;margin:8px 0;min-width:0}.task-reminder-editor input,.task-reminder-editor select,.task-reminder-preferences input{box-sizing:border-box;width:100%;min-width:0}.task-reminder-preferences input[type=email]{max-width:420px}.task-reminder-editor [role=alert],.task-reminder-preferences [role=alert]{color:#a32020}.task-reminder-editor [role=status]:empty,.task-reminder-preferences [role=status]:empty{display:none}
@media(max-width:700px),(pointer:coarse){.task-reminder-editor summary,.task-reminder-preferences summary{min-height:44px}}
@media(max-width:360px){.task-reminder-fields{grid-template-columns:minmax(0,1fr)}}
.user-org-table td,.user-org-table th,.typed-task-board .task-card p{font-size:14px}
.user-org-admin{min-width:0;font-size:14px}.user-org-admin>header,.user-org-admin [data-user-filter],.user-org-context,.user-org-dialog header{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.user-org-admin>header,.user-org-dialog header{justify-content:space-between}.user-org-admin h1{margin:0}.user-org-admin label,.user-org-dialog label{display:flex;flex-direction:column;gap:4px;margin:0;font-size:13px;min-width:0}.user-org-admin input,.user-org-admin select,.user-org-admin button,.user-org-dialog input,.user-org-dialog select,.user-org-dialog button{min-height:32px;font-size:14px;padding:5px 9px;box-sizing:border-box}.user-org-admin [data-user-filter]{margin:12px 0}.user-org-admin small,.user-org-dialog small{display:block;font-size:12px}.user-org-table{overflow:auto;background:white;border:1px solid #d6e2ee;border-radius:8px;margin-top:12px}.user-org-table table{width:100%;min-width:620px}.user-org-table th,.user-org-table td{padding:10px;vertical-align:top}.user-org-table td button{margin:0 4px 4px 0}.user-org-admin [role=status]:empty,.user-org-dialog [role=alert]:empty{display:none}.user-org-dialog{box-sizing:border-box;width:700px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:18px;color:#20394f}.user-org-dialog h2{font-size:20px;margin:0}.user-org-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;margin:14px 0}.user-org-fields input,.user-org-fields select{width:100%;min-width:0}.user-org-dialog fieldset{border:1px solid #d6e2ee;border-radius:6px;padding:10px;margin:12px 0;min-width:0}.user-org-dialog legend{font-size:14px;font-weight:600}.user-org-dialog .permissionList{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 10px;max-height:180px;overflow:auto}.user-org-dialog .permissionList label,.user-org-task-rights label{flex-direction:row;align-items:center}.user-org-dialog input[type=checkbox]{width:18px;min-height:18px;flex:0 0 18px;padding:0}.user-org-dialog p{font-size:12px}.user-org-dialog [role=alert]{font-size:14px;color:#a32020}.user-org-new-unit{border:1px solid #d6e2ee;padding:10px;border-radius:6px}.user-org-new-unit summary{cursor:pointer}.user-org-new-unit label{margin:10px 0}.user-org-dialog [data-picker]+small{font-size:12px!important}.user-org-context{font-size:13px}.user-org-admin :focus-visible,.user-org-dialog :focus-visible{outline:3px solid #176fc1;outline-offset:2px}
@media(max-width:700px),(pointer:coarse){.user-org-admin input,.user-org-admin select,.user-org-admin button,.user-org-dialog input,.user-org-dialog select,.user-org-dialog button{min-height:44px}.user-org-admin input,.user-org-admin select,.user-org-dialog input,.user-org-dialog select{font-size:16px}.user-org-dialog{padding:12px}.user-org-dialog .permissionList{grid-template-columns:minmax(0,1fr)}}
@media(max-width:430px){.user-org-fields{grid-template-columns:minmax(0,1fr)}}
.typed-task-dialog label{margin:0}.task-agenda [data-agenda-rows]{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:10px}.task-agenda h2{font-size:18px;margin:0}.personal-typed-tasks{margin-bottom:14px}.task-compact .task-stage{background:white}.task-compact .task-stage>[data-task-rows]{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:10px}.task-compact .task-board-heading h2{font-size:18px;margin:0 0 10px}#monthGrid [data-calendar-task]{display:block;width:100%;text-align:left;white-space:normal;overflow-wrap:anywhere;min-width:0;font-size:12px;padding:4px;background:#e4f0fb;color:#183e64;border:1px solid #caddeb}
.typed-task-board{min-width:0;font-size:14px}.task-board-heading,.typed-task-dialog header,.task-board-filter,.task-actions,.task-pager,.task-card-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.task-board-heading,.typed-task-dialog header{justify-content:space-between}.task-board-heading h1{margin:0 0 12px}.task-board-filter label{display:flex;align-items:center;gap:6px;margin:0}.typed-task-board input,.typed-task-board button,.typed-task-board select,.typed-task-dialog input,.typed-task-dialog select,.typed-task-dialog button{min-height:32px;font-size:14px;padding:5px 9px}.task-stage-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:start}.task-stage{min-width:0;border:1px solid #d6e2ee;border-radius:8px;padding:12px;background:#f4f7fb}.task-stage h2{font-size:16px;margin:0 0 12px}.task-stage:last-child:nth-child(4){grid-column:1/-1}.task-stage:last-child:nth-child(4)>[data-task-rows]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.typed-task-board .task-card{margin:0 0 10px;padding:12px;overflow-wrap:anywhere}.typed-task-board .task-card h3{font-size:15px;margin:6px 0}.typed-task-board .task-card p{margin:6px 0}.typed-task-board small,.typed-task-dialog small{display:block;font-size:12px;color:#52677a}.typed-task-board [role=status]:empty,.typed-task-dialog [role=alert]:empty{display:none}.task-pager{justify-content:space-between;margin-top:10px}.task-card-actions{margin-top:10px}.task-card-actions label{font-size:12px;margin:0}.task-stage:only-child{grid-column:1/-1}.typed-task-dialog{box-sizing:border-box;width:620px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:18px;color:#20394f}.typed-task-dialog h2{font-size:20px;margin:0}.typed-task-dialog form{margin:12px 0 0}.typed-task-dialog .task-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;align-items:start}.typed-task-dialog label{display:flex;flex-direction:column;gap:4px;min-width:0;font-size:13px}.typed-task-dialog .task-wide{grid-column:1/-1}.typed-task-dialog input,.typed-task-dialog select,.typed-task-dialog textarea{width:100%;min-width:0;box-sizing:border-box}.typed-task-dialog textarea{font-size:14px;resize:vertical}.typed-task-dialog [role=alert]{color:#a32020}.typed-task-dialog .task-comments-section{border-top:1px solid #d6e2ee;margin-top:16px;padding-top:12px}.task-comments-section h3{font-size:16px;margin:0}.task-comments-section article{padding:10px 0;border-bottom:1px solid #e0e8f0;overflow-wrap:anywhere}.task-comments-section article p{white-space:pre-wrap;margin:6px 0}.task-comments-section img{max-width:100%;max-height:180px;object-fit:contain}.task-check input{width:18px;min-height:18px}.typed-task-dialog :focus-visible,.typed-task-board :focus-visible{outline:3px solid #176fc1;outline-offset:2px}.typed-task-dialog [data-picker]+small{font-size:12px!important}
@media(max-width:1000px){.task-stage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.task-stage:last-child:nth-child(4)>[data-task-rows]{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px),(pointer:coarse){.typed-task-board input,.typed-task-board button,.typed-task-board select,.typed-task-dialog input,.typed-task-dialog select,.typed-task-dialog button{min-height:44px}.typed-task-board input,.typed-task-board select,.typed-task-dialog input,.typed-task-dialog select,.typed-task-dialog textarea{font-size:16px}.task-stage-grid,.task-stage:last-child:nth-child(4)>[data-task-rows]{grid-template-columns:minmax(0,1fr)}.typed-task-dialog{padding:12px}.typed-task-dialog .task-fields{gap:10px}.task-board-filter label:first-child{width:100%}.task-board-filter input[type=search]{flex:1;min-width:0}.typed-task-dialog input[type=file]{font-size:12px}}
@media(max-width:360px){.typed-task-dialog .task-fields{grid-template-columns:minmax(0,1fr)}}
#masterForm>.paper{padding:20px;margin-bottom:16px}#masterForm .workspace-form{align-items:start;gap:16px}#masterForm label{display:flex;flex-direction:column;gap:6px}#masterForm label:has(input[type=checkbox]){flex-direction:row;align-items:center}#masterForm output{display:block;margin:14px 0;line-height:1.8}#content .paper:has(#cardboardForm){padding:20px}#content #cardboardForm.workspace-form{align-items:start}

#content #paperForm .workspace-form{align-items:start;gap:16px}#content #paperForm label{display:flex;flex-direction:column;gap:6px}#boardForm>.paper{padding:20px;margin-bottom:16px}

.chat-layout{border:1px solid #dce6f0;border-radius:14px;overflow:hidden;background:white}.chat-people{background:#f4f7fb;padding:16px}.chat-thread{padding:18px}.chat-message{border-radius:14px 14px 14px 4px;padding:12px 16px;max-width:80%;box-shadow:0 1px 3px #142a4010}.chat-message.mine{border-radius:14px 14px 4px 14px;background:#e5f1ff;margin-left:auto}.chat-compose{border-top:1px solid #e0e8f0;padding-top:14px}.chat-dragover{outline:3px dashed #2075c4;background:#edf6ff}#chatAttachment:empty{display:none}
#laborListGroups:not([hidden]){display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px 18px}#laborListGroups label{display:flex;align-items:center;gap:9px;margin:0;min-height:36px}#laborListGroups input[type=checkbox]{width:18px;height:18px;margin:0;padding:0;flex:0 0 18px}#laborListGroups p{grid-column:1/-1;margin:8px 0 0}

/* Compact approved master-card fields; menus and other workspaces keep their layout. */
#masterForm .paper{padding:12px;margin:10px 0}#masterForm .paper>h2{font-size:17px;margin:0 0 10px}#masterForm .workspace-form{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px 12px;margin-top:8px}#masterForm label{font-size:13px;gap:4px;margin:0}#masterForm input:not([type=checkbox]),#masterForm select,#masterForm textarea{font-size:14px;padding:6px 8px;min-height:34px}#masterForm textarea{min-height:64px;resize:vertical}#masterForm .work-tools{gap:8px;margin:8px 0}#masterForm button{min-height:34px;padding:6px 10px}
@media(max-width:1100px){#masterForm .workspace-form{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){#masterForm .workspace-form{grid-template-columns:minmax(0,1fr)}#masterForm input:not([type=checkbox]),#masterForm select,#masterForm textarea{font-size:16px;min-height:42px}#masterForm .paper{padding:12px}}

/* Word8 multi-die custody receipt: scoped compact controls, no main-template change. */
.technical-handover-dialog{box-sizing:border-box;padding:16px;font-size:14px}.technical-handover-dialog h2{font-size:20px;margin:0}.technical-handover-dialog p{margin:6px 0;font-size:13px}.technical-handover-dialog .work-tools{gap:8px;margin:8px 0}.technical-handover-dialog .workspace-form{grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;gap:8px 12px}.technical-handover-dialog label{display:flex;flex-direction:column;gap:4px;min-width:0;margin:0;font-size:13px}.technical-handover-dialog input,.technical-handover-dialog select,.technical-handover-dialog textarea{box-sizing:border-box;width:100%;min-width:0;min-height:34px;font-size:14px;padding:5px 8px}.technical-handover-dialog textarea{min-height:48px;resize:vertical}.technical-handover-dialog .workspace-form>label:has(textarea){grid-column:1/-1}.technical-handover-dialog .work-table th,.technical-handover-dialog .work-table td{padding:6px 8px}.technical-handover-dialog button{min-height:34px;padding:6px 10px;font-size:14px}.technical-handover-dialog [role=alert]:empty{display:none}.technical-handover-dialog [role=alert]{color:#a32020}.technical-handover-dialog [data-return-form]{display:grid;grid-template-columns:150px minmax(150px,1fr) auto;gap:8px;align-items:end;margin-top:8px}.technical-handover-dialog [data-signature]{margin:6px 0}.technical-handover-dialog [data-picker]+small{font-size:12px!important}.technical-handover-dialog :focus-visible{outline:3px solid #176fc1;outline-offset:2px}
@media(max-width:900px){.technical-handover-dialog .workspace-form{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.technical-handover-dialog{padding:12px}.technical-handover-dialog .workspace-form,.technical-handover-dialog [data-return-form]{grid-template-columns:minmax(0,1fr)}.technical-handover-dialog input,.technical-handover-dialog select,.technical-handover-dialog textarea{font-size:16px;min-height:44px}.technical-handover-dialog button{min-height:44px}}

/* Existing order modal only: laptop actions remain in view; shell unchanged. */
.order-create-dialog{padding:16px}.order-create-dialog .workspace-form{align-items:start;gap:8px 12px}.order-create-dialog .workspace-form label{min-width:0;margin:0;gap:4px}.order-create-dialog .workspace-form input:not([type=checkbox]),.order-create-dialog .workspace-form select{min-height:36px;padding:6px 8px}.order-create-dialog .workspace-form>p{grid-column:1/-1;margin:2px 0;font-size:12px;line-height:1.4}.order-create-dialog [role=alert]:empty{display:none}.order-create-dialog [data-reload]{grid-column:1/-1}.order-create-dialog input[type=checkbox]{width:auto}.order-create-dialog [aria-invalid=true]{outline:2px solid currentColor}@media(max-width:540px){.order-create-dialog .workspace-form input:not([type=checkbox]),.order-create-dialog .workspace-form select,.order-create-dialog button{min-height:44px}.order-create-dialog .workspace-form{grid-template-columns:minmax(0,1fr)}}
