.case-editor-modal{width:min(940px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain}
.case-editor-modal h2{margin-bottom:14px}
.case-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 12px}
.case-form-grid>label{min-width:0;font:700 10px var(--font);color:#4b6175}
.case-form-grid .span-2{grid-column:span 2}.case-form-grid .span-3{grid-column:span 3}.case-form-grid .span-4{grid-column:1/-1}
.case-form-grid input,.case-form-grid select,.case-form-grid textarea{display:block;width:100%;min-width:0;margin-top:4px;border:1px solid #dbe4e9;border-radius:7px;background:#fff;color:#20384d;font:14px var(--font)}
.case-form-grid input,.case-form-grid select{height:38px;padding:0 10px}.case-form-grid textarea{min-height:72px;padding:9px 10px;resize:vertical}
.case-form-grid input:focus,.case-form-grid select:focus,.case-form-grid textarea:focus{outline:2px solid #bbe0ff;border-color:#5098db}
.case-form-grid .multi-picker{margin-top:4px}.case-form-grid .multi-picker summary{min-height:38px}
.initial-description{background:#f1f8fb;border:1px solid #cfe3ed;border-radius:8px;padding:11px;margin-bottom:9px}
.initial-description .comment-avatar{display:grid;place-items:center;background:#dceff6;color:#236f91}.initial-description small{display:block;color:#6b8190;font-size:9px;margin-top:5px}
.initial-description .icon{display:inline-flex}.initial-description .icon svg{width:16px;height:16px}
.installation-stock-picker{display:none}.installation-stock-picker.is-visible{display:block}.service-appliance-picker.is-hidden{display:none}
.job-card{grid-template-columns:76px minmax(0,1fr)}.job-time{font-size:9px;line-height:1.35;overflow-wrap:anywhere}
.detail-tools{display:flex;align-items:center;gap:6px}.header-status-control{order:-1}.header-status-control .admin-status-control{display:block;margin:0;padding:0;border:0;background:transparent;font-size:0}.header-status-control select{width:132px;height:32px;border:1px solid #cbdce9;border-radius:7px;background:#fff;padding:0 26px 0 8px;color:#29475f;font:700 10px var(--font)}
.modal,.detail-panel,.sidebar,.content{max-width:100vw}
@media(max-width:900px){.case-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.case-form-grid .span-3,.case-form-grid .span-4{grid-column:1/-1}.case-editor-modal{width:calc(100vw - 20px);max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}}
@media(max-width:560px){.case-editor-modal{width:100vw;max-width:100vw;height:calc(100dvh - 123px);max-height:calc(100dvh - 123px);border-radius:0;padding:18px 14px}.case-form-grid{grid-template-columns:1fr}.case-form-grid .span-2,.case-form-grid .span-3,.case-form-grid .span-4{grid-column:1}.case-form-grid input,.case-form-grid select,.case-form-grid textarea{font-size:16px}.case-editor-modal .modal-actions{position:sticky;bottom:0;margin:12px -2px -4px;padding:10px 2px 4px;background:#fff}.modal-layer{overflow:hidden}.job-card{grid-template-columns:66px minmax(0,1fr)}.detail-top{flex-wrap:wrap}.detail-tools{margin-left:auto}.header-status-control select{width:112px}}
