:root {
    --bg: #f1f5f9;
    --card: #fff;
    --border: #e2e8f0;
    --text: #0f172a;
    --text2: #64748b;
    --primary: #3b82f6;
    --primary-d: #2563eb;
    --green: #22c55e;
    --green-bg: #dcfce7;
    --green-t: #166534;
    --red: #ef4444;
    --red-bg: #fee2e2;
    --red-t: #991b1b;
    --yellow-bg: #fef3c7;
    --yellow-t: #92400e;
    --nav: #0f172a;
    --radius: 10px;
    --shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --shadow-lg: 0 4px 12px rgba(0,0,0,.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; }

/* NAV */
.topnav { background: var(--nav); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(255,255,255,.06); }
.nav-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; gap: 16px; padding: 0 20px; height: 52px; }
.nav-brand { color: #fff; font-weight: 800; font-size: 15px; text-decoration: none; letter-spacing: -.5px; }
.nav-links { display: flex; gap: 2px; }
.nav-link { color: #94a3b8; text-decoration: none; font-size: 13px; padding: 6px 14px; border-radius: 8px; transition: all .15s; font-weight: 500; }
.nav-link:hover { color: #e2e8f0; background: rgba(255,255,255,.07); }
.nav-link.active { color: #fff; background: rgba(255,255,255,.12); }
.nav-user { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-username { color: #94a3b8; font-size: 12px; font-weight: 500; }
.btn-logout { color: #f87171; font-size: 11px; text-decoration: none; padding: 5px 12px; border-radius: 6px; border: 1px solid rgba(248,113,113,.25); transition: all .15s; font-weight: 500; }
.btn-logout:hover { background: rgba(248,113,113,.12); }

/* CONTAINER */
.container { max-width: 1100px; margin: 0 auto; padding: 24px 20px; }

/* CARD */
.card { background: var(--card); padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 20px; border: 1px solid var(--border); }
.card h1 { font-size: 1.3rem; font-weight: 700; margin-bottom: 4px; }
.card h2 { font-size: 1rem; font-weight: 700; margin-top: 24px; margin-bottom: 10px; }

/* JOB HEADER */
.job-header { background: var(--card); padding: 20px 24px; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 16px; border: 1px solid var(--border); }
.job-header-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.job-title { font-size: 1.4rem; font-weight: 800; letter-spacing: -.3px; }
.job-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; color: var(--text2); }
.job-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: #cbd5e1; }
.job-meta .kw { color: var(--primary); }
.job-progress { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.progress-ring { position: relative; width: 52px; height: 52px; }
.progress-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.progress-ring span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: var(--green-t); }
.progress-text { font-size: 20px; font-weight: 800; letter-spacing: -.5px; }
.progress-text small { font-size: 13px; color: var(--text2); font-weight: 500; }

/* ENTRIES CARD */
.entries-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); overflow: hidden; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.filter-tabs { display: flex; gap: 4px; }
.ftab { background: none; border: 1px solid var(--border); border-radius: 8px; padding: 6px 14px; font-size: 12px; cursor: pointer; color: var(--text2); font-weight: 500; transition: all .15s; display: flex; align-items: center; gap: 5px; }
.ftab:hover { border-color: #cbd5e1; color: var(--text); }
.ftab.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.ftab b { font-weight: 700; }
.search-box input { padding: 7px 14px; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; width: 220px; outline: none; transition: border-color .15s; background: #f8fafc; }
.search-box input:focus { border-color: var(--primary); background: #fff; }

/* TABLE */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 8px 10px; text-align: left; font-size: 13px; border-bottom: 1px solid #f1f5f9; }
th { background: #f8fafc; font-weight: 600; font-size: 12px; color: var(--text2); text-transform: uppercase; letter-spacing: .3px; position: sticky; top: 0; z-index: 1; border-bottom: 1px solid var(--border); }
.da-cell { text-align: center; color: var(--text2); font-size: 12px; }

/* ROW STATES */
.done-row { background: #f0fdf4; }
.done-row td { color: #6b7280; }
.skip-row { background: #fffbeb; }
.skip-row .urls-cell { opacity: .35; pointer-events: none; }

/* INPUTS IN TABLE */
.site-row td input[type="text"] { width: 100%; font-size: 12px; padding: 5px 8px; border: 1px solid transparent; border-radius: 6px; background: transparent; transition: all .15s; outline: none; }
.site-row td input[type="text"]:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(59,130,246,.1); }
.site-row td input[type="text"]:hover:not(:focus) { background: #f8fafc; }
.site-row td select { font-size: 11px; padding: 4px 6px; border-radius: 6px; border: 1px solid transparent; outline: none; cursor: pointer; font-weight: 600; }

/* TOGGLE & STATUS */
.status-cell { text-align: center; vertical-align: middle; padding: 6px 4px !important; }
.status-cell .toggle { display: block; cursor: pointer; user-select: none; }
.status-cell .toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.done-toggle { margin-bottom: 4px; }
.toggle-track { display: inline-block; width: 32px; height: 18px; background: #d1d5db; border-radius: 9px; position: relative; transition: background .2s; }
.toggle-thumb { position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; background: #fff; border-radius: 50%; transition: transform .2s; box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.done-toggle input:checked + .toggle-track { background: var(--green); }
.done-toggle input:checked + .toggle-track .toggle-thumb { transform: translateX(14px); }
.skip-pill { display: inline-block; font-size: 9px; padding: 2px 7px; border-radius: 8px; background: #f1f5f9; color: #94a3b8; border: 1px solid #e2e8f0; transition: all .2s; line-height: 1.3; white-space: nowrap; font-weight: 600; }
.skip-toggle input:checked + .skip-pill { background: var(--yellow-bg); color: var(--yellow-t); border-color: #fbbf24; }

/* BADGES */
.badge { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 600; }
.badge-indexed { background: var(--green-bg); color: var(--green-t); }
.badge-not { background: var(--red-bg); color: var(--red-t); }
.idx-red { background: var(--red-bg) !important; color: var(--red-t) !important; border-color: #fca5a5 !important; font-weight: 600; }
.idx-green { background: var(--green-bg) !important; color: var(--green-t) !important; border-color: #86efac !important; font-weight: 600; }

/* SITE URL */
.site-url-cell { position: relative; min-width: 150px; }
.site-url-cell input { padding-right: 20px !important; }
.site-url-link { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 13px; color: var(--primary); text-decoration: none; }

/* URL POSTS */
.urls-cell { min-width: 140px; position: relative; }
.btn-toggle-urls { background: #f1f5f9; border: 1px solid var(--border); border-radius: 6px; padding: 4px 10px; font-size: 11px; cursor: pointer; color: var(--text2); white-space: nowrap; font-weight: 600; transition: all .15s; }
.btn-toggle-urls:hover { border-color: #cbd5e1; }
.btn-toggle-urls.active { background: #eff6ff; color: var(--primary); border-color: var(--primary); }
.btn-toggle-urls.posts-need { background: var(--red-bg); color: var(--red-t); border-color: #fca5a5; }
.btn-toggle-urls.posts-ok { background: var(--green-bg); color: var(--green-t); border-color: #86efac; }
.urls-panel { margin-top: 8px; animation: fadeIn .15s; }
.url-list { display: flex; flex-direction: column; gap: 3px; margin-bottom: 6px; }
.url-item { background: #f0f9ff; border-radius: 6px; padding: 5px 8px; border: 1px solid #e0f2fe; }
.url-item-main { display: flex; align-items: center; gap: 4px; }
.url-link { font-size: 11px; color: var(--primary); word-break: break-all; flex: 1; text-decoration: none; }
.url-link:hover { text-decoration: underline; }
.bl-count { font-size: 10px; padding: 1px 6px; border-radius: 4px; white-space: nowrap; font-weight: 700; }
.bl-need { background: var(--red-bg); color: var(--red-t); }
.bl-ok { background: var(--green-bg); color: var(--green-t); }
.btn-toggle-bl { background: none; border: none; cursor: pointer; font-size: 10px; color: #94a3b8; padding: 0 2px; }
.btn-x { background: none; border: none; color: var(--red); cursor: pointer; font-size: 14px; padding: 0 3px; opacity: .3; transition: opacity .15s; }
.btn-x:hover { opacity: 1; }
.bl-panel { margin: 4px 0 2px 10px; padding-left: 10px; border-left: 2px solid #c7d2fe; }
.bl-list { display: flex; flex-direction: column; gap: 2px; margin-bottom: 4px; }
.bl-item { display: flex; align-items: center; gap: 4px; background: var(--yellow-bg); border-radius: 4px; padding: 3px 6px; }
.bl-link { font-size: 10px; color: var(--yellow-t); word-break: break-all; flex: 1; text-decoration: none; }
.bl-link:hover { text-decoration: underline; }
.btn-x-sm { background: none; border: none; color: var(--red); cursor: pointer; font-size: 12px; padding: 0 3px; opacity: .3; }
.btn-x-sm:hover { opacity: 1; }
.bl-input { width: 100%; font-size: 11px; padding: 4px 8px; border: 1px solid #e2e8f0; border-radius: 6px; outline: none; }
.bl-input:focus { border-color: var(--primary); }
.url-add input { width: 100%; font-size: 12px; padding: 5px 8px; border: 1px solid #e2e8f0; border-radius: 6px; outline: none; }
.url-add input:focus { border-color: var(--primary); }

/* PAGINATION */
.pagination { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 14px 16px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.page-info { font-size: 12px; color: var(--text2); margin-right: 8px; font-weight: 500; }
.pg-btn { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 5px 10px; font-size: 12px; cursor: pointer; color: var(--text); font-weight: 500; transition: all .15s; min-width: 32px; text-align: center; }
.pg-btn:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
.pg-btn:disabled { opacity: .4; cursor: default; }
.pg-active { background: var(--primary) !important; color: #fff !important; border-color: var(--primary) !important; }
.pg-dots { color: var(--text2); font-size: 12px; padding: 0 2px; }

/* BUTTONS */
.btn { display: inline-block; padding: 8px 18px; border-radius: 8px; cursor: pointer; border: none; font-size: 13px; text-decoration: none; font-weight: 600; transition: all .15s; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-d); }
.btn-danger { background: var(--red); color: #fff; font-size: 12px; padding: 4px 10px; }
.btn-sm { padding: 5px 12px; font-size: 12px; }

/* FORMS */
input, select, textarea { padding: 8px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; outline: none; transition: border-color .15s; font-family: inherit; }
input:focus, select:focus, textarea:focus { border-color: var(--primary); }
textarea { width: 100%; resize: vertical; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 600; font-size: 13px; color: var(--text); }
.form-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.form-row .form-group { flex: 1; min-width: 140px; }
.link-box { background: #f0fdf4; border: 1px solid #86efac; padding: 12px 16px; border-radius: 8px; word-break: break-all; }
.link-box a { color: #15803d; font-weight: 600; }

/* LOADING */
.loading-cell { text-align: center; padding: 40px !important; color: var(--text2); font-size: 13px; }
.spinner { width: 24px; height: 24px; border: 3px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin .6s linear infinite; margin: 0 auto; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* TOAST */
.toast-container { position: fixed; bottom: 20px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; }
.toast { padding: 10px 18px; border-radius: 8px; font-size: 13px; font-weight: 500; color: #fff; transform: translateX(120%); transition: transform .3s ease; box-shadow: var(--shadow-lg); }
.toast.show { transform: none; }
.toast-error { background: #ef4444; }
.toast-success { background: #22c55e; }

/* DEADLINE */
.dl-over { color: var(--red); font-weight: 700; }
.dl-soon { color: #d97706; font-weight: 700; }
.dl-ok { color: #059669; font-weight: 600; }
.countdown { font-size: 12px; white-space: nowrap; }

/* TIME CELL */
.time-cell { font-size: 11px; color: var(--text2); white-space: nowrap; font-weight: 500; cursor: default; }

/* MISC */
.info { font-size: 13px; color: var(--text2); }
.done-msg { color: var(--red); font-size: 11px; margin-top: 4px; }
.url-error { color: var(--red); font-size: 11px; margin-top: 4px; padding: 2px 6px; background: var(--red-bg); border-radius: 4px; }
.job-list a { display: block; padding: 8px 0; border-bottom: 1px solid var(--border); color: var(--primary); text-decoration: none; }

/* REPORT OVERVIEW */
.report-overview { padding-bottom: 20px; }
.report-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.report-header h1 { font-size: 1.3rem; font-weight: 700; margin-bottom: 2px; }
.report-overall { display: flex; align-items: center; gap: 12px; }
.report-overall-ring { position: relative; width: 52px; height: 52px; }
.report-overall-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.report-overall-ring span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; }
.report-overall-nums { font-size: 13px; color: var(--text2); font-weight: 500; }
.report-overall-nums strong { font-size: 20px; color: var(--text); font-weight: 800; letter-spacing: -.5px; }
.overall-summary { display: flex; align-items: center; gap: 14px; justify-content: center; padding: 16px 0 4px; margin-top: 16px; border-top: 1px solid var(--border); }
.overall-text { font-size: 13px; color: var(--text2); }
.overall-nums { font-size: 14px; font-weight: 500; }
.overall-nums strong { font-size: 22px; color: var(--text); font-weight: 800; letter-spacing: -.5px; }
.overall-info { font-size: 12px; color: var(--text2); margin-top: 1px; }
.report-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.report-person { background: #f8fafc; border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; transition: all .15s; }
.report-person:hover { border-color: #cbd5e1; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.rp-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.rp-name { font-size: 15px; font-weight: 800; letter-spacing: -.3px; }
.rp-pct { font-size: 22px; font-weight: 800; letter-spacing: -.5px; }
.rp-bar { background: #e2e8f0; border-radius: 4px; height: 6px; overflow: hidden; margin-bottom: 10px; }
.rp-bar-fill { height: 100%; border-radius: 4px; transition: width .4s ease; }
.rp-details { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.rp-stat { display: flex; align-items: center; gap: 4px; background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 3px 8px; font-size: 11px; }
.rp-label { color: var(--text2); font-weight: 500; }
.rp-val { font-weight: 700; color: var(--text); }
.rp-alert { background: var(--red-bg); border-color: #fca5a5; }
.rp-alert .rp-label { color: var(--red-t); }
.rp-alert .rp-val { color: var(--red); }
.rp-warn { background: var(--yellow-bg); border-color: #fbbf24; }
.rp-warn .rp-label { color: var(--yellow-t); }
.rp-warn .rp-val { color: #b45309; }
.rp-ok { background: var(--green-bg); border-color: #86efac; }
.rp-ok .rp-label { color: var(--green-t); }
.rp-ok .rp-val { color: var(--green-t); }
.rp-dl { font-size: 11px; color: var(--text2); margin-top: 2px; }
.rp-dl strong { color: var(--text); font-weight: 700; }

/* HIGHLIGHT CARDS */
.highlight-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.hl-card { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); background: var(--card); }
.hl-icon { font-size: 22px; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hl-top .hl-icon { background: var(--green-bg); color: var(--green); }
.hl-bottom .hl-icon { background: var(--red-bg); color: var(--red); }
.hl-label { font-size: 11px; color: var(--text2); font-weight: 600; text-transform: uppercase; letter-spacing: .3px; margin-bottom: 2px; }
.hl-name { font-size: 18px; font-weight: 800; letter-spacing: -.3px; line-height: 1.2; }
.hl-nums { font-size: 13px; color: var(--text2); margin-top: 2px; }
.hl-big { font-size: 18px; font-weight: 800; color: var(--text); letter-spacing: -.3px; }
.hl-top .hl-big { color: var(--green-t); }
.hl-bottom .hl-big { color: var(--red-t); }
.hl-avg { font-size: 11px; padding: 2px 7px; border-radius: 6px; font-weight: 600; margin-left: 4px; }
.hl-top .hl-avg { background: var(--green-bg); color: var(--green-t); }
.hl-bottom .hl-avg { background: var(--red-bg); color: var(--red-t); }

/* CHART */
.chart-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.chart-header h2 { margin: 0 !important; }
.chart-filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.chart-filters select, .chart-filters input[type="date"] { padding: 6px 10px; border: 1px solid var(--border); border-radius: 8px; font-size: 12px; font-family: inherit; font-weight: 500; background: #f8fafc; cursor: pointer; outline: none; }
.chart-filters select:focus, .chart-filters input[type="date"]:focus { border-color: var(--primary); }
.chart-loading { text-align: center; padding: 40px 0; }

/* BAR CHART */
.bar-chart { display: flex; flex-direction: column; gap: 8px; }
.bar-row { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.bar-rank { width: 32px; text-align: center; font-size: 16px; flex-shrink: 0; }
.bar-name { width: 60px; font-size: 13px; font-weight: 700; flex-shrink: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-track { flex: 1; background: #f1f5f9; border-radius: 6px; height: 28px; overflow: hidden; min-width: 100px; }
.bar-fill { height: 100%; border-radius: 6px; transition: width .5s ease; min-width: 2px; }
.bar-value { width: 55px; text-align: right; font-size: 14px; font-weight: 800; letter-spacing: -.3px; flex-shrink: 0; }
.bar-avg { width: 55px; font-size: 11px; color: var(--text2); font-weight: 500; flex-shrink: 0; text-align: right; }

/* RANKING */
.ranking-section { margin-top: 24px; }
.ranking-section h3 { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.rank-num { text-align: center; font-size: 15px; width: 40px; }
.rank-posts { font-size: 15px; font-weight: 800; color: var(--primary); }
.rank-avg { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 12px; font-weight: 700; background: #eff6ff; color: var(--primary); }
.rank-gold { background: #fffbeb; }
.rank-gold td { font-weight: 600; }
.rank-last { background: #fff1f2; }

/* DASHBOARD - PERSON GROUP */
.person-group { margin-top: 20px; }
.person-header { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 14px; background: var(--nav); border-radius: 10px 10px 0 0; color: #fff; }
.person-name { font-size: 16px; font-weight: 800; letter-spacing: -.3px; }
.person-stats { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.person-progress { font-size: 20px; font-weight: 800; letter-spacing: -.5px; }
.person-count { font-size: 12px; color: #94a3b8; font-weight: 500; }
.person-jobs { font-size: 11px; background: rgba(255,255,255,.1); padding: 2px 8px; border-radius: 6px; color: #94a3b8; font-weight: 600; }
.person-bar { background: rgba(255,255,255,.12); border-radius: 3px; height: 4px; overflow: hidden; width: 100%; margin-top: 2px; }
.person-bar-fill { height: 100%; border-radius: 3px; transition: width .3s; }
.person-jobs-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; padding: 12px; background: #f8fafc; border: 1px solid var(--border); border-top: none; border-radius: 0 0 10px 10px; }

/* DASHBOARD - JOB CARD */
.dash-job { display: block; background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; text-decoration: none; color: var(--text); transition: all .15s; }
.dash-job:hover { border-color: var(--primary); box-shadow: 0 2px 8px rgba(59,130,246,.1); transform: translateY(-1px); }
.dash-job-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.dash-job-link { text-decoration: none; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-job-link strong { font-size: 13px; font-weight: 700; }
.dash-job-link:hover { color: var(--primary); }
.dash-job-right { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.dash-export { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 6px; background: #eff6ff; color: var(--primary); font-size: 14px; text-decoration: none; transition: all .15s; border: 1px solid #bfdbfe; }
.dash-export:hover { background: #dbeafe; }
.dash-pct { font-size: 16px; font-weight: 800; letter-spacing: -.5px; flex-shrink: 0; }
.dash-bar { background: #e2e8f0; border-radius: 4px; height: 4px; overflow: hidden; }
.dash-bar-fill { height: 100%; border-radius: 4px; transition: width .3s; }
.dash-job-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; font-size: 11px; color: var(--text2); }

/* EXPORT BUTTONS */
.btn-export { display: inline-flex; align-items: center; gap: 4px; padding: 6px 14px; border-radius: 8px; font-size: 12px; font-weight: 600; text-decoration: none; color: var(--primary); background: #eff6ff; border: 1px solid #bfdbfe; transition: all .15s; white-space: nowrap; }
.btn-export:hover { background: #dbeafe; border-color: var(--primary); }
.btn-export-all { display: inline-flex; align-items: center; gap: 4px; padding: 8px 18px; border-radius: 8px; font-size: 13px; font-weight: 600; text-decoration: none; color: #fff; background: var(--primary); transition: all .15s; white-space: nowrap; flex-shrink: 0; }
.btn-export-all:hover { background: var(--primary-d); }
.job-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* RESPONSIVE */
.btn-work { display: inline-block; padding: 10px 28px; background: var(--primary); color: #fff; font-size: 14px; font-weight: 600; border-radius: 8px; text-decoration: none; transition: background .2s, transform .15s; }
.btn-work:hover { background: #2563eb; transform: translateY(-1px); }

@media (max-width: 768px) {
    .nav-inner { padding: 0 12px; }
    .container { padding: 12px; }
    .job-header { padding: 16px; }
    .job-header-top { flex-direction: column; align-items: flex-start; }
    .job-progress { align-self: flex-end; margin-top: -40px; }
    .toolbar { flex-direction: column; align-items: stretch; }
    .filter-tabs { overflow-x: auto; }
    .search-box input { width: 100%; }
    .card { padding: 16px; }
    th, td { padding: 6px 6px; font-size: 12px; }
    .form-row { flex-direction: column; }
    .progress-ring { width: 42px; height: 42px; }
    .highlight-cards { grid-template-columns: 1fr; }
    .chart-header { flex-direction: column; align-items: flex-start; }
    .bar-name { width: 45px; font-size: 11px; }
    .bar-value { width: 40px; font-size: 12px; }
    .bar-avg { width: 45px; font-size: 10px; }
}
