/*
Theme Name: GetTapFlow Smart Review
Description: Smart Review profile theme - premium soft UI, primary Google CTA, fully dynamic from ACF.
Version: 1.8.0
Author: GetTapFlow
*/
:root{--ink:#111111;--muted:#5f5f5f;--faint:#9a9a9a;--sheet:560px;--line:#ededed}
*{margin:0;padding:0;box-sizing:border-box}
html,body{background:#ffffff}
body{font-family:'Poppins','Segoe UI',ui-sans-serif,system-ui,-apple-system,Arial,sans-serif;}
html[dir=rtl] body{font-family:'Tajawal','Segoe UI',ui-sans-serif,system-ui,Arial,sans-serif;color:var(--ink);-webkit-font-smoothing:antialiased}
a{color:inherit}
.gtf-cover{width:100%;height:240px;overflow:hidden;background:#0e0e0e}
.gtf-cover img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.gtf-sheet{max-width:var(--sheet);margin:-34px auto 0;background:#ffffff;border-radius:30px 30px 0 0;position:relative;box-shadow:0 -12px 40px rgba(0,0,0,.08);padding:0 26px}
.gtf-head{display:flex;justify-content:space-between;align-items:flex-start;padding-top:12px}
.gtf-avatar{width:96px;height:96px;border-radius:50%;border:4px solid #ffffff;box-shadow:0 2px 10px rgba(0,0,0,.18);object-fit:cover;background:#ffffff;margin-top:-48px}
.share{display:inline-flex;align-items:center;gap:7px;background:#ffffff;border:1.5px solid #dcdcdc;border-radius:999px;padding:9px 18px;font:inherit;font-size:15px;font-weight:600;color:var(--ink);cursor:pointer;margin-top:10px;box-shadow:0 2px 8px rgba(0,0,0,.05)}
.share svg{width:18px;height:18px}
h1.gtf-name{font-size:23px;font-weight:700;display:flex;align-items:center;gap:7px;line-height:1.2;margin-top:16px}
h1.gtf-name .badge{display:inline-flex}
h1.gtf-name .badge img{width:22px;height:22px;object-fit:contain;display:block}
.gtf-category{color:var(--muted);font-size:15px;font-weight:500;margin-top:3px}
.gtf-desc{color:#555555;font-size:14.5px;font-weight:400;margin-top:12px;line-height:1.7}
.gtf-contacts{list-style:none;margin-top:20px}
.gtf-contacts li{display:flex;align-items:center;gap:11px;margin-bottom:12px;font-size:15px;font-weight:500;color:#444444}
.gtf-contacts svg{width:17px;height:17px;flex:none}
.gtf-contacts a{color:inherit;text-decoration:none}
.gtf-contacts a:hover{text-decoration:underline}
.gtf-socials{display:flex;gap:13px;margin-top:26px;flex-wrap:wrap}
.soc{width:56px;height:56px;border:1.5px solid #e3e3e3;border-radius:50%;display:grid;place-items:center;background:#ffffff;text-decoration:none;transition:transform .15s ease,box-shadow .15s ease}
.soc svg{width:25px;height:25px}
.link-btn{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1.5px solid var(--line);border-radius:999px;background:#ffffff;box-shadow:0 3px 12px rgba(0,0,0,.05);padding:10px 10px 10px 26px;margin-bottom:14px;text-decoration:none;color:var(--ink);transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.link-title{font-size:17px;font-weight:600}
.link-ic{width:44px;height:44px;border:1.5px solid #e8e8e8;border-radius:50%;display:grid;place-items:center;background:#ffffff;flex:none;overflow:hidden}
.link-ic svg{width:21px;height:21px}
.link-ic img{width:26px;height:26px;object-fit:contain;display:block}
.link-btn:hover,.soc:hover{transform:translateY(-2px)}
.link-btn:hover{box-shadow:0 10px 24px rgba(0,0,0,.10);border-color:#e0e0e0}
.soc:hover{box-shadow:0 8px 18px rgba(0,0,0,.08)}
/* Primary CTA - Google Review */
.link-btn--primary{background:#111111;border-color:#111111;color:#ffffff;box-shadow:0 6px 18px rgba(0,0,0,.22)}
.link-btn--primary .link-ic{background:#ffffff;border-color:#ffffff}
.link-btn--primary:hover{box-shadow:0 12px 28px rgba(0,0,0,.30);border-color:#111111}
.link-btn--primary .link-title{font-weight:700}
.gtf-footer{text-align:center;color:var(--faint);font-size:14px;font-weight:500;margin-top:30px;padding-bottom:40px}
.gtf-toast{position:fixed;left:50%;bottom:30px;transform:translate(-50%,20px);background:#111111;color:#ffffff;padding:10px 22px;border-radius:999px;font-size:14px;font-weight:500;opacity:0;pointer-events:none;transition:opacity .25s ease,transform .25s ease;z-index:9999}
.gtf-toast.show{opacity:1;transform:translate(-50%,0)}
@media (min-width:641px){.gtf-cover{height:min(34vw,320px)}}
@media (max-width:600px){.gtf-sheet{padding:0 20px}}

/* ---------- Landing page ---------- */
.gtf-hero{background:#0b0b0b;color:#fff;padding:90px 24px 110px;text-align:center}
.gtf-hero-brand{letter-spacing:.35em;font-size:12px;font-weight:600;color:#8a8a8a;margin-bottom:22px}
.gtf-hero h1{font-size:clamp(34px,6vw,58px);font-weight:800;line-height:1.12;margin-bottom:18px}
.gtf-hero h1 em{font-style:italic;font-weight:600}
.gtf-hero-sub{color:#bdbdbd;font-size:16px;max-width:560px;margin:0 auto 30px;line-height:1.7}
.gtf-hero-btn{display:inline-block;background:#fff;color:#0b0b0b;font-weight:700;font-size:16px;padding:14px 34px;border-radius:999px;text-decoration:none;transition:transform .15s ease,box-shadow .15s ease}
.gtf-hero-btn:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(255,255,255,.15)}
.gtf-hero-btns{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.gtf-hero-btn--ghost{background:transparent;color:#fff;border:1.6px solid #555}
.gtf-hero-btn--ghost:hover{border-color:#fff;box-shadow:none}
.gtf-dir{max-width:1000px;margin:0 auto;padding:60px 24px 20px}
.gtf-dir-title{font-size:24px;font-weight:800;margin-bottom:26px}
.gtf-dir-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:18px}
.gtf-dir-card{background:#fff;border:1.5px solid #ececec;border-radius:20px;padding:26px 20px;text-align:center;text-decoration:none;color:var(--ink);box-shadow:0 3px 12px rgba(0,0,0,.05);transition:transform .15s ease,box-shadow .15s ease;display:flex;flex-direction:column;align-items:center;gap:8px}
.gtf-dir-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(0,0,0,.10)}
.gtf-dir-card img{width:72px;height:72px;border-radius:50%;object-fit:cover;border:3px solid #f2f2f2}
.gtf-dir-name{font-weight:700;font-size:16.5px}
.gtf-dir-cat{color:var(--muted);font-size:13.5px}
.gtf-dir-open{margin-top:8px;font-size:13.5px;font-weight:600;color:#111;border-bottom:1.5px solid #111;padding-bottom:1px}
.gtf-dir-empty{color:var(--muted);padding:20px 0}
.gtf-landing-footer{text-align:center;color:var(--faint);font-size:13px;padding:36px 0 46px}
.gtf-404{max-width:520px;margin:90px auto;text-align:center;padding:0 20px}
.gtf-404 h1{font-size:72px;font-weight:800;margin-bottom:8px}
.gtf-404 p{color:var(--muted);margin-bottom:24px}
.gtf-404 a{display:inline-block;border:1.6px solid #111;border-radius:999px;padding:10px 26px;text-decoration:none;font-weight:600}

.gtf-feat{max-width:1000px;margin:0 auto;padding:64px 24px 10px}
.gtf-feat-title{font-size:26px;font-weight:800;margin-bottom:30px;text-align:center}
.gtf-feat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px}
.gtf-feat-card{background:#fff;border:1.5px solid #ececec;border-radius:20px;padding:28px 22px;box-shadow:0 3px 12px rgba(0,0,0,.05)}
.gtf-feat-ic{display:inline-grid;place-items:center;width:48px;height:48px;border:1.5px solid #e3e3e3;border-radius:50%;margin-bottom:14px}
.gtf-feat-ic svg{width:22px;height:22px}
.gtf-feat-card h3{font-size:16.5px;font-weight:700;margin-bottom:8px}
.gtf-feat-card p{color:var(--muted);font-size:14px;line-height:1.65}
.gtf-steps{max-width:1000px;margin:0 auto;padding:60px 24px 30px}
.gtf-steps-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px}
.gtf-step{background:#0b0b0b;color:#fff;border-radius:20px;padding:28px 22px}
.gtf-step-n{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#fff;color:#0b0b0b;font-weight:800;margin-bottom:14px}
.gtf-step h3{font-size:16.5px;font-weight:700;margin-bottom:8px}
.gtf-step p{color:#bdbdbd;font-size:14px;line-height:1.65}
.gtf-steps-cta{text-align:center;padding:36px 0 10px}
.gtf-dir-count{display:inline-block;background:#0b0b0b;color:#fff;font-size:13px;font-weight:700;border-radius:999px;padding:2px 12px;vertical-align:middle;margin-left:8px}
.gtf-landing-footer a{color:#bbb}

/* ---------- Hidden owner menu (edit) ---------- */
.gtf-dev{position:relative;display:flex;justify-content:center;padding:6px 0 2px}
.gtf-dev-btn{width:34px;height:34px;border-radius:50%;border:1.5px solid #ececec;background:#fff;color:#c9c9c9;display:grid;place-items:center;cursor:pointer;transition:color .15s ease,border-color .15s ease}
.gtf-dev-btn:hover{color:#111;border-color:#ddd}
.gtf-dev-btn svg{width:17px;height:17px}
.gtf-dev-menu{display:none;position:absolute;bottom:44px;left:50%;transform:translateX(-50%);background:#fff;border:1.5px solid #ececec;border-radius:14px;box-shadow:0 10px 30px rgba(0,0,0,.12);padding:8px;z-index:60;min-width:170px}
.gtf-dev-menu a{display:flex;align-items:center;gap:8px;padding:10px 14px;border-radius:10px;font-size:14px;font-weight:600;color:var(--ink);text-decoration:none}
.gtf-dev-menu a:hover{background:#f5f5f5}
.gtf-dev-menu a svg{width:15px;height:15px}

/* ---------- Client self-edit page ---------- */
.gtf-head-actions{display:flex;flex-direction:column;gap:8px;align-items:flex-end}
.gtf-edit-wrap{max-width:640px;padding:34px 28px 60px}
.gtf-edit-head h1{font-size:22px;font-weight:800}
.gtf-edit-sub{color:var(--muted);font-size:14px;margin:4px 0 22px}
.gtf-edit-sub a{color:#111}
.gtf-edit-login label{font-weight:600;font-size:14px;display:block;margin-bottom:8px}
.gtf-edit-login input{width:100%;padding:13px 16px;border:1.5px solid #e3e3e3;border-radius:12px;font:inherit;font-size:16px;letter-spacing:.15em}
.gtf-edit-login input:focus{outline:none;border-color:#111}
.gtf-edit-err{color:#c0392b;font-size:13.5px;margin-top:10px}
.gtf-edit-submit{display:inline-block;background:#111;color:#fff;border:none;border-radius:999px;padding:13px 34px;font:inherit;font-weight:700;font-size:15.5px;cursor:pointer;margin-top:16px}
.gtf-edit-submit:hover{box-shadow:0 8px 20px rgba(0,0,0,.25)}
.gtf-edit-note{background:#f6f6f6;border-radius:14px;padding:14px 18px;font-size:14.5px;margin-bottom:20px}
.gtf-edit-note--ok{background:#eefaf0;color:#1e7d32}
.gtf-edit-ok{background:#eefaf0;color:#1e7d32;border-radius:12px;padding:12px 16px;font-weight:600;margin:6px 0 18px}
/* ACF form - Smart Review look */
.gtf-edit-wrap .acf-fields>.acf-field{border-top:none;padding:12px 0}
.gtf-edit-wrap .acf-label label{font-weight:700;font-size:14.5px}
.gtf-edit-wrap .acf-label .description{color:#888;font-weight:400;font-size:12.5px;margin-top:2px}
.gtf-edit-wrap .acf-input input[type=text],.gtf-edit-wrap .acf-input input[type=url],.gtf-edit-wrap .acf-input input[type=email],.gtf-edit-wrap .acf-input input[type=password],.gtf-edit-wrap .acf-input input[type=number],.gtf-edit-wrap .acf-input textarea,.gtf-edit-wrap .acf-input select{width:100%;padding:12px 15px;border:1.5px solid #e3e3e3;border-radius:12px;font:inherit;font-size:15px;background:#fff}
.gtf-edit-wrap .acf-input input:focus,.gtf-edit-wrap .acf-input textarea:focus,.gtf-edit-wrap .acf-input select:focus{outline:none;border-color:#111}
.gtf-edit-wrap .acf-form-submit{margin-top:14px}
.gtf-edit-wrap .acf-image-uploader .button,.gtf-edit-wrap .acf-file-uploader .button{border:1.5px solid #ddd;background:#fff;border-radius:999px;padding:9px 18px;font-weight:600;cursor:pointer}
.gtf-edit-wrap .acf-field[data-name^="btn_"]{background:#fafafa;border-radius:14px;padding:12px 16px;margin-bottom:8px}
.gtf-edit-wrap .acf-field[data-name="site_language"] select{width:auto}

/* ---------- Edit form UX: icons / add-button / social bar ---------- */
.gtf-fic{display:inline-grid;place-items:center;width:27px;height:27px;border:1.5px solid #e3e3e3;border-radius:50%;vertical-align:-8px;margin-right:9px;background:#fff}
html[dir=rtl] .gtf-fic{margin-right:0;margin-left:9px}
.gtf-fic svg{width:14px;height:14px}
.gtf-slot{border:1.5px solid #ececec;border-radius:16px;padding:2px 16px 14px;margin-bottom:12px;background:#fff}
.gtf-slot-h{display:flex;align-items:center;gap:8px;font-weight:700;font-size:13.5px;letter-spacing:.02em;color:#111;padding:11px 0 2px;text-transform:uppercase}
.gtf-slot-h svg{width:15px;height:15px}
.gtf-addlink{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;border:1.6px dashed #c9c9c9;background:#fff;border-radius:999px;padding:15px;font:inherit;font-weight:700;font-size:15.5px;color:#555;cursor:pointer;margin:4px 0 14px;transition:all .15s ease}
.gtf-addlink:hover{border-color:#111;color:#111}
.gtf-socbar{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;padding:20px 0 10px;border-top:1.5px solid #f0f0f0;margin-top:16px}
.gtf-soc{width:54px;height:54px;border:1.5px solid #e3e3e3;border-radius:50%;background:#fff;display:grid;place-items:center;cursor:pointer;transition:transform .12s ease,box-shadow .12s ease}
.gtf-soc:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(0,0,0,.12)}
.gtf-soc svg{width:25px;height:25px}
.acf-field.gtf-flash{animation:gtfFlash 1.5s ease;border-radius:14px}
@keyframes gtfFlash{0%,55%{background:#fff6df}100%{background:transparent}}

/* ---------- Button slot - exact design ---------- */
.gtf-slot{background:#fff;border:1.5px solid #ececec;border-radius:16px;padding:4px 16px 16px;margin-bottom:12px}
.gtf-slot>.acf-field{padding:10px 0 !important}
.gtf-slot-h{display:flex;align-items:center;gap:8px;font-weight:700;font-size:12.5px;letter-spacing:.06em;text-transform:uppercase;color:#111;padding:10px 0 4px}
.gtf-slot-h svg{width:14px;height:14px}
.gtf-hint{display:block;font-weight:400;font-size:12px;color:#a0a0a0;margin-top:2px}

/* Show toggle: label left, switch right */
.gtf-slot .acf-field[data-name$="_active"]{display:flex;justify-content:space-between;align-items:center;gap:12px}
.gtf-slot .acf-field[data-name$="_active"] .acf-label{order:1;padding:0}
.gtf-slot .acf-field[data-name$="_active"] .acf-input{order:2}
.gtf-slot .acf-true-false label{padding:0;margin:0}
.gtf-slot .acf-switch{width:52px;height:31px;border-radius:999px;background:#d9d9d9;border:none;position:relative;transition:background .2s ease}
.gtf-slot .acf-switch>span{display:none}
.gtf-slot .acf-switch .acf-switch-slider,.gtf-slot .acf-switch i{position:absolute;top:3px;left:3px;width:25px;height:25px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:left .2s ease}
.gtf-slot .acf-switch.-on{background:#3b82f6}
.gtf-slot .acf-switch.-on .acf-switch-slider,.gtf-slot .acf-switch.-on i{left:24px}

/* Target URL: globe inside */
.gtf-urlwrap{position:relative}
.gtf-urlic{position:absolute;left:14px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:22px;height:22px;color:#a5a5a5;pointer-events:none}
html[dir=rtl] .gtf-urlic{left:auto;right:14px}
.gtf-urlic svg{width:15px;height:15px}
.gtf-urlwrap input{padding-left:44px !important}
html[dir=rtl] .gtf-urlwrap input{padding-left:15px !important;padding-right:44px !important}

/* Default Icon: icon inside select */
.gtf-pickwrap{position:relative}
.gtf-pickic{position:absolute;left:11px;top:50%;transform:translateY(-50%);width:28px;height:28px;display:grid;place-items:center;border:1.5px solid #ededed;border-radius:50%;background:#fff;pointer-events:none}
html[dir=rtl] .gtf-pickic{left:auto;right:11px}
.gtf-pickic svg{width:14px;height:14px}
.gtf-pickwrap select{padding-left:50px !important}
html[dir=rtl] .gtf-pickwrap select{padding-left:15px !important;padding-right:50px !important}

/* Custom Icon: dashed dropzone */
.gtf-slot .acf-field[data-name$="_icon"] .acf-image-uploader{border:1.6px dashed #dcdcdc;border-radius:14px;padding:16px;background:#fcfcfc}
.gtf-slot .acf-field[data-name$="_icon"] .hide-if-value{text-align:center}
.gtf-slot .acf-field[data-name$="_icon"] .hide-if-value p{margin:8px 0 2px;font-size:13.5px;color:#999}
.gtf-upic{width:42px;height:42px;margin:0 auto;border:1.5px solid #e6e6e6;border-radius:12px;display:grid;place-items:center;background:#fff}
.gtf-upic svg{width:18px;height:18px}
.gtf-slot .acf-field[data-name$="_icon"] .hide-if-value .acf-button{display:inline-block;border:1.5px solid #ddd;background:#fff;border-radius:999px;padding:8px 22px;font-weight:600;font-size:13.5px;margin-top:8px}
.gtf-slot .acf-field[data-name$="_icon"] .show-if-value{text-align:center}
.gtf-slot .acf-field[data-name$="_icon"] .show-if-value img{border-radius:10px;max-height:90px}

/* Add link: squared corners like the design */
.gtf-addlink{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;border:1.6px dashed #c9c9c9;background:#fff;border-radius:16px;padding:16px;font:inherit;font-weight:700;font-size:15.5px;color:#555;cursor:pointer;margin:6px 0 14px;transition:all .15s ease}
.gtf-addlink:hover{border-color:#111;color:#111}

/* ---------- Drag & drop ordering ---------- */
.gtf-slot-h{padding-right:4px}
.gtf-drag{margin-inline-start:auto;display:inline-flex;align-items:center;gap:3px}
.gtf-grip{width:12px;height:16px;background:radial-gradient(circle,#cfcfcf 1.5px,transparent 1.6px) 0 0/6px 6px;cursor:grab;margin-right:2px}
.gtf-slot[draggable=true],.gtf-legacy[draggable=true]{cursor:grab;touch-action:pan-y}
.gtf-slot.dragging,.gtf-legacy.dragging{opacity:.35;box-shadow:0 14px 34px rgba(0,0,0,.18)}
.gtf-mv{width:22px;height:22px;border:1.3px solid #e3e3e3;border-radius:7px;background:#fff;color:#999;font-size:11px;line-height:1;cursor:pointer;display:grid;place-items:center;padding:0}
.gtf-mv:hover{color:#111;border-color:#bbb}
.gtf-legacy{background:#fff;border:1.5px solid #ececec;border-radius:16px;padding:2px 16px 2px;margin-bottom:12px}
.acf-field[data-name="buttons_order"]{display:none!important}
.acf-field[data-name="social_order"]{display:none!important}

/* ---------- Collapsible slots ---------- */
.gtf-slot-b{display:none;padding-top:2px}
.gtf-slot.open>.gtf-slot-b,.gtf-legacy.open>.gtf-slot-b{display:block}
.gtf-chev{display:inline-grid;place-items:center;width:24px;height:24px;color:#bbb;margin-inline-start:6px;transition:transform .2s ease}
.gtf-slot.open .gtf-chev,.gtf-legacy.open .gtf-chev{transform:rotate(180deg)}
.gtf-slot-h{cursor:pointer}
.gtf-slot-h .gtf-slot-t{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:220px}
/* ---------- Add-social popup ---------- */
.gtf-slots:empty{display:none}
.gtf-socbar{position:relative}
.gtf-soc-plus{color:#999;font-size:22px;font-weight:400}
.gtf-soc-plus:hover{color:#111;border-color:#bbb}
.gtf-pop{display:none;position:absolute;bottom:66px;left:50%;transform:translateX(-50%);background:#fff;border:1.5px solid #ececec;border-radius:18px;box-shadow:0 18px 48px rgba(0,0,0,.18);padding:14px;z-index:90;width:288px}
.gtf-pop.open{display:block}
.gtf-pop h4{margin:0 0 10px;font-size:12.5px;color:#999;font-weight:600;text-transform:uppercase;letter-spacing:.04em}
.gtf-pop-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}
.gtf-pop-item{width:52px;height:52px;border-radius:50%;padding:0;display:grid;place-items:center;border:1.5px solid #e3e3e3;background:#fff;cursor:pointer}
.gtf-pop-item:hover{border-color:#111}
.gtf-pop-item svg{width:24px;height:24px}
.gtf-pop-item span{display:none}
.gtf-pop-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;justify-items:center;padding:4px 0}

/* ---------- Delete button ---------- */
.gtf-del{width:24px;height:24px;border:1.3px solid #f2d7d5;border-radius:50%;background:#fff;color:#d98880;font-size:11px;line-height:1;display:grid;place-items:center;cursor:pointer;margin-inline-start:6px;padding:0;flex:none}
.gtf-del:hover{background:#c0392b;border-color:#c0392b;color:#fff}
.gtf-slot,.gtf-legacy{margin-bottom:14px}

.gtf-social-card{background:#fff;border:1.5px solid #ececec;border-radius:16px;padding:2px 16px 2px;margin-bottom:12px}
.gtf-social-card>.gtf-slot-b{display:none}
.gtf-social-card.open>.gtf-slot-b{display:block}
.gtf-social-card.open .gtf-chev{transform:rotate(180deg)}
.gtf-soc img{width:26px;height:26px;object-fit:contain;border-radius:50%}
.gtf-slot-h img.gtf-seimg,.gtf-slot-h>img{width:22px;height:22px;object-fit:contain;border-radius:50%}
.gtf-urljump{display:flex;align-items:center;gap:8px;width:100%;border:1.5px solid #ececec;border-radius:12px;background:#fafafa;padding:11px 14px;font:inherit;font-size:13px;color:#555;cursor:pointer;margin-top:6px;text-align:start}
.gtf-urljump svg{width:15px;height:15px;flex:none}
.gtf-urljump span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* ---------- Lead form modal ---------- */
.gtf-lead-modal{display:none;position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:9998;align-items:center;justify-content:center;padding:20px}
.gtf-lead-card{background:#fff;border-radius:22px;max-width:420px;width:100%;padding:26px 24px;position:relative;box-shadow:0 24px 70px rgba(0,0,0,.3)}
.gtf-lead-card h3{margin:0 0 16px;font-size:19px;font-weight:800}
.gtf-lead-card label{display:block;font-weight:600;font-size:13.5px;margin:12px 0 6px}
.gtf-lead-card input{width:100%;padding:12px 15px;border:1.5px solid #e3e3e3;border-radius:12px;font:inherit;font-size:15px}
.gtf-lead-card input:focus{outline:none;border-color:#111}
.gtf-lead-send{display:block;width:100%;margin-top:18px;background:#111;color:#fff;border:none;border-radius:999px;padding:14px;font:inherit;font-weight:700;font-size:15.5px;cursor:pointer}
.gtf-lead-x{position:absolute;top:12px;right:14px;width:32px;height:32px;border:none;background:#f2f2f2;border-radius:50%;font-size:18px;cursor:pointer;color:#666}
.gtf-lead-ok{display:none;background:#eefaf0;color:#1e7d32;border-radius:12px;padding:14px;font-weight:600;text-align:center}
.gtf-lead-err{display:none;color:#c0392b;font-size:13.5px;margin-top:10px}

.gtf-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0;overflow:hidden}

.gtf-consent{display:flex;align-items:flex-start;gap:8px;margin-top:14px;font-size:12.5px;color:#777;font-weight:400}
.gtf-consent input{width:16px;height:16px;margin-top:1px;flex:none}

/* ---------- Manage dashboard + thank-you + rewards ---------- */
.gtf-manage{max-width:720px;padding:30px 26px 60px}
.gtf-manage-head{display:flex;gap:14px;align-items:center;margin-bottom:18px}
.gtf-manage-head img{width:56px;height:56px;border-radius:50%;object-fit:cover;border:3px solid #f0f0f0}
.gtf-manage-head h1{font-size:22px;font-weight:800;margin:0}
.gtf-tabs{display:flex;gap:8px;border-bottom:1.5px solid #eee;margin:14px 0 18px}
.gtf-tab{border:none;background:none;font:inherit;font-weight:700;font-size:14.5px;color:#999;padding:10px 14px;cursor:pointer;border-bottom:2.5px solid transparent}
.gtf-tab.active{color:#111;border-bottom-color:#111}
.gtf-stats{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px}
.gtf-stat{background:#fff;border:1.5px solid #ececec;border-radius:14px;padding:14px;text-align:center}
.gtf-stat strong{display:block;font-size:22px;font-weight:800}
.gtf-stat span{font-size:11.5px;color:#888}
.gtf-chart{display:flex;align-items:flex-end;gap:3px;height:90px;background:#fafafa;border-radius:12px;padding:10px}
.gtf-bar{flex:1;background:#111;border-radius:3px 3px 0 0;min-height:2px;opacity:.85}
.gtf-redeem-row{display:flex;gap:10px;margin-bottom:12px}
.gtf-redeem-row input{flex:1;padding:12px 15px;border:1.5px solid #e3e3e3;border-radius:12px;font:inherit}
.gtf-redeem-result{font-weight:600;padding:10px 4px;min-height:24px}
.gtf-redeem-result.ok{color:#1e7d32}.gtf-redeem-result.err{color:#c0392b}
.gtf-mtable{width:100%;border-collapse:collapse;font-size:13px}
.gtf-mtable th{text-align:start;color:#888;font-weight:600;padding:8px 6px;border-bottom:1.5px solid #eee}
.gtf-mtable td{padding:8px 6px;border-bottom:1px solid #f4f4f4}
.gtf-ty{text-align:center;padding:60px 26px 60px}
.gtf-ty .link-btn{max-width:440px;margin-left:auto;margin-right:auto}
.gtf-ty-logo{width:96px;height:96px;border-radius:50%;object-fit:cover;border:4px solid #f2f2f2;box-shadow:0 4px 16px rgba(0,0,0,.12);margin-bottom:16px}
.gtf-ty h1{font-size:26px;font-weight:800;margin:0 0 4px}
.gtf-ty-sub{color:#777;margin-bottom:22px}
.gtf-ty-reward{margin:26px auto 0;max-width:440px;background:#fafafa;border:1.5px dashed #ddd;border-radius:18px;padding:20px;text-align:center}
.gtf-ty-reward h3{margin:0 0 12px;font-size:16px}
.gtf-ty-reward input{width:100%;padding:12px 15px;border:1.5px solid #e3e3e3;border-radius:12px;font:inherit;margin-bottom:8px;background:#fff}
.gtf-progress{height:12px;background:#eee;border-radius:999px;overflow:hidden}
.gtf-progress-bar{height:100%;background:#111;border-radius:999px;transition:width .4s}
.gtf-reward-code{font-size:16px;font-weight:700}
.gtf-reward-code strong{font-size:24px;letter-spacing:.08em}

.gtf-ty-reward .gtf-consent{justify-content:center;text-align:start}
.gtf-ty-reward input{text-align:center}
.gtf-mini{margin-top:8px;border:1.3px solid #ddd;background:#fff;border-radius:999px;padding:5px 14px;font-size:12px;cursor:pointer;color:#777}
.gtf-mini:hover{color:#111;border-color:#bbb}
/* ---------- Mobile: manage dashboard + tables ---------- */
.gtf-tablewrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.gtf-tablewrap .gtf-manage-table{min-width:560px}
@media (max-width:600px){
  .gtf-manage{padding:20px 14px 50px}
  .gtf-stats{grid-template-columns:repeat(2,1fr);gap:8px}
  .gtf-stat{padding:10px}
  .gtf-stat strong{font-size:18px}
  .gtf-tabs{overflow-x:auto}
  .gtf-tab{padding:9px 10px;font-size:13px;white-space:nowrap}
  .gtf-redeem-row{flex-direction:column}
  .gtf-redeem-row .gtf-edit-submit{width:100%}
}
/* ---------- Overview v2 ---------- */
.gtf-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px}
.gtf-stat em{display:block;font-style:normal;font-size:11px;margin-top:2px}
.gtf-stat em.up{color:#1e7d32}.gtf-stat em.down{color:#c0392b}
.gtf-ovgrid{display:grid;grid-template-columns:2fr 1fr;gap:16px}
@media(max-width:600px){.gtf-ovgrid{grid-template-columns:1fr}}
.gtf-bar{position:relative}
.gtf-bar i{position:absolute;left:0;right:0;bottom:0;background:#f5b301;border-radius:3px 3px 0 0;display:block}
.gtf-legend{display:flex;gap:14px;font-size:11.5px;color:#888;margin-top:8px;flex-wrap:wrap}
.gtf-lg{display:inline-block;width:10px;height:10px;border-radius:3px;background:#ccc;vertical-align:-1px}
.gtf-lg.b{background:#111}.gtf-lg.r{background:#f5b301}
.gtf-donutwrap{display:flex;align-items:center;gap:16px}
.gtf-donut{width:110px;height:110px;border-radius:50%;flex:none}
.gtf-frow{display:flex;align-items:center;gap:10px;margin-bottom:8px;font-size:13px}
.gtf-fstep{width:90px;color:#666;flex:none}
.gtf-ftrack{flex:1;background:#f0f0f0;border-radius:999px;height:16px;overflow:hidden}
.gtf-fbar{height:100%;background:#111;border-radius:999px}
.gtf-activity{display:flex;flex-direction:column;gap:8px}
.gtf-act{display:flex;gap:10px;align-items:center;background:#fafafa;border-radius:12px;padding:9px 12px;font-size:13px}
.gtf-actt{flex:1}
.gtf-acttime{color:#999;font-size:11.5px}
.gtf-pills{display:flex;gap:6px;flex-wrap:wrap;margin:14px 0 10px;align-items:center}
.gtf-pill{border:1.3px solid #e3e3e3;background:#fff;border-radius:999px;padding:6px 14px;font-size:12.5px;font-weight:600;cursor:pointer;color:#666}
.gtf-pill.active{background:#111;color:#fff;border-color:#111}
.gtf-pill-search{border-radius:999px;padding:6px 14px;font-size:12.5px;flex:1;min-width:120px}
.gtf-chip{display:inline-block;border-radius:999px;padding:2px 10px;font-size:11px;font-weight:700}
.gtf-chip.active{background:#eefaf0;color:#1e7d32}
.gtf-chip.used{background:#f0f0f0;color:#888}
.gtf-chip.expired{background:#fdeaea;color:#c0392b}

/* ---------- Master dashboard ---------- */
.gtf-master{display:flex;max-width:1100px;margin:0 auto;gap:22px;padding:28px 18px 60px;width:100%}
.gtf-mside{width:210px;flex:none;position:sticky;top:16px;align-self:flex-start}
.gtf-mbrand{font-weight:800;font-size:17px;margin-bottom:14px}
.gtf-mbrand span{display:inline-block;background:#111;color:#fff;font-size:10.5px;border-radius:999px;padding:2px 9px;vertical-align:2px;margin-inline-start:4px}
.gtf-mside nav{display:flex;flex-direction:column;gap:4px}
.gtf-mnav{display:flex;align-items:center;gap:9px;border:none;background:none;font:inherit;font-size:14px;font-weight:600;color:#777;padding:10px 12px;border-radius:12px;cursor:pointer;text-align:start}
.gtf-mnav:hover{background:#f5f5f5}
.gtf-mnav.active{background:#111;color:#fff}
.gtf-mfoot{margin-top:18px;font-size:12px;color:#999;display:flex;flex-direction:column;gap:6px}
.gtf-mmain{flex:1;min-width:0}
.gtf-mmain h3{margin:20px 0 10px;font-size:15.5px;font-weight:800}
.gtf-alerts{background:#fff8e6;border:1.5px solid #ffe1a8;border-radius:16px;padding:14px 16px;margin-top:16px}
.gtf-alerts h3{margin:0 0 8px}
.gtf-alert{font-size:13.5px;padding:5px 0;border-bottom:1px dashed #ffe1a8}
.gtf-mcards{display:flex;flex-wrap:wrap;gap:8px}
.gtf-mcard{background:#fff;border:1.5px solid #ececec;border-radius:12px;padding:9px 14px;font-size:13px}
.gtf-mform{background:#fff;border:1.5px solid #ececec;border-radius:16px;padding:18px;max-width:520px}
.gtf-mform label{display:block;font-weight:600;font-size:13px;margin:12px 0 5px}
.gtf-mform input,.gtf-mform select{width:100%;padding:11px 14px;border:1.5px solid #e3e3e3;border-radius:12px;font:inherit;font-size:14px}
.gtf-upgrade{background:#fff8e6;border:1.5px solid #ffe1a8;border-radius:14px;padding:12px 16px;font-size:14px;font-weight:600;margin-bottom:14px}
.gtf-upgrade a{color:#111;text-decoration:underline}
@media(max-width:760px){.gtf-master{flex-direction:column}.gtf-mside{width:100%;position:static}.gtf-mside nav{flex-direction:row;flex-wrap:wrap}}

/* ---------- Master v2 ---------- */
.gtf-master2{display:flex;max-width:1150px;margin:0 auto;gap:20px;padding:26px 16px 60px;width:100%}
.gtf-m2side{width:200px;flex:none;position:sticky;top:14px;align-self:flex-start;background:#fff;border:1.5px solid #ececec;border-radius:18px;padding:14px;box-shadow:0 3px 12px rgba(0,0,0,.04)}
.gtf-m2brand{font-weight:800;font-size:16.5px;margin-bottom:12px}
.gtf-m2brand span{display:inline-block;background:#111;color:#fff;font-size:10px;border-radius:999px;padding:2px 8px;vertical-align:2px}
.gtf-m2side nav{display:flex;flex-direction:column;gap:3px}
.gtf-m2nav{display:flex;align-items:center;gap:9px;border:none;background:none;font:inherit;font-size:13.5px;font-weight:600;color:#777;padding:9px 12px;border-radius:11px;cursor:pointer;text-align:start}
.gtf-m2nav:hover{background:#f5f5f5}
.gtf-m2nav.active{background:#111;color:#fff}
.gtf-m2foot{margin-top:12px;padding-top:10px;border-top:1px solid #f0f0f0;font-size:12px;color:#999;display:flex;justify-content:space-between;align-items:center}
.gtf-m2main{flex:1;min-width:0}
.gtf-m2top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;flex-wrap:wrap}
.gtf-m2top h1{font-size:21px;font-weight:800;margin:0}
.gtf-m2top p{margin:2px 0 0;color:#999;font-size:13px}
.gtf-m2topact{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.gtf-m2topact input{border:1.5px solid #e3e3e3;border-radius:999px;padding:9px 16px;font:inherit;font-size:13px;width:210px}
.gtf-kic{display:inline-grid;place-items:center;width:34px;height:34px;border:1.5px solid #e8e8e8;border-radius:50%;font-size:15px;margin:0 auto 4px}
.gtf-skel{height:180px;border-radius:16px;background:linear-gradient(90deg,#f2f2f2 25%,#fafafa 50%,#f2f2f2 75%);background-size:200% 100%;animation:gtfSk 1.2s infinite}
@keyframes gtfSk{to{background-position:-200% 0}}
.gtf-rowlink{cursor:pointer}
.gtf-mcard.gtf-rowlink:hover{border-color:#111}
.gtf-open{color:#bbb;font-size:12px}
.gtf-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:6px 0 12px}
.gtf-drawer{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:9990;display:flex;align-items:center;justify-content:center;padding:18px}
.gtf-drawer-card{background:#fff;border-radius:22px;max-width:640px;width:100%;max-height:88vh;overflow-y:auto;padding:24px;position:relative;box-shadow:0 24px 70px rgba(0,0,0,.3)}
.gtf-dhead{display:flex;gap:12px;align-items:center}
.gtf-dhead img{width:52px;height:52px;border-radius:50%;object-fit:cover;border:3px solid #f0f0f0}
.gtf-dhead h2{margin:0;font-size:18px}
.gtf-setgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}
.gtf-setcard{background:#fff;border:1.5px solid #ececec;border-radius:16px;padding:16px}
.gtf-setcard h4{margin:0 0 8px;font-size:14px}
.gtf-setcard label{display:block;font-size:12px;font-weight:600;color:#777;margin:10px 0 4px}
.gtf-setcard input,.gtf-setcard select{width:100%;padding:10px 12px;border:1.5px solid #e3e3e3;border-radius:11px;font:inherit;font-size:13.5px}
@media(max-width:760px){.gtf-master2{flex-direction:column}.gtf-m2side{width:100%;position:static}.gtf-m2side nav{flex-direction:row;flex-wrap:wrap}}


/* ==================== Profile entrance & scroll animations ==================== */
.gtf-anim{opacity:0;transform:translateY(22px) scale(.985);transition:opacity .5s cubic-bezier(.22,.8,.32,1),transform .5s cubic-bezier(.22,.8,.32,1);transition-delay:var(--d,0ms);will-change:opacity,transform}
.gtf-anim.gtf-in{opacity:1;transform:none}
.gtf-anim-pop{opacity:0;transform:scale(.55);transition:opacity .45s ease,transform .55s cubic-bezier(.34,1.56,.64,1);transition-delay:var(--d,0ms);will-change:opacity,transform}
.gtf-anim-pop.gtf-in{opacity:1;transform:scale(1)}
.gtf-anim-cover{opacity:0;transform:scale(1.06);transition:opacity .7s ease,transform 1s cubic-bezier(.22,.8,.32,1)}
.gtf-anim-cover.gtf-in{opacity:1;transform:scale(1)}
@media (prefers-reduced-motion:reduce){
  .gtf-anim,.gtf-anim-pop,.gtf-anim-cover{opacity:1!important;transform:none!important;transition:none!important}
}

/* ==================== Merchant dashboard v3 (premium SaaS) ==================== */
.gtf-manage{background:#f4f4f6;box-shadow:0 6px 30px rgba(0,0,0,.06);max-width:900px;border-radius:26px;margin-top:26px}
.gtf-d2-hello{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;flex-wrap:wrap;margin-bottom:4px}
.gtf-d2-hello .who{display:flex;gap:14px;align-items:center}
.gtf-d2-hello img{width:54px;height:54px;border-radius:16px;object-fit:cover;border:3px solid #fff;box-shadow:0 4px 14px rgba(0,0,0,.10)}
.gtf-d2-hello h1{font-size:20px;font-weight:800;margin:0}
.gtf-d2-hello .sub{color:#8a8a93;font-size:12.5px;margin-top:3px}
.gtf-d2-hello .sub a{color:#555;text-decoration:none;border-bottom:1px dashed #bbb}
.gtf-d2-hello .sub a:hover{color:#111}
.gtf-d2-topbar{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin:16px 0 14px}
.gtf-range{display:flex;gap:6px;flex-wrap:wrap;background:#fff;border-radius:999px;padding:5px;box-shadow:0 2px 8px rgba(17,17,17,.05);border:1px solid #ececf0}
.gtf-range .gtf-pill{border-color:transparent;background:transparent;box-shadow:none}
.gtf-range .gtf-pill.active{background:#111;color:#fff}
.gtf-pdf{display:inline-flex;align-items:center;gap:7px;border:none;background:#111;color:#fff;border-radius:999px;padding:9px 18px;font:inherit;font-size:12.5px;font-weight:700;cursor:pointer;box-shadow:0 6px 16px rgba(17,17,17,.20);transition:transform .15s ease,box-shadow .15s ease}
.gtf-pdf:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(17,17,17,.26)}
.gtf-hero{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.gtf-metric{background:#fff;border:1px solid #ececf0;border-radius:16px;box-shadow:0 2px 10px rgba(17,17,17,.05);padding:15px 16px;position:relative;transition:transform .18s ease,box-shadow .18s ease}
.gtf-metric:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(17,17,17,.09)}
.gtf-metric .ic{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:12px;font-size:17px}
.gtf-metric .ic.c-black{background:#111}
.gtf-metric .ic.c-gold{background:#fdf3d0}
.gtf-metric .ic.c-green{background:#e7f6ec}
.gtf-metric .ic.c-blue{background:#e8f0fe}
.gtf-metric .top{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}
.gtf-metric strong{display:block;font-size:26px;font-weight:800;margin-top:9px;line-height:1.05}
.gtf-metric .lbl{display:block;font-size:11.5px;color:#8a8a93;margin-top:4px;font-weight:600}
.gtf-metric .sub2{font-size:10.5px;color:#9a9aa3;margin-top:5px}
.gtf-delta{display:inline-block;font-style:normal;font-size:10.5px;font-weight:800;border-radius:999px;padding:2.5px 9px;white-space:nowrap}
.gtf-delta.up{color:#1e7d32;background:#e7f6ec}
.gtf-delta.down{color:#c0392b;background:#fdeaea}
.gtf-delta.flat{color:#8a8a93;background:#f0f0f2}
.gtf-card{background:#fff;border:1px solid #ececf0;border-radius:16px;box-shadow:0 2px 10px rgba(17,17,17,.05);padding:18px}
.gtf-card h3{margin:0 0 14px;font-size:14.5px;font-weight:800;display:flex;align-items:center;gap:7px}
.gtf-card h3 .hint{font-size:10.5px;font-weight:500;color:#a5a5ad;margin-inline-start:auto}
.gtf-grid2{display:grid;grid-template-columns:3fr 2fr;gap:12px;margin-top:12px}
.gtf-chartbox{position:relative;height:230px}
.gtf-peakbox{height:150px}
.gtf-donutbox{position:relative;width:170px;height:170px;margin:6px auto}
.gtf-donut-c{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none}
.gtf-donut-c strong{font-size:26px;font-weight:800;line-height:1}
.gtf-donut-c span{font-size:10.5px;color:#9a9aa3;margin-top:3px}
.gtf-legend2{display:flex;justify-content:center;gap:14px;font-size:11.5px;color:#777;margin-top:10px;flex-wrap:wrap}
/* Funnel: connected vertical stages */
.gtf-funnel2{display:flex;flex-direction:column}
.gtf-fstage{display:flex;align-items:center;gap:12px}
.gtf-fstage .dot{flex:none;width:30px;height:30px;border-radius:10px;background:#111;color:#fff;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:800}
.gtf-fstage .meta{flex:none;width:118px}
.gtf-fstage .meta b{display:block;font-size:12.5px;font-weight:700}
.gtf-fstage .meta span{font-size:10.5px;color:#9a9aa3}
.gtf-fstage .track{flex:1;background:#f0f0f3;border-radius:999px;height:22px;overflow:hidden}
.gtf-fstage .fill{height:100%;border-radius:999px;background:linear-gradient(90deg,#111,#555);min-width:3%;transition:width .9s cubic-bezier(.22,.8,.32,1);width:0}
.gtf-fstage .val{flex:none;width:44px;text-align:end;font-weight:800;font-size:14px}
.gtf-fconv{display:flex;align-items:center;gap:12px;padding:3px 0}
.gtf-fconv .line{flex:none;width:30px;display:flex;justify-content:center;color:#c9c9d1}
.gtf-fconv .pct{font-size:10.5px;font-weight:700;color:#1e7d32;background:#e7f6ec;border-radius:999px;padding:2px 9px}
.gtf-fconv .pct.zero{color:#9a9aa3;background:#f0f0f2}
/* Activity list v2 */
.gtf-act2{display:flex;gap:11px;align-items:center;padding:9px 4px;border-bottom:1px dashed #f0f0f2;font-size:13px}
.gtf-act2:last-child{border-bottom:none}
.gtf-act2 .aic{flex:none;width:32px;height:32px;border-radius:10px;background:#f4f4f6;display:flex;align-items:center;justify-content:center;font-size:14px}
.gtf-act2 .at{flex:1;font-weight:600}
.gtf-act2 .ad{display:block;font-weight:400;font-size:10.5px;color:#9a9aa3;margin-top:1px}
.gtf-act2 .tm{color:#9a9aa3;font-size:10.5px;white-space:nowrap}
.gtf-empty2{color:#9a9aa3;font-size:12.5px;text-align:center;padding:18px 0}
/* Loading skeletons */
.gtf-skel2{background:linear-gradient(90deg,#ececf0 25%,#f7f7f9 50%,#ececf0 75%);background-size:200% 100%;animation:gtfSk 1.2s infinite;border-radius:16px;min-height:96px}
@media(max-width:760px){
  .gtf-hero{grid-template-columns:repeat(2,1fr)}
  .gtf-grid2{grid-template-columns:1fr}
  .gtf-fstage .meta{width:92px}
  .gtf-d2-hello h1{font-size:17px}
}
/* Print = PDF report */
@media print{
  .gtf-tabs,.gtf-d2-topbar,.gtf-dev,.gtf-d2-hello .sub a{display:none!important}
  .gtf-manage{background:#fff;box-shadow:none;max-width:100%;padding:10px}
  .gtf-card,.gtf-metric{box-shadow:none;border:1px solid #ddd;break-inside:avoid}
  .gtf-grid2{grid-template-columns:1fr 1fr}
}

/* ==================== Merchant dashboard v4 — profile visual language ==================== */
.gtf-manage{
  max-width:980px;
  background:#fff;
  border:0;
  border-radius:30px 30px 0 0;
  box-shadow:0 -10px 34px rgba(0,0,0,.06);
  padding:34px 30px 70px;
  margin-top:0;
}
.gtf-d2-hello{margin-bottom:2px}
.gtf-d2-hello .who{gap:13px}
.gtf-d2-hello img{width:58px;height:58px;border-radius:50%;border:4px solid #fff;box-shadow:0 3px 12px rgba(0,0,0,.12)}
.gtf-d2-hello h1{font-size:22px;letter-spacing:-.02em}
.gtf-d2-hello .sub{font-size:12.5px;color:#777;line-height:1.7}
.gtf-d2-hello .sub a{color:#111;border-bottom:1px solid #d8d8d8}
.gtf-tabs{gap:22px;border-bottom:1px solid #ededed;margin:24px 0 20px}
.gtf-tab{font-size:14px;color:#8a8a8a;padding:10px 0 11px;border-bottom:2px solid transparent}
.gtf-tab.active{color:#111;border-bottom-color:#111}
.gtf-d2-topbar{margin:0 0 16px}
.gtf-range{gap:2px;background:#f7f7f7;border:1px solid #ececec;box-shadow:none;padding:4px}
.gtf-range .gtf-pill{padding:7px 13px;font-size:12px;color:#777}
.gtf-range .gtf-pill.active{background:#111;color:#fff}
.gtf-pdf{background:#fff;color:#111;border:1.3px solid #dedede;box-shadow:none;padding:8px 14px;font-size:12px}
.gtf-pdf:hover{box-shadow:0 7px 18px rgba(0,0,0,.08);border-color:#cfcfcf}
.gtf-hero{gap:10px}
.gtf-metric{border:1px solid #e9e9e9;border-radius:18px;box-shadow:none;padding:16px 16px 15px}
.gtf-metric:hover{transform:none;box-shadow:0 8px 22px rgba(0,0,0,.06)}
.gtf-metric .ic{width:36px;height:36px;border-radius:50%;background:#fff!important;border:1.3px solid #e3e3e3;color:#111;font-size:16px}
.gtf-metric strong{font-size:28px;letter-spacing:-.02em;margin-top:11px}
.gtf-metric .lbl{font-size:11.5px;color:#555;font-weight:600}
.gtf-metric .sub2{font-size:10.5px;color:#999}
.gtf-delta{padding:2px 8px;font-size:10px}
.gtf-delta.up{color:#222;background:#f2f2f2}
.gtf-delta.down{color:#666;background:#f3f3f3}
.gtf-delta.flat{color:#999;background:#f3f3f3}
.gtf-card{border:1px solid #e9e9e9;border-radius:20px;box-shadow:none;padding:19px 19px 18px}
.gtf-card h3{font-size:14px;letter-spacing:-.01em;margin-bottom:15px}
.gtf-card h3 .hint{font-size:10.5px;color:#a0a0a0}
.gtf-grid2{gap:12px;margin-top:12px}
.gtf-chartbox{height:245px}
.gtf-peakbox{height:160px}
.gtf-donutbox{width:164px;height:164px}
.gtf-donut-c strong{font-size:25px}
.gtf-legend2{font-size:11px;color:#777}
.gtf-lg{border-radius:50%;width:8px;height:8px}
.gtf-grid2--bottom{margin-top:12px}
.gtf-action-row{padding:10px 0;border-bottom:1px solid #f0f0f0}
.gtf-action-row:last-child{border-bottom:0}
.gtf-action-meta{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:7px}
.gtf-action-meta b{font-size:12.5px;font-weight:700;color:#222;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gtf-action-meta span{font-size:10.5px;color:#999;white-space:nowrap}
.gtf-action-track{height:7px;background:#f0f0f2;border-radius:999px;overflow:hidden}
.gtf-action-fill{height:100%;background:#111;border-radius:999px;min-width:3px}
.gtf-act2{padding:10px 3px;border-bottom:1px solid #f0f0f0}
.gtf-act2:last-child{border-bottom:0}
.gtf-act2 .aic{width:30px;height:30px;border-radius:50%;background:#fff;border:1px solid #e4e4e4;color:#111;font-size:13px}
.gtf-act2 .at{font-size:12px;color:#222}
.gtf-act2 .ad{font-size:10.5px;color:#999}
.gtf-empty2{padding:24px 0;color:#999}
.gtf-skel2{border-radius:18px;background:linear-gradient(90deg,#f0f0f0 25%,#fafafa 50%,#f0f0f0 75%)}

@media(max-width:760px){
  .gtf-manage{padding:26px 18px 54px;border-radius:26px 26px 0 0}
  .gtf-d2-hello h1{font-size:18px}
  .gtf-d2-hello img{width:50px;height:50px}
  .gtf-tabs{gap:18px;margin-top:20px}
  .gtf-hero{grid-template-columns:repeat(2,1fr);gap:8px}
  .gtf-metric{padding:13px 13px 14px}
  .gtf-metric strong{font-size:23px}
  .gtf-grid2{grid-template-columns:1fr}
  .gtf-chartbox{height:220px}
  .gtf-peakbox{height:145px}
  .gtf-d2-topbar{align-items:stretch}
  .gtf-range{width:100%;justify-content:space-between}
  .gtf-range .gtf-pill{flex:1;padding-left:8px;padding-right:8px}
  .gtf-pdf{align-self:flex-end}
}


/* ==================== Merchant dashboard v5 — clean profile language ==================== */
.gtf-manage{max-width:920px;background:#fff;box-shadow:none;padding:28px 28px 64px}
.gtf-d2-hello{margin-bottom:0}
.gtf-d2-topbar{margin:24px 0 18px;align-items:center}
.gtf-range{display:flex;align-items:center;gap:2px;background:#fff;border:1px solid #dedede;border-radius:999px;padding:4px;box-shadow:0 1px 4px rgba(0,0,0,.035)}
.gtf-range .gtf-pill{border:0!important;background:transparent!important;color:#777!important;border-radius:999px;padding:8px 15px;font-size:12px;font-weight:600;line-height:1;white-space:nowrap}
.gtf-range .gtf-pill.active{background:#111!important;color:#fff!important;box-shadow:0 1px 2px rgba(0,0,0,.08)}
.gtf-pdf{background:#fff;color:#111;border:1px solid #dedede;box-shadow:none;border-radius:999px;padding:8px 14px;font-size:12px}
.gtf-pdf:hover{background:#fafafa;box-shadow:none;transform:none}

/* KPI area: no black hero, no colored SaaS cards. */
.gtf-hero{display:flex!important;flex-direction:column!important;gap:9px!important;background:transparent!important;color:#111!important;padding:0!important;text-align:left!important}
.gtf-metric{display:grid!important;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:14px;background:#fff!important;color:#111!important;border:1px solid #e5e5e5!important;border-radius:18px!important;box-shadow:0 1px 2px rgba(0,0,0,.025)!important;padding:15px 17px!important;min-height:74px;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease!important}
.gtf-metric:hover{transform:translateY(-1px)!important;border-color:#d8d8d8!important;box-shadow:0 8px 22px rgba(0,0,0,.055)!important}
.gtf-metric .ic{width:42px!important;height:42px!important;border-radius:50%!important;background:#fff!important;border:1px solid #dcdcdc!important;color:#111!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:0!important;flex:none}
.gtf-metric .ic svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.gtf-metric .metric-copy{min-width:0;display:flex;flex-direction:column;gap:3px}
.gtf-metric .lbl{display:block!important;color:#4b4b4f!important;font-size:13px!important;font-weight:650!important;line-height:1.25!important;margin:0!important}
.gtf-metric .sub2{font-size:11px!important;color:#999!important;margin:0!important;line-height:1.3!important}
.gtf-metric .metric-side{display:flex;align-items:center;gap:10px;justify-content:flex-end;min-width:100px}
.gtf-metric strong{display:block!important;color:#111!important;font-size:27px!important;font-weight:750!important;line-height:1!important;letter-spacing:-.03em!important;margin:0!important;order:0}
.gtf-delta{border-radius:999px;padding:4px 8px!important;font-size:9.5px!important;font-style:normal!important;font-weight:700!important;line-height:1!important;white-space:nowrap}
.gtf-delta.up{color:#222!important;background:#f2f2f2!important}.gtf-delta.down{color:#666!important;background:#f3f3f3!important}.gtf-delta.flat{color:#999!important;background:#f3f3f3!important}

.gtf-card{background:#fff;border:1px solid #e7e7e7;box-shadow:none;border-radius:20px;padding:19px}
.gtf-card h3{font-size:14px;font-weight:750}
.gtf-card h3 .hint{font-weight:500}
.gtf-grid2{gap:12px;margin-top:12px}
.gtf-chartbox{height:235px}
.gtf-peakbox{height:155px}
.gtf-donutbox{width:150px;height:150px}
.gtf-donut-c strong{font-size:23px}
.gtf-legend2{display:flex;gap:14px;flex-wrap:wrap;margin-top:4px;font-size:11px}
.gtf-lg{width:7px;height:7px;border-radius:50%}
.gtf-action-row{padding:11px 0}
.gtf-action-fill{background:#111}
.gtf-act2 .aic{background:#fff;border-color:#e1e1e1}

@media(max-width:760px){
  .gtf-manage{padding:22px 16px 52px;border-radius:24px 24px 0 0}
  .gtf-d2-topbar{display:flex;flex-direction:column;align-items:stretch;gap:10px;margin-top:20px}
  .gtf-range{width:100%;box-sizing:border-box;justify-content:space-between;overflow:hidden}
  .gtf-range .gtf-pill{flex:1;padding:9px 4px;font-size:10.5px}
  .gtf-pdf{align-self:flex-start;padding:8px 13px}
  .gtf-metric{grid-template-columns:42px minmax(0,1fr) auto;gap:12px;min-height:68px;padding:13px 14px!important;border-radius:17px!important}
  .gtf-metric .ic{width:40px!important;height:40px!important}
  .gtf-metric .lbl{font-size:12.5px!important}
  .gtf-metric strong{font-size:24px!important}
  .gtf-metric .metric-side{min-width:86px;gap:7px}
  .gtf-delta{font-size:9px!important;padding:4px 7px!important}
}

/* v1.7 — in-page report: reliable on mobile, no popup/about:blank */
.gtf-report-overlay{position:fixed;inset:0;z-index:999999;background:#f5f5f6;overflow:auto;color:#111;font-family:Inter,Arial,sans-serif}
.gtf-report-toolbar{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border-bottom:1px solid #e6e6e8}
.gtf-report-toolbar-title{font-size:13px;font-weight:800;letter-spacing:-.01em}
.gtf-report-close,.gtf-report-print{border:1px solid #ddd;background:#fff;color:#111;border-radius:999px;padding:9px 14px;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.gtf-report-print{background:#111;color:#fff;border-color:#111}
.gtf-report-page{max-width:900px;margin:24px auto 40px;background:#fff;border:1px solid #e7e7e9;border-radius:24px;padding:30px;box-shadow:0 8px 35px rgba(17,17,17,.05)}
.gtf-report-brand{font-size:11px;color:#999;font-weight:700;letter-spacing:.04em;margin-bottom:7px}
.gtf-report-head h1{margin:0;font-size:27px;letter-spacing:-.035em;font-weight:800}
.gtf-report-head p{margin:7px 0 0;color:#888;font-size:12px}
.gtf-report-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:22px 0 12px}
.gtf-report-kpis>div{border:1px solid #e8e8ea;border-radius:16px;padding:15px;background:#fff}
.gtf-report-kpis span,.gtf-report-kpis small{display:block;color:#888;font-size:11px}.gtf-report-kpis b{display:block;font-size:26px;line-height:1;margin-top:9px}.gtf-report-kpis small{margin-top:7px}
.gtf-report-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:12px}.gtf-report-card{border:1px solid #e8e8ea;border-radius:18px;padding:18px;margin-top:12px;background:#fff}.gtf-report-card h2{font-size:14px;margin:0 0 14px;font-weight:800}.gtf-report-card img{display:block;width:100%;max-height:280px;object-fit:contain}.gtf-report-source{display:flex;justify-content:space-between;gap:10px;margin-top:10px;padding-top:10px;border-top:1px solid #f0f0f1;font-size:11px;color:#777}.gtf-report-source b{color:#111;font-size:13px;margin-left:4px}.gtf-report-card table{width:100%;border-collapse:collapse;font-size:12px}.gtf-report-card td{padding:9px 4px;border-bottom:1px solid #f0f0f1}.gtf-report-card td:last-child{text-align:right;font-weight:800}.gtf-report-page footer{margin-top:22px;color:#aaa;font-size:10px;text-align:center}
@media(max-width:700px){.gtf-report-toolbar{padding:10px}.gtf-report-toolbar-title{font-size:12px}.gtf-report-page{margin:12px;border-radius:18px;padding:18px}.gtf-report-kpis{grid-template-columns:repeat(2,1fr)}.gtf-report-grid{grid-template-columns:1fr}.gtf-report-head h1{font-size:23px}}
@media print{
  body.gtf-print-report>*:not(#gtfReportOverlay){display:none!important}
  body.gtf-print-report{background:#fff!important}
  .gtf-report-overlay{position:static!important;overflow:visible!important;background:#fff!important}
  .gtf-report-toolbar{display:none!important}
  .gtf-report-page{max-width:none!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:14mm!important}
  .gtf-report-card,.gtf-report-kpis>div{break-inside:avoid;box-shadow:none!important}
}

/* ==================== Master Dashboard v3 — same DNA as merchant dashboard ==================== */
.gtf-master-login{max-width:420px!important;margin:42px auto 70px!important;padding:30px!important;text-align:center}
.gtf-master-login-icon{width:48px;height:48px;border:1px solid #ddd;border-radius:50%;display:grid;place-items:center;margin:0 auto 14px;font-size:22px;background:#fff}
.gtf-master-login h1{font-size:22px!important;line-height:1.2!important;margin:0!important}.gtf-master-login>p{color:#999;font-size:12px;margin:7px 0 20px}.gtf-master-login .gtf-edit-login{text-align:start}
.gtf-master3{max-width:1220px;margin:0 auto;padding:24px 18px 70px;display:grid;grid-template-columns:208px minmax(0,1fr);gap:24px;direction:ltr}
.gtf-m3side{direction:rtl;position:sticky;top:16px;align-self:start;background:#fff;border:1px solid #e8e8e8;border-radius:22px;padding:14px;box-shadow:0 3px 14px rgba(0,0,0,.035)}
.gtf-m3brand{display:flex;align-items:center;gap:9px;padding:5px 5px 15px;border-bottom:1px solid #f0f0f0;margin-bottom:9px}.gtf-m3brand-dot{width:9px;height:9px;border-radius:50%;background:#111;display:block}.gtf-m3brand strong{display:block;font-size:14px;line-height:1}.gtf-m3brand small{display:block;color:#999;font-size:8px;font-weight:800;letter-spacing:.12em;margin-top:4px}
.gtf-m3side nav{display:flex;flex-direction:column;gap:3px}.gtf-m3nav{border:0;background:transparent;color:#777;border-radius:12px;padding:10px 11px;display:flex;align-items:center;gap:9px;font:inherit;font-size:12.5px;font-weight:650;cursor:pointer;text-align:right;transition:.15s ease}.gtf-m3nav:hover{background:#f7f7f7;color:#111}.gtf-m3nav.active{background:#111;color:#fff}.m3ico{width:24px;height:24px;border:1px solid #e3e3e3;border-radius:8px;display:grid;place-items:center;font-size:12px;color:#111;background:#fff;flex:none}.gtf-m3nav.active .m3ico{border-color:#333;color:#111}
.gtf-m3side-bottom{border-top:1px solid #f0f0f0;margin-top:12px;padding:11px 4px 2px;display:flex;flex-direction:column;gap:7px;font-size:10.5px;color:#999}.gtf-m3side-bottom a{text-decoration:none}.gtf-m3side-bottom a:hover{color:#111}
.gtf-m3main{direction:rtl;min-width:0}.gtf-m3top{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:3px 0 14px}.gtf-m3eyebrow{font-size:9px;color:#aaa;font-weight:800;letter-spacing:.11em;margin-bottom:6px}.gtf-m3top h1{font-size:23px;line-height:1.2;font-weight:800;margin:0}.gtf-m3top p{font-size:11.5px;color:#999;margin:5px 0 0}.gtf-m3top-actions{display:flex;align-items:center;gap:7px}.gtf-m3search,.m3searchwide{display:flex;align-items:center;gap:7px;border:1px solid #e2e2e2;background:#fff;border-radius:999px;padding:0 13px}.gtf-m3search{width:220px;height:38px}.gtf-m3search span,.m3searchwide span{color:#aaa;font-size:17px}.gtf-m3search input,.m3searchwide input{border:0!important;outline:0!important;background:transparent!important;width:100%;padding:0!important;margin:0!important;font:inherit;font-size:11.5px!important}.gtf-m3iconbtn{width:38px;height:38px;border-radius:50%;border:1px solid #ddd;background:#fff;cursor:pointer;font-size:16px}.gtf-m3iconbtn:hover{background:#fafafa}
.gtf-m3period{display:flex;gap:3px;align-items:center;background:#fff;border:1px solid #dedede;border-radius:999px;padding:4px;width:max-content;margin-bottom:13px}.gtf-m3period button{border:0;background:transparent;color:#777;border-radius:999px;padding:7px 14px;font:inherit;font-size:10.5px;font-weight:650;cursor:pointer}.gtf-m3period button.active{background:#111;color:#fff}
.m3kpis-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:12px}.m3kpi{background:#fff;border:1px solid #e7e7e7;border-radius:18px;padding:14px;min-height:74px;display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:10px;align-items:center;box-shadow:0 1px 2px rgba(0,0,0,.02)}.m3kicon{width:36px;height:36px;border:1px solid #dedede;border-radius:50%;display:grid;place-items:center;font-size:14px;color:#111}.m3kcopy{display:flex;flex-direction:column;gap:3px;min-width:0}.m3kcopy span{font-size:11.5px;font-weight:650;color:#4c4c50}.m3kcopy small{font-size:9.5px;color:#aaa;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.m3kval{display:flex;align-items:center;gap:6px;justify-content:flex-end}.m3kval strong{font-size:22px;letter-spacing:-.03em;font-weight:780}.m3delta{font-size:8.5px;border-radius:999px;padding:4px 6px;white-space:nowrap;background:#f2f2f2;color:#777}.m3delta.up{color:#222}.m3delta.down{color:#777}.m3delta.flat{color:#aaa}
.m3-grid-main{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr);gap:12px;margin-top:12px}.m3card{background:#fff;border:1px solid #e7e7e7;border-radius:20px;padding:18px;min-width:0}.m3card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.m3card h2{font-size:13.5px;font-weight:750;margin:0}.m3hint{font-size:10px;color:#aaa;font-weight:500;margin-inline-start:5px}.m3line{display:block;width:100%;height:225px;overflow:visible}.m3line .area{fill:rgba(17,17,17,.045)}.m3line .line{fill:none;stroke:#111;stroke-width:2.4;vector-effect:non-scaling-stroke}.m3line circle{fill:#111}.m3axis{display:flex;justify-content:space-between;color:#aaa;font-size:9px;margin-top:2px;direction:ltr}.m3empty-chart{height:225px;display:grid;place-items:center;color:#aaa;font-size:11px}.m3-status-list{display:flex;flex-direction:column;gap:15px;padding-top:3px}.m3-status-list>div{position:relative;display:grid;grid-template-columns:1fr auto;gap:4px;font-size:11px}.m3-status-list b{font-size:13px}.m3-status-list i{height:4px;border-radius:999px;background:#ddd;grid-column:1/-1}.m3-status-list i.good{background:#111}.m3-status-list i.neutral{background:#aaa}.m3-status-list i.bad{background:#555}.m3-note{font-size:9.5px;color:#aaa;margin-top:13px;line-height:1.6}
.m3-alert-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:12px}.m3alert{display:flex;gap:9px;align-items:flex-start;background:#fff;border:1px solid #ececec;border-radius:15px;padding:11px 12px;font-size:11px}.m3alert>span{width:21px;height:21px;border-radius:50%;background:#f2f2f2;display:grid;place-items:center;font-weight:800}.m3alert small{display:block;color:#999;font-size:9.5px;margin-top:3px}.m3activity{display:flex;align-items:center;gap:9px;padding:10px 0;border-bottom:1px solid #f1f1f1}.m3activity:last-child{border-bottom:0}.m3activity-ico{width:30px;height:30px;border:1px solid #e5e5e5;border-radius:50%;display:grid;place-items:center;font-size:12px;flex:none}.m3activity b{display:block;font-size:10.5px;font-weight:650}.m3activity small{display:block;color:#999;font-size:9px;margin-top:3px}.m3click{cursor:pointer}.m3click:hover{color:#111;text-decoration:underline}
.m3table-wrap{overflow:auto}.m3table{width:100%;border-collapse:collapse;min-width:720px}.m3table th{text-align:right;color:#999;font-size:9.5px;font-weight:650;padding:0 7px 9px;border-bottom:1px solid #ededed;white-space:nowrap}.m3table td{padding:10px 7px;border-bottom:1px solid #f0f0f0;font-size:10.5px;vertical-align:middle}.m3table tr:last-child td{border-bottom:0}.m3table td strong{font-size:10.5px}.m3table td small{display:block;color:#aaa;font-size:8.5px;margin-top:3px}.m3table tbody tr.m3click:hover{background:#fafafa}.m3empty{text-align:center!important;color:#aaa;padding:28px!important}.m3chip{display:inline-block;border-radius:999px;padding:4px 8px;font-size:8.5px;font-weight:700;background:#f1f1f1;color:#777;white-space:nowrap}.m3chip.good{background:#f0f0f0;color:#222}.m3chip.bad{background:#ececec;color:#555}.m3small{border:1px solid #ddd;background:#fff;border-radius:999px;padding:5px 8px;font:inherit;font-size:8.5px;cursor:pointer}.m3small:hover{background:#f5f5f5}
.m3toolbar{display:flex;gap:8px;align-items:center;margin-bottom:10px}.m3searchwide{height:36px;flex:1;max-width:420px}.m3toolbar select{height:36px;border:1px solid #ddd;border-radius:999px;background:#fff;padding:0 12px;font:inherit;font-size:10px}.m3bars{display:flex;flex-direction:column;gap:12px}.m3bar-label{display:flex;justify-content:space-between;font-size:10.5px;margin-bottom:5px}.m3bar-label b{font-size:10px}.m3bar-track{height:7px;background:#f0f0f0;border-radius:999px;overflow:hidden}.m3bar-track i{display:block;height:100%;background:#111;border-radius:999px;min-width:2px}.m3source{position:relative;padding:11px 0;border-bottom:1px solid #f0f0f0;display:grid;grid-template-columns:1fr auto;gap:5px;font-size:10.5px}.m3source i{height:5px;background:#111;border-radius:999px;grid-column:1/-1;min-width:2px}.m3source b{font-size:11px}.m3billing-note{background:#fafafa;border:1px solid #e9e9e9;border-radius:15px;padding:13px 15px;font-size:10.5px;line-height:1.7;margin-bottom:12px;color:#555}.m3billing-note strong{color:#111}.m3system-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:12px}.m3system-row{display:flex;justify-content:space-between;align-items:center;padding:9px 0;border-bottom:1px solid #f0f0f0;font-size:10.5px}.m3system-row:last-child{border-bottom:0}.m3system-counts{display:grid;grid-template-columns:1fr 1fr;gap:8px}.m3settings-read{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.m3settings-read>div{background:#fafafa;border:1px solid #eee;border-radius:12px;padding:10px}.m3settings-read span{display:block;color:#999;font-size:9px}.m3settings-read b{display:block;font-size:10.5px;margin-top:4px;overflow:hidden;text-overflow:ellipsis}.m3future{margin-top:12px;border:1px dashed #d9d9d9;border-radius:15px;padding:13px 15px;display:flex;flex-direction:column;gap:4px}.m3future b{font-size:10.5px}.m3future span{font-size:9.5px;color:#999}.m3loading,.m3error{padding:35px;text-align:center;color:#999;font-size:12px}.m3skeleton{height:430px;border-radius:20px;background:linear-gradient(90deg,#f3f3f3 25%,#fafafa 50%,#f3f3f3 75%);background-size:200% 100%;animation:gtfSk 1.2s infinite}
.gtf-m3drawer{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:99999;display:flex;align-items:center;justify-content:center;padding:18px}.gtf-m3drawer-card{background:#fff;width:min(760px,100%);max-height:90vh;overflow:auto;border-radius:24px;padding:22px;position:relative;box-shadow:0 25px 80px rgba(0,0,0,.24)}.gtf-m3close{position:absolute;top:12px;left:12px;width:32px;height:32px;border:1px solid #ddd;border-radius:50%;background:#fff;font-size:20px;cursor:pointer}.m3drawer-head{display:flex;gap:12px;align-items:center;margin-bottom:13px}.m3drawer-head img,.m3drawer-logo{width:54px;height:54px;border-radius:16px;object-fit:cover;border:1px solid #e5e5e5}.m3drawer-logo{display:grid;place-items:center;background:#f5f5f5;font-size:20px;font-weight:800}.m3drawer-head h2{font-size:19px;margin:0 0 6px}.m3drawer-links{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}.m3drawer-links a{border:1px solid #ddd;border-radius:999px;padding:7px 11px;font-size:9.5px;text-decoration:none}.m3feature-row{display:flex;gap:5px;flex-wrap:wrap;margin:10px 0 13px}.m3drawer-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:12px}.m3drawer-kpis .m3kpi{grid-template-columns:28px minmax(0,1fr);padding:10px}.m3drawer-kpis .m3kicon{width:28px;height:28px;font-size:11px}.m3drawer-kpis .m3kval{grid-column:2;justify-content:flex-start}.m3drawer-kpis .m3kcopy small{display:none}.m3drawer-kpis .m3kval strong{font-size:18px}.m3mini-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.m3mini-grid .m3kpi{grid-template-columns:30px 1fr auto;padding:10px}.m3mini-grid .m3kicon{width:30px;height:30px}
@media(max-width:1000px){.gtf-master3{grid-template-columns:1fr}.gtf-m3side{position:static}.gtf-m3side nav{display:grid;grid-template-columns:repeat(4,1fr)}.gtf-m3side-bottom{display:none}.m3kpis-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.gtf-master3{padding:15px 12px 50px;gap:12px}.gtf-m3side{border-radius:18px;padding:10px}.gtf-m3brand{padding-bottom:10px}.gtf-m3side nav{grid-template-columns:repeat(2,1fr)}.gtf-m3nav{font-size:10.5px;padding:8px}.gtf-m3top{align-items:stretch;flex-direction:column}.gtf-m3top h1{font-size:20px}.gtf-m3top-actions{width:100%}.gtf-m3search{flex:1;width:auto}.gtf-m3period{width:100%;justify-content:space-between}.gtf-m3period button{flex:1;padding:8px 5px}.m3kpis-grid{grid-template-columns:1fr}.m3-grid-main,.m3system-grid{grid-template-columns:1fr}.m3-alert-grid{grid-template-columns:1fr}.m3card{padding:15px;border-radius:18px}.m3line{height:190px}.m3drawer-kpis{grid-template-columns:1fr 1fr}.m3mini-grid{grid-template-columns:1fr}.m3toolbar{align-items:stretch;flex-direction:column}.m3searchwide{max-width:none}.m3toolbar select{width:100%}}
