.input-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #cbdcde;border-radius:9px;overflow:hidden;margin:6px 0 16px}.input-tabs button{border:0;border-right:1px solid #cbdcde;border-radius:0;background:#fff;color:#254755;padding:12px 8px;font:inherit;font-size:14px;min-height:46px}.input-tabs button:last-child{border-right:0}.input-tabs button[aria-selected=true]{background:#007c8c;color:#fff;font-weight:600}.input-panel{margin-bottom:15px}.media-hint{font-size:12px;line-height:1.85;color:#566f7e;margin:10px 0;overflow-wrap:anywhere}.media-drop{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:20px 12px;border:1px dashed #b6cbd2;background:#fcfefe;border-radius:11px}.media-drop>div{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;min-width:0}.media-drop>div+div{border-left:1px solid #dce7eb;padding-left:12px}.media-symbol{font-size:38px;line-height:1.2;color:#184c60}.mic-symbol{width:60px;height:60px;display:grid;place-items:center;border:1px solid #b6d8dd;border-radius:50%;color:#007c8c}.media-drop small,.media-preview small{font-size:11px;line-height:1.8;color:#5d7683}.media-drop .secondary,.media-drop .text-button{min-height:44px;font-size:13px;padding:8px 12px}.media-preview{margin-top:13px;border:1px solid #d9e5e8;border-radius:10px;padding:12px;min-width:0}.media-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px}.media-meta span{overflow-wrap:anywhere;min-width:0}.media-preview audio{display:block;width:100%;min-width:0;margin:8px 0;height:44px}.media-consent{display:flex;align-items:flex-start;gap:9px;font-size:12px;line-height:1.8;color:#3b5666;margin:16px 0}.media-consent input{width:18px;height:18px;min-width:18px;margin-top:3px;accent-color:#008799}.media-consent span{min-width:0}.media-status-row{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:12px 0;font-size:13px}.media-status-row button{min-height:44px}.media-status-row .badge{font-size:11px}.intake #request{margin-bottom:12px}.image-drop img{width:100%;height:130px;object-fit:contain;border-radius:8px;background:#eaf1f2}.image-drop>div[hidden]{display:none!important}.source-details{margin-top:15px;border:1px solid #d7e4e8;border-radius:8px;padding:12px}.source-details summary{cursor:pointer;min-height:35px;color:#16576a;font-size:13px}.source-details p{white-space:pre-wrap;font-size:13px;line-height:1.8;overflow-wrap:anywhere}.source-details small{font-size:11px;color:#657984}.casework-card{grid-column:1/-1}.casework-card textarea,#image-text{display:block;width:100%;border:1px solid #cbd9df;padding:12px;border-radius:8px;color:#193b4b;font:inherit;line-height:1.8;resize:vertical}.casework-card .field-label{margin:16px 0 8px}.casework-actions{display:flex;gap:12px;flex-wrap:wrap}.casework-actions>button{min-height:46px}.casework-card .card-heading{flex-wrap:wrap}.work-grid{align-items:start}.intake{grid-row:span 2}.review{min-width:0}.field-pair{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.topbar{border-bottom:1px solid #dce7ec}.river-banner img{max-height:130px}.cloud-login{max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain}body:has(dialog[open]){overflow:hidden}.hint{line-height:1.8}
@media(min-width:1100px){.casework-card{grid-column:2;grid-row:2 / span 3}.work-grid>.card:not(.intake):not(.review):not(.casework-card){grid-column:1}.casework-actions>button{flex:1;font-size:13px;padding:10px}}
@media(max-width:950px){.intake{grid-row:auto}.casework-card{grid-column:auto}.media-drop{padding:18px 12px}.input-tabs button{font-size:14px}.casework-card textarea,#image-text{font-size:16px}}
@media(max-width:540px){.media-drop{gap:8px;padding:16px 8px}.media-drop>div+div{padding-left:8px}.media-symbol{font-size:32px}.media-drop .secondary,.media-drop .text-button{font-size:12px;padding:8px}.media-drop small{font-size:11px}.media-status-row{font-size:12px}.casework-actions>button{flex:1 1 130px}.input-tabs button{font-size:13px;padding:12px 5px}.field-pair{grid-template-columns:1fr}.media-consent,.media-hint{font-size:12px}.source-details summary{min-height:44px}.review input,.review textarea{font-size:16px}.casework-card .badge{white-space:normal;max-width:100%}.media-status-row .text-button{font-size:12px}.card-heading{gap:10px;flex-wrap:wrap}}
