@charset "UTF-8";

:root {
  color-scheme: light;
  --canvas: #f5f6f8;
  --paper: #fff;
  --ink: #26282f;
  --muted: #646872;
  --line: #e2e4e9;
  --red: #bd3040;
  --rose: #fce9eb;
  --curve: cubic-bezier(.22,1,.36,1);
  font-family: "Yu Gothic UI","Hiragino Kaku Gothic ProN","Meiryo",sans-serif;
  color: var(--ink);
  background: var(--canvas);
  scroll-behavior: smooth;
  scroll-padding-top: 24px
}

* {
  box-sizing: border-box
}

body {
  margin: 0;
  line-height: 1.65
}

button,input {
  font: inherit
}

button,a,input {
  -webkit-tap-highlight-color: transparent
}

button,a {
  touch-action: manipulation
}

button {
  cursor: pointer
}

a {
  color: inherit;
  text-decoration: none
}

button {
  color: inherit
}

button:disabled {
  cursor: default
}

button,[type=search],[type=text] {
  border: 0
}

h1,h2,h3,p {
  margin: 0
}

button:focus-visible,a:focus-visible,input:focus-visible {
  outline: 3px solid #315db8;
  outline-offset: 5px
}

main:focus {
  outline: none
}

[hidden] {
  display: none!important
}

.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  vertical-align: middle
}

.icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden
}

.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
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  transform: translateY(-160%)
}

.skip-link:focus {
  transform: translateY(0)
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 232px;
  background: var(--paper);
  border-right: 1px solid var(--line);
  padding: 35px 22px 24px;
  display: flex;
  flex-direction: column;
  z-index: 2
}

.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 0 3px
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 15px 15px 15px 4px;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: "Yu Mincho",serif;
  font-size: 26px;
  font-weight: 700
}

.brand-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap
}

.brand-name small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .05em;
  color: var(--muted);
  margin-top: 1px
}

.navigation {
  display: grid;
  gap: 9px;
  margin-top: 54px
}

.navigation a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 11px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 10px;
  transition: background .2s,color .2s
}

.navigation .icon {
  width: 19px;
  height: 19px
}

.navigation .nav-home {
  background: var(--rose);
  color: var(--red)
}

.navigation a:hover {
  background: #f0f1f5;
  color: var(--ink)
}

.sidebar-bottom {
  margin-top: auto;
  padding: 24px 11px 0
}

.staff-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted)
}

.staff-label>span {
  width: 6px;
  height: 6px;
  background: #687f6d;
  border-radius: 50%
}

.motion-toggle {
  background: transparent;
  padding: 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  color: var(--muted);
  margin-top: 16px
}

.motion-dots {
  display: flex;
  gap: 3px;
  align-items: center;
  height: 18px
}

.motion-dots i {
  display: block;
  width: 3px;
  height: 11px;
  background: currentColor;
  border-radius: 2px
}

.motion-dots i:nth-child(2) {
  height: 17px
}

.motion-toggle[aria-pressed=true] {
  color: var(--red)
}

.motion-toggle[aria-pressed=true] .motion-dots i {
  height: 4px
}

.motion-help {
  font-size: 10px;
  max-width: 160px;
  color: var(--muted)
}

main {
  margin-left: 232px;
  max-width: 1500px;
  padding: 29px 48px 0
}

.topline {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line)
}

.topline>span {
  font-weight: 600;
  color: var(--ink)
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 33px 0 34px;
  min-height: 175px
}

.page-header h1 {
  font-size: clamp(30px,3vw,44px);
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: .04em
}

.title-dot {
  color: var(--red);
  margin-left: 3px
}

.page-header p {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted)
}

.paper-emblem {
  position: relative;
  width: 150px;
  height: 110px;
  flex: none;
  margin: 0 30px 0 10px
}

.paper {
  position: absolute;
  left: 44px;
  top: 12px;
  width: 65px;
  height: 90px;
  border: 1px solid #dcdfe5;
  border-radius: 5px 5px 12px 5px;
  background: #fff;
  transform-origin: 50% 100%
}

.paper-back {
  background: #e9edef;
  transform: rotate(-24deg)
}

.paper-middle {
  background: #f2d5da;
  transform: rotate(20deg);
  border-color: #ebc5cc
}

.paper-front {
  display: grid;
  place-items: center;
  transform: rotate(-3deg)
}

