.portal-nav { display: flex; align-items: center; gap: 28px; }
.portal-nav a { color: #244d38; font-size: 13px; font-weight: 700; text-decoration: none; }
.portal-nav a[aria-current="page"] { color: #244d38; text-decoration: underline; text-decoration-color: #75a347; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.portal-main { min-height: 76vh; padding: 72px 0 110px; background: #f5f7f1; color: #19342c; }
.portal-intro { max-width: 760px; margin-bottom: 36px; }
.portal-intro h1 { margin: 12px 0 16px; font-size: clamp(38px, 5vw, 68px); line-height: 1.13; letter-spacing: -.05em; }
.portal-intro h1 em { color: #628c3b; font-style: normal; }
.portal-intro p:last-child { margin: 0; color: #53645b; font-size: 17px; }
.portal-notice { border-left: 4px solid #76a443; background: #eaf0dd; padding: 17px 20px; margin-bottom: 22px; font-size: 14px; font-weight: 700; }
.portal-message { margin-bottom: 20px; padding: 15px 18px; border-radius: 8px; color: #134526; background: #e3f4e5; font-weight: 700; }
.portal-message.error { color: #883b32; background: #f8e8e5; }
.portal-card { background: #fff; border: 1px solid #dce4d7; border-radius: 16px; padding: 30px; box-shadow: 0 12px 28px rgba(19, 50, 38, .04); }
.auth-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 38px; align-items: center; }
.auth-card h2, .workspace-top h2, .section-head h2 { margin: 7px 0 10px; font-size: clamp(26px, 3vw, 37px); letter-spacing: -.035em; }
.auth-card p, .workspace-top p { margin: 0; color: #60736a; font-size: 14px; line-height: 1.7; }
.portal-kicker { color: #6d8b48; font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.auth-actions { display: grid; gap: 10px; width: min(100%, 340px); min-width: 300px; }
.auth-actions .field-help { margin: 1px 0 0; }
.email-auth-form { display: grid; gap: 11px; }
.email-auth-form label { display: grid; gap: 6px; color: #314b3e; font-size: 12px; font-weight: 800; }
.email-auth-form input, .recovery-card input { width: 100%; min-width: 0; border: 1px solid #cbd7ca; border-radius: 7px; background: #fff; color: #21392d; padding: 11px 12px; font: inherit; font-size: 14px; }
.email-auth-form input:focus, .recovery-card input:focus { outline: 2px solid #9fcb64; outline-offset: 1px; }
.auth-links { display: flex; justify-content: space-between; gap: 12px; }
.auth-links button { border: 0; background: transparent; color: #38694d; padding: 4px 0; font: inherit; font-size: 12px; font-weight: 800; text-decoration: underline; cursor: pointer; }
.auth-divider { position: relative; margin: 5px 0 2px; color: #7b897e; text-align: center; font-size: 11px; }
.auth-divider::before { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: #dfe7dc; }
.auth-divider span { position: relative; padding: 0 10px; background: #fff; }
.social-button { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 54px; border: 0; border-radius: 9px; color: #fff; font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; }
.social-button svg { width: 24px; height: 24px; flex: 0 0 24px; }
.naver-button { background: #03c75a; }
.google-button { background: #191919; }
.social-button:disabled { cursor: not-allowed; }
.social-button:not(:disabled):hover { filter: brightness(.93); }
.recovery-card { max-width: 600px; }
.recovery-card h2 { margin: 7px 0 12px; font-size: 30px; }
.recovery-card p { color: #60736a; font-size: 14px; }
.recovery-card .portal-form { padding: 0; border: 0; box-shadow: none; }
.portal-button { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; border: 1px solid #244d38; border-radius: 7px; background: #244d38; color: #fff; padding: 10px 17px; font: inherit; font-size: 13px; font-weight: 800; text-decoration: none; cursor: pointer; }
.portal-button:hover { background: #38694d; }
.portal-button.secondary { background: #fff; color: #244d38; }
.portal-button.secondary:hover { background: #edf4e8; }
.portal-button:disabled { opacity: .42; cursor: not-allowed; }
.workspace-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 42px 0 26px; }
.portal-tabs { display: flex; gap: 5px; overflow-x: auto; border-bottom: 1px solid #cbd9c7; margin-bottom: 34px; }
.portal-tabs button { flex: 0 0 auto; border: 0; border-bottom: 3px solid transparent; background: transparent; color: #60736a; padding: 15px 21px; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.portal-tabs button.active { color: #1d4c34; border-color: #6d9b39; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.section-head h2 { margin-bottom: 0; }
.paper-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.paper-card { display: flex; flex-direction: column; min-height: 195px; padding: 23px; border: 1px solid #dce4d7; border-radius: 12px; background: #fff; }
.paper-card-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.status { display: inline-flex; border-radius: 30px; padding: 6px 10px; background: #edf0e7; color: #577148; font-size: 11px; font-weight: 800; }
.status-accepted { background: #daf0df; color: #246337; }
.status-rejected { background: #f7e8e3; color: #9a4937; }
.status-revision { background: #fff2d3; color: #8e6420; }
.paper-id { color: #85948c; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.paper-card h3 { margin: 18px 0 8px; font-size: 18px; line-height: 1.45; }
.paper-card p { margin: 0 0 24px; color: #63756b; font-size: 12px; line-height: 1.6; }
.card-action { display: flex; justify-content: space-between; width: 100%; margin-top: auto; padding: 13px 0 0; border: 0; border-top: 1px solid #edf0ea; background: transparent; color: #286046; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.empty-state { grid-column: 1/-1; border: 1px dashed #bfd0bd; border-radius: 12px; padding: 34px; color: #64776a; background: #fbfcf8; }
.workflow-guide { margin: 34px 0 44px; }
.workflow-guide .section-head { align-items: end; }
.workflow-guide h2 { margin: 6px 0 0; font-size: clamp(24px, 3vw, 34px); }
.guide-link { color: #286046; font-size: 13px; font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.workflow-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.workflow-grid .portal-card { padding: 24px; }
.workflow-step { color: #527144; font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.workflow-grid h3 { margin: 9px 0 12px; font-size: 20px; }
.workflow-grid p { margin: 0 0 11px; color: #596d61; font-size: 13px; line-height: 1.7; }
.workflow-grid p:last-child { margin-bottom: 0; }
.guide-footnote { margin: 16px 0 0; color: #60736a; font-size: 12px; line-height: 1.7; }
.receipt-note { margin: 16px 0; padding: 15px 18px; border: 1px solid #bfdbbf; border-radius: 8px; background: #f3faf1; color: #254a34; font-size: 13px; line-height: 1.7; }
.conflict-action { margin-top: 23px; padding-top: 17px; border-top: 1px solid #dfe7dc; }
.conflict-action summary { color: #8e4938; font-size: 13px; font-weight: 800; cursor: pointer; }
.conflict-action label { margin: 16px 0 10px; }
.intake-control { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 18px; }
.intake-control strong { font-size: 15px; }
.intake-control p { margin: 5px 0 0; color: #65776a; font-size: 12px; }
.portal-form { margin-top: 26px; max-width: 900px; }
.form-heading { display: flex; justify-content: space-between; align-items: start; gap: 20px; margin-bottom: 22px; }
.form-heading h3 { margin: 5px 0 0; font-size: 27px; }
.text-action { border: 0; background: transparent; color: #5c7163; font: inherit; font-weight: 800; cursor: pointer; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .full { grid-column: 1/-1; }
.paper-extra-fields { margin-top: 19px; }
.portal-form label, .portal-form fieldset { display: grid; gap: 8px; color: #314b3e; font-size: 13px; font-weight: 800; }
.portal-form label { margin-bottom: 18px; }
.portal-form input:not([type="checkbox"]):not([type="file"]), .portal-form select, .portal-form textarea { width: 100%; min-width: 0; border: 1px solid #cbd7ca; border-radius: 7px; background: #fff; color: #21392d; padding: 12px 13px; font: inherit; font-size: 14px; font-weight: 400; }
.portal-form textarea { line-height: 1.55; resize: vertical; }
.portal-form input:focus, .portal-form select:focus, .portal-form textarea:focus { outline: 2px solid #9fcb64; outline-offset: 1px; }
.portal-form fieldset { border: 0; padding: 0; margin: 7px 0 18px; }
.portal-form legend { margin-bottom: 6px; }
.portal-form fieldset textarea { display: block; }
.committee-fields { border-top: 1px solid #e2e9df !important; padding-top: 22px !important; margin-top: 20px !important; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 5px 0 18px; }
.portal-form .choice-option { display: flex; align-items: center; gap: 9px; min-height: 44px; margin: 0; padding: 10px 12px; border: 1px solid #d7e2d1; border-radius: 7px; background: #f8faf6; font-weight: 600; line-height: 1.45; cursor: pointer; }
.choice-option input { flex: 0 0 auto; }
.field-help { color: #65776a; font-size: 12px; font-weight: 400; line-height: 1.6; }
.file-label small { color: #77887b; font-size: 11px; font-weight: 400; }
.file-label input { padding: 10px 0; font-size: 13px; font-weight: 400; }
.form-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.checkbox-row { display: flex !important; flex-direction: row; align-items: start; line-height: 1.5; }
.checkbox-row input { margin-top: 3px; }
.file-list { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 18px; padding-top: 18px; border-top: 1px solid #e8eee5; font-size: 12px; }
.file-list button { border: 1px solid #cbdacb; border-radius: 5px; padding: 8px 10px; background: #f7faf4; color: #28513b; font: inherit; cursor: pointer; }
.muted-list { margin: 16px 0 22px; padding: 14px 18px; background: #f4f7f1; color: #617368; font-size: 13px; line-height: 1.6; }
.muted-list p { margin: 6px 0; }
[hidden] { display: none !important; }
@media (max-width: 760px) {
  .portal-nav { gap: 12px; }
  .portal-nav a { font-size: 11px; }
  .portal-main { padding: 46px 0 80px; }
  .auth-card { grid-template-columns: 1fr; gap: 24px; }
  .auth-actions { width: 100%; min-width: 0; }
  .portal-card { padding: 22px; }
  .workspace-top, .section-head { align-items: start; flex-direction: column; }
  .intake-control { align-items: start; flex-direction: column; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .form-grid .full { grid-column: auto; }
  .choice-grid { grid-template-columns: 1fr; }
  .portal-tabs button { padding: 13px 15px; }
  .paper-grid { grid-template-columns: 1fr; }
  .workflow-grid { grid-template-columns: 1fr; }
  .workflow-guide .section-head { align-items: start; }
}
@media (max-width: 440px) {
  .portal-nav a:first-child { display: none; }
  .portal-nav { gap: 10px; }
  .portal-nav a { white-space: nowrap; }
  .form-actions .portal-button { flex: 1 1 100%; }
}
