﻿@charset "UTF-8";

/*!
 * PukiWiki - Yet another WikiWikiWeb clone.
 * Copyright
 *   2002-2021 PukiWiki Development Team
 *   2001-2002 Originally written by yu-ji
 * License: GPL v2 or (at your option) any later version
 *
 * Default CSS
 */

pre, dl, ol, p, blockquote {
  line-height:130%;
}
blockquote {
  margin-left:32px;
}
body,td {
  color:black;
  background-color:white;
  margin-left:2%;
  margin-right:2%;
  font-size:90%;
  font-family:verdana, arial, helvetica, Sans-Serif;
}
textarea {
  box-sizing:border-box;
  max-width:99.5%;
}

a:link {
  color:#215dc6;
  background-color:inherit;
  text-decoration:none;
}
a:active {
  color:#215dc6;
  background-color:#CCDDEE;
  text-decoration:none;
}
a:visited {
  color:#a63d21;
  background-color:inherit;
  text-decoration:none;
}
a:hover {
  color:#215dc6;
  background-color:#CCDDEE;
  text-decoration:underline;
}
a.external-link:not(.external-link-silent)::after {
  content:url(../image/external-link.png);
  margin:3px;
}

h1, h2 {
  font-family:verdana, arial, helvetica, Sans-Serif;
  color:inherit;
  background-color:#DDEEFF;
  padding:.3em;
  border:0;
  margin:0 0 .5em 0;
}
h3 {
  font-family:verdana, arial, helvetica, Sans-Serif;
  border-bottom:3px solid #DDEEFF;
  border-top:1px solid #DDEEFF;
  border-left:10px solid #DDEEFF;
  border-right:5px solid #DDEEFF;

  color:inherit;
  background-color:#FFFFFF;
  padding:.3em;
  margin:0 0 .5em 0;
}
h4 {
  font-family:verdana, arial, helvetica, Sans-Serif;
  border-left:18px solid #DDEEFF;

  color:inherit;
  background-color:#FFFFFF;
  padding:.3em;
  margin:0 0 .5em 0;
}
h5, h6 {
  font-family:verdana, arial, helvetica, Sans-Serif;
  color:inherit;
  background-color:#DDEEFF;
  padding:.3em;
  border:0;
  margin:0 0 .5em 0;
}
h1.title {
  font-size:30px;
  font-weight:bold;
  background-color:transparent;
  padding:12px 0 0 0;
  border:0;
  margin:12px 0 0 0;
}

dt {
  font-weight:bold;
  margin-top:1em;
  margin-left:1em;
}

pre {
  border-top:#DDDDEE 1px solid;
  border-bottom:#888899 1px solid;
  border-left:#DDDDEE 1px solid;
  border-right:#888899 1px solid;
  padding:.5em;
  margin-left:1em;
  margin-right:2em;
  white-space:pre-wrap;
  word-wrap:break-word;
  color:black;
  background-color:#F0F8FF;
}

img {
  border:none;
  vertical-align:middle;
}

ul {
  margin-top:.5em;
  margin-bottom:.5em;
  line-height:130%;
}

em {
  font-style:italic;
}

strong {
  font-weight:bold;
}

thead td.style_td,
tfoot td.style_td {
  color:inherit;
  background-color:#D0D8E0;
}
thead th.style_th,
tfoot th.style_th {
  color:inherit;
  background-color:#E0E8F0;
}
.style_table {
  padding:0;
  border:0;
  margin:auto;
  text-align:left;
  color:inherit;
  background-color:#ccd5dd;
}
.style_th {
  padding:5px;
  margin:1px;
  text-align:center;
  color:inherit;
  background-color:#EEEEEE;
}
.style_td {
  padding:5px;
  margin:1px;
  color:inherit;
  background-color:#EEF5FF;
}

ul.list1 {
  list-style-type:disc;
}
ul.list2 {
  list-style-type:circle;
}
ul.list3 {
  list-style-type:square;
}
ol.list1 {
  list-style-type:decimal;
}
ol.list2 {
  list-style-type:lower-roman;
}
ol.list3 {
  list-style-type:lower-alpha;
}

.list-indent1 {
  padding-left:16px;
  margin-left:16px;
}
/* list-indent2,3,4 are used for leaping list level indentation */
.list-indent2 {
  padding-left:32px;
  margin-left:32px;
}
.list-indent3 {
  padding-left:48px;
  margin-left:48px;
}
.list-indent4 {
  padding-left:64px;
  margin-left:64px;
}