.paper-front>span {
  font-family: "Yu Mincho","Hiragino Mincho ProN",serif;
  font-weight: 700;
  color: var(--red);
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: .09em
}

.spark {
  position: absolute;
  background: var(--red);
  width: 9px;
  height: 9px;
  clip-path: polygon(50% 0,65% 35%,100% 50%,65% 65%,50% 100%,35% 65%,0 50%,35% 35%)
}

.spark-one {
  left: 12px;
  top: 17px
}

.spark-two {
  right: 0;
  bottom: 15px;
  width: 15px;
  height: 15px
}

.priority-grid {
  display: grid;
  grid-template-columns: minmax(0,1.5fr) minmax(290px,1fr);
  gap: 24px
}

.accounting {
  position: relative;
  border-radius: 20px;
  background: var(--rose);
  padding: 27px 30px 18px;
  overflow: hidden;
  isolation: isolate;
  scroll-margin-top: 24px
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
  color: #9f3040
}

.section-kicker .icon {
  width: 19px;
  height: 19px
}

.accounting h2 {
  font-size: 27px;
  line-height: 1.45;
  letter-spacing: .035em;
  margin: 18px 0 10px;
  position: relative;
  z-index: 1
}

.accounting>p:not(.action-status) {
  font-size: 12px;
  color: #72545c;
  max-width: 75%
}

.accounting-link {
  position: relative;
  z-index: 1;
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 22px;
  background: var(--red);
  color: white;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  overflow: hidden;
  isolation: isolate;
  transition: background .2s
}

.accounting-link:before {
  content: "";
  position: absolute;
  inset: 0;
  background: #a92334;
  transform: translateX(-102%);
  transition: transform .4s var(--curve);
  z-index: -1
}

.accounting-link:hover:before,.accounting-link:focus-visible:before {
  transform: translateX(0)
}

.accounting-link .icon {
  transition: transform .4s var(--curve)
}

.accounting-link:hover .icon {
  transform: translate(3px,-3px)
}

.accounting-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #72545c;
  position: relative;
  z-index: 1;
  margin-top: 4px;
  min-height: 44px
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0;
  background: transparent;
  font-size: 11px
}

.text-button:hover {
  text-decoration: underline
}

.text-button .icon {
  width: 14px;
  height: 14px
}

.action-status {
  color: #78313b;
  font-size: 11px;
  min-height: 0
}

.action-status:not(:empty) {
  margin-top: 4px
}

.receipt-art {
  position: absolute;
  z-index: 0;
  right: 34px;
  top: 31px;
  width: 77px;
  height: 105px;
  transform: rotate(9deg);
  border-radius: 7px 7px 0 0;
  background: rgba(255,255,255,.72);
  padding: 10px 15px;
  clip-path: polygon(0 0,100% 0,100% 100%,87.5% 95%,75% 100%,62.5% 95%,50% 100%,37.5% 95%,25% 100%,12.5% 95%,0 100%);
  color: #d4939c
}

.receipt-art>span {
  font-size: 25px;
  font-family: Georgia,serif
}

.receipt-art>i {
  display: block;
  height: 3px;
  margin-top: 8px;
  background: #e9c8ce;
  border-radius: 2px
}

.receipt-art>i:nth-of-type(2) {
  width: 70%
}

.receipt-art>b {
  position: absolute;
  right: 6px;
  top: 11px;
  border: 1px solid #d4939c;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  display: grid;
  place-items: center
}

.receipt-art .icon {
  width: 16px;
  height: 16px
}

#accounting-url-wrap {
  position: relative;
  z-index: 1;
  font-size: 11px;
  margin: 8px 0
}

#accounting-url {
  width: 100%;
  background: #fff;
  margin-top: 6px;
  padding: 10px;
  border-radius: 6px;
  font-size: 12px
}

.checklist {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 25px 25px 20px
}

.check-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px
}

.checklist h2 {
  font-size: 17px
}

.check-heading>span {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap
}

.section-description {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px
}

.checklist progress {
  width: 100%;
  height: 4px;
  border: 0;
  background: #edf0ed;
  display: block;
  margin-top: 16px;
  border-radius: 4px;
  overflow: hidden;
  accent-color: #647969
}

.checklist progress::-webkit-progress-bar {
  background: #edf0ed
}

.checklist progress::-webkit-progress-value {
  background: #647969;
  transition: width .4s var(--curve)
}

