/* Coordia — Central de Solicitações premium
   Camada visual isolada: preserva as regras operacionais da central. */

.os-page{
  --os-violet:#8f7cf6;
  --os-violet-soft:#aa9bff;
  --os-coral:#ff6e69;
  --os-mint:#55d6ad;
  --os-surface:#202122;
  --os-surface-2:#242628;
  --os-stroke:rgba(255,255,255,.105);
  --os-muted:#aeb2bd;
  max-width:1580px;
  padding-bottom:48px;
}

/* Cabeçalho */
.os-page>.page-head{
  position:relative;
  align-items:flex-end;
  gap:32px;
  margin:8px 0 26px;
  padding:28px 30px 27px;
  overflow:hidden;
  border:1px solid var(--os-stroke);
  border-radius:22px;
  background:
    radial-gradient(circle at 88% -25%,rgba(143,124,246,.17),transparent 35%),
    linear-gradient(135deg,rgba(255,255,255,.04),rgba(255,255,255,.012));
  box-shadow:0 18px 55px rgba(0,0,0,.15),inset 0 1px rgba(255,255,255,.025);
}
.os-page>.page-head::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:3px;
  background:linear-gradient(180deg,var(--os-coral),var(--os-violet),var(--os-mint));
}
.os-page>.page-head::after{
  content:"";
  position:absolute;
  width:180px;
  height:180px;
  right:11%;
  top:-135px;
  border:1px solid rgba(143,124,246,.16);
  border-radius:50%;
  box-shadow:0 0 0 28px rgba(143,124,246,.025),0 0 0 58px rgba(143,124,246,.015);
  pointer-events:none;
}
.os-page>.page-head>div:first-child{position:relative;z-index:1;min-width:0}
.os-page>.page-head .eyebrow{
  margin:0 0 10px;
  color:#ff8079;
  font-size:11px;
  font-weight:800;
  letter-spacing:.15em;
}
.os-page>.page-head h1{
  margin:0;
  color:#f7f6fb;
  font-size:clamp(30px,3vw,42px);
  line-height:1.08;
  letter-spacing:-.035em;
}
.os-page>.page-head .page-subtitle{
  max-width:680px;
  margin:12px 0 0;
  color:#b7bac5;
  font-size:15px;
  line-height:1.65;
}
.os-header-actions{position:relative;z-index:1;flex-wrap:nowrap;align-self:center}
.os-header-actions .btn{
  min-height:44px;
  padding:0 17px;
  border-radius:12px;
  border-color:rgba(255,255,255,.11);
  background:rgba(255,255,255,.055);
  color:#eeedf5;
  font-size:14px;
  font-weight:750;
  box-shadow:none;
  transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease;
}
.os-header-actions .btn:hover{transform:translateY(-1px);border-color:rgba(255,255,255,.2);background:rgba(255,255,255,.08)}
.os-header-actions .btn-primary{
  border-color:rgba(158,137,255,.72);
  background:linear-gradient(135deg,#806be8,#9d83f8);
  box-shadow:0 10px 26px rgba(114,91,224,.22),inset 0 1px rgba(255,255,255,.2);
}

/* Navegação e pesquisa */
.os-toolbar{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(290px,390px);
  gap:18px;
  align-items:center;
  margin:0 0 18px;
  padding:8px;
  border:1px solid var(--os-stroke);
  border-radius:17px;
  background:rgba(255,255,255,.025);
}
.os-toolbar nav{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(150px,1fr);
  gap:5px;
  padding:0;
  border:0;
  background:transparent;
  border-radius:12px;
}
.os-toolbar nav button{
  position:relative;
  min-height:46px;
  padding:0 16px;
  border:1px solid transparent;
  border-radius:11px;
  color:#aeb1bd;
  font-size:13px;
  font-weight:720;
  letter-spacing:-.01em;
  transition:color .18s ease,background .18s ease,border-color .18s ease;
}
.os-toolbar nav button:hover{color:#e9e7f3;background:rgba(255,255,255,.035)}
.os-toolbar nav button.active{
  border-color:rgba(161,144,247,.28);
  background:linear-gradient(135deg,rgba(143,124,246,.18),rgba(143,124,246,.08));
  color:#ddd6ff;
  box-shadow:inset 0 1px rgba(255,255,255,.045);
}
.os-toolbar nav button.active::after{
  content:"";
  position:absolute;
  left:18px;
  right:18px;
  bottom:-1px;
  height:2px;
  border-radius:2px;
  background:linear-gradient(90deg,transparent,var(--os-violet),transparent);
}
.os-toolbar nav b{
  display:inline-grid;
  min-width:20px;
  height:20px;
  place-items:center;
  margin-left:7px;
  padding:0 5px;
  border-radius:7px;
  background:#f1b753;
  color:#241d17;
  font-size:11px;
  line-height:20px;
}
.os-toolbar form{
  position:relative;
  display:flex;
  align-items:center;
  width:100%;
  min-width:0;
  gap:0;
}
.os-toolbar form .input{
  width:100%;
  height:46px;
  padding:0 46px 0 15px;
  border-color:rgba(255,255,255,.105);
  border-radius:11px;
  background:rgba(10,11,12,.22);
  color:#f0eff5;
  font-size:13px;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.os-toolbar form .input::placeholder{color:#858996}
.os-toolbar form .input:focus{border-color:rgba(85,214,173,.52);background:rgba(10,11,12,.35);box-shadow:0 0 0 3px rgba(85,214,173,.08)}
.os-toolbar form .icon-btn{
  position:absolute;
  right:7px;
  width:33px;
  height:33px;
  border:0;
  border-radius:9px;
  background:transparent;
  color:#76d9bb;
}

/* Workspace */
.os-workspace{
  grid-template-columns:minmax(330px,390px) minmax(0,1fr);
  gap:18px;
  align-items:stretch;
  min-height:540px;
}
.os-inbox,.os-detail{
  border:1px solid var(--os-stroke);
  border-radius:19px;
  background:
    linear-gradient(145deg,rgba(255,255,255,.033),rgba(255,255,255,.012)),
    #1d1e1f;
  box-shadow:0 18px 50px rgba(0,0,0,.11),inset 0 1px rgba(255,255,255,.025);
}
.os-inbox{
  display:flex;
  min-width:0;
  min-height:540px;
  flex-direction:column;
  overflow:hidden;
}
.os-inbox-heading{
  align-items:center;
  min-height:72px;
  padding:17px 19px;
  border-bottom:1px solid rgba(255,255,255,.075);
}
.os-inbox-heading>strong{
  display:flex;
  align-items:center;
  gap:9px;
  color:#f2f1f7;
  font-size:15px;
  letter-spacing:-.015em;
}
.os-inbox-heading>strong::before{
  content:"";
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--os-violet);
  box-shadow:0 0 0 5px rgba(143,124,246,.1);
}
.os-inbox-heading>span{
  padding:5px 8px;
  border:1px solid rgba(255,255,255,.075);
  border-radius:8px;
  background:rgba(255,255,255,.025);
  color:#9ea2ad;
  font-size:11px;
  white-space:nowrap;
}
.os-inbox>[data-os-list]{flex:1;padding:12px;min-height:0}
.os-row{
  position:relative;
  gap:11px;
  margin:0 0 9px;
  padding:16px 16px 15px 18px;
  overflow:hidden;
  border-color:rgba(255,255,255,.08);
  border-radius:13px;
  background:rgba(255,255,255,.025);
  box-shadow:none;
  transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease;
}
.os-row::before{
  content:"";
  position:absolute;
  inset:12px auto 12px 0;
  width:2px;
  border-radius:0 2px 2px 0;
  background:rgba(255,255,255,.11);
  transition:inset .18s ease,background .18s ease;
}
.os-row:hover{transform:translateY(-1px);border-color:rgba(143,124,246,.32);background:rgba(143,124,246,.055)}
.os-row:hover::before{inset:8px auto 8px 0;background:var(--os-violet)}
.os-row.selected{
  border-color:rgba(151,133,245,.52);
  background:linear-gradient(130deg,rgba(143,124,246,.135),rgba(255,255,255,.022));
  box-shadow:0 10px 26px rgba(0,0,0,.12),inset 0 1px rgba(255,255,255,.03);
}
.os-row.selected::before{inset:7px auto 7px 0;width:3px;background:linear-gradient(var(--os-violet),var(--os-mint))}
.os-row>strong{color:#efedf6;font-size:15px;font-weight:750;letter-spacing:-.012em}
.os-row-top>small{color:#8f94a2;font-size:10px;font-weight:700;letter-spacing:.11em}
.os-row-top>small::first-letter{color:#b9afef}
.os-row-foot{padding-top:10px;color:#8f939f;font-size:11px}
.os-route{display:flex;gap:7px;align-items:center;color:#adb0bb;font-size:12px}
.os-route i{display:grid;width:20px;height:20px;place-items:center;margin:0;border:1px solid rgba(143,124,246,.18);border-radius:50%;color:#a99bf2;font-size:10px}
.os-status,.os-task-state{
  border:1px solid rgba(255,255,255,.06);
  border-radius:999px;
  padding:5px 9px;
  font-size:10px;
  font-weight:800;
  letter-spacing:.025em;
}
.os-pagination{
  min-height:56px;
  margin:0;
  padding:11px 14px;
  border-top:1px solid rgba(255,255,255,.075);
}
.os-pagination .btn{min-height:33px;border-radius:9px;background:transparent;color:#a9acb8}
.os-pagination .btn:not(:disabled):hover{background:rgba(255,255,255,.05);color:#efedf7}
.os-pagination>span{color:#888d99;font-size:11px}

/* Estados vazios e carregamento */
.os-empty-list,.os-inbox [data-os-list]>.os-empty{
  display:flex;
  min-height:360px;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  padding:36px 26px;
  text-align:center;
}
.os-empty-list::before,.os-inbox [data-os-list]>.os-empty::before{
  content:"";
  width:52px;
  height:52px;
  margin-bottom:19px;
  border:1px dashed rgba(143,124,246,.38);
  border-radius:16px;
  background:radial-gradient(circle,rgba(143,124,246,.18) 0 3px,transparent 4px);
  box-shadow:0 12px 34px rgba(95,73,201,.12);
}
.os-empty-list strong,.os-inbox [data-os-list]>.os-empty strong{color:#dedce8;font-size:15px}
.os-empty-list p,.os-inbox [data-os-list]>.os-empty p{max-width:270px;margin:9px auto 0;color:#9296a2;font-size:12px;line-height:1.7}
.os-loading{display:grid;min-height:360px;place-items:center;align-content:center;gap:12px;color:#9296a2;font-size:12px}
.os-loading>span{width:24px;height:24px;border:2px solid rgba(255,255,255,.08);border-top-color:var(--os-violet);border-radius:50%;animation:os-spin .8s linear infinite}
@keyframes os-spin{to{transform:rotate(360deg)}}

.os-detail{position:relative;min-width:0;overflow:hidden}
.os-detail::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:radial-gradient(circle at 83% 13%,rgba(143,124,246,.065),transparent 31%);
}
.os-detail>*{position:relative;z-index:1}
.os-placeholder{min-height:538px;padding:54px}
.os-placeholder>span{
  width:auto;
  height:auto;
  margin-bottom:10px;
  border:0;
  border-radius:0;
  background:transparent;
  color:#8475cc;
  font-size:10px;
  font-weight:800;
  letter-spacing:.15em;
  text-transform:uppercase;
}
.os-placeholder>span::before{content:"";display:block;width:70px;height:70px;margin:0 auto 25px;border:1px solid rgba(143,124,246,.28);border-radius:22px;background:linear-gradient(145deg,rgba(143,124,246,.15),rgba(143,124,246,.045));box-shadow:0 16px 40px rgba(78,61,164,.14)}
.os-placeholder h2{margin:0;color:#f0eef7;font-size:24px;letter-spacing:-.025em}
.os-placeholder p{max-width:440px;margin:13px auto 0;color:#999daa;font-size:14px;line-height:1.75}
.os-placeholder p::after{content:"Selecione um item na caixa ao lado";display:block;margin-top:23px;color:#777c88;font-size:10px;font-weight:750;letter-spacing:.1em;text-transform:uppercase}

/* Detalhe preenchido */
.os-summary{padding:27px 30px;background:linear-gradient(135deg,rgba(143,124,246,.06),transparent 58%)}
.os-summary h2{max-width:820px;color:#f5f3fa;font-size:26px;letter-spacing:-.025em}
.os-detail-meta{color:#9397a5;font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}
.os-next{max-width:850px;color:#afb2bd;font-size:14px;line-height:1.7}
.os-steps{gap:8px;margin-top:27px}
.os-steps li{position:relative;min-width:0;gap:8px;padding:13px 10px 0;border-color:rgba(255,255,255,.075);font-size:11px;font-weight:650}
.os-steps li span{display:grid;width:21px;height:21px;flex:0 0 auto;place-items:center;border:1px solid rgba(255,255,255,.1);border-radius:50%;font-size:10px}
.os-steps li.done span{border-color:rgba(85,214,173,.35);background:rgba(85,214,173,.11);color:#7cddbd}
.os-steps li.current span{border-color:rgba(143,124,246,.55);background:rgba(143,124,246,.15);color:#d4ccff}
.os-detail-grid{grid-template-columns:minmax(0,1fr) minmax(310px,35%)}
.os-process{padding:27px 30px}
.os-context h3,.os-tasks h3,.os-conversation h3,.os-action-form h3{color:#eeedf5;font-size:14px;font-weight:770;letter-spacing:-.01em}
.os-description{padding:16px 17px;border:1px solid rgba(255,255,255,.07);border-radius:12px;background:rgba(255,255,255,.025);color:#c5c7d0;font-size:13px;line-height:1.75}
.os-context dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0 0}
.os-context dl>div{padding:13px;border:1px solid rgba(255,255,255,.065);border-radius:11px;background:rgba(255,255,255,.018)}
.os-context dt{color:#858a98;font-size:10px;font-weight:750;letter-spacing:.06em;text-transform:uppercase}
.os-context dd{margin-top:6px;color:#dedde5;font-size:12px;line-height:1.5}
.os-task-row{grid-template-columns:22px minmax(0,1fr) auto;gap:10px;align-items:center;padding:13px calc(var(--os-depth)*10px);border-bottom-color:rgba(255,255,255,.065)}
.os-task-row strong{font-size:13px}.os-task-row small,.os-task-metrics{font-size:11px}.os-task-state{grid-column:auto;justify-self:end}
.os-conversation{padding:23px 20px;border-left-color:rgba(255,255,255,.075);background:rgba(7,8,9,.12)}
.os-conversation>header{padding-bottom:16px;border-bottom:1px solid rgba(255,255,255,.07)}
.os-message{border-radius:13px;background:rgba(255,255,255,.035)}
.os-message.own{border-color:rgba(143,124,246,.16);background:rgba(143,124,246,.095)}
.os-message p{font-size:13px}
.os-conversation textarea{border-radius:11px;background:rgba(255,255,255,.035)}
.os-decision-buttons .btn{min-height:38px;border-radius:10px}
.os-action-form{border-radius:14px;background:linear-gradient(135deg,rgba(143,124,246,.09),rgba(143,124,246,.025))}

/* Modal: nova solicitação */
.modal-layer:has(.os-new-form){--os-violet:#8f7cf6;--os-coral:#ff6e69;--os-mint:#55d6ad;padding:20px;background:rgba(7,8,10,.78);backdrop-filter:blur(10px)}
.modal-layer:has(.os-new-form)>.modal{
  display:flex;
  width:min(900px,calc(100vw - 34px));
  max-width:900px;
  max-height:calc(100dvh - 34px);
  flex-direction:column;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.13);
  border-radius:22px;
  background:#202122;
  box-shadow:0 34px 100px rgba(0,0,0,.55),inset 0 1px rgba(255,255,255,.035);
}
.modal-layer:has(.os-new-form) .modal-head{
  min-height:72px;
  flex:0 0 auto;
  padding:0 25px;
  border-bottom:1px solid rgba(255,255,255,.08);
  background:linear-gradient(90deg,rgba(143,124,246,.075),transparent 42%);
}
.modal-layer:has(.os-new-form) .modal-head::before{
  content:"";
  width:9px;
  height:9px;
  margin-right:11px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--os-coral),var(--os-violet));
  box-shadow:0 0 0 6px rgba(143,124,246,.1);
}
.modal-layer:has(.os-new-form) .modal-head h2{color:#f6f4fa;font-size:17px;font-weight:780;letter-spacing:-.015em}
.modal-layer:has(.os-new-form) .modal-head .fechar{width:36px;height:36px;border-radius:10px;color:#9da1ac;font-size:18px}
.modal-layer:has(.os-new-form) .modal-head .fechar:hover{background:rgba(255,255,255,.06);color:#fff}
.modal-layer:has(.os-new-form)>.modal>form{display:flex;min-height:0;flex:1;flex-direction:column;overflow:hidden}
.modal-layer:has(.os-new-form) .modal-body{
  min-height:0;
  max-height:none;
  flex:1;
  overflow:auto;
  overscroll-behavior:contain;
  padding:28px 30px 34px;
  scrollbar-color:rgba(143,124,246,.4) transparent;
  scrollbar-width:thin;
}
.os-new-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px;color:#d1d3dc}
.os-new-form>*:not(label:has([name="prazo_desejado"])):not(label:has([data-os-files])){grid-column:1/-1}
.os-new-form>.os-muted{
  position:relative;
  margin:0 0 3px;
  padding:22px 24px 22px 72px;
  overflow:hidden;
  border:1px solid rgba(143,124,246,.19);
  border-radius:16px;
  background:
    radial-gradient(circle at 100% 0,rgba(143,124,246,.13),transparent 38%),
    linear-gradient(135deg,rgba(143,124,246,.085),rgba(255,255,255,.022));
  color:#babdca;
  font-size:14px;
  line-height:1.7;
}
.os-new-form>.os-muted::before{
  content:"↗";
  position:absolute;
  left:20px;
  top:20px;
  display:grid;
  width:36px;
  height:36px;
  place-items:center;
  border:1px solid rgba(143,124,246,.27);
  border-radius:11px;
  background:rgba(143,124,246,.11);
  color:#c6bcff;
  font-size:18px;
}
.os-new-form>label,.os-new-form>.form-grid,.os-new-form>[data-os-flow-preview]{
  position:relative;
}
.os-new-form>label:first-of-type{
  margin:0;
  padding:19px 20px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:15px 15px 0 0;
  background:rgba(255,255,255,.022);
}
.os-new-form>[data-os-flow-preview]{
  margin:-19px 0 1px;
  padding:0 20px 17px;
  border:1px solid rgba(255,255,255,.08);
  border-top:0;
  border-radius:0 0 15px 15px;
  background:rgba(255,255,255,.022);
}
.os-new-form>[data-os-flow-preview]>.os-muted{margin:0;padding:12px 14px;border-left:2px solid rgba(85,214,173,.65);border-radius:0 9px 9px 0;background:rgba(85,214,173,.045);color:#9fb9b1;font-size:12px}
.os-new-form label{
  gap:8px;
  margin-bottom:0;
  color:#dcdae5;
  font-size:13px;
  font-weight:690;
}
.os-new-form label::first-line{color:#e9e7ef}
.os-new-form .input{
  min-height:46px;
  border:1px solid rgba(255,255,255,.105);
  border-radius:11px;
  background:rgba(8,9,10,.18);
  color:#f0eff5;
  font-size:14px;
  line-height:1.5;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.os-new-form .input:hover{border-color:rgba(255,255,255,.17)}
.os-new-form .input:focus{border-color:rgba(143,124,246,.72);background:rgba(8,9,10,.28);box-shadow:0 0 0 3px rgba(143,124,246,.12)}
.os-new-form .input::placeholder{color:#737784}
.os-new-form textarea.input{min-height:148px;padding:14px 15px;resize:vertical}
.os-new-form>.form-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  padding:18px 20px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:15px;
  background:rgba(255,255,255,.022);
}
.os-new-form>.form-grid::before{
  content:"Origem e destino";
  grid-column:1/-1;
  margin-bottom:1px;
  color:#8f94a2;
  font-size:10px;
  font-weight:800;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.os-new-form>label:has([name="titulo"]),
.os-new-form>label:has([name="descricao"]){
  padding:0 2px;
}
.os-new-form>label:has([name="titulo"])::before{content:"Conteúdo do pedido";margin-bottom:2px;color:#8f94a2;font-size:10px;font-weight:800;letter-spacing:.11em;text-transform:uppercase}
.os-new-form>label:has([name="prazo_desejado"]),
.os-new-form>label:has([data-os-files]){
  padding:16px 18px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:13px;
  background:rgba(255,255,255,.018);
}
.os-new-form>label:has([data-os-files]){border-style:dashed}
.os-new-form>small{margin:-12px 18px 0;color:#858a96;font-size:11px}
.os-new-form .os-flow-preview{margin:0;border-radius:12px;background:rgba(143,124,246,.045)}
.os-new-form .os-flow-preview li{border-color:rgba(255,255,255,.075);background:rgba(255,255,255,.018)}
.modal-layer:has(.os-new-form) .modal-actions{
  min-height:76px;
  flex:0 0 auto;
  gap:10px;
  padding:14px 24px;
  border-top:1px solid rgba(255,255,255,.085);
  background:rgba(31,32,33,.96);
  box-shadow:0 -16px 34px rgba(0,0,0,.14);
}
.modal-layer:has(.os-new-form) .modal-actions .btn{
  min-width:132px;
  min-height:44px;
  border-radius:11px;
  font-size:13px;
  font-weight:760;
}
.modal-layer:has(.os-new-form) .modal-actions .btn-primary{
  min-width:188px;
  border-color:rgba(158,137,255,.68);
  background:linear-gradient(135deg,#806be8,#9c82f7);
  box-shadow:0 9px 24px rgba(103,80,213,.2),inset 0 1px rgba(255,255,255,.18);
}
.modal-layer:has(.os-new-form) .modal-form-error{margin:0;padding:10px 24px;border-top:1px solid rgba(238,103,98,.18);background:rgba(238,103,98,.075);color:#ffaaa5;font-size:12px}

@media(max-width:1100px){
  .os-workspace{grid-template-columns:minmax(285px,330px) minmax(0,1fr)}
  .os-detail-grid{grid-template-columns:1fr}
  .os-conversation{border-top:1px solid rgba(255,255,255,.075);border-left:0}
  .os-context dl{grid-template-columns:1fr 1fr}
}
@media(max-width:850px){
  .os-page>.page-head{align-items:stretch;flex-direction:column;padding:23px}
  .os-header-actions{align-self:stretch}.os-header-actions .btn{flex:1}
  .os-toolbar{grid-template-columns:1fr}.os-toolbar nav{overflow:auto;grid-auto-columns:minmax(150px,1fr)}
  .os-workspace{grid-template-columns:1fr}.os-inbox{min-height:auto}.os-inbox>[data-os-list]{max-height:390px;overflow:auto}
  .os-placeholder{min-height:390px;padding:38px 24px}
  .modal-layer:has(.os-new-form) .modal-body{padding:22px 20px 28px}
}
@media(max-width:620px){
  .os-page>.page-head h1{font-size:29px}.os-header-actions{flex-direction:column}.os-header-actions .btn{width:100%}
  .os-toolbar nav{grid-auto-columns:minmax(140px,1fr)}
  .os-new-form{grid-template-columns:1fr}.os-new-form>*{grid-column:1}
  .modal-layer:has(.os-new-form){padding:8px}.modal-layer:has(.os-new-form)>.modal{width:100%;max-height:calc(100dvh - 16px);border-radius:17px}
  .modal-layer:has(.os-new-form) .modal-head{padding:0 18px}.modal-layer:has(.os-new-form) .modal-body{padding:18px 15px 24px}
  .modal-layer:has(.os-new-form) .modal-actions{padding:12px 15px}.modal-layer:has(.os-new-form) .modal-actions .btn{min-width:0;flex:1}.modal-layer:has(.os-new-form) .modal-actions .btn-primary{min-width:0;flex:1.35}
  .os-context dl{grid-template-columns:1fr}.os-steps{overflow:auto}.os-steps li{min-width:112px}
}

/* Estado de leitura individual das solicitações */
.os-row.has-unread{
  border-color:rgba(143,124,246,.28);
  background:linear-gradient(130deg,rgba(143,124,246,.085),rgba(255,255,255,.025));
}
.os-row.has-unread::before{
  inset:8px auto 8px 0;
  width:3px;
  background:linear-gradient(180deg,var(--os-violet),var(--os-mint));
  box-shadow:0 0 16px rgba(143,124,246,.34);
}
.os-row-ident{display:inline-flex;align-items:center;gap:9px;min-width:0}
.os-row-ident>small{color:#9296a4;font-size:10px;font-weight:750;letter-spacing:.11em}
.os-row-unread{
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-height:21px;
  padding:3px 7px;
  border:1px solid rgba(160,145,248,.25);
  border-radius:999px;
  background:rgba(143,124,246,.12);
  color:#c9c1ff;
  font-size:10px;
  font-weight:800;
  letter-spacing:.025em;
  line-height:1;
}
.os-row-unread i{
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--os-mint);
  box-shadow:0 0 0 4px rgba(101,215,181,.09);
}
.os-row-unread span{color:#aaa5c1;font-weight:650}
