:root{--bg:#f7f9fc;--white:#fff;--text:#172033;--muted:#717b8d;--line:#e5e9f0;--blue:#2f6fed;--blue2:#225ed4;--soft:#eef4ff;--green:#1d9a61;--greenSoft:#eaf8f1;--red:#d84b4b;--shadow:0 12px 34px rgba(24,37,61,.08);--r:14px}*{box-sizing:border-box}html{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;background:var(--bg);color:var(--text)}body{margin:0;font-size:14px;line-height:1.45;background:var(--bg)}a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit;color:inherit}.shell{display:grid;grid-template-columns:224px 1fr;min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:#fff;border-right:1px solid var(--line);padding:16px 12px;display:flex;flex-direction:column;z-index:30}.brand,.auth-brand{display:flex;align-items:center;gap:8px;height:42px;padding:0 8px 10px;font-weight:750}.brand>b,.auth-brand>b{width:29px;height:29px;display:grid;place-items:center;border-radius:9px;background:linear-gradient(145deg,var(--blue),#6e98f2);color:#fff;box-shadow:0 5px 13px rgba(47,111,237,.22)}.brand small,.auth-brand small{font-size:9px;color:var(--blue);font-weight:850;text-transform:uppercase;letter-spacing:.08em}.sidebar nav{display:flex;flex-direction:column;gap:4px;margin-top:8px}.sidebar nav a,.nav-bottom{height:38px;border-radius:9px;padding:0 10px;display:flex;align-items:center;gap:10px;font-size:12.5px;font-weight:650;color:#5f6a7d}.sidebar nav a:hover,.nav-bottom:hover{background:#f4f6fa}.sidebar nav a.active,.nav-bottom.active{background:var(--soft);color:var(--blue)}svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.grow{flex:1}.profile-link{border-top:1px solid var(--line);margin-top:10px;padding:13px 8px 0;display:flex;align-items:center;gap:9px}.profile-link>i,.record-static>i,.profile>i{width:30px;height:30px;border-radius:50%;background:#eef2f7;display:grid;place-items:center;font-style:normal;font-size:11px;font-weight:800;color:#566176}.profile-link span{display:flex;flex-direction:column;min-width:0}.profile-link strong{font-size:11.5px}.profile-link small{font-size:9.5px;color:var(--muted)}main{min-width:0}header{height:62px;position:sticky;top:0;z-index:20;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 26px}.header-title{font-size:13px;font-weight:650;color:#4d586b}.head-actions{display:flex;align-items:center;gap:6px}.head-actions form{margin:0}.icon{width:34px;height:34px;border:0;background:transparent;border-radius:9px;display:grid;place-items:center;color:#667185}.icon:hover{background:#f3f5f8}.mobile{display:none}.page{padding:27px;max-width:1460px;margin:auto}.btn{min-height:36px;padding:0 14px;border:1px solid transparent;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:750;cursor:pointer;white-space:nowrap}.btn.primary{background:var(--blue);color:#fff}.btn.primary:hover{background:var(--blue2)}.btn.secondary{background:#fff;border-color:#dbe0e8}.btn.ghost{background:transparent;color:#687386}.btn.big{min-height:42px}.btn.small{min-height:31px;font-size:10.5px}.quick{position:relative}.quick>summary{list-style:none}.quick>summary::-webkit-details-marker{display:none}.quick>div{position:absolute;right:0;top:43px;width:220px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);padding:7px}.quick>div a{display:flex;flex-direction:column;padding:8px 10px;border-radius:8px}.quick>div a:hover{background:#f5f7fa}.quick>div b{font-size:11.5px}.quick>div small{font-size:9.5px;color:var(--muted)}h1{font-size:24px;line-height:1.15;letter-spacing:-.035em;margin:0;font-weight:760}p{color:var(--muted)}.eyebrow{font-size:9px;letter-spacing:.12em;font-weight:850;color:var(--blue);display:block;margin-bottom:7px}.page-head,.entity-head,.case-head,.hero{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}.page-head p,.entity-head p,.case-head p,.hero p{margin:5px 0 0;font-size:12px}.compact{margin-bottom:14px}.back{display:inline-block;margin-bottom:9px;font-size:11px;color:#6d7788;font-weight:650}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;margin-bottom:16px}.metrics>a{background:#fff;border:1px solid var(--line);border-radius:13px;padding:15px 16px;min-height:105px;display:flex;flex-direction:column;justify-content:center}.metrics>a:hover{box-shadow:0 7px 20px rgba(25,39,62,.06);border-color:#d4ddec}.metrics span{font-size:10.5px;font-weight:700;color:#667184}.metrics b{font-size:26px;line-height:1.1;margin:6px 0 2px;letter-spacing:-.04em}.metrics small{font-size:9.5px;color:#929aa8}.dash-grid{display:grid;grid-template-columns:1.5fr .8fr;gap:14px}.panel,.tasks-panel{background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:visible}.panel-head{min-height:58px;padding:14px 16px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.panel-head h2,.section-head h2{font-size:13.5px;margin:0}.panel-head p,.section-head p{font-size:9.8px;margin:2px 0 0}.panel-head>a{font-size:10.5px;font-weight:750;color:var(--blue)}.list{display:flex;flex-direction:column}.work{min-height:58px;padding:9px 16px;border-bottom:1px solid #eef1f4;display:flex;align-items:center;gap:11px}.work:last-child{border:0}.work:hover{background:#fbfcfe}.work>i{width:9px;height:9px;border:2px solid #aab5c5;border-radius:50%}.work>div{flex:1;min-width:0;display:flex;flex-direction:column}.work b{font-size:11.5px}.work small{font-size:9.5px;color:var(--muted)}.work>span{font-size:9.5px;background:#f3f5f8;color:#7d8797;padding:4px 7px;border-radius:7px}.empty{padding:40px;text-align:center;display:flex;flex-direction:column;align-items:center;color:var(--green);font-size:20px}.empty b{font-size:12px;color:var(--text);margin-top:6px}.empty span{font-size:10px;color:var(--muted);margin-top:2px}.mini-empty{padding:18px 16px;color:var(--muted);font-size:10.5px}.appt-mini>div{display:flex;align-items:center;gap:10px;padding:9px 16px}.date{width:36px;height:40px;border-radius:9px;background:#f2f5fa;display:flex;flex-direction:column;align-items:center;justify-content:center}.date b{font-size:13px}.date small{font-size:8px;color:var(--muted)}.appt-mini p{margin:0;display:flex;flex-direction:column}.appt-mini p b{font-size:11px}.appt-mini p small{font-size:9.5px;color:var(--muted)}.search{height:38px;width:min(410px,100%);display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:0 11px;margin-bottom:11px}.search input{border:0!important;box-shadow:none!important;height:auto!important;padding:0!important}.search span{color:#8b95a5}.table-wrap{background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:auto}table{width:100%;border-collapse:collapse;min-width:680px}th{height:36px;text-align:left;padding:0 14px;background:#fafbfc;color:#7e8797;font-size:9px;text-transform:uppercase;letter-spacing:.055em;border-bottom:1px solid var(--line)}td{padding:10px 14px;border-bottom:1px solid #eef1f4;font-size:10.8px}tr:last-child td{border:0}tbody tr:hover{background:#fcfdff}.primary-cell{display:flex;flex-direction:column}.primary-cell b{font-size:11.8px}.primary-cell small,.under{display:block;font-size:9.3px;color:var(--muted);margin-top:2px}.count{min-width:24px;height:22px;border-radius:7px;background:#f1f4f8;display:inline-grid;place-items:center;font-size:9.5px}.no-data{text-align:center;padding:34px;color:var(--muted)}.pill{display:inline-flex;align-items:center;min-height:23px;padding:0 8px;border-radius:99px;background:#f1f4f8;color:#657084;font-size:9px;font-weight:750}.pill.ok{background:var(--greenSoft);color:var(--green)}.tabs{display:inline-flex;background:#eef1f6;padding:3px;border-radius:9px;margin-bottom:11px}.tabs a{height:28px;padding:0 11px;border-radius:7px;display:flex;align-items:center;font-size:10px;font-weight:750;color:#687386}.tabs a.active{background:#fff;color:var(--text);box-shadow:0 1px 3px rgba(20,30,50,.09)}.progress-inline{display:flex;align-items:center;gap:7px;min-width:105px}.progress-inline i{height:5px;flex:1;background:#edf0f5;border-radius:99px;overflow:hidden}.progress-inline i span{display:block;height:100%;background:var(--blue)}.progress-inline small{width:25px;font-size:9px;color:var(--muted)}label{display:flex;flex-direction:column;gap:6px;font-size:10px;font-weight:700;color:#626d80}input,select,textarea{width:100%;border:1px solid #d9dee7;background:#fff;border-radius:9px;outline:0;font-size:11.5px}input,select{height:38px;padding:0 10px}textarea{padding:9px 10px;min-height:70px;resize:vertical}input:focus,select:focus,textarea:focus{border-color:#9db9f3;box-shadow:0 0 0 3px var(--soft)}.editor,.flow-card{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:20px;max-width:900px}.grid2,.grid3{display:grid;gap:12px}.grid2{grid-template-columns:repeat(2,1fr)}.grid3{grid-template-columns:repeat(3,1fr)}.span2{grid-column:span 2}.editor details,.flow-card details{margin-top:15px;border-top:1px solid var(--line);padding-top:11px}.editor summary,.flow-card summary{list-style:none;color:var(--blue);font-size:10.5px;font-weight:750;cursor:pointer}.advanced{margin-top:13px}.actions{display:flex;justify-content:flex-end;gap:7px;margin-top:18px;padding-top:15px;border-top:1px solid var(--line)}.flow{max-width:740px;margin:auto}.flow-card{max-width:none;display:flex;flex-direction:column;gap:16px}.label-title{font-size:10px;font-weight:700;color:#626d80;margin-bottom:-8px}.services{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.services label{display:block;cursor:pointer}.services input{position:absolute;opacity:0}.services span{min-height:62px;border:1px solid #d9dee7;border-radius:11px;padding:11px;display:flex;flex-direction:column;justify-content:center}.services b{font-size:11.5px}.services small{font-size:9.5px;color:var(--muted);margin-top:2px}.services input:checked+span{background:var(--soft);border-color:#89aaf0;box-shadow:0 0 0 2px rgba(47,111,237,.08)}.entity-head>div:last-child{display:flex;gap:7px}.info-strip{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid var(--line);border-radius:13px;margin-bottom:14px}.info-strip>div{min-height:64px;padding:11px 14px;border-right:1px solid var(--line);display:flex;flex-direction:column;justify-content:center}.info-strip>div:last-child{border:0}.info-strip span{font-size:9px;color:var(--muted)}.info-strip b{font-size:10.8px;margin-top:3px}.two-col{display:grid;grid-template-columns:1.5fr .75fr;gap:14px}.two-col>aside{display:flex;flex-direction:column;gap:14px}.records>a,.record-static{min-height:57px;padding:9px 15px;border-bottom:1px solid #eef1f4;display:flex;align-items:center;gap:10px}.records>a:last-child,.record-static:last-child{border:0}.records>a>div,.record-static>div{flex:1;display:flex;flex-direction:column}.records b{font-size:11.2px}.records small{font-size:9.3px;color:var(--muted)}.focus{padding:15px;display:flex;flex-direction:column}.focus b{font-size:11.3px}.focus span{font-size:10px;color:var(--muted);margin-top:2px}.docs{display:flex;flex-direction:column}.docs a{padding:7px 0;border-bottom:1px solid #eef1f4;display:flex;flex-direction:column}.docs a:last-child{border:0}.docs b{font-size:9.8px}.docs small{font-size:8.8px;color:var(--muted)}.case-head{align-items:flex-end}.case-title{display:flex;align-items:center;gap:10px}.case-progress{width:250px}.case-progress>span{display:flex;justify-content:space-between;font-size:9.5px;color:var(--muted);margin-bottom:5px}.case-progress>span b{color:var(--text)}.case-progress>i{height:7px;background:#e9eef6;border-radius:99px;display:block;overflow:hidden}.case-progress em{height:100%;display:block;background:linear-gradient(90deg,var(--blue),#729cf2)}.case-progress>small{font-size:9px;color:#8b94a3}.next{background:linear-gradient(135deg,#f7faff,#fff 70%);border:1px solid #dce7fb;border-radius:14px;padding:16px 17px;margin-bottom:14px;display:flex;justify-content:space-between;align-items:center}.next h2{font-size:13.5px;margin:0}.next p{font-size:9.8px;margin:2px 0 0}.case-grid{display:grid;grid-template-columns:1fr 290px;gap:14px;align-items:start}.section-head{padding:14px 15px;border-bottom:1px solid var(--line)}.stage-name{height:32px;display:flex;align-items:end;padding:0 14px 6px;background:#fbfcfd;color:#8490a2;font-size:8.5px;font-weight:820;letter-spacing:.08em;text-transform:uppercase}.stage+.stage{border-top:1px solid var(--line)}.task{min-height:52px;display:flex;align-items:center;gap:9px;padding:7px 11px 7px 14px;border-top:1px solid #f0f2f5}.task:hover{background:#fcfdff}.task.locked{opacity:.52}.task>form{margin:0}.check{width:20px;height:20px;border-radius:50%;border:1.5px solid #aeb8c8;background:#fff;padding:0;color:#fff;font-size:10px;font-weight:900}.task.done .check{background:var(--green);border-color:var(--green)}.task.done .task-copy b{text-decoration:line-through;color:#969fac}.task-copy{flex:1;display:flex;flex-direction:column}.task-copy b{font-size:11px}.task-copy small{font-size:8.9px;color:var(--muted);margin-top:1px}.pop{position:relative}.pop>summary{list-style:none;width:29px;height:29px;border-radius:8px;display:grid;place-items:center;font-size:16px;font-weight:800;color:#697486;cursor:pointer}.pop>summary:hover{background:#f2f5f8}.popover{position:absolute;right:0;top:34px;width:240px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);padding:12px;z-index:50;display:flex;flex-direction:column;gap:9px}.popover.wide{width:310px}.popover>b{font-size:10.5px}.popover input,.popover select{height:33px;font-size:10.5px}.popover textarea{font-size:10.5px}.context{display:flex;flex-direction:column;gap:9px}.context>section,.context>details{background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 13px;display:flex;flex-direction:column}.context section>div{display:flex;justify-content:space-between;margin-bottom:7px}.context h3,.activity summary h3{font-size:9.5px;text-transform:uppercase;letter-spacing:.04em;color:#7a8596;margin:0}.context section>div a,.context section>div em{font-size:9px;color:var(--blue);font-style:normal;font-weight:700}.context section>b{font-size:10.8px}.context section>small,.context section>span{font-size:9.3px;color:var(--muted);margin-top:2px}.activity summary{display:flex;justify-content:space-between;list-style:none;cursor:pointer}.activity summary em{font-size:9px;color:var(--blue);font-style:normal}.activity-row{display:flex;gap:7px;padding-top:8px}.activity-row>i{width:6px;height:6px;border-radius:50%;background:#aab4c3;margin-top:4px}.activity-row p{margin:0;display:flex;flex-direction:column}.activity-row b{font-size:9.3px}.activity-row small{font-size:8.3px;color:var(--muted)}.agenda{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:8px 0}.agenda-row{display:grid;grid-template-columns:52px 4px 1fr auto;gap:12px;align-items:center;min-height:62px;padding:8px 17px}.agenda-row:hover{background:#fbfcfe}.agenda-row time{display:flex;flex-direction:column;text-align:right}.agenda-row time b{font-size:11px}.agenda-row time small{font-size:8.8px;color:var(--muted)}.agenda-row>i{height:36px;background:#9dbaf4;border-radius:3px}.agenda-row>div{display:flex;flex-direction:column}.agenda-row>div b{font-size:11px}.agenda-row>div span{font-size:9.6px}.agenda-row>div small{font-size:8.8px;color:var(--muted)}.settings{display:grid;grid-template-columns:1.25fr .75fr;gap:14px}.record-static>i{flex:none}.record-static span{margin-left:auto}.compact-form{padding:15px;display:flex;flex-direction:column;gap:11px}.profile{padding:20px;display:flex;align-items:center;gap:13px}.profile>i{width:50px;height:50px;font-size:17px}.profile h2{font-size:14px;margin:0}.profile p{font-size:10px;margin:2px 0 7px}.security{padding:16px}.security p{font-size:10.5px;margin-top:0}.security form{display:flex;flex-direction:column;gap:10px}.security-ok{display:flex;gap:8px;color:var(--green);font-weight:800}.security-ok span{display:flex;flex-direction:column}.security-ok b{font-size:11px;color:var(--text)}.security-ok small{font-size:9px;color:var(--muted)}.secret{background:#f5f7fa;border:1px solid var(--line);border-radius:9px;padding:10px;margin:10px 0}.secret small{font-size:8px;color:var(--muted)}.secret code{display:block;font-size:11px;font-weight:800;letter-spacing:.05em;word-break:break-all}.code{text-align:center;font-size:17px!important;letter-spacing:.22em;font-weight:800!important}.auth{background:#f6f8fc;min-height:100vh}.login-shell{min-height:100vh;display:grid;grid-template-columns:.9fr 1.1fr}.login-side{background:linear-gradient(145deg,#f0f5ff,#fbfcff);padding:40px 50px;display:flex;flex-direction:column}.login-side>div:last-child{margin:auto 0;max-width:450px}.login-side h1{font-size:37px;line-height:1.07}.login-side p{font-size:13px;line-height:1.6;max-width:380px}.login-form,.simple-auth{display:grid;place-items:center;background:#fff;padding:25px}.login-card{width:min(380px,100%);display:flex;flex-direction:column;gap:13px}.login-card h2{font-size:21px;margin:0}.login-card>p{font-size:11px;margin:-7px 0 2px}.login-card input{height:42px}.alert{padding:9px 10px;border-radius:9px;background:#fff0f0;color:#a53c3c;border:1px solid #ffd8d8;font-size:10.5px}.setup{max-width:790px;margin:auto;padding:35px 20px}.setup-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:25px;margin-top:20px;box-shadow:var(--shadow)}.setup-card>h1{font-size:24px}.setup-card>p{font-size:11px}.setup-card form>h2{font-size:11.5px;border-top:1px solid var(--line);padding-top:15px;margin-top:17px}.setup-card .btn{margin-top:18px}.toasts{position:fixed;right:17px;bottom:17px;z-index:100}.toast{min-width:250px;background:#182235;color:#fff;padding:10px 12px;border-radius:10px;box-shadow:var(--shadow);font-size:10.5px;opacity:0;transform:translateY(7px);transition:.2s}.toast.show{opacity:1;transform:none}.toast.success{background:#166a45}.toast.error{background:#a13c3c}.error{min-height:55vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.error>b{font-size:40px;color:#c2c9d4}.error h1{font-size:20px;margin:3px}.error p{font-size:11px}.scrim{display:none}@media(max-width:1000px){.dash-grid,.two-col,.case-grid,.settings{grid-template-columns:1fr}.metrics{grid-template-columns:repeat(2,1fr)}.context{display:grid;grid-template-columns:repeat(2,1fr)}}@media(max-width:800px){.shell{display:block}.sidebar{position:fixed;left:-240px;transition:.2s;box-shadow:var(--shadow)}.sidebar.open{left:0}.scrim{display:block;position:fixed;inset:0;background:rgba(20,28,42,.28);z-index:25;opacity:0;pointer-events:none;transition:.2s}.scrim.show{opacity:1;pointer-events:auto}.mobile{display:grid}.page{padding:17px}.grid3{grid-template-columns:repeat(2,1fr)}.info-strip{grid-template-columns:repeat(2,1fr)}.login-shell{grid-template-columns:1fr}.login-side{display:none}}@media(max-width:600px){.page{padding:13px}.page-head,.entity-head,.case-head,.hero{flex-direction:column;gap:11px}h1{font-size:21px}.metrics{gap:7px}.metrics>a{min-height:90px;padding:12px}.metrics b{font-size:22px}.grid2,.grid3,.services{grid-template-columns:1fr}.span2{grid-column:auto}.context{grid-template-columns:1fr}.case-progress{width:100%}.entity-head>div:last-child{width:100%}.entity-head .btn{flex:1}.popover,.popover.wide{position:fixed;left:12px;right:12px;bottom:12px;top:auto;width:auto;max-height:75vh;overflow:auto}.agenda-row{grid-template-columns:46px 3px 1fr;padding:8px 12px}.agenda-row>.pill{display:none}.header-title{display:none}.setup{padding:18px 10px}.setup-card{padding:17px}}
/* ============================================================
   LABS v0.2.0 · Expediente master
   ============================================================ */
.field-help{font-size:9.5px;margin:4px 0 0;color:var(--muted)}
.services.multi{grid-template-columns:repeat(2,1fr)}
.services.multi span{position:relative;padding-left:42px}
.services.multi span>i{position:absolute;left:13px;top:50%;transform:translateY(-50%);width:18px;height:18px;border-radius:6px;border:1.5px solid #cbd3df;background:#fff}
.services.multi input:checked+span>i{background:var(--blue);border-color:var(--blue)}
.services.multi input:checked+span>i:after{content:'✓';display:grid;place-items:center;color:#fff;font-size:10px;font-style:normal;font-weight:900;height:100%}
.flow-note{background:#f7faff;border:1px solid #e0e9fb;border-radius:11px;padding:11px 12px;display:flex;flex-direction:column}
.flow-note b{font-size:10.5px}.flow-note span{font-size:9.4px;color:var(--muted);margin-top:2px}
.cases-table td:first-child{min-width:330px}.case-primary{display:flex;flex-direction:column;align-items:flex-start}.case-primary>b{font-size:12px}.case-primary>small{font-size:9.2px;color:var(--muted);margin-top:2px}.service-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:7px}.service-tags em{font-style:normal;background:#f0f5ff;color:#3f68ae;border:1px solid #e0e9fb;border-radius:6px;padding:3px 6px;font-size:8.5px;font-weight:730}
.procedure-stack{background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:visible}.procedure{border-top:1px solid var(--line)}.procedure:first-of-type{border-top:0}.procedure>summary{list-style:none;min-height:62px;padding:10px 14px;display:flex;align-items:center;justify-content:space-between;gap:15px;cursor:pointer;background:#fff}.procedure>summary::-webkit-details-marker{display:none}.procedure>summary:hover{background:#fbfcfe}.procedure>summary>div:first-child{display:flex;align-items:center;gap:10px}.procedure>summary>div:first-child>div{display:flex;flex-direction:column}.procedure>summary b{font-size:11.7px}.procedure>summary small{font-size:9px;color:var(--muted);margin-top:2px}.procedure-dot{width:10px;height:10px;border-radius:50%;background:#fff;border:2px solid #9db6e7}.procedure-dot.done{background:var(--green);border-color:var(--green)}.procedure-progress{display:flex;align-items:center;gap:8px;min-width:165px}.procedure-progress>i{width:88px;height:5px;background:#ebeff5;border-radius:99px;overflow:hidden}.procedure-progress>i em{display:block;height:100%;background:var(--blue)}.procedure-progress strong{font-size:9px;color:#6e7888;width:27px}.procedure-progress>span{font-size:12px;color:#929cab;transition:.18s}.procedure[open] .procedure-progress>span{transform:rotate(180deg)}.procedure-body{border-top:1px solid #edf0f4}.task-shell{border-top:1px solid #f0f2f5}.task-shell:first-child{border-top:0}.task-main{min-height:52px;display:flex;align-items:center;gap:9px;padding:7px 11px 7px 14px}.task-shell:hover>.task-main{background:#fcfdff}.task-shell.locked{opacity:.58}.task-shell.done .check:not(.linked){background:var(--green);border-color:var(--green)}.task-shell.done .task-copy>b{text-decoration:line-through;color:#969fac}.task-shell.mirrored{background:#fcfdff}.check.linked{display:grid;place-items:center;background:#f0f5ff;border-color:#cbdcf9;color:#4d75bd;font-size:9px}.task-attachments{padding:0 12px 9px 43px;display:flex;flex-direction:column;gap:5px}.attachment{border:1px solid #e5e9ef;border-radius:9px;background:#fbfcfe;overflow:hidden}.attachment>summary{list-style:none;min-height:38px;padding:6px 8px;display:flex;align-items:center;gap:8px;cursor:pointer}.attachment>summary::-webkit-details-marker{display:none}.attachment>summary:hover{background:#f6f8fb}.attachment>summary>div{display:flex;flex:1;min-width:0;flex-direction:column}.attachment>summary b{font-size:9.6px}.attachment>summary small{font-size:8.4px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.attachment>summary em{font-size:8.7px;font-style:normal;color:var(--blue);font-weight:750}.file-icon{width:30px;height:24px;border-radius:6px;background:#edf3ff;color:#5076ba;display:grid;place-items:center;font-size:7.5px;font-weight:850;letter-spacing:.03em}.doc-preview{border-top:1px solid #e7ebf0;background:#f1f4f8;padding:8px}.doc-preview iframe{width:100%;height:460px;border:0;border-radius:7px;background:#fff}.doc-preview img{display:block;max-width:100%;max-height:520px;margin:auto;border-radius:7px;background:#fff}.doc-preview>a{display:inline-flex;margin-top:7px;font-size:8.8px;color:var(--blue);font-weight:700}.procedure .stage-name{background:#fafbfd}.procedure .stage+.stage{border-top:1px solid #e9edf3}
@media(max-width:700px){.services.multi{grid-template-columns:1fr}.procedure>summary{align-items:flex-start}.procedure-progress{min-width:112px;justify-content:flex-end}.procedure-progress>i{display:none}.task-attachments{padding-left:12px}.doc-preview iframe{height:360px}.cases-table td:first-child{min-width:260px}}
