:root {
  --ink: #182338;
  --muted: #6d788b;
  --line: #e5eaf1;
  --surface: #ffffff;
  --background: #f5f7fb;
  --primary: #315efb;
  --primary-dark: #2449d8;
  --navy: #17243b;
  --radius: 16px;
  --shadow: 0 8px 28px rgba(23, 36, 59, .055);
}
* { box-sizing: border-box; }
html { min-height: 100%; }
body { margin: 0; background: var(--background); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif; font-size: 15px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.topbar { height: 76px; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); display: flex; align-items: center; }
.topbar-inner { width: min(1120px, calc(100% - 48px)); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 18px; min-width: max-content; }
.brand-logo { display:block; width:168px; height:auto; max-height:46px; object-fit:contain; }
.brand-hub { border-left:1px solid #e1e8f2; padding-left:18px; color:#16396f; font-size:19px; font-weight:800; letter-spacing:-.5px; }
.brand-mark { width: 42px; height: 42px; border-radius: 13px; background: linear-gradient(145deg, #4674ff, #2448d8); display: inline-flex; align-items: center; justify-content: center; color: white; font-weight: 800; font-size: 20px; box-shadow: 0 5px 12px rgba(49,94,251,.22); }
.brand strong, .brand small { display: block; line-height: 1.25; }
.brand strong { font-size: 16px; letter-spacing: -.4px; }
.brand small { color: var(--muted); font-size: 11px; margin-top: 3px; }
.top-actions { display: flex; align-items: center; gap: 18px; }
.nav-link { color: var(--muted); font-size: 13px; font-weight: 650; }
.nav-link:hover, .back-link:hover { color: var(--primary); }
.user-greeting { display: inline-flex; align-items: center; gap: 9px; color: #536076; font-size: 13px; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: #e8edff; color: #315efb; display: inline-flex; align-items: center; justify-content: center; font-weight: 750; font-size: 12px; }
.avatar-large { width: 42px; height: 42px; font-size: 15px; }
.page-shell { width: min(1280px, calc(100% - 48px)); min-height: calc(100vh - 142px); margin: 0 auto; padding: 18px 0 42px; }
.button { border: 1px solid transparent; border-radius: 10px; min-height: 42px; padding: 10px 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; font-size: 13px; font-weight: 700; line-height: 1.2; transition: transform .15s, background .15s, border-color .15s; white-space: nowrap; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 10px rgba(49,94,251,.14); }
.button-primary:hover { background: var(--primary-dark); color: white; }
.button-dark { background: var(--navy); color: #fff; }
.button-dark:hover { background: #263754; color: #fff; }
.button-outline { border-color: #dce3ed; color: #35435a; background: white; }
.button-outline:hover { border-color: #b9c7df; background: #f9fbff; }
.button-quiet { background: #f1f4f8; color: #526078; }
.button-quiet:hover { background: #e7ecf4; color: var(--ink); }
.button-danger { background: #fff0f0; color: #c73535; border-color: #f5d7d7; }
.button-small { min-height: 34px; padding: 7px 12px; font-size: 12px; border-radius: 8px; }
/* 전체 페이지 공통 뒤로/목록 이동 버튼: 동일한 파란색 버튼과 일정한 여백 */
.back-nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  margin: 0 0 18px;
  border: 1px solid #0875cf;
  border-radius: 10px;
  background: #0875cf;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  gap: 9px;
  box-shadow: 0 3px 8px rgba(8,117,207,.16);
  vertical-align: middle;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
}
.back-nav-button:hover { background: #0664b3; border-color: #0664b3; color: #fff; transform: translateY(-1px); }
.back-nav-button:focus-visible { outline: 3px solid rgba(8,117,207,.25); outline-offset: 2px; }
.page-heading .back-nav-button { margin-bottom: 0; flex: 0 0 auto; }
.button-icon { font-size: 18px; line-height: 10px; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 30px; }
.eyebrow { color: var(--primary); font-size: 10px; font-weight: 800; letter-spacing: 1.7px; margin: 0 0 9px; }
h1, h2, p { margin-top: 0; }
.page-heading h1, .form-heading h1 { font-size: clamp(27px, 3vw, 34px); line-height: 1.25; letter-spacing: -1.3px; margin: 0 0 9px; font-weight: 780; }
.page-subtitle, .form-heading > p:last-child { margin: 0; color: var(--muted); font-size: 14px; }
.toolbar-panel { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: white; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin-bottom: 18px; }
.toolbar-copy { display: flex; align-items: baseline; gap: 11px; white-space: nowrap; }
.toolbar-copy strong { font-size: 14px; }
.toolbar-copy span { font-size: 12px; color: var(--muted); }
.search-form { display: flex; align-items: center; gap: 8px; width: min(100%, 470px); }
.search-form input { flex: 1; min-width: 0; }
input, textarea { width: 100%; border: 1px solid #dfe5ee; border-radius: 10px; background: #fff; color: var(--ink); padding: 12px 14px; outline: none; transition: border-color .15s, box-shadow .15s; }
input { min-height: 42px; }
input:focus, textarea:focus { border-color: #8aa4ff; box-shadow: 0 0 0 3px rgba(49,94,251,.10); }
input::placeholder, textarea::placeholder { color: #a1aaba; }
.search-caption { font-size: 13px; color: var(--muted); margin: 20px 2px 12px; }
.report-list { display: grid; gap: 12px; }
.report-card { background: white; border: 1px solid var(--line); border-radius: 14px; padding: 23px 24px; display: flex; align-items: center; justify-content: space-between; gap: 28px; transition: box-shadow .15s, border-color .15s; }
.report-card:hover { border-color: #d4def0; box-shadow: var(--shadow); }
.report-main { min-width: 0; }
.report-meta { display: flex; align-items: center; gap: 8px; color: #8993a4; font-size: 11px; font-weight: 600; margin-bottom: 8px; }
.status-dot { width: 6px; height: 6px; background: #3dbb8a; border-radius: 50%; }
.meta-separator { color: #c1c8d3; }
.report-card h2 { font-size: 17px; letter-spacing: -.35px; line-height: 1.45; margin: 0 0 7px; font-weight: 730; }
.report-card h2 a:hover { color: var(--primary); }
.report-preview { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
.report-side { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.text-button { border: 0; padding: 6px 2px; background: transparent; cursor: pointer; font-size: 12px; font-weight: 650; }
.danger-text { color: #c35a5a; }
.empty-state { background: white; border: 1px dashed #d7dfeb; border-radius: 16px; padding: 58px 24px; text-align: center; margin-top: 18px; }
.empty-icon { width: 52px; height: 52px; border-radius: 16px; background: #edf1ff; color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 26px; margin: 0 auto 18px; }
.empty-state h2 { font-size: 18px; margin: 0 0 7px; letter-spacing: -.4px; }
.empty-state p { color: var(--muted); font-size: 13px; margin: 0 0 20px; }
.narrow-shell { max-width: 780px; margin: 0 auto; }
.back-link { display: inline-block; color: #718096; font-size: 13px; font-weight: 650; margin-bottom: 24px; }
.form-heading { margin-bottom: 24px; }
.panel { background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-panel { padding: clamp(22px, 4vw, 36px); }
.field { margin-bottom: 24px; }
.field label { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 750; color: #303e54; }
.required { color: #e05a5a; }
.field textarea { min-height: 260px; resize: vertical; line-height: 1.8; }
.field-help { display: block; color: #8993a4; font-size: 11px; margin-top: 8px; }
.form-actions { display: flex; justify-content: flex-end; gap: 9px; border-top: 1px solid #edf0f5; padding-top: 22px; }
.detail-shell { max-width: 850px; }
.detail-panel { padding: clamp(24px, 5vw, 46px); }
.detail-topline { display: flex; justify-content: space-between; gap: 15px; color: #929bad; font-size: 11px; font-weight: 650; }
.detail-label { color: var(--primary); letter-spacing: 1.3px; }
.detail-title { font-size: clamp(25px, 4vw, 34px); line-height: 1.35; letter-spacing: -1px; margin: 18px 0 22px; overflow-wrap: anywhere; }
.author-line { display: flex; align-items: center; gap: 11px; padding-bottom: 24px; border-bottom: 1px solid #edf0f5; }
.author-line strong, .author-line small { display: block; }
.author-line strong { font-size: 13px; }
.author-line small { color: var(--muted); font-size: 11px; }
.detail-content { padding: 30px 0; white-space: pre-wrap; overflow-wrap: anywhere; min-height: 160px; line-height: 1.95; font-size: 14px; }
.detail-actions { display: flex; justify-content: flex-end; gap: 9px; border-top: 1px solid #edf0f5; padding-top: 20px; }
.detail-actions form { margin: 0; }
.login-wrap { min-height: calc(100vh - 245px); display: grid; grid-template-columns: 1fr minmax(310px, 400px); align-items: center; gap: clamp(36px, 8vw, 100px); max-width: 900px; margin: 0 auto; }
.login-brand { padding: 30px 0; }
.brand-mark-large { width: 58px; height: 58px; font-size: 26px; border-radius: 17px; margin-bottom: 25px; }
.login-brand h1 { font-size: clamp(30px, 4vw, 42px); letter-spacing: -1.8px; line-height: 1.35; margin: 0 0 17px; }
.login-brand > p:last-child { max-width: 350px; color: var(--muted); font-size: 14px; }
.login-panel { padding: 32px; box-shadow: 0 16px 45px rgba(23,36,59,.08); }
.login-panel h2 { font-size: 23px; letter-spacing: -.7px; margin: 0 0 4px; }
.login-subtitle { font-size: 12px; color: var(--muted); margin-bottom: 26px; }
.login-panel .field { margin-bottom: 18px; }
.login-submit { width: 100%; margin-top: 5px; min-height: 46px; }
.login-note { border-top: 1px solid #edf0f5; margin-top: 25px; padding-top: 17px; display: grid; gap: 3px; font-size: 11px; color: var(--muted); }
.login-note strong { color: #47546a; font-size: 11px; }
.login-note small { color: #9aa3b2; font-size: 10px; margin-top: 5px; }
.admin-panel { overflow: hidden; }
.panel-heading { padding: 22px 24px; border-bottom: 1px solid var(--line); }
.panel-heading h2 { font-size: 16px; margin: 0 0 3px; }
.panel-heading p { color: var(--muted); font-size: 12px; margin: 0; }
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th { text-align: left; background: #f8faff; color: #778399; font-size: 11px; font-weight: 750; letter-spacing: .2px; }
.data-table th, .data-table td { padding: 16px 20px; border-bottom: 1px solid #edf0f5; white-space: nowrap; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: #fbfcff; }
.muted-cell { color: #929bad; }
.pill { display: inline-flex; border-radius: 99px; padding: 4px 9px; background: #eef1f6; color: #5e6a7d; font-size: 10px; font-weight: 750; }
.pill-admin { background: #e9edff; color: #3859d9; }
.pill-approved { background: #e5f8ef; color: #168356; }
.pill-pending { background: #fff3d8; color: #a46a0a; }
.you-label { margin-left: 8px; font-size: 10px; color: #8b95a5; }
.compact-empty { border: 0; box-shadow: none; }
.flash-stack { display: grid; gap: 8px; margin-bottom: 20px; }
.flash { border-radius: 10px; padding: 11px 14px; font-size: 12px; border: 1px solid transparent; }
.flash-success { color: #176a48; background: #eaf8f0; border-color: #d0efdd; }
.flash-warning { color: #8c5b0b; background: #fff7e5; border-color: #f4e5bf; }
.flash-danger { color: #a63232; background: #fff0f0; border-color: #f3d3d3; }
.flash-info { color: #2456a8; background: #edf5ff; border-color: #d6e7ff; }
.site-footer { min-height: 66px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #9aa3b2; font-size: 11px; border-top: 1px solid #e9edf3; background: rgba(255,255,255,.4); text-align: center; padding: 16px 24px; }
.site-footer span { color: #c4cad4; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 700px) {
  .topbar { height: auto; min-height: 68px; }
  .topbar-inner { width: calc(100% - 30px); gap: 10px; padding: 12px 0; }
  .brand-mark { width: 36px; height: 36px; border-radius: 11px; }
  .brand strong { font-size: 14px; }
  .brand small { display: none; }
  .top-actions { gap: 9px; }
  .user-greeting { font-size: 0; gap: 0; }
  .user-greeting .avatar { font-size: 11px; }
  .nav-link { font-size: 11px; }
  .page-shell { width: calc(100% - 30px); padding-top: 28px; }
  .page-heading { align-items: flex-start; flex-direction: column; margin-bottom: 22px; }
  .page-heading .button { width: 100%; }
  .toolbar-panel { align-items: stretch; flex-direction: column; gap: 13px; padding: 15px; }
  .search-form { width: 100%; }
  .report-card { align-items: flex-start; flex-direction: column; gap: 17px; padding: 19px; }
  .report-side { width: 100%; justify-content: flex-start; }
  .login-wrap { grid-template-columns: 1fr; gap: 10px; padding-top: 10px; }
  .login-brand { padding: 8px 0 10px; }
  .login-brand h1 { font-size: 29px; }
  .login-brand > p:last-child { margin-bottom: 0; }
  .brand-mark-large { width: 44px; height: 44px; font-size: 20px; margin-bottom: 14px; }
  .login-panel { padding: 24px; }
  .detail-topline { flex-direction: column; gap: 3px; }
  .detail-actions { justify-content: flex-start; flex-wrap: wrap; }
  .data-table th, .data-table td { padding: 13px 14px; }
}

/* Responsive/mobile usability enhancements */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { min-width: 320px; }
button, .button, input, textarea { touch-action: manipulation; }
button, .button { min-height: 44px; }
.button-small { min-height: 40px; }
input, textarea { font-size: 16px; } /* prevents automatic zoom on iOS */
textarea { overflow-wrap: anywhere; }
.report-card, .panel, .toolbar-panel { min-width: 0; }
.report-preview { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.report-card h2 { overflow-wrap: anywhere; }
.search-form input { min-height: 44px; }
@media (min-width: 701px) {
  .report-card { min-height: 142px; }
  .report-preview { max-width: 680px; }
}
@media (max-width: 700px) {
  .topbar-inner { width: calc(100% - 28px); }
  .top-actions { gap: 8px; }
  .top-actions .button { padding-left: 11px; padding-right: 11px; }
  .page-shell { width: calc(100% - 28px); padding-top: 24px; padding-bottom: 38px; }
  .page-heading { gap: 16px; }
  .page-heading h1 { font-size: 28px; }
  .page-subtitle { font-size: 13px; }
  .toolbar-copy { justify-content: space-between; width: 100%; }
  .search-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .search-form input { grid-column: 1 / -1; width: 100%; }
  .search-form .button { min-width: 76px; }
  .search-form a.button { min-width: 68px; }
  .report-card { padding: 18px 16px; border-radius: 13px; gap: 14px; }
  .report-card h2 { font-size: 16px; }
  .report-preview { font-size: 12px; }
  .report-side { gap: 12px; }
  .report-side > .button { flex: 1; }
  .report-side form { flex: 0 0 auto; }
  .empty-state { padding: 40px 18px; }
  .narrow-shell { width: 100%; }
  .form-heading h1 { font-size: 27px; }
  .form-panel { padding: 20px 16px; }
  .field { margin-bottom: 20px; }
  .field textarea { min-height: 230px; }
  .form-actions { position: sticky; bottom: 0; background: rgba(255,255,255,.96); padding: 14px 0 max(8px, env(safe-area-inset-bottom)); margin-top: 8px; }
  .form-actions .button { flex: 1; }
  .detail-panel { padding: 22px 17px; }
  .detail-title { font-size: 25px; }
  .detail-content { padding: 23px 0; font-size: 14px; }
  .detail-actions { position: sticky; bottom: 0; background: rgba(255,255,255,.96); padding: 12px 0 max(8px, env(safe-area-inset-bottom)); }
  .detail-actions .button { flex: 1; }
  .login-wrap { min-height: auto; padding: 8px 0 20px; }
  .login-brand { padding-bottom: 4px; }
  .login-brand h1 { font-size: 27px; }
  .login-panel { padding: 22px 18px; }
  .login-note { line-height: 1.7; }
  .site-footer { font-size: 10px; padding-left: 14px; padding-right: 14px; }
}
@media (max-width: 390px) {
  .brand { gap: 8px; }
  .brand-mark { width: 32px; height: 32px; font-size: 16px; }
  .brand strong { font-size: 13px; }
  .top-actions { gap: 6px; }
  .top-actions .button { font-size: 11px; padding: 7px 9px; }
  .page-heading h1 { font-size: 25px; }
  .report-meta { flex-wrap: wrap; }
  .report-side { flex-wrap: wrap; }
  .report-side > .button { flex-basis: 100%; }
  .detail-actions { flex-wrap: wrap; }
  .detail-actions .button { min-width: 30%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Registration page */
.register-wrap { min-height: calc(100vh - 245px); display: grid; grid-template-columns: 1fr minmax(320px, 430px); align-items: center; gap: clamp(32px, 7vw, 85px); max-width: 920px; margin: 0 auto; }
.register-intro { padding: 28px 0; }
.register-intro h1 { font-size: clamp(30px, 4vw, 42px); letter-spacing: -1.8px; line-height: 1.35; margin: 0 0 17px; }
.register-intro > p:last-child { max-width: 360px; color: var(--muted); font-size: 14px; }
.register-panel { padding: 32px; }
.register-panel h2 { font-size: 23px; letter-spacing: -.7px; margin: 0 0 4px; }
.register-subtitle { color: var(--muted); font-size: 12px; margin-bottom: 24px; }
.register-panel .field { margin-bottom: 17px; }
.register-prompt { text-align: center; color: var(--muted); font-size: 12px; margin: 18px 0 0; }
.register-prompt a { color: var(--primary); font-weight: 750; margin-left: 4px; }
.approval-note { display: flex; gap: 9px; align-items: flex-start; background: #f3f6ff; color: #56698d; border-radius: 10px; padding: 12px; margin-top: 20px; font-size: 11px; }
.approval-symbol { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 17px; width: 17px; height: 17px; border-radius: 50%; background: #dfe7ff; color: #315efb; font-weight: 800; }
@media (max-width: 700px) {
  .register-wrap { min-height: auto; grid-template-columns: 1fr; gap: 10px; padding-top: 8px; }
  .register-intro { padding: 8px 0 10px; }
  .register-intro h1 { font-size: 27px; }
  .register-panel { padding: 22px 18px; }
  .register-panel .form-actions .button { flex: 1; }
}

/* Profile settings */
.profile-panel { max-width: 560px; padding: 28px; }
.profile-panel .field { margin-bottom: 20px; }
@media (max-width: 600px) { .profile-panel { padding: 20px 16px; } }


/* Multi-board additions */
.board-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:22px 0 34px}
.board-card{display:flex;align-items:flex-start;gap:16px;padding:22px;border:1px solid var(--line,#e3e7ee);border-radius:16px;background:var(--panel,#fff);color:inherit;text-decoration:none;transition:transform .15s ease,border-color .15s ease}
.board-card:hover{transform:translateY(-2px);border-color:var(--accent,#8ba9e8)}
.board-icon{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;border-radius:12px;background:#eef3ff;color:#345bb5;font-size:24px}
.board-card-main{flex:1;min-width:0}.board-card h2{font-size:18px;margin:1px 0 7px}.board-card p{margin:0 0 12px;color:var(--muted,#687386);font-size:14px;line-height:1.55}
.board-count,.board-tag{font-size:12px;color:#52627a;background:#f0f3f8;border-radius:999px;padding:4px 9px;display:inline-block}
.board-arrow{font-size:20px;color:#75839a}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:30px 0 14px}.section-heading h2{font-size:21px;margin:0 0 5px}.section-heading p{margin:0;color:var(--muted,#687386);font-size:14px}
.notice-panel{padding:18px 20px;margin:18px 0;border:1px solid #f0d89b;border-radius:14px;background:#fff9e8}
.notice-heading{display:flex;gap:9px;align-items:center;color:#7a5710;margin-bottom:10px}.notice-content{white-space:pre-wrap;line-height:1.65;color:#5d4b28}
.global-search{margin:20px 0}.attachment-section{margin-top:25px;padding-top:18px;border-top:1px solid var(--line,#e3e7ee)}.attachment-section h2{font-size:17px;margin:0 0 12px}
.attachment-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}.attachment-list li{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 12px;border:1px solid var(--line,#e3e7ee);border-radius:10px}.attachment-list li span:first-child{flex:1;min-width:160px;overflow-wrap:anywhere}.attachment-size{font-size:12px;color:var(--muted,#687386)}
.comments-panel{margin-top:20px;padding:22px}.comments-panel .panel-heading{display:flex;justify-content:space-between}.comments-panel h2{margin:0 0 5px}.comments-panel .panel-heading p{margin:0;color:var(--muted,#687386);font-size:13px}
.comment-form{margin:18px 0}.comment-form textarea{width:100%;box-sizing:border-box}.comment-list{display:grid;gap:0}.comment-item{padding:15px 0;border-top:1px solid var(--line,#e3e7ee)}.comment-top{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.comment-top strong{font-size:14px}.comment-top span{font-size:12px;color:var(--muted,#687386)}.comment-top form{margin-left:auto}.comment-item p{white-space:pre-wrap;line-height:1.65;margin:10px 0 0;overflow-wrap:anywhere}.empty-inline{color:var(--muted,#687386);font-size:14px;padding:12px 0}
.admin-board-card{padding:22px;margin:14px 0}.admin-board-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.admin-board-title h2{font-size:18px;margin:0 0 5px}.admin-board-title p{font-size:13px;color:var(--muted,#687386);margin:0}
.field input[type=file]{width:100%;padding:10px;border:1px dashed var(--line,#cfd6e2);border-radius:10px;background:#fafbfe}
@media(max-width:700px){.board-grid{grid-template-columns:1fr;gap:12px}.board-card{padding:17px}.section-heading{margin-top:24px}.attachment-list li{align-items:flex-start}.admin-board-title{align-items:flex-start}.comments-panel{padding:16px}}

/* Company portal dashboard: portal-first layout with lightweight work-status widgets */
.portal-welcome { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; min-height: 240px; padding: 34px 42px; margin-bottom: 20px; border-radius: 20px; color: #fff; background: linear-gradient(115deg, #172c55 0%, #244a91 58%, #3c65c7 100%); box-shadow: 0 14px 32px rgba(29,62,124,.15); }
.portal-welcome-copy { position: relative; z-index: 1; width: min(100%, 600px); }
.portal-welcome .eyebrow { color: #b9cbff; margin-bottom: 8px; }
.portal-welcome h1 { margin: 0; font-size: clamp(34px, 4vw, 48px); line-height: 1.2; letter-spacing: -1.5px; }
.portal-welcome-copy > p:not(.eyebrow) { display:none; }
.portal-search { display: flex; align-items: center; gap: 9px; width: min(100%, 500px); padding: 5px; border: 1px solid rgba(255,255,255,.22); border-radius: 12px; background: rgba(255,255,255,.97); }
.portal-search-icon { padding-left: 10px; color: #73819a; font-size: 23px; line-height: 1; }
.portal-search input { min-width: 0; border: 0; box-shadow: none; background: transparent; min-height: 40px; font-size: 13px; }
.portal-search input:focus { box-shadow: none; }
.portal-search .button { min-height: 40px; }
.portal-welcome-art { position: absolute; right: 5%; top: 50%; width: 230px; height: 220px; transform: translateY(-50%); opacity: .95; }
.art-orbit { position: absolute; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; transform: rotate(-25deg); }
.orbit-one { width: 220px; height: 120px; top: 45px; left: 8px; }
.orbit-two { width: 180px; height: 180px; top: 15px; left: 28px; }
.art-document { position: absolute; top: 35px; left: 79px; width: 83px; height: 118px; border: 1px solid rgba(255,255,255,.7); border-radius: 12px; background: linear-gradient(145deg, rgba(255,255,255,.97), rgba(224,234,255,.9)); box-shadow: 0 15px 30px rgba(8,25,64,.24); transform: rotate(8deg); padding: 24px 14px; }
.art-document span { display: block; height: 5px; border-radius: 5px; background: #c4d3f7; margin-bottom: 9px; }
.art-document span:first-child { width: 40px; background: #7798ed; }
.art-document span:nth-child(2) { width: 52px; }
.art-document span:nth-child(3) { width: 43px; }
.art-document i { position: absolute; right: -13px; bottom: -9px; display: grid; place-items: center; width: 36px; height: 36px; border: 3px solid #3159b8; border-radius: 50%; background: #57c89b; color: white; font-size: 19px; font-style: normal; font-weight: 800; }
.work-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 24px; }
.stat-card { min-width: 0; padding: 18px 20px 17px; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: 0 3px 14px rgba(23,36,59,.025); }
.stat-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 12px; }
.stat-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font-size: 18px; font-weight: 800; }
.stat-blue { background: #eaf0ff; color: #3b63dc; }.stat-violet { background: #f0eaff; color: #7954ce; }.stat-green { background: #e3f8ef; color: #1a9a6b; }.stat-orange { background: #fff0df; color: #c57a25; }
.stat-caption { color: #8a95a7; font-size: 11px; font-weight: 650; }
.stat-card > strong { display: block; font-size: 29px; line-height: 1.2; letter-spacing: -1px; font-weight: 800; }
.stat-card > p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.portal-content-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .85fr); align-items: start; gap: 20px; margin-bottom: 22px; }
.portal-panel { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 3px 16px rgba(23,36,59,.025); }
.portal-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 22px 23px 19px; border-bottom: 1px solid #edf0f5; }
.portal-panel-heading .eyebrow { margin-bottom: 3px; font-size: 9px; }
.portal-panel-heading h2 { margin: 0 0 4px; font-size: 18px; letter-spacing: -.45px; }
.portal-panel-heading p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 11px; }
.portal-board-list { padding: 3px 18px; }
.portal-board-item { display: flex; align-items: center; gap: 12px; padding: 16px 4px; border-bottom: 1px solid #eff2f6; }
.portal-board-item:last-child { border-bottom: 0; }
.portal-board-item:hover .portal-board-copy strong { color: var(--primary); }
.portal-board-icon { flex: 0 0 42px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #eef2ff; color: #4265da; font-size: 20px; }
.portal-board-item:nth-child(3n+2) .portal-board-icon { background: #e9f8f2; color: #23966b; }
.portal-board-item:nth-child(3n) .portal-board-icon { background: #fff2e6; color: #c27a2b; }
.portal-board-copy { min-width: 0; flex: 1; }
.portal-board-copy strong, .portal-board-copy small { display: block; }
.portal-board-copy strong { overflow-wrap: anywhere; font-size: 13px; font-weight: 750; }
.portal-board-copy small { overflow: hidden; color: #8993a4; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; margin-top: 3px; }
.portal-board-count { flex: 0 0 auto; color: #34445f; font-size: 14px; font-weight: 800; text-align: right; }
.portal-board-count small { display: block; color: #9aa3b2; font-size: 9px; font-weight: 500; }
.portal-chevron { color: #a6afbd; font-size: 23px; padding-left: 2px; }
.portal-side-column { display: grid; gap: 16px; }
.compact-heading { padding: 19px 20px 15px; }
.quick-links { padding: 2px 15px 8px; }
.quick-links > a { display: flex; align-items: center; gap: 11px; padding: 13px 4px; border-bottom: 1px solid #eff2f6; }
.quick-links > a:last-child { border-bottom: 0; }
.quick-links > a > span:nth-child(2) { min-width: 0; flex: 1; }
.quick-links strong, .quick-links small { display: block; }
.quick-links strong { font-size: 12px; }
.quick-links small { color: #8a95a7; font-size: 10px; margin-top: 2px; }
.quick-links b { color: #a4adbc; font-size: 20px; font-weight: 400; }
.quick-icon { display: grid; place-items: center; flex: 0 0 35px; width: 35px; height: 35px; border-radius: 10px; font-size: 19px; font-weight: 700; }
.quick-blue { background: #eaf0ff; color: #315efb; }.quick-purple { background: #f1eaff; color: #8257cf; }.quick-green { background: #e5f8ef; color: #26996d; }
.portal-notice { display: flex; align-items: flex-start; gap: 11px; padding: 17px; border: 1px solid #dfe8ff; border-radius: 14px; background: #f2f6ff; }
.notice-symbol { display: grid; place-items: center; flex: 0 0 25px; width: 25px; height: 25px; border-radius: 50%; background: #dce6ff; color: #315efb; font-size: 13px; font-weight: 800; }
.portal-notice strong { display: block; color: #2d477e; font-size: 12px; margin: 1px 0 4px; }
.portal-notice p { margin: 0; color: #6f7fa2; font-size: 10px; line-height: 1.6; }
.portal-membership { display: flex; align-items: center; gap: 10px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.membership-icon { display: grid; place-items: center; flex: 0 0 35px; width: 35px; height: 35px; border-radius: 10px; background: #e5f8ef; color: #26996d; font-size: 21px; }
.portal-membership > div { min-width: 0; flex: 1; }
.portal-membership strong { font-size: 11px; }
.portal-membership p { margin: 2px 0 0; color: var(--muted); font-size: 10px; }
.portal-membership p b { color: #1b9568; }
.membership-comments { color: #8a95a7; font-size: 10px; white-space: nowrap; }
.recent-panel { margin-bottom: 20px; }
.recent-heading { padding: 22px 23px 18px; }
.portal-recent-list { padding: 0 22px; }
.portal-recent-item { display: flex; align-items: center; gap: 13px; padding: 17px 0; border-bottom: 1px solid #eff2f6; }
.portal-recent-item:last-child { border-bottom: 0; }
.recent-file-icon { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 11px; background: #f0f3ff; color: #526ee1; font-size: 18px; }
.recent-post-copy { flex: 1; min-width: 0; }
.recent-post-copy .report-meta { margin: 0 0 4px; font-size: 10px; }
.board-tag { display: inline-flex; padding: 2px 7px; border-radius: 5px; background: #edf2ff; color: #4664c8; font-size: 9px; font-weight: 750; }
.recent-post-copy h3 { margin: 0 0 3px; font-size: 13px; font-weight: 750; line-height: 1.5; overflow-wrap: anywhere; }
.recent-post-copy h3 a:hover { color: var(--primary); }
.recent-post-copy > p { margin: 0; color: #8a95a7; font-size: 10px; line-height: 1.6; }
.recent-author { display: flex; align-items: center; gap: 7px; flex: 0 0 auto; color: #788397; font-size: 10px; }
.recent-author .avatar { width: 27px; height: 27px; font-size: 10px; }
.recent-arrow { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; border: 1px solid #e5eaf1; border-radius: 9px; color: #7c879a; font-size: 16px; }
.recent-arrow:hover { border-color: #b8c8ff; color: var(--primary); }
.portal-empty { display: grid; justify-items: center; padding: 36px 20px; text-align: center; }
.portal-empty > span { display: grid; place-items: center; width: 45px; height: 45px; margin-bottom: 10px; border-radius: 14px; background: #eef2ff; color: #526ee1; font-size: 22px; }
.portal-empty strong { font-size: 13px; }
.portal-empty p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
@media (max-width: 900px) { .portal-welcome { padding: 30px; }.portal-welcome-art { right: -20px; opacity: .45; }.portal-content-grid { grid-template-columns: minmax(0, 1.2fr) minmax(235px, .8fr); gap: 14px; }.stat-card { padding: 16px; }.portal-board-item { gap: 9px; } }
@media (max-width: 700px) { .portal-welcome { min-height: 0; padding: 27px 20px 22px; border-radius: 16px; }.portal-welcome-art { display: none; }.portal-welcome h1 { font-size: 25px; }.portal-welcome-copy > p:not(.eyebrow) { max-width: 300px; font-size: 12px; line-height: 1.6; }.portal-search { gap: 4px; }.portal-search-icon { padding-left: 6px; }.portal-search input { padding: 8px 5px; font-size: 12px; }.portal-search .button { padding: 9px 12px; min-width: 58px; }.work-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 17px; }.stat-card { padding: 14px; border-radius: 13px; }.stat-top { margin-bottom: 8px; }.stat-icon { width: 30px; height: 30px; }.stat-caption { font-size: 10px; }.stat-card > strong { font-size: 25px; }.stat-card > p { font-size: 10px; }.portal-content-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 17px; }.portal-panel-heading { padding: 18px 16px 15px; }.portal-panel-heading h2 { font-size: 16px; }.portal-panel-heading p:not(.eyebrow) { font-size: 10px; }.portal-board-list { padding: 2px 13px; }.portal-board-item { padding: 14px 2px; }.portal-board-icon { flex-basis: 38px; width: 38px; height: 38px; }.portal-board-copy strong { font-size: 12px; }.portal-board-copy small { max-width: 190px; }.portal-board-count { font-size: 12px; }.portal-side-column { gap: 12px; }.quick-links { padding: 2px 13px 6px; }.portal-notice { padding: 14px; }.portal-membership { padding: 13px; }.recent-heading { padding: 18px 16px 15px; }.portal-recent-list { padding: 0 15px; }.portal-recent-item { align-items: flex-start; gap: 9px; padding: 15px 0; }.recent-file-icon { flex-basis: 32px; width: 32px; height: 32px; font-size: 15px; }.recent-post-copy .report-meta { flex-wrap: wrap; gap: 5px; }.recent-post-copy h3 { font-size: 12px; }.recent-post-copy > p { display: none; }.recent-author { display: none; }.recent-arrow { flex-basis: 27px; width: 27px; height: 27px; }.portal-empty { padding: 30px 15px; } }

/* T-WISE Hub clean portal refinements */
.topbar-inner { width:min(1500px, calc(100% - 56px)); }
.portal-welcome { min-height:188px; padding:34px 42px; border-radius:8px; background:linear-gradient(110deg,#064a91 0%,#1766b5 52%,#0c478d 100%); box-shadow:none; }
.portal-welcome-copy { position:relative; z-index:2; }
.portal-welcome .portal-search { margin-top:24px; }
.portal-welcome-art { right:4%; width:300px; height:180px; opacity:.8; }
.hub-shape { position:absolute; width:100px; height:100px; background:rgba(95,180,255,.22); clip-path:polygon(0 0,100% 0,100% 100%); }
.hub-shape-one { right:0; top:0; width:150px; height:150px; }
.hub-shape-two { right:110px; top:35px; width:115px; height:115px; transform:rotate(180deg); background:rgba(255,255,255,.13); }
.hub-shape-three { right:45px; bottom:0; width:95px; height:95px; transform:rotate(90deg); background:rgba(0,35,95,.18); }
.portal-content-grid { grid-template-columns:minmax(0,1.6fr) minmax(280px,.8fr); }
.portal-board-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:26px; padding:3px 22px; }
.portal-board-item { min-width:0; }
.site-footer { padding:18px 0; }
@media(max-width:700px) { .brand-logo { width:112px; } .brand-hub { font-size:15px; padding-left:10px; } .topbar-inner { width:calc(100% - 24px); gap:10px; } .portal-welcome { padding:26px 20px; } .portal-welcome h1 { font-size:31px; } .portal-board-list { grid-template-columns:minmax(0,1fr); } }

/* T-WISE Hub modern landing and personalized dashboard */
:root { --primary:#0875cf; --primary-dark:#075ca8; --navy:#102b50; --background:#f4f8fd; --line:#e2ebf6; --ink:#142b4c; --muted:#6d829d; }
.topbar { height:72px; background:#fff; border-bottom-color:#e7eef7; }
.topbar-inner { width:min(1440px,calc(100% - 56px)); }
.brand { gap:14px; }
.brand-logo { width:166px; max-height:44px; }
.brand-hub { font-size:18px; border-left-color:#e2eaf4; color:#173e70; }
.page-shell { width:min(1440px,calc(100% - 56px)); padding-top:26px; }
.site-footer { background:transparent; border-top:0; min-height:46px; }
.landing-shell { min-height:calc(100vh - 160px); display:flex; flex-direction:column; align-items:center; justify-content:center; padding:40px 24px 80px; }
.landing-brand-panel { position:relative; width:min(100%,920px); min-height:350px; overflow:hidden; border:1px solid #e1edf9; border-radius:28px; background:linear-gradient(125deg,#fff 0%,#f8fbff 52%,#edf6ff 100%); display:flex; align-items:center; justify-content:center; flex-direction:column; gap:24px; box-shadow:0 22px 65px rgba(21,76,133,.07); }
.landing-logo { display:block; width:min(360px,72%); height:auto; object-fit:contain; position:relative; z-index:1; }
.landing-divider { width:54px; height:4px; border-radius:99px; background:#0875cf; position:relative; z-index:1; }
.landing-brand-panel h1 { margin:0; font-size:clamp(30px,5vw,46px); letter-spacing:-1.6px; color:#173d6d; font-weight:800; position:relative; z-index:1; }
.landing-art { position:absolute; right:-25px; bottom:-55px; width:240px; height:240px; opacity:.45; transform:rotate(45deg); }
.landing-art span { position:absolute; width:80px; height:80px; background:#d7eaff; clip-path:polygon(0 0,100% 0,100% 100%); }
.landing-art span:nth-child(1){left:0;top:0}.landing-art span:nth-child(2){left:80px;top:0;background:#b9dcff}.landing-art span:nth-child(3){left:160px;top:0;background:#e7f3ff}.landing-art span:nth-child(4){left:0;top:80px;background:#c4e2ff}.landing-art span:nth-child(5){left:80px;top:80px;background:#e3f1ff}.landing-art span:nth-child(6){left:160px;top:80px;background:#a8d4ff}
.landing-actions { display:flex; align-items:center; flex-direction:column; gap:16px; margin-top:28px; }
.landing-login { min-width:220px; min-height:50px; border-radius:12px; font-size:15px; gap:28px; background:#0875cf; }
.landing-register { color:#71839a; font-size:13px; }.landing-register strong { color:#0875cf; margin-left:4px; }
.login-logo { display:block; width:min(290px,85%); height:auto; margin:0 0 28px; }
.login-brand h1 { color:#173d6d; }
.login-wrap { max-width:960px; }
.dashboard-layout { display:grid; grid-template-columns:228px minmax(0,1fr); gap:26px; align-items:start; }
.dashboard-sidebar { position:sticky; top:22px; background:#fff; border:1px solid #e3ecf6; border-radius:18px; padding:17px 12px; box-shadow:0 8px 24px rgba(26,74,125,.035); }
.sidebar-label { color:#91a1b7; font-size:10px; font-weight:800; letter-spacing:1.4px; padding:8px 12px 10px; }
.sidebar-label-spaced { margin-top:18px; border-top:1px solid #edf2f8; padding-top:22px; }
.sidebar-link { display:flex; align-items:center; gap:12px; min-height:44px; border-radius:10px; padding:10px 12px; color:#526b89; font-size:13px; font-weight:650; margin:2px 0; transition:background .15s,color .15s; }
.sidebar-link span { width:20px; text-align:center; font-size:18px; color:#6687ac; }
.sidebar-link:hover,.sidebar-link.active { background:#eaf4ff; color:#086fc3; }.sidebar-link.active span { color:#0875cf; }
.dashboard-main { min-width:0; }
.dashboard-welcome { display:flex; justify-content:space-between; align-items:center; gap:24px; padding:8px 2px 22px; }
.dashboard-welcome .eyebrow { margin-bottom:8px; color:#0875cf; }.dashboard-welcome h1 { margin:0 0 6px; font-size:clamp(24px,3vw,31px); letter-spacing:-1px; color:#17365e; }.dashboard-welcome p:not(.eyebrow) { margin:0; color:#7488a2; font-size:13px; }
.dashboard-search { display:flex; align-items:center; gap:8px; width:min(390px,48%); padding:4px 5px 4px 13px; background:#fff; border:1px solid #dce8f5; border-radius:12px; }
.dashboard-search span { font-size:22px; color:#7b96b6; }.dashboard-search input { border:0; min-width:0; min-height:38px; padding:8px 3px; font-size:12px; box-shadow:none!important; }.dashboard-search button { border:0; border-radius:8px; background:#0875cf; color:#fff; padding:9px 13px; font-size:12px; font-weight:700; cursor:pointer; }
.dashboard-quick-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-bottom:18px; }
.dashboard-quick-card { display:flex; align-items:center; gap:12px; min-width:0; padding:17px; border:1px solid #e0ebf7; border-radius:15px; background:#fff; box-shadow:0 4px 14px rgba(20,65,110,.025); transition:transform .15s,border-color .15s; }.dashboard-quick-card:hover { transform:translateY(-2px); border-color:#acd2f6; }.quick-card-icon { display:flex; align-items:center; justify-content:center; flex:0 0 42px; width:42px; height:42px; border-radius:12px; font-size:23px; font-weight:700; }.icon-blue { background:#e7f2ff;color:#0875cf; }.icon-teal { background:#e2f8f4;color:#079b8b; }.icon-violet { background:#f0eaff;color:#7856d8; }.dashboard-quick-card>span:nth-child(2) { display:grid; gap:3px; min-width:0; }.dashboard-quick-card strong { font-size:13px; color:#193b65; }.dashboard-quick-card small { color:#8294ab; font-size:11px; }.dashboard-quick-card>b { margin-left:auto; color:#7e9abc; font-size:17px; }
.dashboard-columns { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(270px,.9fr); gap:18px; align-items:start; }.dashboard-primary-column,.dashboard-secondary-column { display:grid; gap:18px; min-width:0; }
.dashboard-panel { min-width:0; background:#fff; border:1px solid #e1ebf6; border-radius:16px; box-shadow:0 5px 18px rgba(24,71,117,.025); overflow:hidden; }.dashboard-panel-heading { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:20px 21px 16px; }.dashboard-panel-heading h2 { margin:0 0 4px; color:#193b65; font-size:16px; letter-spacing:-.3px; }.dashboard-panel-heading p { margin:0; color:#8a9ab0; font-size:11px; }.dashboard-panel-heading>a { color:#0875cf; font-size:11px; font-weight:750; white-space:nowrap; }
.dashboard-board-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; padding:0 15px 17px; }.dashboard-board-card { display:flex; align-items:flex-start; gap:11px; min-width:0; padding:14px 12px; border:1px solid #e7eef7; border-radius:12px; background:#fff; transition:background .15s,border-color .15s; }.dashboard-board-card:hover { background:#f9fcff; border-color:#c5def7; }.board-tile-icon { display:flex; align-items:center; justify-content:center; width:38px; height:38px; flex:0 0 38px; border-radius:11px; font-size:20px; color:#0875cf; background:#e7f2ff; }.tile-1 { background:#e1f8f4;color:#0b9b8c; }.tile-2 { background:#f0eaff;color:#7856d8; }.tile-3 { background:#fff1df;color:#e58a22; }.dashboard-board-copy { display:grid; gap:5px; min-width:0; flex:1; }.dashboard-board-copy strong { color:#203f67; font-size:12px; overflow-wrap:anywhere; }.dashboard-board-copy small { color:#8a9ab0; font-size:10px; line-height:1.45; overflow-wrap:anywhere; }.dashboard-board-copy em { color:#7190b5; font-size:10px; font-style:normal; margin-top:2px; }.tile-arrow { color:#92a6be; font-size:19px; }
.recent-table-wrap { overflow-x:auto; padding:0 14px 8px; }.recent-table { width:100%; border-collapse:collapse; font-size:11px; text-align:left; }.recent-table th { padding:10px 9px; color:#8394aa; background:#f7faff; font-weight:750; white-space:nowrap; }.recent-table td { padding:12px 9px; border-bottom:1px solid #edf2f8; color:#647c98; white-space:nowrap; }.recent-table tr:last-child td { border-bottom:0; }.recent-table tbody tr:hover { background:#fbfdff; }.recent-table td:first-child { min-width:190px; white-space:normal; }.recent-title-link { display:block; color:#1769b3; font-size:12px; font-weight:700; margin-bottom:4px; }.recent-table td:first-child small { display:block; color:#91a0b3; font-size:10px; line-height:1.45; }.recent-board-pill { display:inline-block; max-width:140px; overflow:hidden; text-overflow:ellipsis; vertical-align:middle; background:#edf6ff; color:#2673b7; border-radius:99px; padding:4px 7px; font-size:10px; }.recent-date { color:#879bb3!important; }
.side-dashboard-panel .dashboard-panel-heading { padding:18px 18px 13px; }.dashboard-notice-list { padding:0 16px 12px; }.dashboard-notice-list>a { display:flex; align-items:flex-start; gap:10px; padding:12px 2px; border-bottom:1px solid #eff3f8; }.dashboard-notice-list>a:last-child { border-bottom:0; }.notice-dot { width:7px;height:7px;flex:0 0 7px;margin-top:6px;border-radius:50%;background:#1686db; }.dashboard-notice-list>a>span:nth-child(2) { display:grid; gap:4px; min-width:0; flex:1; }.dashboard-notice-list strong { color:#29486c; font-size:11px; }.dashboard-notice-list small { color:#8598af; font-size:10px; line-height:1.5; white-space:pre-wrap; }.dashboard-notice-list b { color:#9aacc1; font-size:17px; }.side-empty { padding:7px 19px 22px; color:#93a1b4; font-size:11px; }
.team-stat-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; padding:0 15px 17px; }.team-stat { display:flex; align-items:center; gap:9px; padding:12px 10px; border:1px solid #edf2f8; border-radius:11px; }.team-stat-icon { display:flex;align-items:center;justify-content:center;width:33px;height:33px;border-radius:10px;background:#edf6ff;color:#0875cf;font-size:17px;flex:0 0 33px; }.team-stat>span:last-child { display:grid; gap:2px; min-width:0; }.team-stat small { color:#8b9bb0; font-size:9px; white-space:nowrap; }.team-stat strong { color:#1d426e; font-size:20px; line-height:1.2; }
.activity-list { padding:0 17px 12px; }
/* 팀 현황 패널 제거 후 최근 활동 패널을 남은 공간에 맞춰 표시 */
.dashboard-secondary-column { align-content:start; }
.dashboard-secondary-column .side-dashboard-panel:last-child { min-height:0; }
.dashboard-secondary-column .side-dashboard-panel:last-child .activity-list { padding-bottom:17px; }
.dashboard-secondary-column .side-dashboard-panel:last-child .activity-item { padding:14px 0; }
.dashboard-secondary-column .side-dashboard-panel:last-child .activity-copy small { line-height:1.55; }.activity-item { display:flex; gap:10px; padding:11px 0; border-bottom:1px solid #eff3f8; }.activity-item:last-child { border-bottom:0; }.activity-avatar { width:30px;height:30px;display:flex;align-items:center;justify-content:center;flex:0 0 30px;border-radius:50%;background:#e4f1ff;color:#0875cf;font-size:11px;font-weight:800; }.activity-copy { display:grid; gap:3px; min-width:0; }.activity-copy strong { color:#29486c;font-size:10px; }.activity-copy small { color:#8194ac;font-size:10px;line-height:1.45;overflow-wrap:anywhere; }.activity-copy em { color:#0875cf;font-size:9px;font-style:normal;overflow-wrap:anywhere; }.dashboard-empty { padding:28px 18px; color:#8a9ab0; font-size:12px; text-align:center; }
@media (max-width:1050px) { .dashboard-layout { grid-template-columns:190px minmax(0,1fr); gap:16px; }.dashboard-columns { grid-template-columns:minmax(0,1fr); }.dashboard-secondary-column { grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; }.dashboard-secondary-column .side-dashboard-panel:last-child { grid-column:1/-1; } }
@media (max-width:760px) { .topbar-inner,.page-shell { width:calc(100% - 28px); }.brand-logo { width:112px; }.brand { gap:9px; }.brand-hub { font-size:14px; padding-left:9px; }.top-actions { gap:8px; }.dashboard-layout { grid-template-columns:minmax(0,1fr); }.dashboard-sidebar { position:static; display:flex; gap:5px; overflow-x:auto; padding:8px; border-radius:12px; }.sidebar-label { display:none; }.sidebar-label-spaced { display:none; }.sidebar-link { flex:0 0 auto; min-height:38px; padding:8px 10px; font-size:11px; }.sidebar-link span { font-size:15px; width:15px; }.dashboard-welcome { flex-direction:column; align-items:stretch; gap:17px; padding-top:7px; }.dashboard-search { width:100%; }.dashboard-quick-grid { grid-template-columns:1fr; gap:9px; }.dashboard-quick-card { padding:12px 14px; }.dashboard-board-grid { grid-template-columns:1fr; }.dashboard-secondary-column { grid-template-columns:1fr; }.dashboard-secondary-column .side-dashboard-panel:last-child { grid-column:auto; }.landing-shell { min-height:calc(100vh - 150px); padding:25px 0 55px; }.landing-brand-panel { min-height:290px; border-radius:20px; }.landing-logo { width:min(300px,78%); }.landing-brand-panel h1 { font-size:32px; }.login-wrap { grid-template-columns:1fr; gap:8px; }.login-brand { padding:8px 0 0; }.login-logo { width:220px; margin-bottom:14px; }.login-brand h1 { font-size:29px; } }
@media (prefers-reduced-motion:reduce) { .dashboard-quick-card,.dashboard-board-card,.sidebar-link { transition:none; } }


/* Option 2: smart-technology login design (no original TWISE logo asset) */
.tech-login-wrap { width:min(1080px,100%); max-width:1080px; min-height:calc(100vh - 190px); grid-template-columns:minmax(0,1.12fr) minmax(320px,.88fr); gap:0; align-items:stretch; overflow:hidden; border-radius:24px; background:#fff; box-shadow:0 28px 85px rgba(8,35,75,.14); border:1px solid #dce8f7; margin:10px auto 36px; }
.tech-login-brand { position:relative; isolation:isolate; overflow:hidden; display:flex; align-items:center; min-height:590px; padding:58px clamp(28px,5vw,66px); color:#fff; background:radial-gradient(ellipse at 85% 18%,rgba(24,151,255,.34),transparent 38%),radial-gradient(ellipse at 12% 90%,rgba(14,105,210,.28),transparent 42%),linear-gradient(145deg,#07172f 0%,#0a2c56 52%,#0c477d 100%); }
.tech-login-brand:before { content:""; position:absolute; inset:0; z-index:-1; opacity:.3; background-image:linear-gradient(rgba(108,190,255,.17) 1px,transparent 1px),linear-gradient(90deg,rgba(108,190,255,.17) 1px,transparent 1px); background-size:42px 42px; mask-image:linear-gradient(110deg,#000,transparent 90%); }
.tech-brand-content { position:relative; z-index:2; }
.tech-login-brand .eyebrow { color:#7ed3ff; font-size:10px; letter-spacing:2.2px; margin:28px 0 12px; }
.tech-login-brand h1 { margin:0; color:#fff; font-size:clamp(36px,4.5vw,54px); line-height:1.12; letter-spacing:-2px; font-weight:800; }
.tech-login-brand h1 strong { color:#62c5ff; font-weight:800; }
.tech-tagline { color:#b9d2ed; margin:25px 0 0; font-size:16px; line-height:1.9; letter-spacing:-.3px; }
.tech-tagline strong { color:#fff; font-weight:750; }
.tech-status { display:flex; align-items:center; gap:9px; margin-top:56px; color:#8fb8de; font-size:9px; letter-spacing:1.7px; font-weight:750; }
.tech-status span { width:7px; height:7px; border-radius:50%; background:#4ce2bd; box-shadow:0 0 12px rgba(76,226,189,.8); }
.tech-symbol { position:relative; width:62px; height:62px; display:block; transform:rotate(30deg); }
.tech-symbol span { position:absolute; inset:0; border:2px solid #7ad7ff; border-radius:13px; transform:rotate(0deg); }
.tech-symbol span:nth-child(2) { inset:10px; border-color:#fff; border-radius:8px; opacity:.85; }
.tech-symbol span:nth-child(3) { inset:20px; background:#49bfff; border:0; border-radius:5px; box-shadow:0 0 24px rgba(73,191,255,.55); }
.tech-grid { position:absolute; inset:0; z-index:0; pointer-events:none; }
.tech-grid span { position:absolute; width:7px; height:7px; border:1px solid #70caff; border-radius:50%; background:#0c3c6c; box-shadow:0 0 12px rgba(84,187,255,.55); }
.tech-grid span:nth-child(1){right:18%;top:15%}.tech-grid span:nth-child(2){right:35%;top:29%}.tech-grid span:nth-child(3){right:12%;top:45%}.tech-grid span:nth-child(4){right:29%;top:61%}.tech-grid span:nth-child(5){right:8%;top:76%}.tech-grid span:nth-child(6){right:44%;top:79%}
.tech-grid:before { content:""; position:absolute; inset:0; opacity:.45; background:linear-gradient(150deg,transparent 0 43%,#2c9bdf 43.1%,transparent 43.3% 100%),linear-gradient(28deg,transparent 0 57%,#2c9bdf 57.1%,transparent 57.3% 100%),linear-gradient(120deg,transparent 0 68%,#2c9bdf 68.1%,transparent 68.3% 100%); }
.tech-grid i { position:absolute; display:block; width:110px; height:110px; border:1px solid rgba(89,188,255,.22); transform:rotate(45deg); }
.tech-grid i:nth-of-type(1){right:-45px;top:5%}.tech-grid i:nth-of-type(2){right:7%;bottom:-50px;width:170px;height:170px}.tech-grid i:nth-of-type(3){right:32%;top:47%;width:60px;height:60px}
.tech-orbit { position:absolute; border:1px solid rgba(101,200,255,.17); border-radius:50%; pointer-events:none; }
.orbit-one { width:420px;height:420px;right:-210px;top:12%; }.orbit-two { width:300px;height:300px;right:-150px;top:25%; }
.tech-login-panel { align-self:center; margin:0; border:0; border-radius:0; box-shadow:none; padding:clamp(28px,4vw,54px); }
.login-heading-mark { width:38px;height:38px;display:flex;align-items:center;justify-content:center;border-radius:11px;background:#e9f5ff;color:#0875cf;font-size:22px;font-weight:800;margin-bottom:26px; }
.tech-login-panel .eyebrow { margin-bottom:7px; color:#0875cf; }
.tech-login-panel h2 { font-size:29px; letter-spacing:-1px; margin-bottom:8px; color:#102b50; }
.tech-login-panel .login-subtitle { font-size:13px; line-height:1.7; margin-bottom:32px; }
.tech-login-panel .field { margin-bottom:21px; }
.tech-login-panel .field label { color:#233b5c; }
.tech-login-panel input { min-height:49px; border-color:#dce7f3; background:#fbfdff; border-radius:10px; }
.tech-login-panel input:focus { border-color:#2998e8; box-shadow:0 0 0 3px rgba(8,117,207,.12); }
.tech-login-panel .login-submit { min-height:50px; margin-top:8px; justify-content:space-between; padding:0 18px; background:linear-gradient(100deg,#0875cf,#0862b7); box-shadow:0 8px 18px rgba(8,117,207,.22); }
.tech-login-panel .register-prompt { margin-top:23px; }
.tech-login-panel .login-note { margin-top:26px; background:#f6f9fd; border:1px solid #e8eff7; border-radius:10px; padding:13px 14px; }
.tech-login-panel .login-note small { color:#8999ad; }
.brand-text-only { gap:12px; }.brand-text-only .brand-mark { width:36px;height:36px;border-radius:10px; }
.landing-brand-panel { background:radial-gradient(ellipse at 80% 15%,rgba(44,158,242,.3),transparent 35%),linear-gradient(135deg,#07172f,#0b3767 65%,#0c5b91); border-color:#163e67; }
.landing-brand-panel h1 { color:#fff; }.landing-divider { background:#62c5ff; }.landing-tech-symbol { width:76px;height:76px; }
.landing-art { opacity:.18; }
@media(max-width:760px) { .tech-login-wrap { grid-template-columns:minmax(0,1fr); width:100%; margin:0 auto 22px; border-radius:18px; }.tech-login-brand { min-height:300px; padding:30px 28px; }.tech-login-brand .eyebrow { margin-top:20px; }.tech-login-brand h1 { font-size:36px; }.tech-tagline { margin-top:14px; font-size:14px; }.tech-status { margin-top:22px; }.tech-symbol { width:45px;height:45px; }.tech-login-panel { padding:28px 24px; }.login-heading-mark { margin-bottom:18px; }.tech-login-brand .tech-grid i:nth-of-type(2) { right:-40px; } }

/* Workspace order controls: visible only to administrators */
.workspace-order-help { margin:10px 10px 3px; color:#8a9ab0; font-size:10px; line-height:1.55; }
.dashboard-board-card-wrap { min-width:0; border:1px solid #e7eef7; border-radius:12px; background:#fff; overflow:hidden; }
.dashboard-board-card-wrap .dashboard-board-card { border:0; border-radius:0; }
.workspace-order-controls { display:flex; justify-content:flex-end; gap:5px; padding:0 10px 9px; }
.workspace-order-controls form { margin:0; }
.workspace-order-controls button { min-width:30px; min-height:28px; padding:2px 8px; border:1px solid #d6e5f5; border-radius:7px; color:#1769b3; background:#f4f9ff; cursor:pointer; }
.workspace-order-controls button:disabled { color:#bdc8d6; background:#f7f9fc; cursor:not-allowed; }
.workspace-status-heading { margin:25px 0 14px; padding:0 2px; }
.workspace-status-heading .eyebrow { margin:0 0 5px; color:#0875cf; font-size:10px; font-weight:800; letter-spacing:1.3px; }
.workspace-status-heading h2 { margin:0 0 5px; color:#17365e; font-size:21px; letter-spacing:-.6px; }
.workspace-status-heading p:last-child { margin:0; color:#8294ab; font-size:12px; }
@media (max-width:760px) { .workspace-order-help { display:none; }.workspace-status-heading { margin-top:22px; }.workspace-status-heading h2 { font-size:19px; } }

/* 관리자 전용 게시판 순서/접근 권한 관리 */
.board-order-list { display:flex; flex-direction:column; gap:8px; }
.board-order-row { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:11px 14px; border:1px solid #e3ebf5; border-radius:10px; background:#f8fbff; }
.board-order-row > span { font-weight:650; color:#233a56; }
.board-order-row .workspace-order-controls { padding:0; }
.board-permission-block { margin-top:22px; padding-top:18px; border-top:1px solid #e8eef6; }
.board-permission-block h3 { margin:0 0 6px; font-size:16px; color:#203c5c; }
.board-permission-block > p { margin:0 0 14px; color:#718096; font-size:13px; line-height:1.6; }
.permission-user-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:8px; }
.permission-user { display:flex; align-items:center; gap:9px; padding:10px 12px; border:1px solid #e1eaf4; border-radius:9px; background:#fff; cursor:pointer; }
.permission-user input { accent-color:#1769b3; }
.permission-user span { display:flex; flex-wrap:wrap; align-items:baseline; gap:5px; font-size:13px; font-weight:600; color:#30465f; }
.permission-user small { color:#8b9aab; font-size:11px; font-weight:400; }


/* Clean multi-file attachment picker */
.attachment-field { margin-top: 4px; }
.attachment-picker { position:relative; display:flex; min-height:190px; flex-direction:column; align-items:center; justify-content:center; gap:9px; padding:24px 18px; border:1.5px dashed #b8cce2; border-radius:15px; background:linear-gradient(180deg,#f8fbff 0%,#f2f7fd 100%); text-align:center; transition:border-color .18s ease,background .18s ease,box-shadow .18s ease; }
.attachment-picker:hover,.attachment-picker.is-dragging { border-color:#2587d5; background:#edf7ff; box-shadow:0 0 0 3px rgba(37,135,213,.08); }
.attachment-input { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.attachment-input:focus-visible + .attachment-picker-icon { outline:3px solid rgba(37,135,213,.25); }
.attachment-picker-icon { display:flex; width:42px; height:42px; align-items:center; justify-content:center; border-radius:12px; background:#e1f0ff; color:#0875cf; font-size:26px; font-weight:700; }
.attachment-picker strong { color:#203b5b; font-size:14px; }
.attachment-browse { cursor:pointer; }
.attachment-picker-note { color:#8292a7; font-size:11px; line-height:1.6; }
.attachment-selected { margin-top:10px; padding:12px 14px; border:1px solid #e5edf6; border-radius:11px; background:#fff; color:#8795a7; font-size:12px; }
.attachment-selected.has-files { color:#334963; }
.attachment-summary { display:flex; flex-direction:column; gap:7px; }
.attachment-file-row { display:flex; align-items:center; justify-content:space-between; gap:14px; min-width:0; }
.attachment-file-name { min-width:0; overflow:hidden; color:#314761; text-overflow:ellipsis; white-space:nowrap; }
.attachment-file-size { flex:0 0 auto; color:#7e8da1; font-variant-numeric:tabular-nums; }
.attachment-total { margin-top:10px; padding-top:9px; border-top:1px solid #edf1f6; color:#0875cf; font-size:11px; font-weight:750; text-align:right; }
@media(max-width:600px) { .attachment-picker { min-height:170px; padding:20px 12px; }.attachment-file-row { gap:8px; }.attachment-file-name { max-width:70%; } }


/* 공지사항 고정 옵션 */
.notice-option-field { margin-top: 4px; }
.notice-option { display:flex; align-items:flex-start; gap:12px; padding:15px 16px; border:1px solid #dce8f5; border-radius:12px; background:#f5f9ff; cursor:pointer; }
.notice-option input { width:17px; height:17px; margin-top:2px; accent-color:#1676d2; flex:0 0 auto; }
.notice-option span { display:grid; gap:4px; }
.notice-option strong { color:#24476d; font-size:13px; }
.notice-option small { color:#7589a2; font-size:11px; line-height:1.5; font-weight:400; }
.dashboard-notice-list em { color:#98a8ba; font-size:10px; font-style:normal; }


/* 회원 관리: 회원별 게시판 권한 */
.member-permission-list { display:grid; gap:16px; }
.member-permission-card { padding:20px; border:1px solid #e5ebf3; border-radius:14px; background:#fff; }
.member-permission-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:18px; }
.member-permission-heading h3 { margin:0 0 6px; font-size:17px; }
.member-permission-heading p { margin:0; color:#7b899b; font-size:12px; }
.member-permission-card h4 { margin:0 0 8px; font-size:14px; }
.member-permission-card .page-subtitle { margin:0 0 12px; font-size:12px; }
@media (max-width: 640px) { .member-permission-heading { flex-direction:column; } .member-permission-card { padding:15px; } }

/* 회원 관리 게시판 권한: 컴팩트한 체크박스와 선택 항목 스타일 */
.member-permission-card .permission-user-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 7px;
}
.member-permission-card .permission-user {
  min-width: 0;
  min-height: 36px;
  padding: 7px 10px;
  gap: 8px;
  border-color: #e4eaf2;
  border-radius: 8px;
  background: #fbfcfe;
  transition: border-color .15s, background .15s;
}
.member-permission-card .permission-user:hover {
  border-color: #b9caff;
  background: #f4f7ff;
}
.member-permission-card .permission-user:has(input:checked) {
  border-color: #b8c9ff;
  background: #f0f4ff;
}
.member-permission-card .permission-user input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: checkbox;
  width: 15px;
  height: 15px;
  min-height: 15px;
  margin: 0;
  padding: 0;
  flex: 0 0 15px;
  accent-color: #315efb;
  box-shadow: none;
}
.member-permission-card .permission-user span {
  min-width: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.member-permission-card .form-actions {
  padding-top: 14px;
  margin-top: 14px;
}
@media (max-width: 640px) {
  .member-permission-card .permission-user-grid {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }
}


/* 프로필의 비밀번호 변경 영역 */
.password-panel { max-width: 560px; padding: 28px; margin-top: 18px; }
.password-panel h2 { margin: 0 0 6px; font-size: 20px; }
.password-panel .section-heading { margin-bottom: 18px; }
.password-panel .field { margin-bottom: 18px; }
@media (max-width: 600px) { .password-panel { padding: 20px 16px; } }


/* 게시판 상세 화면: 명확한 목록 복귀 및 게시글 삭제 액션 */
.board-back-button { margin: -6px 0 20px; }
.post-delete-form { margin: 0; }
.report-side .button-danger { min-width: 68px; }
.report-side .button-danger:hover { background: #ffe3e3; border-color: #efbcbc; color: #a92727; }
@media (max-width: 640px) {
  .board-back-button { margin-top: 0; margin-bottom: 16px; }
  .report-side .post-delete-form { flex: 0 0 auto; }
  .report-side .post-delete-form .button { min-height: 36px; }
}

.dashboard-search {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  flex-wrap: nowrap;
}
.dashboard-search input {
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
}
.dashboard-search button {
  flex: 0 0 auto;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .dashboard-search { display: flex !important; flex-direction: row !important; gap: 5px; }
  .dashboard-search input { flex: 1 1 auto; width: 1%; min-width: 0; }
  .dashboard-search button { flex: 0 0 auto; padding: 9px 12px; min-width: 56px; }
}


/* 게시글 페이지네이션 */
.pagination { display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:8px; margin:24px 0 8px; }
.page-button { display:inline-flex; min-width:38px; height:38px; padding:0 12px; align-items:center; justify-content:center; border:1px solid var(--border, #dbe2ea); border-radius:9px; background:#fff; color:var(--text, #263445); text-decoration:none; font-size:14px; font-weight:600; }
.page-button:hover { border-color:#0875cf; color:#0875cf; }
.page-button.active { background:#0875cf; border-color:#0875cf; color:#fff; }
.page-button.disabled { color:#a0a8b2; background:#f4f6f8; cursor:not-allowed; }

/* 회원관리 관리자 지정 및 삭제 액션 */
.member-status-actions { display:flex; align-items:center; gap:7px; flex-wrap:wrap; }
.button-danger { color:#b42318; border:1px solid #f0c8c5; background:#fff7f6; }
.button-danger:hover { color:#fff; border-color:#b42318; background:#b42318; }
.admin-role-form { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:13px 15px; margin:0 0 16px; border:1px solid #dce7f5; border-radius:10px; background:#f7faff; }
.admin-role-form h4 { margin:0 0 4px; }
.permission-help { margin:0; color:#718198; font-size:12px; line-height:1.5; }
@media(max-width:640px) { .admin-role-form { align-items:flex-start; flex-direction:column; } }

/* 주간보고 취합 대상 선택 UI */
.weekly-export-panel { display:block; width:100%; max-width:960px; padding:26px; margin-top:20px; }
.weekly-date-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; max-width:560px; }
.weekly-date-fields label { display:grid; gap:7px; color:#344b66; font-size:13px; font-weight:700; }
.weekly-date-fields input { width:100%; min-height:42px; padding:9px 11px; border:1px solid #dce4ee; border-radius:9px; background:#fff; color:#26384e; }
.weekly-member-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; margin:26px 0 13px; }
.weekly-member-heading h3 { margin:0 0 5px; font-size:16px; }
.weekly-member-heading p { margin:0; color:#7b899b; font-size:12px; }
.weekly-selected-count { flex:0 0 auto; padding:6px 11px; border-radius:20px; background:#edf4ff; color:#245ca6; font-size:12px; font-weight:750; }
.weekly-member-tools { display:inline-flex; align-items:center; gap:8px; padding:0; margin:0 0 14px; border:0; border-radius:0; background:transparent; }
.weekly-select-all { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:36px; margin:0; padding:7px 13px; border:1px solid #dce5f0; border-radius:8px; background:#fff; color:#40536b; font-size:12px; font-weight:650; cursor:pointer; box-shadow:none; transition:background .15s,border-color .15s; }
.weekly-select-all input { width:15px; height:15px; min-height:0; margin:0; accent-color:#2469c8; }
.weekly-select-all:has(input:checked),.weekly-select-all:has(input:indeterminate) { border-color:#adc8ec; background:#edf4ff; color:#225fa6; }
.weekly-select-all:focus-within { outline:2px solid #94b9e8; outline-offset:2px; }
.weekly-member-option input { accent-color:#2469c8; }
.weekly-clear-selection { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:36px; padding:7px 13px; border:1px solid #dce5f0; border-radius:8px; background:#fff; color:#64748b; font-size:12px; font-weight:650; cursor:pointer; transition:background .15s,color .15s; }
.weekly-clear-selection > span { font-size:17px; line-height:1; }
.weekly-clear-selection:focus-visible { outline:2px solid #94b9e8; outline-offset:2px; }
.weekly-clear-selection:hover { color:#2d527e; border-color:#b8ccef; background:#f8fbff; }
.weekly-select-all:hover { border-color:#b8ccef; }
.weekly-member-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:9px; }
.weekly-member-option { display:flex; align-items:center; gap:10px; min-width:0; padding:11px 12px; border:1px solid #e2e8f0; border-radius:10px; background:#fff; cursor:pointer; transition:border-color .15s,background .15s,box-shadow .15s; }
.weekly-member-option:hover { border-color:#b8ccef; background:#f8fbff; }
.weekly-member-option:has(input:checked) { border-color:#8fb5e8; background:#f0f6ff; box-shadow:inset 0 0 0 1px #d6e6fb; }
.weekly-member-option input { width:16px; height:16px; flex:0 0 16px; margin:0; }
.weekly-member-avatar { display:grid; place-items:center; width:32px; height:32px; flex:0 0 32px; border-radius:50%; background:#e8eff8; color:#35577f; font-size:13px; font-weight:800; }
.weekly-member-text { display:grid; min-width:0; gap:2px; }
.weekly-member-text strong { overflow:hidden; color:#293f59; font-size:13px; text-overflow:ellipsis; white-space:nowrap; }
.weekly-member-text small { overflow:hidden; color:#8a98aa; font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
.weekly-member-role { flex:0 0 auto; padding:3px 6px; border-radius:5px; background:#eef4ff; color:#3565a2; font-size:10px; font-weight:700; }
.weekly-member-check { display:none; margin-left:auto; color:#2469c8; font-size:15px; font-weight:900; }
.weekly-member-option:has(input:checked) .weekly-member-check { display:block; }
.weekly-form-actions,.weekly-download-actions { display:flex; align-items:center; gap:9px; flex-wrap:wrap; margin-top:18px; }
.weekly-post-count { padding:12px 14px; margin:20px 0 0; border-radius:9px; background:#f5f8fc; color:#53657b; font-size:13px; }
.weekly-post-count strong { color:#1d4f91; }
.weekly-download-actions { padding-top:17px; border-top:1px solid #e8edf3; }
.weekly-download-actions form { margin:0; }
.weekly-export-note { margin:18px 0 0; color:#7b899b; font-size:12px; line-height:1.7; }
@media(max-width:600px) { .weekly-export-panel { padding:18px 14px; } .weekly-date-fields { grid-template-columns:1fr; } .weekly-member-heading { align-items:flex-start; flex-direction:column; } .weekly-member-grid { grid-template-columns:1fr; } }


/* T-WISE Hub weekly report responsive controls and password reset notice */
.weekly-date-fields { width:100%; max-width:560px; grid-template-columns:repeat(2,minmax(0,1fr)); }
.weekly-date-fields label { min-width:0; }
.weekly-date-fields input { box-sizing:border-box; min-width:0; width:100%; max-width:100%; font-size:14px; }
.weekly-download-form { margin:0; }
.weekly-download-form button:disabled { opacity:.45; cursor:not-allowed; }
.password-reset-help { margin:8px 0 0; padding:8px 10px; border-radius:7px; background:#f5f8fc; }
@media(max-width:600px) {
  .weekly-export-panel { padding:16px 12px; }
  .weekly-date-fields { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .weekly-date-fields label { font-size:11px; gap:5px; }
  .weekly-date-fields input { min-height:38px; padding:6px 4px; font-size:12px; border-radius:7px; }
  .weekly-download-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .weekly-download-form button { width:100%; padding-left:7px; padding-right:7px; font-size:12px; }
}
@media(max-width:360px) { .weekly-date-fields input { font-size:11px; padding-left:2px; padding-right:2px; } }

/* 모바일 목록 복귀 버튼: 터치 영역 확보, 가로 넘침 방지, 콘텐츠와 간격 유지 */
@media (max-width: 640px) {
  .back-nav-button {
    display: flex;
    width: 100%;
    min-height: 44px;
    margin: 0 0 16px;
    padding: 11px 14px;
    border-radius: 9px;
    font-size: 14px;
    white-space: normal;
    text-align: center;
  }
  .page-heading .back-nav-button {
    width: 100%;
    margin-top: 4px;
  }
  .board-back-button { margin-top: 0; margin-bottom: 16px; }
  .detail-shell > .back-nav-button { margin-bottom: 16px; }
}


/* 주간보고 취합 조건 자동 반영 안내 */
.weekly-auto-apply-note { color: #64748b; font-size: 0.9rem; line-height: 1.5; }
@media (max-width: 640px) { .weekly-form-actions { align-items: stretch; gap: 10px; } .weekly-auto-apply-note { flex-basis: 100%; } }

/* Shared report destination */
.shared-save-panel { margin-top:26px; padding:24px; border:1px solid #dce7f3; border-radius:16px; background:linear-gradient(145deg,#f7faff,#fff); }
.shared-save-heading { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; margin-bottom:20px; }
.shared-save-heading .eyebrow { margin:0 0 6px; font-size:10px; letter-spacing:.12em; color:#547ba7; }
.shared-save-heading h2 { margin:0; font-size:19px; color:#203c5d; }
.shared-save-heading p:not(.eyebrow) { margin:7px 0 0; color:#74849a; font-size:12px; line-height:1.6; }
.shared-save-badge { flex-shrink:0; padding:6px 10px; border-radius:20px; background:#e9f3ee; color:#347355; font-size:11px; font-weight:700; }
.shared-folder-picker { display:grid; gap:9px; }
.shared-folder-picker label { color:#405874; font-size:12px; font-weight:700; }
.shared-folder-picker input { min-height:42px; font-size:14px; background:#fff; }
.shared-folder-picker select { width:100%; padding:6px; border:1px solid #dce5f0; border-radius:10px; background:#fff; color:#344c68; font:inherit; font-size:13px; }
.shared-folder-picker select:focus { outline:2px solid #aacbee; outline-offset:2px; }
.shared-folder-picker option { padding:9px 11px; border-radius:5px; }
.shared-selected-path { display:grid; gap:5px; padding:13px 15px; margin-top:14px; border-radius:9px; background:#edf3fa; }
.shared-selected-path span { font-size:10px; font-weight:700; color:#71849c; }
.shared-selected-path strong { color:#2b527b; font-size:12px; line-height:1.6; overflow-wrap:anywhere; }
.shared-folder-hint,.shared-folder-empty { margin:9px 0 0; color:#74849a; font-size:11px; line-height:1.6; }
.shared-save-panel .weekly-download-actions { border:0; padding-top:0; margin-top:18px; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; }
.shared-save-panel .weekly-download-form button { width:100%; min-height:42px; padding:9px 5px; font-size:12px; background:#fff; }
@media(max-width:600px) { .shared-save-panel { padding:17px 13px; }.shared-save-heading { flex-direction:column; gap:10px; }.shared-save-panel .weekly-download-actions { grid-template-columns:repeat(2,minmax(0,1fr)); } }

.shared-folder-label { color:#405874; font-size:12px; font-weight:700; }
.shared-folder-levels { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:12px; }
.shared-folder-level { display:grid; gap:7px; min-width:0; }
.shared-folder-level > span { color:#7a8b9e; font-size:11px; }
.shared-folder-level select { min-height:44px; padding:10px 12px; font-size:14px; }
@media(max-width:600px) { .shared-folder-levels { grid-template-columns:1fr; } }

.weekly-team-list { display:grid; gap:16px; }
.weekly-team-group { padding:16px; border:1px solid #e0e8f1; border-radius:12px; background:#f8fafd; }
.weekly-team-heading { display:flex; align-items:center; gap:9px; flex-wrap:wrap; margin-bottom:12px; }
.weekly-team-heading h4 { margin:0; color:#2d4a6a; font-size:14px; }
.weekly-team-heading > span { color:#8190a3; font-size:11px; }
.weekly-team-heading label { display:inline-flex; align-items:center; gap:6px; margin-left:auto; color:#58708b; font-size:12px; cursor:pointer; }
.weekly-team-heading input { width:15px; height:15px; min-height:0; accent-color:#2469c8; }

.weekly-report-date { max-width:560px; margin-bottom:15px; }
.weekly-report-date label { display:grid; gap:7px; color:#344b66; font-size:13px; font-weight:700; }
.weekly-report-date input { max-width:274px; min-height:42px; font-size:14px; }
.weekly-report-date p { margin:8px 0 0; color:#7b899b; font-size:12px; line-height:1.7; }
.weekly-date-fields input[readonly] { background:#f3f6fa; color:#687d95; }

.shared-save-heading-actions { display:flex; flex-direction:column; align-items:flex-end; gap:9px; flex-shrink:0; }
.shared-settings-panel { padding:16px; margin-bottom:18px; border:1px solid #dce5f0; border-radius:10px; background:#fff; }
.shared-settings-panel[hidden] { display:none; }
.weekly-settings-form { display:grid; gap:10px; }
.weekly-settings-form label { font-size:12px; color:#405874; font-weight:700; }
.weekly-settings-form input[type=text] { font-size:13px; }
.weekly-settings-form p { margin:0; color:#74849a; font-size:12px; line-height:1.7; }
.weekly-settings-form button { justify-self:end; }
@media(max-width:600px) { .shared-save-heading-actions { flex-direction:row; flex-wrap:wrap; align-items:center; }.weekly-settings-form button { justify-self:stretch; } }

.weekly-member-tools { display:flex; flex-wrap:wrap; width:100%; }
.weekly-member-tools .weekly-auto-apply-note { margin-left:8px; font-size:12px; font-weight:400; }
@media(max-width:640px) { .weekly-member-tools .weekly-auto-apply-note { flex-basis:100%; margin:4px 9px; } }

.weekly-member-status { display:block; margin-top:3px; color:#8492a5; font-size:11px; font-weight:700; line-height:1.5; }
.weekly-member-status.has-reports { color:#1769c2; }
.weekly-member-status.no-reports { color:#d63838; }

/* Weekly report: aligned controls for narrow touch screens */
.weekly-download-form button { gap:5px; }
.weekly-export-panel form,.weekly-export-panel section { min-width:0; }
@media (max-width:640px) {
  .weekly-export-panel { padding:20px 14px; margin-top:14px; border-radius:14px; }
  .weekly-export-form { width:100%; min-width:0; }
  .weekly-report-date { max-width:none; margin-bottom:14px; }
  .weekly-report-date label { gap:8px; font-size:13px; }
  .weekly-report-date input { width:100%; max-width:100%; min-width:0; min-height:46px; font-size:16px; }
  .weekly-report-date p { font-size:11px; line-height:1.7; }
  .weekly-date-fields { max-width:none; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .weekly-date-fields label { font-size:12px; gap:7px; }
  .weekly-date-fields input { min-height:44px; padding:9px 6px; font-size:14px; border-radius:9px; }
  .weekly-member-heading { flex-direction:row; align-items:flex-start; margin:24px 0 14px; gap:10px; }
  .weekly-member-heading > div { min-width:0; }
  .weekly-member-heading h3 { font-size:16px; }
  .weekly-member-heading p { font-size:11px; line-height:1.7; }
  .weekly-selected-count { padding:6px 9px; font-size:11px; white-space:nowrap; }
  .weekly-member-tools { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-bottom:16px; }
  .weekly-select-all,.weekly-clear-selection { min-height:42px; padding:9px 10px; font-size:12px; }
  .weekly-member-tools .weekly-auto-apply-note { grid-column:1 / -1; margin:2px 0 0; font-size:11px; line-height:1.7; }
  .weekly-team-list { gap:12px; }
  .weekly-team-group { padding:13px 10px; border-radius:12px; }
  .weekly-team-heading { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:9px; margin-bottom:11px; }
  .weekly-team-heading h4 { font-size:14px; overflow-wrap:anywhere; }
  .weekly-team-heading label { grid-column:1 / -1; justify-self:start; margin:0; min-height:32px; font-size:11px; }
  .weekly-member-grid { grid-template-columns:minmax(0,1fr); gap:8px; }
  .weekly-member-option { display:grid; grid-template-columns:16px 30px minmax(0,1fr) auto; gap:9px; padding:12px 10px; }
  .weekly-member-option input { min-height:0; width:16px; height:16px; }
  .weekly-member-avatar { width:30px; height:30px; font-size:12px; }
  .weekly-member-text { gap:3px; }
  .weekly-member-text strong { font-size:13px; }
  .weekly-member-role { font-size:9px; padding:3px 5px; }
  .weekly-export-panel .weekly-member-option .weekly-member-check,
  .weekly-export-panel .weekly-member-option:has(input:checked) .weekly-member-check { display:none; }
  .weekly-download-actions,.shared-save-panel .weekly-download-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:stretch; gap:9px; }
  .weekly-download-form { min-width:0; }
  .weekly-download-form button,.shared-save-panel .weekly-download-form button { display:flex; flex-direction:column; justify-content:center; gap:4px; width:100%; height:100%; min-height:62px; padding:10px 6px; white-space:normal; line-height:1.4; border-radius:10px; }
  .weekly-format-name { font-size:12px; font-weight:750; }
  .weekly-action-caption { font-size:11px; font-weight:500; }
  .shared-save-panel { margin-top:22px; padding:18px 12px; border-radius:13px; }
  .shared-save-heading { display:grid; gap:13px; margin-bottom:17px; }
  .shared-save-heading h2 { font-size:17px; }
  .shared-save-heading-actions { width:100%; flex-direction:row; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:8px; }
  .shared-save-heading-actions .button { min-height:38px; padding:8px 10px; font-size:11px; }
  .shared-folder-levels { grid-template-columns:minmax(0,1fr); gap:12px; }
  .shared-folder-level select { min-width:0; max-width:100%; min-height:46px; font-size:16px; }
  .shared-selected-path { padding:12px; }
  .shared-selected-path strong { font-size:12px; word-break:break-word; }
  .shared-settings-panel { padding:13px 10px; }
  .weekly-settings-form input[type=text] { min-width:0; font-size:16px; }
  #sharedFolderRetry,#sharedFolderReset { max-width:100%; min-height:42px; margin-top:9px; font-size:11px; white-space:normal; }
  .weekly-export-note { font-size:11px; line-height:1.8; }
}
@media (max-width:360px) {
  .weekly-export-panel { padding:17px 10px; }
  .weekly-date-fields { grid-template-columns:minmax(0,1fr); }
  .weekly-member-option { grid-template-columns:16px minmax(0,1fr) auto; gap:8px; }
  .weekly-member-option .weekly-member-avatar { display:none; }
  .shared-save-panel { padding:16px 10px; }
}

/* Flexible date fields, separated member controls and folder recovery actions */
.weekly-report-date,.weekly-date-fields { width:100%; max-width:none; min-width:0; }
.weekly-report-date label,.weekly-date-fields label { min-width:0; max-width:100%; grid-template-columns:minmax(0,1fr); }
.weekly-report-date input[type=date],.weekly-date-fields input[type=date] { display:block; box-sizing:border-box; width:100%; max-width:100%; min-width:0; min-inline-size:0; -webkit-appearance:none; appearance:none; }
.weekly-report-date input[type=date]::-webkit-date-and-time-value,.weekly-date-fields input[type=date]::-webkit-date-and-time-value { min-width:0; text-align:left; }
.weekly-date-fields { column-gap:18px; row-gap:14px; }
.weekly-member-option { column-gap:14px; }
#sharedFolderRetry,#sharedFolderReset { background:#edf8f0; border-color:#cee7d5; color:#35734d; }
#sharedFolderRetry:hover,#sharedFolderReset:hover { background:#e0f1e5; border-color:#acd3b8; }
#sharedFolderRetry:focus-visible,#sharedFolderReset:focus-visible { outline:2px solid #91c5a1; outline-offset:2px; }
@media(max-width:640px) {
  .weekly-report-date label,.weekly-date-fields label { width:100%; }
  .weekly-date-fields { column-gap:16px; row-gap:14px; }
  .weekly-member-option { grid-template-columns:22px 30px minmax(0,1fr) auto; column-gap:12px; }
  .weekly-report-date input[type=date],.weekly-date-fields input[type=date] { font-size:16px; }
}
@media(max-width:360px) {
  .weekly-member-option { grid-template-columns:20px 28px minmax(0,1fr) auto; column-gap:10px; }
  .weekly-member-option .weekly-member-avatar { display:grid; width:28px; height:28px; }
}

/* Transient member-management feedback does not shift page content. */
.admin-toast-stack { position:fixed; top:18px; left:50%; transform:translateX(-50%); z-index:10000; display:grid; gap:8px; width:min(480px,calc(100% - 28px)); pointer-events:none; }
.admin-toast { padding:13px 17px; border:1px solid #cce6d6; border-radius:11px; background:#edf8f1; color:#2d6748; box-shadow:0 6px 24px rgba(24,45,70,.14); font-size:13px; line-height:1.6; overflow-wrap:anywhere; }
.admin-toast-danger { border-color:#f0cccc; background:#fff0f0; color:#a43c3c; }
.admin-toast-warning { border-color:#eadbb9; background:#fff8e9; color:#866426; }
.admin-toast-info { border-color:#d1e1f2; background:#eff6ff; color:#355f8d; }
.member-permission-card[aria-busy=true] { opacity:.75; }
@media(max-width:640px) { .admin-toast-stack { top:12px; }.admin-toast { font-size:12px; padding:12px 14px; } }

/* Global feedback stays outside document flow on desktop and mobile. */
html { scroll-behavior:auto; scrollbar-gutter:stable; }
.flash-stack { position:fixed; top:18px; left:50%; transform:translateX(-50%); z-index:9999; width:min(480px,calc(100% - 28px)); margin:0; pointer-events:none; }
.flash-stack .flash { margin:0 0 8px; }
form[aria-busy=true] { opacity:.8; }
@media(max-width:640px) { .flash-stack { top:12px; } }

.team-board-settings { padding:16px; margin-bottom:22px; border:1px solid #dce7f3; border-radius:12px; background:#f8fbff; }
.team-board-settings summary { color:#345a82; font-size:13px; font-weight:700; cursor:pointer; }
.team-board-settings > p { margin:12px 0; color:#73849b; font-size:12px; line-height:1.7; }
.team-board-setting-row { display:grid; grid-template-columns:minmax(120px,1fr) minmax(0,2fr); align-items:center; gap:12px; }
.team-board-setting-row select { width:100%; min-width:0; min-height:42px; padding:9px 12px; border:1px solid #dce5f0; border-radius:9px; color:#344c68; background:#fff; font:inherit; font-size:13px; }
.weekly-team-source { margin:0 0 12px; color:#627f9f; font-size:11px; overflow-wrap:anywhere; }
.weekly-team-source.unavailable { color:#c44646; }
@media(max-width:640px) { .team-board-settings { padding:14px 12px; }.team-board-setting-row { grid-template-columns:minmax(0,1fr); gap:7px; }.team-board-setting-row select { font-size:16px; } }

.admin-board-actions { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.admin-board-actions form { margin:0; }
.admin-board-actions button:disabled { opacity:.45; cursor:not-allowed; }
@media(max-width:640px) { .admin-board-actions { width:100%; }.admin-board-actions form { flex:1; }.admin-board-actions button { width:100%; min-height:42px; } }

.weekly-member-status.board-unassigned { color:#a16c22; }

.post-move-form { display:flex; flex-wrap:wrap; align-items:center; gap:12px; padding:15px; margin:14px 0; border:1px solid #dce7f3; border-radius:12px; background:#f8fbff; }
.post-move-all { display:inline-flex; align-items:center; gap:8px; font-size:12px; color:#45617f; }
.post-move-all input,.post-move-check input { width:17px; height:17px; min-height:0; margin:0; accent-color:#2469c8; }
.post-move-form [data-move-count] { font-size:12px; color:#74859a; }
.post-move-target { display:grid; gap:5px; min-width:0; flex:1; font-size:12px; color:#45617f; }
.post-move-target select { width:100%; min-width:0; min-height:42px; padding:9px 11px; border:1px solid #dce5f0; border-radius:9px; background:#fff; color:#344c68; font:inherit; }
.post-move-check { display:flex; align-items:center; align-self:stretch; padding-right:10px; cursor:pointer; }
.post-move-detail summary { list-style:none; cursor:pointer; }
.post-move-detail summary::-webkit-details-marker { display:none; }
.post-move-detail[open] { flex-basis:100%; }
.post-move-detail .post-move-form { margin-bottom:0; }
.post-move-form button:disabled { opacity:.45; cursor:not-allowed; }
@media(max-width:640px) { .post-move-form { gap:10px; padding:13px 11px; }.post-move-target { flex-basis:100%; }.post-move-target select { font-size:16px; }.post-move-form button { width:100%; min-height:44px; }.report-card:has(.post-move-check) { position:relative; padding-left:43px; }.post-move-check { position:absolute; top:18px; left:14px; bottom:18px; padding:0; } }

/* Keep selection, text and actions in consistent columns on board lists. */
.report-card.board-post-card { display:grid; grid-template-columns:24px minmax(0,1fr) auto; align-items:center; gap:18px; padding:22px; }
.board-post-card .post-selection-cell { grid-column:1; align-self:start; display:flex; justify-content:center; padding-top:3px; }
.board-post-card .post-move-check { position:static; align-self:auto; padding:0; min-height:24px; }
.board-post-card .report-main { grid-column:2; min-width:0; }
.board-post-card .report-side { grid-column:3; width:auto; flex-wrap:nowrap; gap:8px; }
.board-post-card .report-side > .button { flex:initial; }
#movePostsForm { display:grid; grid-template-columns:auto auto minmax(180px,1fr) auto; align-items:end; column-gap:16px; }
#movePostsForm .post-move-all,#movePostsForm [data-move-count] { align-self:center; }
#movePostsForm .post-move-target { width:100%; }
.detail-panel .detail-actions { position:static; display:grid; grid-template-columns:repeat(3,max-content); align-items:stretch; justify-content:end; gap:9px; }
.detail-panel .detail-actions > .button,.detail-panel .detail-actions > form > .button { width:100%; min-height:42px; margin:0; }
.post-move-panel { margin-top:16px; padding:18px; border:1px solid #dce7f3; border-radius:12px; background:#f8fbff; }
.post-move-panel[hidden] { display:none; }
.post-move-panel h3 { margin:0 0 5px; color:#345a82; font-size:15px; }
.post-move-panel > p { margin:0 0 14px; color:#74859a; font-size:12px; }
.post-move-panel .post-move-form { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; margin:0; padding:0; border:0; background:transparent; }
.post-move-panel .post-move-form button { min-width:110px; min-height:42px; }
@media(max-width:900px) {
  #movePostsForm { grid-template-columns:minmax(0,1fr) auto; gap:12px; }
  #movePostsForm .post-move-target { grid-column:1; }
  .report-card.board-post-card { grid-template-columns:24px minmax(0,1fr); gap:12px 14px; padding:18px; }
  .board-post-card .post-selection-cell { grid-row:1; }
  .board-post-card .report-side { grid-column:2; grid-row:2; justify-content:flex-start; }
}
@media(max-width:640px) {
  .report-card.board-post-card { padding:16px 13px; grid-template-columns:22px minmax(0,1fr); gap:12px; }
  .board-post-card .report-side { display:flex; width:100%; gap:8px; }
  .board-post-card .report-side > .button { flex:1; flex-basis:auto; min-height:40px; }
  .board-post-card .report-side .post-delete-form { flex:0 0 auto; }
  .board-post-card .report-meta { flex-wrap:wrap; gap:5px; font-size:11px; }
  .board-post-card h2 { font-size:15px; }
  #movePostsForm { padding:14px 12px; gap:11px; }
  #movePostsForm .post-move-target,#movePostsForm > button { grid-column:1 / -1; }
  #movePostsForm .post-move-all { font-size:11px; }
  .detail-panel .detail-actions { grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; padding:14px 0 0; }
  .detail-panel .detail-actions .button { padding:9px 5px; font-size:12px; min-width:0; }
  .post-move-panel { padding:15px 12px; }
  .post-move-panel .post-move-form { grid-template-columns:minmax(0,1fr); gap:12px; }
  .post-move-panel .post-move-form button { width:100%; }
}

.comments-panel .comment-form .form-actions { position:static; margin-top:10px; }