div.ie5 {
  text-align:center;
}
span.noexists {
  color:inherit;
  background-color:#FFFACC;
}

.small {
  font-size:80%;
}

.super_index {
  color:#DD3333;
  background-color:inherit;
  font-weight:bold;
  font-size:60%;
  vertical-align:super;
}

a.note_super {
  color:#DD3333;
  background-color:inherit;
  font-weight:bold;
  font-size:60%;
  vertical-align:super;
}

div.jumpmenu {
  font-size:60%;
  text-align:right;
  user-select:none;
}

hr.full_hr {
  border-style:ridge;
  border-color:#333333;
  border-width:1px 0;
}
hr.note_hr {
  width:90%;
  border-style:ridge;
  border-color:#333333;
  border-width:1px 0;
  text-align:center;
  margin:1em auto 0em auto;
}

span.size1 {
  font-size:xx-small;
  line-height:130%;
  text-indent:0;
  display:inline;
}
span.size2 {
  font-size:x-small;
  line-height:130%;
  text-indent:0;
  display:inline;
}
span.size3 {
  font-size:small;
  line-height:130%;
  text-indent:0;
  display:inline;
}
span.size4 {
  font-size:medium;
  line-height:130%;
  text-indent:0;
  display:inline;
}
span.size5 {
  font-size:large;
  line-height:130%;
  text-indent:0;
  display:inline;
}
span.size6 {
  font-size:x-large;
  line-height:130%;
  text-indent:0;
  display:inline;
}
span.size7 {
  font-size:xx-large;
  line-height:130%;
  text-indent:0;
  display:inline;
}

/* html.php/catbody() */
strong.word0 {
  background-color:#FFFF66;
  color:black;
}
strong.word1 {
  background-color:#A0FFFF;
  color:black;
}
strong.word2 {
  background-color:#99FF99;
  color:black;
}
strong.word3 {
  background-color:#FF9999;
  color:black;
}
strong.word4 {
  background-color:#FF66FF;
  color:black;
}
strong.word5 {
  background-color:#880000;
  color:white;
}
strong.word6 {
  background-color:#00AA00;
  color:white;
}
strong.word7 {
  background-color:#886800;
  color:white;
}
strong.word8 {
  background-color:#004699;
  color:white;
}
strong.word9 {
  background-color:#990099;
  color:white;
}

/* html.php/edit_form() */
.edit_form {
  clear:both;
}
.edit_form textarea,.edit_form select {
  width:95%;
}

/* pukiwiki.skin.php */
div#header {
  padding:0;
  margin:0;
  word-break:break-all;
}

div#navigator {
  clear:both;
  padding:4px 0 0 0;
  margin:0;
}

div#contents {
  display:flex;
  flex-flow:row nowrap;
  word-break:break-all;
  overflow-wrap:break-word;
  word-wrap:break-word;
}

div#menubar {
  min-width:12em;
  max-width:12em;
  padding:0;
  margin:4px;
  font-size:90%;
  overflow:hidden;
  order:1;
  flex-grow:0;
}
div#menubar ul {
  margin:0 0 0 1em;
  padding:0 0 0 .5em;
}
div#menubar ul li {
  line-height:110%;
}
div#menubar h4 {
  font-size:110%;
}

#rightbar {
  min-width:14em;
  max-width:14em;
  padding:0;
  margin:4px;
  font-size:90%;
  overflow:hidden;
  order:3;
  flex-grow:0;
}
#rightbar ul {
  margin:0 0 0 1em;
  padding:0 0 0 .5em;
}
#rightbar ul li {
  line-height:110%;
}
#rightbar h4 {
  font-size:110%;
}

div#body {
  padding:0;
  margin:0 0 0 .5em;
  max-width:98%;
  order:2;
  flex-grow:1;
}

div#note {
  clear:both;
  padding:0;
  margin:0;
  word-break:break-all;
}
div#attach {
  clear:both;
  padding:0;
  margin:0;
}
div#toolbar {
  clear:both;
  padding:0;
  margin:0;
  text-align:right;
}
div#lastmodified {
  font-size:80%;
  padding:0;
  margin:0;
}
div#related {
  font-size:80%;
  padding:0;
  margin:16px 0 0 0;
}
div#related .page_passage {
  font-size:60%;
}
div#footer {
  font-size:70%;
  padding:0;
  margin:16px 0 0 0;
}
div#banner {
  float:right;
  margin-top:24px;
}
div#preview {
  color:inherit;
  background-color:#F5F8FF;
}
img#logo {
  float:left;
  margin-right:20px;
}

