*,*::before,*::after{box-sizing:border-box}ul[class],ol[class]{padding:0}body,h1,h2,h3,h4,p,ul[class],ol[class],figure,blockquote,dl,dd{margin:0}html{scroll-behavior:smooth}body{min-height:100vh;text-rendering:optimizeSpeed;line-height:1.5}ul[class],ol[class]{list-style:none}a:not([class]){text-decoration-skip-ink:auto}img,picture{max-width:100%;display:block}article>*+*{margin-top:1em}input,button,textarea,select{font:inherit}@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;scroll-behavior:auto !important}}
* {
  font-feature-settings: "palt";
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
h1, h2, h3, h1 *, h2 *, h3 * {
  font-weight: 600;
}
:root {
  --col-width: 50px;
  --row-width: 50px;
  --future-cols: 2;
  --chart-header-position: 0px;
  --color-blue: #007dc5;
  --color-orange: #f7941e;
  --color-red: #c41425;
  --color-green: #479b96;
  --color-purple: #762283;
  --color-award-international: #e27616;
  --color-award-domestic: #f2aa35;
  --color-award-private: #a2a2a2;
  --color-award-other: #ccc;
}
.clearfix::after {
   content: "";
   display: block;
   clear: both;
}
.ic:before {
  font-family: 'Material Symbols Outlined';
  position: relative;
  font-weight: 300;
  font-style: normal;
  font-size: 24px;
  display: inline-block;
  line-height: 0.75;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
}

.ic-16:before {
  font-size: 16px;
  top: 2px;
  padding-right: 4px;
}

.ic-20:before {
  font-size: 20px;
  top: 3px;
  padding-right: 5px;
}

.ic-24:before {
  font-size: 24px;
  top: 4px;
  padding-right: 6px;
}

.ic.ic-github:before    { content: "code"; top: 5px; }
.ic.ic-file:before      { content: "file_open"; margin-left: -2px; }
.ic.ic-add-event:before { content: "format_list_bulleted_add"; }
.ic.ic-remove:before    { content: "close"; top: 3px; margin-left: -2px; }
.ic.ic-back:before      { content: "arrow_back"; }
.ic.ic-print:before     { content: "print"; }
.ic.ic-step-file:before     { content: "upload_file"; }
.ic.ic-step-event:before    { content: "edit_calendar"; }
.ic.ic-step-settings:before { content: "tune"; }
.ic.ic-step-output:before   { content: "download"; }
.ic.ic-data-quality:before  { content: "tips_and_updates"; }
.ic.ic-sort:before          { content: "list_arrow"; }
.ic.ic-documentation:before { content: "description"; }
.ic.ic-fullscreen:before    { content: "fullscreen"; }

a {
  color: var(--color-blue);
}

.app {
  overflow-x: clip;
}
.app > header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100vw;
  height: 50px;
  background: #333;
}
.app > header h1 {
  float: left;
  font-size: 1.4em;
  line-height: 40px;
  padding: 5px 20px;
  color: white;
}
.app > header h1 span {
  display: inline-block;
  margin-left: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.56em;
  font-weight: 400;
  letter-spacing: 0.02em;
  vertical-align: 2px;
}
.app > header nav ul {
  padding: 0;
  margin: 0 12px 0 0;
  float: right;
}
.app > header nav ul li {
  display: inline-block;
}
.app > header nav ul li a,
.app > header nav ul li button {
  display: block;
  padding: 10px;
  line-height: 30px;
  color: white;
  background: transparent;
  border: 0;
  font-size: 0.9em;
  text-decoration: none;
  cursor: pointer;
}
.app > header nav ul li .ic-24::before {
  top: 3px;
  padding-right: 5px;
  font-size: 20px;
}
.app > header nav ul li a:hover,
.app > header nav ul li button:hover {
  background: rgba(255, 255, 255, 0.12);
}
@media (max-width: 760px) {
  .app > header h1 span {
    display: none;
  }
}
@media (max-width: 480px) {
  .app > header h1 {
    padding-inline: 12px;
  }
  .app > header nav ul li a,
  .app > header nav ul li button {
    padding-inline: 10px;
  }
}
.app-layout {
  display: grid;
  grid-template-columns: minmax(430px, 520px) minmax(0, 1fr);
  margin-top: 50px;
}
.app-controls,
.career-chart-container {
  min-width: 0;
}
.app-layout section {
  padding: 20px;
}
.app-controls section {
  position: relative;
  padding-right: 15px;
}
.app-controls > section:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 0;
  left: 20px;
  border-top: 1px dotted #ccc;
}
.app-controls > section:last-child {
  padding-bottom: 50px;
}
.app-layout section h2 {
  font-size: 1.2em;
  line-height: 1.4;
  margin: 0 0 14px;
}
.app-controls section h2.ic::before {
  color: inherit;
  font-weight: 400;
}
@media (min-width: 1200px) {
  .app:not(.print):not(.embed) .app-layout .career-chart-container.chart-loaded {
    position: sticky;
    z-index: 20;
    top: 50px;
    align-self: start;
    height: calc(100vh - 50px);
    overflow: hidden;
    padding-left: 10px;
    background: white;
  }
  .app:not(.print):not(.embed) .app-layout .career-chart-container.chart-loaded .career-chart {
    height: 100%;
    overflow: auto;
  }
}
@media (max-width: 1199px) {
  .app-layout {
    display: block;
  }
}
section.file-select-container {
  display: block;
  margin: 0;
  background: white;
}
section.file-select-container .file-select-buttons {
  padding: 5px 0 0;
}
section.file-select-container input {
  display: none;
}
section.file-select-container label {
  display: inline-block;
  margin: 4px 16px;
  padding: 7px 14px;
  background: var(--color-blue);
  color: white;
  border-radius: 5px;
  cursor: pointer;
}
section.file-select-container label:hover {
  opacity: 0.7;
}
section.file-select-container .file-select-help {
  margin: 2px 16px 4px;
  color: #777;
  font-size: 0.8em;
}
section.file-select-container p.selected-file-name {
  position: relative;
  display: inline-block;
  padding: 7px 200px 7px 14px;
  margin: 4px 16px;
  background: #ddd;
  border-radius: 5px;
  cursor: pointer;
}
section.file-select-container p.selected-file-name:hover {
  opacity: 0.7;
}
section.file-select-container p.selected-file-name span {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  padding: 7px 14px;
  background: var(--color-blue);
  border-radius: 0 5px 5px 0;
  color: white;
}
section.career-event-editor {
  background: white;
}
section.career-event-editor h2 {
  margin-bottom: 10px;
}
section.career-event-editor .career-event-form {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
section.career-event-editor .career-event-row {
  display: grid;
  grid-template-columns: 130px 1fr 70px;
  align-items: center;
  gap: 8px 10px;
  padding: 3px 10px;
  border: 1px solid #ddd;
  border-width: 0 0 1px;
  background: white;
}
section.career-event-editor .career-event-row input[type="month"] {
  width: 130px;
  min-width: 130px;
  height: 33px;
  padding: 3px 8px;
  font-size: 0.95em;
  line-height: 1.2;
  border: none;
}
section.career-event-editor .career-event-row input[type="text"] {
  width: 100%;
  min-width: 0;
  height: 33px;
  padding: 3px 8px;
  font-size: 0.9em;
  line-height: 1.2;
  border: none;
}
section.career-event-editor .career-event-remove,
section.career-event-editor .career-event-add {
  justify-self: end;
  width: 64px;
  padding: 5px 10px;
  font-size: 0.8em;
  color: white;
  background: var(--color-red);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
}
section.career-event-editor .career-event-remove:hover,
section.career-event-editor .career-event-add:hover {
  opacity: 0.7;
}
.career-event-actions {
  display: grid;
  grid-template-columns: 130px 1fr 70px;
  align-items: center;
  gap: 8px 10px;
  padding: 3px 10px;
}
section.career-event-editor .career-event-sort {
  width: 100%;
  height: 30px;
  padding: 2px 8px;
  color: #555;
  background: transparent;
  border: none;
  font-size: 0.8em;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
}
section.career-event-editor .career-event-sort:before {
  top: 5px;
}
section.career-event-editor .career-event-add {
  grid-column: 3;
  background: var(--color-blue);
}
section.career-event-editor .career-event-sort {
  grid-column: 1;
}
section.career-event-editor .career-event-sort:hover {
  color: var(--color-blue);
}
section.career-event-editor input:focus {
  outline: none;
  border-color: #6b82ff;
  box-shadow: 0 0 0 2px rgba(107,130,255,0.2);
}
.app-layout section.output-container {
  padding-bottom: 35px;
}
.output-container .export-chart {
  margin-inline: 10px;
}
.data-quality-description {
  margin: 0 10px 12px;
  color: #666;
  font-size: 0.85em;
}
.data-quality-success {
  margin: 0 10px;
  color: var(--color-green);
  font-size: 0.9em;
}
.data-quality-item {
  margin: 7px 10px 0;
  border-bottom: 1px solid #ddd;
}
.data-quality-item summary {
  padding: 8px 4px;
  cursor: pointer;
  font-size: 0.9em;
  font-weight: 600;
}
.data-quality-item summary:hover {
  color: var(--color-blue);
}
.data-quality-item ul {
  margin: 0;
  padding: 2px 8px 10px 28px;
}
.data-quality-item li {
  margin: 5px 0;
  font-size: 0.82em;
}
.data-quality-item a {
  color: var(--color-blue);
}
.data-quality-item time {
  margin-left: 8px;
  color: #888;
  font-size: 0.9em;
  white-space: nowrap;
}
section.chart-setting-container input[type="range"],
section.chart-setting-container input[type="checkbox"]  {
  accent-color: var(--color-blue);
}
.cell-width-input {
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
}
.cell-width-number {
  width: 58px;
  padding: 0;
  color: #333;
  background: transparent;
  border: 0;
  outline: 0;
  text-align: right;
}
.cell-width-unit {
  margin-left: 3px;
  color: #777;
  font-size: 0.85em;
  user-select: none;
  transition: color 0.15s ease;
}
.cell-width-input:focus-within .cell-width-unit {
  color: var(--color-blue);
}
section.chart-setting-container dl {
  margin: 0 0 0 10px;
}
.chart-setting-group {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  padding: 10px 0;
}
.chart-setting-group + .chart-setting-group {
  border-top: 1px solid #ddd;
}
section.chart-setting-container dl dt {
  padding: 5px 0;
  min-height: 36px;
}
section.chart-setting-container dl dd {
  grid-column: 2;
  margin: 0;
  padding: 5px 0;
  min-height: 36px;
}
section.chart-setting-container dl dd ul {
  margin: 0 0 -5px;
  padding: 0;
}
section.chart-setting-container dl dd ul li {
  float: left;
  list-style: none;
  margin: 0 20px 0 0;
}
section.chart-setting-container dl dd.achievement-scope-option {
  margin-top: 2px;
  padding: 5px 0;
}
.achievement-scope-heading {
  display: block;
  margin-bottom: 7px;
  color: #666;
  font-size: 0.8em;
  font-weight: 600;
}
.achievement-scope-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}
.toggle-switch {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
}
.toggle-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.toggle-switch-track {
  position: relative;
  flex: 0 0 auto;
  width: 38px;
  height: 18px;
  background: #aaa;
  border-radius: 9px;
  transition: background 0.15s ease;
}
.toggle-switch-track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease;
}
.toggle-switch input:checked + .toggle-switch-track {
  background: var(--color-blue);
}
.toggle-switch input:checked + .toggle-switch-track::after {
  transform: translateX(20px);
}
.toggle-switch input:focus-visible + .toggle-switch-track {
  outline: 2px solid var(--color-blue);
  outline-offset: 2px;
}
.toggle-switch-label {
  font-size: 0.9em;
}
section.career-chart-container {
  position: relative;
}
.chart-as-of-date {
  position: absolute;
  z-index: 30;
  top: 56px;
  right: 11px;
  padding: 3px 7px;
  color: #777;
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.8em;
  white-space: nowrap;
  transform: translateX(var(--chart-header-position));
  pointer-events: none;
}
.chart-maximize {
  position: absolute;
  z-index: 40;
  top: 29px;
  right: 29px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  color: #666;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
}
.chart-maximize::before {
  top: 0;
  padding: 0;
}
.chart-maximize:hover {
  color: #222;
  background: #eee;
}
.career-chart-empty {
  border: 1px solid #ddd;
  border-radius: 5px;
  width: 100%;
  height: 100%;
  min-height: 200px;
}
.career-chart-empty label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 200px;
  text-align: center;
  color: gray;
  cursor: pointer;
}
.career-chart-empty label:hover {
  background: #eee;
}
.career-chart {
  position: relative;
  border: 1px solid #ddd;
  border-radius: 5px;
  width: 100%;
  overflow-x: auto;
}
.career-chart-wrap {
  position: relative;
  display: block;
  margin: 30px 50px 20px;
  width: var(--row-width);
  contain: paint;
  overflow-clip-margin: 20px;
}
.year-background {
  position: absolute;
  top: 75px;
  left: 0;
  display: flex;
  height: calc(100% - 75px);
  z-index: 0; /* 背景に回す */
  pointer-events: none;
}
.year-bg-cell {
  width: calc(var(--col-width) - 4px);
  margin-right: 4px; /* year-cell と揃える */
}
.year-bg-cell.even {
  background: #f9f9f9;
}
.researcher-info,
.year-chart {
  padding: 10px 0;
  position: relative;
  z-index: 10;
}
.achievement-chart,
.award-chart,
.grant-chart,
.edujob-chart {
  padding: 7px 0;
  position: relative;
  z-index: 10;
}
.career-chart h3 {
  display: block;
  position: absolute;
  z-index: 20;
  top: 0;
  left: calc(var(--chart-header-position) - 10px);
  width: 300px;
  height: auto;
  font-size: 1em;
  pointer-events: none;
}
.career-chart h3:before {
  content: '';
  position: absolute;
  top: 0;
  left: -10px;
  height: 100%;
  width: 2px;
  border: 1px dotted #ddd;
  border-width: 0 0 0 2px;
}
.achievement-chart h3        { color:        var(--color-purple); opacity: 0.9; }
.achievement-chart h3:before { border-color: var(--color-purple); opacity: 0.6; }
.award-chart h3              { color:        var(--color-award-international); opacity: 1; }
.award-chart h3:before       { border-color: var(--color-award-international); opacity: 0.7; }
.grant-chart h3              { color:        var(--color-green); opacity: 1; }
.grant-chart h3:before       { border-color: var(--color-green); opacity: 0.7; }
.edujob-chart h3             { color:        var(--color-blue); opacity: 1; }
.edujob-chart h3:before      { border-color: var(--color-blue); opacity: 0.7; }