.checklist progress::-moz-progress-bar {
  background: #647969
}

.check-items {
  margin-top: 9px;
  display: grid
}

.check-items label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  font-size: 12px;
  cursor: pointer
}

.check-items input {
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 20px;
  margin: 0;
  transform: translateY(-50%);
  opacity: 0
}

.check-box {
  width: 20px;
  height: 20px;
  border: 1px solid #cdd1d7;
  border-radius: 6px;
  display: grid;
  place-items: center;
  flex: none;
  transition: background .2s,border-color .2s
}

.check-box .icon {
  width: 14px;
  height: 14px;
  stroke-width: 2;
  stroke-dasharray: 22;
  stroke-dashoffset: 22;
  transition: stroke-dashoffset .3s var(--curve)
}

.check-items input:checked+.check-box {
  background: #5c7564;
  border-color: #5c7564;
  color: white
}

.check-items input:checked+.check-box .icon {
  stroke-dashoffset: 0
}

.check-items input:checked~span:last-child {
  color: #747b76;
  text-decoration: line-through
}

.check-items input:focus-visible+.check-box {
  outline: 3px solid #315db8;
  outline-offset: 3px
}

.check-items input:disabled~span {
  opacity: .6
}

.local-note {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.7;
  border-top: 1px solid #eef0f3;
  padding-top: 11px;
  margin-top: 8px
}

.storage-status {
  font-size: 11px;
  color: #a12738
}

.storage-status:not(:empty) {
  margin-top: 10px
}

.tools-section {
  padding-top: 40px
}

.tools-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px
}

.tools-heading h2 {
  font-size: 20px;
  letter-spacing: .035em
}

.external-note {
  font-size: 10px;
  white-space: nowrap;
  color: var(--muted)
}

.external-note .icon {
  width: 13px;
  height: 13px;
  margin-left: 4px
}

.tool-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 23px
}

.filters {
  display: inline-flex;
  gap: 3px;
  padding: 4px;
  background: #e9ebef;
  border-radius: 10px
}

.filters button {
  min-height: 38px;
  padding: 6px 19px;
  border-radius: 7px;
  font-size: 12px;
  background: transparent;
  color: #5c626d;
  transition: background .2s,color .2s,box-shadow .2s
}

.filters button[aria-pressed=true] {
  background: white;
  color: var(--ink);
  box-shadow: 0 2px 5px #2d34410b;
  font-weight: 700
}

.filters button:hover {
  color: var(--red)
}

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #dce0e6;
  background: white;
  border-radius: 10px;
  padding: 0 12px;
  max-width: 270px;
  min-width: 150px
}

.search>.icon {
  width: 17px;
  height: 17px;
  color: var(--muted)
}

.search input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px 0;
  background: transparent;
  font-size: 12px;
  outline-offset: 1px
}

.search input::-webkit-search-cancel-button {
  -webkit-appearance: none
}

.search input::placeholder {
  color: #737983
}

.search button {
  padding: 0;
  width: 28px;
  min-height: 36px;
  background: transparent;
  font-size: 20px;
  color: var(--muted)
}

.search-status {
  font-size: 10px;
  color: var(--muted);
  margin: 12px 0 10px
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 14px;
  margin-top: 18px
}

.js-ready .tool-grid {
  margin-top: 0
}

.tool-card {
  min-width: 0
}

.tool-card>a {
  display: block;
  position: relative;
  height: 100%;
  padding: 20px 18px 17px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 13px;
  transition: border-color .25s,background .25s;
  overflow: hidden
}

.tool-card>a:hover,.tool-card>a:focus-visible {
  border-color: #c9a1aa;
  background: #fffafb
}

.tool-icon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  margin-bottom: 18px
}

.tool-icon .icon {
  width: 21px;
  height: 21px
}

.sage {
  background: #e8efea;
  color: #4b6a57
}

.blue {
  background: #e9eff8;
  color: #506d9b
}

.amber {
  background: #f8efdf;
  color: #8b6931
}

.lilac {
  background: #eeebf6;
  color: #776093
}

.rose {
  background: #f9e8ec;
  color: #ac5164
}

.neutral {
  background: #edf0f2;
  color: #697783
}

.tool-category {
  position: absolute;
  top: 29px;
  right: 18px;
  font-size: 9px;
  color: var(--muted)
}

.tool-card h3 {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
  margin-bottom: 7px
}

