.rg-section{margin-top:30px}.rg-directory,.rg-case{min-width:0}.rg-filters{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:12px;margin:20px 0}.rg-filters :is(input,select),.rg-file-upload select{font:inherit;color:inherit;background:var(--adm-subtle,#f4f8fc);border:1px solid var(--adm-line,#dce6ef);border-radius:24px;padding:12px 16px;min-width:0;width:100%}.rg-case-row{display:grid;grid-template-columns:42px minmax(0,1fr) minmax(100px,.5fr) 18px;align-items:center;gap:16px;width:100%;padding:20px;text-align:left;border:1px solid var(--adm-line,#dce6ef);border-radius:24px;background:var(--adm-surface,#fff);color:inherit;margin:12px 0;font:inherit}.rg-client-initial{display:grid;place-items:center;width:42px;height:42px;border-radius:15px;background:#e5f2ff;color:#227dc0}.rg-case-row small{display:block;color:var(--adm-muted,#657b8d);font-size:12px;margin:6px 0;overflow-wrap:anywhere}.rg-case-meta{font-size:12px;color:var(--adm-muted,#657b8d)}.rg-unread{display:inline-grid;place-items:center;border-radius:50%;background:#278df0;color:white;min-width:24px;height:24px;margin-left:8px}.rg-stage-badge{display:inline-flex;background:#e5f2ff;color:#267ebd;border-radius:999px;padding:5px 10px;font-size:11px;margin-top:6px}.rg-stage-badge.waiting{background:#fff3ce;color:#8b691e}.rg-eyebrow{font-size:11px;letter-spacing:.06em;color:var(--adm-muted,#657b8d)}.rg-case>.section-title h2{margin-top:8px}.rg-progress{padding:22px;border:1px solid var(--adm-line,#dce6ef);border-radius:24px;background:var(--adm-subtle,#edf5fc);margin:20px 0}.rg-progress>div{display:flex;justify-content:space-between;gap:14px;align-items:center}.rg-progress>div>span{font-size:12px;color:var(--adm-muted,#657b8d);white-space:nowrap}.rg-progress progress{appearance:none;display:block;width:100%;height:6px;border:0;overflow:hidden;border-radius:99px;background:#dce8f3;margin:18px 0}.rg-progress progress::-webkit-progress-bar{background:#dce8f3}.rg-progress progress::-webkit-progress-value{background:#278df0}.rg-progress progress::-moz-progress-bar{background:#278df0}.rg-progress p{font-size:13px;line-height:1.6;color:var(--adm-muted,#657b8d)}.rg-terms{border:1px solid var(--adm-line,#dce6ef);border-radius:20px;padding:18px 20px;margin:20px 0;font-size:13px;line-height:1.7}.rg-terms summary{cursor:pointer;font-weight:500}.rg-terms p{margin:14px 0}.rg-case-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,.8fr);gap:22px;align-items:start}.rg-work,.rg-documents{display:grid;gap:20px;min-width:0}.rg-case-layout .panel{margin:0!important;padding:24px!important;min-width:0}.rg-case-layout h3{font-size:21px;line-height:1.35;margin-bottom:14px}.rg-action p{line-height:1.7;margin-bottom:20px;font-size:14px;color:var(--adm-muted,#657b8d)}.rg-upload-label{display:inline-flex;justify-content:center;align-items:center;cursor:pointer}.rg-upload-label input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.rg-file{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:14px 0;background:transparent;text-align:left;color:inherit;font:inherit;border:0;border-bottom:1px solid var(--adm-line,#dce6ef)}.rg-file>span:first-child{min-width:0}.rg-file b{font-weight:500;font-size:13px;overflow-wrap:anywhere}.rg-file small{display:block;font-size:11px;line-height:1.5;color:var(--adm-muted,#657b8d);margin-top:5px}.rg-file-upload{display:grid;gap:12px;margin-top:20px}.rg-file-upload>label:first-child{display:grid;gap:8px;font-size:12px}.rg-info{margin-bottom:22px}.rg-info>div{display:flex;justify-content:space-between;gap:18px;padding:12px 0;border-bottom:1px solid var(--adm-line,#dce6ef);font-size:13px}.rg-info dt{color:var(--adm-muted,#657b8d);flex:1}.rg-info dd{margin:0;max-width:65%;text-align:right;overflow-wrap:anywhere}.rg-checks{display:grid;gap:12px}.rg-checks .check{margin:0;font-size:13px}.rg-messages{display:flex;flex-direction:column;gap:12px;max-height:460px;min-height:180px;overflow-y:auto;padding:12px 4px 12px 0;overscroll-behavior:contain;scrollbar-width:thin}.rg-message{max-width:90%;padding:12px 15px;border-radius:17px 17px 17px 4px;background:var(--adm-subtle,#f0f5fa);align-self:flex-start;min-width:0}.rg-message.mine{align-self:flex-end;background:#e5f2ff;border-radius:17px 17px 4px 17px;color:#243747}.rg-message.system{max-width:100%;align-self:stretch;background:transparent;border:1px dashed var(--adm-line,#dce6ef);border-radius:16px;font-size:12px}.rg-message>b{display:block;font-size:12px;margin-bottom:6px;color:#267ebd}.rg-message p{font-size:14px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.rg-message.system p{font-size:12px}.rg-message small{display:block;text-align:right;color:var(--adm-muted,#657b8d);font-size:10px;margin-top:7px}.rg-message-file{display:block;max-width:100%;padding:8px 0;background:none;color:#267ebd;font:inherit;font-size:12px;text-align:left;overflow-wrap:anywhere}.rg-compose{margin-top:18px}.rg-compose textarea{width:100%;resize:vertical;min-height:70px;max-height:220px;box-sizing:border-box;font:inherit;font-size:15px;padding:14px;border:1px solid var(--adm-line,#dce6ef);border-radius:20px;color:inherit;background:var(--adm-subtle,#f5f8fc)}.rg-compose>div:first-of-type{display:flex;justify-content:space-between;gap:12px;margin-top:10px}.rg-questionnaire{scroll-margin-top:20px}.rg-questionnaire>p{margin-bottom:20px;line-height:1.7}.rg-form-section{border:1px solid var(--adm-line,#dce6ef);border-radius:20px;padding:16px;margin:14px 0}.rg-form-section>summary{font-size:15px;font-weight:500;cursor:pointer}.rg-form-section>div{display:grid;gap:22px;padding-top:22px}.rg-form-field{display:grid;gap:9px;min-width:0;font-size:14px}.rg-form-field small{font-size:12px;line-height:1.6}.rg-form-field.check{display:flex;align-items:flex-start}.rg-required,.rg-questionnaire .error{color:#b34d43}.rg-form-section input[type=file]{width:100%;font-size:12px;padding:10px!important;min-height:44px;white-space:normal}.rg-intake>summary{cursor:pointer;font-size:17px;font-weight:500}.rg-intake>form{margin-top:22px}.rg-questionnaire[hidden],#rg-questionnaire[hidden],#rg-update[hidden]{display:none!important}.rg-chat-tabs{display:flex;gap:10px;flex-wrap:wrap;flex-shrink:0;margin:0 0 18px}.rg-chat-tabs .active{background:#e5f2ff;color:#267ebd}.messenger-page #main:has(>.rg-chat-tabs){display:flex;flex-direction:column}.messenger-page #main>.rg-chat-tabs+#messenger-root{flex:1;min-height:0;height:auto!important}.desktop-client[data-desktop-theme=dark] .rg-message.mine{background:#1d3850;color:#dfebf6}.desktop-client[data-desktop-theme=dark] :is(.rg-progress,.rg-stage-badge){background:#1b3043;color:#b8d7ef}.desktop-client[data-desktop-theme=dark] .rg-stage-badge.waiting{background:#40351d;color:#efd48e}
@media(max-width:1000px){.rg-case-layout{grid-template-columns:minmax(0,1fr)}.rg-documents{order:2}.rg-work{order:1}}
@media(max-width:600px){.rg-case-layout{gap:18px}.rg-case-layout .panel{padding:18px!important;border-radius:22px}.rg-case-row{grid-template-columns:34px minmax(0,1fr) 16px;padding:16px;gap:12px}.rg-client-initial{width:34px;height:34px;font-size:13px}.rg-case-meta{grid-column:2;grid-row:2}.rg-case-row>span:last-child{grid-column:3;grid-row:1}.rg-filters{grid-template-columns:1fr}.rg-case>.section-title h2{font-size:25px;line-height:1.3}.rg-progress{padding:18px}.rg-progress strong{font-size:15px}.rg-progress>div{align-items:flex-start}.rg-progress p{font-size:12px}.rg-terms{padding:15px;font-size:12px}.rg-case-layout h3{font-size:19px}.rg-messages{max-height:420px;min-height:220px}.rg-message{max-width:96%;padding:11px 13px}.rg-message p{font-size:14px}.rg-compose>div:first-of-type{flex-wrap:wrap;gap:8px}.rg-compose .btn{font-size:12px;padding:11px 13px;min-height:44px;flex:1}.rg-upload-label{width:100%;white-space:normal;text-align:center}.rg-form-section{padding:14px}.rg-form-section>summary{font-size:14px}.rg-form-field{font-size:13px}.rg-form-field :is(input,select,textarea){font-size:16px!important}.rg-questionnaire .section-title{margin-top:0}.rg-info>div{font-size:12px}.rg-chat-tabs .btn{flex:1;min-width:0;font-size:12px;padding:10px}.rg-case .form-row{grid-template-columns:1fr}.rg-action>.btn{width:100%}}
