/* 시운논술 홈페이지 화면 (테마 글꼴·색을 최대한 따라감) */
.siwoon { --sw-navy:#23407A; --sw-navy-soft:#E3EAF7; --sw-red:#C8402F; --sw-red-soft:#FBE7E3; --sw-line:rgba(0,0,0,.12); --sw-muted:rgba(0,0,0,.58); --sw-surface:#fff;
	max-width:720px; margin:0 auto; box-sizing:border-box; }
.siwoon *, .siwoon *::before, .siwoon *::after { box-sizing:border-box; }
.siwoon [hidden] { display:none !important; }
.siwoon-card { background:var(--sw-surface); border:1px solid var(--sw-line); border-radius:12px; padding:22px; }
.siwoon-form p { margin:0 0 14px; display:flex; flex-direction:column; gap:5px; }
.siwoon-form label { font-weight:600; font-size:14px; }
.siwoon-form input[type=text], .siwoon-form input[type=email], .siwoon-form input[type=tel], .siwoon-form input[type=password], .siwoon-form select,
.siwoon-loginbox input[type=text], .siwoon-loginbox input[type=password] { width:100%; padding:11px 12px; font-size:16px; border:1px solid var(--sw-line); border-radius:8px; background:#fff; color:inherit; }
.siwoon-help { font-size:12.5px; color:var(--sw-muted); }
.siwoon-row2 { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
@media (max-width:520px){ .siwoon-row2 { grid-template-columns:1fr; } }
.siwoon-type { border:0; padding:0; margin:0 0 16px; display:flex; gap:10px; }
.siwoon-type legend { font-weight:600; font-size:14px; margin-bottom:6px; padding:0; }
.siwoon-type label { flex:1; display:flex; align-items:center; justify-content:center; gap:6px; padding:12px; border:1px solid var(--sw-line); border-radius:8px; cursor:pointer; font-weight:600; }
.siwoon-type label:has(input:checked) { border-color:var(--sw-navy); background:var(--sw-navy-soft); color:var(--sw-navy); }
.siwoon-hp { position:absolute !important; left:-9999px; }
.siwoon-agree { background:rgba(0,0,0,.035); border-radius:8px; padding:12px 14px; margin-bottom:16px; font-size:13px; }
.siwoon-agree p { display:block; margin:0 0 8px; color:var(--sw-muted); }
.siwoon-agree label { font-weight:600; }
.siwoon-errors { background:var(--sw-red-soft); color:var(--sw-red); border-radius:8px; padding:10px 14px; margin-bottom:16px; font-size:14px; }
.siwoon-errors.is-info { background:var(--sw-navy-soft); color:var(--sw-navy); }
.siwoon-errors ul { margin:0; padding-left:18px; }
.siwoon-btn, .siwoon-loginbox .button-primary, .siwoon-loginbox input[type=submit] { display:inline-block; background:var(--sw-navy); color:#fff !important; border:0; border-radius:8px; padding:11px 20px; font-size:15px; font-weight:600; text-decoration:none; cursor:pointer; }
.siwoon-btn-wide, .siwoon-loginbox input[type=submit] { width:100%; }
.siwoon-loginbox form p { margin:0 0 12px; }
.siwoon-loginbox label { display:block; font-weight:600; font-size:14px; margin-bottom:5px; }
.siwoon-loginbox .login-remember label { display:inline; font-weight:400; }
.siwoon-small { font-size:13px; color:var(--sw-muted); text-align:center; }
.siwoon-actions { display:flex; flex-wrap:wrap; gap:12px; align-items:center; }
.siwoon-link { font-size:14px; }
.siwoon-done h3 { margin-top:0; }

/* 내 답안지 */
.siwoon-who { font-weight:700; font-size:17px; margin:0 0 10px; }
.siwoon-kids { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:16px; }
.siwoon-kids a { padding:6px 14px; border:1px solid var(--sw-line); border-radius:999px; text-decoration:none; font-weight:600; }
.siwoon-kid { margin-bottom:32px; }
.siwoon-month { font-size:12.5px; letter-spacing:.06em; color:var(--sw-muted); margin:22px 0 8px; font-weight:700; }
.siwoon-groups { display:flex; flex-direction:column; gap:10px; }
.siwoon-group { border:1px solid var(--sw-line); border-radius:12px; background:var(--sw-surface); overflow:hidden; }
.siwoon-group header { display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding:12px 14px; border-bottom:1px solid var(--sw-line); }
.siwoon-group h5 { margin:0; font-size:15px; flex:1; min-width:0; }
.siwoon-count { font-size:12px; font-weight:700; color:var(--sw-navy); background:var(--sw-navy-soft); border-radius:4px; padding:2px 7px; }
.siwoon-new { font-size:11px; font-weight:700; color:var(--sw-red); border:1px solid var(--sw-red); border-radius:4px; padding:0 5px; }
.siwoon-files { list-style:none; margin:0; padding:0; }
.siwoon-files li { display:flex; align-items:center; border-top:1px solid var(--sw-line); }
.siwoon-files li:first-child { border-top:0; }
.siwoon-files li > a:first-child { flex:1; display:flex; align-items:center; gap:12px; padding:12px 14px; text-decoration:none; color:inherit; min-width:0; }
.siwoon-files li > a:first-child:hover .siwoon-fname { text-decoration:underline; }
.siwoon-sheet-ico { width:26px; height:34px; flex:none; border:1px solid var(--sw-line); border-radius:3px; background-color:#fff;
	background-image:linear-gradient(rgba(35,64,122,.1) 1px,transparent 1px),linear-gradient(90deg,rgba(35,64,122,.1) 1px,transparent 1px); background-size:5px 5px; }
.siwoon-fname { font-weight:600; flex:1; min-width:0; }
.siwoon-fsize { font-size:12px; color:var(--sw-muted); }
.siwoon-dl { padding:12px 14px; font-size:13px; white-space:nowrap; }
.siwoon-empty { padding:28px 16px; text-align:center; color:var(--sw-muted); border:1px dashed var(--sw-line); border-radius:12px; }
.siwoon-logout { margin-top:24px; }

/* 수업일정 · 논술일정 목록 */
.siwoon-list { display:flex; flex-direction:column; border:1px solid var(--sw-line); border-radius:12px; background:var(--sw-surface); overflow:hidden; }
.siwoon-row { display:flex; align-items:center; gap:14px; padding:12px 16px; border-top:1px solid var(--sw-line); }
.siwoon-row:first-child { border-top:0; }
.siwoon-row-date { flex:none; width:96px; font-variant-numeric:tabular-nums; font-size:14px; color:var(--sw-muted); }
.siwoon-row-main { flex:1; min-width:0; display:flex; flex-direction:column; }
.siwoon-row-sub { font-size:13px; color:var(--sw-muted); }
.siwoon-row-side { flex:none; display:flex; gap:8px; align-items:center; font-size:14px; font-variant-numeric:tabular-nums; }
.siwoon-kind { font-size:11.5px; font-weight:700; padding:1px 7px; border-radius:4px; background:var(--sw-navy-soft); color:var(--sw-navy); }
.siwoon-row.is-cancel .siwoon-kind { background:var(--sw-red-soft); color:var(--sw-red); }
.siwoon-row.is-cancel strong { text-decoration:line-through; color:var(--sw-muted); }
.siwoon-dday { font-weight:700; color:var(--sw-navy); }
@media (max-width:520px){ .siwoon-row { flex-wrap:wrap; } .siwoon-row-date { width:auto; } }

/* 개인정보처리방침 */
.siwoon-policy { max-width: 760px; font-size: 15.5px; line-height: 1.75; }
.siwoon-policy h2 { font-size: 19px; margin: 32px 0 10px; }
.siwoon-policy table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0; display: block; overflow-x: auto; }
.siwoon-policy th, .siwoon-policy td { border: 1px solid var(--sw-line); padding: 8px 10px; vertical-align: top; text-align: left; }
.siwoon-policy th { background: rgba(0,0,0,.035); white-space: nowrap; }
.siwoon-fill { background: #FFF3C4; padding: 0 4px; border-radius: 3px; }

/* 정규 시간표 */
.siwoon-tt-h { font-size: 17px; margin: 18px 0 10px; }
.siwoon-tt-wrap { margin-bottom: 8px; }
.siwoon-tt-scroll { overflow-x: auto; border: 1px solid var(--sw-line); border-radius: 12px; background: var(--sw-surface); }
.siwoon-tt { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.siwoon-tt th, .siwoon-tt td { padding: 10px 8px; border-bottom: 1px solid var(--sw-line); text-align: center; }
.siwoon-tt thead th { font-size: 12.5px; color: var(--sw-muted); font-weight: 600; }
.siwoon-tt tbody th { text-align: left; white-space: nowrap; font-weight: 700; }
.siwoon-tt tbody th span { display: block; font-weight: 400; font-size: 12px; color: var(--sw-muted); }
.siwoon-tt td.on { background: var(--sw-navy-soft); color: var(--sw-navy); font-weight: 700; white-space: nowrap; border-left: 2px solid #fff; }
.siwoon-tt tr:last-child th, .siwoon-tt tr:last-child td { border-bottom: 0; }
.siwoon-row.is-changed .siwoon-kind { background: #FCF0D6; color: #946000; }

/* 대학별 파이널 */
.swfi { max-width: 1120px; --c-M: #C8402F; --c-F: #7E1E1A; --c-T: #FBE3DF; --c-W: #fff; }
.swfi-mono { font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace; font-variant-numeric: tabular-nums; }
.swfi-intro { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.swfi-period { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 0; }
.swfi-period span { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--sw-red); }
.swfi-period strong { font-size: 22px; }
.swfi-period em { font-style: normal; color: var(--sw-muted); font-size: 14px; }
.swfi-rule { background: #FFF7F5; border: 1px solid #F3D3CC; border-radius: 12px; padding: 14px 16px; }
.swfi-rule strong { display: block; margin-bottom: 4px; }
.swfi-rule p { margin: 0; font-size: 14.5px; color: var(--sw-muted); line-height: 1.6; }
.swfi-rule b { color: var(--sw-red); }
.swfi-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.swfi-times { font-size: 13px; color: var(--sw-muted); margin-left: 4px; }
.swfi-search input { width: 100%; max-width: 360px; padding: 12px 14px; font-size: 16px; border: 1px solid var(--sw-line); border-radius: 10px; }
.swfi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; }
.swfi-card { background: var(--sw-surface); border: 1px solid var(--sw-line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.swfi-card[hidden] { display: none; }
.swfi-card header { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.swfi-card h3 { margin: 0; font-size: 21px; font-weight: 800; }
.swfi-sub { margin: 2px 0 0; font-size: 13px; color: var(--sw-muted); }
.swfi-exam { flex: none; background: var(--sw-red); color: #fff; border-radius: 10px; padding: 6px 10px; text-align: right; }
.swfi-exam span { display: block; font-size: 11px; opacity: .85; }
.swfi-exam strong { font-size: 14px; white-space: nowrap; }
.swfi-range { margin: 0; font-size: 14.5px; font-weight: 600; }
.swfi-range span { display: inline-block; font-size: 12px; font-weight: 700; color: var(--sw-red); margin-right: 8px; }
.swfi-day { display: flex; flex-direction: column; gap: 4px; }
.swfi-row { display: grid; grid-template-columns: 34px repeat(4, minmax(0, 1fr)); gap: 4px; align-items: center; }
.swfi-ses { font-size: 12px; color: var(--sw-muted); }
.swfi-cell { display: inline-flex; align-items: center; justify-content: center; min-height: 28px; padding: 0 6px; border-radius: 6px; font-size: 11.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border: 1px solid transparent; }
.swfi-cell.c-M { background: var(--c-M); color: #fff; }
.swfi-cell.c-F { background: var(--c-F); color: #fff; }
.swfi-cell.c-T { background: var(--c-T); color: #A0301F; }
.swfi-cell.c-W { background: var(--c-W); color: #A0301F; border-color: #E9B4AA; }
.swfi-tbd { margin: 0; padding: 14px; border: 1px dashed #E9B4AA; border-radius: 8px; text-align: center; color: #A0301F; font-size: 13.5px; font-weight: 600; }
.swfi-who { margin: 0; display: flex; gap: 14px; font-size: 13.5px; color: var(--sw-muted); }
.swfi-none { text-align: center; color: var(--sw-muted); padding: 24px; }
.swfi-notes { margin: 24px 0 0; padding-left: 18px; color: var(--sw-muted); font-size: 13.5px; line-height: 1.7; }
.siwoon-finals-link { margin: 0 0 14px; }
.siwoon-finals-link a { display: inline-block; padding: 10px 14px; border-radius: 10px; background: var(--sw-navy-soft); color: var(--sw-navy); text-decoration: none; font-size: 14.5px; }
@media (max-width: 420px) { .swfi-grid { grid-template-columns: 1fr; } .swfi-cell { font-size: 10.5px; padding: 0 3px; } }
/* 수업일정 속 수능 파이널 줄 */
.siwoon-row.is-final { background: #FFF8F6; border-left: 3px solid var(--sw-red); }
.siwoon-row.is-final .siwoon-kind { background: var(--sw-red); color: #fff; }
.siwoon-row.is-final strong a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; }
@media (max-width:520px){ .siwoon-row.is-final .siwoon-row-main { flex-basis:100%; order:3; } .siwoon-row.is-final .siwoon-row-side { margin-left:auto; } }
.siwoon-row-main strong, .siwoon-row-sub { word-break: keep-all; overflow-wrap: anywhere; }