.tool-card p {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.7;
  padding-right: 10px
}

.tool-domain {
  display: block;
  font-size: 9px;
  color: #777c85;
  margin-top: 20px;
  padding-right: 13px;
  overflow-wrap: anywhere
}

.tool-arrow {
  position: absolute;
  bottom: 17px;
  right: 14px;
  width: 15px;
  height: 15px;
  color: #828791;
  transition: transform .35s var(--curve),color .2s
}

.tool-card>a:hover .tool-arrow {
  transform: translate(2px,-2px);
  color: var(--red)
}

.tool-card>a:hover .tool-icon .icon {
  animation: icon-nod .45s var(--curve)
}

.small-tag {
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
  padding: 2px 5px;
  background: #f1f2f5;
  border-radius: 4px;
  vertical-align: middle;
  margin-left: 4px
}

.empty-results {
  text-align: center;
  padding: 44px 20px;
  background: white;
  border: 1px dashed #ccd0d8;
  border-radius: 14px
}

.empty-results>.icon {
  color: var(--muted);
  margin-bottom: 12px
}

.empty-results h3 {
  font-size: 16px
}

.empty-results p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px
}

.reset-button {
  background: var(--rose);
  color: var(--red);
  font-size: 12px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 8px;
  margin-top: 16px
}

.account-note {
  font-size: 10px;
  color: var(--muted);
  margin-top: 18px
}

footer {
  margin-top: 37px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 20px;
  font-size: 10px;
  color: var(--muted);
  align-items: center
}

.footer-brand {
  font-size: 12px;
  font-weight: 700;
  color: #515762
}

footer a {
  margin-left: auto;
  min-height: 44px;
  display: flex;
  align-items: center
}

footer a:hover {
  color: var(--red)
}

/* One brief paper-opening sequence; interactions remain available throughout. */
@media(prefers-reduced-motion:no-preference) {
  html:not(.motion-off) .paper-back {
    animation: paper-back-open .9s var(--curve) both
  }

  html:not(.motion-off) .paper-middle {
    animation: paper-middle-open .9s .08s var(--curve) both
  }

  html:not(.motion-off) .paper-front {
    animation: paper-front-open .8s .12s var(--curve) both
  }

  html:not(.motion-off) .spark {
    animation: spark-open .65s .35s var(--curve) both
  }

  html:not(.motion-off) .title-dot {
    display: inline-block;
    animation: dot-land .7s .12s var(--curve) both
  }
}

@keyframes paper-back-open {
  from {
    transform: rotate(0) translateY(8px);
    opacity: 0
  }

  to {
    transform: rotate(-24deg);
    opacity: 1
  }
}

@keyframes paper-middle-open {
  from {
    transform: rotate(0) translateY(8px);
    opacity: 0
  }

  to {
    transform: rotate(20deg);
    opacity: 1
  }
}

@keyframes paper-front-open {
  from {
    transform: rotate(9deg) translateY(6px);
    opacity: 0
  }

  to {
    transform: rotate(-3deg);
    opacity: 1
  }
}

@keyframes spark-open {
  from {
    transform: scale(0) rotate(-90deg)
  }

  to {
    transform: scale(1) rotate(0)
  }
}

@keyframes dot-land {
  0% {
    transform: translateY(-12px);
    opacity: 0
  }

  65% {
    transform: translateY(3px);
    opacity: 1
  }

  100% {
    transform: translateY(0);
    opacity: 1
  }
}

@keyframes icon-nod {
  0%,100% {
    transform: rotate(0)
  }

  45% {
    transform: rotate(-9deg)
  }
}

.motion-off {
  scroll-behavior: auto
}

.motion-off *,.motion-off *:before,.motion-off *:after {
  animation: none!important;
  transition: none!important
}

@media(min-width:1700px) {
  main {
    margin-right: auto;
    margin-left: max(232px,calc((100vw - 1268px)/2));
    max-width: 1268px
  }
}

@media(max-width:1200px) {
  .sidebar {
    width: 208px;
    padding-inline: 15px
  }

  main {
    margin-left: 208px;
    padding-inline: 30px
  }

  .tool-grid {
    grid-template-columns: repeat(2,minmax(0,1fr))
  }

  .priority-grid {
    grid-template-columns: minmax(0,1.2fr) minmax(270px,1fr);
    gap: 18px
  }

  .accounting {
    padding: 24px
  }

  .receipt-art {
    right: 23px;
    width: 60px;
    height: 85px;
    top: 24px;
    opacity: .7
  }

  .checklist {
    padding: 23px 20px
  }

  .accounting h2 {
    font-size: 24px
  }

  .paper-emblem {
    margin-right: 5px
  }
}

