/* Front-end workstation. Scoped to avoid affecting wp-login and admin. */
html { box-sizing: border-box; }
body.amita-tv-front-body, body.amita-tv-front-body * { box-sizing: border-box; }
body.amita-tv-front-body { margin: 0; min-height: 100vh; background: #f5f7fa; color: #1b293b; font: 15px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
body.amita-tv-front-body a { color: #1768b7; }
body.amita-tv-front-body button, body.amita-tv-front-body input, body.amita-tv-front-body select { font: inherit; }
.amita-tv-site { display:flex; flex-direction:column; min-height:100vh; }
.amita-tv-site-header { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; min-height:80px; padding:14px max(24px, calc((100vw - 1380px) / 2)); background:#fff; border-bottom:1px solid #e4e8ee; box-shadow:0 1px 3px #1b293b08; }
.amita-tv-brand { display:flex; align-items:center; gap:12px; color:#18344e !important; text-decoration:none; }
.amita-tv-brand-symbol { display:grid; place-items:center; width:44px; height:44px; color:#fff; background:#136b88; border-radius:12px; font-size:27px; font-weight:800; line-height:1; }
.amita-tv-brand strong { display:block; font-size:19px; font-weight:800; line-height:1.3; letter-spacing:.07em; }
.amita-tv-brand small { display:block; font-size:10px; color:#64758a; font-weight:800; letter-spacing:.1em; }
.amita-tv-user { display:flex; align-items:center; gap:20px; }
.amita-tv-user-name { color:#384b60; font-weight:600; max-width:250px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.amita-tv-logout { display:inline-block; border:1px solid #d5dee7; background:#fff; color:#21425f !important; font-weight:650; padding:8px 14px; border-radius:8px; text-decoration:none; }
.amita-tv-logout:hover { background:#f0f5fa; }
.amita-tv-main { flex:1; width:100%; max-width:1430px; padding:28px 24px 44px; margin:0 auto; }
.amita-tv-site-footer { text-align:center; color:#8190a1; padding:20px 10px 30px; font-size:12px; }
.amita-tv-front-body .amita-tv-app { background:#fff; border:1px solid #e2e7ed; border-radius:14px; box-shadow:0 4px 30px #162e4710; padding:28px; margin:0; max-width:none; }
.amita-tv-front-body .amita-tv-app h1 { margin:0 0 10px; font-size:27px; line-height:1.3; color:#102c44; font-weight:750; }
.amita-tv-front-body .amita-tv-app h2 { margin:28px 0 15px; font-size:19px; color:#173a55; font-weight:730; }
.amita-tv-front-body .amita-tv-app h3 { font-size:17px; margin:24px 0 12px; }
.amita-tv-front-body .amita-tv-app p { margin:10px 0 15px; }
.amita-tv-front-body .amita-tv-app .description { font-size:13px; color:#637589; }
.amita-tv-front-body .amita-tv-app nav.nav-tab-wrapper { display:flex; gap:8px; flex-wrap:wrap; padding:4px 0 12px; border-bottom:1px solid #e5ebf1; margin:23px 0 24px; }
.amita-tv-front-body .amita-tv-app .nav-tab { display:inline-block; text-decoration:none; color:#53657a; font-weight:650; padding:11px 17px; border:1px solid transparent; border-radius:9px; }
.amita-tv-front-body .amita-tv-app .nav-tab:hover { background:#f1f5f9; }
.amita-tv-front-body .amita-tv-app .nav-tab-active { color:#155f83; background:#e7f3f6; border-color:#c4e4ec; }
.amita-tv-front-body .amita-tv-app input[type=text], .amita-tv-front-body .amita-tv-app input[type=password], .amita-tv-front-body .amita-tv-app input[type=file], .amita-tv-front-body .amita-tv-app select { border:1px solid #cdd8e1; color:#1f3446; border-radius:8px; background:#fff; padding:9px 10px; max-width:100%; min-height:41px; }
.amita-tv-front-body .amita-tv-app input:focus, .amita-tv-front-body .amita-tv-app select:focus { outline:2px solid #97d0e3; outline-offset:1px; }
.amita-tv-front-body .amita-tv-app .large-text { width:100%; }
.amita-tv-front-body .amita-tv-app .regular-text { width:360px; }
.amita-tv-front-body .amita-tv-app .button, .amita-tv-front-body .amita-tv-app button.button, .amita-tv-front-body .amita-tv-app input[type=submit] { display:inline-flex; align-items:center; justify-content:center; min-height:39px; padding:8px 16px; border-radius:8px; border:1px solid #c7d6e2; background:#fff; color:#1d4d70; font-weight:650; text-decoration:none; cursor:pointer; }
.amita-tv-front-body .amita-tv-app .button-primary, .amita-tv-front-body .amita-tv-app input[type=submit].button-primary { color:#fff; border-color:#126887; background:#13799b; }
.amita-tv-front-body .amita-tv-app .button:hover { filter:brightness(.96); }
.amita-tv-front-body .amita-tv-app .button:disabled { opacity:.55; cursor:wait; }
.amita-tv-front-body .amita-tv-app .form-table { width:100%; border-collapse:collapse; }
.amita-tv-front-body .amita-tv-app .form-table tr { border-bottom:1px solid #eef1f4; }
.amita-tv-front-body .amita-tv-app .form-table th { width:210px; text-align:left; padding:17px 16px 17px 0; vertical-align:top; }
.amita-tv-front-body .amita-tv-app .form-table td { padding:12px 0; vertical-align:top; }
.amita-tv-front-body .amita-tv-app .form-table td .description { margin:6px 0; }
.amita-tv-front-body .amita-tv-app .widefat { width:100%; border-collapse:collapse; margin:12px 0 20px; background:#fff; font-size:13px; }
.amita-tv-front-body .amita-tv-app .widefat th, .amita-tv-front-body .amita-tv-app .widefat td { border-bottom:1px solid #e9edf2; padding:11px 10px; text-align:left; vertical-align:top; }
.amita-tv-front-body .amita-tv-app .widefat th { color:#50657a; background:#f0f4f8; font-size:12px; font-weight:750; }
.amita-tv-front-body .amita-tv-app .widefat tr:nth-child(even) { background:#fafbfd; }
.amita-tv-front-body .amita-tv-app .notice { border-left:4px solid #2274ac; background:#ecf5fb; border-radius:5px; padding:10px 14px; margin:12px 0; }
.amita-tv-front-body .amita-tv-app .notice p { margin:4px 0; }
.amita-tv-front-body .amita-tv-app .notice-error { border-color:#c43f3f; background:#fef3f2; }
.amita-tv-front-body .amita-tv-app .notice-success { border-color:#22835c; background:#eaf7ef; }
.amita-tv-front-body .amita-tv-app .notice-warning { border-color:#dc9428; background:#fffaed; }
.amita-tv-front-body .amita-tv-app .submit { margin:12px 0; }
.amita-tv-front-body .amita-tv-app form { max-width:100%; }
.amita-tv-auth-card { width:100%; max-width:460px; background:#fff; border:1px solid #e3e9ef; box-shadow:0 10px 45px #193c5c12; border-radius:16px; padding:36px; margin:42px auto; }
.amita-tv-auth-icon { font-size:28px; margin-bottom:8px; }
.amita-tv-auth-card h1 { font-size:25px; color:#17354b; line-height:1.3; margin:0 0 14px; }
.amita-tv-auth-card p { color:#52667a; font-size:14px; margin:0 0 24px; }
.amita-tv-auth-card label { display:block; margin-bottom:7px; color:#2b465c; font-weight:650; }
.amita-tv-auth-card .login-username, .amita-tv-auth-card .login-password { margin:18px 0; }
.amita-tv-auth-card input[type=text], .amita-tv-auth-card input[type=password] { width:100%; height:45px; padding:10px 12px; border:1px solid #cfdbe4; border-radius:8px; color:#16344b; background:#fff; }
.amita-tv-auth-card .login-remember label { display:flex; align-items:center; gap:9px; font-weight:500; }
.amita-tv-auth-card input[type=submit] { width:100%; padding:12px; border:0; color:#fff; background:#13799b; font-weight:750; border-radius:8px; cursor:pointer; }
.amita-tv-auth-card input[type=submit]:hover { background:#0b6685; }
.amita-tv-auth-card .amita-tv-auth-help { font-size:12px; color:#7b8da0; margin-top:23px; margin-bottom:0; }
.amita-tv-front-body .amita-tv-auth-card .amita-tv-logout { width:auto; }
@media (max-width:850px) {
 .amita-tv-site-header { padding:12px 18px; }
 .amita-tv-main { padding:16px 12px 28px; }
 .amita-tv-front-body .amita-tv-app { padding:18px 14px; border-radius:11px; }
 .amita-tv-front-body .amita-tv-app .form-table tr { display:block; }
 .amita-tv-front-body .amita-tv-app .form-table th, .amita-tv-front-body .amita-tv-app .form-table td { display:block; width:100%; padding:8px 0; }
 .amita-tv-front-body .amita-tv-app .widefat { display:block; overflow-x:auto; }
 .amita-tv-front-body .amita-tv-app h1 { font-size:22px; }
 .amita-tv-user { gap:8px; }
 .amita-tv-user-name { display:none; }
 .amita-tv-auth-card { margin:18px auto; padding:26px 22px; }
}
