:root {
  --ink:#24292F;
  --sub:#57606A;
  --note:#7A828C;
  --rule:#D0D5DB;
  --t1:#F5F6F7;
  --t2:#EDEFF2;
  --t3:#E2E5E9;
  --t4:#D3D8DE;
  --paper:#FFFFFF;
  --main:#1D5C8C;
  --main-dark:#164A72;
  --main-bg:#FCF3DA;
  --warn-ink:#A33A52;
  --warn-bg:#F8E5E9;
  --warn-rule:#E0B6C0;
  --hold-ink:#8A6A1E;
  --hold-bg:#F7EEDB;
  --hold-rule:#DFCB9B;
  --info-ink:#22607C;
  --info-bg:#F1F3F5;
  --info-rule:#B7D3E3;
  --ok-ink:#1F6B4D;
  --ok-bg:#E4F1EA;
  --ok-rule:#AFD6C2;
}
* {
  box-sizing: border-box;
}
html {
  color-scheme: light;
}
body {
  margin: 0;
  background: var(--t1);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.9;
  font-family:
    "Hiragino Sans",
    "Hiragino Kaku Gothic ProN",
    "Meiryo",
    "Noto Sans JP",
    sans-serif;
  font-feature-settings: "palt";
}
a {
  color: var(--info-ink);
}
h1 {
  font-size: 26px;
  line-height: 1.4;
  margin: 0 0 14px;
}
h2 {
  font-size: 20px;
  line-height: 1.4;
  margin: 28px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--rule);
}
h3 {
  font-size: 17px;
  margin: 20px 0 8px;
}
p {
  margin: 0 0 12px;
}
.lead {
  color: var(--sub);
}
.note {
  font-size: 14px;
  color: var(--sub);
  background: var(--paper);
  border-left: 3px solid var(--rule);
  padding: 8px 14px;
  margin: 10px 0 16px;
}
.muted {
  color: var(--sub);
}
.mt {
  margin-top: 16px;
}
.h2-plain {
  margin-top: 0;
  border: 0;
}
.small {
  font-size: 14px;
}
.top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 20px;
  background: var(--t3);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 5;
}
.brand {
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  text-decoration: none;
}
.top-sp {
  flex: 1;
}
.who {
  font-size: 15px;
  text-decoration: none;
  color: var(--ink);
}
.who-role {
  margin-left: 0;
}
.who-role {
  display: inline-block;
  margin-left: 6px;
  padding: 0 8px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 12.5px;
  background: var(--paper);
}
.frame {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  min-height: calc(100vh - 54px);
}
.side {
  background: var(--t2);
  border-right: 1px solid var(--rule);
  padding: 12px 0;
  position: sticky;
  top: 54px;
  align-self: start;
  max-height: calc(100vh - 54px);
  overflow: auto;
}
.side a {
  display: block;
  padding: 7px 18px;
  color: var(--ink);
  text-decoration: none;
  border-left: 3px solid transparent;
  font-size: 15.5px;
}
.side a:hover {
  background: var(--t3);
}
.side a.on {
  background: var(--t3);
  border-left-color: var(--ink);
  font-weight: 700;
}
.main {
  padding: 22px 28px 60px;
  max-width: 1080px;
  min-width: 0;
}
.bare {
  background: var(--t1);
}
.bare-main {
  max-width: 460px;
  margin: 8vh auto 40px;
  padding: 28px 28px 32px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 10px;
}
.bare-brand {
  font-size: 22px;
  text-align: center;
  margin: 0 0 18px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 14px 18px;
  margin: 0 0 14px;
}
.card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--sub);
  letter-spacing: .04em;
}
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.row-between {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}
.inline {
  display: inline;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 15px;
  line-height: 1.6;
  background: var(--paper);
  font-variant-numeric: tabular-nums;
}
.tbl {
  overflow-x: auto;
  margin: 0 0 16px;
  border: 1px solid var(--rule);
  border-radius: 8px;
}
.tbl table {
  margin: 0;
}
th,
td {
  border-bottom: 1px solid var(--rule);
  padding: 8px 12px;
  text-align: left;
  vertical-align: top;
}
th {
  background: var(--t2);
  font-weight: 700;
  white-space: nowrap;
}
tr:last-child td {
  border-bottom: 0;
}
td.actions {
  white-space: nowrap;
}
.pill {
  display: inline-block;
  border: 1px solid;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
  white-space: nowrap;
}
.pill-ok {
  color: var(--ok-ink);
  background: var(--ok-bg);
  border-color: var(--ok-rule);
}
.pill-warn {
  color: var(--warn-ink);
  background: var(--warn-bg);
  border-color: var(--warn-rule);
}
.pill-hold {
  color: var(--hold-ink);
  background: var(--hold-bg);
  border-color: var(--hold-rule);
}
.pill-info {
  color: var(--info-ink);
  background: var(--info-bg);
  border-color: var(--info-rule);
}
.pill-g {
  color: var(--ink);
  background: var(--t3);
  border-color: var(--rule);
}
.flash {
  padding: 10px 14px;
  border: 1px solid;
  border-radius: 8px;
  margin: 0 0 16px;
  font-size: 15px;
}
.flash-ok {
  color: var(--ok-ink);
  background: var(--ok-bg);
  border-color: var(--ok-rule);
}
.flash-err {
  color: var(--warn-ink);
  background: var(--warn-bg);
  border-color: var(--warn-rule);
}
.flash-info {
  color: var(--info-ink);
  background: var(--info-bg);
  border-color: var(--info-rule);
}
.btn {
  display: inline-block;
  white-space: nowrap;
  border: 1px solid var(--main);
  background: var(--main);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  padding: 7px 16px;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover {
  background: var(--main-dark);
  border-color: var(--main-dark);
  transform: translateY(-1px);
}
.btn:focus-visible {
  outline: 3px solid var(--info-rule);
  outline-offset: 2px;
}
.btn-sec {
  background: var(--paper);
  border-color: var(--rule);
  color: var(--ink);
}
.btn-sec:hover {
  background: var(--t2);
  border-color: var(--rule);
}
.btn-danger {
  background: var(--warn-bg);
  border-color: var(--warn-rule);
  color: var(--warn-ink);
}
.btn-danger:hover {
  background: #F2D3DA;
  border-color: var(--warn-rule);
}
.btn-sm {
  padding: 3px 10px;
  font-size: 13.5px;
  font-weight: 600;
}
.btn[disabled] {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
}
label {
  display: block;
  font-size: 14px;
  color: var(--sub);
  margin: 0 0 3px;
}
.field {
  margin: 0 0 14px;
}
input[type=text],
input[type=email],
input[type=password],
input[type=date],
input[type=time],
select,
textarea {
  font: inherit;
  font-size: 16px;
  width: 100%;
  max-width: 520px;
  padding: 7px 10px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--info-rule);
  border-color: var(--info-ink);
}
textarea {
  min-height: 110px;
  max-width: none;
}
.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding-left: 12px;
}
.checks label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-size: 15px;
  margin: 0;
}
.form-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0 20px;
}
.dt-grid {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(120px, 160px);
  gap: 0 16px;
}
.dt-grid input {
  max-width: none;
}
.dt-grid.pair {
  grid-template-columns: minmax(120px, 200px) minmax(160px, 260px);
}
.dt-grid.pair select {
  width: 100%;
  max-width: none;
}
@media (max-width: 480px) {
  .dt-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.dev-link {
  word-break: break-all;
  background: var(--hold-bg);
  border: 1px solid var(--hold-rule);
  color: var(--hold-ink);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
}
.kv {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 4px 18px;
  font-size: 15px;
  margin: 0 0 12px;
}
.kv dt {
  color: var(--sub);
}
.kv dd {
  margin: 0;
}
.stub {
  padding: 26px;
  border: 1px dashed var(--rule);
  border-radius: 10px;
  background: var(--paper);
  color: var(--sub);
}
.stub b {
  color: var(--ink);
}
.mt0 {
  margin-top: 0;
}
.has-unread {
  background: var(--hold-bg);
  border-color: var(--hold-rule);
  color: var(--hold-ink);
}
.ntf {
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 8px 14px;
  background: var(--paper);
  margin: 0 0 8px;
  font-size: 15px;
}
.ntf.unread {
  background: var(--t2);
  border-left: 3px solid var(--ink);
}
.ntf .when {
  font-size: 13px;
  color: var(--sub);
}
.ntf-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2px 12px;
}
div.wk {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
}
.wk .dh {
  background: var(--t2);
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  padding: 4px 6px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
.wk .dh.today {
  background: var(--t4);
}
.wk .dc {
  border-right: 1px solid var(--rule);
  min-height: 150px;
  padding: 4px;
  font-size: 12.5px;
  line-height: 1.45;
}
.wk .dc:nth-child(7n),
.wk .dh:nth-child(7n) {
  border-right: 0;
}
.wk .dc.sat,
.wk .dc.sun {
  background: var(--t1);
}
.ev {
  display: block;
  border: 1px solid var(--rule);
  background: var(--t3);
  border-radius: 4px;
  padding: 2px 5px;
  margin: 0 0 3px;
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ev:hover {
  background: var(--t4);
}
.xl {
  background: var(--t1);
}
.bulk {
  background: var(--t1);
  margin: 0 0 14px;
}
.wdays {
  padding-left: 12px;
}
.modes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
  margin: 0 0 10px;
}
.mode {
  display: block;
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 10px 14px;
  background: var(--paper);
  cursor: pointer;
  color: var(--ink);
  font-size: 15px;
}
.mode:has(input:checked) {
  border-color: var(--ink);
  background: var(--t3);
}
.mode input {
  margin-right: 6px;
}
.mode .small {
  display: block;
  margin-top: 2px;
}
.wdays {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
}
.wdays.dim {
  opacity: .45;
}
.mb {
  margin-bottom: 10px;
}
.bottom-actions {
  justify-content: flex-end;
}
.push-right {
  margin-left: auto;
}
.row-between > .row {
  margin-left: auto;
  justify-content: flex-end;
}
.confirm-bar {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 6px 0 0 8px;
  padding: 6px 12px;
  background: var(--warn-bg);
  border: 1px solid var(--warn-rule);
  border-radius: 8px;
  font-size: 14px;
  color: var(--warn-ink);
}
.evw {
  display: flex;
  align-items: flex-start;
  gap: 3px;
  margin: 0 0 3px;
}
.evw .ev {
  flex: 1;
  margin: 0;
}
.evw .sel {
  margin: 3px 0 0;
  flex: 0 0 auto;
}
.ev.off {
  background: var(--warn-bg);
  border-color: var(--warn-rule);
  color: var(--warn-ink);
  font-weight: 700;
}
.ev.allday {
  background: var(--info-bg);
  border-color: var(--info-rule);
  color: var(--info-ink);
}
.ev.rs {
  background: var(--hold-bg);
  border-color: var(--hold-rule);
  color: var(--hold-ink);
}
.ev.rs.pending {
  border-style: dashed;
}
.ev .t {
  font-weight: 700;
  margin-right: 3px;
}
.ev .who {
  color: var(--sub);
  margin-right: 3px;
}
.mo {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
}
.mo .dh {
  background: var(--t2);
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  padding: 3px 6px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
.mo .dc {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  min-height: 96px;
  padding: 3px 4px;
  font-size: 12px;
  line-height: 1.4;
}
.mo .dc:nth-child(7n),
.mo .dh:nth-child(7n) {
  border-right: 0;
}
.mo .dc.other {
  background: var(--t1);
  color: var(--note);
}
.mo .dn {
  font-weight: 700;
  font-size: 12.5px;
}
.mo .mo-line {
  font-size: 11.5px;
  padding: 1px 4px;
  margin: 0 0 2px;
  line-height: 1.4;
}
.mo .mo-line .who {
  color: inherit;
  font-weight: 700;
  margin-right: 4px;
}
.mo .mo-line.off {
  font-weight: 400;
}
.mo .mo-line.off .who {
  font-weight: 700;
}
.mo .mo-line.rs {
  background: var(--paper);
  border-left: 3px solid var(--hold-rule);
}
.mo .mo-line.rs .who {
  font-weight: 400;
}
.sched-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 12px;
}
.sched-bar form {
  display: flex;
  gap: 6px;
  align-items: center;
}
.sched-bar select {
  width: auto;
  max-width: 260px;
  padding: 4px 8px;
  font-size: 14px;
}
.pc-1 {
  background: #E3EEF5 !important;
  color: #22607C !important;
  border-color: #B7D3E3 !important;
  box-shadow: inset 3px 0 0 #22607C;
}
.pc-2 {
  background: #E4F1EA !important;
  color: #1F6B4D !important;
  border-color: #AFD6C2 !important;
  box-shadow: inset 3px 0 0 #1F6B4D;
}
.pc-3 {
  background: #F7EEDB !important;
  color: #8A6A1E !important;
  border-color: #DFCB9B !important;
  box-shadow: inset 3px 0 0 #8A6A1E;
}
.pc-4 {
  background: #F8E5E9 !important;
  color: #A33A52 !important;
  border-color: #E0B6C0 !important;
  box-shadow: inset 3px 0 0 #A33A52;
}
.pc-5 {
  background: #EDE7F6 !important;
  color: #5E4B8B !important;
  border-color: #C9BCE3 !important;
  box-shadow: inset 3px 0 0 #5E4B8B;
}
.pc-6 {
  background: #FBE9DC !important;
  color: #9A5320 !important;
  border-color: #E8C4A6 !important;
  box-shadow: inset 3px 0 0 #9A5320;
}
.pc-7 {
  background: #E0F4F7 !important;
  color: #1C6B78 !important;
  border-color: #A9DCE3 !important;
  box-shadow: inset 3px 0 0 #1C6B78;
}
.pc-8 {
  background: #EEF0F3 !important;
  color: #4A5261 !important;
  border-color: #C7CDD6 !important;
  box-shadow: inset 3px 0 0 #4A5261;
}
.pc-9 {
  background: #EEF5DC !important;
  color: #5A6F1F !important;
  border-color: #CBDB9B !important;
  box-shadow: inset 3px 0 0 #5A6F1F;
}
.pc-10 {
  background: #F0E8E0 !important;
  color: #6B4B2E !important;
  border-color: #D6C2AE !important;
  box-shadow: inset 3px 0 0 #6B4B2E;
}
.chip {
  display: inline-block;
  padding: 0 8px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.7;
  background: var(--paper);
  color: var(--ink);
}
.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fold {
  margin: 0 0 14px;
}
.fold > summary {
  cursor: pointer;
  font-size: 14px;
  color: var(--info-ink);
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.fold > summary::-webkit-details-marker {
  display: none;
}
.fold > summary::before {
  content: "▸";
  font-size: 12px;
  color: var(--sub);
}
.fold[open] > summary::before {
  content: "▾";
}
.fold[open] > summary {
  margin-bottom: 8px;
}
.sw {
  cursor: pointer;
  margin: 0;
}
.sw input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.sw .chip {
  padding: 4px 12px;
  font-size: 14px;
  border-width: 2px;
}
.sw:has(input:checked) .chip {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
}
.rt .gtt {
  min-width: 0;
  width: auto;
}
.rt .gtt th,
.rt .gtt td {
  min-width: 150px;
  max-width: 150px;
  font-size: 12.5px;
}
.rt .gtt .rc {
  display: block;
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 2px 6px;
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.45;
  white-space: normal;
}
.rt .gtt .rc.st-confirmed {
  background: var(--ok-bg);
  border-color: var(--ok-rule);
}
.rt .gtt .rc.st-draft {
  background: var(--t2);
}
.rt .gtt .rc.st-off {
  color: var(--warn-ink);
  border-color: var(--warn-rule);
  text-align: center;
}
.rt .gtt .rc.st-none {
  color: var(--note);
  border-style: dashed;
  text-align: center;
}
.rt .gtt .rc .who {
  display: none;
}
.rt .gtt .rc .cm-mark {
  display: inline-block;
  margin-left: 4px;
  padding: 0 5px;
  border-radius: 3px;
  background: var(--info-bg);
  color: var(--info-ink);
  border: 1px solid var(--info-rule);
  font-size: 12px;
  line-height: 1.5;
  white-space: nowrap;
}
.cm-recent {
  margin: 0 0 12px;
}
.rt .gtt .rc .rc-t {
  display: block;
  font-weight: 700;
}
.report-title {
  margin: 0 0 8px;
  font-size: 17px;
}
.cw-box .cw-row {
  margin: 0 0 4px;
}
.pw-fold {
  margin-top: 16px;
}
.users-tbl td,
.users-tbl th {
  white-space: nowrap;
}
.overdue-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin: 0 0 14px;
  padding: 12px 16px;
  border: 2px solid var(--warn-ink);
  border-left-width: 8px;
  border-radius: 8px;
  background: var(--warn-bg);
  color: var(--warn-ink);
  font-size: 17px;
}
.cm .cm-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 12px;
}
.cm-del {
  margin: 0;
}
.w-pw {
  max-width: 16em;
}
.set-sec {
  padding: 0 0 16px;
  margin: 0 0 16px;
  border-bottom: 1px solid var(--rule);
}
.rep-only {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.rep-only.locked {
  position: relative;
  padding: 10px 12px;
  border-radius: 8px;
  background:
    repeating-linear-gradient(
      135deg,
      var(--t2) 0 6px,
      var(--t3) 6px 12px);
  border: 1px dashed var(--note);
}
.rep-only.locked input,
.rep-only.locked label {
  color: var(--sub);
  cursor: not-allowed;
}
.rep-only.locked input[type=text],
.rep-only.locked input[type=time] {
  background: var(--t2);
}
.lock-note {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--sub);
}
.off-lock.locked {
  opacity: .55;
}
.off-lock.locked input,
.off-lock.locked summary,
.off-lock.locked label {
  cursor: not-allowed;
}
.off-lock.locked input[type=text],
.off-lock.locked input[type=time] {
  background: var(--t2);
  color: var(--sub);
}
.off-note {
  margin: 8px 0 0;
}
.dc[id],
th.gd[id] {
  scroll-margin-top: 70px;
}
th.gd[id] {
  scroll-margin-left: 120px;
}
.set-sec h3 {
  padding: 4px 10px;
  background: var(--t2);
  border-left: 4px solid var(--ink);
  border-radius: 3px;
  margin-bottom: 10px;
}
.chg-mark {
  display: inline-block;
  margin-right: 4px;
  padding: 0 4px;
  border-radius: 3px;
  background: var(--warn-bg);
  color: var(--warn-ink);
  border: 1px solid var(--warn-rule);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
}
.chg-box {
  margin-top: 12px;
}
.chg-box .chg {
  padding: 6px 0;
  border-top: 1px solid var(--rule);
}
.chg-box .chg:first-of-type {
  border-top: 0;
}
.cw-form {
  margin: 10px 0 0;
  padding: 10px 0 0;
  border-top: 1px solid var(--rule);
}
.cm-gt .cm-cell {
  display: block;
}
.cm-gt .cm-one {
  display: block;
  margin: 0 0 3px;
  line-height: 1.45;
}
.cm-gt .cm-one b {
  font-weight: 700;
}
.cm-gt .cm-more {
  display: block;
  font-size: 12px;
  color: var(--sub);
}
.cm-mo .cm-line .cm-n {
  font-weight: 700;
}
.cm-list .cm-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 12px;
  margin: 0 0 4px;
}
.cm-recent .cm {
  margin: 6px 0 0;
}
.cm-recent .cm-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2px 12px;
}
.cm-read {
  margin: 0;
}
.cm-read label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--sub);
  cursor: pointer;
  white-space: nowrap;
  padding: 4px 0;
}
.cm-read input {
  width: 18px;
  height: 18px;
  margin: 0;
}
.rt .gtt th.future,
.rt .gtt td.future {
  background: #FFFBEE;
}
.rt .gtt th.gd.future {
  background: #FBF3D9;
}
@media (max-width: 640px) {
  .rt .gtt th.gname {
    min-width: 84px;
    max-width: 84px;
  }
  .rt .gtt th,
  .rt .gtt td {
    min-width: 130px;
    max-width: 130px;
  }
}
.mo.rp .dc.clickable {
  cursor: pointer;
}
.mo.rp .dc.clickable:hover {
  background: var(--t2);
}
.cell-link {
  text-decoration: none;
  color: var(--ink);
}
.w-date {
  width: auto;
  max-width: 170px;
  padding: 4px 8px;
  font-size: 14px;
}
.inline-form {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}
.inline-form label {
  display: inline;
  margin: 0;
  white-space: nowrap;
}
.mo.rp .dc {
  min-height: 64px;
}
.rpst {
  display: inline-block;
  margin-top: 3px;
  padding: 0 6px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.7;
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
}
.rp-none {
  color: var(--sub);
  border-style: dashed;
}
.rp-g {
  background: var(--t3);
}
.rp-ok {
  background: var(--ok-bg);
  border-color: var(--ok-rule);
  color: var(--ok-ink);
}
.rp-warn {
  background: var(--warn-bg);
  border-color: var(--warn-rule);
  color: var(--warn-ink);
}
a.rpst:hover {
  filter: brightness(.96);
}
.mo.rp .dc.today .dn,
.mo.rp .dc.today .rpst {
  font-weight: 700;
}
.mo.rp .dc.today {
  outline: 2px solid var(--ink);
  outline-offset: -2px;
}
.rp-none {
  animation: rpBlink 1.2s steps(2, end) infinite;
}
.legend .rp-none {
  animation: none;
}
@keyframes rpBlink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: .3;
  }
  100% {
    opacity: 1;
  }
}
.btn.btn-alert {
  background: var(--warn-ink);
  border-color: var(--warn-ink);
  color: var(--paper);
  animation: rpBlink 1.2s steps(2, end) infinite;
}
.btn.btn-alert:hover {
  animation: none;
}
@media (prefers-reduced-motion: reduce) {
  .btn.btn-alert {
    animation: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rp-none {
    animation: none;
    border-color: var(--warn-ink);
    color: var(--warn-ink);
  }
}
.gt {
  overflow-x: auto;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--paper);
  scroll-behavior: smooth;
}
.gtt {
  border-collapse: separate;
  border-spacing: 0;
  min-width: 2400px;
  font-size: 12px;
  margin: 0;
}
.gtt th,
.gtt td {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 3px 4px;
  vertical-align: top;
  min-width: 82px;
  max-width: 82px;
}
.gt-day .gtt,
.gt-week .gtt {
  min-width: 0;
  width: 100%;
}
.gt-day .gtt th.gd,
.gt-day .gtt td,
.gt-week .gtt th.gd,
.gt-week .gtt td {
  max-width: none;
}
.gt-day .gtt .gc {
  min-height: 88px;
}
.gt-day .gtt .ev {
  font-size: 13px;
  white-space: normal;
}
.gtt th.gd {
  background: var(--t2);
  text-align: center;
  line-height: 1.3;
  font-size: 12px;
}
.gtt th.gd a {
  color: var(--ink);
  text-decoration: none;
}
.gtt th.gname {
  position: sticky;
  left: 0;
  background: var(--t1);
  z-index: 2;
  min-width: 110px;
  max-width: 110px;
  text-align: left;
  box-shadow: 2px 0 0 var(--rule);
}
.gtt tr:first-child th.gname {
  background: var(--t2);
  z-index: 3;
}
.gtt .gc {
  min-height: 44px;
  height: 44px;
}
.gtt .sat,
.gtt .sun {
  background: var(--t1);
}
.gtt .today {
  background: var(--paper);
}
.gtt th.today,
.gtt td.today {
  border-left: 3px solid var(--ink);
  border-right: 3px solid var(--ink);
}
.gtt tr:first-child th.today {
  border-top: 3px solid var(--ink);
}
.gtt tr:last-child td.today {
  border-bottom: 3px solid var(--ink);
}
.gtt th.today .dnum,
.mo .dc.today .dn .dnum {
  display: inline-block;
  padding: 0 5px;
  border-radius: 4px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  animation: rpBlink 1.2s steps(2, end) infinite;
}
.dnum.past,
.dnum.future {
  white-space: nowrap;
}
.mo .dc.today {
  outline: 3px solid var(--ink);
  outline-offset: -3px;
}
@media (prefers-reduced-motion: reduce) {
  .gtt th.today .dnum,
  .mo .dc.today .dn .dnum {
    animation: none;
  }
}
.gtt .wk {
  border-left: 2px solid var(--note);
}
.gtt .ev {
  font-size: 11px;
  padding: 1px 4px;
  margin: 0 0 2px;
}
.gt-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 12px;
  justify-content: flex-end;
}
.gt-bar .small {
  font-size: 12px;
}
.tl-bar {
  display: none;
}
.gt-slider {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  width: 220px;
  max-width: 40%;
  height: 14px;
  margin: 0;
  accent-color: var(--sub);
  cursor: pointer;
}
.gt-slider::-webkit-slider-runnable-track {
  height: 3px;
  background: var(--rule);
  border-radius: 2px;
}
.gt-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: var(--sub);
  border: 1px solid var(--paper);
}
.gt-slider::-moz-range-track {
  height: 3px;
  background: var(--rule);
  border-radius: 2px;
}
.gt-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--sub);
  border: 1px solid var(--paper);
}
.tl {
  display: grid;
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
  font-size: 12.5px;
}
.tl .h {
  background: var(--t2);
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  padding: 3px 4px;
  text-align: center;
  font-weight: 700;
  font-size: 12px;
}
.tl .rn {
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  padding: 6px 8px;
  font-weight: 700;
  background: var(--t1);
  white-space: nowrap;
}
.tl .cell {
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  min-height: 34px;
  position: relative;
}
.tl .cell.past {
  background: var(--t1);
}
.tl .h.today,
.tl .cell.today {
  border-left: 3px solid var(--ink);
  border-right: 3px solid var(--ink);
}
.tl .cell.today {
  background: var(--paper);
}
.gt-res .gtt .today {
  background: var(--paper);
}
.gt-res .gtt th.gd.today {
  background: var(--t2);
}
.tl .h.today {
  border-top: 3px solid var(--ink);
}
.tl-week .cell.today:nth-last-child(-n+7) {
  border-bottom: 3px solid var(--ink);
}
.tl .h.today .dnum {
  display: inline-block;
  padding: 0 5px;
  border-radius: 4px;
  background: var(--ink);
  color: var(--paper);
  animation: rpBlink 1.2s steps(2, end) infinite;
}
.tl .h a {
  color: var(--ink);
  text-decoration: none;
}
@media (prefers-reduced-motion: reduce) {
  .tl .h.today .dnum {
    animation: none;
  }
}
.tl .cell a.free {
  display: block;
  height: 100%;
  min-height: 34px;
}
.tl .cell a.free:hover {
  background: var(--t2);
}
.tl .rv {
  border: 1px solid var(--hold-rule);
  background: var(--hold-bg);
  color: var(--hold-ink);
  border-radius: 4px;
  padding: 2px 5px;
  margin: 3px;
  font-size: 12px;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
  display: block;
}
.tl .rv.pending {
  border-style: dashed;
}
.rv-who,
.rv-t,
.rv-p {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rv-who {
  font-weight: 700;
  font-size: 13px;
}
.rv-t {
  font-size: 12px;
  opacity: .85;
  font-variant-numeric: tabular-nums;
  white-space: normal;
  text-overflow: clip;
}
.rv-p {
  font-size: 12px;
}
.ev.rv2 {
  white-space: normal;
}
.tl .rv.mine {
  background: var(--info-bg);
  border-color: var(--info-rule);
  color: var(--info-ink);
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13px;
  color: var(--sub);
  margin: 8px 0 16px;
}
.legend .ev {
  display: inline-block;
  margin: 0;
  padding: 0 8px;
}
.f2 {
  flex: 2;
}
.m0 {
  margin: 0;
}
.tl-day {
  grid-template-columns: 130px repeat(12, minmax(0, 1fr));
}
.tl-week {
  grid-template-columns: 130px repeat(7, minmax(0, 1fr));
}
.tl .sp1 {
  grid-column: span 1;
}
.tl .sp2 {
  grid-column: span 2;
}
.tl .sp3 {
  grid-column: span 3;
}
.tl .sp4 {
  grid-column: span 4;
}
.tl .sp5 {
  grid-column: span 5;
}
.tl .sp6 {
  grid-column: span 6;
}
.tl .sp7 {
  grid-column: span 7;
}
.tl .sp8 {
  grid-column: span 8;
}
.tl .sp9 {
  grid-column: span 9;
}
.tl .sp10 {
  grid-column: span 10;
}
.tl .sp11 {
  grid-column: span 11;
}
.tl .sp12 {
  grid-column: span 12;
}
.cm {
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 8px 14px;
  background: var(--paper);
  margin: 0 0 8px;
  font-size: 15px;
}
.cm .who {
  font-size: 13px;
  color: var(--sub);
}
@media (max-width: 820px) {
  .frame {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    align-content: start;
  }
  .main {
    min-width: 0;
    max-width: 100%;
  }
  .side {
    position: static;
    max-height: none;
    display: flex;
    flex-wrap: wrap;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
    padding: 6px 8px;
  }
  .side a {
    padding: 5px 10px;
    border-left: 0;
    border-radius: 6px;
    font-size: 14.5px;
  }
  .side a.on {
    border-left: 0;
  }
  .main {
    padding: 16px 14px 50px;
  }
  .top {
    padding: 8px 12px;
    gap: 8px;
  }
  .brand {
    font-size: 15px;
    white-space: nowrap;
  }
  .who {
    font-size: 13px;
    max-width: 34vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .who-role {
    display: none;
  }
  .row-between {
    align-items: flex-start;
  }
  .row-between > .row {
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
  }
  h1 {
    font-size: 22px;
  }
}
@media print {
  .top,
  .side {
    display: none;
  }
  .frame {
    display: block;
  }
  body {
    background: #fff;
  }
}
@media (max-width: 640px) {
  .sched-bar select {
    max-width: 100%;
  }
  .tl {
    font-size: 11px;
  }
  .tbl table th,
  .tbl table td {
    white-space: nowrap;
  }
  .tbl table td {
    max-width: 14em;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .tl-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .tl-wrap .tl {
    overflow: clip;
  }
  .tl-wrap .tl-week {
    min-width: 960px;
    grid-template-columns: 84px repeat(7, minmax(0, 1fr));
  }
  .tl-wrap .tl-day {
    min-width: 820px;
    grid-template-columns: 84px repeat(12, minmax(0, 1fr));
  }
  .tl-wrap .tl .rn,
  .tl-wrap .tl .h:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
  }
  .tl-bar {
    display: flex;
  }
  .mo .dc {
    padding: 2px;
  }
  .mo .mo-line {
    padding: 1px 2px;
  }
  .mo .mo-line .mo-t {
    display: none;
  }
  .mo .mo-line .who {
    margin-right: 0;
  }
  .mo .mo-line.rs {
    white-space: normal;
    word-break: break-all;
    text-overflow: clip;
    border-left-width: 2px;
  }
}
.txt-warn {
  color: var(--warn-ink);
}
.board {
  margin: 0 0 18px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-left: 6px solid var(--info-ink);
  border-radius: 8px;
  overflow: hidden;
}
.board-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding: 10px 18px;
  background: var(--t2);
  border-bottom: 1px solid var(--rule);
}
.board-title {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 19px;
  color: var(--ink);
}
.board-meta {
  font-size: 13px;
  color: var(--sub);
}
.board-edit {
  margin-left: auto;
}
.board-list {
  margin: 0;
  padding: 0 18px;
}
.board-row {
  display: grid;
  grid-template-columns: 10em 1fr;
  gap: 6px 18px;
  padding: 12px 0;
  border-top: 1px solid var(--rule);
}
.board-row:first-child {
  border-top: 0;
}
.board-row dt {
  margin: 0;
  font-weight: 700;
  color: var(--info-ink);
  line-height: 1.6;
}
.board-row dd {
  margin: 0;
  line-height: 1.75;
  white-space: normal;
  overflow-wrap: anywhere;
}
.board-empty {
  margin: 0;
  padding: 14px 18px;
  color: var(--note);
  font-size: 15px;
}
@media (max-width: 640px) {
  .board-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .board-head {
    padding: 10px 14px;
  }
  .board-list {
    padding: 0 14px;
  }
}
.board-slot {
  padding: 12px 16px 14px;
}
.board-slot[hidden] {
  display: none;
}
.board-slot legend {
  font-weight: 700;
  color: var(--info-ink);
  padding: 0 6px;
}
.board-slot input[type=text] {
  margin-bottom: 10px;
}
.board-slot textarea {
  min-height: 84px;
}
.board-del {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 0;
  color: var(--warn-ink);
}
.board-del input {
  width: auto;
  margin: 0;
}
.home-tabs {
  display: flex;
  gap: 4px;
  margin: 22px 0 12px;
  border-bottom: 2px solid var(--rule);
}
.home-tab {
  padding: 8px 18px;
  margin-bottom: -2px;
  border: 2px solid transparent;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  color: var(--sub);
  text-decoration: none;
  font-weight: 700;
}
.home-tab:hover {
  color: var(--ink);
  background: var(--t1);
}
.home-tab.on {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--rule);
  border-bottom: 2px solid var(--paper);
}
.top {
  background: var(--main);
  border-bottom: 0;
  color: #fff;
}
.top .brand {
  color: #fff;
  font-size: 18px;
  letter-spacing: .02em;
}
.top .btn-sec {
  background: transparent;
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
}
.top .btn-sec:hover {
  background: rgba(255, 255, 255, .14);
}
.top .has-unread {
  background: #FFE7A8;
  border-color: #FFE7A8;
  color: #5C4300;
}
.top .who-role {
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
}
.side {
  background: var(--paper);
  padding: 14px 0;
}
@media (min-width: 821px) {
  .frame {
    background:
      linear-gradient(
        to right,
        var(--paper) 189px,
        var(--rule) 189px,
        var(--rule) 190px,
        transparent 190px);
  }
}
.side a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  font-size: 16px;
  border-left: 4px solid transparent;
}
.side a::before {
  content: "";
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--nav-c,var(--note));
}
.side a:hover {
  background: var(--t2);
}
.side a.on {
  background: var(--main-bg);
  border-left-color: var(--main);
  color: var(--main-dark);
  font-weight: 700;
}
.nav-home {
  --nav-c:#1D5C8C;
}
.nav-schedule {
  --nav-c:#1F6B4D;
}
.nav-reports {
  --nav-c:#B07D12;
}
.nav-comments {
  --nav-c:#A33A52;
}
.nav-resources {
  --nav-c:#9A5320;
}
.nav-search {
  --nav-c:#5E4B8B;
}
.nav-users {
  --nav-c:#1C6B78;
}
.nav-groups {
  --nav-c:#5A6F1F;
}
.nav-audit {
  --nav-c:#4A5261;
}
.nav-settings {
  --nav-c:#6B4B2E;
}
@media (max-width: 820px) {
  .side {
    padding: 6px 8px;
  }
  .side a {
    padding: 5px 10px;
    border-left: 0;
    border-radius: 6px;
    font-size: 14.5px;
    gap: 6px;
  }
  .side a::before {
    width: 10px;
    height: 10px;
  }
  .side a.on {
    border-left: 0;
    box-shadow: inset 0 -3px 0 var(--main);
  }
}
.board {
  border-left: 0;
  border-color: var(--rule);
}
.board-head {
  background: var(--main);
  border-bottom: 0;
}
.board-title {
  color: #fff;
}
.board-meta {
  color: rgba(255, 255, 255, .85);
}
.board-head .btn-sec {
  background: transparent;
  border-color: rgba(255, 255, 255, .6);
  color: #fff;
}
.board-head .btn-sec:hover {
  background: rgba(255, 255, 255, .15);
}
.board-row dt {
  line-height: 1.5;
}
.board-cat {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  border: 1px solid;
  background: var(--bc-bg);
  color: var(--bc-ink);
  border-color: var(--bc-rule);
}
.board-row dd {
  color: var(--ink);
  font-size: 17px;
}
.bc-1 {
  --bc-bg:#E3EEF5;
  --bc-ink:#22607C;
  --bc-rule:#B7D3E3;
}
.bc-2 {
  --bc-bg:#E4F1EA;
  --bc-ink:#1F6B4D;
  --bc-rule:#AFD6C2;
}
.bc-3 {
  --bc-bg:#F7EEDB;
  --bc-ink:#8A6A1E;
  --bc-rule:#DFCB9B;
}
.bc-4 {
  --bc-bg:#F8E5E9;
  --bc-ink:#A33A52;
  --bc-rule:#E0B6C0;
}
.bc-5 {
  --bc-bg:#EDE7F6;
  --bc-ink:#5E4B8B;
  --bc-rule:#C9BCE3;
}
.bc-6 {
  --bc-bg:#FBE9DC;
  --bc-ink:#9A5320;
  --bc-rule:#E8C4A6;
}
.home-tabs {
  border-bottom-color: var(--main);
}
.home-tab.on {
  background: var(--main);
  color: #fff;
  border-color: var(--main);
}
.home-tab:hover {
  background: var(--t2);
}
.home-tab.on:hover {
  background: var(--main);
}
.overdue-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 16px;
  align-items: center;
}
.overdue-bar .od-text {
  font-size: 17px;
}
.overdue-bar .od-days {
  grid-column: 1/-1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.od-day {
  display: inline-block;
  padding: 3px 12px;
  border: 1px solid var(--warn-rule);
  border-radius: 999px;
  background: var(--paper);
  color: var(--warn-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.od-day:hover {
  background: var(--warn-bg);
}
@media (max-width: 640px) {
  .overdue-bar {
    grid-template-columns: 1fr;
  }
  .overdue-bar .od-main {
    width: 100%;
    text-align: center;
  }
}
.side a::before {
  display: none;
}
.btn {
  padding: 10px 18px;
}
.btn-sm {
  padding: 6px 14px;
  font-size: 14.5px;
}
.top .btn {
  padding: 4px 12px;
}
@media (max-width: 820px) {
  .btn-sm {
    padding: 10px 14px;
    font-size: 15px;
  }
  .top .btn {
    padding: 4px 10px;
    font-size: 14px;
  }
}
.period {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.period b {
  font-size: 18px;
  padding: 0 4px;
}
.period .arw {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  color: var(--main);
  text-decoration: none;
}
.period .arw:hover {
  background: var(--main-bg);
}
.seg {
  display: inline-flex;
  border: 1px solid var(--main);
  border-radius: 8px;
  overflow: hidden;
}
.seg a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--main);
  background: var(--paper);
  text-decoration: none;
}
.seg a + a {
  border-left: 1px solid var(--main);
}
.seg a.on {
  background: var(--main);
  color: #fff;
}
.seg a:not(.on):hover {
  background: var(--main-bg);
}
@media (max-width: 820px) {
  .side {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .side::-webkit-scrollbar {
    display: none;
  }
  .side a {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .side.more-right {
    -webkit-mask-image:
      linear-gradient(
        to right,
        #000 0,
        #000 calc(100% - 36px),
        transparent 100%);
    mask-image:
      linear-gradient(
        to right,
        #000 0,
        #000 calc(100% - 36px),
        transparent 100%);
  }
}
.side .ns {
  display: none;
}
@media (max-width: 820px) {
  .side .nl {
    display: none;
  }
  .side .ns {
    display: inline;
  }
}
@media (max-width: 820px) {
  .side {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    z-index: 30;
    max-height: none;
    margin: 0;
    gap: 0;
    padding: 4px 4px calc(4px + env(safe-area-inset-bottom));
    background: var(--paper);
    border-top: 1px solid var(--rule);
    border-bottom: 0;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, .07);
  }
  .side a {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    text-align: center;
    padding: 12px 2px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.3;
  }
  .side:has(a:nth-child(7)) a {
    flex: 0 0 auto;
    padding: 12px 12px;
  }
  .side a.on {
    box-shadow: inset 0 3px 0 var(--main);
    background: var(--main-bg);
    color: var(--main-dark);
  }
  .main {
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }
  body.typing .side {
    display: none;
  }
}
.arw {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  color: var(--main);
  text-decoration: none;
}
.arw:hover {
  background: var(--main-bg);
}
.sched-bar > b {
  font-size: 18px;
  padding: 0 2px;
}
@media (max-width: 820px) {
  .top .who-role,
  .top .top-logout {
    display: none;
  }
  .top .who {
    max-width: 48vw;
  }
}
.tab-write {
  align-self: center;
  margin-left: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: var(--warn-ink);
  text-decoration: none;
  animation: rpBlink 1.2s steps(2, end) infinite;
}
.tab-write:hover {
  animation: none;
}
@media (prefers-reduced-motion: reduce) {
  .tab-write {
    animation: none;
  }
}
.h1-back {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: -10px;
}
.r-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.r-actions .is-main {
  order: -1;
  flex: 0 0 auto;
  min-width: 240px;
}
@media (max-width: 820px) {
  .r-actions .is-main {
    flex: 1 1 100%;
    min-width: 0;
  }
}
.mo .dn {
  text-decoration: none;
  color: var(--ink);
}
.mo .dc.today .dn .dnum {
  border-radius: 999px;
  min-width: 24px;
  text-align: center;
  background: var(--main);
}
.mo .dc.sat .dn {
  color: var(--main);
}
.mo .dc.sun .dn {
  color: var(--warn-ink);
}
.mo .dh:nth-child(6) {
  color: var(--main);
}
.mo .dh:nth-child(7) {
  color: var(--warn-ink);
}
.home-tab:not(.on) {
  border-color: var(--rule);
  background: var(--paper);
  color: var(--ink);
}
.home-tab:not(.on):hover {
  background: var(--t2);
}
.topnav {
  display: none;
}
@media (max-width: 820px) {
  .topnav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: 2px;
    padding: 6px 8px;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
  }
  .topnav::-webkit-scrollbar {
    display: none;
  }
  .topnav a {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 14.5px;
    color: var(--ink);
    text-decoration: none;
  }
  .topnav a:hover {
    background: var(--t2);
  }
  .topnav a.on {
    background: var(--main-bg);
    color: var(--main-dark);
    font-weight: 700;
    box-shadow: inset 0 -3px 0 var(--main);
  }
  .topnav .nl {
    display: none;
  }
  .topnav .ns {
    display: inline;
  }
  .topnav.more-right {
    -webkit-mask-image:
      linear-gradient(
        to right,
        #000 0,
        #000 calc(100% - 36px),
        transparent 100%);
    mask-image:
      linear-gradient(
        to right,
        #000 0,
        #000 calc(100% - 36px),
        transparent 100%);
  }
}
@media print {
  .topnav {
    display: none;
  }
}
.mo .dc,
.wk .dc,
.gtt td {
  --bx:4px;
}
.ev.rs-l {
  margin-left: calc(-1 * var(--bx,4px));
  border-left-width: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  padding-left: calc(var(--bx,4px) + 4px);
}
.ev.rs-r {
  margin-right: calc(-1 * var(--bx,4px) - 1px);
  border-right-width: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.mo .mo-line.rs.rs-l {
  border-left-width: 0;
}
.tl .rv.rs-l {
  margin-left: 0;
  border-left-width: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.tl .rv.rs-r {
  margin-right: -1px;
  border-right-width: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
@media (max-width: 640px) {
  .mo .dc {
    --bx:2px;
  }
}
div.mo,
div.wk,
#gt,
.tl-wrap {
  touch-action: pan-x pan-y;
  transition: transform .18s ease;
}
.sw-out-l {
  transform: translateX(-24%) !important;
  opacity: 0;
  transition: transform .14s ease-in, opacity .14s ease-in !important;
}
.sw-out-r {
  transform: translateX(24%) !important;
  opacity: 0;
  transition: transform .14s ease-in, opacity .14s ease-in !important;
}
.sw-in-r {
  animation: swInR .22s cubic-bezier(.2, .7, .3, 1);
}
.sw-in-l {
  animation: swInL .22s cubic-bezier(.2, .7, .3, 1);
}
@keyframes swInR {
  from {
    transform: translateX(18%);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
@keyframes swInL {
  from {
    transform: translateX(-18%);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sw-in-r,
  .sw-in-l {
    animation: none;
  }
}
.add-chip {
  display: inline-block;
  margin-top: 2px;
  padding: 1px 7px;
  border: 1px dashed color-mix(in srgb, var(--main) 45%, #fff);
  border-radius: 4px;
  background: var(--paper);
  color: var(--main);
  font-size: 12px;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
}
.add-chip:hover {
  background: var(--t2);
  border-style: solid;
}
@media print {
  .add-chip {
    display: none;
  }
}
@media (max-width: 640px) {
  .home-tab {
    padding: 8px 12px;
    font-size: 15px;
    white-space: nowrap;
  }
  .tab-write {
    margin-left: auto;
    padding: 5px 12px;
    font-size: 14px;
    white-space: nowrap;
  }
}
@media (max-width: 640px) {
  .gt-week .gtt th.gname {
    min-width: 84px;
    max-width: 84px;
  }
  .gt-week .gtt th.gd,
  .gt-week .gtt td {
    min-width: 130px;
    max-width: 130px;
  }
  .gt-week .gtt .ev {
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }
  .gt-week .gtt .ev .t {
    display: inline-block;
    white-space: nowrap;
  }
}
.gt-week .gtt th.gname,
.gt-week .gtt td,
.gt-week .gtt .ev {
  font-size: 12.5px;
}
.gtt th.gd a {
  font-size: 14px;
}
.mo .dn {
  font-size: 14px;
}
.day-p {
  margin: 0 0 12px;
  padding: 12px 14px;
}
.day-name {
  display: inline-block;
  margin: 0 0 8px;
  padding: 2px 10px;
  border-radius: 6px;
  font-size: 17px;
}
.day-dl {
  display: grid;
  grid-template-columns: 4.5em minmax(0, 1fr);
  gap: 8px 10px;
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
}
.day-dl dt {
  font-weight: 700;
  color: var(--sub);
}
.day-dl dd {
  margin: 0;
  min-width: 0;
}
.day-line {
  display: block;
  color: var(--ink);
  text-decoration: none;
}
.day-line:hover {
  text-decoration: underline;
}
.day-t {
  font-weight: 700;
  margin-right: 6px;
  white-space: nowrap;
}
.day-off {
  color: var(--warn-ink);
  font-weight: 700;
}
.day-rs {
  color: var(--hold-ink);
}
.day-body {
  margin: 2px 0 4px;
  overflow-wrap: anywhere;
}
.day-open {
  font-size: 14px;
}
.day-cm {
  margin: 0 0 4px;
  overflow-wrap: anywhere;
}
@media (max-width: 640px) {
  .day-p {
    padding: 10px 12px;
  }
  .day-dl {
    grid-template-columns: 4.2em minmax(0, 1fr);
    gap: 6px 8px;
  }
  .day-dl dt {
    font-size: 13px;
    padding-top: 2px;
  }
}
.gtt th.gd a {
  color: var(--main);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.mo .dn {
  font-size: 16px;
  color: var(--main);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.mo .dc.sun .dn {
  color: var(--warn-ink);
}
.gtt th.today .dnum,
.mo .dc.today .dn .dnum {
  background: var(--main);
  color: #fff;
  border-radius: 999px;
  padding: 1px 8px;
  animation: todayGlow 1.3s ease-in-out infinite;
}
.mo .dc.today .dn .dnum {
  min-width: 28px;
  padding: 1px 4px;
}
@keyframes todayGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(29, 92, 140, .6);
    filter: brightness(1);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(29, 92, 140, 0);
    filter: brightness(1.45);
  }
}
@media (prefers-reduced-motion: reduce) {
  .gtt th.today .dnum,
  .mo .dc.today .dn .dnum {
    animation: none;
    box-shadow: 0 0 0 3px rgba(29, 92, 140, .35);
  }
}
.dnum .arr {
  display: inline-block;
  text-decoration: none;
}
.ev.cm-zero,
.cm-gt .gtt .rc.cm-zero {
  background: var(--warn-bg);
  border-color: var(--warn-rule);
  color: var(--warn-ink);
  font-weight: 700;
}
.ev.cm-wait,
.cm-gt .gtt .rc.cm-wait {
  background: var(--paper);
  border: 1px dashed var(--note);
  color: var(--sub);
}
.cm-gt .cm-cell.cm-zero,
.cm-gt .cm-cell.cm-wait {
  text-align: center;
}
.gt-cap .gtt .ev,
.gt-cap .gtt .ev .t {
  white-space: nowrap;
}
.gt-cap .gtt .ev {
  overflow: hidden;
  text-overflow: clip;
  word-break: normal;
}
.gt-cap .gtt .ev .t {
  display: inline;
  margin-right: .35em;
}
.gt-cap .evw .ev {
  min-width: 0;
}
.more-chip {
  display: inline-block;
  margin: 1px 4px 0 0;
  padding: 1px 7px;
  border-radius: 4px;
  background: var(--t2);
  color: var(--main);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
}
.more-chip:hover {
  background: var(--t4);
}
@media (min-width: 641px) {
  .gt-week.gt-cap .gtt {
    table-layout: fixed;
    min-width: 1020px;
  }
  .gt-week.gt-cap .gtt th.gname {
    width: 110px;
  }
}