@media(max-width:960px) {
  .sidebar {
    position: static;
    width: 100%;
    padding: 17px 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0 20px
  }

  .brand-mark {
    width: 37px;
    height: 37px;
    font-size: 23px;
    border-radius: 12px 12px 12px 4px
  }

  .brand-name {
    font-size: 16px
  }

  .brand-name small {
    font-size: 9px
  }

  .navigation {
    display: flex;
    grid-column: 1/-1;
    grid-row: 2;
    margin-top: 18px;
    gap: 7px;
    padding-bottom: 12px;
    overflow-x: auto
  }

  .navigation a {
    white-space: nowrap;
    min-height: 44px;
    padding: 10px 12px;
    font-size: 11px
  }

  .sidebar-bottom {
    margin: 0;
    padding: 0;
    align-self: center
  }

  .staff-label,.motion-help {
    display: none
  }

  .motion-toggle {
    margin: 0;
    font-size: 10px
  }

  main {
    margin-left: 0;
    padding: 24px 30px 0
  }

  .page-header {
    padding: 26px 0 29px;
    min-height: 155px
  }

  .priority-grid {
    grid-template-columns: minmax(0,1.4fr) minmax(275px,1fr)
  }

  .receipt-art {
    width: 70px;
    height: 95px;
    right: 28px;
    top: 25px
  }

  .accounting {
    padding: 27px
  }

  .tool-grid {
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 12px
  }

  .tool-card>a {
    padding: 17px 13px
  }

  .tool-category {
    right: 13px;
    top: 25px;
    font-size: 8px
  }

  .tool-card h3 {
    font-size: 12px
  }

  .tool-card p {
    font-size: 10px
  }

  .tool-domain {
    font-size: 8px
  }

  .external-note {
    font-size: 9px
  }

  .tool-icon {
    width: 34px;
    height: 34px
  }
}

@media(max-width:760px) {
  main {
    padding-inline: 24px
  }

  .priority-grid {
    grid-template-columns: 1fr
  }

  .accounting {
    padding: 26px 27px 17px
  }

  .accounting h2 {
    font-size: 27px
  }

  .accounting-link {
    margin-top: 24px
  }

  .receipt-art {
    right: 39px;
    top: 31px;
    width: 84px;
    height: 115px;
    opacity: 1
  }

  .checklist {
    padding: 23px 25px
  }

  .check-items {
    grid-template-columns: 1fr 1fr;
    gap: 1px 16px
  }

  .check-items label {
    font-size: 11px;
    min-height: 44px
  }

  .local-note br {
    display: none
  }

  .tools-section {
    padding-top: 30px
  }

  .tool-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 13px
  }

  .tool-card>a {
    padding: 19px 17px
  }

  .tool-category {
    right: 17px;
    top: 27px;
    font-size: 9px
  }

  .tool-card h3 {
    font-size: 14px
  }

  .tool-domain {
    font-size: 9px
  }

  .tool-icon {
    width: 38px;
    height: 38px
  }

  .external-note {
    display: none
  }

  .tool-controls {
    gap: 10px
  }

  .filters button {
    padding-inline: 14px
  }

  .search {
    max-width: 210px
  }

  .page-header h1 {
    font-size: 35px
  }

  .paper-emblem {
    transform: scale(.85);
    transform-origin: right center;
    margin-left: 0;
    margin-right: 0;
    width: 130px
  }

  .page-header p {
    font-size: 12px
  }
}

