* { box-sizing: border-box }
h1,h2,h3,p,dl,dd { margin: 0 }
button,input,select,textarea { font: inherit; color: inherit }
button,.button { border: 1px solid var(--line); border-radius: 9px; background: white; padding: 8px 13px; cursor: pointer; font-weight: 550; text-decoration: none }
button:hover,.button:hover { filter: brightness(.965) }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible { outline: 3px solid #7971bb; outline-offset: 2px }
button.primary { background: #252626; border-color: #252626; color: white }
a { color: #4b467e }
.eyebrow,th { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 680 }
svg { width: 18px; height: 18px; flex: none }
.avatar { width: 36px; height: 36px; display: inline-grid; place-items: center; border-radius: 50%; background: #e4dcff; color: #343140; font-weight: 650 }
.head,.row,.panelhead,.actions { display: flex; align-items: center; justify-content: space-between; gap: 12px }
.head { margin-bottom: 22px }
.actions { justify-content: flex-start; flex-wrap: wrap }
.eyebrow { color: #667160; margin-bottom: 8px }
.eyebrow i { display: inline-block; width: 8px; height: 8px; background: #9ab84a; border-radius: 50%; margin-right: 4px }
h1 { font-size: clamp(28px,2.8vw,41px); letter-spacing: -.055em; line-height: 1.15; font-weight: 620 }
h2 { font-size: 17px; font-weight: 630; letter-spacing: -.035em }
.sub,.muted,.empty { color: var(--muted) }
.sub { margin-top: 6px }
.stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; margin: 0 0 20px }
.stat { padding: 16px 18px; text-align: left; border: 1px solid #00000008; border-radius: 14px; min-width: 0 }
.stat b { display: block; font-weight: 570; font-size: clamp(24px,2.4vw,36px); line-height: 1.35; letter-spacing: -.065em; overflow-wrap: anywhere }
.stat span { font-size: 12px; color: #50545c }
.stat:nth-child(4n+1) { background: #e6def5 }
.stat:nth-child(4n+2) { background: #d8e9f3 }
.stat:nth-child(4n+3) { background: #f8e7a6 }
.stat:nth-child(4n+4) { background: #dff0bd }
.panel { background: white; border: 1px solid var(--line); border-radius: 15px; padding: 20px; margin-bottom: 16px; overflow: auto }
.panelhead { margin-bottom: 16px }
.panelhead button,.line button { font-size: 12px }
.line { padding: 10px 0; border-top: 1px solid #f0f1f3 }
.line strong,.line small { display: block }
.track { height: 6px; background: #f0f1f3; border-radius: 6px; overflow: hidden; margin: 6px 0 }
.track i { display: block; height: 100%; background: #b4c96d }
.empty { padding: 14px 0; font-size: 13px }
.badge { border-radius: 5px; padding: 3px 7px; background: #f1eef9; color: #574c76; font-size: 11px; white-space: nowrap }
.tabs,.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 17px }
.tabs:has(.sel) { border-bottom: 1px solid #dadddf; gap: 3px }
.tabs:has(.sel) button { border: none; border-radius: 0; background: none }
.tabs button.sel { box-shadow: inset 0 -3px #99b348 }
.filters input,.filters select { width: auto; max-width: 100% }
input,select,textarea { width: 100%; background: white; border: 1px solid #d8dce1; padding: 10px; border-radius: 8px }
table { width: 100%; border-collapse: collapse; text-align: left }
td,th { padding: 11px 9px; border-bottom: 1px solid #eceef0 }
th { color: #6c737c; font-size: 9px; background: #fafbfc }
td { font-size: 13px }
td button { padding: 3px 0; border: none; border-radius: 0; text-align: left }
td button:hover { text-decoration: underline }
.facts { display: grid; grid-template-columns: repeat(auto-fit,minmax(165px,1fr)); gap: 18px }
.facts dt { text-transform: capitalize; font-size: 12px; color: var(--muted) }
.facts dd { margin-top: 3px; font-weight: 550; overflow-wrap: anywhere }
dialog { width: min(600px,94vw); max-height: 90vh; border: 1px solid var(--line); border-radius: 16px; color: inherit; padding: 24px }
dialog::backdrop { background: #20223270 }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px }
label { display: block; font-size: 12px; font-weight: 600; margin: 10px 0 }
label input,label select,label textarea { display: block; font-weight: 400; margin-top: 4px }
.fields label:has(textarea) { grid-column: 1/-1 }
form .actions { justify-content: flex-end; margin-top: 16px }
.error { color: #a32837 }
#toast { display: none; position: fixed; bottom: 20px; right: 20px; padding: 10px 17px; background: #292a2c; color: white; border-radius: 9px; z-index: 5 }@media(max-width:1000px){
.stats { grid-template-columns: repeat(2,minmax(0,1fr)) }}@media(max-width:730px){
.head { align-items: flex-start; flex-wrap: wrap }
.panel { padding: 15px }
.fields { grid-template-columns: 1fr }}
.avatar { background: linear-gradient(145deg,#eef8cc,#d9e7ac); border-radius: 9px; color: #343923; font-size: 12px }
.primary,button.primary { background: #181a12; color: white }
.lime { background: var(--lime); border-color: var(--lime) }
button,.button { border-radius: 24px; font-weight: 540 }
.head { margin-bottom: 19px }
.head select { width: auto; border-radius: 22px; font-size: 12px }
h1 { font-size: clamp(29px,2.45vw,41px); letter-spacing: -.065em; font-weight: 620 }
h2 { font-size: 16px; letter-spacing: -.045em }
.sub,.chart-intro,.empty { font-size: 12px; color: #73756c }
.eyebrow { color: #66695f; font-size: 10px }
.panel { background: #fff; border: 0; border-radius: 20px; box-shadow: 0 5px 14px #47493907 }
.panel { padding: 21px }
.panelhead { margin-bottom: 9px }
.panelhead button { font-size: 11px; background: transparent; border: none; padding: 4px 7px }
.chart-intro { margin-bottom: 20px }
.badge { background: #f2f3eb; color: #454937; font-weight: 500 }
.track i { background: #a1c450 }
.facts { background: #fafaf7; border-radius: 12px; padding: 17px }
.stats .stat { background: white; border-color: var(--line) }
.filters input,.filters select { background: #fafaf7 }
.tabs button.sel { box-shadow: inset 0 -3px #b5ce5a }
.deal footer,.report-footer { display: flex; align-items: end; justify-content: space-between; gap: 7px; font-size: 11px; color: #777a70 }
.plot svg { width: 100%; height: 100%; display: block }
.analytics-top,.analytics-bottom,.report-layout,.report-grid { display: grid; gap: 15px; align-items: stretch }
.plot svg { height: 170px }
.axis { display: flex; justify-content: space-between; gap: 3px; margin-top: 7px; color: #82857a; font-size: 9px }
.axis span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.hbar { margin: 13px 0 }
.hbar div,.legend { display: flex; align-items: center; gap: 7px; font-size: 12px }
.hbar b,.legend b { margin-left: auto; font-size: 11px }
.hbar>i { display: block; height: 16px; border-radius: 5px; background: #f4f4f0; overflow: hidden; margin-top: 5px }
.hbar u { display: block; height: 100%; background: linear-gradient(90deg,#292c20,#191b13); border-radius: 5px }
.hbar:last-of-type u { background: linear-gradient(90deg,#d8f568,#b1c58a) }
.pipeline { display: grid; grid-template-columns: repeat(5,minmax(170px,1fr)); overflow: auto; gap: 10px; padding-bottom: 8px; margin-bottom: 9px }
.lane { min-height: clamp(420px,69vh,780px); border: 1px dashed #d5d7ce; border-radius: 18px; padding: 14px 10px; color: #181a23 }
.lane>.row { font-size: 14px }
.lane>.row b:last-child { font-size: 12px }
.lane>small { display: block; margin: 4px 0 17px; color: #72756a }
.lane-0 { background: #fafcfb }
.lane-1 { background: #fdf9fc }
.lane-2 { background: #faf5df }
.lane-3 { background: #fdf8f8 }
.lane-4 { background: #eff0fd }
.deal { width: 100%; display: block; text-align: left; background: white; border: 1px solid #e9ebe5; border-radius: 15px; padding: 12px; margin: 0 0 10px; box-shadow: 0 3px 8px #1e241507 }
.deal[draggable=true] { cursor: grab }
.deal>.row { align-items: start; font-size: 13px; gap: 4px }
.deal>span:nth-child(2) { font-size: 11px; color: #72776c }
.deal strong { display: block; font-size: 20px; letter-spacing: -.055em; margin-top: 10px }
.deal em { font-style: normal; background: #fae6d9; border-radius: 6px; padding: 4px }
.stage-track { height: 4px; background: #e5e6df; border-radius: 5px; margin: 4px 0 11px }
.stage-track i { height: 100%; display: block; background: #9dca50; border-radius: 5px }
.lane-add { width: 100%; background: transparent; border: 1px dashed #b9bfb0; font-size: 12px; border-radius: 11px }
.analytics-top { grid-template-columns: minmax(0,1.6fr) minmax(0,1fr) }
.analytics-bottom { grid-template-columns: repeat(3,minmax(0,1fr)) }
.columns { display: flex; align-items: end; justify-content: space-around; gap: 9px; text-align: center; min-height: 170px }
.columns>div { min-width: 0; flex: 1 }
.shaft { height: 160px; display: flex; align-items: end; justify-content: center }
.shaft i { display: block; position: relative; width: 90%; border-radius: 8px 8px 3px 3px; background: linear-gradient(#d8ee84,#adbc85) }
.columns>div:nth-child(2) i,.columns>div:nth-child(3) i { background: linear-gradient(#373a2e,#191b12) }
.columns>div:nth-child(n+4) i { background: linear-gradient(#dedfd7,#c8c9be) }
.shaft small { position: absolute; bottom: 100%; left: 0; right: 0; padding-bottom: 5px; font: 10px "Segoe UI"; color: #67695e }
.columns span { display: block; margin-top: 9px; font-size: 11px; overflow: hidden; text-overflow: ellipsis }
.mix { display: flex; align-items: center; gap: 20px; min-height: 165px }
.mix>div:last-child { flex: 1 }
.ring { aspect-ratio: 1; width: 43%; max-width: 175px; display: grid; place-items: center; border-radius: 50% }
.ring b { display: grid; place-items: center; background: white; width: 65%; height: 65%; border-radius: 50%; font-size: clamp(16px,2vw,30px); letter-spacing: -.06em }
.legend { margin: 9px 0 }
.legend i { display: block; width: 7px; height: 7px; border-radius: 2px; background: #25281c }
.report-layout { grid-template-columns: minmax(185px,.8fr) minmax(0,2fr) }
.report-grid { grid-template-columns: repeat(2,minmax(0,1fr)); align-content: start }
.report-grid>.panel { margin: 0; min-width: 0 }
.report-footer { justify-content: start; border-top: 1px solid var(--line); padding-top: 9px; margin-top: 12px }
.report-footer small { margin-left: auto }
.report-footer .avatar { width: 25px; height: 25px }
.chart-picker { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; border-bottom: 1px solid var(--line); padding-bottom: 19px; margin-bottom: 19px }
.chart-picker button { border-radius: 13px; padding: 10px 3px; font-size: 11px }
.chart-picker i { display: block; font-style: normal; background: #f0f1e9; border-radius: 7px; margin: 0 auto 5px; width: 28px; padding: 4px }
.selected,.designer .selected { background: #eff6d8; border-color: #c2d298 }
.designer>button { display: block; width: 100%; text-align: left; border-radius: 12px; margin: 5px 0 }
.heat { display: grid; grid-template-columns: 1fr 1fr; gap: 5px }
.heat div { padding: 8px; font-size: 12px }
.heat b { float: right }
.scatter { height: 145px; width: 100%; background: repeating-linear-gradient(0deg,transparent 0 29px,#eee 30px) }
#results { display: grid; gap: 6px; margin-top: 9px }
#results button { text-align: left }
@media(max-width:1030px){
.panel { padding: 15px }
.report-layout { grid-template-columns: 165px 1fr }
.chart-picker { grid-template-columns: repeat(2,1fr) }
.analytics-bottom { grid-template-columns: repeat(2,1fr) }}
@media(max-width:730px){
.analytics-top,.analytics-bottom,.report-layout { grid-template-columns: minmax(0,1fr) }
.report-grid { grid-template-columns: minmax(0,1fr) }
.chart-picker { grid-template-columns: repeat(4,1fr) }
.pipeline { grid-template-columns: repeat(5,200px) }
.lane { min-height: 390px }
.head { gap: 8px }
.head h1 { font-size: 30px }
.axis { font-size: 8px }}@media print{
.actions,.head button,.panelhead button { display: none }
.panel { break-inside: avoid }}
.week-matrix { display: grid; grid-template-columns: minmax(52px,1.3fr) repeat(4,1fr); gap: 5px; align-items: center; margin: 18px 0; font-size: 11px }
.week-matrix small,.week-matrix i { text-align: center }
.week-matrix i { padding: 4px; border-radius: 2px; font: 10px "Segoe UI" }

:root {
  color-scheme: light;
  font: 15px/1.45 "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  color: #15131a;
  --ink: #15131a;
  --muted: #625e6a;
  --line: #eae8ef;
  --lime: #d2ff58;
  --paper: white;
  --violet: #7040f5;
  --frame: #f6f6f7;
  --surround: #10052e;
}
body { margin: 0; }
[hidden] { display: none !important; }
.crm-workspace {
  min-height: 100vh;
  margin: 0;
  padding: clamp(16px, 6.65vh, 75px) clamp(14px, 5vw, 76px);
  background: var(--surround);
}
.workspace-frame {
  width: 100%;
  max-width: 1680px;
  min-height: calc(100vh - 2 * clamp(16px, 6.65vh, 75px));
  margin-inline: auto;
  padding: clamp(10px, 1.24vw, 19px);
  border-radius: clamp(20px, 2.1vw, 32px);
  background: var(--frame);
}
.workspace-header {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr);
  align-items: center;
  gap: 12px;
  min-height: clamp(58px, 4.5vw, 68px);
  padding: 9px 12px;
  border-radius: 24px;
  background: white;
}
.wordmark {
  position: relative;
  display: block;
  width: clamp(106px, 8.5vw, 132px);
  height: 36px;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: white;
}
.wordmark img { position: absolute; width: 133.5%; max-width: none; top: 50%; left: -14.8%; transform: translateY(-52%); }
.wordmark:hover { filter: none; }
#primary-nav, .section-nav, #workspace-tools { display: flex; align-items: center; gap: 7px; }
#primary-nav button, .section-nav button {
  border: 1px solid #eeedf1;
  border-radius: 999px;
  background: white;
  color: #48444d;
  font-size: clamp(13px, 1.02vw, 16px);
  font-weight: 440;
  line-height: 1.2;
  white-space: nowrap;
  padding: .79em clamp(14px, 1.4vw, 23px);
}
#primary-nav button:hover, .section-nav button:hover, .tool-icon:hover { background: #f4f0ff; filter: none; }
#primary-nav button[aria-current="page"] { background: var(--violet); color: white; border-color: #6231eb; }
#workspace-tools { justify-self: end; }
.tool-icon, .account-avatar {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: clamp(36px, 3.05vw, 46px);
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f7f7f9;
  color: #15131a;
  cursor: pointer;
}
.tool-icon svg { width: 49%; height: 49%; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.tool-icon[aria-current="page"] { background: #ebe4ff; color: #5827dc; }
.notification-anchor { position: relative; }
.notification-count { position: absolute; top: -5px; right: -5px; display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border: 2px solid white; border-radius: 999px; background: #d92d20; color: white; font-size: 10px; font-weight: 700; line-height: 1; }
.notification-count[hidden],.notification-card[hidden] { display: none; }
.notification-card { display: flex; flex-direction: column; position: absolute; top: calc(100% + 13px); right: 0; z-index: 10; width: min(390px, calc(100vw - 48px)); max-height: min(70vh, 560px); overflow: hidden; border: 1px solid #e8e4ef; border-radius: 18px; background: white; box-shadow: 0 16px 48px #1d0a4226; color: #191721; }
.notification-card-head { flex: none; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 17px 18px 12px; border-bottom: 1px solid #efedf3; }
.notification-card-head h2 { margin: 0; font-size: 17px; }
.notification-card-head p { margin: 4px 0 0; color: #696571; font-size: 12px; }
.notification-card-head button { padding: 5px 9px; border: 1px solid #e8e4ef; border-radius: 999px; background: white; color: #4b467e; font-size: 11px; }
.notification-list { min-height: 0; overscroll-behavior: contain; max-height: min(55vh, 430px); overflow-y: auto; padding: 0 18px; }
.notification-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid #efedf3; }
.notification-item:last-child { border-bottom: 0; }
.notification-item-copy { min-width: 0; }
.notification-item-label { display: block; margin-bottom: 4px; color: #b42318; font-size: 10px; font-weight: 650; }
.notification-task-link { display: block; max-width: 100%; padding: 0; border: 0; background: transparent; color: #5030b4; font-size: 13px; font-weight: 650; text-align: left; overflow-wrap: anywhere; }
.notification-task-link:hover { background: transparent; text-decoration: underline; }
.notification-item-copy p { overflow-wrap: anywhere; margin: 3px 0 0; color: #696571; font-size: 11px; }
.notification-item.is-read .notification-item-label { color: #77727f; }
.notification-mark-read { flex: none; padding: 6px 9px; border: 1px solid #e3dcf4; border-radius: 999px; background: #f7f4ff; color: #5030b4; font-size: 10px; }
.notification-mark-read:disabled { opacity: .6; cursor: wait; }
.notification-read-state { flex: none; color: #696571; font-size: 11px; }
.notification-error { padding: 0 18px; color: #b42318; font-size: 12px; }
.notification-error:empty { display: none; }
.account-menu { position: relative; }
.account-avatar { border: 3px solid white; outline: 1px solid #e6e2ed; background: #e7ddff; color: #4a288e; font-size: 14px; font-weight: 620; }
.account-avatar::-webkit-details-marker { display: none; }
.account-sheet {
  position: absolute; top: calc(100% + 9px); right: 0; width: 212px;
  padding: 7px; background: white; border: 1px solid var(--line); border-radius: 17px;
  box-shadow: 0 12px 40px #1d0a421c;
}
.account-identity { margin: 3px 4px 4px; padding: 5px 6px 10px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.account-identity small { display: block; color: var(--muted); }
.account-sheet :is(button, a) { display: block; width: 100%; padding: 8px 11px; border: 0; border-radius: 10px; background: white; font: inherit; text-align: left; color: var(--ink); text-decoration: none; }
.account-sheet :is(button, a):hover { background: #f3efff; filter: none; }
#section-tools { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.section-nav { flex-wrap: wrap; gap: 3px; padding: 4px; border-radius: 20px; background: white; }
.section-nav button { font-size: 13px; padding: 7px 13px; border-color: transparent; }
.section-nav button[aria-current="page"] { color: #4f2ab5; background: #eee9ff; }
.section-period { display: flex; align-items: center; gap: 8px; margin: 0 0 0 auto; color: var(--muted); font-size: 13px; }
.section-period select { width: auto; margin: 0; padding: 6px 10px; border-radius: 20px; border-color: var(--line); }
#view { min-width: 0; margin: 0; padding: 0; }
#view[data-page="Dashboard"], .workspace-message, #view:not([data-page]) > .panel { margin-top: clamp(8px, .8vw, 12px); }
#view:focus { outline: none; }
.workspace-message { padding: 34px; background: white; border-radius: 21px; color: var(--muted); }
.skip-link { position: absolute; top: 4px; left: 5%; padding: 7px 14px; border-radius: 100px; background: white; z-index: 5; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.workspace-header :focus-visible, .section-nav :focus-visible { outline: 3px solid #7141e9; outline-offset: 2px; }
@media (max-width: 1150px) {
  .crm-workspace { padding: clamp(24px, 6.65vh, 75px) clamp(18px, 5vw, 76px); }
  .workspace-frame { min-height: calc(100vh - clamp(48px, 13.3vh, 150px)); }
  .workspace-frame { padding-block: clamp(10px, 1.1vw, 19px); }
  #primary-nav { gap: 4px; }
  #primary-nav button { padding-inline: 12px; }
}
@media (max-width: 1100px) and (min-width: 901px) {
  .workspace-header { min-height: 50px; padding-block: 6px; }
}
@media (max-width: 850px) {
  .crm-workspace { padding: 10px; }
  .workspace-frame { min-height: calc(100vh - 20px); }
  .notification-card { position: fixed; inset: max(12px, env(safe-area-inset-top)) 12px auto; width: auto; max-height: calc(100vh - 24px); max-height: calc(100dvh - max(12px, env(safe-area-inset-top)) - max(12px, env(safe-area-inset-bottom))); }
  .notification-list { max-height: none; }
  .notification-item { flex-wrap: wrap; }
  .notification-item-copy { flex: 1 1 160px; }
  .notification-card-head button, .notification-mark-read { min-height: 44px; }
  .workspace-header { grid-template-columns: 1fr auto; gap: 7px; padding: 9px; border-radius: 18px; }
  #primary-nav { grid-area: 2 / 1 / 3 / 3; overflow-x: auto; padding: 3px; scrollbar-width: thin; }
  #primary-nav:empty { display: none; }
  #workspace-tools { grid-area: 1 / 2; }
  #primary-nav button { flex: 1 0 auto; }
  .tool-icon, .account-avatar { width: 38px; }
}
@media (max-width: 450px) {
  .crm-workspace { padding: 6px; }
  .workspace-frame { min-height: calc(100vh - 12px); padding: 6px; border-radius: 19px; }
  #primary-nav button { padding: 8px 12px; }
  .wordmark { width: 105px; }
  #workspace-tools { gap: 4px; }
  #section-tools { padding-inline: 2px; }
}
@media print {
  .crm-workspace, .workspace-frame { padding: 0; min-height: 0; background: white; }
  .workspace-header, #section-tools, .skip-link, #toast { display: none; }
}

html { scrollbar-gutter: stable; }
#section-tools { min-height:52px; }
@media(min-width:851px){.workspace-header { grid-template-columns: minmax(110px,1fr) auto minmax(150px,1fr); }}
.assignee-options { display:flex; flex-wrap:wrap; gap:8px; padding:10px 0; }
.assignee-options label { display:flex; align-items:center; gap:8px; border:1px solid #e8e1f5; border-radius:12px; padding:9px 12px; }
.assignee-options input { width:18px; height:18px; margin:0; accent-color:#7143f1; }

.profile-photo{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}.member-identity{display:inline-flex;align-items:center;gap:10px}.member-identity .avatar{display:inline-grid;place-items:center;width:34px;height:34px;flex:none;overflow:hidden}.photo-editor .photo-preview{display:grid;place-items:center;width:96px;height:96px;border-radius:50%;overflow:hidden;margin:18px auto;font-size:30px}.photo-editor p{color:#766b83;font-size:13px}#account-initials{overflow:hidden}.dash-greeting-mark{overflow:hidden}

#account-initials{display:grid;place-items:center;width:100%;height:100%;border-radius:50%}
/* Center section tabs independently of the optional period control. */
#section-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
}
#section-tools .section-nav {
  grid-column: 2;
  justify-content: center;
  justify-self: center;
  max-width: 100%;
}
#section-tools .section-period {
  grid-column: 3;
  justify-self: end;
  margin: 0;
}
@media (max-width: 850px) {
  #section-tools { grid-template-columns: minmax(0, 1fr); }
  #section-tools .section-nav { grid-column: 1; }
  #section-tools .section-period { grid-column: 1; justify-self: end; }
}
