.admin-body { min-height: 100vh; background: #f3f1e8; }
.admin-topbar { position: sticky; top: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; min-height: 68px; padding: 0 28px; border-bottom: 1px solid var(--line); background: rgba(251,250,245,.96); backdrop-filter: blur(12px); }
.admin-top-actions { display: flex; align-items: center; gap: 10px; }.admin-top-actions span { font-size: 13px; font-weight: 800; }
.admin-login { display: grid; place-items: center; min-height: calc(100vh - 68px); padding: 28px; }
.admin-login-card { display: grid; grid-template-columns: .95fr 1.05fr; width: min(920px, 100%); overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: var(--shadow); }
.admin-login-info { display:grid; grid-template-columns:1fr 1fr; align-content:center; gap:12px; min-height:540px; padding:34px; background:#e4eddf; }.admin-login-info img { grid-column:1/-1; width:100%; margin-bottom:4px; }.admin-login-info strong { grid-column:1/-1; margin-bottom:4px; color:#173d29; font-size:28px; }.admin-login-info span { padding:14px 10px; border:1px solid #b8c9b6; border-radius:10px; background:#fbfaf5; color:#285a3a; text-align:center; font-weight:850; }
.admin-login-card form { display: grid; align-content: center; gap: 17px; padding: 54px; }.admin-login-card h1 { font-size: 52px; }.admin-login-card form > p:not(.eyebrow,.status) { margin: -8px 0 8px; color: var(--muted); }
.admin-login-card input { width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; }
.admin-shell { display: grid; grid-template-columns: 238px minmax(0,1fr); min-height: calc(100vh - 68px); }
.admin-sidebar { position: sticky; top: 68px; align-self: start; height: calc(100vh - 68px); padding: 24px 16px; border-right: 1px solid #d4d3c9; background: #183d29; color: white; }
.admin-side-title { display: grid; gap: 1px; padding: 4px 12px 22px; border-bottom: 1px solid rgba(255,255,255,.15); }.admin-side-title span { font-size: 19px; font-weight: 900; }.admin-side-title small { color: #bed0c2; }
.admin-sidebar button { width: 100%; min-height: 44px; margin-top: 8px; padding: 0 13px; border: 0; border-radius: 9px; background: transparent; color: #e7efe9; text-align: left; font-weight: 800; cursor: pointer; }.admin-sidebar button:hover,.admin-sidebar button.active { background: #f0ead7; color: #173d29; }
.admin-content { width: 100%; max-width: 1480px; margin: 0 auto; padding: 48px clamp(24px,4vw,64px) 90px; }
.admin-view { animation: admin-fade .18s ease; }@keyframes admin-fade { from { opacity:.4; transform:translateY(4px); } }
.admin-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px; }.admin-heading h1 { font-size: clamp(38px,5vw,64px); }.admin-heading > p { max-width: 480px; margin: 0 0 8px; color: var(--muted); }
.summary-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; margin-bottom: 20px; }.summary-grid article { display: grid; gap: 3px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 10px 28px rgba(39,51,42,.06); }.summary-grid span { color: var(--muted); font-size: 13px; font-weight: 800; }.summary-grid strong { color: var(--green); font-family: Georgia,"Nanum Myeongjo",serif; font-size: 42px; }.summary-grid small { color: var(--muted); }
.admin-panel { padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: var(--shadow); }
.admin-intro { display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; min-height: 280px; overflow: hidden; }.admin-intro h2 { margin: 0 0 8px; font-size: 28px; }.admin-intro p { max-width: 660px; color: var(--muted); }.admin-rule-list { display:grid; gap:10px; margin:0; }.admin-rule-list div { padding:12px 14px; border:1px solid var(--line); border-radius:10px; background:#f8f6ee; }.admin-rule-list dt { color:var(--green); font-size:12px; font-weight:850; }.admin-rule-list dd { margin:2px 0 0; font-weight:800; }
.admin-search { display:flex; align-items:end; gap:10px; margin-bottom:16px; }.admin-search label { min-width:min(360px,100%); }.admin-search input { width:100%; min-height:42px; padding:0 12px; border:1px solid var(--line); border-radius:8px; background:white; }
.table-action.secondary { margin-left:6px; background:#f0ead7; color:#173d29; }.table-action.secondary:disabled { opacity:.45; }
.site-settings { display:grid; gap:0; max-width:900px; }.setting-row { display:flex; justify-content:space-between; align-items:center; gap:24px; padding:20px 0; border-bottom:1px solid var(--line); }.setting-row span { display:grid; gap:3px; }.setting-row small { color:var(--muted); }.setting-row input { width:22px; height:22px; accent-color:var(--green); }.notice-field { display:grid; gap:8px; padding:22px 0; }.notice-field textarea { width:100%; padding:12px; resize:vertical; border:1px solid var(--line); border-radius:9px; font:inherit; }.site-settings .action-button { justify-self:start; }
.feature-policy-grid { display: grid; gap: 14px; }.policy-card { display: grid; overflow:hidden; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 8px 24px rgba(39,51,42,.06); }.policy-head { display: flex; justify-content: space-between; align-items:center; gap: 18px; padding:18px 20px; }.policy-title { display:flex; align-items:center; gap:14px; min-width:0; }.policy-title img { flex:0 0 auto; width:54px; height:54px; padding:8px; border:1px solid #cdd9ca; border-radius:13px; background:#eef4ea; }.policy-head h2 { margin: 0; font-size: 21px; }.policy-head p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }.policy-head-actions { display:flex; align-items:center; gap:10px; }.policy-switch { display: flex; align-items: center; gap: 7px; min-height:38px; padding:0 11px; border:1px solid #b9c9b7; border-radius:9px; background:#f4f8f1; white-space: nowrap; }.policy-switch input { width: 19px; height: 19px; accent-color: var(--green); }.policy-detail-button { min-height:38px; padding:0 13px; border:1px solid var(--line); border-radius:9px; background:var(--cream); color:var(--ink); font-weight:800; cursor:pointer; }.policy-detail-button:disabled { opacity:.45; cursor:not-allowed; }.policy-detail-panel { display:grid; gap:16px; padding:20px; border-top:1px solid var(--line); background:#fbfaf6; }.group-policy-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }.group-policy { display:grid; gap:12px; padding:15px; border:1px solid #d5dbd0; border-radius:12px; background:white; }.group-policy > div { display:flex; justify-content:space-between; align-items:center; gap:10px; }.group-switch { display:flex; align-items:center; gap:5px; font-size:12px; }.group-switch input { width:17px; height:17px; accent-color:var(--green); }.group-policy label { font-size:12px; }.group-policy input[type="number"] { width:100%; min-height:40px; padding:0 10px; border:1px solid var(--line); border-radius:8px; }.policy-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }.policy-grid input,.policy-grid select { width: 100%; min-height: 42px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; }.policy-card .action-button { width: 100%; }
.feature-toolbar { display:flex; flex-wrap:wrap; align-items:end; gap:10px; margin-bottom:16px; padding:16px; border:1px solid var(--line); border-radius:14px; background:#fbfaf6; }.feature-toolbar label { display:grid; gap:5px; min-width:min(300px,100%); color:var(--green); font-size:12px; font-weight:850; }.feature-toolbar input,.feature-toolbar select { min-height:42px; padding:0 11px; border:1px solid var(--line); border-radius:8px; background:white; }.feature-toolbar span { margin-left:auto; padding-bottom:10px; color:var(--muted); font-size:13px; font-weight:800; }
.job-summary { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-bottom:16px; }.job-summary article { padding:17px; border:1px solid var(--line); border-radius:13px; background:white; }.job-summary span { display:block; color:var(--muted); font-size:12px; font-weight:800; }.job-summary strong { color:var(--green); font-size:28px; }.job-card-grid { display:grid; gap:12px; }.job-card { display:grid; grid-template-columns:minmax(180px,.7fr) minmax(240px,1fr) auto; align-items:center; gap:18px; padding:18px; border:1px solid var(--line); border-radius:15px; background:white; box-shadow:0 8px 24px rgba(39,51,42,.05); }.job-card h2 { margin:0 0 5px; font-size:18px; }.job-card p { margin:3px 0; color:var(--muted); font-size:13px; overflow-wrap:anywhere; }.job-progress { display:grid; gap:6px; }.job-progress progress { width:100%; height:14px; accent-color:var(--green); }.job-progress strong { color:var(--green); font-size:13px; }.job-status { justify-self:start; padding:5px 9px; border-radius:999px; background:#e8f0e5; color:var(--green); font-size:12px; font-weight:850; }.job-status.failed,.job-status.interrupted { background:#fff0ed; color:#8c332d; }.job-status.cancelled { background:#eee; color:#555; }
.job-admin-actions { display:grid; gap:7px; min-width:150px; }.job-admin-actions select { min-height:38px; padding:0 8px; border:1px solid var(--line); border-radius:8px; background:white; }
.policy-details { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:0; padding:16px; border:1px solid var(--line); border-radius:12px; background:#fafbf8; }.policy-details legend { padding:0 7px; color:var(--green); font-weight:850; }.policy-details > label { display:flex; align-items:center; gap:8px; min-height:38px; font-size:13px; }.policy-details input[type="checkbox"] { width:18px; height:18px; accent-color:var(--green); }.policy-details input[type="number"] { width:110px; min-height:38px; padding:0 8px; border:1px solid var(--line); border-radius:7px; }.policy-choice-group { grid-column:1/-1; display:flex; flex-wrap:wrap; gap:8px 14px; padding:10px 0; }.policy-choice-group strong { width:100%; }.policy-choice-group label { display:flex; align-items:center; gap:5px; font-size:12px; }
.empty-row { padding: 24px; color: var(--muted); text-align: center; }.audit-table { min-width: 900px; }.audit-table td:last-child { max-width: 520px; white-space: normal; overflow-wrap: anywhere; }
.user-detail { margin-top:18px; scroll-margin-top:90px; }.detail-heading { display:flex; justify-content:space-between; align-items:start; gap:16px; }.detail-heading h2 { margin:2px 0 0; }.detail-summary { margin:16px 0; padding:13px 15px; border-radius:10px; background:#eaf1e5; color:#214d32; font-weight:850; }.detail-columns { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }.detail-columns > div { min-width:0; padding:15px; border:1px solid var(--line); border-radius:12px; background:#fbfaf6; }.detail-columns h3 { margin:0 0 10px; font-size:16px; }.detail-list { display:grid; gap:7px; }.detail-list p { margin:0; padding:9px; border-radius:7px; background:white; color:var(--muted); font-size:12px; overflow-wrap:anywhere; }
.group-admin-layout { display:grid; grid-template-columns:minmax(300px,.75fr) minmax(0,1.25fr); gap:18px; align-items:start; }.group-form { position:sticky; top:92px; display:grid; gap:14px; }.group-form > label { display:grid; gap:6px; font-weight:800; }.group-form input:not([type="checkbox"]),.group-form textarea { width:100%; padding:10px 11px; border:1px solid var(--line); border-radius:8px; font:inherit; }.form-actions { display:flex; flex-wrap:wrap; gap:8px; }.group-card-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }.group-admin-card { display:grid; gap:8px; padding:20px; border:1px solid var(--line); border-radius:15px; background:white; box-shadow:0 8px 24px rgba(39,51,42,.05); }.group-admin-card h2 { margin:0; }.group-admin-card code { justify-self:start; padding:3px 7px; border-radius:5px; background:#eef3e9; color:#285a3a; }.group-admin-card p { min-height:38px; margin:0; color:var(--muted); }.group-admin-card dl { display:grid; grid-template-columns:repeat(3,1fr); gap:6px; margin:4px 0; }.group-admin-card dl div { padding:9px; border-radius:8px; background:#f7f4ea; }.group-admin-card dt { color:var(--muted); font-size:11px; }.group-admin-card dd { margin:2px 0 0; font-weight:900; }.quiet-button.danger { color:#8a2f2f; }
@media (max-width:1000px) { .summary-grid { grid-template-columns: repeat(2,1fr); }.group-policy-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.group-admin-layout { grid-template-columns:1fr; }.group-form { position:static; }.detail-columns { grid-template-columns:1fr; }.job-card { grid-template-columns:1fr; }.job-summary { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:760px) { .admin-topbar { padding: 0 14px; }.admin-top-actions span { display:none; }.admin-shell { grid-template-columns: 1fr; }.admin-sidebar { position: sticky; top:68px; z-index:10; display:flex; gap:6px; width:100%; height:auto; overflow-x:auto; padding:10px; border-right:0; }.admin-side-title { display:none; }.admin-sidebar button { flex:0 0 auto; width:auto; margin:0; padding:0 12px; }.admin-content { padding:32px 16px 70px; }.admin-heading { align-items:start; flex-direction:column; gap:8px; }.admin-login-card { grid-template-columns:1fr; }.admin-login-card > img { min-height:220px; max-height:260px; }.admin-login-card form { padding:30px 24px; }.admin-login-card h1 { font-size:42px; }.admin-intro { grid-template-columns:1fr; }.admin-intro img { max-height:190px; }.policy-grid { grid-template-columns:repeat(2,1fr); }.policy-grid label:first-child { grid-column:1/-1; }.summary-grid { grid-template-columns:1fr 1fr; }.admin-search { align-items:stretch; flex-direction:column; }.admin-search label { min-width:0; }.setting-row { align-items:flex-start; } }
@media (max-width:440px) { .summary-grid,.policy-grid { grid-template-columns:1fr; }.policy-grid label:first-child { grid-column:auto; }.admin-top-actions .quiet-button:first-child { display:none; } }
@media (max-width:760px) { .admin-login-info { min-height:auto; padding:28px 24px; } }
@media (max-width:620px) { .policy-head { align-items:flex-start; flex-direction:column; }.policy-head-actions { width:100%; justify-content:space-between; }.policy-title img { width:48px; height:48px; } }
@media (max-width:620px) { .group-card-grid,.group-policy-grid { grid-template-columns:1fr; } }
@media (max-width:620px) { .feature-toolbar { align-items:stretch; flex-direction:column; }.feature-toolbar label { min-width:0; width:100%; }.feature-toolbar span { margin:0; padding:0; }.job-summary { grid-template-columns:1fr 1fr; }.responsive-table table,.responsive-table tbody,.responsive-table tr,.responsive-table td { display:block; width:100%; }.responsive-table thead { display:none; }.responsive-table tr { margin-bottom:12px; padding:13px; border:1px solid var(--line); border-radius:12px; background:white; }.responsive-table td { display:grid; grid-template-columns:100px 1fr; gap:10px; padding:8px 0; border:0; }.responsive-table td::before { content:attr(data-label); color:var(--green); font-size:12px; font-weight:850; }.responsive-table td select { width:100%; }.responsive-table td:last-child { grid-template-columns:1fr; }.responsive-table td:last-child::before { display:none; }.responsive-table .table-action { margin:3px 5px 3px 0; } }
