:root {
  color-scheme: light;
  --bg: #f5f7f5;
  --white: #fff;
  --ink: #152d29;
  --muted: #526862;
  --line: #dce5e0;
  --green: #12685b;
  --deep: #0b5045;
  --pale: #e5f2eb;
  --warm: #fff1d8;
  --orange: #884814;
  --red: #a13939;
  --focus: #196bca;
  font: 15px/1.55 system-ui, -apple-system, "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
}
* {box-sizing:border-box}
body {margin:0;background:var(--bg);color:var(--ink)}
h1,h2,h3,p,figure {margin:0}
h1,h2,h3 {line-height:1.25;letter-spacing:-.045em}
a {color:inherit;text-decoration:none}
button,input,textarea,select {font:inherit}
button:disabled {cursor:not-allowed;opacity:.6}
button {cursor:pointer}
img {max-width:100%;display:block}
:focus-visible {outline:2px solid var(--focus);outline-offset:3px}
[hidden] {display:none!important}
.shell {width:min(1180px, calc(100% - 56px));margin-inline:auto}
.site-header {border-bottom:1px solid var(--line);background:var(--white)}
.header-inner {display:flex;min-height:76px;align-items:center;justify-content:space-between;gap:16px}
.brand {display:inline-flex;align-items:center;gap:11px;font-size:17px;font-weight:780;line-height:1.2;letter-spacing:-.035em}
.brand small {display:block;margin-top:5px;color:var(--muted);font-size:9px;letter-spacing:.15em}
.brand-logo {width:214px;height:auto}
.brand-mark {width:40px;height:40px;flex:none}
.btn {border:1px solid transparent;border-radius:9px;padding:9px 15px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:700;cursor:pointer;white-space:nowrap;line-height:1.25}
.btn.primary {background:var(--green);color:white}
.btn.primary:hover {background:var(--deep)}
.btn.quiet {background:var(--white);border-color:var(--line);color:var(--ink)}
.btn.quiet:hover {background:var(--pale)}
.btn.danger {background:#fff8f8;color:var(--red);border-color:#eccaca}
.panel {background:var(--white);border:1px solid var(--line);border-radius:17px;padding:26px}
.fields {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.fields .wide {grid-column:1/-1}
label {display:block;font-size:14px;font-weight:690}
label > :is(input:not([type="checkbox"]),textarea,select) {width:100%;margin-top:6px}
input:not([type="checkbox"]),textarea,select {min-height:44px;padding:9px 11px;border:1px solid #c9d7cf;border-radius:8px;background:white;color:var(--ink)}
textarea {resize:vertical}
input[type="checkbox"] {width:18px;height:18px;accent-color:var(--green);flex:none}
.actions {display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.message {margin:12px 0;padding:12px 14px;border-radius:8px;background:var(--pale);color:var(--deep);overflow-wrap:anywhere}
.message.error {background:#fff0f0;color:var(--red)}
.subtle {color:var(--muted)}
@media(max-width:650px) {
  .shell {width:calc(100% - 32px)}
  .header-inner {min-height:64px}
  .brand {font-size:15px}
  .brand-logo {width:clamp(146px,46vw,178px)}
  .brand-mark {width:35px;height:35px}
  .panel {padding:18px}
}