@media(max-width:520px) {
  :root {
    scroll-padding-top: 16px
  }

  .sidebar {
    padding: 16px 17px 0;
    gap: 0 10px
  }

  .navigation {
    margin-top: 14px;
    gap: 3px
  }

  .navigation a {
    padding: 9px 11px;
    font-size: 10px;
    gap: 7px
  }

  .navigation .icon {
    width: 16px;
    height: 16px
  }

  .brand {
    gap: 9px
  }

  .brand-name {
    font-size: 14px
  }

  .brand-name small {
    font-size: 8px
  }

  .motion-toggle {
    font-size: 9px;
    gap: 6px
  }

  .motion-dots {
    gap: 2px
  }

  .topline {
    font-size: 10px;
    padding-bottom: 17px
  }

  main {
    padding: 19px 18px 0
  }

  .page-header {
    gap: 0;
    padding: 20px 0 22px;
    min-height: 133px
  }

  .page-header h1 {
    font-size: 31px
  }

  .page-header p {
    font-size: 10px;
    max-width: 210px;
    line-height: 1.9
  }

  .paper-emblem {
    width: 85px;
    height: 95px;
    transform: scale(.68);
    margin-left: -15px;
    transform-origin: right center
  }

  .paper {
    left: 10px
  }

  .spark-one {
    left: -15px
  }

  .spark-two {
    right: -23px
  }

  .priority-grid {
    gap: 16px
  }

  .accounting {
    padding: 23px 22px 14px;
    border-radius: 17px
  }

  .accounting h2 {
    font-size: 25px;
    margin-top: 16px
  }

  .accounting>p:not(.action-status) {
    font-size: 11px;
    max-width: 76%
  }

  .section-kicker {
    font-size: 11px
  }

  .receipt-art {
    right: 19px;
    top: 27px;
    width: 63px;
    height: 91px;
    opacity: .7;
    padding: 10px
  }

  .accounting-link {
    padding: 16px 18px;
    font-size: 14px
  }

  .checklist {
    padding: 22px;
    border-radius: 17px
  }

  .checklist h2 {
    font-size: 16px
  }

  .check-items {
    grid-template-columns: 1fr
  }

  .check-items label {
    font-size: 12px;
    min-height: 44px
  }

  .local-note {
    font-size: 10px
  }

  .tools-heading h2 {
    font-size: 18px
  }

  .section-description {
    font-size: 11px
  }

  .tool-controls {
    flex-direction: column;
    align-items: stretch;
    margin-top: 19px;
    gap: 12px
  }

  .filters {
    align-self: flex-start
  }

  .filters button {
    padding-inline: 18px;
    min-height: 38px
  }

  .search {
    max-width: none
  }

  .search input {
    min-height: 44px
  }

  .tool-grid {
    gap: 11px
  }

  .tool-card>a {
    padding: 17px 14px;
    border-radius: 12px
  }

  .tool-category {
    font-size: 8px;
    right: 12px;
    top: 25px
  }

  .tool-card h3 {
    font-size: 13px
  }

  .tool-card p {
    font-size: 10px;
    padding-right: 0
  }

  .tool-domain {
    font-size: 8px;
    margin-top: 17px;
    padding-right: 8px
  }

  .tool-arrow {
    width: 12px;
    height: 12px;
    right: 9px
  }

  .tool-icon {
    width: 33px;
    height: 33px;
    margin-bottom: 16px
  }

  .tool-icon .icon {
    width: 19px;
    height: 19px
  }

  .small-tag {
    font-size: 9px;
    margin-left: 1px;
    padding: 2px 4px
  }

  .account-note {
    font-size: 10px
  }

  footer {
    flex-wrap: wrap;
    gap: 7px 13px;
    margin-top: 26px;
    font-size: 9px;
    padding-top: 20px
  }

  .footer-brand {
    font-size: 11px
  }

  footer a {
    margin-left: auto
  }

  .search-status {
    font-size: 10px
  }
}

@media(max-width:359px) {
  main {
    padding-inline: 14px
  }

  .sidebar {
    padding-inline: 14px
  }

  .page-header h1 {
    font-size: 28px
  }

  .paper-emblem {
    width: 64px;
    transform: scale(.6);
    margin-right: 8px
  }

  .accounting {
    padding-inline: 19px
  }

  .receipt-art {
    width: 49px;
    right: 18px;
    opacity: .45
  }

  .accounting h2 {
    font-size: 23px
  }

  .accounting>p:not(.action-status) {
    max-width: 85%
  }

  .tool-card>a {
    padding: 15px 11px
  }

  .tool-category {
    font-size: 7px;
    right: 9px
  }

  .tool-card h3 {
    font-size: 12px
  }

  .tool-card p {
    font-size: 9px
  }

  .tool-domain {
    font-size: 7px
  }

  .filters button {
    padding-inline: 16px
  }

  .tools-heading h2 {
    font-size: 17px
  }
}

