/* 기본 규칙 — doono(feature/goono-v2 4a9e819e6)의 font-style·style·base·layout·bs-reset 가운데 전역 몫을 고쳐 옮긴다(1b D1~D10).
   style.css(3,544줄)는 싣지 않는다. 원천의 !important 는 우리가 원천 전역을 싣지 않거나 경쟁 선언이 없어 모두 뺐다.
   우리 것으로 둔 차이(운영자 승인 2026-11-30): 목록 초기화는 셸·부품 선택자에만(전역 ul,ol,li 없음), label 여백은 전역이 아님,
   비활성 회색에서 체크·라디오 제외. 접근성 장치(:focus-visible 외곽선·건너뛰기·동작 줄이기)는 유지한다. */
html { background:#f8f9fa; }                                                     /* 원천 style.css 3~5(rgb(248,249,250)) — body 도 같은 값(두 색 겹침 없음, 1b 구현 검토) */
/* 본문 — 원천 font-style.css 100~114: 16/24px, 자간 -0.7px, 글자색 #212529(원천 화면값 — 토큰을 이기던 !important 는 뺌) */
body { margin:0; font-family:'Noto Sans','Malgun Gothic',Dotum,Helvetica,'Apple SD Gothic Neo',sans-serif; font-size:1rem; line-height:1.5rem; letter-spacing:-0.7px; color:#212529; background:#f8f9fa; -webkit-font-smoothing:antialiased; }
/* 링크 — 원천 style.css 7~13·layout.css 22~24. 클래스가 색을 정하는 링크(.btn·.gn-link·.dropdown-item·.nav-link)는 특이도로 그 색을 지킨다.
   마우스 올림 흐림은 키보드 포커스가 함께 있을 때 걸지 않는다 — 포커스 외곽선의 대비를 흐리지 않게(1b 재확인 R6) */
a { color:#495057; text-decoration:none; }
/* 링크 단추(a.btn)는 단추라 마우스 올림에 밑줄을 긋지 않는다 — doono 는 단추를 <button> 으로 그려 전역 밑줄이 닿지 않았다(피드백 1차 F14,
   운영자 결정 2026-12-02 — 두 앱의 링크 단추 전체). 특이도가 Bootstrap .btn 의 none 을 이기던 전역 규칙에서 단추를 뺀다.
   :where 로 감싸 특이도는 예전 a:hover(0,1,1) 그대로 — 밑줄을 끄던 다른 링크 규칙(.goono-brand:hover 등)이 계속 이긴다 */
a:where(:not(.btn)):hover { text-decoration:underline; }
a:hover:not(:focus-visible) { opacity:.8; }
a:active { box-shadow:none; }
button,input,select,textarea { font:inherit; }
:focus-visible { outline:3px solid var(--gn-blue-500); outline-offset:3px; }
/* 단추 포커스 링 — 마우스 포커스만 지우고 키보드(:focus-visible)는 남긴다(원천 components/bs-reset.css 58~79) */
.btn-check:focus:not(:focus-visible) + .btn,
.btn:focus:not(:focus-visible) { outline:0; box-shadow:none; }
/* 무변형 .btn 의 누름·비활성 상태 대체값(원천 base.css 33~48) — 변수를 정의한 변형은 그 값을 그대로 쓴다 */
.btn-check:checked + .btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check) + .btn:active {
    color:var(--bs-btn-active-color, var(--bs-btn-color)); background-color:var(--bs-btn-active-bg, var(--bs-btn-bg)); border-color:var(--bs-btn-active-border-color, var(--bs-btn-border-color)); }
.btn:disabled, .btn.disabled, fieldset:disabled .btn {
    color:var(--bs-btn-disabled-color, var(--bs-btn-color)); background-color:var(--bs-btn-disabled-bg, var(--bs-btn-bg)); border-color:var(--bs-btn-disabled-border-color, var(--bs-btn-border-color)); }
/* 라벨 굵기(원천 base.css 164~169) — 여백은 전역으로 걸지 않는다(폼 칸 묶음 .gn-field 만) */
label:not(.form-check-label):not(.form-check-label2):not(.custom-file-label) { font-weight:var(--gn-font-weight-medium); }
/* 비활성·읽기 전용 칸(원천 base.css 139~153 토큰 판) — 체크·라디오(.form-check-input)는 체크 상태가 함께 보이게 뺀다 */
input:disabled:not(.form-check-input), select:disabled, textarea[readonly] { pointer-events:none; border:var(--gn-border-hairline) solid var(--gn-gray-200); background:var(--gn-gray-200); color:var(--gn-gray-500); }
select:disabled { opacity:1; }
input[readonly]:not(.form-check-input) { border:var(--gn-border-hairline) solid var(--gn-color-bg-subtle); background:var(--gn-color-bg-subtle); }
/* 검색 입력의 지우기(×) — 원천 base.css 174~190. 자체 지우기 단추가 있는 .gn-search 는 gn-controls.css 가 숨긴다 */
input[type='search'] { -webkit-appearance:none; appearance:none; }
input[type='search']::-webkit-search-decoration { -webkit-appearance:none; }
input[type='search']::-webkit-search-cancel-button { -webkit-appearance:none; width:1rem; height:1rem; margin-left:var(--gn-space-2); background-color:var(--gn-gray-400); cursor:pointer;
    -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0M5.354 4.646a.5.5 0 1 0-.708.708L7.293 8l-2.647 2.646a.5.5 0 0 0 .708.708L8 8.707l2.646 2.647a.5.5 0 0 0 .708-.708L8.707 8l2.647-2.646a.5.5 0 0 0-.708-.708L8 7.293z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0M5.354 4.646a.5.5 0 1 0-.708.708L7.293 8l-2.647 2.646a.5.5 0 0 0 .708.708L8 8.707l2.646 2.647a.5.5 0 0 0 .708-.708L8.707 8l2.647-2.646a.5.5 0 0 0-.708-.708L8 7.293z'/%3E%3C/svg%3E") center / contain no-repeat; }
input[type='search']::-webkit-search-cancel-button:hover { background-color:var(--gn-gray-600); }

/* ── 우리에게만 있는 것 ─────────────────────────────────────────────────────────────── */
[hidden] { display:none !important; }
.goono-skip { position:fixed; z-index:1100; inset:.5rem auto auto 1rem; transform:translateY(-200%); padding:.75rem 1rem; background:var(--gn-color-bg-surface); border:1px solid var(--gn-blue-500); border-radius:var(--gn-radius-md); }
.goono-skip:focus { transform:none; }
.goono-brand { display:inline-flex; align-items:center; gap:.625rem; color:var(--gn-color-text-primary); font-weight:700; white-space:nowrap; }
.goono-brand img { width:auto; height:1.5rem; }
.goono-brand:hover { text-decoration:none; }
.goono-brand-suffix { padding-left:.625rem; border-left:1px solid var(--gn-color-border-default); font-size:.8125rem; color:var(--gn-color-text-muted); }
.goono-flash { margin-bottom:1rem; }
.goono-toast-region { position:fixed; z-index:1090; inset:auto 1rem 1.5rem; pointer-events:none; }
.goono-toast-region > * { pointer-events:auto; }
.goono-toast-dismiss { border:0; background:transparent; margin-left:.75rem; color:inherit; }
.goono-field-error { margin-top:.375rem; color:var(--gn-color-danger); font-size:.8125rem; }
.goono-busy-spinner { margin-right:.5rem; }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto !important; animation-duration:.01ms !important; transition-duration:.01ms !important; animation-iteration-count:1 !important; } }

.gn-field > label { font-weight:var(--gn-font-weight-medium); }

/* 잠금 중에도 단추 폭을 유지한다. 원래 이름은 접근성 트리에 남는다. */
.goono-submit-busy { cursor:wait; opacity:.75; }
.goono-slot-person { min-width:6rem; flex-basis:40%; }
button.btn.goono-submit-busy { position:relative; color:transparent; }
button.btn.goono-submit-busy > :not(.goono-busy-spinner) { visibility:hidden; }
button.btn.goono-submit-busy > .goono-busy-spinner { position:absolute; left:calc(50% - .5rem); top:calc(50% - .5rem); margin:0; color:var(--bs-btn-color,var(--gn-blue-700)); }

/* 원천 일반 틀에서 실제 쓰는 스크롤바 폭/색(layout.css 8~20). */
::-webkit-scrollbar { width:.438rem; height:.438rem; }
::-webkit-scrollbar-thumb { background:#bfbfbf; }
::-webkit-scrollbar-track { background:transparent; }