.career-chart h3 span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  padding: 3px 10px;
  white-space: nowrap;
}
.chart-legend {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #666;
  font-size: 0.62em;
  font-weight: 400;
}
.chart-legend i {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-style: normal;
  font-weight: 400;
}
.chart-legend i::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 5px;
  background: #999;
}
.chart-legend .legend-achievement-primary::before { background: rgba(118, 34, 131, 0.8); }
.chart-legend .legend-achievement-other::before   { background: rgba(118, 34, 131, 0.4); }
.chart-legend .legend-award-international::before { background: var(--color-award-international); }
.chart-legend .legend-award-domestic::before      { background: var(--color-award-domestic); }
.chart-legend .legend-award-private::before       { background: var(--color-award-private); }
.chart-legend .legend-award-other::before         { background: var(--color-award-other); }
.chart-legend .legend-grant-primary::before       { background: rgba(71, 155, 150, 1); }
.chart-legend .legend-grant-other::before         { background: rgba(71, 155, 150, 0.5); }
.chart-legend .legend-job::before                 { background: rgba(0, 125, 197, 1); }
.chart-legend .legend-education::before           { background: rgba(0, 125, 197, 0.5); }
.researcher-info {
  margin: 0;
  height: 75px;
}
.researcher-info h3 {
  width: 100%;
  font-size: 1.3em;
}
.researcher-info h3 > span {
  display: inline-block;
  white-space: normal;
}
.researcher-info h3 p {
  display: block;
  font-size: 0.8em;
  font-weight: normal;
}
.achievement-row,
.award-row {
  position: relative;
  z-index: 1;
  height: 100px;
  min-height: 38px;
  padding: 28px 0 0;
}
.achievement-row + .achievement-row {
  margin-top: 14px;
}
.achievement-col,
.award-col {
  float: left;
  display: flex;
  flex-direction: column-reverse;
  width: calc(var(--col-width) - 4px);
  height: 100%;
  margin: 0 4px 0 0;
}
.achievement-cell,
.award-cell {
  width: 100%;
  height: 5px;
  margin: 1px 0 0;
  align-self: flex-end;
}
.achievement-cell.item-first-or-corresp { background: var(--color-purple); opacity: 0.8; }
.achievement-cell.item-other            { background: var(--color-purple); opacity: 0.4; }
.award-cell.item-international { background: var(--color-award-international); }
.award-cell.item-domestic      { background: var(--color-award-domestic); }
.award-cell.item-private       { background: var(--color-award-private); }
.award-cell.item-other         { background: var(--color-award-other); }
.grant-row,
.edujob-row {
  position: relative;
  z-index: 1;
  padding: 28px 0 0;
}
.grant-data-row,
.edujob-data-row {
  position: relative;
  z-index: 1;
  height: 30px;
}
.career-event-chart h3 + .career-event-row {
  margin-top: 28px;
}
.grant-cell,
.edujob-cell {
  position: absolute;
  z-index: 2;
  display: flex;
  height: 25px;
  padding: 0 2px 8px;
  font-size: 0.8em;
  line-height: 1em;
  overflow: hidden;
}
.grant-cell:after,
.edujob-cell:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border: 1px solid transparent;
  border-width: 0 0 5px;
}
.grant-cell.isPI:after      { border-color: var(--color-green); opacity: 1; }
.grant-cell.isnotPI:after   { border-color: var(--color-green); opacity: 0.5; }
.edujob-cell.job-cell:after { border-color: var(--color-blue); opacity: 1; }
.edujob-cell.edu-cell:after { border-color: var(--color-blue); opacity: 0.5; }
.grant-cell span,
.edujob-cell span {
  display: inline-block;
  margin: 0 auto;
  align-self: flex-end;
  text-align: left;
  white-space: nowrap;
}
.grant-cell:hover,
.edujob-cell:hover {
  overflow: visible;
  z-index: 10;
  cursor: pointer;
  font-weight: bold;
  color: var(--color-orange);
}
.grant-cell:hover:after,
.edujob-cell:hover:after {
  border-color: var(--color-orange);
  opacity: 1;
}
.grant-cell:hover span,
.edujob-cell:hover span {
  background: white;
  box-shadow: 0 0 0 2px white;
}
.career-event-chart {
  position: relative;
  z-index: 10;
  padding: 7px 0;
}
.career-event-chart .career-event-row {
  position: relative;
  z-index: 1;
  height: 30px;
}
.career-event-chart .career-event-cell {
  position: absolute;
  z-index: 9;
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 8px 0 10px;
  font-size: 0.85em;
  line-height: 1em;
  white-space: nowrap;
  background: white;
  box-shadow: 0 0 0 4px white;
  overflow-y: visible;
}
.career-event-chart .career-event-cell:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: var(--event-line-height, 50px);
  border-left: 2px solid #666;
}
.career-event-chart .career-event-cell:hover {
  overflow: visible;
  cursor: pointer;
  font-weight: bold;
  background: #666;
  color: white;
}
.year-cell {
  float: left;
  display: block;
  width: calc(var(--col-width) - 4px);
  margin: 0 4px 0 0;
  padding: 5px 0;
  font-size: 0.8em;
  line-height: 1em;
  text-align: center;
  border: 1px solid #999;
}
.year-cell.even {
  border: 1px solid #666;
}
.year-chart.top .year-cell {
  border-width: 0 0 5px;
}
.year-chart.bottom .year-cell {
  border-width: 5px 0 0;
}
.year-cell.now {
  width: calc(var(--col-width) * var(--future-cols) - 4px);
  border: 1px solid #ccc;
  border-width: 5px 0 0;
}
.year-cell.now span {
  visibility: hidden;
}
.export-chart {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.export-chart button {
  color: white;
  padding: 7px 12px;
  border: 0;
  border-radius: 5px;
  font-size: 0.9em;
  cursor: pointer;
}
.export-chart button:hover:not(:disabled) {
  opacity: 0.7;
}
.export-chart button:disabled {
  color: #888;
  background: #ddd;
  cursor: not-allowed;
  opacity: 1;
}
.print-chart {
  background: var(--color-green);
}
.export-html {
  background: var(--color-red);
}
.print-mode-header {
  display: none;
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  align-items: center;
  justify-content: space-between;
  width: 100vw;
  height: 50px;
  padding: 0 10px;
  background: #333;
}
.app.print .print-mode-header {
  display: flex;
}
.print-mode-header button {
  height: 50px;
  padding: 0 14px;
  color: white;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.print-mode-header button:hover {
  background: rgba(255, 255, 255, 0.12);
}
@media print {
  .print-mode-header {
    display: none !important;
  }
  .app.print .app-layout {
    margin-top: 0 !important;
  }
  .app.print .career-chart-wrap {
    min-height: 100vh !important;
  }
}
footer {
  position: relative;
  padding: 20px 30px;
  background: #eee;
  color: black;
  word-break: break-all;
}
footer h2 {
  font-size: 1.2em;
}
footer p {
  padding: 10px 20px 0;
  font-size: 0.9rem;
}
footer p + h2 {
  margin: 30px 0 0;
}
footer .content {
  float: left;
  margin: 25px 0;
  width: calc(100% - 570px);
}
footer .content dl {
  margin: 15px 10px;
  line-height: 1.1rem;
}
footer .content dl dt {
  color: #999;
  font-size: 0.8rem;
  padding: 0 8px;
  margin: 14px 0 2px;
}
footer .content dl dd {
  padding: 2px 8px;
  font-size: 0.9rem;
}
footer .content code {
  display: block;
  margin: 8px 0;
  padding: 8px 10px;
  color: #444;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9em;
  line-height: 1.5;
  overflow-wrap: anywhere;
  user-select: all;
}
.release-note-open {
  padding: 0;
  color: var(--color-blue);
  background: transparent;
  border: 0;
  cursor: pointer;
  text-decoration: underline;
}
.release-note-open:hover {
  opacity: 0.7;
}
footer .original-tweet {
  float: right;
  padding: 5px;
}
@media (max-width: 960px) {
  footer .content {
    float: none;
    width: 100%;
  }
  footer .original-tweet {
    float: none;
    margin: 0 auto;
  }
}
.release-note-dialog {
  width: min(720px, calc(100vw - 40px));
  max-height: 80vh;
  padding: 0;
  color: #222;
  background: white;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.release-note-dialog[open] {
  display: flex;
  flex-direction: column;
}
body.modal-open {
  overflow: hidden;
}
.release-note-dialog::backdrop {
  background: rgba(0, 0, 0, 0.45);
}
.release-note-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
  margin: 0;
  padding: 15px 20px;
  background: white;
  border-bottom: 1px solid #ddd;
}
.release-note-dialog-header button {
  padding: 5px 8px;
  color: #555;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.release-note-dialog-header button:hover {
  color: var(--color-red);
}
.release-note-dialog dl {
  min-height: 0;
  margin: 0;
  padding: 15px 30px 20px;
  line-height: 1.1rem;
  overflow-y: auto;
}
.release-note-dialog dl dt {
  color: #999;
  font-size: 0.8rem;
  padding: 0 8px;
}
.release-note-dialog dl dd {
  padding: 0 8px 8px;
  margin: 0 0 8px;
  font-size: 0.95rem;
  border: 1px dotted #ccc;
  border-width: 0 0 1px;
}
.documentation-dialog {
  width: min(820px, calc(100vw - 40px));
  word-break: normal;
}
.documentation-content {
  min-height: 0;
  padding: 18px 30px 24px;
  overflow-y: auto;
}
.documentation-content > * {
  margin-top: 0;
}
.documentation-content .documentation-intro {
  margin: 0 0 18px;
  color: #555;
}
.documentation-content section {
  padding: 0 0 16px;
}
.documentation-content section + section {
  padding-top: 16px;
  border-top: 1px dotted #ccc;
}
.documentation-content h3 {
  margin: 0 0 7px;
  color: #333;
  font-size: 1rem;
}
.documentation-content p,
.documentation-content ul {
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  line-height: 1.7;
}
.documentation-content ul {
  padding: 6px 0 0 24px;
}
.documentation-content code {
  padding: 1px 4px;
  color: #555;
  background: #f1f1f1;
  border-radius: 3px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9em;
}
footer .credit {
  padding: 15px;
  text-align: center;
  font-size: 0.8rem;
  color: #999;
}

.app.embed header,
.app.embed footer,
.app.embed .file-select-container,
.app.embed .career-event-editor,
.app.embed .chart-setting-container,
.app.embed .output-container,
.app.embed .data-quality-container,
.app.embed .career-chart-container h2,
.app.embed .export-chart,
.app.print header,
.app.print footer,
.app.print .file-select-container,
.app.print .career-event-editor,
.app.print .chart-setting-container,
.app.print .output-container,
.app.print .data-quality-container,
.app.print .career-chart-container h2,
.app.print .export-chart {
  display: none;
}
.app.embed .career-chart-container,
.app.print .career-chart-container {
  padding: 0px;
}
.app.embed .chart-as-of-date,
.app.print .chart-as-of-date {
  top: 61px;
  right: 11px;
}
.app.embed .chart-maximize,
.app.print .chart-maximize {
  display: none;
}
.app.embed .app-layout {
  display: block;
  margin-top: 0;
}
.app.print .app-layout {
  display: block;
  margin-top: 50px;
}
.app.embed .career-chart,
.app.print .career-chart {
  width: 100vw;
  border: none;
  border-radius: 0;
}
.app.print .career-chart-wrap {
  min-height: calc(100vh - 50px);
}
