.tgf-master{max-width:1280px;margin:0 auto;padding:28px;color:#e6f1f5;font:14px/1.5 system-ui,sans-serif;box-sizing:border-box;min-height:100vh}
.tgf-master *{box-sizing:border-box}
.tgf-master a{color:#8de0cf;text-decoration:none}
.tgf-master button{font:700 13px system-ui;cursor:pointer;border:1px solid #315465;background:#133949;color:#eef8fb;padding:10px 16px;border-radius:10px}
.tgf-master button:disabled{opacity:.55;cursor:wait}
.tgf-master button:focus-visible,.tgf-master a:focus-visible,.tgf-master input:focus-visible,.tgf-master select:focus-visible,.tgf-master textarea:focus-visible{outline:3px solid #f3c45d;outline-offset:3px}
.tgf-top,.tgf-actions,.tgf-heading,.tgf-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.tgf-brand{display:flex;align-items:center;gap:12px;font-size:24px;font-weight:850;letter-spacing:-.6px;color:#fff!important}
.tgf-brand small{display:block;font-size:11px;font-weight:500;letter-spacing:.6px;color:#9eb4c0}
.tgf-mark{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;color:#082f37;background:#84dec4;font-size:27px}
.tgf-actions{justify-content:flex-start}
.tgf-banner{margin:24px 0 20px;padding:12px 16px;border:1px solid #a4833d66;border-radius:10px;color:#f7d58d;background:#58491e33;font-size:12px}
.tgf-nav{display:flex;gap:8px;overflow-x:auto;padding:3px 0 14px}
.tgf-nav button{display:flex;align-items:center;gap:8px;white-space:nowrap;background:transparent;border-color:transparent;color:#a8bfcc}
.tgf-nav button[aria-current=page]{background:#204c52;color:#b4f4d9;border-color:#4c8d7b}
.tgf-heading{margin:20px 0}
.tgf-eyebrow{letter-spacing:1.7px;font-size:10px;font-weight:800;color:#93c8c2;margin:0 0 8px}
.tgf-master h1{font-size:28px;letter-spacing:-.6px;margin:0}
.tgf-master h2{font-size:18px;line-height:1.25;margin:12px 0}
.tgf-master h3{margin:0 0 12px;font-size:16px}
.tgf-master p{overflow-wrap:anywhere}
.tgf-hero{padding:34px;border-radius:22px;border:1px solid #38696a;background:radial-gradient(ellipse at 90% 10%,#2f7064 0,transparent 65%),#103d4c}
.tgf-hero h2{font-size:clamp(25px,4vw,42px);letter-spacing:-1px;max-width:600px}
.tgf-hero>p:not(.tgf-eyebrow){max-width:600px;color:#bdd7dd;margin-bottom:22px}
.tgf-master .tgf-primary{background:#99e2c6;color:#07382e!important;border-color:#99e2c6}
.tgf-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:20px 0}
.tgf-stats button{text-align:left;padding:18px;background:#0c2b3d;border-color:#244453;display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0}
.tgf-stats span{font-size:12px;overflow-wrap:anywhere}
.tgf-stats strong{font-size:30px;color:#f5ce7e}
.tgf-stats small{color:#95afbd}
.tgf-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.tgf-panel{border:1px solid #2a4a5b;border-radius:16px;padding:22px;background:#0c2c3d;min-width:0;overflow-wrap:anywhere}
.tgf-panel p,.tgf-panel li{color:#a9c2cf}
.tgf-panel li{padding:5px 0}
.tgf-panel ol{padding-left:20px}
.tgf-panel code{font-size:12px;color:#b4f4d9;word-break:break-all}
.tgf-toolbar{margin-bottom:16px}
.tgf-toolbar p{margin:0;color:#9cb6c4}
.tgf-pill{display:inline-block;padding:4px 10px;border-radius:99px;border:1px solid #6a957a88;color:#b4e7c3;font-size:10px;letter-spacing:.5px;font-weight:800;background:#31564144}
.tgf-pill.is-inactive{color:#bfccd5;background:#64748b33;border-color:#64748b}
.tgf-records{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,290px),1fr));gap:16px}
.tgf-record h2{color:#f5f9fa}
.tgf-record .tgf-toolbar{margin:0}
.tgf-record .tgf-toolbar button{padding:6px 10px;background:transparent}
.tgf-master dl{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px 14px;font-size:12px}
.tgf-master dt{color:#9fb9c8}
.tgf-master dd{margin:0;color:#d7f5e7;text-align:right}
.tgf-editor{margin-bottom:20px;border-color:#509d88}
.tgf-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}
.tgf-master label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:650;color:#ccdde5}
.tgf-master input:not([type=checkbox]),.tgf-master select,.tgf-master textarea{width:100%;min-width:0;font:14px system-ui;color:#eaf8f4;border:1px solid #3c6271;border-radius:8px;background:#082333;padding:11px 12px;line-height:1.4}
.tgf-master .tgf-check{display:flex;flex-direction:row;align-items:center;gap:9px;margin:14px 0}
.tgf-master input[type=checkbox]{accent-color:#99e2c6}
.tgf-help,.tgf-master small{color:#9ab7c4;font-size:12px}
.tgf-simulation>label{margin:15px 0}
.tgf-empty{text-align:center;grid-column:1/-1;padding:40px}
.tgf-empty>span{font-size:28px;color:#91d1c1}
.tgf-error{padding:14px;background:#682c3c66;border:1px solid #9b4961;border-radius:10px;color:#ffc8d5}
.tgf-notice{padding:14px;background:#28614d66;border:1px solid #4b9a7c;border-radius:10px;color:#c9f7dd}
.tgf-footer{border-top:1px solid #294859;margin-top:36px;padding:18px 0;color:#829dab;font-size:11px}
.tgf-master .tgf-record .tgf-panel{overflow:hidden}
@media(max-width:1000px){.tgf-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:640px){.tgf-master{padding:16px}
.tgf-brand{font-size:22px}
.tgf-info-grid,.tgf-fields{grid-template-columns:1fr}
.tgf-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
.tgf-hero{padding:24px}
.tgf-panel{padding:18px}
.tgf-top{gap:18px}
.tgf-master dl{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.tgf-master dd{overflow-wrap:anywhere}
.tgf-actions{gap:12px}
}

.tgf-brand-logo{width:80px;height:80px;object-fit:contain;background:white;border-radius:16px;flex:none}
.tgf-registration-section{border-top:1px solid #315465;padding:22px 0 8px;margin-top:12px}
.tgf-registration-section h3{color:#b4f4d9}
.tgf-registration-section details{border:1px solid #315465;padding:14px;border-radius:10px}
.tgf-registration-section summary{cursor:pointer;color:#c9f7dd;font-weight:700}
.tgf-photo-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.tgf-photo-field{min-width:0;padding:16px;border:1px dashed #426976;border-radius:12px;display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.tgf-photo-field>label{width:100%}.tgf-photo-field input[type=file]{font-size:12px;padding:8px}
.tgf-private-photo{width:140px;height:140px;border-radius:12px;object-fit:contain;background:#071f2e;max-width:100%;display:block;margin:8px 0}
.tgf-document-preview{width:100%;max-height:240px;object-fit:contain;background:#071f2e;border-radius:10px}
.tgf-acceptance-record{padding:12px;background:#164b3d;border-radius:8px;font-size:12px;overflow-wrap:anywhere}
@media(max-width:640px){.tgf-photo-fields{grid-template-columns:1fr}.tgf-brand-logo{width:64px;height:64px}}

.tgf-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start}
.tgf-preview{min-width:0;position:sticky;top:18px;margin-bottom:24px}
.tgf-phone{width:320px;max-width:100%;aspect-ratio:9/19.5;display:flex;flex-direction:column;margin:18px auto 0;padding:10px;background:#06151f;border:2px solid #527382;border-radius:38px;box-shadow:0 18px 42px #0005;position:relative}
.tgf-phone-notch{height:18px;width:100px;position:absolute;top:14px;left:50%;transform:translateX(-50%);background:#06151f;border-radius:0 0 14px 14px;z-index:3;pointer-events:none}
.tgf-phone-screen{background:#f7fafc;border-radius:28px;overflow:hidden;min-height:0;max-height:none;flex:1;overflow-y:auto;scrollbar-width:thin;color:#17394f}
.tgf-phone-brand{display:flex;align-items:center;justify-content:flex-end;gap:6px;height:58px;min-height:58px;padding:22px 12px 5px;background:#fff;font-size:15px;font-weight:900;color:#064393;position:sticky;top:0;z-index:1}.tgf-phone-brand img{width:25px;height:25px;object-fit:contain}.tgf-phone-brand span{color:#064393}
.tgf-phone-photo{height:auto;background:#fff;display:block;font-size:48px;overflow:hidden;text-align:center}
.tgf-phone-photo .tgf-private-photo{width:100%;height:auto;max-height:none;object-fit:contain;margin:0;border-radius:0;background:transparent}.tgf-phone-photo>span{display:block;padding:26px}
.tgf-phone-content{padding:18px;overflow-wrap:anywhere}.tgf-phone-content h2{color:#123b56;margin:8px 0 12px;font-size:22px}.tgf-phone-content p{color:#496272;font-size:13px;white-space:pre-wrap}.tgf-phone-content small{color:#617b8d}.tgf-phone-content h4{margin:14px 0 4px}.tgf-phone-content a{display:block;color:#075fa2;margin:12px 0;font-size:13px}.tgf-phone-benefit{background:#fff0d4;border-radius:12px;padding:16px;font-weight:800;color:#754800;white-space:pre-wrap}.tgf-phone-content button{width:100%;margin-top:18px;background:#064393;color:#fff;border:0;opacity:1;cursor:default}.tgf-phone-review{border-top:1px solid #d2dfe6;padding-top:12px}
@media(max-width:1050px){.tgf-editor-layout{grid-template-columns:minmax(0,1fr)}.tgf-preview{position:static}.tgf-preview>h3,.tgf-preview>.tgf-help{text-align:center}}

.tgf-preview-modes{display:flex;gap:8px}.tgf-preview-modes button{flex:1;padding:8px;font-size:12px}.tgf-preview-modes button[aria-pressed=true]{background:#99e2c6;color:#07382e}
.tgf-guest-hotel{display:block;color:#143d58;margin-top:4px}.tgf-master .tgf-guest-filters{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:14px}.tgf-master .tgf-guest-filters button{width:auto;margin:0;padding:7px;font-size:11px;background:#e4edf3;color:#264d65}.tgf-master .tgf-guest-filters button[aria-pressed=true]{background:#064393;color:white}
.tgf-master .tgf-guest-card{display:flex;flex-direction:column;gap:6px;text-align:left;background:white;color:#17394f;border:1px solid #d1dfe7;border-radius:14px;padding:12px;margin:12px 0;cursor:pointer}.tgf-guest-card span,.tgf-guest-card small{font-weight:400}.tgf-guest-card .tgf-private-photo{width:100%;height:auto;object-fit:contain;border-radius:8px;margin:0}.tgf-guest-placeholder{font-size:30px}.tgf-master .tgf-guest-back{background:#e4edf3;color:#264d65;margin:0 0 12px;cursor:pointer}.tgf-guest-note{border-top:1px solid #d1dfe7;margin-top:18px;padding-top:12px;font-size:11px!important}.tgf-guest-empty{padding:18px 0}

.tgf-preview-logo{display:block;margin:8px 0}.tgf-preview-logo .tgf-logo-photo{width:88px!important;height:auto!important;max-height:76px;object-fit:contain!important;background:transparent!important;border:0;border-radius:0;margin:0}.tgf-photo-field .tgf-logo-photo{background:white;object-fit:contain}

.tgf-business-identity{display:flex;align-items:center;gap:20px;min-height:40px;margin:0 0 12px}.tgf-business-identity .tgf-preview-logo{margin:0}.tgf-master .tgf-waze{display:flex;align-items:center;gap:5px;color:#17394f;text-decoration:none;margin:0;padding:4px 0;font-size:12px;font-weight:750}.tgf-waze img{width:28px;height:28px;object-fit:contain}