/* aname.inc.php */
.anchor_super {
  font-size:xx-small;
  vertical-align:super;
  margin-left:.5em;
}

/* list.inc.php */
.page_passage {
  font-size:small;
}

/* calendar*.inc.php */
.style_calendar {
  padding:0;
  border:0;
  margin:3px;
  color:inherit;
  background-color:#CCD5DD;
  text-align:center;
}
.style_td_caltop {
  padding:5px;
  margin:1px;
  color:inherit;
  background-color:#EEF5FF;
  font-size:80%;
  text-align:center;
}
.style_td_today {
  padding:5px;
  margin:1px;
  color:inherit;
  background-color:#FFFFDD;
  text-align:center;
}
.style_td_sat {
  padding:5px;
  margin:1px;
  color:inherit;
  background-color:#DDE5FF;
  text-align:center;
}
.style_td_sun {
  padding:5px;
  margin:1px;
  color:inherit;
  background-color:#FFEEEE;
  text-align:center;
}
.style_td_blank {
  padding:5px;
  margin:1px;
  color:inherit;
  background-color:#EEF5FF;
  text-align:center;
}
.style_td_day {
  padding:5px;
  margin:1px;
  color:inherit;
  background-color:#EEF5FF;
  text-align:center;
}
.style_td_week {
  padding:5px;
  margin:1px;
  color:inherit;
  background-color:#DDE5EE;
  font-size:80%;
  font-weight:bold;
  text-align:center;
}

/* calendar_viewer.inc.php */
div.calendar_viewer {
  color:inherit;
  background-color:inherit;
  margin-top:20px;
  margin-bottom:10px;
  padding-bottom:10px;
}
span.calendar_viewer_left {
  color:inherit;
  background-color:inherit;
  float:left;
}
span.calendar_viewer_right {
  color:inherit;
  background-color:inherit;
  float:right;
}

/* clear.inc.php */
.clear {
  margin:0;
  clear:both;
}

/* counter.inc.php */
div.counter {
  font-size:70%;
}

/* diff.inc.php */
span.diff_added {
  color:blue;
  background-color:inherit;
}
span.diff_removed {
  color:red;
  background-color:inherit;
}

/* hr.inc.php */
hr.short_line {
  text-align:center;
  width:80%;
  border-style:solid;
  border-color:#333333;
  border-width:1px 0;
}

/* include.inc.php */
h5.side_label {
  text-align:center;
}

/* navi.inc.php */
ul.navi {
  margin:0;
  padding:0;
  text-align:center;
}
li.navi_none {
  display:block;
  float:none;
}
li.navi_left {
  display:block;
  float:left;
  text-align:left;
}
li.navi_right {
  display:block;
  float:right;
  text-align:right;
}

/* new.inc.php */
span.comment_date {
  font-size:x-small;
}
span.new1 {
  color:red;
  background-color:transparent;
  font-size:x-small;
}
span.new5 {
  color:green;
  background-color:transparent;
  font-size:xx-small;
}

/* comment.inc.php */
._p_comment_form input[name="msg"] {
  max-width:90%;
}

/* pcomment.inc.php */
._p_pcomment_form input[name="msg"] {
  max-width:90%;
}

/* article.inc.php */
._p_article_form input[name="subject"] {
  max-width:82%;
}

/* popular.inc.php */
span.counter {
  font-size:70%;
}

/* ref.inc.php */
div.img_margin {
  margin-left:32px;
  margin-right:32px;
}

/* vote.inc.php */
td.vote_label {
  color:inherit;
  background-color:#FFCCCC;
}
td.vote_td1 {
  color:inherit;
  background-color:#DDE5FF;
}
td.vote_td2 {
  color:inherit;
  background-color:#EEF5FF;
}

/* topicpath.inc.php */
span.topicpath-slash {
  margin:0 0.2em;
}
span.topicpath-top {
  user-select:none;
}