@media(prefers-reduced-motion:reduce) {
  :root {
    scroll-behavior: auto
  }

  *,*:before,*:after {
    animation: none!important;
    transition: none!important
  }
}

/* Keep operational text readable at both desktop and handheld sizes. */
.paper-front>span {
  font-size: 18px;
  letter-spacing: .03em;
  white-space: nowrap;
  text-align: center
}

.navigation a {
  font-size: 13px
}

.page-header p {
  font-size: 14px
}

.accounting>p:not(.action-status) {
  font-size: 14px
}

.accounting-meta {
  font-size: 12px
}

.text-button {
  font-size: 12px
}

.section-description {
  font-size: 13px
}

.check-items label {
  font-size: 14px;
  min-height: 44px
}

.check-box {
  pointer-events: none
}

.check-items input {
  z-index: 1
}

.local-note {
  font-size: 11px
}

.tool-card h3 {
  font-size: 16px
}

.tool-card p {
  font-size: 12px
}

.tool-domain {
  font-size: 10px
}

.tool-category {
  font-size: 10px
}

.account-note {
  font-size: 12px
}

.search input,.filters button {
  font-size: 13px
}

.filters button {
  min-height: 40px
}

.motion-toggle {
  font-size: 12px
}

.search-status {
  font-size: 11px
}

.external-note {
  font-size: 11px
}

@media(max-width:1200px) {
  .navigation a {
    font-size: 12px
  }

  .check-items label {
    font-size: 13px
  }
}

@media(max-width:960px) {
  .tool-grid {
    grid-template-columns: repeat(2,minmax(0,1fr))
  }

  .navigation {
    min-width: 0
  }

  .navigation a {
    font-size: 12px
  }

  .sidebar-bottom {
    position: relative
  }

  .motion-help:not(:empty) {
    display: block;
    max-width: 180px;
    font-size: 10px
  }

  .tool-category {
    top: 27px
  }

  .check-items label {
    font-size: 13px
  }

  .page-header p {
    font-size: 13px
  }

  .accounting>p:not(.action-status) {
    font-size: 13px
  }

  .external-note {
    display: none
  }
}

@media(max-width:520px) {
  .sidebar {
    grid-template-columns: minmax(0,1fr) auto
  }

  .navigation a {
    font-size: 11px
  }

  .motion-toggle {
    font-size: 10px
  }

  .motion-help:not(:empty) {
    max-width: 110px;
    font-size: 9px
  }

  .page-header p {
    font-size: 12px;
    max-width: 230px
  }

  .accounting>p:not(.action-status) {
    font-size: 12px
  }

  .accounting-meta {
    font-size: 10px
  }

  .text-button {
    font-size: 11px
  }

  .section-description {
    font-size: 12px
  }

  .check-items label {
    font-size: 13px
  }

  .tool-card h3 {
    font-size: 14px
  }

  .tool-card p {
    font-size: 12px
  }

  .tool-category {
    font-size: 9px
  }

  .tool-domain {
    font-size: 10px
  }

  .account-note {
    font-size: 11px
  }

  .filters button {
    font-size: 12px;
    min-height: 40px
  }
}

@media(max-width:359px) {
  .tool-grid {
    grid-template-columns: 1fr
  }

  .tool-card>a {
    padding: 19px
  }

  .tool-card h3 {
    font-size: 16px
  }

  .tool-card p {
    font-size: 13px
  }

  .tool-category {
    top: 27px;
    right: 19px;
    font-size: 10px
  }

  .tool-domain {
    font-size: 11px
  }

  .tool-arrow {
    width: 15px;
    height: 15px;
    right: 16px
  }

  .paper-emblem {
    display: none
  }

  .page-header p {
    max-width: none
  }

  .accounting>p:not(.action-status) {
    max-width: 90%
  }
}

@media print {
  .sidebar,.topline,.paper-emblem,.tool-controls,.search-status,.accounting-meta,footer,.tool-arrow {
    display: none!important
  }

  main {
    margin: 0;
    padding: 0
  }

  .priority-grid {
    grid-template-columns: 1fr 1fr
  }

  .accounting,.checklist,.tool-card {
    break-inside: avoid
  }

  .tool-grid {
    grid-template-columns: repeat(2,1fr)
  }

  .tool-card a {
    border: 1px solid #aaa
  }

  .tool-domain {
    color: #333
  }

  .check-items input {
    opacity: 1
  }

  .check-box {
    visibility: hidden
  }
}
