@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/2c55a0e60120577a-s.0bjc5tiuqdqro.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/9c72aa0f40e4eef8-s.0m6w47a4e5dy9.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/ad66f9afd8947f86-s.11u06r12fd6v_.woff2)format("woff2");unicode-range:U+1F??}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/5476f68d60460930-s.0wxq9webf.ew4.woff2)format("woff2");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/2bbe8d2671613f1f-s.067x_6k0k23tk.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/1bffadaabf893a1e-s.p.16ipb6fqu393i.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter Fallback;src:local(Arial);ascent-override:90.44%;descent-override:22.52%;line-gap-override:0.0%;size-adjust:107.12%}.inter_46a7eda2-module__mVpuSG__className{font-family:Inter,Inter Fallback;font-style:normal}.inter_46a7eda2-module__mVpuSG__variable{--font-inter:"Inter", "Inter Fallback"}
:root{--bg:#f6f7fb;--surface:#fff;--border:#e5e7eb;--text:#111827;--muted:#6b7280;--blue:#2563eb;--teal:#0f766e;--red:#dc2626;--amber:#f59e0b;--shadow:0 20px 55px #0f172a14}*,:before,:after{box-sizing:border-box}html,body{min-height:100%;margin:0;overflow-x:hidden}body{color:var(--text);font-family:var(--font-inter,Inter, Arial, Helvetica, sans-serif);background:#e8e8ea}button,input,select{font:inherit}button{cursor:pointer}input,select{border:1px solid var(--border);min-width:0;color:var(--text);background:#fff;border-radius:8px;outline:none;padding:10px 11px;transition:border-color .15s,box-shadow .15s}input:focus,select:focus{border-color:var(--blue);box-shadow:0 0 0 3px #2563eb1f}h1,h2,h3,p{margin:0}label{gap:6px;display:grid}label span{color:var(--muted);font-size:11px;font-weight:700}.color-row{grid-template-columns:48px 1fr;gap:8px;display:grid}.color-row input{padding:3px}.collapse-button{color:#2d2d7e;cursor:pointer;background:#fff;border:1.5px solid #e2e8f0;border-radius:10px;justify-content:space-between;align-items:center;width:100%;padding:11px 14px;font-size:13px;font-weight:700;transition:all .15s;display:flex;box-shadow:0 1px 3px #0000000a}.collapse-button:hover{color:#1a1a5c;background:#f0fdf9;border-color:#a5f3eb}.danger-button{color:var(--red);background:#fff;border:1px solid #fecaca;border-radius:8px;padding:10px 12px;font-weight:700;transition:background .15s}.danger-button:hover{background:#fef2f2}.danger-button.solid{border-color:var(--red);background:var(--red);color:#fff}.danger-button.solid:hover:not(:disabled){background:#b91c1c}.danger-button.solid:disabled{cursor:not-allowed;opacity:.45}.secondary-button{border:1px solid var(--border);color:var(--text);background:#fff;border-radius:8px;padding:10px 12px;font-weight:700;transition:background .15s}.secondary-button:hover{background:#f9fafb}.segmented{border:1px solid var(--border);border-radius:8px;display:inline-flex;overflow:hidden}.segmented button{color:var(--muted);background:#fff;border:0;padding:8px 10px;font-size:12px;font-weight:700;transition:background .15s,color .15s}.segmented button:hover:not(.active){background:#f1f5f9}.segmented button.active{background:var(--blue);color:#fff}.modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0f172a6b;place-items:center;padding:18px;animation:.15s fadeIn;display:grid;position:fixed;inset:0}.modal{border:1px solid var(--border);background:#fff;border-radius:12px;width:min(460px,100%);padding:22px;animation:.2s slideUp;box-shadow:0 28px 90px #0f172a38}.modal h3{color:var(--red);margin-bottom:10px;font-size:18px}.modal p{color:var(--muted);margin-bottom:16px;font-size:14px;line-height:1.7}.delete-confirm-label{color:var(--muted);gap:6px;margin-bottom:16px;font-size:13px;display:grid}.modal-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.sync-message{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;margin-bottom:12px;padding:11px 14px;font-size:13px;font-weight:700;animation:.2s fadeIn}.sync-message.error{color:#b91c1c;background:#fef2f2;border-color:#fecaca}.looker-page{color:#111827;direction:ltr;min-height:100vh}.looker-appbar{z-index:50;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff7;border-bottom:1px solid #e8eaf0;justify-content:space-between;align-items:center;gap:10px;height:56px;padding:0 20px;display:flex;position:sticky;top:0;box-shadow:0 1px 3px #0000000d,0 1px #0000000a}.looker-brand{flex-shrink:0;align-items:center;gap:10px;display:flex}.looker-node{border:2.5px solid #3b82f6;border-radius:999px;flex-shrink:0;width:18px;height:18px;box-shadow:10px 8px 0 -6px #3b82f6,3px 14px 0 -6px #3b82f6}.admin-view-chip{color:#92400e;letter-spacing:.02em;background:linear-gradient(135deg,#fffbeb,#fef3c7);border:1px solid #fde68a;border-radius:6px;padding:3px 8px;font-size:10px;font-weight:800;box-shadow:0 1px 2px #f59e0b26}.looker-actions{align-items:center;gap:5px;display:flex}.looker-actions select,.looker-actions button,.looker-actions .btn-admin-back{color:#374151;cursor:pointer;white-space:nowrap;background:#f8fafc;border:1.5px solid #e2e8f0;border-radius:8px;height:32px;padding:0 11px;font-family:inherit;font-size:12px;font-weight:600;text-decoration:none;transition:background .15s,border-color .15s,box-shadow .15s,transform .1s}.looker-actions button,.looker-actions .btn-admin-back{align-items:center;gap:5px;display:inline-flex}.looker-actions select:focus{border-color:#00c9a7;outline:none;box-shadow:0 0 0 3px #00c9a71f}.currency-popover-wrap{display:inline-flex;position:relative}.currency-panel-backdrop{display:none}@media (max-width:760px){.currency-panel-backdrop{z-index:79;background:#0f172a66;display:block;position:fixed;inset:0}}.looker-actions .btn-currency{color:#1e40af;background:linear-gradient(135deg,#eff6ff,#dbeafe);border-color:#bfdbfe;font-weight:700}.currency-panel{z-index:80;color:#111827;background:#fff;border:1px solid #cbd5e1;border-radius:14px;gap:12px;width:min(420px,100vw - 24px);max-height:min(90vh,600px);padding:14px;display:grid;position:absolute;top:calc(100% + 10px);right:0;overflow-y:auto;box-shadow:0 18px 50px #0f172a38}@media (max-width:760px){.currency-panel{width:calc(100vw - 24px);max-width:420px;max-height:90vh;position:fixed;top:50%;left:50%;right:auto;transform:translate(-50%,-50%)}}.currency-panel-head{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:10px;display:flex}.currency-panel-head strong{color:#12308f;font-size:16px}.currency-panel-head span,.currency-panel p{color:#64748b;font-size:12px;font-weight:700}.currency-panel label{color:#475569;text-transform:uppercase;gap:6px;font-size:11px;font-weight:900;display:grid}.currency-panel select,.currency-panel input{color:#111827;background:#fff;border:1px solid #d6dbe7;border-radius:10px;width:100%;height:42px;padding:0 12px;font-size:14px;font-weight:800}.currency-rate-field div{grid-template-columns:1fr auto auto 1fr auto;align-items:center;gap:8px;display:grid}@media (max-width:360px){.currency-rate-field div{grid-template-rows:auto auto auto;grid-template-columns:1fr auto}.currency-rate-field div span{text-align:center;grid-column:1/-1}}.currency-rate-field b,.currency-rate-field div span{color:#334155;font-size:13px}.currency-preview{background:#eff6ff;border:1px solid #bfdbfe;border-radius:12px;gap:6px;padding:10px 12px;display:grid}.currency-preview span{color:#1d4ed8;text-transform:uppercase;font-size:11px;font-weight:900}.currency-preview b{color:#0f172a;font-size:12px;font-weight:800}.currency-warning{color:#92400e;background:#fffbeb;border:1px solid #fbbf24;border-radius:12px;gap:7px;padding:10px 12px;display:grid}.preview-links-panel{background:#f8fbff;border:1px solid #dbe7ff;border-radius:10px;gap:10px;padding:12px;display:grid}.preview-links-panel p{color:#64748b;margin:0;font-size:12px;font-weight:700;line-height:1.5}.preview-links-generate{color:#fff;background:#2563eb;border:1px solid #2563eb;border-radius:9px;min-height:38px;font-weight:900}.preview-links-list{flex-direction:column;gap:12px;max-height:500px;padding-right:2px;display:flex;overflow-y:auto}.preview-link-card{background:#fff;border:1.5px solid #d6dbe7;border-radius:12px;flex-direction:column;display:flex;box-shadow:0 1px 3px #0000000d}.preview-link-row{direction:ltr;background:#fff;border-radius:12px 12px 0 0;flex-direction:row;align-items:center;gap:6px;min-width:0;padding:10px 12px;display:flex}.preview-link-code{color:#1e3a8a;text-overflow:ellipsis;white-space:nowrap;flex-shrink:0;max-width:110px;font-size:12px;font-weight:700;overflow:hidden}.preview-link-row input{color:#334155;background:#f8fafc;border:1px solid #d6dbe7;border-radius:7px;flex:1;min-width:0;height:32px;padding:0 8px;font-size:11px}.preview-link-row button,.preview-link-row a{color:#2563eb;background:#fff;border:1px solid #d6dbe7;border-radius:7px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;text-decoration:none;display:inline-flex}.preview-link-row button:hover,.preview-link-row a:hover{background:#eff6ff}.referral-ai-settings{direction:rtl;background:#f0f5ff;border-top:1.5px solid #c7d7ff;border-radius:0 0 12px 12px;flex-direction:column;gap:10px;padding:12px;display:flex}.meta-ai-note{color:#1e3a8a;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;margin:8px 0 0;padding:9px 11px;font-size:12px;font-weight:700}.meta-ai-status{color:#9a3412;direction:rtl;background:#fff7ed;border-top:1px solid #e5e7eb;justify-content:space-between;align-items:center;gap:10px;padding:8px 10px;font-size:12px;font-weight:800;display:flex}.meta-ai-status.connected{color:#166534;background:#f0fdf4}.meta-ai-status small{color:inherit;opacity:.82;font-size:11px;font-weight:700}.referral-ai-label{flex-direction:column;gap:5px;display:flex}.referral-ai-label>span,.referral-ai-limit-field>span{color:#374151;font-size:11px;font-weight:700}.referral-ai-select{color:#1e293b;cursor:pointer;background:#fff;border:1.5px solid #c7d7ff;border-radius:8px;width:100%;height:36px;padding:0 10px;font-size:12px}.referral-ai-limits{flex-wrap:wrap;gap:10px;display:flex}.referral-ai-limit-field{flex-direction:column;flex:1;gap:5px;min-width:90px;display:flex}.referral-ai-limit-field>input{text-align:center;box-sizing:border-box;color:#1e293b;background:#fff;border:1.5px solid #c7d7ff;border-radius:8px;width:100%;height:34px;padding:0 8px;font-size:13px}.referral-ai-save-btn{color:#fff;cursor:pointer;white-space:nowrap;background:#2563eb;border:1.5px solid #2563eb;border-radius:8px;align-self:flex-start;height:34px;padding:0 18px;font-size:12px;font-weight:700;transition:background .15s,border-color .15s}.referral-ai-save-btn:hover:not(:disabled){background:#1d4ed8}.referral-ai-save-btn.saved{background:#16a34a;border-color:#16a34a}.referral-ai-save-btn:disabled{opacity:.5;cursor:default}.project-ai-budget-panel{background:#f8fbff;border:1.5px solid #d6dbe7;border-radius:12px;padding:14px}.currency-warning b,.currency-warning span{font-size:12px;font-weight:800}.looker-actions .currency-warning button{color:#fff;background:#f59e0b;border-color:#f59e0b;border-radius:8px;justify-content:center;width:fit-content;min-height:30px}.currency-panel-actions{grid-template-columns:1fr 1.4fr;gap:8px;display:grid}.looker-actions .currency-panel-actions button{border-radius:10px;justify-content:center;min-height:38px}.looker-actions .currency-panel-actions button[type=submit]{color:#fff;background:#2563eb;border-color:#2563eb}.looker-actions .logout-form{margin:0;display:inline-flex}.looker-actions button:hover:not(:disabled):not(.btn-new-project):not(.btn-settings):not(.btn-logout):not(.btn-sync-orders):not(.btn-sync-ads):not(.btn-currency):not(.btn-export):not(.btn-theme):not(.btn-admin-back){background:#f1f5f9;border-color:#cbd5e1;box-shadow:0 1px 3px #00000012}.looker-actions button:active:not(:disabled){transform:scale(.97)}.looker-actions button:disabled{cursor:progress;opacity:.55}.looker-actions .btn-danger{color:var(--red);border-color:#fecaca}.looker-actions .btn-danger:hover{background:#fef2f2;border-color:#fca5a5}.looker-actions .spinning svg{animation:.8s linear infinite spin}.management-strip{width:min(1180px,100vw - 32px);margin:16px auto 0;animation:.2s slideDown}.management-grid{grid-template-columns:minmax(280px,.58fr) minmax(520px,1.42fr);align-items:start;gap:16px;display:grid}.management-card{background:#fff;border:1px solid #d7dce8;border-radius:12px;gap:12px;padding:16px;display:grid;box-shadow:0 14px 40px #0f172a14}.new-project-card{position:sticky;top:70px}.settings-card{gap:14px}.card-heading{border-bottom:1px solid #eef2f7;justify-content:space-between;align-items:center;gap:12px;padding-bottom:10px;display:flex}.card-heading strong{color:#0f172a;font-size:13px;font-weight:900}.card-heading span{color:#64748b;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:12px;font-weight:700;overflow:hidden}.settings-section{background:#fbfdff;border:1px solid #e6ebf3;border-radius:10px;gap:10px;padding:12px;display:grid}.section-title{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.section-title strong{color:#1e3a8a;font-size:13px;font-weight:900}.section-title span{color:#64748b;font-size:11px;font-weight:700}.settings-fields{gap:10px;display:grid}.settings-fields.two-cols{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-fields .wide-field{grid-column:1/-1}.upload-logo-button{color:#1d4ed8;cursor:pointer;background:#f8fafc;border:1.5px dashed #94a3b8;border-radius:6px;place-items:center;min-height:38px;font-size:13px;font-weight:700;transition:background .15s,border-color .15s;display:grid}.upload-logo-button:hover{background:#eff6ff;border-color:#60a5fa}.upload-logo-button input{display:none}.integration-guide{color:#065f46;direction:rtl;background:linear-gradient(135deg,#f0fdf9,#e8fdf6);border:1px solid #a5f3eb;border-radius:10px;padding:12px 14px;font-size:12px;line-height:1.8}.integration-guide ol{margin:0;padding-inline-start:20px}.integration-guide code{color:#00796b;direction:ltr;background:#00c9a726;border-radius:5px;padding:1px 6px;font-weight:600;display:inline-block}.integration-guide a{color:#2d2d7e;text-underline-offset:2px;margin-top:8px;font-weight:700;text-decoration:underline;display:inline-block}.field-note{color:#64748b;background:#f8fafc;border-inline-start:3px solid #00c9a7;border-radius:6px;margin:-2px 0 2px;padding:6px 10px;font-size:11.5px;line-height:1.6}.sheet-lock-note{border-color:#fed7aa;color:#9a3412;background:#fff7ed;border-inline-start-color:#f97316;margin:2px 0 8px;font-weight:700}.meta-connect-button{color:#fff;cursor:pointer;background:#1877f2;border:0;border-radius:8px;padding:10px 16px;font-size:13px;font-weight:700;transition:background .15s,box-shadow .15s;box-shadow:0 2px 8px #1877f240}.meta-connect-button:hover:not(:disabled){background:#1565d8;box-shadow:0 4px 12px #1877f259}.meta-connect-button:disabled{opacity:.65;cursor:not-allowed}.integration-status{color:#991b1b;background:#fef2f2;border:1px solid #fca5a5;border-radius:10px;gap:3px;padding:10px 12px;font-size:12px;font-weight:500;display:grid}.integration-status.connected{color:#065f46;background:linear-gradient(135deg,#f0fdf9,#e8fdf6);border-color:#6ee7b7}.integration-status span{color:inherit;opacity:.8;font-weight:400}.meta-accounts-panel{background:#fff;border:1px solid #e2e8f0;border-radius:12px;gap:10px;padding:14px;display:grid;box-shadow:0 1px 4px #0000000a}.meta-accounts-head{color:#2d2d7e;justify-content:space-between;align-items:center;gap:10px;font-size:13px;font-weight:600;display:flex}.meta-accounts-head span{color:#64748b;font-size:12px;font-weight:400}.meta-accounts-list{background:#fff;border:1px solid #e2e8f0;border-radius:8px;max-height:360px;display:grid;overflow:auto}.meta-accounts-grid-head{color:#64748b;text-transform:uppercase;grid-template-columns:minmax(0,1fr) minmax(180px,.55fr);gap:12px;padding:0 10px;font-size:11px;font-weight:900;display:grid}.meta-account-row{border-bottom:1px solid #e2e8f0;grid-template-columns:18px minmax(0,1fr) minmax(180px,.55fr);align-items:center;gap:12px;padding:10px 12px;transition:background .15s;display:grid}.meta-account-row:hover{background:#f8fafc}.meta-account-row:last-child{border-bottom:0}.meta-account-row>input[type=checkbox]{accent-color:#00c9a7;cursor:pointer;width:16px;height:16px}.meta-account-row span{gap:2px;display:grid}.meta-account-row strong{color:#0f172a;font-size:12px}.meta-account-row small{color:#64748b;direction:ltr;font-size:11px}.meta-account-row .referral-code-input{color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:8px;width:100%;min-width:160px;height:38px;padding:0 10px;font-size:12px;font-weight:800}.meta-account-row select.referral-code-input{appearance:auto;cursor:pointer}.meta-account-row .referral-code-input:disabled{color:#94a3b8;cursor:not-allowed;background:#f8fafc}.meta-account-row .referral-code-input::placeholder{color:#94a3b8;font-weight:700}.report-canvas{color:#fff;background:linear-gradient(#211f2b 0%,#1c1b25 100%);border-radius:8px;width:min(1100px,100vw - 28px);margin:20px auto 60px;padding:26px 16px;box-shadow:0 6px 28px #0000005c}.report-canvas.theme-light{color:#0f172a;background:linear-gradient(#f5f7ff 0%,#eef1f8 100%)}.report-header{grid-template-columns:auto 1fr;align-items:start;gap:28px;margin-bottom:24px;display:grid}.report-identity{border-left:3px solid #2563eb;grid-template-columns:78px minmax(0,1fr);align-items:center;gap:16px;padding-left:14px;display:grid}.report-identity-label{letter-spacing:.12em;opacity:.55;margin-bottom:4px;font-size:10px;font-weight:800}.report-identity-text h1{letter-spacing:.03em;font-size:20px;font-weight:900;line-height:1.2}.report-logo{color:#111;text-align:center;background:#fff;border-radius:6px;place-items:center;width:78px;height:78px;display:grid;overflow:hidden}.report-logo .logo-image{background-position:50%;background-repeat:no-repeat;background-size:contain;width:68px;height:68px;display:block}.report-logo>span:not(.logo-image){font-size:18px;font-weight:900}.report-logo small{font-size:10px}.report-filters{z-index:50;background:#0c0b1273;border:1px solid #3a3847;border-radius:8px;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:14px;display:grid;position:relative}.theme-light .report-filters{background:#fff;border-color:#dde3f0;box-shadow:0 2px 10px #0f172a12}.report-filters label{gap:4px;position:relative}.report-filters label span,.date-range-control>span{color:#9896b2;letter-spacing:.06em;text-transform:uppercase;font-size:10px;font-weight:800;display:block}.theme-light .report-filters label span,.theme-light .date-range-control>span,.theme-light .date-range-control b{color:#64748b}.date-range-control b{color:#6664a0}.report-filters input,.report-filters select{color:#e8e6f0;background:#1e1c2a;border:1px solid #4a4860;border-radius:6px;width:100%;height:36px;padding:0 9px;font-size:12px;transition:border-color .15s,box-shadow .15s}.report-filters input:focus,.report-filters select:focus{border-color:#818cf8;box-shadow:0 0 0 2px #818cf82e}.theme-light .report-filters input,.theme-light .report-filters select{color:#0f172a;background:#f8faff;border-color:#c7d0e8}.filter-combobox input{padding-inline-end:34px}.filter-combobox>button{color:#9896b2;cursor:pointer;background:0 0;border:0;place-items:center;width:22px;height:22px;font-size:18px;line-height:1;display:grid;position:absolute;bottom:7px;right:8px}.theme-light .filter-combobox>button{color:#64748b}.filter-options{z-index:9999;background:#1a1826;border:1px solid #3a3850;border-radius:8px;max-height:240px;padding:4px;display:grid;position:fixed;overflow:auto;box-shadow:0 18px 50px #0000008c}.filter-options button,.filter-options em{color:#d6d4e8;cursor:pointer;min-height:30px;font:inherit;text-align:start;background:0 0;border:0;border-radius:5px;padding:7px 9px;font-size:12px}.filter-options button:hover{color:#fff;background:#818cf826}.filter-options button.active{color:#fff;background:linear-gradient(90deg,#6366f1,#4f46e5);font-weight:700}.filter-options em{color:#706e85;cursor:default}.theme-light .filter-options{background:#fff;border-color:#dde3f0;box-shadow:0 18px 50px #0f172a24}.theme-light .filter-options button,.theme-light .filter-options em{color:#1e293b}.theme-light .filter-options button:hover{color:#4338ca;background:#eef2ff}.theme-light .filter-options button.active{color:#fff;background:linear-gradient(90deg,#6366f1,#4f46e5)}.date-range-control{grid-column:span 3;gap:4px;display:grid}.date-range-control>div{grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);align-items:center;gap:6px;display:grid}.date-range-control b{color:#a8a7b0;text-align:center;font-size:11px}.report-kpis{grid-template-columns:repeat(5,minmax(100px,1fr));gap:10px;margin:8px 0 28px;display:grid}.kpi{text-align:center;border:1px solid #ffffff1a;border-radius:12px;min-height:68px;padding:11px 12px;transition:transform .15s,box-shadow .15s;box-shadow:inset 0 1px #ffffff29,0 4px 14px #00000047}.kpi:hover{transform:translateY(-2px);box-shadow:inset 0 1px #fff3,0 8px 24px #0000005c}.kpi p{letter-spacing:.03em;opacity:.92;text-shadow:0 1px 2px #0000004d;font-size:9.5px;font-weight:800;line-height:1}.kpi strong{color:#fff;text-shadow:0 1px 3px #00000040;margin-top:7px;font-size:20px;font-weight:700;line-height:1.1;display:block}.money-value{white-space:nowrap;justify-content:center;align-items:baseline;gap:.28em;display:inline-flex}.money-currency{opacity:.86;letter-spacing:0;font-size:.62em;font-weight:800}.report-table .money-currency,.table-count .money-currency,.currency-preview .money-currency{font-size:.72em}.kpi.sky{background:linear-gradient(145deg,#38bdf8 0%,#1e40af 100%)}.kpi.blue{background:linear-gradient(145deg,#818cf8 0%,#312e81 100%)}.kpi.orange{background:linear-gradient(145deg,#fb923c 0%,#92400e 100%)}.kpi.green{background:linear-gradient(145deg,#4ade80 0%,#14532d 100%)}.kpi.lavender{background:linear-gradient(145deg,#c084fc 0%,#581c87 100%)}.kpi.purple{background:linear-gradient(145deg,#a78bfa 0%,#3b0764 100%)}.kpi.yellow{color:#fff;background:linear-gradient(145deg,#fde047 0%,#b45309 100%)}.kpi.mint{background:linear-gradient(145deg,#2dd4bf 0%,#134e4a 100%)}.kpi.cyan{background:linear-gradient(145deg,#67e8f9 0%,#164e63 100%)}.kpi.red{background:linear-gradient(145deg,#f87171 0%,#7f1d1d 100%)}.kpi.olive{background:linear-gradient(145deg,#fcd34d 0%,#78350f 100%)}.kpi.pink{background:linear-gradient(145deg,#f472b6 0%,#831843 100%)}.kpi.rose{background:linear-gradient(145deg,#fb7185 0%,#881337 100%)}.report-line{margin:4px 12px 24px}.reason-pie-row{grid-template-columns:minmax(0,1fr) minmax(0,.75fr);align-items:center;gap:20px;margin:0 10px 20px;display:grid}.pie-panel{min-width:0}.segmented.dark{border-color:#3a3850;width:max-content;margin-bottom:8px;margin-left:auto}.segmented.dark button{color:#9896b0;background:#1e1c2a}.theme-light .segmented.dark{border-color:#dde3f0}.theme-light .segmented.dark button{color:#475569;background:#f5f8ff}.segmented.dark button.active,.theme-light .segmented.dark button.active{color:#fff;background:linear-gradient(90deg,#6366f1,#4f46e5)}.report-table-section,.reason-table-wrap{margin:14px 10px;overflow-x:auto}.orange-title{color:#fff;letter-spacing:.05em;text-align:center;text-shadow:0 1px 2px #0003;background:linear-gradient(90deg,#f97316 0%,#dc6b00 100%);border-radius:6px 6px 0 0;padding:7px 8px;font-size:11px;font-weight:800}.report-table{border-collapse:collapse;color:#fff;width:100%;min-width:960px;font-size:11px}.scroll-table{border-radius:0 0 4px 4px;max-height:400px;overflow:auto}.scroll-table .report-table thead{z-index:2;position:sticky;top:0}.report-table th{color:#fff;letter-spacing:.04em;text-align:center;white-space:nowrap;background:linear-gradient(90deg,#f97316 0%,#dc6b00 100%);padding:7px 8px;font-size:10px;font-weight:800}.report-table td{text-align:center;background:#211f2d;border-bottom:1px solid #2e2c3e;padding:6px 8px;transition:background .1s}.report-table tbody tr:nth-child(2n) td{background:#1d1b28}.report-table tbody tr:hover td{background:#2d2b40}.theme-light .report-table td{color:#1e293b;background:#fff;border-bottom-color:#e8edf5}.theme-light .report-table tbody tr:nth-child(2n) td{background:#f7f9fd}.theme-light .report-table tbody tr:hover td{background:#eef2fb}.report-table td:first-child{text-align:right;white-space:normal;word-break:break-word;min-width:180px;max-width:220px;font-weight:600;line-height:1.45}.report-table th:first-child{min-width:180px}.report-table .pos{color:#fff;background:linear-gradient(90deg,#16a34a,#15803d);font-weight:700}.report-table .neg{color:#fff;background:linear-gradient(90deg,#dc2626,#991b1b);font-weight:700}.theme-light .report-table .pos{color:#fff;background:linear-gradient(90deg,#22c55e,#16a34a)}.theme-light .report-table .neg{color:#fff;background:linear-gradient(90deg,#ef4444,#dc2626)}.reason-table{min-width:280px}.reason-table td:first-child{text-align:left;width:80%}.report-bars{gap:36px;margin:32px 16px 10px;display:grid}.ad-entry{border-top:1px solid #2e2c3e;margin:28px 10px 0;padding-top:14px}.theme-light .ad-entry{border-top-color:#e0e6f2}.ad-entry h3{color:#fbbf24;letter-spacing:.06em;text-transform:uppercase;margin-bottom:10px;font-size:12px;font-weight:800}.ad-form{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.ad-form input,.ad-form select{color:#e8e6f0;background:#1e1c2a;border-color:#4a4860;border-radius:6px;height:36px;padding:0 9px;font-size:12px}.theme-light .ad-form input,.theme-light .ad-form select{color:#111827;background:#fff;border-color:#cbd5e1}.ad-form button,.management-card button:not(.collapse-button):not(.meta-connect-button),.color-row button{color:#fff;background:#2f6fec;border:0;border-radius:6px;padding:9px 14px;font-weight:700;transition:background .15s}.ad-form button:hover:not(:disabled),.management-card button:not(.collapse-button):not(.meta-connect-button):hover:not(:disabled),.color-row button:hover:not(:disabled){background:#1d5fd4}.missing-sku-section{margin-top:28px}.missing-sku-section .report-table td:nth-child(5){text-align:start;min-width:280px}.ad-form button:disabled,.management-card button:disabled{cursor:not-allowed;opacity:.6}.kpi-trend{letter-spacing:.02em;opacity:1;text-shadow:0 1px 2px #0000004d;margin-top:4px;font-size:10px;font-weight:800;display:inline-block}.kpi-trend.up{color:#bbf7d0}.kpi-trend.down{color:#fed7aa}.date-presets{flex-wrap:wrap;grid-column:span 3;align-items:center;gap:4px;display:flex}.date-presets button{color:#b4b2c8;letter-spacing:.03em;cursor:pointer;background:0 0;border:1px solid #4a4860;border-radius:5px;height:26px;padding:0 9px;font-size:10px;font-weight:700;transition:background .15s,border-color .15s,color .15s}.date-presets button:hover{color:#fff;background:#818cf826;border-color:#6366f1}.date-presets button.active{color:#fff;background:linear-gradient(90deg,#6366f1,#4f46e5);border-color:#6366f1}.theme-light .date-presets button{color:#475569;border-color:#c7d0e8}.theme-light .date-presets button:hover{color:#4338ca;background:#eef2ff;border-color:#6366f1}.theme-light .date-presets button.active{color:#fff;background:linear-gradient(90deg,#6366f1,#4f46e5);border-color:#6366f1}.reset-filters-btn{color:#8b8aa0;letter-spacing:.03em;cursor:pointer;background:0 0;border:1px solid #4a4860;border-radius:5px;height:26px;margin-left:auto;padding:0 9px;font-size:10px;font-weight:700;transition:background .15s,border-color .15s,color .15s}.reset-filters-btn:hover{color:#fff;background:linear-gradient(90deg,#dc2626,#b91c1c);border-color:#dc2626}.theme-light .reset-filters-btn{color:#64748b;border-color:#c7d0e8}.theme-light .reset-filters-btn:hover{color:#fff;background:linear-gradient(90deg,#dc2626,#b91c1c);border-color:#dc2626}.table-toolbar{justify-content:space-between;align-items:center;gap:10px;margin-bottom:6px;display:flex}.table-search-input,.table-filter-select{color:#e8e6f0;background:#1a1826;border:1px solid #3a3850;border-radius:6px;outline:none;width:220px;min-width:0;height:30px;padding:0 8px;font-family:inherit;font-size:12px;transition:border-color .15s,box-shadow .15s}.table-filter-select{cursor:pointer;width:180px}.table-search-input::placeholder{color:#706e85}.table-search-input:focus,.table-filter-select:focus{border-color:#818cf8;box-shadow:0 0 0 2px #818cf826}.theme-light .table-search-input,.theme-light .table-filter-select{color:#1e293b;background:#f5f8ff;border-color:#c7d0e8}.table-count{color:#8a8994;white-space:nowrap;font-size:11px;font-weight:600}.looker-actions .btn-export{color:#0f766e;background:linear-gradient(135deg,#f0fdfa,#ccfbf1);border-color:#99f6e4}.looker-actions .btn-export:hover:not(:disabled){background:linear-gradient(135deg,#ccfbf1,#99f6e4);border-color:#5eead4;box-shadow:0 2px 8px #14b8a62e}.looker-actions .btn-theme{color:#6d28d9;background:linear-gradient(135deg,#f5f3ff,#ede9fe);border-color:#ddd6fe}.looker-actions .btn-theme:hover:not(:disabled){background:linear-gradient(135deg,#ede9fe,#ddd6fe);border-color:#c4b5fd;box-shadow:0 2px 8px #6d28d926}.looker-actions .btn-logout{color:#dc2626;background:linear-gradient(135deg,#fff5f5,#fee2e2);border-color:#fecaca}.looker-actions .btn-logout:hover:not(:disabled){background:linear-gradient(135deg,#fee2e2,#fecaca);border-color:#fca5a5;box-shadow:0 2px 8px #dc262626}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes slideDown{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (max-width:1160px){.report-header{grid-template-columns:1fr}.report-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.date-presets,.date-range-control{grid-column:span 2}.reason-pie-row,.management-grid{grid-template-columns:1fr}.new-project-card{position:static}.report-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:760px){.looker-appbar{flex-wrap:wrap;height:auto;padding:8px}.looker-actions{flex-wrap:wrap}.report-canvas{padding:12px 8px}.report-kpis,.ad-form{grid-template-columns:1fr 1fr}.report-filters{grid-template-columns:1fr}.date-presets,.date-range-control{grid-column:span 1}.settings-fields.two-cols{grid-template-columns:1fr}.section-title{display:grid}.date-range-control{grid-column:span 1}.report-identity-text h1{font-size:16px}.meta-account-row{grid-template-columns:18px minmax(0,1fr)}.meta-accounts-grid-head{display:none}.meta-account-row .referral-code-input{grid-column:2}}@media (max-width:520px){.report-kpis,.report-header,.ad-form{grid-template-columns:1fr}}.sync-toast{z-index:80;color:#1d4ed8;pointer-events:none;background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;align-items:center;gap:10px;max-width:380px;padding:12px 18px;font-size:13px;font-weight:700;animation:.22s slideUp;display:flex;position:fixed;bottom:24px;right:24px;box-shadow:0 8px 28px #0f172a29}.sync-toast.error{color:#b91c1c;background:#fef2f2;border-color:#fecaca}.looker-actions .btn-new-project{color:#fff;background:linear-gradient(135deg,#00c9a7,#00b396);border-color:#0000;font-weight:700;box-shadow:0 1px 3px #00c9a74d}.looker-actions .btn-new-project:hover:not(:disabled){background:linear-gradient(135deg,#00b396,#009e84);border-color:#0000;transform:translateY(-1px);box-shadow:0 3px 10px #00c9a759}.looker-actions .btn-settings{color:#fff;background:linear-gradient(135deg,#2d2d7e,#252268);border-color:#0000;font-weight:700;box-shadow:0 1px 3px #2d2d7e4d}.looker-actions .btn-settings:hover:not(:disabled){background:linear-gradient(135deg,#252268,#1d1a52);border-color:#0000;transform:translateY(-1px);box-shadow:0 3px 10px #2d2d7e59}.looker-actions .btn-sync-orders{color:#065f46;background:linear-gradient(135deg,#f0fdf4,#dcfce7);border-color:#a7f3d0}.looker-actions .btn-sync-orders:hover:not(:disabled){background:linear-gradient(135deg,#dcfce7,#bbf7d0);border-color:#6ee7b7;box-shadow:0 2px 8px #0596692e}.looker-actions .btn-sync-ads{color:#6b21a8;background:linear-gradient(135deg,#fdf4ff,#f3e8ff);border-color:#e9d5ff}.looker-actions .btn-sync-ads:hover:not(:disabled){background:linear-gradient(135deg,#f3e8ff,#e9d5ff);border-color:#d8b4fe;box-shadow:0 2px 8px #6b21a826}.looker-actions .btn-admin-back{color:#92400e;background:linear-gradient(135deg,#fffbeb,#fef3c7);border-color:#fde68a;font-weight:700}.looker-actions .btn-admin-back:hover{background:linear-gradient(135deg,#fef3c7,#fde68a);border-color:#fcd34d;box-shadow:0 2px 8px #d977062e}.appbar-divider{background:linear-gradient(#0000,#e2e8f0 30% 70%,#0000);flex-shrink:0;width:1px;height:22px;margin:0 2px}.drawer-overlay{z-index:39;background:#0f172a33;animation:.2s fadeIn;position:fixed;inset:54px 0 0}.settings-drawer{z-index:40;background:#fff;flex-direction:column;width:min(520px,100vw);animation:.22s cubic-bezier(.16,1,.3,1) slideInRight;display:flex;position:fixed;top:54px;bottom:0;right:0;box-shadow:-6px 0 40px #0f172a29}@keyframes slideInRight{0%{transform:translate(100%)}to{transform:translate(0)}}.drawer-header{background:#fff;border-bottom:1px solid #e5e7eb;flex-shrink:0;justify-content:space-between;align-items:center;height:54px;padding:0 18px;display:flex}.drawer-header-left{align-items:center;gap:10px;display:flex}.drawer-project-dot{border-radius:50%;flex-shrink:0;width:10px;height:10px}.drawer-header strong{color:#0f172a;font-size:15px;font-weight:800}.drawer-project-count{color:#64748b;background:#f1f5f9;border-radius:10px;justify-content:center;align-items:center;min-width:20px;height:20px;padding:0 6px;font-size:11px;font-weight:700;display:inline-flex}.drawer-close{color:#6b7280;cursor:pointer;background:0 0;border:1px solid #e5e7eb;border-radius:7px;place-items:center;width:30px;height:30px;transition:background .15s,color .15s;display:grid}.drawer-close:hover{color:#111827;background:#f1f5f9}.drawer-tabs{background:#fff;border-bottom:1px solid #f1f5f9;flex-shrink:0;align-items:center;gap:4px;padding:8px 14px;display:flex}.drawer-tab{color:#6b7280;cursor:pointer;white-space:nowrap;text-overflow:ellipsis;background:0 0;border:1.5px solid #0000;border-radius:8px;flex:1;justify-content:center;align-items:center;gap:5px;height:34px;padding:0 12px;font-size:12px;font-weight:600;transition:all .15s;display:inline-flex;overflow:hidden}.drawer-tab:hover:not(.active){color:#374151;background:#f1f5f9;border-color:#e2e8f0}.drawer-tab.active{color:#fff;background:linear-gradient(135deg,#2d2d7e,#3d3d9e);border-color:#0000;font-weight:700;box-shadow:0 2px 8px #2d2d7e40}.drawer-tab:first-child.active{color:#fff;background:linear-gradient(135deg,#00c9a7,#00b396);border-color:#0000;box-shadow:0 2px 8px #00c9a74d}.drawer-tab:last-child:not(:first-child):not(.active){color:#7c3aed}.drawer-tab:last-child:not(:first-child).active{color:#fff;background:linear-gradient(135deg,#7c3aed,#6d28d9);border-color:#0000;box-shadow:0 2px 8px #6d28d940}.team-save-comm-btn{color:#fff;cursor:pointer;background:#2563eb;border:1.5px solid #2563eb;border-radius:8px;width:100%;height:38px;margin-top:12px;padding:0 20px;font-size:13px;font-weight:700;transition:background .15s}.team-save-comm-btn:hover:not(:disabled){background:#1d4ed8}.team-save-comm-btn:disabled{opacity:.5;cursor:default}.drawer-body{background:#f8fafc;flex:1;padding:16px 18px 24px;overflow-y:auto}.drawer-form{flex-direction:column;gap:6px;display:flex}.drawer-form-intro{color:#0f766e;background:linear-gradient(135deg,#f0fdf9 0%,#e0f7f2 100%);border:1px solid #a7f3d0;border-radius:10px;align-items:center;gap:10px;margin-bottom:6px;padding:12px 14px;font-size:13px;font-weight:700;display:flex}.drawer-section-label{color:#2d2d7e;letter-spacing:.08em;text-transform:uppercase;border:0;align-items:center;gap:8px;margin-top:20px;margin-bottom:8px;padding:0;font-size:10px;font-weight:900;display:flex}.drawer-section-label:before{content:"";background:linear-gradient(#00c9a7,#2d2d7e);border-radius:2px;flex-shrink:0;width:3px;height:13px;display:inline-block}.drawer-section-heading{justify-content:space-between;align-items:center;gap:12px;margin-top:20px;margin-bottom:8px;display:flex}.drawer-section-heading .drawer-section-label{border:0;margin:0;padding:0}.sheet-guide-toggle{color:#1d4ed8;cursor:pointer;white-space:nowrap;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;justify-content:center;align-items:center;gap:6px;width:auto;min-height:32px;padding:7px 10px;font-size:12px;font-weight:900;display:inline-flex}.sheet-guide-toggle:hover{background:#dbeafe;border-color:#93c5fd}.sheet-guide{color:#172554;background:#f8fbff;border:1px solid #bfdbfe;border-radius:10px;gap:10px;margin:0 0 12px;padding:12px;font-size:12px;line-height:1.7;display:grid}.sheet-guide-summary,.sheet-guide-note{gap:3px;display:grid}.sheet-guide-summary strong,.sheet-guide-note strong{color:#1e3a8a;font-size:13px}.sheet-guide-rules{gap:4px;margin:0;padding-inline-start:20px;display:grid}.sheet-guide code{color:#1e40af;direction:ltr;background:#dbeafe;border-radius:4px;padding:1px 5px;font-weight:800;display:inline-block}.sheet-guide-table-wrap{background:#fff;border:1px solid #dbeafe;border-radius:8px;max-height:240px;overflow:auto}.sheet-guide-table{border-collapse:collapse;text-align:left;direction:ltr;width:100%}.sheet-guide-table th,.sheet-guide-table td{vertical-align:top;border-bottom:1px solid #e0ecff;padding:8px 10px}.sheet-guide-table th{color:#1e3a8a;text-transform:uppercase;background:#eff6ff;font-size:11px;position:sticky;top:0}.sheet-guide-table tr:last-child td{border-bottom:0}.drawer-form>.drawer-section-label:first-child{margin-top:4px}.drawer-field-group{background:#fff;border:1px solid #e9eef5;border-radius:12px;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px;display:grid;box-shadow:0 1px 3px #0000000a}.drawer-field-group.locked-section{opacity:.72}.drawer-field-group.locked-section input,.drawer-field-group.locked-section select{cursor:not-allowed;background:#f8fafc}.drawer-label{gap:5px;display:grid}.drawer-label>span{color:#64748b;letter-spacing:.04em;text-transform:uppercase;font-size:10.5px;font-weight:700}.drawer-label input,.drawer-label select{color:#1e293b;background:#f8fafc;border:1.5px solid #e2e8f0;border-radius:8px;width:100%;height:38px;padding:0 11px;font-family:inherit;font-size:13px;transition:border-color .15s,box-shadow .15s,background .15s}.drawer-label input:focus,.drawer-label select:focus{background:#fff;border-color:#00c9a7;outline:none;box-shadow:0 0 0 3px #00c9a721}.drawer-label input::placeholder{color:#cbd5e1}.drawer-label-full{grid-column:1/-1}.drawer-upload-label>.upload-logo-button{border-radius:8px;height:38px;font-size:13px}.drawer-footer{border-top:1.5px dashed #e2e8f0;margin-top:20px;padding-top:16px}.color-row{grid-template-columns:48px 1fr;align-items:center;gap:8px;display:grid}.color-row input[type=color]{cursor:pointer;background:#fff;border:1.5px solid #e2e8f0;border-radius:8px;width:48px;height:40px;padding:3px}.drawer-footer .color-row button,.management-card button:not(.collapse-button):not(.meta-connect-button){color:#fff;cursor:pointer;background:linear-gradient(135deg,#2d2d7e,#3d3d9e);border:none;border-radius:9px;height:40px;font-size:13px;font-weight:700;transition:all .15s;box-shadow:0 2px 8px #2d2d7e40}.drawer-footer .color-row button:hover:not(:disabled),.management-card button:not(.collapse-button):not(.meta-connect-button):hover:not(:disabled){background:linear-gradient(135deg,#252268,#2d2d7e);transform:translateY(-1px);box-shadow:0 4px 14px #2d2d7e59}.drawer-footer .color-row button:disabled{opacity:.55;cursor:progress}.drawer-danger-zone{background:linear-gradient(135deg,#fff5f5,#fef2f2);border:1.5px solid #fecaca;border-radius:12px;margin-top:24px;padding:14px 16px}.danger-zone-label{color:#b91c1c;letter-spacing:.08em;text-transform:uppercase;align-items:center;gap:6px;margin-bottom:8px;font-size:10px;font-weight:900;display:flex}.danger-zone-label:before{content:"";background:#ef4444;border-radius:2px;flex-shrink:0;width:3px;height:13px;display:inline-block}.drawer-danger-zone p{color:#6b7280;margin-bottom:12px;font-size:12.5px;line-height:1.65}.drawer-danger-zone .danger-button{align-items:center;gap:6px;height:36px;padding:0 14px;font-size:13px;display:inline-flex}@media (max-width:540px){.settings-drawer{width:100vw}.drawer-field-group{grid-template-columns:1fr}}.commission-settings-wrap{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;gap:14px;margin-bottom:4px;padding:16px;display:flex}.comm-type-toggle{background:#edf2f7;border-radius:8px;gap:6px;padding:4px;display:flex}.comm-type-toggle button{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:6px;flex:1;height:32px;font-size:13px;font-weight:500;transition:all .18s}.comm-type-toggle button.active{color:#fff;background:linear-gradient(135deg,#2d2d7e,#1a1a5c);box-shadow:0 2px 8px #2d2d7e40}.comm-type-toggle button:hover:not(.active){color:#2d2d7e;background:#2d2d7e12}.commission-fixed-rate{flex-direction:column;gap:6px;display:flex}.commission-fixed-rate span{color:#64748b;text-transform:uppercase;letter-spacing:.06em;font-size:11.5px;font-weight:600}.comm-rate-input-wrap{align-items:center;gap:8px;display:flex}.comm-rate-input-wrap input{color:#1e293b;background:#fff;border:1.5px solid #d1d5db;border-radius:8px;width:110px;height:36px;padding:0 12px;font-size:14px;font-weight:500;transition:border-color .15s,box-shadow .15s}.comm-rate-input-wrap input:focus{border-color:#00c9a7;outline:none;box-shadow:0 0 0 3px #00c9a721}.comm-pct-suffix{color:#64748b;font-size:14px;font-weight:500}.tiers-list{flex-direction:column;gap:8px;display:flex}.tiers-list-head{color:#94a3b8;text-transform:uppercase;letter-spacing:.07em;grid-template-columns:1fr 1fr 90px 28px;gap:6px;padding:0 4px;font-size:11px;font-weight:600;display:grid}.tier-row{grid-template-columns:1fr 1fr 90px 28px;align-items:center;gap:6px;display:grid}.tier-row input{color:#1e293b;background:#fff;border:1.5px solid #d1d5db;border-radius:7px;width:100%;height:34px;padding:0 10px;font-size:13px;transition:border-color .15s,box-shadow .15s}.tier-row input:focus{border-color:#00c9a7;outline:none;box-shadow:0 0 0 3px #00c9a721}.tier-remove-btn{color:#94a3b8;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:6px;justify-content:center;align-self:center;align-items:center;width:28px;height:28px;font-size:16px;transition:all .15s;display:flex}.tier-remove-btn:hover{color:#ef4444;background:#fef2f2;border-color:#fca5a5}.add-tier-btn{color:#00a38a;cursor:pointer;background:#00c9a70a;border:1.5px dashed #00c9a7;border-radius:7px;align-self:flex-start;height:34px;padding:0 16px;font-size:13px;font-weight:600;transition:all .15s}.add-tier-btn:hover{color:#007d69;background:#00c9a71a;border-color:#009d84}.sync-settings-wrap{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;gap:14px;margin-bottom:4px;padding:16px;display:flex}.sync-settings-row{flex-direction:column;gap:10px;display:flex}.sync-settings-row+.sync-settings-row{border-top:1px solid #e9eef5;padding-top:14px}.sync-settings-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.sync-toggle-label{cursor:pointer;color:#334155;align-items:center;gap:8px;font-size:13px;font-weight:600;display:flex}.sync-toggle-label input[type=checkbox]{accent-color:#00c9a7;cursor:pointer;width:16px;height:16px}.last-sync-badge{color:#64748b;background:#fff;border:1px solid #e2e8f0;border-radius:20px;padding:3px 10px;font-size:11px;font-weight:500}.sync-interval-label{justify-content:space-between;align-items:center;gap:8px;display:flex;margin:0!important}.sync-interval-label>span{color:#64748b;font-size:12px;font-weight:500}.sync-interval-wrap{align-items:center;gap:6px;display:flex}.sync-interval-wrap input[type=number]{color:#1e293b;text-align:center;background:#fff;border:1.5px solid #d1d5db;border-radius:7px;width:80px;height:34px;padding:0 10px;font-size:13px;font-weight:500;transition:border-color .15s,box-shadow .15s}.sync-interval-wrap input[type=number]:focus{border-color:#00c9a7;outline:none;box-shadow:0 0 0 3px #00c9a721}.sync-unit{color:#64748b;font-size:12px;font-weight:500}.sync-sub-settings{flex-direction:column;gap:8px;padding-inline-start:24px;display:flex}.comm-cell{color:#00796b;background:linear-gradient(90deg,#00c9a71f,#2d2d7e12);font-weight:600}.ai-fab{z-index:1000;cursor:pointer;color:#fff;background:linear-gradient(135deg,#6366f1 0%,#8b5cf6 100%);border:none;border-radius:50px;align-items:center;gap:8px;padding:12px 20px;font-family:inherit;font-size:14px;font-weight:700;transition:transform .15s,box-shadow .15s;display:flex;position:fixed;bottom:28px;left:28px;box-shadow:0 4px 20px #6366f173}.ai-fab:hover{transform:translateY(-2px);box-shadow:0 8px 28px #6366f18c}.ai-fab-icon{font-size:18px}.ai-fab-label{letter-spacing:.3px}.ai-overlay{z-index:1001;-webkit-backdrop-filter:blur(2px);background:#00000073;animation:.2s ai-fade-in;position:fixed;inset:0}.ai-panel{z-index:1002;background:#18162b;border-left:1px solid #2d2b45;flex-direction:column;width:420px;max-width:95vw;animation:.25s cubic-bezier(.4,0,.2,1) ai-slide-in;display:flex;position:fixed;top:0;bottom:0;right:0;box-shadow:-8px 0 40px #00000080}@keyframes ai-slide-in{0%{opacity:0;transform:translate(100%)}to{opacity:1;transform:translate(0)}}@keyframes ai-fade-in{0%{opacity:0}to{opacity:1}}.ai-panel-header{background:linear-gradient(135deg,#1e1c33 0%,#221f3a 100%);border-bottom:1px solid #2d2b45;flex-shrink:0;justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.ai-panel-title{color:#e2e1f0;align-items:center;gap:8px;font-size:16px;font-weight:700;display:flex}.ai-panel-subtitle{color:#7c6fa0;align-items:center;gap:6px;margin-top:2px;font-size:11px;display:flex}.ai-model-badge{color:#a5b4fc;background:#6366f133;border:1px solid #6366f14d;border-radius:20px;padding:1px 7px;font-family:monospace;font-size:10px}.ai-panel-close{cursor:pointer;color:#6b7280;background:0 0;border:none;border-radius:6px;padding:4px 8px;font-family:inherit;font-size:18px;transition:color .15s,background .15s}.ai-panel-close:hover{color:#e2e1f0;background:#ffffff14}.ai-messages{scroll-behavior:smooth;flex-direction:column;flex:1;gap:16px;padding:20px 16px;display:flex;overflow-y:auto}.ai-messages::-webkit-scrollbar{width:4px}.ai-messages::-webkit-scrollbar-track{background:0 0}.ai-messages::-webkit-scrollbar-thumb{background:#3a3857;border-radius:99px}.ai-welcome{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:12px;min-height:200px;padding:24px;display:flex}.ai-welcome-icon{font-size:48px}.ai-welcome-title{color:#c4b5fd;font-size:18px;font-weight:700}.ai-welcome-desc{color:#6b7280;max-width:280px;font-size:13px;line-height:1.6}.ai-message{align-items:flex-start;gap:10px;display:flex}.ai-message-user{flex-direction:row-reverse}.ai-message-avatar{background:linear-gradient(135deg,#4f46e5,#7c3aed);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;font-size:16px;display:flex;box-shadow:0 2px 8px #6366f14d}.ai-message-avatar-user{background:linear-gradient(135deg,#0f766e,#0d9488);box-shadow:0 2px 8px #0d94884d}.ai-message-bubble{word-break:break-word;border-radius:14px;max-width:78%;padding:10px 14px;font-size:13px;line-height:1.65}.ai-message-assistant .ai-message-bubble{color:#d4d3e8;background:#22203a;border:1px solid #2d2b45;border-top-right-radius:4px}.ai-message-user .ai-message-bubble{color:#fff;background:linear-gradient(135deg,#4f46e5,#6d28d9);border-top-left-radius:4px}.ai-loading-bubble{align-items:center;gap:5px;padding:12px 16px;display:flex}.ai-dot{background:#6366f1;border-radius:50%;width:7px;height:7px;animation:.9s ease-in-out infinite ai-bounce}.ai-dot:nth-child(2){animation-delay:.15s}.ai-dot:nth-child(3){animation-delay:.3s}@keyframes ai-bounce{0%,80%,to{opacity:.5;transform:scale(.7)}40%{opacity:1;transform:scale(1.1)}}.ai-input-area{background:#18162b;border-top:1px solid #2d2b45;flex-shrink:0;padding:14px 16px}.ai-start-btn{cursor:pointer;color:#fff;background:linear-gradient(135deg,#6366f1 0%,#8b5cf6 100%);border:none;border-radius:12px;width:100%;padding:13px;font-family:inherit;font-size:15px;font-weight:700;transition:opacity .15s,transform .15s;box-shadow:0 3px 12px #6366f159}.ai-start-btn:hover:not(:disabled){opacity:.9;transform:translateY(-1px)}.ai-start-btn:disabled{opacity:.55;cursor:not-allowed}.ai-input-row{align-items:center;gap:8px;display:flex}.ai-input{color:#e2e1f0;text-align:right;background:#221f3a;border:1px solid #2d2b45;border-radius:10px;outline:none;flex:1;padding:10px 14px;font-family:inherit;font-size:13px;transition:border-color .15s}.ai-input:focus{border-color:#6366f1}.ai-input::placeholder{color:#4b4870}.ai-send-btn{cursor:pointer;color:#fff;background:linear-gradient(135deg,#6366f1,#8b5cf6);border:none;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;font-size:16px;transition:opacity .15s;display:flex}.ai-send-btn:disabled{opacity:.45;cursor:not-allowed}.ai-image-loading{color:#a5b4fc;align-items:center;margin-top:8px;font-size:13px;display:flex}.ai-image-result{flex-direction:column;gap:8px;margin-top:10px;display:flex}.ai-generated-image{border:1px solid #3a3857;border-radius:12px;width:100%;max-width:320px;transition:transform .2s;display:block;box-shadow:0 4px 20px #0006}.ai-generated-image:hover{cursor:zoom-in;transform:scale(1.02)}.ai-image-download{color:#a5b4fc;background:#6366f11a;border:1px solid #4f46e544;border-radius:20px;align-items:center;gap:5px;width:fit-content;padding:5px 12px;font-size:12px;text-decoration:none;transition:background .15s;display:inline-flex}.ai-image-download:hover{color:#c4b5fd;background:#6366f133}.ai-attach-btn{color:#9ca3af;cursor:pointer;background:#221f3a;border:1.5px solid #2d2b45;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;font-size:17px;transition:border-color .15s,color .15s;display:flex}.ai-attach-btn:hover:not(:disabled){color:#a5b4fc;border-color:#6366f1}.ai-attach-btn:disabled{opacity:.4;cursor:not-allowed}.ai-attach-preview{background:#6366f11a;border:1px solid #4f46e544;border-radius:10px;align-items:center;gap:8px;margin-bottom:8px;padding:8px 10px;display:flex}.ai-attach-thumb{object-fit:cover;border-radius:6px;flex-shrink:0;width:40px;height:40px}.ai-attach-label{color:#a5b4fc;flex:1;font-size:12px}.ai-attach-remove{cursor:pointer;color:#6b7280;background:0 0;border:none;border-radius:4px;padding:2px 6px;font-family:inherit;font-size:14px;transition:color .15s}.ai-attach-remove:hover{color:#f87171}.ai-attach-error{color:#f87171;background:#f871711a;border:1px solid #f871714d;border-radius:8px;margin-bottom:6px;padding:6px 10px;font-size:12px}
