@font-face { font-family: 'Wooltari Sans'; src: url(/vendor/WooltariSans-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Wooltari Sans'; src: url(/vendor/WooltariSans-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Wooltari Sans'; src: url(/vendor/WooltariSans-800.woff2) format('woff2'); font-weight: 800; font-display: swap; }

/* 배포판/web/app.css의 기본 색상, 글꼴, 버튼, 패널 크기 */
:root {
  color-scheme: light;
  --bg: #fff;
  --soft: #f4f6f8;
  --line: #e6e8ec;
  --line2: #d5d9e0;
  --ink: #1d2433;
  --sub: #4d5566;
  --faint: #737a8a;
  --acc: #14a06f;
  --acc-d: #0c7a54;
  --acc-soft: #e3f6ee;
  --danger-soft: #fdecea;
  --r: 14px;
  --rc: 20px;
  --shadow: 0 2px 10px rgba(29, 36, 51, .06);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font: 17px/1.6 'Wooltari Sans', 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif; color: var(--ink); background: var(--bg); word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
.top { min-height: 64px; padding: 0 24px; position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; background: var(--bg); box-shadow: 0 1px 0 var(--line); }
.logo { display: inline-flex; align-items: center; gap: 8px; font-size: 21px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.mark { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--acc); color: #fff; }
.build { font-size: 14px; color: var(--sub); }
.layout { padding: 28px 384px 72px 24px; }
.layout:has(aside[hidden]) { padding-right: 24px; }
main { max-width: 760px; margin: 0 auto; }
h1, h2, p { margin-top: 0; }
h1 { font-size: 25px; line-height: 1.3; margin-bottom: 8px; letter-spacing: -.02em; font-weight: 800; }
h2 { font-size: 21px; line-height: 1.35; letter-spacing: -.02em; font-weight: 800; }
section { background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--rc); padding: 22px; margin-bottom: 16px; }
aside { position: fixed; top: 64px; right: 0; bottom: 0; width: 360px; z-index: 18; padding: 20px 20px 40px; overflow: auto; border-left: 1.5px solid var(--line); box-shadow: -8px 0 24px rgba(29, 36, 51, .06); background: var(--bg); }
aside h2 { margin: 16px 0 10px; }
#guide-steps { margin: 8px 0 20px; padding: 0; list-style: none; }
#guide-steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 9px; padding: 10px 0; }
#guide-steps li + li { border-top: 1px solid var(--line); }
.step-number { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; color: var(--acc-d); background: var(--acc-soft); font-size: 14px; font-weight: 800; }
.step-instruction { font-weight: 800; }
.step-reason { display: block; color: var(--sub); font-size: 15px; }
#guide-details summary { font-size: 15px; font-weight: 700; cursor: pointer; }
#guide-more { padding-left: 22px; font-size: 15px; }
#guide-more li + li { margin-top: 5px; }
#google-warning-help, #script-permission-help { border-top: 1px solid var(--line); padding-top: 14px; color: var(--sub); font-size: 15px; }
#google-warning-help summary { cursor: pointer; font-weight: 800; color: var(--ink); }
#google-warning-help ol, #script-permission-help ol { padding-left: 23px; margin: 8px 0 12px; }
#google-warning-help li + li, #script-permission-help li + li { margin-top: 7px; }
#google-warning-help p, #script-permission-help p { margin: 8px 0; }
#script-permission-help h3 { margin: 0; font-size: 17px; color: var(--ink); }
.manual-drive { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 16px; }
.manual-drive summary { font-weight: 700; cursor: pointer; }
.manual-drive > label, .manual-drive > p { margin-top: 12px; }
.quota { margin: 12px 0; }
.quota div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.quota dd { margin: 0; font-weight: 800; text-align: right; }
#progress, .hint { color: var(--sub); font-size: 15px; }
.progress-bar { height: 6px; background: var(--line); border-radius: 4px; margin: 7px 0; }
.progress-bar span { display: block; width: 25%; height: 100%; background: var(--acc); border-radius: 4px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
button, .button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; background: var(--acc-d); color: white; padding: 7px 16px; border: 1.5px solid var(--acc-d); border-radius: var(--r); font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
button.secondary, .button.secondary { color: var(--ink); background: var(--bg); border-color: var(--line2); }
button:hover:not(:disabled), .button:hover { filter: brightness(.93); }
button:disabled { opacity: .45; cursor: default; }
textarea, input:not([type=file]) { width: 100%; min-height: 46px; border: 1.5px solid var(--line2); border-radius: var(--r); background: var(--bg); color: inherit; padding: 9px 14px; font: inherit; margin: 5px 0 12px; }
textarea { resize: vertical; }
label, output { display: block; font-weight: 700; }
output { margin-bottom: 6px; color: var(--acc-d); }
a { color: var(--acc-d); text-underline-offset: 3px; }
input[type=file] { display: block; margin: 6px 0 13px; max-width: 100%; }
#invite-panel { margin-top: 16px; padding: 16px; background: var(--soft); border-radius: var(--r); }
#qr { object-fit: contain; image-rendering: pixelated; max-width: 100%; }
#student-link { display: inline-block; margin-left: 10px; }
#status:empty { display: none; }
#status { padding: 11px 15px; border-radius: var(--r); background: var(--acc-soft); white-space: pre-line; }
#status.error { background: var(--danger-soft); color: #822d21; }
#posts { list-style: none; padding-left: 0; margin-bottom: 0; }
#posts li:has(button) { border-radius: var(--rc); padding: 14px; box-shadow: var(--shadow); background: #fff6dc; }
#posts li:nth-child(2n):has(button) { background: #e6f4ff; }
#posts li + li { margin-top: 12px; }
#posts img { display: block; max-width: 100%; max-height: 350px; margin-top: 8px; border-radius: var(--r); }
:focus-visible { outline: 3px solid #ffbf3c; outline-offset: 2px; }
@media (max-width: 880px) {
  .layout, .layout:has(aside[hidden]) { display: flex; flex-direction: column; padding: 22px 18px 60px; gap: 14px; }
  main, aside { max-width: 760px; width: 100%; margin: 0 auto; }
  aside { position: static; order: -1; border: 1.5px solid var(--line); border-radius: var(--rc); padding: 18px; box-shadow: none; }
  section { padding: 18px; }
}
