*{box-sizing:border-box}body{margin:0;background:#0d182c;color:#e8f0ff;font:14px system-ui,-apple-system,Segoe UI,Arial,sans-serif}a{color:#9bc5ff;text-decoration:none}a:hover{text-decoration:underline}.wrap{max-width:1200px;margin:auto;padding:24px}header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #263753;padding-bottom:18px}header>div{display:flex;align-items:center;gap:20px}.brand{font-size:23px;font-weight:800;color:white}.muted{color:#94a9c8}.small{font-size:12px}nav{display:flex;gap:20px;padding:17px 0 25px}.toolbar,.sitehead{display:flex;justify-content:space-between;align-items:center;gap:15px}.toolbar{margin:10px 0 24px}.toolbar h1{margin:0;font-size:24px}.site{background:#13233d;border:1px solid #293b58;border-radius:13px;margin:16px 0;padding:18px}.sitehead h2{margin:0 0 15px;font-size:18px}.block{margin:9px 0;border:1px solid #263a58;border-radius:8px;overflow:hidden}.blocktitle{padding:9px 14px;font-weight:750;color:#fff}.blue{background:#205fbd}.green{background:#188653}.yellow{background:#a57a12}.metric{display:grid;grid-template-columns:1.25fr repeat(3,1fr);gap:12px;padding:11px 14px;border-top:1px solid #263753;align-items:center}.metric span{color:#91a5c3;font-size:12px}.metric strong{display:block;color:#fff;font-size:19px;margin-top:3px}.metric b{font-weight:650}.login{max-width:390px;margin:12vh auto;padding:30px;background:#152744;border:1px solid #304565;border-radius:14px}.login h1{margin:0;font-size:30px}.login p{color:#9cb0cf}form{margin:0}label{display:block;margin:14px 0}input,textarea{display:block;width:100%;background:#0d1c32;border:1px solid #405676;border-radius:7px;color:white;padding:10px;font:inherit;margin:6px 0}input[type=date]{width:auto}input[type=file]{max-width:400px}button{background:#2c73da;border:0;border-radius:7px;padding:10px 15px;color:white;font-weight:700;cursor:pointer}button.secondary{background:#304360}.danger{background:#9e3e46}.error{background:#6c2633;padding:12px;border-radius:6px}.box{background:#13233d;border:1px solid #304565;padding:20px;border-radius:12px;margin:16px 0}.cards{display:grid;grid-template-columns:1fr 1fr;gap:15px}.tabs{display:flex;gap:18px;margin:20px 0;flex-wrap:wrap}.scroll{overflow-x:auto}table{width:100%;border-collapse:collapse}td,th{border-bottom:1px solid #34445d;padding:10px;text-align:left;vertical-align:top}th{color:#a6b9d7}.inline{display:flex;gap:5px}details{margin-top:8px}textarea{min-height:130px}#filter{max-width:400px;margin-bottom:20px}code{word-break:break-all}@media(max-width:680px){.wrap{padding:12px}.metric{grid-template-columns:1fr 1fr}.metric b{grid-column:1/-1}.cards{grid-template-columns:1fr}.toolbar{align-items:flex-start;flex-direction:column}}

/* PHPADMIN UI 2026 — responsive GTM workspace */
:root{color-scheme:dark;--ui-bg:#091326;--ui-panel:#111f36;--ui-panel2:#172842;--ui-line:#30425f;--ui-text:#eef4ff;--ui-muted:#a0b1ca;--ui-blue:#377cf4;--ui-green:#14a66b;--ui-red:#d94c60;--ui-amber:#f7bc52}
html{scroll-behavior:smooth}body{background:radial-gradient(ellipse at 50% -12%,#1b3151 0,transparent 54%),var(--ui-bg);color:var(--ui-text);font-size:14px;line-height:1.55}button,input,select,textarea{font:inherit}button{cursor:pointer;transition:filter .15s,transform .15s,background .15s;min-height:42px;border-radius:10px;font-weight:700}button:hover{filter:brightness(1.1)}button:active{transform:translateY(1px)}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #8db8ff;outline-offset:2px}a{text-underline-offset:3px}h1,h2,h3{letter-spacing:-.025em}h1{line-height:1.15}header{gap:16px}header>div{flex-wrap:wrap;gap:10px}.brand{letter-spacing:-.04em}nav{gap:8px;flex-wrap:wrap;border-bottom:1px solid #233653;margin-bottom:18px}nav a{padding:10px 13px;border-radius:10px;font-weight:650}nav a:hover{background:#1c3151;text-decoration:none}.wrap{max-width:1240px;padding:20px 22px 50px}.box,.site{background:var(--ui-panel);border:1px solid var(--ui-line);box-shadow:0 12px 38px #0000001a;border-radius:17px}.box{padding:22px}.toolbar{flex-wrap:wrap}.toolbar h1{font-size:clamp(24px,3vw,32px)}input:not([type=checkbox]):not([type=hidden]),textarea,select{background:#0d1b30;border:1px solid #3b5070;border-radius:10px;color:#f1f6ff;min-height:44px;padding:11px 13px;max-width:100%}textarea{line-height:1.55;min-height:130px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px;resize:vertical}input::placeholder,textarea::placeholder{color:#8fa3bf}table{width:100%}th{text-align:left;color:#a9bcd8;font-size:12px;letter-spacing:.04em}td,th{padding:12px 10px;vertical-align:middle}td{border-top:1px solid #2c3f5c}form.inline{display:flex;flex-wrap:wrap;gap:7px}form.inline button{margin:0}.muted{color:var(--ui-muted)}.eyebrow{font-size:11px;font-weight:800;letter-spacing:.14em;color:#81adf7}.gtm-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px}.gtm-heading h1{font-size:clamp(26px,4vw,38px);margin:5px 0}.gtm-heading p{margin:0;color:var(--ui-muted)}.hub-counter,.gtm-live{white-space:nowrap;border:1px solid #355475;background:#182f4b;border-radius:100px;padding:7px 13px;color:#bcd6f7;font-size:12px;font-weight:750}.gtm-site-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.gtm-site-card{display:flex;flex-direction:column;gap:5px;padding:19px;border-radius:15px;background:#14253e;border:1px solid #304564;color:var(--ui-text);transition:transform .15s,border-color .15s,background .15s}.gtm-site-card:hover{background:#1b3252;border-color:#669de9;text-decoration:none;transform:translateY(-2px)}.gtm-site-card strong{font-size:16px}.gtm-site-card small{font-size:12px;color:#9eb3d0}.gtm-site-card>span{display:flex;justify-content:space-between;color:#bcd4f9;margin-top:9px;font-size:12px;font-weight:700}.gtm-selector{background:#14243b;border:1px solid #354b69;border-radius:14px;padding:15px 18px;margin:14px 0 20px;display:flex;align-items:center;gap:16px}.gtm-selector label{font-weight:750;white-space:nowrap}.gtm-selector select{flex:1;max-width:600px}.gtm-workspace{padding:24px}.gtm-section-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.gtm-section-header h2,.gtm-section-header h3{margin:3px 0 0}.gtm-workspace>p{color:#afc2dd}.gtm-notice{padding:15px 18px;border-radius:12px;margin:15px 0;border:1px solid;font-weight:700}.gtm-notice.is-success{background:#103a2c;border-color:#278b63;color:#bff7d8}.gtm-notice.is-info{background:#163556;border-color:#417bb7;color:#d2e5ff}.gtm-table-wrap{overflow:visible}.gtm-code-table{border-collapse:collapse;margin:14px 0 8px}.gtm-code-table th{padding:13px 10px}.gtm-code-table td{padding:18px 10px}.gtm-code-name{font-weight:750;max-width:270px;overflow-wrap:anywhere}.gtm-status{display:inline-flex;align-items:center;gap:7px;padding:7px 12px;border-radius:100px;font-weight:850;font-size:11px;letter-spacing:.05em;white-space:nowrap}.gtm-status:before{content:'';width:7px;height:7px;background:currentColor;border-radius:50%}.gtm-status.is-on{background:#103f30;color:#76f4b6;border:1px solid #247f59}.gtm-status.is-off{background:#4a1d2b;color:#ff9eaa;border:1px solid #914153}.gtm-actions{display:flex;gap:8px;flex-wrap:wrap}.gtm-actions button{padding:9px 13px;border:1px solid transparent;border-radius:9px;font-size:12px;min-height:40px}.gtm-toggle.is-on{background:#14583e!important;color:#d1ffe7!important;border-color:#287f5c!important}.gtm-toggle.is-off{background:#762a39!important;color:#ffe5e9!important;border-color:#b3475a!important}.gtm-sync{background:#2465d4!important;color:#fff!important}.gtm-actions .danger{background:#612d3a!important;color:#ffe2e7!important}.gtm-editor{margin-top:10px;border:1px solid #334d6c;border-radius:11px;overflow:hidden;background:#102139}.gtm-editor summary{cursor:pointer;padding:10px 13px;color:#b7d3ff;font-weight:750;list-style:none}.gtm-editor summary::-webkit-details-marker{display:none}.gtm-editor summary:before{content:'▸';margin-right:8px}.gtm-editor[open] summary:before{content:'▾'}.gtm-editor[open] summary{border-bottom:1px solid #324b68}.gtm-editor form{padding:13px}.gtm-editor input,.gtm-editor textarea{width:100%;margin-bottom:10px}.gtm-publish{background:#0d1b30;border:1px solid #324965;border-radius:15px;padding:20px;margin:25px 0 18px}.gtm-publish h3{margin:0}.gtm-pending{display:flex;align-items:center;gap:10px;font-weight:800;margin:15px 0}.gtm-pending-number{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;font-size:22px;background:#244c39;color:#a1f2c7}.gtm-pending.has-changes{color:#f8d88a}.gtm-pending.has-changes .gtm-pending-number{background:#533d22;color:#ffd07a}.gtm-pending.is-clear{color:#98efc0}.gtm-change-list{background:#172840;border:1px solid #344c6b;border-radius:10px;padding:12px 12px 12px 32px;overflow-wrap:anywhere}.gtm-confirm{display:flex!important;align-items:center;gap:13px;cursor:pointer;border:1px solid #526783;background:#1c2f4a;border-radius:13px;padding:16px;margin:16px 0!important;font-size:14px;line-height:1.45}.gtm-confirm:has(input:checked){border-color:#32ba81;background:#173c33}.gtm-confirm input[type=checkbox]{appearance:none;-webkit-appearance:none;display:grid;place-items:center;flex:0 0 25px;width:25px;height:25px;margin:0;background:#0c192c;border:2px solid #8fa6c6;border-radius:7px;cursor:pointer}.gtm-confirm input[type=checkbox]:checked{background:#1aaa72;border-color:#1aaa72}.gtm-confirm input[type=checkbox]:checked:after{content:'✓';font-size:18px;color:white;font-weight:900}.gtm-publish-btn{background:#13945f!important;color:#fff!important;border:1px solid #2dbe83!important;min-height:48px;padding:12px 26px;font-size:14px}.gtm-new-code{border-top:1px solid #344a66;padding-top:18px;margin-top:20px}.gtm-new-code h3{margin:0 0 15px}.gtm-new-code input,.gtm-new-code textarea{width:100%;margin-bottom:10px}.gtm-new-code button{background:#276cde;color:white;padding:11px 18px}.gtm-workspace .error{border-radius:10px;padding:12px}.gtm-workspace p{line-height:1.55}
@media(max-width:900px){.gtm-site-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wrap{padding:18px 16px 40px}.gtm-workspace{padding:18px}.gtm-code-table td{padding:13px 7px}}
@media(max-width:680px){body{font-size:14px}.wrap{padding:14px 12px 36px}header{align-items:flex-start}header>div{gap:4px;flex-direction:column;align-items:flex-start}.brand{font-size:22px}nav{gap:4px;padding:12px 0;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:thin}nav a{white-space:nowrap;font-size:12px;padding:10px}.toolbar{margin:16px 0}.toolbar h1{font-size:25px}.toolbar form{width:100%}.toolbar input[type=date]{flex:1}.gtm-heading{align-items:flex-start}.gtm-site-grid{grid-template-columns:1fr}.gtm-site-card{padding:15px}.gtm-selector{display:block;padding:13px}.gtm-selector label{display:block;margin-bottom:8px}.gtm-selector select{width:100%;max-width:none}.gtm-workspace{padding:14px;border-radius:13px}.gtm-live{font-size:10px}.gtm-code-table,.gtm-code-table tbody,.gtm-code-table tr,.gtm-code-table td{display:block;width:100%}.gtm-code-table thead{display:none}.gtm-code-table tr{border:1px solid #344c6a;border-radius:13px;padding:12px;margin:12px 0;background:#15263f}.gtm-code-table td{border:0;padding:6px 0}.gtm-code-table td[data-label="Kod"]{font-size:15px}.gtm-code-table td[data-label="Durum"]{margin-bottom:8px}.gtm-code-table td[data-label="İşlemler"]{padding-top:8px}.gtm-actions{display:grid!important;grid-template-columns:1fr 1fr;gap:8px}.gtm-actions input{display:none}.gtm-actions button{width:100%;min-height:44px;font-size:12px;padding:8px}.gtm-actions .danger{grid-column:span 2}.gtm-editor{margin-top:11px}.gtm-publish{padding:15px;margin:18px 0}.gtm-confirm{align-items:flex-start}.gtm-publish-btn{width:100%}.gtm-new-code button{width:100%}.box{padding:14px}.tabs{display:flex;overflow-x:auto;white-space:nowrap}.site{padding:13px}.metric{flex-wrap:wrap;gap:10px}.gtm-notice{padding:12px}.gtm-pending{font-size:14px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}

/* GTM hub hardening: site cards and controls on desktop/mobile */
.gtm-hub{display:block;min-width:0;width:100%}
.gtm-hub .gtm-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.gtm-hub .gtm-site-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;margin-top:22px}
.gtm-hub .gtm-site-card{display:flex!important;flex-direction:column!important;gap:8px!important;min-width:0;padding:20px!important;background:#14253e!important;border:1px solid #354b6c!important;border-radius:15px!important;text-decoration:none!important;box-shadow:0 8px 24px rgba(0,0,0,.12)}
.gtm-hub .gtm-site-card strong{display:block;font-size:17px;color:#f3f7ff}
.gtm-hub .gtm-site-card small{display:block;color:#a8bbd7;overflow-wrap:anywhere}
.gtm-hub .gtm-site-card>span{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:8px;color:#a9d2ff;font-size:12px}
.gtm-workspace{min-width:0}.gtm-code-table{table-layout:auto}.gtm-code-table td:last-child{min-width:280px}
.gtm-confirm{width:100%;min-height:68px}.gtm-confirm input[type=checkbox]{position:relative;opacity:1;visibility:visible}
@media(max-width:960px){.gtm-hub .gtm-site-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:680px){.gtm-hub .gtm-site-grid{grid-template-columns:1fr!important;gap:10px!important}.gtm-hub .gtm-site-card{padding:16px!important}.gtm-hub .gtm-heading{align-items:flex-start}.gtm-hub .hub-counter{margin-top:4px}.gtm-code-table td:last-child{min-width:0}.gtm-workspace .gtm-actions{display:grid!important;grid-template-columns:1fr 1fr!important}.gtm-workspace .gtm-actions button{min-width:0}.gtm-confirm{min-height:76px}}

/* PHPADMIN fixed sidebar layout — 19 October 2026 */
body{background:#0b1528}.app-sidebar{position:fixed;inset:0 auto 0 0;width:260px;z-index:50;background:#101e34;border-right:1px solid #30415e;display:flex;flex-direction:column;box-shadow:8px 0 28px #0002}.sidebar-brand{padding:22px 18px 17px;border-bottom:1px solid #2b3b55;position:relative}.sidebar-brand .brand{display:block;font-size:24px}.sidebar-brand small{display:block;color:#91a7c5;margin-top:4px}.sidebar-scroll{padding:12px 10px;overflow-y:auto;flex:1;scrollbar-width:thin}.sidebar-caption{display:flex;justify-content:space-between;color:#7f9bbf;font-size:11px;font-weight:850;letter-spacing:.12em;margin:17px 11px 9px}.sidebar-sites-heading{margin-top:23px}.sidebar-caption span{font-size:11px;color:#c6dcfa}.sidebar-link{display:flex;align-items:center;gap:9px;padding:10px 12px;margin:2px 0;color:#c1d1e9;border-radius:9px;font-weight:650;font-size:13px;min-height:40px;line-height:1.3}.sidebar-link:hover{background:#203754;color:#fff;text-decoration:none}.sidebar-link.current{background:#2458a2;color:#fff}.sidebar-dot{width:7px;height:7px;border-radius:50%;background:#57789f;flex:none}.sidebar-link.current .sidebar-dot{background:#80f1bd}.sidebar-logout{padding:12px;border-top:1px solid #2b3b55}.sidebar-logout button{width:100%;text-align:left;background:#283b56}.sidebar-toggle,.sidebar-backdrop,.sidebar-menu-button,.sidebar-close{display:none}.app-main{margin-left:260px;max-width:none;width:calc(100% - 260px);padding:20px clamp(18px,3vw,48px) 60px}.app-main>.app-topbar{max-width:1260px;margin:0 auto 24px}.app-main>.toolbar,.app-main>.site,.app-main>#filter,.app-main>.gtm-hub,.app-main>.box,.app-main>.cards,.app-main>.gtm-selector,.app-main>.tabs,.app-main>.gtm-notice{max-width:1260px;margin-left:auto;margin-right:auto}.app-topbar{padding:8px 0 18px}.app-topbar .topbar-brand{font-size:20px}.date-filter{display:flex;align-items:center;gap:9px;padding:7px;background:#14253f;border:1px solid #354d70;border-radius:12px}.date-filter input[type=date]{margin:0;min-height:40px;background:#0d1b30}.date-filter button{min-height:40px;padding:9px 18px}.sitehead{margin-bottom:12px}.sitehead h2{margin:0;font-size:19px}.site-title-link{color:#f0f5ff;display:inline-flex;align-items:center;gap:8px}.site-title-link:after{content:'↗';font-size:13px;color:#80aef4;opacity:0;transition:opacity .15s}.site-title-link:hover:after{opacity:1}.site-title-link:hover{text-decoration:none;color:#9bc5ff}.site{scroll-margin-top:16px}.site:target{border-color:#4e91ee;box-shadow:0 0 0 2px #377cf444}.app-main .toolbar{margin-top:8px}.app-main .toolbar>div p{margin:7px 0 0}.sidebar-close{position:absolute;right:12px;top:16px;font-size:26px;color:#d3e4fa;cursor:pointer}
@media(max-width:1000px){.app-sidebar{width:235px}.app-main{margin-left:235px;width:calc(100% - 235px);padding:18px}.metric{gap:8px}}
@media(max-width:760px){.app-sidebar{width:min(310px,85vw);transform:translateX(-102%);transition:transform .2s;z-index:100}.sidebar-toggle:checked~.app-sidebar{transform:translateX(0)}.sidebar-backdrop{position:fixed;inset:0;background:#0009;z-index:90}.sidebar-toggle:checked~.sidebar-backdrop{display:block}.sidebar-close,.sidebar-menu-button{display:inline-flex;align-items:center;justify-content:center}.sidebar-menu-button{width:42px;height:42px;border:1px solid #3b5171;border-radius:10px;background:#172943;color:white;font-size:22px;cursor:pointer}.app-main{margin-left:0;width:100%;padding:14px 12px 40px}.app-topbar>div{flex-direction:row;align-items:center;gap:10px}.app-topbar .muted{display:none}.app-topbar{margin-bottom:16px}.date-filter{width:100%;max-width:100%;display:flex}.date-filter input[type=date]{flex:1;min-width:0;width:100%}.date-filter button{flex:none}.toolbar{gap:12px}.sitehead h2{font-size:18px}}
@media(min-width:761px){.sidebar-toggle,.sidebar-backdrop{display:none!important}}

/* Homepage + sidebar visual integration only. Other modules retain existing styling. */
body:has(.ui-home){background:#f4f7fb;color:#102c50;font-family:Arial,Helvetica,sans-serif}
.app-sidebar{background:#14243d!important;color:#cfddf0!important;width:212px!important}
.sidebar-brand{background:#14243d!important}.sidebar-brand .brand{color:#fff!important;font-weight:900}.sidebar-caption{font-size:10px!important;color:#839ab9!important;letter-spacing:1px!important}
.app-sidebar .sidebar-link{display:flex;align-items:center;gap:9px;color:#cfddf0!important;border-radius:7px!important;font-size:12px!important;font-weight:650!important;padding:10px!important;text-decoration:none!important}
.app-sidebar .sidebar-link:hover{background:#243a59!important}.app-sidebar .sidebar-link.current{background:#286fe3!important;color:white!important}
.ui-nav-icon{display:inline-block;min-width:19px;text-align:center;font-size:16px}.ui-sites-menu summary{cursor:pointer;list-style:none}.ui-sites-menu summary::-webkit-details-marker{display:none}.ui-site-count{margin-left:auto;color:#8aa5c9;font-size:11px}.ui-sites-inner{padding:4px 0 8px 12px}.ui-site-search{width:100%;padding:9px;border:1px solid #415673;background:#13243e;color:#fff;border-radius:6px;margin:4px 0 7px}.app-sidebar .sidebar-site{background:#1b3151!important;margin:3px 0!important;font-size:11px!important;padding:9px!important}.app-sidebar .sidebar-site.current{background:#2b6bd6!important}.app-sidebar .sidebar-site[hidden]{display:none!important}.app-sidebar .sidebar-logout button{color:#cfddf0!important;background:transparent!important;text-align:left!important;border:0!important;width:100%;display:flex;align-items:center;gap:9px}
.app-topbar{background:#fff!important;border-bottom:1px solid #e3eaf2!important;color:#102c50!important}.ui-top-title{display:flex;flex-direction:column;gap:4px}.ui-top-title strong{font-size:13px}.ui-top-title small{font-size:10px;color:#8797ac}
.ui-home{padding:4px 0 24px}.ui-home-heading{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin:0 0 12px}.ui-home-heading h1{font-size:20px;margin:0 0 4px}.ui-home-heading p{margin:0;color:#8797ac;font-size:11px}.ui-home .date-filter{display:flex;align-items:center;gap:8px}.ui-home .date-filter input{background:white;color:#102c50;border:1px solid #dce5ef}.ui-main-search{background:white!important;color:#102c50!important;border:1px solid #dce5ef!important;border-radius:7px!important;max-width:250px!important;margin-bottom:12px!important}
.ui-home .ui-site-package{background:#fff!important;border:1px solid #dde6f0!important;border-radius:11px!important;padding:10px!important;margin:0 0 11px!important;box-shadow:0 2px 6px #172d4a08!important}.ui-package-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:8px}.ui-package-head h2{font-size:14px;margin:0 0 3px}.ui-package-head a{color:#102d51!important}.ui-package-head small,.ui-package-head>span{color:#8a9bb0;font-size:10px}.ui-traffic-grid,.ui-ads-grid{display:grid;gap:7px}.ui-traffic-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ui-ads-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:7px}.ui-module{border-radius:8px;padding:10px;min-width:0;border:1px solid #dbe6f7;background:#f0f5ff;min-height:104px}.ui-module.ui-metrica{background:#eefaf7;border-color:#d8ede5}.ui-module.ui-phpadmin{background:#fff7ed;border-color:#f2e3d0}.ui-module.ui-google{background:#f1f3ff;border-color:#e1e5fa}.ui-module.ui-meta{background:#faf2ff;border-color:#eaddf4}.ui-module-head{font-size:12px;font-weight:850;color:#102c50;margin-bottom:10px}.ui-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px}.ui-metric{display:flex;justify-content:space-between;align-items:baseline;gap:6px;min-width:0;border-bottom:1px solid #cbd9e988;padding-bottom:4px}.ui-metric span{color:#7088a6;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-metric strong{color:#103259;font-size:12px;white-space:nowrap;font-weight:800;font-variant-numeric:tabular-nums}
@media(max-width:700px){.ui-traffic-grid{grid-template-columns:1fr}.ui-ads-grid{grid-template-columns:1fr}.ui-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.ui-home-heading{align-items:flex-start}.ui-home .date-filter{width:100%}}

/* Gerçek arşiv verileriyle oluşturulan ana sayfa grafikleri */
.ui-home .ui-module{min-height:166px}
.ui-home .ui-module-head{margin-bottom:4px}
.ui-chart{display:block;width:100%;height:61px}
.ui-chart-axis{display:flex;justify-content:space-between;font-size:9px;color:#92a3bc;margin-top:-2px;margin-bottom:6px}
.ui-chart-empty{height:78px;display:flex;align-items:center;justify-content:center;text-align:center;color:#8a9bb0;font-size:10px}
.ui-home .ui-metrics{gap:5px 10px}


/* 24.10.2026: ONLY inner-page repair. Home and sidebar rules above are untouched. */
/* Report pages: readable light canvas and dark table values. */
body.ui-report-page{background:#f4f7fb;color:#102c50;color-scheme:light}
body.ui-report-page .app-main{color:#102c50}
body.ui-report-page .app-main a{color:#286fe3}
body.ui-report-page .app-main h1,body.ui-report-page .app-main h2,body.ui-report-page .app-main h3{color:#102c50}
body.ui-report-page .app-main .muted{color:#637a99}
body.ui-report-page .app-main table{background:#fff;color:#102c50;border-collapse:collapse}
body.ui-report-page .app-main th{background:#edf3f9;color:#456383;font-weight:800}
body.ui-report-page .app-main td{color:#173758;border-bottom:1px solid #dce5f0}
body.ui-report-page .app-main td *,body.ui-report-page .app-main th *{color:inherit}
body.ui-report-page .app-main tbody tr:hover{background:#f3f7fd}
body.ui-report-page .app-main .box,body.ui-report-page .app-main .site{background:#fff;color:#102c50;border-color:#dce5f0}
body.ui-report-page .app-main input:not([type=checkbox]):not([type=hidden]),body.ui-report-page .app-main select{background:#fff;color:#102c50;border-color:#cbd8e9}
body.ui-report-page .app-main .date-filter{background:#eaf1fa;border-color:#dce5f0}
body.ui-report-page .app-main .date-filter button,body.ui-report-page .app-main button:not(.report-print){color:#fff}
body.ui-report-page .app-main .report-export{color:#2054a1}
body.ui-report-page .app-main .report-print{background:#fff;color:#2054a1;border:1px solid #dce5f0}
body.ui-report-page .app-main .tabs a,body.ui-report-page .app-main .tabs button{color:#286fe3}
body.ui-report-page .app-main .scroll{overflow-x:auto}
/* Site pages: restore distinct overview cards without affecting home cards. */
body.ui-site-detail-page .site-sticky-header{position:sticky;top:0;z-index:25;background:#0b1528;padding:12px 0 5px;border-bottom:1px solid #30425f}
body.ui-site-detail-page .site-sticky-header .toolbar{margin:0 0 12px}
body.ui-site-detail-page .module-tabs{display:flex;align-items:center;gap:7px;overflow-x:auto;padding:10px 0 13px;white-space:nowrap}
body.ui-site-detail-page .module-tab{display:inline-flex;align-items:center;gap:6px;padding:10px 13px;border:1px solid #30425f;border-radius:8px;color:#b9d3f4;font-weight:700}
body.ui-site-detail-page .module-tab.is-active{background:#286fe3;color:#fff;border-color:#286fe3}
body.ui-site-detail-page .dashboard-section{margin:18px 0 24px}
body.ui-site-detail-page .dashboard-section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}
body.ui-site-detail-page .dashboard-section-head h3{margin:0;font-size:18px}
body.ui-site-detail-page .dashboard-section-head>span{color:#94a9c8;font-size:12px}
body.ui-site-detail-page .traffic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body.ui-site-detail-page .ads-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.ui-site-detail-page .traffic-card{min-width:0;background:#13233d;border:1px solid #304565;border-radius:12px;padding:17px}
body.ui-site-detail-page .traffic-source{font-size:14px;font-weight:800;color:#dceaff;margin-bottom:12px}
body.ui-site-detail-page .traffic-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body.ui-site-detail-page .traffic-stat{min-width:0;padding:9px 10px;background:#1a2d49;border-radius:8px}
body.ui-site-detail-page .traffic-stat small{display:block;color:#a0b9d8;font-size:11px}
body.ui-site-detail-page .traffic-stat strong{display:block;font-size:19px;color:#fff;margin-top:4px}
body.ui-site-detail-page .cache-note{grid-column:1/-1;color:#a0b9d8;font-size:11px}
body.ui-site-detail-page .gtm-summary{display:flex;gap:18px;background:#13233d;border:1px solid #304565;border-radius:12px;padding:17px}
/* Archive and right-hand realtime panel: two-column grid on desktop. */
body.ui-site-detail-page .report-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}
body.ui-site-detail-page .report-layout-live{grid-template-columns:minmax(0,1fr) 280px}
body.ui-site-detail-page .report-layout .module-detail{min-width:0;margin:0}
body.ui-site-detail-page .ga-live-panel{position:sticky;top:var(--live-sticky-top,155px);margin:0;align-self:start;max-height:calc(100vh - 175px);overflow:auto}
body.ui-site-detail-page .ga-live-panel .live-metrics{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0}
body.ui-site-detail-page .ga-live-panel .live-switch{display:flex;align-items:center;gap:8px}
body.ui-site-detail-page .ga-live-panel .live-switch input{width:auto;margin:0}
body.ui-site-detail-page .module-section-title{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:12px}
body.ui-site-detail-page .module-section-title h2{margin:4px 0}
body.ui-site-detail-page .report-actions{display:flex;gap:8px;flex-wrap:wrap}
body.ui-site-detail-page .report-export{display:inline-flex;align-items:center;border:1px solid #405676;border-radius:8px;padding:8px 11px;background:#1b3455;color:#dbeaff;text-decoration:none;font-size:12px}
body.ui-site-detail-page .report-sticky-summary{display:flex;justify-content:space-between;gap:8px;margin:12px 0;color:#a9c2e4}
body.ui-site-detail-page .archive-table{width:100%;border-collapse:collapse}
body.ui-site-detail-page .archive-table th{background:#1b3050;color:#d4e5ff}
body.ui-site-detail-page .archive-table td{color:#e8f0ff}
body.ui-site-detail-page .report-value{font-weight:750;color:#fff}
body.ui-site-detail-page .report-delta{display:inline-block;margin-left:5px;font-size:11px;color:#b8d1f1}
body.ui-site-detail-page .report-delta.up{color:#65dfaa}
body.ui-site-detail-page .report-delta.down{color:#ff9eaa}
body.ui-site-detail-page .ga4-verification-row,body.ui-site-detail-page .metrica-verification-row{background:#173451;font-weight:750}
body.ui-site-detail-page .historical-daily-total{background:#1d3855!important}
body.ui-site-detail-page .floating-report-header{position:fixed;top:var(--report-top,0px);z-index:24;background:#14253e;border:1px solid #304565;padding:8px 12px;box-shadow:0 8px 22px #0005;display:none}
body.ui-site-detail-page .floating-report-header .archive-table{table-layout:fixed}
@media(max-width:1150px){body.ui-site-detail-page .report-layout-live{grid-template-columns:minmax(0,1fr) 240px}}
@media(max-width:850px){body.ui-site-detail-page .report-layout-live{grid-template-columns:1fr}body.ui-site-detail-page .ga-live-panel{position:static;max-height:none}body.ui-site-detail-page .traffic-grid{grid-template-columns:1fr}body.ui-site-detail-page .ads-summary-grid{grid-template-columns:1fr}}
@media print{body.ui-site-detail-page .ga-live-panel,body.ui-site-detail-page .floating-report-header{display:none!important}body.ui-site-detail-page .report-layout-live{display:block}}

/* Site-specific charts: existing homepage/sidebar remain unchanged. */
body.ui-site-detail-page .site-overview-chart{margin:9px 0 13px;min-height:80px}
body.ui-site-detail-page .site-overview-chart .ui-chart,body.ui-site-detail-page .site-archive-chart .ui-chart{display:block;width:100%;height:100px}
body.ui-site-detail-page .site-overview-chart .ui-chart-axis,body.ui-site-detail-page .site-archive-chart .ui-chart-axis{display:flex;justify-content:space-between;color:#9db5d4;font-size:10px;margin-top:3px}
body.ui-site-detail-page .site-overview-chart .ui-chart-empty,body.ui-site-detail-page .site-archive-chart .ui-chart-empty{height:100px;display:flex;align-items:center;justify-content:center;color:#9db5d4;font-size:12px}
body.ui-site-detail-page .site-archive-chart{border:1px solid #304565;border-radius:10px;background:#172842;padding:13px 15px;margin:14px 0 18px;min-width:0}
body.ui-site-detail-page .site-archive-chart>strong{display:block;color:#e8f0ff;font-size:12px;margin-bottom:8px}
body.ui-site-detail-page .traffic-card{min-width:0}

/* Only site detail charts: taller plot and hover data card. */
body.ui-site-detail-page .site-overview-chart .site-interactive-chart .ui-chart{height:155px}
body.ui-site-detail-page .site-archive-chart .site-interactive-chart .ui-chart{height:190px}
body.ui-site-detail-page .site-interactive-chart{position:relative;min-width:0}
body.ui-site-detail-page .site-chart-hit{cursor:crosshair}
body.ui-site-detail-page .site-chart-tooltip{position:absolute;z-index:40;pointer-events:none;min-width:195px;max-width:225px;background:#f8fbff;color:#11294b;border:1px solid #b5c9e4;border-radius:10px;box-shadow:0 8px 24px #0005;padding:10px 12px;font-size:12px}
body.ui-site-detail-page .site-chart-tooltip b{display:block;font-size:14px;margin-bottom:7px}
body.ui-site-detail-page .site-chart-tooltip span{display:flex;justify-content:space-between;gap:10px;margin-top:4px}
body.ui-site-detail-page .site-chart-tooltip strong{white-space:nowrap}
body.ui-site-detail-page .site-chart-tooltip[hidden]{display:none!important}


/* SITE DETAIL LIGHT THEME — only site pages; homepage, reports and sidebar untouched. */
body.ui-site-detail-page {
  color-scheme:light;
  background:#f4f7fb;
  color:#102c50;
}
body.ui-site-detail-page .app-main {
  color:#102c50;
}
body.ui-site-detail-page .app-main h1,
body.ui-site-detail-page .app-main h2,
body.ui-site-detail-page .app-main h3,
body.ui-site-detail-page .app-main h4,
body.ui-site-detail-page .app-main strong,
body.ui-site-detail-page .app-main b {color:#102c50}
body.ui-site-detail-page .app-main .muted,
body.ui-site-detail-page .app-main .meta-muted,
body.ui-site-detail-page .app-main .small {color:#7088a6}
body.ui-site-detail-page .app-main a {color:#286fe3}
body.ui-site-detail-page .app-main a:hover {color:#1557b9}
body.ui-site-detail-page .site-sticky-header {
  background:#f4f7fb;
  border-bottom-color:#dce5ef;
}
body.ui-site-detail-page .site-sticky-header .toolbar,
body.ui-site-detail-page .site-sticky-header .toolbar h1,
body.ui-site-detail-page .site-sticky-header .toolbar h2 {color:#102c50}
body.ui-site-detail-page .module-tab {
  background:#fff;
  color:#31577f;
  border-color:#d5e1ef;
}
body.ui-site-detail-page .module-tab:hover {background:#eaf2ff}
body.ui-site-detail-page .module-tab.is-active,
body.ui-site-detail-page .module-tab.is-active:hover {
  background:#286fe3;
  border-color:#286fe3;
  color:#fff;
}
body.ui-site-detail-page .module-tab.is-active * {color:#fff}
body.ui-site-detail-page .dashboard-section-head>span {color:#7088a6}
body.ui-site-detail-page .app-main .box,
body.ui-site-detail-page .app-main .site,
body.ui-site-detail-page .app-main .traffic-card,
body.ui-site-detail-page .app-main .gtm-summary,
body.ui-site-detail-page .app-main .ga-live-panel,
body.ui-site-detail-page .app-main .module-detail,
body.ui-site-detail-page .app-main .gtm-workspace,
body.ui-site-detail-page .app-main .gtm-selector,
body.ui-site-detail-page .app-main .gtm-publish,
body.ui-site-detail-page .app-main .gtm-new-code,
body.ui-site-detail-page .app-main .gtm-hub {
  background:#fff;
  border-color:#dce5f0;
  color:#102c50;
  box-shadow:0 2px 10px #172d4a08;
}
body.ui-site-detail-page .traffic-source {color:#102c50}
body.ui-site-detail-page .traffic-stat,
body.ui-site-detail-page .live-metrics>div {
  background:#edf4fd;
  border:1px solid #e0eaf6;
}
body.ui-site-detail-page .traffic-stat small,
body.ui-site-detail-page .cache-note {color:#7088a6}
body.ui-site-detail-page .traffic-stat strong {color:#103259}
body.ui-site-detail-page .site-archive-chart {
  background:#f6f9ff;
  border-color:#dce5f0;
}
body.ui-site-detail-page .site-archive-chart>strong {color:#102c50}
body.ui-site-detail-page .site-overview-chart .ui-chart-axis,
body.ui-site-detail-page .site-archive-chart .ui-chart-axis,
body.ui-site-detail-page .site-overview-chart .ui-chart-empty,
body.ui-site-detail-page .site-archive-chart .ui-chart-empty {color:#7088a6}
body.ui-site-detail-page .app-main .report-export {
  background:#edf4ff;
  border-color:#d3e1f1;
  color:#2054a1;
}
body.ui-site-detail-page .report-sticky-summary {color:#637e9f}
body.ui-site-detail-page .app-main table {
  background:#fff;
  color:#173758;
}
body.ui-site-detail-page .app-main table th,
body.ui-site-detail-page .archive-table th {
  background:#edf3f9;
  color:#456383;
  border-color:#dce5f0;
}
body.ui-site-detail-page .app-main table td,
body.ui-site-detail-page .archive-table td {
  background:#fff;
  color:#173758;
  border-color:#dce5f0;
}
body.ui-site-detail-page .app-main table tbody tr:hover td {background:#f4f8fe}
body.ui-site-detail-page .report-value {color:#102c50}
body.ui-site-detail-page .report-delta {color:#55789d}
body.ui-site-detail-page .report-delta.up {color:#087d56}
body.ui-site-detail-page .report-delta.down {color:#c33d53}
body.ui-site-detail-page .app-main .ga4-verification-row,
body.ui-site-detail-page .app-main .metrica-verification-row {background:#e9f4ff}
body.ui-site-detail-page .app-main .ga4-verification-row td,
body.ui-site-detail-page .app-main .metrica-verification-row td {background:#e9f4ff}
body.ui-site-detail-page .app-main .historical-daily-total,
body.ui-site-detail-page .app-main .historical-daily-total td {
  background:#eff6ff!important;
  color:#173758!important;
}
body.ui-site-detail-page .floating-report-header {
  background:#fff;
  border-color:#dce5f0;
  box-shadow:0 8px 22px #18345125;
}
body.ui-site-detail-page .app-main input:not([type=checkbox]):not([type=hidden]),
body.ui-site-detail-page .app-main select,
body.ui-site-detail-page .app-main textarea {
  background:#fff;
  color:#102c50;
  border-color:#cbd8e9;
}
body.ui-site-detail-page .app-main input::placeholder,
body.ui-site-detail-page .app-main textarea::placeholder {color:#8195ad}
body.ui-site-detail-page .app-main .date-filter {background:#eaf1fa;border-color:#dce5f0}
body.ui-site-detail-page .app-main .date-filter button,
body.ui-site-detail-page .app-main button:not(.secondary):not(.danger) {color:#fff}
body.ui-site-detail-page .app-main .gtm-site-card,
body.ui-site-detail-page .app-main .gtm-editor,
body.ui-site-detail-page .app-main .gtm-code-table,
body.ui-site-detail-page .app-main .gtm-change-list {
  background:#f7faff;
  color:#102c50;
  border-color:#dce5f0;
}
body.ui-site-detail-page .app-main .gtm-site-card strong,
body.ui-site-detail-page .app-main .gtm-site-card small,
body.ui-site-detail-page .app-main .gtm-code-name,
body.ui-site-detail-page .app-main .gtm-editor summary {color:#31577f}
body.ui-site-detail-page .app-main .gtm-site-card:hover {background:#edf4ff}
body.ui-site-detail-page .app-main .gtm-publish,
body.ui-site-detail-page .app-main .gtm-new-code {background:#fff}
body.ui-site-detail-page .app-main .gtm-confirm {background:#edf4fd;color:#173758;border-color:#cbd8e9}
body.ui-site-detail-page .app-main .gtm-confirm:has(input:checked) {background:#e1f7ed;border-color:#2aa97b}
body.ui-site-detail-page .app-main .gtm-status.is-on {color:#087d56;background:#e1f7ed}
body.ui-site-detail-page .app-main .gtm-status.is-off {color:#a42c46;background:#fdebf0}
body.ui-site-detail-page .app-main .eyebrow {color:#4c78b6}
body.ui-site-detail-page .app-main .report-layout,
body.ui-site-detail-page .app-main .report-layout-live {background:transparent}
body.ui-site-detail-page .app-main .site-chart-tooltip {background:#fff;color:#102c50}

/* Keep the original fixed sidebar and approved homepage entirely outside this scope. */
