.ops {
  --ops-ink: var(--ink, #222820);
  --ops-muted: #5b6254;
  --ops-paper: #fffef9;
  --ops-line: var(--line, #dfdfd6);
  --ops-orange: var(--orange, #f35423);
  --ops-soft: #f2f3e9;
  color: var(--ops-ink);
  width: min(100%, 780px);
  margin-inline: auto;
  padding: 0 0 24px;
}
.ops *, .ops *::before, .ops *::after { box-sizing: border-box; }
.ops a { text-decoration: none; color: inherit; }
.ops button, .ops input, .ops select, .ops textarea { font: inherit; }
.ops button { cursor: pointer; }
.ops [hidden] { display: none !important; }
.ops-head { margin: 0 0 24px; }
.ops-head h1 { font-size: clamp(1.75rem, 5vw, 2.4rem); line-height: 1.24; margin: 8px 0; letter-spacing: -.05em; }
.ops-head p, .ops-hint { color: var(--ops-muted); line-height: 1.6; margin: 4px 0 0; font-size: .9rem; }
.ops-path { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--ops-muted); font-size: .9rem; }
.ops-path a { display: inline-flex; align-items: center; min-height: 38px; text-decoration: underline; text-underline-offset: 3px; }
.ops-path svg { flex: none; }
.ops-section-title { margin: 24px 0 10px; font-size: 1.05rem; font-weight: 750; }
.ops-menu, .ops-items { display: grid; gap: 8px; }
.ops-menu a, .ops-item {
  background: var(--ops-paper); border: 1px solid var(--ops-line); border-radius: 14px;
  min-height: 70px; padding: 13px 15px; display: flex; align-items: center; gap: 14px;
}
.ops-menu a:hover, .ops-item:hover { border-color: #9eaa8e; }
.ops-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 12px; background: var(--ops-soft); color: #46503c; }
.ops-icon svg, .ops-menu-chevron { width: 22px; height: 22px; }
.ops-menu-label { flex: 1 1 0; min-width: 0; }
.ops-menu-label strong, .ops-menu-label small { display: block; overflow-wrap: anywhere; }
.ops-menu-label strong { font-size: 1rem; line-height: 1.5; font-weight: 720; }
.ops-menu-label small { color: var(--ops-muted); font-size: .875rem; line-height: 1.45; margin-top: 2px; }
.ops-menu-chevron { flex: 0 0 18px; color: #777d6d; }
.ops-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.ops-bar .ops-section-title { margin: 0; }
.ops-btn {
  border-radius: 10px; border: 1px solid var(--ops-line); background: var(--ops-paper);
  color: var(--ops-ink); padding: 9px 14px; display: inline-flex; align-items: center;
  justify-content: center; gap: 6px; min-height: 44px; font-weight: 650;
}
.ops-btn-primary { background: var(--ops-orange); border-color: var(--ops-orange); color: #201f18; }
.ops-btn-text { background: transparent; color: var(--ops-muted); border-color: transparent; padding-inline: 8px; }
.ops-btn[data-busy], .ops button:disabled { opacity: .66; cursor: wait; }
.ops-form {
  padding: clamp(16px, 3.5vw, 28px); background: var(--ops-paper); border: 1px solid var(--ops-line);
  border-radius: 18px; display: grid; gap: 20px; min-width: 0;
}
.ops-field { display: grid; gap: 7px; min-width: 0; font-size: 1rem; }
.ops-field label, .ops-field legend { font-size: .95rem; font-weight: 680; }
.ops-field .ops-hint { font-size: .875rem; margin: 0; }
.ops-field input:not([type="checkbox"],[type="file"]), .ops-field textarea, .ops-field select {
  width: 100%; max-width: 100%; border-radius: 9px; padding: 10px 12px; min-height: 45px; font-size: 1rem;
  border: 1px solid #bdc2b3; color: var(--ops-ink); background: #fff; line-height: 1.45;
}
.ops-field textarea { min-height: 108px; resize: vertical; }
.ops-field select {
  appearance: none; padding-right: 40px;
  background: #fff url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%2346503c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center;
}
.ops :focus-visible { outline: 3px solid #9a410b; outline-offset: 2px; }
.ops-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.ops-fieldset legend { margin: 0 0 7px; padding: 0; }
.ops-checks { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(155px,100%),1fr)); gap: 6px; }
.ops-checks label {
  display: flex; gap: 9px; align-items: center; padding: 8px 10px; min-height: 44px; border: 1px solid var(--ops-line);
  border-radius: 8px; font-weight: 500; overflow-wrap: anywhere; cursor: pointer;
}
.ops-checks input { accent-color: #a4400e; width: 18px; height: 18px; flex: none; }
.ops-checks label:has(input:checked) { border-color: #d28054; background: #fff3e6; }
.ops-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 9px; }
.ops-actions .ops-btn-primary { padding-inline: 20px; }
.ops-notice { margin: 0; border-left: 3px solid #a34c22; padding: 9px 12px; background: #fff2e2; color: #642e11; line-height: 1.55; }
.ops-result { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 12px 14px; margin: 0 0 14px; border-radius: 10px; background: #eaf2e3; color: #33432e; }
.ops-result a { font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.ops-qr-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.ops-qr-wrap img { width: 96px; height: 96px; object-fit: contain; border: 1px solid var(--ops-line); border-radius: 8px; background: #fff; }
.ops-upload-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.ops-upload-actions label { cursor: pointer; }
.ops-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ops-upload-actions input:focus-visible + label { outline: 3px solid #9a410b; outline-offset: 2px; }
.ops-logout { margin-top: 18px; }
@media (min-width: 680px) {
  .ops-menu { grid-template-columns: 1fr 1fr; }
}
