:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #29251f; background: #f7f8fa; }
* { box-sizing: border-box; } body { margin: 0; min-width: 320px; } button, input { font: inherit; } button { cursor: pointer; }
.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at top right, #fff3e9, #f7f8fa 55%); }
.login-card { width: min(100%, 420px); padding: 42px; background: #fff; border: 1px solid #e9ddd4; border-radius: 24px; box-shadow: 0 20px 55px #7c5b2d16; }
.brand-mark, .welcome-icon { display: grid; place-items: center; background: #ff9500; color: #fff; border-radius: 14px; font-weight: 800; } .brand-mark { width: 48px; height: 48px; font-size: 24px; }
.eyebrow { margin: 0 0 8px; color: #b36a14; font-size: 11px; letter-spacing: .16em; font-weight: 700; } h1, h2, p { margin-top: 0; } h1 { margin-bottom: 8px; font-size: 28px; } h2 { margin-bottom: 8px; font-size: 24px; }
.muted, .empty-state span, .info-card small { color: #806f62; } .stack { display: grid; gap: 16px; margin-top: 30px; } label { display: grid; gap: 8px; font-size: 13px; font-weight: 700; }
input { width: 100%; padding: 12px 14px; border: 1px solid #e9ddd4; border-radius: 10px; outline: 0; background: #fffdfa; } input:focus { border-color: #ff9500; box-shadow: 0 0 0 3px #ff950022; }
button[type="submit"] { border: 0; border-radius: 10px; padding: 13px; background: #ff9500; color: #fff; font-weight: 700; } button:disabled { cursor: wait; opacity: .6; } .form-message { min-height: 20px; margin: 0; color: #b42318; font-size: 13px; }
.portal-shell { min-height: 100vh; display: flex; } .sidebar { width: 244px; display: flex; flex-direction: column; padding: 28px 16px; background: #fff; border-right: 1px solid #e9ddd4; }
.logo { display: flex; align-items: center; gap: 10px; padding: 0 12px 32px; font-weight: 800; font-size: 18px; } .logo span { display: grid; place-items: center; width: 34px; height: 34px; background: #ff9500; color: #fff; border-radius: 10px; } .logo small { display: block; color: #806f62; font-size: 10px; font-weight: 500; }
nav { display: grid; gap: 6px; } .nav-item, .logout { width: 100%; padding: 12px 14px; text-align: left; border: 0; border-radius: 10px; background: transparent; color: #806f62; } .nav-item:hover, .nav-item.active { background: #fff1e8; color: #8c5000; font-weight: 700; } .logout { margin-top: auto; color: #a54b42; }
.content { flex: 1; padding: 36px clamp(24px, 5vw, 72px); } .topbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; border-bottom: 1px solid #e9ddd4; padding-bottom: 22px; } .status-dot { color: #26734d; font-size: 13px; } .status-dot::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: #41b883; }
.page-content { padding-top: 28px; } .welcome { display: flex; justify-content: space-between; gap: 24px; padding: 32px; border-radius: 20px; background: linear-gradient(135deg, #fff1e8, #fffdfa); } .welcome-icon { width: 68px; height: 68px; font-size: 30px; } .card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; } .info-card { display: grid; gap: 10px; padding: 22px; border: 1px solid #e9ddd4; border-radius: 16px; background: #fff; } .info-card span { color: #806f62; font-size: 13px; } .info-card strong { font-size: 23px; }
.account-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px; border: 1px solid #e9ddd4; border-radius: 16px; background: #fff; } .account-toolbar h2 { margin-bottom: 6px; } .secondary-button, .text-button { border: 1px solid #e9ddd4; border-radius: 9px; padding: 9px 13px; background: #fff; color: #8c5000; font-weight: 700; } .account-toolbar .secondary-button { white-space: nowrap; } .account-list { display: grid; gap: 10px; margin-top: 16px; } .account-row { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid #e9ddd4; border-radius: 14px; background: #fff; } .account-row > div { display: grid; gap: 6px; flex: 1; } .account-row small { color: #806f62; } .account-status { padding: 5px 9px; border-radius: 99px; background: #f2f4f7; color: #667085; font-size: 12px; } .account-status.normal { background: #ecfdf3; color: #027a48; } .account-status.disabled, .account-status.restricted { background: #fff1f0; color: #b42318; } .text-button { border: 0; background: transparent; } .text-button.danger { color: #b42318; } .account-form { max-width: 520px; padding: 28px; border: 1px solid #e9ddd4; border-radius: 16px; background: #fff; } .account-form h2 { margin-bottom: 0; } .info-card[role="button"] { cursor: pointer; } .info-card[role="button"]:focus-visible { outline: 3px solid #ff9500; outline-offset: 2px; }
.dictionary-filters { display: flex; gap: 10px; margin-top: 16px; } .dictionary-filters input { max-width: 260px; } .dictionary-list { display: grid; gap: 10px; margin-top: 16px; } .dictionary-row { align-items: flex-start; } .dictionary-child { margin-left: 28px; border-left: 4px solid #ff9500; } .dictionary-form select { width: 100%; padding: 12px 14px; border: 1px solid #e9ddd4; border-radius: 10px; background: #fffdfa; }
.portal-tabs, .portal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; } .active-tab { background: #fff1e8; border-color: #ff9500; } .detail-grid { display: grid; grid-template-columns: 140px 1fr; gap: 12px 18px; margin: 24px 0; } .detail-grid dt { color: #806f62; font-size: 13px; } .detail-grid dd { margin: 0; overflow-wrap: anywhere; } .detail-grid ul { margin: 0; padding-left: 20px; }
.empty-state { display: grid; justify-items: center; gap: 8px; padding: 96px 20px; text-align: center; border: 1px dashed #ddc7b6; border-radius: 20px; background: #fffdfa; } .empty-icon { font-size: 42px; color: #ff9500; }
.loading-state { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 180px; color: #806f62; }.spinner { width: 18px; height: 18px; border: 2px solid #f0d7c2; border-top-color: #ff9500; border-radius: 50%; animation: spin .8s linear infinite; } .portal-list { margin-top: 18px; }.pagination { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 14px; color: #806f62; font-size: 13px; }.pagination button { padding: 7px 12px; border: 1px solid #e9ddd4; border-radius: 8px; background: #fff; color: #8c5000; }.pagination button:disabled { cursor: not-allowed; opacity: .45; } @keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) { .sidebar { width: 76px; padding: 20px 10px; } .logo { justify-content: center; padding: 0 0 26px; } .logo div, .nav-item, .logout { font-size: 0; text-align: center; } .nav-item::before { content: "•"; font-size: 20px; } .logo span { flex: 0 0 auto; } .content { padding: 24px 16px; } .card-grid { grid-template-columns: 1fr; } .welcome { padding: 22px; } }
