:root { color-scheme: light; font: 16px/1.5 system-ui, sans-serif; color: #242723; background: #f5f4ee; }
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
header { display: flex; align-items: center; justify-content: space-between; height: 72px; background: #191b1c; color: #f4eddf; padding: 0 max(6vw, calc((100vw - 1100px) / 2)); }
.brand { display: flex; align-items: center; gap: .7rem; font-size: 23px; font-weight: 620; letter-spacing: -.06em; }
.brand img { width: 21px; height: 29px; }
.platform { font: .78rem ui-monospace, monospace; }
main { width: min(88%, 1100px); margin: clamp(36px, 6.5vh, 82px) auto; }
h1,h2,p { margin: 0; }
h1 { font: 500 clamp(44px, 6vw, 76px)/1.05 Georgia, serif; letter-spacing: -.065em; }
.intro p { margin: 12px 0 33px; color: #52584e; }
.panel { border: 1px solid #c9cbbf; border-radius: 12px; overflow: hidden; display: grid; grid-template-columns: 1.35fr 1fr; background: #fffefa; }
form, aside { padding: clamp(24px, 4vw, 50px); }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend, h2 { font-size: 1.2rem; letter-spacing: -.035em; font-weight: 620; padding: 0; }
legend { margin-bottom: 24px; }
label { display: block; font-weight: 600; font-size: .88rem; margin: 0 0 7px; }
label span, small { font-weight: 400; color: #596052; }
input { width: 100%; min-width: 0; font: inherit; font-size: .96rem; color: inherit; background: #fff; border-radius: 6px; border: 1px solid #b6bbaf; padding: 11px 12px; }
small { display: block; margin-top: 7px; font-size: .8rem; }
.row { display: grid; grid-template-columns: .85fr 1.15fr; gap: 16px; margin: 24px 0; }
button { border: 1px solid #aeb3a6; border-radius: 6px; background: #fffefa; color: inherit; padding: 9px 15px; font: inherit; cursor: pointer; }
.primary { width: 100%; display: flex; justify-content: space-between; align-items: center; border: 0; background: #284e3f; color: white; padding: 12px 16px; font-weight: 580; }
.primary:hover { background: #1d4233; }
:focus-visible { outline: 3px solid #468969; outline-offset: 3px; }
fieldset:disabled { opacity: .65; }
#status:not(:empty), #cancel { margin-top: 12px; }
#status { font-size: .9rem; }
aside { background: #e8ebe0; border-left: 1px solid #c9cbbf; }
.illustration { height: 100px; margin-bottom: 15px; }
.monitor { width: 128px; height: 77px; border: 3px solid #334b3c; background: #d8e1cd; padding: 4px; border-radius: 7px; }
.wallpaper { position: relative; overflow: hidden; height: 100%; background: #c9d5ad; border-radius: 2px; }
.wallpaper i,.wallpaper b { position: absolute; width: 140px; height: 120px; border-radius: 44%; transform: rotate(-32deg); background: #859a72; top: 23px; left: -34px; }
.wallpaper b { background: #4b6b55; left: 32px; top: 36px; }
.stand,.foot { background: #334b3c; width: 5px; height: 9px; margin-left: 61px; }
.foot { width: 41px; height: 3px; margin-left: 43px; border-radius: 2px; }
ol { padding-left: 1.15rem; margin-bottom: 17px; font-size: .91rem; }
li { padding: 3px 0 3px 3px; }
summary,a { color: #284e3f; cursor: pointer; font-weight: 600; }
details p { margin: 10px 0; font-size: .9rem; }
#session { width: min(96%, 1800px); margin: 15px auto; }
.toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
#mode { font-size: .8rem; color: #575d52; }
.viewport { background: #191b1c; border-radius: 6px; height: calc(100dvh - 214px); min-height: 180px; display: grid; place-items: center; }
canvas { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; min-height: 0; min-width: 0; touch-action: none; }
.guide { max-width: 780px; }
.guide h2 { margin: 28px 0 8px; }
.guide h1 { margin: 20px 0; }
pre { background: #e6e9df; padding: 14px; overflow: auto; border-radius: 5px; }
@media (max-width: 720px) {
  main { width: 92%; margin: 32px auto; }
  header { height: 55px; padding: 0 4%; }
  .panel { grid-template-columns: 1fr; }
  aside { border-left: 0; border-top: 1px solid #c9cbbf; }
  .illustration { display: none; }
  .row { grid-template-columns: 1fr; }
  .viewport { height: calc(100dvh - 195px); }
}
select { width: 100%; border: 1px solid #b6bbaf; border-radius: 6px; padding: 10px; background: white; color: inherit; font: inherit; margin-bottom: 16px; }
.field { margin: 16px 0; }
