.team-space { max-width: 1320px; }
.team-heading, .team-detail-head, .team-members-head, .team-actions {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.team-heading { padding-bottom: 21px; border-bottom: 1px solid #30302f; }
.team-heading h1 { margin: 0; font-size: clamp(26px, 4vw, 42px); letter-spacing: -.04em; }
.team-heading .team-actions { justify-content: end; }
.team-space button:not(.primary), .team-dialog button:not(.primary) {
  border: 1px solid #444340; background: #191918; color: #eeeae5; border-radius: 8px;
  padding: 7px 12px; min-height: 34px; cursor: pointer;
}
.team-space button:hover:not(:disabled), .team-dialog button:hover:not(:disabled) { border-color: #a8947d; }
.team-space button:focus-visible, .team-dialog :is(button,input,select,a):focus-visible, .team-space a:focus-visible {
  outline: 2px solid #edc995; outline-offset: 3px;
}
#team-unread { color: #eac998; margin-inline-start: 7px; font-variant-numeric: tabular-nums; }
#team-notice { padding: 10px 14px; background: #26211d; color: #f5d1a3; border-radius: 8px; margin-block: 14px 0; }
.team-layout { display: grid; grid-template-columns: 218px minmax(0, 1fr); min-height: 55vh; }
.team-rail { padding: 24px 17px 24px 0; border-inline-end: 1px solid #30302f; }
.team-rail h2 { margin: 0 0 12px 9px; font-size: 12px; font-weight: 600; color: #afaaa3; }
.team-rail nav { display: grid; gap: 4px; }
.team-rail a {
  display: block; color: #e3dfda; text-decoration: none; overflow-wrap: anywhere;
  border: 1px solid transparent; border-radius: 8px; padding: 8px;
}
.team-rail a[aria-current="page"], .team-rail a:hover { background: #232220; border-color: #3b3833; }
.team-rail a[aria-current="page"] { color: #f2d1a3; }
.team-content { padding: 24px 0 24px clamp(20px, 4vw, 48px); min-width: 0; }
.team-detail-head { min-height: 50px; overflow-wrap: anywhere; }
.team-detail-head h2 { margin: 0; font-size: clamp(22px, 3.2vw, 32px); line-height: 1.17; letter-spacing: -.025em; }
.team-detail-head p, .team-preview header p { color: #ddbf99; margin: 0 0 5px; font-size: 12px; }
.team-detail-head button { flex: none; }
.team-tabs { display: flex; gap: 18px; margin-top: 18px; border-bottom: 1px solid #353330; }
.team-tabs button:not(.primary) { padding: 7px 2px 9px; border: 0; border-bottom: 2px solid transparent; background: transparent; border-radius: 0; color: #bdb7ae; }
.team-tabs button[aria-pressed="true"] { color: #f5debb; border-bottom-color: #dbb887; }
.team-columns, .team-file-row {
  display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(85px, .75fr) minmax(120px, .7fr);
  align-items: center; gap: 12px; padding-inline: 2px;
}
.team-columns { color: #a9a49c; font-size: 12px; padding-block: 15px 8px; }
.team-rows { list-style: none; padding: 0; margin: 0; }
.team-file-row, .team-person-row, .team-inbox-row { border-bottom: 1px solid #30302f; min-height: 62px; padding-block: 10px; font-size: 13px; }
.team-file-row:hover { background: #181817; }
.team-file-row a { color: #f2efea; text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
.team-file-row a:hover, .team-inbox-row a:hover { color: #f3d1a3; }
.team-filename { display: grid; gap: 3px; }
.team-mobile-publisher { display: none; }
.team-file-row small, .team-file-row time, .team-person-row small, .team-inbox-row small, .team-help, .team-empty { color: #b7b1a7; }
.team-person-row, .team-inbox-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.team-person-row > div:first-child { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.team-members-head { margin-top: 14px; }
.team-members-head h3 { margin: 0; }
.team-person-controls { display: flex; flex-wrap: wrap; justify-content: end; align-items: center; gap: 7px; }
.team-inbox-row { align-items: flex-start; }
.team-inbox-row a { color: #ede3d3; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.team-inbox-row p { margin: 4px 0; overflow-wrap: anywhere; }
.team-inbox-row button { flex: none; }
.team-empty { padding-block: 12px; }
.team-dialog {
  width: min(510px, calc(100vw - 34px)); max-height: 90dvh; padding: 22px;
  border: 1px solid #544d43; border-radius: 14px; color: #f2eeea; background: #1d1b19;
  box-shadow: 0 24px 95px #050505aa;
}
.team-dialog::backdrop { background: #070707a8; }
.team-dialog header, .team-dialog footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.team-dialog header { margin-bottom: 15px; }
.team-dialog h2 { margin: 0; font-size: 22px; overflow-wrap: anywhere; }
.team-dialog footer { justify-content: end; margin-top: 17px; flex-wrap: wrap; }
.team-dialog label { color: #e3dbd0; display: grid; gap: 4px; margin-block: 10px; }
.team-dialog label small, .team-help { font-size: 12px; }
.team-dialog :is(input,select), .team-person-controls select { width: 100%; min-height: 36px; background: #111110; color: #efede9; border-color: #514b43; }
.team-person-controls select { width: auto; }
.team-dialog input[type="file"] { padding: 5px; max-width: 100%; }
.team-form-status { color: #ffd0b1; margin: 8px 0 0; }
.team-dialog.team-preview { width: min(945px, calc(100vw - 34px)); }
.team-preview iframe, .team-attachment-viewer iframe { width: 100%; height: min(59dvh, 690px); display: block; border: 1px solid #4c4943; border-radius: 6px; }
.team-slide-outline { padding-inline-start: 24px; max-height: 56dvh; overflow: auto; margin: 0; }
.team-slide-outline li { border-top: 1px solid #45403b; padding: 10px 5px; }
.team-slide-outline p { white-space: pre-wrap; overflow-wrap: anywhere; margin: 6px 0; }
.team-preview-link { color: #f3d1a3; padding: 7px 2px; }
.team-list-actions { display: flex; justify-content: flex-end; margin-block-start: 10px; }
#team-package { padding-block-start: 14px; overflow-wrap: anywhere; }
#team-package h3 { font-size: clamp(18px, 3vw, 24px); line-height: 1.25; margin: 16px 0 8px; }
.team-package-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; padding-block: 2px 10px; }
.team-markdown { border-block: 1px solid #393530; color: #e9e4dd; padding-block: 5px 8px; line-height: 1.65; }
.team-markdown :is(h3, h4, h5, h6) { margin: 16px 0 5px; }
.team-markdown :is(ul,ol) { padding-inline-start: 20px; }
.team-markdown :is(pre,blockquote) { background: #1d1a18; padding: 9px 11px; margin-inline: 0; }
.team-markdown pre { overflow: auto; }
.team-markdown code { color: #efcfaa; }
.team-space button.team-citation:not(.primary) {
  color: #f1d1a6; background: #29231e; border: 0; border-radius: 4px; font: inherit;
  min-height: 0; padding: 0 4px; margin-inline: 3px; line-height: 1.4;
}
.team-references, .team-attachments, .team-attachment-viewer { border-bottom: 1px solid #393530; padding-block: 12px; }
.team-references summary, .team-attachment-viewer summary { cursor: pointer; font-weight: 650; }
.team-references ol { padding-inline-start: 22px; }
.team-references li { padding: 8px 3px; margin-block: 2px; }
.team-references li:focus { outline: 1px solid #c7aa88; outline-offset: 3px; }
.team-references p { margin: 4px 0; color: #c5bdb1; }
.team-references a { display: block; width: fit-content; }
.team-attachments h4, .team-attachment-viewer h4 { margin: 0 0 8px; }
.team-attachments ul { list-style: none; padding: 0; margin: 0; }
.team-attachments li { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; padding: 8px 0; }
.team-attachments li strong { flex: 1 1 100px; }
.team-attachment-viewer > div { margin-block-start: 10px; }
.team-attachment-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.team-attachment-toolbar h4 { margin: 0; }
.team-sop-form { display: grid; gap: 12px; padding-block: 15px; }
.team-sop-form h4 { margin: 8px 0 0; }
.team-sop-form fieldset { border: 1px solid #484644; border-radius: 10px; display: grid; gap: 9px; margin: 8px 0; padding: 12px; min-width: 0; }
.team-sop-form button { justify-self: start; }
.team-sop-field { display: grid; gap: 5px; margin-block: 5px; }
.team-sop-field > :is(textarea,input,select) { box-sizing: border-box; max-width: 100%; min-width: 0; font: inherit; }
.team-sop-field > textarea { resize: vertical; }
.team-sop-field input[type=checkbox] { justify-self: start; }
.team-sop-references a { display: block; overflow-wrap: anywhere; }
.team-sop-form [hidden] { display: none; }
.team-table-scroll { max-width: 100%; overflow: auto; margin-block: 8px; }
.team-table-scroll table { width: 100%; border-collapse: collapse; font-size: 12px; }
.team-table-scroll :is(th,td) { border: 1px solid #49443f; padding: 5px 8px; text-align: left; min-width: 56px; }
.team-table-scroll th { color: #e3cda9; background: #24211e; }
@media (max-width: 780px) {
  .team-layout { grid-template-columns: 148px minmax(0, 1fr); }
  .team-columns, .team-file-row { grid-template-columns: minmax(0, 1fr) 105px; }
  .team-columns span:nth-child(2), .team-file-row > span { display: none; }
  .team-mobile-publisher { display: inline; }
}
@media (max-width: 570px) {
  .team-heading { align-items: flex-start; }
  .team-heading h1 { font-size: 23px; }
  .team-heading .team-actions { flex-wrap: wrap; }
  .team-layout { display: block; }
  .team-rail { padding: 12px 0; border: 0; border-bottom: 1px solid #30302f; }
  .team-rail h2 { margin: 0 0 3px; }
  .team-rail nav { display: flex; flex-wrap: wrap; }
  .team-content { padding: 14px 0; }
  .team-person-row { align-items: flex-start; }
}