/* bugtrack.inc.php */
tr.bugtrack_list_header th {
  background-color:#ffffcc;
}
tr.bugtrack_list_header th:nth-child(1) {
  min-width: 7em;
}
tr.bugtrack_list_header th:nth-child(2) {
  min-width: 2em;
}
tr.bugtrack_list_header th:nth-child(3) {
  min-width: 4em;
}
tr.bugtrack_list_header th:nth-child(4) {
  min-width: 4em;
}
tr.bugtrack_list_header th:nth-child(5) {
  min-width: 3em;
}
tr.bugtrack_state_proposal td {
  background-color:#ccccff;
}
tr.bugtrack_state_accept td {
  background-color:#ffcc99;
}
tr.bugrack_state_resolved td {
  background-color:#ccffcc;
}
tr.bugtrack_state_pending td {
  background-color:#ffccff;
}
tr.bugtrack_state_cancel td {
  background-color:#cccccc;
}
tr.bugtrack_state_undef td {
  background-color:#ff3333;
}
._p_bugtrack_form input[name="summary"],
._p_bugtrack_form textarea {
  box-sizing:border-box;
  width:35em;
  max-width:99.5%;
}

/* tracker.inc.php */
._p_tracker_form th {
  min-width:5em;
}

/* search2.inc.php  */
.search-result-page-summary {
  font-size:70%;
  color:gray;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

/* Mobile-friendly Responsive layout */
@media (max-width:767px) {
  div#contents {
    flex-flow:column wrap;
  }
  div#menubar {
    width:auto;
    max-width:none;
    font-size:100%;
    order:2;
  }
  div#rightbar {
    width:auto;
    max-width:none;
    font-size:100%;
    order:3;
  }
  div#body {
    order:1;
  }
  div#body img {
    max-width:95%;
    height:auto;
  }

  ._p_tracker_form th,._p_tracker_form td {
    display:block;
    text-align:left !important;
    width:auto !important;
    margin:0;
  }
  ._p_tracker_form td input[type=text],
  ._p_tracker_form td textarea {
    box-sizing:border-box;
    width:99.5%;
  }

  tr.bugtrack_list_header th:nth-child(1) {
    min-width: 4em;
  }
  tr.bugtrack_list_header th:nth-child(2) {
    min-width: 1em;
  }
  tr.bugtrack_list_header th:nth-child(3) {
    min-width: 1em;
  }
  tr.bugtrack_list_header th:nth-child(4) {
    min-width: 3em;
  }
  tr.bugtrack_list_header th:nth-child(5) {
    min-width: 3em;
  }
  ._p_bugtrack_form th,._p_bugtrack_form td {
    display:block;
    text-align:left !important;
    margin:0;
  }
  ._p_bugtrack_form input[name="summary"],
  ._p_bugtrack_form textarea {
    box-sizing:border-box;
    width:99.5%;
  }
}

/* Budou custom theme: sakura palette */
:root {
  --sakura-bg:#fff7fb;
  --sakura-surface:#fffdfd;
  --sakura-panel:#fff0f6;
  --sakura-border:#f3c6d9;
  --sakura-border-2:#f0d8e4;
  --sakura-head:#ffe7f1;
  --sakura-link:#b14a70;
  --sakura-link-visited:#83445f;
  --sakura-link-hover:#8a2f53;
  --sakura-text:#3c2a32;
}

body,td {
  color:var(--sakura-text);
  background-color:var(--sakura-bg);
}

a:link {
  color:var(--sakura-link);
}
a:active {
  color:var(--sakura-link-hover);
  background-color:#ffe4ef;
}
a:visited {
  color:var(--sakura-link-visited);
}
a:hover {
  color:var(--sakura-link-hover);
  background-color:#ffe4ef;
}

h1, h2, h5, h6 {
  background-color:var(--sakura-head);
}
h3 {
  border-bottom:3px solid var(--sakura-border);
  border-top:1px solid var(--sakura-border);
  border-left:10px solid var(--sakura-border);
  border-right:5px solid var(--sakura-border);
}
h4 {
  border-left:18px solid var(--sakura-border);
}
h1.title {
  color:#8a2f53;
}

pre {
  border-top:1px solid var(--sakura-border-2);
  border-bottom:1px solid #c99cb2;
  border-left:1px solid var(--sakura-border-2);
  border-right:1px solid #c99cb2;
  color:var(--sakura-text);
  background-color:#fff3f9;
}

