.login-page{background:var(--page-background);color:#111;grid-template-columns:minmax(0,1.4fr) minmax(300px,.8fr);align-items:center;gap:80px;width:100%;min-height:100dvh;margin:0 auto;padding:48px;display:grid}.login-intro{justify-self:end;width:100%;max-width:560px}.login-brand{letter-spacing:-1px;margin-bottom:52px;font-size:34px;font-weight:700}.login-brand span{color:#f45b22}.login-intro h1{letter-spacing:-1.5px;max-width:520px;margin:0 0 20px;font-size:clamp(36px,4vw,52px);line-height:1.12}.login-intro>p{max-width:500px;margin:0 0 28px;font-size:18px;line-height:1.45}.login-benefits{gap:12px;margin:0;padding:0;font-size:17px;list-style:none;display:grid}.login-card{background:#fff;border:1px solid #dedede;border-radius:12px;justify-self:start;width:100%;max-width:370px;padding:30px;box-shadow:0 8px 18px #0000001a}.login-card h2{margin:0 0 22px;font-size:24px}.login-form{gap:16px;display:grid}.form-field{gap:6px;display:grid}.form-field label{color:#222;font-size:14px}.form-field input{color:#111;background:#fff;border:1px solid #b8b8b8;border-radius:7px;outline:none;width:100%;min-height:42px;padding:10px 12px;font-size:15px}.form-field input:focus{border-color:#f45b22;box-shadow:0 0 0 3px #f45b2226}.login-button{color:#fff;cursor:pointer;background:#ff5b1a;border:0;border-radius:7px;min-height:44px;font-size:15px;font-weight:600}.login-button:hover:not(:disabled){background:#e94d10}.login-button:disabled,.form-field input:disabled{cursor:not-allowed;opacity:.65}.forgot-password{color:#6b625d;cursor:pointer;background:0 0;border:0;justify-self:center;padding:0;font-size:13px}.forgot-password:hover{color:#f45b22}.login-error{color:#c62828;margin:0;font-size:14px}@media (width<=700px){.login-page{grid-template-columns:1fr;align-content:center;gap:32px;padding:28px 20px}.login-intro,.login-card{justify-self:center;max-width:440px}.login-brand{margin-bottom:28px;font-size:28px}.login-intro h1{font-size:34px}.login-intro>p{font-size:16px}.login-card{padding:24px}}.dashboard-page{background:var(--page-background);color:#171717;min-height:100dvh}.dashboard-header{background:#fff;border-bottom:1px solid #e5e2dc;justify-content:space-between;align-items:center;min-height:72px;padding:14px clamp(24px,5vw,64px);display:flex}.dashboard-brand{letter-spacing:-.7px;font-size:26px;font-weight:700}.dashboard-brand span{color:#f45b22}.dashboard-header__actions{align-items:center;gap:12px;display:flex}.connect-store-button,.store-action--primary{color:#fff;cursor:pointer;background:#f45b22;border:1px solid #f45b22}.connect-store-button{border-radius:8px;min-height:42px;padding:9px 15px;font-size:14px;font-weight:700}.connect-store-button:hover,.store-action--primary:hover:not(:disabled){background:#df4d17;border-color:#df4d17}.dashboard-account{position:relative}.dashboard-account summary{cursor:pointer;background:#fff;border:1px solid #d8d8d8;border-radius:8px;align-items:center;gap:9px;min-height:42px;padding:6px 12px 6px 7px;list-style:none;display:flex;box-shadow:0 2px 6px #0000000d}.dashboard-account summary::-webkit-details-marker{display:none}.account-avatar{color:#4b4b4b;background:#f2f2f2;border-radius:50%;place-items:center;width:28px;height:28px;font-size:13px;font-weight:700;display:grid}.account-chevron{border-bottom:1.5px solid #666;border-right:1.5px solid #666;width:7px;height:7px;margin-left:2px;transform:translateY(-2px)rotate(45deg)}.dashboard-account[open] .account-chevron{transform:translateY(2px)rotate(225deg)}.account-menu{background:#fff;border:1px solid #e2e2e2;border-radius:8px;width:150px;padding:6px;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 10px 24px #0000001f}.account-menu button{color:#b42318;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;width:100%;padding:9px 10px}.dashboard-content{width:min(100%,1120px);margin:0 auto;padding:clamp(42px,7vh,72px) 24px 64px}.stores-heading{margin-bottom:30px}.stores-heading h1{letter-spacing:-1px;margin:0 0 8px;font-size:clamp(30px,4vw,40px)}.stores-heading p{color:#68635f;margin:0;font-size:16px}.store-toolbar{justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px;display:flex}.store-filters{gap:8px;display:flex}.store-filter{color:#5f5a55;cursor:pointer;background:#fff;border:1px solid #ddd8d2;border-radius:999px;padding:8px 13px;font-size:14px;font-weight:600}.store-filter--active{color:#c44112;background:#fff1eb;border-color:#f45b22}.store-search input{background:#fff;border:1px solid #ddd8d2;border-radius:8px;width:210px;min-height:39px;padding:8px 12px;font-size:14px}.store-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.store-card{background:#fff;border:1px solid #e2ded8;border-radius:13px;flex-direction:column;min-height:282px;padding:22px;transition:border-color .16s,box-shadow .16s,transform .16s;display:flex;box-shadow:0 5px 15px #2b241f0f}.store-card:hover{border-color:#f1a17e;transform:translateY(-2px);box-shadow:0 10px 22px #2b241f1a}.store-card--muted{background:#fffdfa}.store-card__topline{justify-content:space-between;align-items:center;display:flex}.store-platform-icon{background:#fff;border:1px solid #ece9e5;border-radius:10px;place-items:center;width:46px;height:46px;font-size:28px;font-weight:700;display:grid}.store-platform-icon img{object-fit:contain;width:26px;height:35px}.store-platform-icon--tiktok{color:#fff;background:#171717}.store-status{color:#77716d;align-items:center;gap:6px;font-size:13px;font-weight:600;display:inline-flex}.store-status--connected{color:#24703e}.store-status__dot{background:#15803d;border-radius:50%;width:7px;height:7px}.store-card__details{margin:22px 0}.store-platform-name{color:#78716c;margin:0 0 5px;font-size:13px;font-weight:600}.store-card h2{overflow-wrap:anywhere;margin:0 0 9px;font-size:20px}.store-shop-id{color:#625d58;margin:0;font-size:13px}.store-card__actions{grid-template-columns:1fr 1fr;gap:10px;margin-top:auto;display:grid}.store-action{border-radius:7px;min-height:39px;padding:8px 10px;font-size:13px;font-weight:700}.store-action--secondary{color:#514b46;cursor:pointer;background:#fff;border:1px solid #d7d2cc}.store-action:disabled{cursor:not-allowed;opacity:.5}.stores-empty,.dashboard-error{color:#68635f;text-align:center}.dashboard-error{color:#b42318}.connect-modal-backdrop{z-index:5;background:#1717176b;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.connect-modal{background:#fff;border-radius:14px;width:min(100%,420px);padding:24px;box-shadow:0 24px 56px #00000038}.connect-modal__header{justify-content:space-between;gap:16px;display:flex}.connect-modal h2{margin:0 0 6px;font-size:22px}.connect-modal p{color:#68635f;margin:0;font-size:14px;line-height:1.45}.modal-close{color:#514b46;cursor:pointer;background:#f5f3f0;border:0;border-radius:50%;width:32px;height:32px;font-size:25px;line-height:1}.connect-platform-list{gap:10px;margin:22px 0 16px;display:grid}.connect-platform-list button{color:#292524;cursor:pointer;text-align:left;background:#fff;border:1px solid #e2ded8;border-radius:9px;justify-content:space-between;align-items:center;padding:14px;font-size:15px;font-weight:700;display:flex}.connect-platform-list button:hover{background:#fffaf7;border-color:#f1a17e}.connect-modal__note{font-size:13px!important}.store-destination{width:min(100%,760px);margin:0 auto;padding:72px 24px}.store-destination h1{margin:6px 0 8px;font-size:34px}.store-destination>p:not(.store-platform-name){color:#68635f;margin:0}.back-link{color:#c44112;cursor:pointer;background:0 0;border:0;margin-bottom:32px;font-weight:700}.store-destination__notice{color:#625d58;background:#fff8f4;border:1px solid #f1d0c0;border-radius:10px;margin-top:30px;padding:18px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}button:focus-visible,input:focus-visible{outline-offset:2px;outline:3px solid #f45b223d}@media (width<=850px){.store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.dashboard-header{min-height:64px;padding:11px 18px}.dashboard-brand{font-size:23px}.dashboard-header__actions{gap:8px}.connect-store-button{padding:8px 10px}.dashboard-account summary>span:nth-child(2),.account-chevron{display:none}.dashboard-content{padding:38px 18px}.stores-heading{margin-bottom:24px}.store-toolbar{flex-direction:column;align-items:stretch}.store-search input{width:100%}.store-grid{grid-template-columns:1fr}}.shopee-dashboard{background:var(--page-background);color:#171717;min-height:100dvh}.shopee-topbar{background:#fff;border-bottom:1px solid #e5e2dc;justify-content:space-between;align-items:center;min-height:72px;padding:14px clamp(24px,5vw,64px);display:flex}.shopee-brand{color:#171717;letter-spacing:-.7px;cursor:pointer;background:0 0;border:0;padding:0;font-size:26px;font-weight:700}.shopee-brand span{color:#f45b22}.shopee-account{align-items:center;gap:12px;display:flex}.shopee-account>span{font-weight:600}.shopee-account button{color:#b42318;cursor:pointer;background:#fff;border:1px solid #d8d8d8;border-radius:7px;padding:9px 14px}.shopee-account button:disabled{cursor:not-allowed;opacity:.6}.shopee-heading{justify-content:space-between;align-items:flex-end;gap:24px;width:min(100%,1120px);margin:0 auto;padding:48px 24px 0;display:flex}.shopee-heading h1{letter-spacing:-1px;margin:0 0 8px;font-size:clamp(30px,4vw,40px);line-height:1.15}.shopee-heading p{color:#68635f;margin:0}.shop-actions{align-items:center;gap:10px;display:flex}.shop-badge{color:#237a3b;white-space:nowrap;background:#e9f8ee;border-radius:999px;padding:8px 12px;font-size:13px;font-weight:600}.shop-disconnect{color:#b42318;cursor:pointer;background:#fff;border:1px solid #d6d3d1;border-radius:7px;min-height:34px;padding:7px 11px;font-size:13px;font-weight:600}.shop-disconnect:hover:not(:disabled){background:#fff1ef;border-color:#e4a39d}.shop-disconnect:disabled{cursor:not-allowed;opacity:.6}.shop-connection-error{color:#b42318;width:min(100%,1120px);margin:16px auto 0;padding:0 24px;font-size:14px}.ads-sync-status{background:#fff;border:1px solid #e0ddd7;border-radius:12px;width:min(100%,1120px);margin:24px auto 0;padding:20px 24px;box-shadow:0 5px 14px #2b241f0f}.ads-sync-status h2{margin:0 0 6px;font-size:17px}.ads-sync-status p{color:#68635f;margin:0;font-size:14px}.ads-sync-status__heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.ads-sync-status__heading strong{color:#d94e1b;font-size:18px}.sync-progress{background:#f1ede8;border-radius:99px;height:9px;margin:16px 0 10px;overflow:hidden}.sync-progress span{border-radius:inherit;background:#f45b22;height:100%;display:block}.sync-detail{font-weight:600}.ads-sync-status--completed{background:#fbfffc;border-color:#d8eadc}.ads-sync-status--completed h2{color:#24703e}.ads-sync-status--error{background:#fff9f8;border-color:#f0ccc5}.ads-sync-status--error h2,.sync-inline-error{color:#b42318!important}.sync-inline-error{margin-top:10px!important}.sync-action{color:#fff;cursor:pointer;background:#f45b22;border:1px solid #f45b22;border-radius:7px;min-height:38px;margin-top:16px;padding:8px 13px;font-size:14px;font-weight:700}.sync-action:disabled{cursor:not-allowed;opacity:.65}.sync-action--secondary{color:#514b46;background:#fff;border-color:#d6d3d1;margin-top:10px}.shopee-dashboard .campaign-section{width:min(100%,1120px);margin:32px auto 0;padding:0 24px 64px}@media (width<=700px){.shopee-topbar{min-height:64px;padding:11px 18px}.shopee-brand{font-size:23px}.shopee-heading{flex-direction:column;align-items:flex-start;padding:36px 18px 0}.shop-actions{justify-content:space-between;width:100%}.shop-connection-error{padding:0 18px}.ads-sync-status{margin-top:20px;padding:18px}.shopee-dashboard .campaign-section{padding:0 18px 44px}}.campaign-section>h2{margin:0 0 18px;font-size:20px}.campaign-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px;display:grid}.summary-card{background:#fff;border:1px solid #e0ddd7;border-radius:12px;gap:8px;min-height:120px;padding:22px;display:grid;box-shadow:0 5px 14px #2b241f0f}.summary-card span{color:#68635f;font-size:15px}.summary-card strong{font-size:34px;line-height:1}.summary-card--running strong{color:#16863b}.summary-card--paused strong{color:#57534e}.summary-card--total strong{color:#f45b22}@media (width<=700px){.campaign-summary{grid-template-columns:1fr}.summary-card{min-height:105px}}.campaign-table-wrapper{background:#fff;border:1px solid #e0ddd7;border-radius:12px;overflow-x:auto;box-shadow:0 5px 14px #2b241f0f}.campaign-table{border-collapse:collapse;width:100%;min-width:720px}.campaign-table th,.campaign-table td{text-align:left;border-bottom:1px solid #ebe8e3;padding:15px 18px}.campaign-table th{color:#56514d;background:#fafafa;font-size:13px;font-weight:600}.campaign-table td{color:#292623;font-size:14px}.campaign-table tbody tr:last-child td{border-bottom:0}.campaign-table tbody tr:hover{background:#fffaf7}.campaign-table td:last-child{white-space:nowrap}.campaign-message{color:#68635f;text-align:center;background:#fff;border:1px solid #e0ddd7;border-radius:12px;padding:32px}.campaign-message--error{color:#b42318}.campaign-status,.automation-status{color:#57534e;white-space:nowrap;background:0 0;border:0;border-radius:0;align-items:center;gap:7px;width:auto;padding:0;font-size:13px;font-weight:500;display:inline-flex}.status-indicator{color:#78716c;justify-content:center;min-width:14px;font-size:12px;font-weight:700;line-height:1;display:inline-flex}.campaign-status--running .status-indicator{color:#15803d}.campaign-status--paused .status-indicator,.campaign-status--inactive .status-indicator{color:#78716c}.campaign-status--warning .status-indicator{color:#d97706}.automation-status .status-indicator{color:#6b7280}:root{color:var(--tg-them-text-color,#1f2937);background:var(--tg-theme-bg-color,#f3f4f6);--page-background:#faf8f3;font-family:Arial,sans-serif}*{box-sizing:border-box}body{margin:0}button,input{font-family:inherit}.app-shell{width:min(100%,640px);min-height:100vh;margin:0 auto;padding:24px 16px}.campaign-section{margin-top:24px}.campaign-list{gap:12px;margin:0;padding:0;list-style:none;display:grid}.campaign-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;gap:8px;padding:16px;display:grid}.campaign-card p{color:#6b7280;margin:0}.campaign-time{color:#6b7280;font-size:.875rem;display:block}
