* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 14px;
}
button,
input,
select {
  font: inherit;
}
button,
select {
  cursor: pointer;
}
button {
  background: white;
  border: 1px solid #d9e1e7;
  color: inherit;
  padding: 10px 14px;
}

button:disabled {
  opacity: 0.5;
}
button.primary {
  color: white;
}
button.danger {
  color: #b63b48;
}

input,
select {
  padding: 11px 12px;
  border: 1px solid #d9e1e7;
  border-radius: 7px;
  background: white;
  color: #23333e;
  max-width: 100%;
}
input[type='checkbox'] {
  accent-color: var(--teal);
  width: 17px;
  height: 17px;
}

header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.brand small {
  display: block;
  font-weight: 600;
}
.profile-control {
  display: flex;
  align-items: center;
  gap: 12px;
}
.profile-control label {
  font-size: 9px;
  font-weight: 700;
}
.profile-control select {
  font-size: 12px;
}
.avatar {
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 12px;
  width: 35px;
  height: 35px;
}
.layout {
  display: grid;
}
aside {
  background: white;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
aside p {
  font-weight: 650;
}
aside button {
  border: 0;
  text-align: left;
  background: transparent;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.navicon {
  font-size: 18px;
}
.workspace-note {
  color: var(--muted);
}
.workspace-note strong {
  display: block;
}
.sidebar-bottom {
  margin-top: auto;
}
.local-label {
  display: block;
}
main {
  width: 100%;
}

h2 {
  font-size: 18px;
  letter-spacing: -0.3px;
  margin: 0 0 15px;
}
h3 {
  font-size: 14px;
  margin: 0;
}
.muted {
  font-size: 12px;
  line-height: 1.7;
}

.eyebrow b {
  font-weight: 500;
}
.row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.between {
  justify-content: space-between;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 27px 0;
}
.stat {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  display: flex;
  align-items: center;
  gap: 16px;
}
.stat-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  font-size: 21px;
}
.stat:nth-child(2) .stat-icon {
  background: #edf0fb;
  color: #717db2;
}
.stat:nth-child(3) .stat-icon {
  background: #fff4e4;
  color: #a57b37;
}
.stat strong {
  display: block;
  font-size: 25px;
  font-weight: 650;
  margin-top: 3px;
}
.stat small {
  font-size: 11px;
  color: var(--muted);
}
.toolbar {
  display: flex;
  align-items: center;
}
.search {
  flex: 1;
  min-width: 180px;
  position: relative;
}
.search input {
  width: 100%;
}
.search span {
  position: absolute;
  left: 12px;
  top: 10px;
  color: #8596a0;
}

.section-heading {
  margin: 26px 0 13px;
}

.tablewrap {
  overflow: auto;
  background: white;
  border: 1px solid var(--line);
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

td {
  border-top: 1px solid #edf0f3;
  white-space: nowrap;
}
td:first-child {
  white-space: normal;
}

.filename {
  display: flex;
  gap: 12px;
  align-items: center;
}
.file-icon {
  display: grid;
  place-items: center;
  border: 1px solid #f7dbd8;
}

.filename b {
  display: block;
  margin-bottom: 4px;
}
.badge {
  display: inline-flex;
  align-items: center;
}

.actions {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.actions button {
  padding: 6px 9px;
  border: 0;
  background: transparent;
  color: #466573;
  font-size: 11px;
}
.actions button:hover {
  background: #e7f2f2;
  color: #087e83;
}
.empty {
  padding: 55px 20px;
  text-align: center;
  color: #6d7c87;
}
.empty-icon {
  font-size: 35px;
  color: #aac2c7;
  margin-bottom: 12px;
}
.notice {
  border: 1px solid #dbeaec;
  border-radius: 8px;
  padding: 15px 17px;
  font-size: 12px;
  line-height: 1.8;
}

.card {
  padding: 23px;
  border: 1px solid var(--line);
  background: white;
  margin: 18px 0;
}
.person {
  display: flex;
  align-items: center;
  gap: 12px;
}
.person .avatar {
  flex-shrink: 0;
}
.person b {
  display: block;
  margin-bottom: 4px;
}
footer {
  display: flex;
  justify-content: space-between;
}
dialog {
  border: 1px solid var(--line);
  width: min(610px, 94vw);
  max-height: 90vh;
  box-shadow: 0 30px 100px #163f4b3d;
}

dialog label {
  display: block;
  font-size: 12px;
  margin: 17px 0;
}
dialog label input:not([type='checkbox']),
dialog label select {
  display: block;
  width: 100%;
  margin-top: 7px;
}
dialog p {
  line-height: 1.8;
  font-size: 13px;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}
.checks label {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 12px 0;
}
.preview-paper {
  padding: 30px;
  background: #fafbfc;
  border: 1px solid var(--line);
  margin: 20px 0;
  min-height: 240px;
}
.preview-paper h2 {
  margin: 25px 0;
}
#toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  color: white;
  padding: 17px 22px;
  box-shadow: 0 10px 30px #183d4933;
  max-width: min(440px, 90vw);
  z-index: 20;
}
.skip {
  position: fixed;
  top: -60px;
  padding: 10px;
  background: white;
  z-index: 99;
}
.skip:focus {
  top: 0;
}
.loader {
  height: 3px;
  background: #d9eaea;
  overflow: hidden;
  margin-bottom: 20px;
}
.loader:after {
  content: '';
  display: block;
  width: 30%;
  height: 100%;
  background: var(--teal);
  animation: load 1s infinite;
}
@keyframes load {
  to {
    transform: translateX(350%);
  }
}
.timeline {
  display: flex;
  gap: 15px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.event-icon {
  color: var(--teal);
  background: #eaf4f4;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.timeline b {
  font-size: 12px;
}
.count {
  font-weight: 400;
  margin-left: 8px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
@media (max-width: 1100px) {
  main {
    padding: 26px 22px;
  }
  .layout {
    grid-template-columns: 205px minmax(0, 1fr);
  }
  .profile-control label {
    display: none;
  }

  .stat {
    padding: 15px;
    gap: 10px;
  }
  .stat-icon {
    width: 32px;
    height: 36px;
  }
}
@media (max-width: 760px) {
  header {
    flex-wrap: wrap;
  }
  .profile-control {
    width: 100%;
  }
  .profile-control select {
    flex: 1;
  }


  aside {
    flex-direction: row;
    overflow: auto;
    border-bottom: 1px solid var(--line);
  }
  aside p,
  .workspace-note,
  .sidebar-bottom {
    display: none;
  }
  aside button {
    white-space: nowrap;
  }

  .stats {
    margin: 20px 0;
  }
  .stat {
    display: block;
  }
  .stat-icon {
    display: none;
  }
  .stat small {
    font-size: 10px;
  }
  .stat strong {
    font-size: 23px;
    margin-top: 8px;
  }

  .toolbar {
    padding: 12px;
  }

  .search {
    flex-basis: 100%;
  }
  .row.between {
    gap: 15px;
  }

  .split {
    grid-template-columns: 1fr;
  }
  td,
  th {
    padding: 13px;
  }
  .section-heading {
    margin-top: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .loader:after {
    animation: none;
  }
}
/*Drive Tech — minimalista claro, azul e painel de conferência. Sem recursos externos.*/
:root {
  --teal: #315bce;
  --line: #e3e7ee;
  --muted: #657184;
  color: #252c38;
  background: #f7f8fa;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 14px;
}
button,
input,
select {
  font-family: inherit;
}
button {
  font-weight: 550;
  border-radius: 6px;
}
button:hover {
  background: #f0f4fd;
  border-color: #afbee4;
}
button.primary {
  background: #315bce;
  border-color: #315bce;
  box-shadow: 0 2px 3px #315bce12;
}
button.primary:hover {
  background: #244cb9;
  border-color: #244cb9;
}
button:disabled {
  cursor: not-allowed;
}
:focus-visible {
  outline: 3px solid #92abf1;
  outline-offset: 3px;
}
a {
  color: #315bce;
}
svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  vertical-align: middle;
}
button svg {
  width: 16px;
  height: 16px;
}
header {
  height: 84px;
  padding: 0 30px;
  border-color: var(--line);
}
.brand {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.85px;
  color: #19202b;
  gap: 12px;
}
.brandmark {
  flex-shrink: 0;
  font-size: 1.25rem;
  white-space: nowrap;
  background: #142d43;
  border-radius: 8px;
  padding: 11px 10px;
}
.header-logo {
  flex: none;
  width: clamp(76px, 10vw, 100px);
}
.header-logo img {
  display: block;
  width: 100%;
  height: auto;
}
.brand small {
  font-size: 9px;
  letter-spacing: 1.65px;
  color: #717c8b;
  margin-top: 6px;
}
.profile-control label {
  letter-spacing: 1px;
  color: #68778c;
}
.profile-control select {
  background: #fff;
  border-color: #e0e5ed;
  max-width: 310px;
}
.avatar {
  background: #eaf0fe;
  color: #3f5d9a;
  font-weight: 650;
}
.layout {
  grid-template-columns: 218px minmax(0, 1fr);
  min-height: calc(100vh - 113px);
}
aside {
  padding: 27px 13px;
  border-color: var(--line);
  gap: 6px;
}
aside p {
  font-size: 9px;
  letter-spacing: 1.4px;
  color: #818a99;
  padding: 0;
  margin: 8px 14px 17px;
}
aside button {
  font-size: 12px;
  color: #556071;
  padding: 13px 12px;
  border-radius: 6px;
  gap: 11px;
}
aside button.active {
  background: #eaf0fe;
  color: #315bce;
  font-weight: 650;
}
aside button:hover {
  background: #f2f5fb;
}
.navicon {
  width: 19px;
  height: 20px;
  display: grid;
  place-items: center;
}
.navicon svg {
  width: 19px;
  height: 19px;
}
.workspace-note {
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 19px 9px 0;
  margin: 28px 8px 12px;
  font-size: 11px;
  line-height: 1.9;
}
.workspace-note strong {
  font-weight: 650;
  color: #354254;
}
.workspace-note .badge {
  margin-top: 8px;
  font-size: 9px;
  background: #f0f3f8;
  color: #637189;
}
.sidebar-bottom {
  padding-top: 22px;
}
.sidebar-bottom button {
  font-size: 11px;
}
.local-label {
  font-size: 9px;
  line-height: 1.8;
  margin: 16px 14px;
  color: #7c899b;
}
main {
  padding: 30px 30px 24px;
  max-width: 1800px;
}
.eyebrow {
  font-size: 10px;
  color: #7c8798;
  margin-bottom: 15px;
}
.eyebrow span {
  padding: 0 8px;
  color: #b5bdca;
}
.eyebrow b {
  color: #526177;
}
h1 {
  color: #222b38;
  font-size: 29px;
  letter-spacing: -0.9px;
  line-height: 1.2;
  font-weight: 650;
  margin: 0 0 11px;
}
.page-description {
  color: #687586;
  font-size: 12px;
  margin: 0;
  line-height: 1.7;
}
.page-heading {
  margin-bottom: 24px;
}
.workspace-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  min-height: 44px;
}
.company-picker {
  display: flex;
  align-items: center;
  position: relative;
  min-width: 245px;
}
.company-picker > svg {
  position: absolute;
  left: 13px;
  color: #66758a;
  pointer-events: none;
  width: 17px;
}
.company-picker select {
  padding: 12px 30px 12px 39px;
  font-weight: 600;
  font-size: 12px;
  width: 100%;
  background: white;
  box-shadow: 0 1px 2px #20306005;
  border-color: #d8dfeb;
}
.inline-summary {
  display: flex;
  align-items: center;
  gap: 19px;
  padding-left: 20px;
  border-left: 1px solid #dce2ec;
  flex-wrap: wrap;
}
.inline-summary > span {
  display: flex;
  gap: 7px;
  align-items: center;
  color: #68768a;
  font-size: 11px;
  white-space: nowrap;
}
.inline-summary svg {
  width: 15px;
  height: 15px;
  color: #7a89a0;
}
.inline-summary b {
  font-weight: 650;
  color: #334154;
}
.fiction-label {
  margin-left: auto;
  white-space: nowrap;
  font-size: 9px;
  color: #7a889b;
}
.toolbar {
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  gap: 9px;
  margin: 0 0 14px;
  flex-wrap: wrap;
}
.toolbar .search {
  min-width: 190px;
  flex: 1;
}
.search input {
  height: 42px;
  background: white;
  padding-left: 38px;
  font-size: 12px;
  border-color: #dbe2ec;
  box-shadow: 0 1px 2px #20306004;
}
.search > span {
  left: 13px;
  top: 12px;
  line-height: 1;
}
.search svg {
  width: 17px;
  height: 17px;
  color: #748298;
}
.toolbar select {
  height: 42px;
  padding: 9px 10px;
  font-size: 11px;
  border-color: #dbe2ec;
}
.add-document {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  padding: 10px 12px;
  white-space: nowrap;
}
.department-tabs {
  display: flex;
  gap: 17px;
  align-items: stretch;
  border-bottom: 1px solid #dce3ed;
  margin: 6px 0 0;
  overflow: auto;
}
.department-tabs button {
  padding: 18px 4px 16px;
  background: transparent;
  border: 0;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  font-size: 12px;
  font-weight: 500;
  color: #6a7688;
  display: flex;
  gap: 7px;
  align-items: center;
  white-space: nowrap;
}
.department-tabs button.active {
  border-bottom-color: #315bce;
  color: #315bce;
  font-weight: 650;
}
.department-tabs button:hover {
  color: #315bce;
  background: #f0f3fa;
}
.department-tabs svg {
  width: 16px;
  height: 16px;
}
.department-tabs button > span {
  font-size: 10px;
  min-width: 18px;
  text-align: center;
  color: #7b889d;
  background: #eceff5;
  border-radius: 4px;
  padding: 2px 4px;
}
.department-tabs button.active > span {
  background: #e5ecff;
  color: #315bce;
}
.list-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0 12px;
  font-size: 11px;
  color: #526178;
}
.list-caption b {
  font-weight: 600;
}
.count {
  font-size: 10px;
  color: #7c899a;
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: #5e7291;
  font-size: 11px;
  padding: 7px 0;
  text-align: left;
}
.text-button:hover {
  color: #315bce;
  background: transparent;
}
.text-button svg {
  width: 14px;
  height: 14px;
}
.documents-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}
.documents-workspace.with-details {
  grid-template-columns: minmax(0, 1fr) 290px;
}
.document-list {
  min-width: 0;
}
.tablewrap {
  border-radius: 8px;
  border-color: #e0e6ee;
  box-shadow: 0 1px 3px #24395703;
}
table {
  table-layout: auto;
}
th {
  padding: 14px 13px;
  font-size: 9px;
  letter-spacing: 0.55px;
  background: #fafbfd;
  color: #7e899a;
  font-weight: 650;
  white-space: nowrap;
}
td {
  padding: 13px;
  font-size: 11px;
  color: #536075;
  border-color: #edf0f5;
}
td:first-child {
  min-width: 200px;
}
td:nth-child(2) {
  font-size: 10px;
}
td:last-child {
  padding: 10px 8px;
  width: 32px;
}
tbody tr:hover {
  background: #fafcff;
}
tr.selected,
tbody tr.selected:hover {
  background: #f0f4ff;
}
tr.selected td:first-child {
  box-shadow: inset 3px 0 0 #315bce;
}
.document-name {
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  font-weight: 400;
  gap: 10px;
  max-width: 100%;
  width: 100%;
  border-radius: 3px;
}
.document-name:hover {
  background: transparent;
  color: #315bce;
}
.document-name > span:last-child {
  min-width: 0;
}
.filename b {
  font-size: 11px;
  line-height: 1.6;
  font-weight: 550;
  margin: 0 0 2px;
  overflow-wrap: anywhere;
  color: #303d52;
}
.filename .muted {
  font-size: 9px;
  color: #8290a2;
  line-height: 1.6;
}
.file-icon {
  width: 30px;
  min-width: 30px;
  height: 35px;
  font-size: 8px;
  border-radius: 4px;
  background: #fff4f3;
  border-color: #f2dedc;
  color: #b65a58;
  flex-shrink: 0;
  font-weight: 700;
  position: relative;
}
.file-icon:after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  border-left: 6px solid transparent;
  border-top: 6px solid #fff;
  border-bottom: 1px solid #f0d7d5;
}
.file-icon.xlsx,
.file-icon.xls {
  background: #eef8f1;
  border-color: #d9ebde;
  color: #44885c;
}
.file-icon.xml {
  background: #f1f0fc;
  border-color: #e3e0f4;
  color: #7d6ab3;
}
.period {
  font-variant-numeric: tabular-nums;
  color: #73819a;
  font-size: 10px;
  white-space: nowrap;
}
.status-group {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.badge {
  gap: 4px;
  padding: 4px 6px;
  background: #ebf7ef;
  color: #39815a;
  font-size: 9px;
  font-weight: 550;
  border-radius: 5px;
  white-space: nowrap;
}
.badge svg {
  width: 11px;
  height: 11px;
}
.badge.internal {
  background: #fff4e0;
  color: #996d23;
}
.badge.restricted {
  background: #f0edf8;
  color: #7a629d;
}
.badge.gray {
  background: #f0f3f8;
  color: #637189;
}
.icon-button {
  border: 0;
  background: transparent;
  padding: 5px;
  border-radius: 5px;
  color: #9aa6b7;
  display: inline-grid;
  place-items: center;
}
.icon-button:hover {
  background: #e7edfc;
  color: #315bce;
}
.icon-button svg {
  width: 15px;
  height: 15px;
}
.selection-hint {
  font-size: 11px;
  color: #79879b;
  text-align: center;
  padding: 10px;
}
.details-panel {
  border: 1px solid #dfe5f0;
  background: white;
  border-radius: 8px;
  padding: 17px;
  box-shadow: 0 2px 7px #2b426008;
  position: sticky;
  top: 18px;
}
.details-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.panel-eyebrow {
  font-size: 8px;
  letter-spacing: 1px;
  color: #8996a8;
  font-weight: 650;
}
.panel-file {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
}
.panel-file .file-icon {
  width: 37px;
  min-width: 37px;
  height: 44px;
  font-size: 9px;
}
.panel-file h2 {
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  overflow-wrap: anywhere;
  letter-spacing: -0.25px;
  color: #303d52;
  font-weight: 600;
}
.document-facts {
  border-top: 1px solid var(--line);
  margin: 20px 0 0;
  padding: 17px 0 0;
}
.document-facts > div {
  margin-bottom: 17px;
}
.document-facts dt {
  font-size: 10px;
  color: #8190a4;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
}
.document-facts dt svg {
  width: 13px;
  height: 13px;
}
.document-facts dd {
  font-size: 12px;
  font-weight: 550;
  color: #43516a;
  margin-left: 20px;
  line-height: 1.7;
}
.document-facts dd .muted {
  display: block;
  font-size: 9px;
  font-weight: 400;
  color: #8693a4;
}
.recipients {
  border-top: 1px solid var(--line);
  padding-top: 17px;
  margin-top: 4px;
}
.recipients h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #66758c;
  font-weight: 550;
  margin-bottom: 14px;
}
.recipients h3 svg {
  width: 14px;
  height: 14px;
}
.recipient-list {
  display: grid;
  gap: 12px;
}
.recipient {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  color: #475771;
}
.recipient > .avatar {
  width: 26px;
  height: 26px;
  font-size: 9px;
}
.recipient small {
  display: block;
  font-size: 9px;
  color: #8d98a9;
  margin-top: 3px;
}
.recipients > p {
  font-size: 9px;
  line-height: 1.8;
  margin: 15px 0;
  color: #8a96a8;
}
.panel-actions {
  border-top: 1px solid var(--line);
  padding-top: 17px;
  display: grid;
  gap: 10px;
}
.publish-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  font-size: 11px;
  min-height: 39px;
}
.secondary {
  color: #596c8f;
}
.panel-action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.panel-action-grid button {
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 9px 5px;
  font-weight: 500;
  border-color: #e2e7ef;
  color: #657896;
}
.panel-action-grid svg {
  width: 13px;
  height: 13px;
}
.panel-actions > .text-button {
  font-size: 10px;
  padding: 4px 0;
}
.panel-demo {
  text-align: center;
  color: #8a96a9;
  font-size: 9px;
  line-height: 1.8;
  margin: 0;
}
.admin-actions {
  display: grid;
  gap: 2px;
}
.admin-actions button {
  font-size: 10px;
}
footer {
  margin-top: 22px;
  padding-top: 15px;
  border-top: 1px solid #e2e7ef;
  color: #8a97a8;
  font-size: 9px;
  line-height: 1.9;
  gap: 15px;
}
footer svg {
  width: 11px;
  height: 11px;
  margin-right: 3px;
}
.muted {
  color: #76849a;
}
.notice {
  background: #f1f5fc;
  border-color: #e0e8f7;
  color: #647696;
}
.notice.warning {
  background: #fff8ed;
  color: #866b39;
  border-color: #f0e2c9;
}
.notice.error {
  background: #fff1f1;
  color: #a94b54;
  border-color: #f0d9dc;
}
.card {
  border-radius: 8px;
}
.stats {
  gap: 12px;
}
.stat {
  padding: 17px;
}
.stat-icon {
  background: #eef2fc;
  color: #315bce;
  border-radius: 7px;
}
.stats strong {
  font-size: 23px;
}
dialog {
  border-radius: 10px;
  color: #33405a;
  padding: 25px;
}
dialog::backdrop {
  background: #27334a66;
  backdrop-filter: blur(2px);
}
dialog h2 {
  font-size: 18px;
  color: #263651;
}
dialog .muted {
  font-size: 11px;
}
#toast {
  background: #253959;
  font-size: 12px;
  border-radius: 7px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (min-width: 1600px) {
  main {
    padding: 36px 44px;
  }
  .layout {
    grid-template-columns: 240px minmax(0, 1fr);
  }
  .documents-workspace.with-details {
    grid-template-columns: minmax(0, 1fr) 310px;
  }
  td {
    padding: 17px;
  }
  .filename b {
    font-size: 12px;
  }
  .document-facts dd {
    font-size: 13px;
  }
  .details-panel {
    padding: 21px;
  }
  .page-heading {
    margin-bottom: 28px;
  }
}
@media (max-width: 1250px) {
  .layout {
    grid-template-columns: 196px minmax(0, 1fr);
  }
  main {
    padding: 25px 22px;
  }
  .fiction-label {
    display: none;
  }
  .inline-summary {
    gap: 12px;
    padding-left: 15px;
  }
  .workspace-bar {
    gap: 15px;
  }
  .documents-workspace.with-details {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 12px;
  }
  .details-panel {
    padding: 15px;
  }
  .department-tabs {
    gap: 12px;
  }
  .toolbar .search {
    flex-basis: 100%;
  }
  .toolbar select {
    flex: 1;
  }
  .add-document {
    flex: none;
  }
  td {
    padding: 12px 10px;
  }
  td:first-child {
    min-width: 190px;
  }
  .with-details table {
    min-width: 570px;
  }
}
@media (max-width: 1000px) {
  .documents-workspace.with-details {
    grid-template-columns: minmax(0, 1fr);
  }
  .details-panel {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 22px;
  }
  .details-top {
    grid-column: 1/-1;
  }
  .panel-file {
    grid-column: 1;
  }
  .details-panel > .status-group {
    grid-column: 1;
  }
  .document-facts {
    grid-column: 1;
    grid-row: 4/6;
  }
  .recipients {
    grid-column: 2;
    grid-row: 2/5;
    border: 0;
    margin: 0;
    padding: 0;
  }
  .panel-actions {
    grid-column: 2;
    grid-row: 5/7;
    margin-top: 12px;
  }
  .workspace-bar {
    flex-wrap: wrap;
    gap: 15px;
  }
  .inline-summary {
    border: 0;
    padding: 0;
  }
  .with-details table {
    min-width: 570px;
  }
}
@media (max-width: 760px) {
  header {
    height: auto;
    min-height: 112px;
    padding: 17px 18px;
    gap: 17px;
  }
  .brand {
    font-size: 23px;
  }
  .brandmark {
    font-size: 1.125rem;
    padding: 9px 8px;
  }
  .brand small {
    font-size: 8px;
  }
  .profile-control {
    gap: 10px;
  }
  .profile-control select {
    max-width: none;
    font-size: 11px;
  }
  .avatar {
    width: 32px;
    height: 32px;
  }
  .layout {
    grid-template-columns: 1fr;
  }
  aside {
    padding: 8px 10px;
    gap: 4px;
  }
  .navicon svg {
    height: 16px;
    width: 16px;
  }
  aside button {
    padding: 10px 12px;
    gap: 7px;
    font-size: 11px;
  }
  aside p,
  .workspace-note {
    display: none;
  }
  .sidebar-bottom {
    display: flex;
    gap: 4px;
    padding: 0;
    margin: 0;
  }
  .sidebar-bottom button {
    font-size: 10px;
  }
  .sidebar-bottom .local-label {
    display: none;
  }
  main {
    padding: 22px 16px;
  }
  .eyebrow {
    font-size: 9px;
    margin-bottom: 13px;
  }
  h1 {
    font-size: 25px;
  }
  .page-description {
    font-size: 11px;
  }
  .page-heading {
    margin-bottom: 20px;
  }
  .workspace-bar {
    margin-bottom: 20px;
  }
  .company-picker {
    width: 100%;
    min-width: 0;
  }
  .inline-summary {
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    border-bottom: 1px solid var(--line);
    padding-bottom: 15px;
  }
  .inline-summary > span {
    font-size: 10px;
    gap: 4px;
  }
  .inline-summary svg {
    width: 13px;
    height: 13px;
  }
  .toolbar {
    gap: 8px;
    margin-bottom: 5px;
  }
  .toolbar select {
    min-width: 90px;
    flex: 1;
    height: 38px;
    font-size: 10px;
  }
  .toolbar .search {
    min-width: 0;
  }
  .add-document {
    width: 100%;
    justify-content: center;
    height: 39px;
    margin-top: 2px;
    font-size: 11px;
  }
  .department-tabs {
    gap: 16px;
  }
  .department-tabs button {
    padding: 16px 2px;
    font-size: 11px;
    gap: 6px;
  }
  .department-tabs button > span {
    font-size: 9px;
    min-width: 16px;
  }
  .department-tabs svg {
    width: 14px;
    height: 14px;
  }
  .documents-workspace {
    gap: 14px;
  }
  .details-panel {
    display: block;
    padding: 18px;
  }
  .details-top {
    margin-bottom: 15px;
  }
  .panel-file h2 {
    font-size: 15px;
  }
  .document-facts {
    margin-top: 20px;
  }
  .document-facts dd {
    font-size: 12px;
  }
  .recipients {
    border-top: 1px solid var(--line);
    padding-top: 18px;
  }
  .recipient-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .recipients h3 {
    font-size: 11px;
  }
  .panel-actions {
    margin-top: 18px;
    padding-top: 18px;
  }
  .panel-action-grid button {
    font-size: 11px;
  }
  .panel-demo {
    font-size: 10px;
  }
  .list-caption {
    margin: 13px 0 10px;
  }
  table,
  .with-details table {
    min-width: 570px;
  }
  td:first-child {
    min-width: 210px;
  }
  .selection-hint {
    font-size: 10px;
    line-height: 1.7;
  }
  .stats {
    gap: 8px;
  }
  .stat {
    padding: 12px;
  }
  footer {
    font-size: 9px;
    display: block;
  }
  footer > span {
    display: block;
    margin-bottom: 7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    animation: none !important;
  }
}

.management-toolbar {
  margin: 25px 0;
}
.management-table {
  margin-top: 22px;
}
.dialog-section-title {
  margin-top: 22px;
}
.guide-steps {
  line-height: 2;
  padding-left: 20px;
}