thead td.style_td,
tfoot td.style_td {
  background-color:#eed4e0;
}
thead th.style_th,
tfoot th.style_th {
  background-color:#f7e8ef;
}
.style_table {
  background-color:#e8d2de;
}
.style_th {
  background-color:#f8eef3;
}
.style_td {
  background-color:#fff8fc;
}

div#header {
  background:linear-gradient(180deg, #fff4f9 0%, #ffeaf3 100%);
  border-bottom:1px solid var(--sakura-border);
  padding:8px 10px;
  margin-bottom:4px;
}
div#navigator {
  background-color:var(--sakura-panel);
  border-top:1px solid var(--sakura-border);
  border-bottom:1px solid var(--sakura-border);
  padding:6px 8px;
  margin:0 0 6px 0;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 10px;
}
div#navigator .nav-links {
  flex:1 1 560px;
  min-width:320px;
}
div#navigator .nav-search {
  flex:0 1 360px;
  margin-left:auto;
}
div#navigator .nav-search form {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
}
div#navigator .nav-search input[type=search] {
  width:100%;
  max-width:260px;
  min-width:150px;
  height:36px;
  border:1px solid var(--sakura-border);
  border-radius:999px;
  padding:0 12px;
  background:#fff;
}
div#navigator .nav-search button {
  height:36px;
  border:1px solid var(--sakura-border);
  border-radius:999px;
  padding:0 14px;
  color:var(--sakura-link);
  background:#ffe7f1;
  cursor:pointer;
}
div#menubar,
#rightbar {
  background-color:var(--sakura-surface);
  border:1px solid var(--sakura-border-2);
  border-radius:6px;
  padding:8px;
}
div#body {
  background-color:var(--sakura-surface);
  border:1px solid var(--sakura-border-2);
  border-radius:8px;
  padding:10px 14px;
  box-shadow:0 1px 0 rgba(177,74,112,.06);
}
div#preview {
  background-color:#fff4f9;
}
div#footer,
div#lastmodified,
div#related {
  color:#6c4a58;
}

span.noexists {
  background-color:#ffeaf3;
}
.super_index,
a.note_super {
  color:#c03a6d;
}

.style_calendar {
  background-color:#ebd4df;
}
.style_td_caltop,
.style_td_blank,
.style_td_day {
  background-color:#fff8fc;
}
.style_td_today {
  background-color:#ffe8f2;
}
.style_td_sat {
  background-color:#f4ebff;
}
.style_td_sun {
  background-color:#ffecef;
}
.style_td_week {
  background-color:#efdeea;
}

td.vote_label {
  background-color:#ffe0ea;
}
td.vote_td1 {
  background-color:#f7ecff;
}
td.vote_td2 {
  background-color:#fff8fc;
}

tr.bugtrack_list_header th {
  background-color:#ffe8f2;
}
tr.bugtrack_state_proposal td {
  background-color:#f0e5ff;
}
tr.bugtrack_state_accept td {
  background-color:#ffe8db;
}
tr.bugrack_state_resolved td {
  background-color:#e8f9ec;
}
tr.bugtrack_state_pending td {
  background-color:#fde8f8;
}
tr.bugtrack_state_cancel td {
  background-color:#ece8ea;
}
tr.bugtrack_state_undef td {
  background-color:#f989ad;
}

/* Budou mobile UX refresh */
html {
  scroll-behavior:smooth;
  -webkit-text-size-adjust:100%;
}
body,
td {
  font-family:"Hiragino Sans","Yu Gothic UI","YuGothic","Meiryo",sans-serif;
}
#mobile_quickbar {
  display:none;
}

