:root{--bg:#f4f7fb;--panel:#fff;--line:#e6ebf2;--text:#17253d;--muted:#748198;--blue:#2563eb;--lightblue:#eaf1ff;--nav:#101c33;--navmuted:#8899b5;--shadow:0 3px 16px rgba(26,48,78,.035)}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;-webkit-font-smoothing:antialiased}a{color:#2461d0;text-decoration:none}a:hover{text-decoration:underline}b,strong{font-weight:700}button,input,select{font:inherit}button{cursor:pointer}h1,h2,h3,p{margin-top:0}h1{font-size:29px;letter-spacing:-.8px;margin-bottom:7px;font-weight:780}h2{font-size:17px;letter-spacing:-.3px;margin-bottom:0}h3{font-size:14px;margin-bottom:0}p{color:#607088}.muted{color:var(--muted)!important}.small{font-size:12px}.eyebrow{color:#5686ea;font-size:10px;font-weight:800;letter-spacing:2.4px}.app-shell{display:flex;min-height:100vh}.sidebar{width:238px;flex-shrink:0;background:var(--nav);color:#fff;padding:30px 14px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0}.brand{display:flex;align-items:center;gap:12px;color:#fff;font-size:17px;font-weight:800;padding:0 14px 34px;line-height:1.25}.brand:hover{text-decoration:none;color:#fff}.brand small{display:block;color:#a0b7dc;font-size:9px;letter-spacing:1.5px;margin-top:4px}.brand-mark{display:grid;place-items:center;width:42px;height:42px;background:#3676f6;color:white;border-radius:12px;font-size:17px;letter-spacing:-1px}.nav{display:grid;gap:5px}.nav a{display:flex;gap:13px;align-items:center;padding:12px 14px;color:var(--navmuted);border-radius:9px;font-weight:600;font-size:13px}.nav a:hover,.nav a.selected{color:#fff;background:#223757;text-decoration:none}.sidebar-foot{margin-top:auto;padding:16px 14px;color:#c5d3ed;font-size:12px;border-top:1px solid #2a3850}.sidebar-foot small{display:block;margin:7px 0 0 16px;color:#768cae}.dot{display:inline-block;width:7px;height:7px;background:#29ca85;border-radius:100%;margin-right:7px}.main-wrap{margin-left:238px;min-width:0;display:flex;flex-direction:column;min-height:100vh;width:calc(100% - 238px)}.topbar{height:68px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:flex-end;padding:0 34px;gap:22px}.top-date{color:#8a96a8;font-size:12px}.mobile-brand{display:none}.content{padding:33px 37px 50px;max-width:1510px;width:100%;margin:0 auto;flex:1}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:27px}.page-heading p{margin:0}.page-heading .eyebrow{display:block;margin-bottom:8px}.btn{display:inline-flex;gap:8px;align-items:center;justify-content:center;border:1px solid transparent;border-radius:8px;padding:10px 15px;line-height:1.2;font-weight:700;font-size:12px;white-space:nowrap;text-decoration:none!important;cursor:pointer;background:#e8edf7;color:#36506c}.btn.primary{background:var(--blue);color:#fff;border-color:var(--blue);box-shadow:0 2px 5px #2563eb22}.btn.primary:hover{background:#1c52ca;color:#fff}.btn.outline{color:#2258be;background:white;border-color:#c8d7ee}.btn.outline:hover{background:#f3f7ff}.btn.ghost{color:#63748b;background:transparent}.btn.ghost:hover{background:#edf2fa}.btn.small{padding:7px 10px;font-size:11px}.btn.large{padding:14px 22px;font-size:14px}.btn.wide{width:100%}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:23px}.metrics.compact{grid-template-columns:repeat(3,minmax(0,1fr))}.metric{background:#fff;border:1px solid var(--line);border-radius:14px;min-height:133px;padding:21px;box-shadow:var(--shadow);display:flex;flex-direction:column;align-items:flex-start}.metric>span{font-size:12px;font-weight:700;color:#4d5e78}.metric>span small{display:inline-block;font-size:10px;font-weight:400;margin-left:5px;color:#a0aabd}.metric strong{font-size:31px;letter-spacing:-1px;line-height:1.2;margin:15px 0 8px}.metric>small{color:#94a0b2;font-size:11px}.panel{background:var(--panel);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:14px;padding:23px;margin-bottom:20px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.panel-head a{font-size:12px;font-weight:650}.panel h2{margin-bottom:14px}.panel-head h2{margin-bottom:0}.two-col{display:grid;grid-template-columns:1.23fr 1fr;gap:20px}.two-col>.panel{min-width:0}.barrow{margin:24px 0}.flex-between{display:flex;align-items:center;justify-content:space-between;gap:15px}.barrow b{font-size:12px}.barrow span{color:#8793a7;font-size:11px;white-space:nowrap}.bar-track{height:7px;border-radius:20px;background:#ecf1f9;margin-top:10px;overflow:hidden}.bar-track>div{height:100%;background:linear-gradient(90deg,#3b82f6,#72b5ff);border-radius:20px}.due-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}.due-row:last-child{border:0}.due-row b{font-size:12px}.due-row small{display:block;color:#97a2b3;margin-top:4px}.empty{padding:32px 8px;text-align:center;color:#96a2b3;font-size:13px}.pill{display:inline-flex;align-items:center;white-space:nowrap;font-size:10px;font-weight:750;padding:5px 9px;border-radius:30px;background:#e9eff7;color:#64748b}.pill.good{background:#e9faf1;color:#15915f}.pill.warn{background:#fff2d9;color:#b16c11}.pill.gray{background:#edf0f4;color:#7e8897}.pill.blue{background:#e9f1ff;color:#3264d4}.quick{display:flex;gap:11px;flex-wrap:wrap}.quick-link{padding:17px 20px;border-radius:9px;background:#f4f7fd;font-weight:700;font-size:12px}.quick-link:hover{background:#edf3ff;text-decoration:none}.footer{text-align:center;color:#9ba7b8;font-size:10px;padding:15px 22px 27px}.alert{background:#e7f9ee;color:#176d49;border:1px solid #bcf0d1;padding:12px 15px;border-radius:10px;margin-bottom:20px}.alert.bad{background:#fff0f0;color:#ae3030;border-color:#ffd2d2}.cards-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.site-card{padding:20px}.site-card h2{font-size:16px;margin:14px 0 4px}.site-card p{margin:0;font-size:12px}.site-card-heading{display:flex;justify-content:space-between;align-items:center}.site-symbol{display:grid;place-items:center;width:41px;height:41px;border-radius:9px;color:#3774e8;background:#e9f1ff;font-size:22px}.card-foot{border-top:1px solid var(--line);margin-top:19px;padding-top:14px;display:flex;align-items:center;font-size:11px;color:#8a99ad;gap:5px}.card-foot b{font-size:15px;color:#243b5c}.card-foot a{margin-left:auto;font-size:11px;font-weight:700}details{margin-top:14px}details summary{cursor:pointer;color:#3568be;font-size:11px;font-weight:700}.narrow{max-width:760px}.stacked-form,.form-grid{display:grid;gap:15px}.stacked-form{margin-top:16px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid>.full{grid-column:1/-1}.form-grid label,.stacked-form label,.slot-edit-form label,.filter-panel label{font-weight:650;font-size:12px;color:#52647d;display:flex;flex-direction:column;gap:6px}input:not([type=checkbox]),select{height:41px;padding:0 11px;border:1px solid #d7e0ed;border-radius:8px;color:var(--text);background:white;width:100%;min-width:0;outline:0}input:focus,select:focus{border-color:#5b95f6;box-shadow:0 0 0 3px #5b95f622}input[type=file]{padding:9px 10px;font-size:11px;height:auto;min-height:41px}.check{flex-direction:row!important;align-items:center;gap:7px!important}.check input{accent-color:#2563eb}.tabs{display:flex;gap:7px;overflow-x:auto;margin:-3px 0 20px;padding-bottom:4px}.tabs a{white-space:nowrap;border:1px solid #e3e9f3;background:#fff;color:#6b7b90;padding:9px 13px;border-radius:8px;font-size:11px;font-weight:700}.tabs a.active{background:#e9f1ff;color:#2866d5;border-color:#d4e3ff}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;min-width:650px}th{font-weight:750;color:#75839a;background:#f7f9fd;font-size:10px;letter-spacing:.25px;text-transform:uppercase;padding:13px}td{font-size:12px;padding:14px 13px;border-bottom:1px solid #edf1f7;vertical-align:middle}tr:last-child td{border-bottom:none}td b{font-size:12px}.cell-sub{display:block;color:#9ba7b8;margin-top:4px;font-size:10px}.size-pill{display:inline-block;background:#f0f5fb;padding:6px 9px;border-radius:6px;color:#58718f;font-weight:750;font-size:11px}.actions{white-space:nowrap}.actions form{display:inline-flex}.editrow{background:#f9fbff}.editrow[hidden]{display:none}.slot-edit-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:end;padding:12px}.slot-edit-form .btn{justify-self:start}.campaign-form .panel{margin-bottom:20px}.selection-tools{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.site-slots{border:1px solid var(--line);border-radius:10px;margin:15px 0;overflow:hidden}.site-slots-head{padding:12px 15px;background:#f7f9fd;display:flex;justify-content:space-between;align-items:center;gap:12px}.slot-choices{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:12px}.slot-choice{display:flex;gap:8px;align-items:center;border:1px solid #e2e9f3;border-radius:8px;padding:10px;cursor:pointer;background:#fff;min-width:0}.slot-choice:has(input:checked){border-color:#8db7ff;background:#f0f6ff}.slot-choice input{accent-color:#2563eb}.slot-choice span{display:block;min-width:0}.slot-choice b{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.slot-choice small{color:#899bb2;font-size:10px}.bottom-actions{display:flex;gap:10px;align-items:center;justify-content:flex-end;margin-top:20px}.filter-panel{display:grid;grid-template-columns:1fr 1fr 1.7fr auto;gap:14px;align-items:end;background:#fff;border:1px solid var(--line);padding:17px;border-radius:12px;margin-bottom:18px}.detail-line{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}.detail-line span{color:#7c8ca1}.detail-line b{overflow-wrap:anywhere;text-align:right}.auth-page{display:flex;align-items:center;justify-content:center;min-height:100vh;padding:24px;background:radial-gradient(circle at 20% 20%,#e9f1ff,transparent 45%),#f3f7fb}.auth-box{width:100%;max-width:490px;background:#fff;padding:34px;border:1px solid var(--line);border-radius:18px;box-shadow:0 20px 55px #1d356015}.auth-box h1{margin:10px 0}.auth-box>p{margin-bottom:24px}.auth-box>form:not(.form-grid){display:grid;gap:16px}.auth-box label{display:grid;gap:7px;font-size:12px;font-weight:700;color:#55657a}.auth-box form .btn{margin-top:5px}
@media(max-width:1250px){.slot-choices{grid-template-columns:repeat(3,minmax(0,1fr))}.cards-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.sidebar{position:static;width:auto;inset:auto;flex-direction:row;flex-wrap:wrap;padding:12px;gap:8px}.brand{padding:0 10px 5px}.nav{display:flex;gap:4px;flex-wrap:wrap;width:100%;overflow-x:auto}.nav a{padding:10px 12px}.sidebar-foot{display:none}.app-shell{display:block}.main-wrap{margin-left:0;width:100%}.topbar{height:52px}.content{padding:22px}.two-col{grid-template-columns:1fr}.slot-choices{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){h1{font-size:23px}.page-heading{align-items:flex-start;flex-direction:column}.metrics{gap:10px}.metric{min-height:107px;padding:14px}.metric strong{font-size:25px}.cards-grid{grid-template-columns:1fr}.content{padding:16px}.panel{padding:16px}.form-grid,.slot-edit-form{grid-template-columns:1fr}.slot-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.site-slots-head{align-items:flex-start;flex-direction:column}.filter-panel{grid-template-columns:1fr 1fr}.filter-panel label:nth-child(3){grid-column:1/-1}.filter-panel .btn{grid-column:1/-1}.topbar{padding:0 16px}.top-date{font-size:11px}.quick{display:grid}.page-heading .btn{width:100%}}
/* v0.2 — modern medya yükleme alanı ve reklam bazlı raporlar */
.creative-upload-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0}
.creative-uploader{min-width:0;border:1px solid #e1eaf6;border-radius:14px;padding:13px;background:linear-gradient(155deg,#fff,#f9fbff)}
.creative-upload-title{display:flex;gap:7px;align-items:center;justify-content:space-between;margin-bottom:10px;flex-wrap:wrap}.creative-upload-title strong{font-size:12px}
.creative-file-input{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;opacity:0;overflow:hidden;clip-path:inset(50%)}
.creative-drop{display:flex;min-height:156px;gap:7px;align-items:center;justify-content:center;flex-direction:column;cursor:pointer;border:2px dashed #b9cbe9;border-radius:12px;padding:12px;text-align:center;background:#f1f6ff;color:#42699d;transition:background .15s,border-color .15s}.creative-drop b{font-size:12px}.creative-drop small{font-size:10px;color:#7889a1}.creative-drop:hover,.creative-uploader.is-dragover .creative-drop,.creative-drop:focus{background:#e8f1ff;border-color:#538ef8;outline:0}.upload-mark{display:grid;place-items:center;font-size:27px;font-weight:700;color:#3171e8;background:white;width:45px;height:45px;border-radius:12px;box-shadow:0 4px 12px #2c6fee20}
.creative-preview{min-height:70px;margin-top:11px;display:flex;align-items:center;gap:11px;padding:9px;border:1px solid #e8edf5;background:#fff;border-radius:10px;overflow:hidden}.creative-preview>img,.creative-preview>video{max-width:84px;max-height:64px;min-width:0;width:auto;height:auto;object-fit:contain;border-radius:6px}.creative-preview>video{background:#17243a}.creative-meta{min-width:0;font-size:11px;display:grid;gap:2px}.creative-meta b{word-break:break-word}.creative-meta small{color:#778ba4;word-break:break-all}.creative-empty{font-size:11px;color:#9ba8ba}.creative-hint{min-height:15px;font-size:11px;margin:7px 3px 0;color:#4173a9}.creative-hint.error{color:#c33939}
.campaign-quick-metrics{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:-5px 0 17px}.campaign-quick-metrics>span{border:1px solid #dce6f5;background:#fff;padding:10px 14px;border-radius:9px;font-size:12px;color:#70829d}.campaign-quick-metrics>span b{font-size:16px;color:#17335c}.campaign-save-box{padding:18px;background:#f3f7ff;border-radius:12px;border:1px solid #bcd6ff}.progress-copy{display:flex;justify-content:space-between;gap:10px;margin-bottom:10px}.progress-track{height:10px;background:#dbe8fb;border-radius:12px;overflow:hidden}.progress-track span{display:block;height:100%;width:0;background:#2c76ec;transition:width .2s}.progress-copy b{font-size:12px}.campaign-save-box p{margin:8px 0 0}.page-heading-links{display:flex;gap:9px;flex-wrap:wrap}.campaign-report-filter{grid-template-columns:1fr 1fr auto;max-width:750px}
@media(max-width:1140px){.creative-upload-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:680px){.creative-upload-grid{grid-template-columns:1fr}.campaign-quick-metrics{align-items:stretch}.campaign-report-filter{grid-template-columns:1fr}.page-heading-links{width:100%}.page-heading-links>.btn{flex:1}}
