:root { font-family: Inter, system-ui, sans-serif; color: #263346; background: #f5f7fb; font-synthesis: none; font-size: 14px; --navy: #15263d; --blue: #3369e8; --muted: #7b8798; --line: #e8ecf2; }
* { box-sizing: border-box; }
body { margin: 0; }
.session-controls { display: flex; align-items: center; gap: 12px; }
.awin-options { padding: 0 22px 18px; border-bottom: 1px solid var(--line); font-size: 12px; }
.awin-options label { display: flex; align-items: center; gap: 8px; color: #34435a; }
.awin-options p { font-size: 11px; color: var(--muted); line-height: 1.7; margin: 8px 0 0 24px; }
.offer-pending { margin-top: 24px; }
.offer-pending td { white-space: normal; line-height: 1.7; }
.verification-time { margin-top: 7px; }
.verification-plan { margin-top: 20px; }
.verification-warning { background: #fff7e5; border: 1px solid #f3dfae; border-radius: 6px; color: #8b661f; padding: 11px 13px; font-size: 12px; line-height: 1.7; }
.verification-result { padding: 18px; margin: 20px 0; border: 1px solid var(--line); border-radius: 8px; background: #f9fbfe; }
.verification-result p { font-size: 12px; line-height: 1.7; }
.verification-prices { display: flex; flex-wrap: wrap; gap: 25px; margin: 17px 0; }
.verification-prices dt { color: var(--muted); font-size: 11px; }
.verification-prices dd { font-size: 18px; margin: 7px 0 0; color: var(--navy); }
#verification-history { margin-top: 20px; }
#verification-history summary { cursor: pointer; font-size: 12px; color: #627188; }
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: #edf1f8; }
.login-card { width: 100%; max-width: 440px; margin: 0; padding: 40px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 45px #15263d0d; }
.login-brand { display: flex; align-items: center; gap: 12px; color: var(--navy); font-weight: 650; font-size: 18px; margin-bottom: 34px; }
.login-brand .brand-mark { color: #fff; }
.login-card h1 { font-size: 24px; }
.login-card>p { color: var(--muted); font-size: 12px; line-height: 1.8; margin: 12px 0 28px; }
.login-card label { display: block; font-size: 12px; font-weight: 550; margin: 18px 0 8px; }
.login-card input { width: 100%; padding: 12px; border: 1px solid #dfe5ed; border-radius: 6px; background: #fff; color: var(--navy); }
.login-card input:focus { outline: 2px solid #3369e855; outline-offset: 2px; }
.login-card button { margin-top: 24px; font-size: 13px; }
#login-error { color: #b44740; font-size: 12px; line-height: 1.7; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .6; }
a { color: #3766c8; text-decoration: none; }
a:hover { text-decoration: underline; }
svg { width: 19px; height: 19px; flex-shrink: 0; }
[hidden] { display: none !important; }
.sidebar { width: 242px; position: fixed; inset: 0 auto 0 0; background: var(--navy); color: #c5cedb; display: flex; flex-direction: column; z-index: 5; }
.brand { display: flex; align-items: center; gap: 12px; padding: 31px 25px 36px; color: #fff; font-weight: 650; font-size: 17px; letter-spacing: -.4px; }
.brand:hover { text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 35px; height: 38px; border-radius: 10px; background: #5780f3; font-size: 26px; font-weight: 750; }
.brand small { display: block; font-size: 10px; letter-spacing: 1.25px; text-transform: uppercase; font-weight: 450; color: #9babbe; margin-top: 6px; }
nav { padding: 0 15px; display: grid; gap: 7px; }
.nav-link { display: flex; align-items: center; gap: 12px; color: #aebbd0; padding: 13px 15px; font-size: 12px; font-weight: 500; border-radius: 7px; }
.nav-link:hover { background: #20334d; text-decoration: none; color: #fff; }
.nav-link.active { color: #fff; background: #2b476a; }
.nav-link.active svg { color: #8fb5ff; }
.nav-count { margin-left: auto; font-size: 10px; background: #ffffff16; padding: 3px 7px; border-radius: 4px; }
.sidebar-bottom { display: flex; align-items: center; gap: 10px; margin: auto 23px 24px; border-top: 1px solid #ffffff12; padding-top: 21px; font-size: 11px; color: #d6deea; }
.sidebar-bottom small { display: block; color: #8d9eb5; font-size: 10px; margin-top: 5px; }
.local-dot { width: 7px; height: 7px; background: #59bfa1; border-radius: 100%; }
.workspace { margin-left: 242px; }
.topbar { height: 70px; padding: 0 40px; display: flex; justify-content: space-between; align-items: center; background: #fff; border-bottom: 1px solid var(--line); font-size: 11px; color: #79869b; }
.local-label { border: 1px solid var(--line); border-radius: 5px; padding: 6px 10px; font-size: 10px; color: #627188; }
main { padding: 37px 40px 50px; max-width: 1690px; margin: auto; outline: none; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 29px; }
h1 { margin: 0; font-size: 27px; letter-spacing: -.85px; font-weight: 650; color: #18283d; }
.page-heading p { margin: 10px 0 0; font-size: 12px; color: var(--muted); line-height: 1.6; }
.heading-actions { display: flex; flex-shrink: 0; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; border: 1px solid #dfe5ed; padding: 10px 15px; background: #fff; color: #46556d; border-radius: 6px; font-size: 11px; font-weight: 550; line-height: 1.5; white-space: nowrap; }
.button:hover { border-color: #abbcd4; background: #f8faff; }
.button.primary { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 2px 3px #1d4ed81a; }
.button.primary:hover { background: #285bd1; }
.button.small { padding: 7px 11px; font-size: 11px; }
.button.ghost { border-color: transparent; background: transparent; color: #5070a8; }
.button svg { width: 15px; height: 15px; }
.button.full { width: 100%; }
.stats-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 19px; margin-bottom: 26px; }
.stat-card { border: 1px solid var(--line); border-radius: 9px; padding: 21px 22px; background: #fff; box-shadow: 0 3px 5px #1c355003; }
.stat-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11px; color: #6e7d92; font-weight: 500; }
.stat-label svg { color: #7b93b6; width: 17px; height: 17px; }
.stat-card strong { display: block; font-size: 32px; font-weight: 600; color: #213248; margin: 16px 0 10px; letter-spacing: -1px; }
.stat-card>span { font-size: 10px; color: #8b97a8; }
.overview-grid { display: grid; grid-template-columns: minmax(0,2.3fr) minmax(260px,1fr); gap: 23px; margin-bottom: 25px; align-items: stretch; }
.panel { border: 1px solid var(--line); border-radius: 9px; background: #fff; overflow: hidden; box-shadow: 0 3px 5px #1c355003; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 23px; }
h2 { font-size: 14px; font-weight: 600; color: #24334a; margin: 0; }
.panel-heading p { font-size: 10px; color: #8b97a8; margin: 7px 0 0; }
.panel-heading>a { font-size: 10px; white-space: nowrap; }
.panel-heading>svg { color: #8b9cb2; }
.table-scroll { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }
th { padding: 12px 20px; background: #fbfcfe; color: #8793a4; font-size: 10px; font-weight: 500; border-top: 1px solid #eff2f6; border-bottom: 1px solid var(--line); }
td { padding: 20px; border-bottom: 1px solid #eff2f6; font-size: 11px; color: #627188; }
tr:last-child td { border-bottom: 0; }
td strong { font-weight: 550; color: #33425a; }
.record-title { font-size: 11px; color: #34435b; font-weight: 550; margin-bottom: 7px; max-width: 320px; overflow: hidden; text-overflow: ellipsis; }
.secondary { color: #8b97a8; font-size: 10px; }
.coupon-code { font-family: ui-monospace, monospace; font-size: 10px; font-weight: 500; color: #6780a0; letter-spacing: .5px; border: 1px dashed #d5deea; background: #f9fbff; padding: 3px 7px; border-radius: 4px; display: inline-block; }
.inline-store { display: inline-flex; align-items: center; gap: 9px; }
.store-avatar { display: inline-grid; place-items: center; height: 27px; width: 27px; border-radius: 7px; background: #ecf1fa; color: #506b96; font-size: 12px; font-weight: 650; flex-shrink: 0; }
.badge { display: inline-block; font-size: 9px; font-weight: 500; padding: 5px 8px; border-radius: 4px; text-transform: capitalize; }
.badge.positive { background: #eaf6f0; color: #428767; }
.badge.negative { background: #fceceb; color: #ba4b48; }
.badge.neutral { background: #f0f2f7; color: #7c8799; }
.connection-panel { padding-bottom: 21px; }
.connection-panel>.button { width: calc(100% - 46px); margin: 0 23px; }
.connection-empty { padding: 4px 25px 5px; text-align: center; }
.large-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; background: #eff4ff; color: #6c91d4; border-radius: 12px; margin: 5px 0 16px; }
.large-icon svg { width: 24px; height: 24px; }
h3 { font-size: 12px; font-weight: 600; color: #3b4d66; line-height: 1.6; margin: 0; }
.connection-empty p { color: #8b97a8; font-size: 10px; line-height: 1.9; margin: 10px 0 20px; }
.quiet-empty { padding: 22px 23px 32px; color: #9aa4b3; font-size: 11px; border-top: 1px solid var(--line); }
.site-list { padding: 0 23px 23px; }
.site-line { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.site-line strong { font-size: 11px; display: block; font-weight: 550; }
.site-line span:not(.badge) { font-size: 9px; color: #8b97a8; display: block; margin-top: 6px; }
.list-toolbar { padding: 19px 22px; display: flex; justify-content: space-between; align-items: center; }
.search { display: flex; align-items: center; gap: 8px; background: #fafbfd; border: 1px solid #e5eaf1; border-radius: 6px; padding: 8px 11px; width: 330px; color: #9aa7b9; }
.search svg { width: 15px; height: 15px; }
.search input { border: 0; background: transparent; width: 100%; font-size: 11px; color: #43536b; outline: none; }
.search input::placeholder { color: #a1abb9; }
.empty-state { padding: 55px 25px; text-align: center; }
.empty-state>svg { color: #86a0c4; width: 34px; height: 34px; margin-bottom: 16px; }
.empty-state p { color: var(--muted); font-size: 12px; margin: 8px 0 21px; line-height: 1.7; }
.empty-state h3 { font-size: 15px; }
.site-cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(310px,1fr)); gap: 22px; }
.site-card { padding: 23px; }
.site-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 23px; }
.site-icon { display: grid; place-items: center; background: #f0f4fb; color: #6a87b1; width: 40px; height: 40px; border-radius: 9px; }
.site-card>h2 { margin-bottom: 10px; }
.site-card>a { font-size: 11px; display: inline-flex; align-items: center; gap: 6px; overflow-wrap: anywhere; }
.site-card>a svg, .external-link svg { height: 12px; width: 12px; }
.external-link { display: inline-flex; align-items: center; gap: 6px; }
dl { border-top: 1px solid var(--line); padding-top: 17px; margin-top: 24px; }
dl>div { display: flex; justify-content: space-between; gap: 12px; font-size: 10px; margin-bottom: 12px; }
dt { color: #8b97a8; } dd { margin: 0; }
.card-actions { display: flex; gap: 8px; margin-top: 25px; flex-wrap: wrap; }
.page-note { color: #8b97a8; font-size: 10px; line-height: 1.8; margin: 21px 2px; }
code { font-family: ui-monospace, monospace; font-size: .95em; }
dialog { width: min(700px, calc(100% - 32px)); border: 0; border-radius: 13px; padding: 0; color: #33425a; box-shadow: 0 20px 80px #0c1e4c40; max-height: calc(100vh - 40px); }
dialog::backdrop { background: #14243e75; backdrop-filter: blur(3px); }
.dialog-heading { display: flex; justify-content: space-between; align-items: flex-start; padding: 24px 27px; border-bottom: 1px solid var(--line); gap: 15px; }
.dialog-heading h2 { font-size: 19px; letter-spacing: -.3px; }
.dialog-heading p { color: #8b97a8; font-size: 11px; line-height: 1.7; margin: 8px 0 0; }
.dialog-fields { padding: 24px 27px; }
.dialog-footer { padding: 17px 27px; display: flex; justify-content: flex-end; gap: 10px; background: #fbfcfe; border-top: 1px solid var(--line); }
.icon-button { border: 0; background: transparent; color: #8a96a7; font-size: 25px; padding: 0 3px; line-height: 1; }
.field { display: flex; flex-direction: column; font-size: 11px; font-weight: 550; gap: 8px; margin-bottom: 19px; min-width: 0; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid #dde4ed; background: #fff; border-radius: 6px; padding: 10px 11px; color: #475870; font-size: 12px; font-weight: 400; min-width: 0; outline: none; }
.field small { font-size: 10px; color: #8b97a8; line-height: 1.6; font-weight: 400; }
.field textarea { resize: vertical; line-height: 1.6; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: #7fa0ec; box-shadow: 0 0 0 3px #3369e810; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-section { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 5px; }
.form-section h3 { margin-bottom: 16px; font-size: 12px; }
.network-link-row { background: #f7f9fd; padding: 16px; border: 1px solid var(--line); border-radius: 7px; margin-bottom: 14px; }
.network-link-row .field { margin-bottom: 13px; }
.remove-link { margin-top: -4px; }
.form-error { background: #fff1f0; color: #b94a46; border: 1px solid #f1cecb; font-size: 12px; line-height: 1.7; border-radius: 6px; padding: 12px; }
.sync-preview { border: 1px solid var(--line); border-radius: 7px; padding: 17px; font-size: 12px; }
.preview-heading { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 9px; }
.preview-heading>span { color: #8b97a8; font-size: 11px; }
.sync-preview>p { color: #8b97a8; }
.preview-list, .result-list { list-style: none; padding: 0; margin: 10px 0 0; }
.preview-list li, .result-list li { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; padding: 15px 0; border-top: 1px solid var(--line); }
.preview-list strong, .result-list strong { font-size: 11px; font-weight: 550; }
.preview-list .url-text, .result-list li span:not(.badge) { display: block; overflow-wrap: anywhere; font-size: 10px; color: #8b97a8; margin-top: 7px; line-height: 1.7; }
.helper { font-size: 10px; line-height: 1.7; }
.result-summary { display: flex; align-items: center; gap: 12px; font-size: 12px; margin-bottom: 20px; }
.notification { position: fixed; right: 28px; bottom: 25px; z-index: 20; background: #24466a; color: #fff; border: 1px solid #ffffff30; border-radius: 8px; padding: 15px 20px; max-width: min(470px,calc(100% - 40px)); box-shadow: 0 7px 30px #172c4b2b; font-size: 12px; line-height: 1.7; }
.notification-error { background: #a64640; }
.loading { padding: 90px 30px; text-align: center; color: #8b97a8; }
.awin-toolbar { display: flex; align-items: end; flex-wrap: wrap; gap: 22px; padding: 23px; border-bottom: 1px solid var(--line); }
.awin-toolbar .field { min-width: 230px; margin: 0; }
.awin-toolbar>.button { margin-left: auto; }
.awin-account { display: flex; flex-direction: column; gap: 10px; padding-bottom: 10px; font-size: 11px; }
.awin-account>span { color: #8b97a8; }
.awin-table { table-layout: fixed; min-width: 620px; }
.awin-table th:nth-child(2), .awin-table td:nth-child(2) { width: 105px; }
.awin-table th:nth-child(3), .awin-table td:nth-child(3) { width: 105px; }
.awin-table th:last-child, .awin-table td:last-child { position: sticky; right: 0; width: 155px; background: #fff; z-index: 1; box-shadow: -5px 0 8px #20334d08; }
.awin-table th:last-child { background: #fbfcfe; z-index: 2; }
.awin-table td:last-child .button { min-width: 120px; }
.awin-store { display: flex; min-width: 0; }
.awin-store-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; overflow: hidden; }
.awin-store-name, .awin-store-url { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.awin-load-error { margin: 20px 23px; }
#awin-progress { overflow-wrap: anywhere; }
.store-selection { border: 1px solid var(--line); border-radius: 7px; padding: 16px; margin: 7px 0; }
.store-selection legend { font-size: 11px; font-weight: 550; padding: 0 5px; }
.store-selection>label { display: flex; align-items: center; gap: 9px; font-size: 12px; margin: 12px 0; }
.store-selection input { accent-color: var(--blue); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
:focus-visible { outline: 2px solid #77a0ff; outline-offset: 3px; }
@media (min-width: 1500px) { .overview-grid { grid-template-columns: minmax(0,3fr) minmax(290px,1fr); } }
@media (max-width: 1220px) { .sidebar { width: 212px; } .workspace { margin-left: 212px; } main { padding: 30px 26px; } .topbar { padding: 0 26px; } .brand { padding-left: 20px; font-size: 15px; } .overview-grid { grid-template-columns: 1fr; } .connection-panel { max-width: none; } .connection-empty { display: flex; text-align: left; gap: 20px; flex-wrap: wrap; align-items: center; } .connection-empty p { flex: 1; min-width: 200px; } .connection-empty .full { width: auto; } .stats-grid { gap: 12px; } .stat-card { padding: 17px; } }
@media (max-width: 850px) { .sidebar { position: static; width: 100%; padding-bottom: 12px; } .brand { padding: 18px 20px; } nav { display: flex; overflow-x: auto; gap: 6px; } .nav-link { white-space: nowrap; padding: 10px 12px; } .nav-link svg { width: 16px; height: 16px; } .sidebar-bottom { display: none; } .workspace { margin-left: 0; } .topbar { height: 48px; } .stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } main { padding: 27px 20px; } .page-heading { align-items: flex-start; } h1 { font-size: 23px; } }
@media (max-width: 520px) { .page-heading { flex-direction: column; gap: 16px; } .page-heading p { font-size: 11px; } .stats-grid { gap: 10px; } .stat-card { padding: 15px; } .stat-label { font-size: 10px; } .stat-card>span { font-size: 9px; line-height: 1.6; } .form-grid { grid-template-columns: 1fr; gap: 0; } .dialog-fields, .dialog-heading { padding: 20px; } .dialog-footer { padding: 15px 20px; } .site-cards { grid-template-columns: 1fr; } .search { width: 100%; } .list-toolbar>.secondary { display: none; } .topbar { padding: 0 20px; } .brand small { display: none; } .brand { padding-bottom: 16px; } .nav-count { display: none; } }