@media (max-width:1024px) {
  body,
  td {
    margin-left:.6rem;
    margin-right:.6rem;
    font-size:95%;
  }
  body {
    padding-bottom:82px;
  }

  img#logo {
    width:52px;
    height:52px;
    margin-right:10px;
  }

  h1.title {
    font-size:1.45rem;
    line-height:1.25;
    margin-top:4px;
    padding-top:0;
  }

  div#header {
    position:sticky;
    top:0;
    z-index:20;
    backdrop-filter:blur(4px) saturate(1.1);
  }

  div#navigator {
    white-space:normal;
    overflow:visible;
    -webkit-overflow-scrolling:touch;
    border-radius:10px;
    padding:8px 10px;
  }
  div#navigator .nav-links {
    min-width:0;
    width:100%;
    white-space:nowrap;
    overflow-x:auto;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
    padding-bottom:2px;
  }
  div#navigator a {
    display:inline-block;
    padding:6px 10px;
    margin:0 4px 4px 0;
    border-radius:999px;
    border:1px solid var(--sakura-border);
    background-color:#ffe7f1;
  }
  div#navigator .nav-search {
    width:100%;
    margin-left:0;
  }
  div#navigator .nav-search form {
    justify-content:stretch;
  }
  div#navigator .nav-search input[type=search] {
    flex:1 1 auto;
    max-width:none;
    min-width:0;
  }
  div#navigator .nav-search button {
    flex:0 0 auto;
    padding:0 12px;
  }

  #mobile_quickbar {
    display:flex;
    align-items:center;
    gap:8px;
    margin:0;
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:40;
    padding:8px calc(8px + env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) calc(8px + env(safe-area-inset-left));
    border-top:1px solid var(--sakura-border);
    background:rgba(255,247,251,.95);
    backdrop-filter:blur(8px) saturate(1.1);
    box-shadow:0 -6px 14px rgba(177,74,112,.1);
  }
  #mobile_quickbar > * {
    flex:1;
    text-align:center;
  }
  #mobile_menu_toggle,
  #mobile_toc_link,
  #mobile_search_link,
  #mobile_top_link {
    display:inline-block;
    border:1px solid var(--sakura-border);
    background:#ffe7f1;
    color:var(--sakura-link);
    border-radius:999px;
    padding:7px 12px;
    font-size:14px;
    line-height:1.2;
    text-decoration:none;
    min-height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
  }
  #mobile_menu_toggle {
    cursor:pointer;
  }
  #mobile_menu_toggle[aria-expanded="true"] {
    background:#ffd5e7;
  }
  #mobile_toc_link,
  #mobile_search_link,
  #mobile_top_link {
    white-space:nowrap;
  }

  hr.full_hr {
    border-width:0 0 1px 0;
    border-style:solid;
    border-color:var(--sakura-border);
    margin:8px 0;
  }

  div#contents {
    display:flex;
    flex-flow:column nowrap;
    gap:10px;
    word-break:normal;
    overflow-wrap:anywhere;
    word-wrap:break-word;
  }

  div#body {
    order:1;
    margin:0;
    max-width:none;
    padding:12px;
    border-radius:12px;
  }
  div#body p,
  div#body li {
    line-height:1.8;
  }
  div#body h2,
  div#body h3,
  div#body h4 {
    scroll-margin-top:80px;
  }

  div#menubar,
  #rightbar {
    order:2;
    min-width:0;
    max-width:none;
    width:auto;
    margin:0;
    max-height:45vh;
    overflow:auto;
    -webkit-overflow-scrolling:touch;
  }
  body.mobile-side-collapsed div#menubar,
  body.mobile-side-collapsed #rightbar {
    display:none;
  }
  body.mobile-side-open div#menubar,
  body.mobile-side-open #rightbar {
    display:block;
  }

  div.jumpmenu {
    display:none;
  }

  .ie5 {
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
  }
  table,
  .style_table {
    display:block;
    width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
  }
  table tr,
  .style_table tr {
    white-space:nowrap;
  }

  pre {
    margin:0;
    max-width:100%;
    overflow:auto;
  }

  input[type=text],
  input[type=password],
  input[type=search],
  input[type=number],
  textarea,
  select {
    box-sizing:border-box;
    width:100%;
    max-width:100%;
    font-size:16px;
  }

  div#toolbar {
    text-align:left;
  }
  div#toolbar a {
    display:inline-block;
    margin:4px 4px 0 0;
    padding:6px 10px;
    border-radius:999px;
    border:1px solid var(--sakura-border);
    background-color:#fff4f8;
  }
}

@media (max-width:480px) {
  body,
  td {
    margin-left:.45rem;
    margin-right:.45rem;
    font-size:92%;
  }

  h1.title {
    font-size:1.2rem;
  }

  div#body {
    padding:10px;
  }
}

@media print {
  a:link,
  a:visited {
    text-decoration:underline;
  }
  img#logo,
  div#navigator,
  div#menubar,
  div#rightbar,
  div#related,
  div#attach,
  div#toolbar {
    display:none;
  }
}

