/* Connexion et publication TikTok : mêmes tokens que l'application, en clair comme en sombre. */
.tt-page{--tt-accent:var(--accent);display:grid;gap:28px;max-width:1024px;margin:0 auto;padding-bottom:32px}
.tt-page h1{font-size:clamp(28px,4vw,40px);letter-spacing:-.04em;line-height:1.12;margin:8px 0 12px}
.tt-page h2{font-size:23px;letter-spacing:-.025em;line-height:1.2;margin:0}
.tt-page h3{font-size:16px;margin:0;line-height:1.4;overflow-wrap:anywhere}
.tt-page p{margin:0;line-height:1.55}
.tt-page .ic{width:18px;height:18px;flex:none;display:inline-flex}
.tt-page .ic svg{width:100%;height:100%}
.tt-page .tt-eyebrow{font-size:10px;font-weight:750;letter-spacing:.16em;color:var(--accent);margin-bottom:8px}
.tt-page-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:6px 0 0}
.tt-back{display:inline-flex;align-items:center;gap:3px;color:var(--muted);font-size:12px;margin-bottom:24px}
.tt-back:hover{color:var(--text)}
.tt-brand-mark{display:grid;place-items:center;width:72px;height:72px;flex:none;background:#0b0c0e;border:1px solid #34363b;border-radius:20px;color:white;font-size:48px;font-weight:800;text-shadow:-3px 0 #25f4ee,3px 2px #fe2c55;box-shadow:0 14px 35px #0002;transform:rotate(6deg)}
.tt-account{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;border-radius:18px}
.tt-account-info{display:flex;align-items:center;gap:14px;min-width:0;flex:1}
.tt-account-info h2{font-size:18px}
.tt-account-info p{font-size:13px;margin-top:4px}
.tt-avatar{width:52px;height:52px;flex:none;border-radius:50%;background:var(--bg-elev);border:1px solid var(--border);overflow:hidden;display:grid;place-items:center;font-size:30px}
.tt-avatar img{width:100%;height:100%;object-fit:cover}
.tt-account-notice{flex-basis:100%;font-size:13px;padding-top:14px;border-top:1px solid var(--border)}
.tt-alert{border:1px solid var(--border);background:var(--bg-elev);padding:14px 16px;border-radius:12px;font-size:13px;line-height:1.5}
.tt-alert.error{border-color:color-mix(in srgb,var(--danger,#df5f5f) 35%,var(--border));background:color-mix(in srgb,var(--danger,#df5f5f) 6%,var(--surface));color:var(--danger,#df5f5f)}
.tt-alert .btn{margin-top:10px}
.tt-alert.tt-success{border-color:#26965b65;background:#26965b12;color:var(--text)}
.tt-alert strong{display:block;margin-bottom:4px}
.tt-disconnect{display:flex;justify-content:space-between;align-items:center;gap:16px}
.tt-inline-actions{display:flex;gap:6px;flex-wrap:wrap;flex:none}
.tt-inline-actions .btn{margin:0}
.tt-section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}
.tt-section-heading>span{font-size:12px;max-width:150px;text-align:right}
.tt-composer,.tt-history,.tt-analytics{border-top:1px solid var(--border);padding-top:32px}
.tt-compose-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:36px;align-items:start}
.tt-preview-column{position:sticky;top:22px;min-width:0}
.tt-label{display:block;font-size:13px;font-weight:650;margin:16px 0 8px!important}
.tt-label:first-child{margin-top:0!important}
.tt-page select,.tt-page textarea,.tt-page input[type="datetime-local"],.tt-page input[type="url"]{width:100%;border:1px solid var(--border);border-radius:10px;padding:12px;background:var(--surface);color:var(--text);font:inherit;font-size:13px;min-height:44px}
.tt-page select{padding-right:28px;cursor:pointer}
.tt-page textarea{resize:vertical;min-height:104px}
.tt-page select:focus-visible,.tt-page textarea:focus-visible,.tt-page input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.tt-page input[type="checkbox"],.tt-page input[type="radio"]{width:17px;height:17px;min-width:17px;margin:2px 0 0;accent-color:var(--accent);cursor:pointer;flex:none}
.tt-page input:disabled,.tt-page select:disabled{cursor:not-allowed;opacity:.5}
.tt-page label:has(input:disabled){opacity:.55;cursor:not-allowed}
.tt-video-preview{display:flex;justify-content:center;background:#070808;border-radius:16px;margin-top:16px;overflow:hidden;min-height:330px;max-height:560px;border:1px solid var(--border);aspect-ratio:9/16}
.tt-video-preview video{display:block;width:100%;height:100%;max-height:560px;object-fit:contain}
.tt-preview-title{font-size:13px;font-weight:600;padding:12px 2px;display:flex;justify-content:space-between;gap:12px}
.tt-preview-title span{color:var(--muted);white-space:nowrap;font-weight:400}
.tt-preview-note{font-size:12px}
.tt-video-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;min-height:350px;margin-top:16px;border:1px dashed var(--border);background:var(--bg-elev);border-radius:16px;text-align:center;color:var(--muted);padding:30px;font-size:13px}
.tt-video-placeholder .ic{width:34px;height:34px}
.tt-compose-fields{padding:0;margin:0;border:0;min-width:0}
.tt-recipient{display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:12px;background:var(--bg-elev);border:1px solid var(--border);margin-bottom:22px}
.tt-recipient>span{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:var(--surface);color:var(--accent)}
.tt-recipient>div{display:grid;gap:2px}
.tt-recipient small,.tt-recipient>div>span{font-size:11px;color:var(--muted)}
.tt-recipient strong{font-size:15px}
.tt-mode-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px}
.tt-mode-options label{display:flex;align-items:flex-start;gap:9px;border:1px solid var(--border);border-radius:12px;padding:14px 12px;cursor:pointer;background:var(--surface);transition:border-color .15s,background .15s}
.tt-mode-options label.chosen{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 6%,var(--surface))}
.tt-mode-options b{display:block;font-size:12px;line-height:1.45}
.tt-mode-options small{display:block;margin-top:6px;font-size:11px;color:var(--muted);line-height:1.4}
.tt-info{font-size:12px;background:var(--bg-elev);border-left:2px solid var(--accent);padding:12px 14px;line-height:1.55;margin:12px 0!important;display:block}
.tt-info>.ic{vertical-align:middle;margin-right:7px}
.tt-info a{display:inline-flex;gap:6px;align-items:center;margin-top:10px;color:var(--accent);font-weight:600}
.tt-character-count{display:block;text-align:right;color:var(--muted);font-size:11px;margin:3px 0 12px}
.tt-interactions{display:flex;gap:20px;flex-wrap:wrap;margin:15px 0 8px}
.tt-interactions label{display:flex;gap:7px;font-size:13px;align-items:center;cursor:pointer}
.tt-compose-fields>small{font-size:11px;line-height:1.5;display:block}
.tt-check{display:flex;gap:10px;align-items:flex-start;font-size:12px;line-height:1.55;cursor:pointer;margin:13px 0}
.tt-check span{display:block}
.tt-check b{display:block;font-size:12px;font-weight:650}
.tt-check small{display:block;color:var(--muted);font-size:11px;margin-top:3px}
.tt-disclosures,.tt-schedule{border-top:1px solid var(--border);padding-top:4px;margin-top:18px}
.tt-commercial-options{padding-left:26px}
.tt-confirmations{border-top:1px solid var(--border);margin-top:22px;padding-top:8px}
.tt-check.tt-consent{background:var(--bg-elev);padding:13px;border:1px solid var(--border);border-radius:10px;font-weight:600}
.tt-legal{font-size:11px;color:var(--muted);line-height:1.55}
.tt-legal a{text-decoration:underline;text-underline-offset:3px;color:var(--text)}
.tt-validation-hint{font-size:11px;min-height:17px;margin:14px 0 8px!important}
.tt-send{width:100%;min-height:46px}
.tt-page .tt-small{font-size:11px;line-height:1.55;margin-top:10px}
.tt-empty{padding:32px;text-align:center;border-radius:16px}
.tt-empty>span{display:inline-flex;margin-bottom:12px;color:var(--accent)}
.tt-empty>.ic,.tt-empty>span>.ic{width:30px;height:30px}
.tt-empty h3{margin-bottom:8px}
.tt-empty .btn{margin-top:18px}
.tt-post-list{display:grid;gap:14px}
.tt-post{border-radius:14px;padding:20px}
.tt-post-top{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.tt-post-top>div{min-width:0}
.tt-post-top h3{font-size:14px}
.tt-post-top p{font-size:11px;margin-top:5px}
.tt-status{display:inline-flex;padding:5px 9px;border:1px solid var(--border);border-radius:999px;font-size:10px;font-weight:650;line-height:1.2;white-space:nowrap;background:var(--bg-elev);color:var(--muted)}
.tt-status.pending{color:var(--accent);border-color:color-mix(in srgb,var(--accent) 30%,var(--border))}
.tt-status.success{color:#23854e;background:#23854e0c;border-color:#23854e48}
.tt-status.failed{color:var(--danger,#df5f5f);border-color:#df5f5f48}
.tt-post>.tt-alert,.tt-post>.tt-metrics{margin-top:14px}
.tt-post-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.tt-inline-confirm{display:flex;gap:8px;align-items:center;flex-wrap:wrap;border-top:1px solid var(--border);padding-top:14px;margin-top:14px;font-size:12px}
.tt-inline-confirm p{margin-right:auto}
.tt-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.tt-metrics>div{border-left:1px solid var(--border);padding:2px 12px}
.tt-metrics>div:first-child{border-left:0;padding-left:0}
.tt-metrics strong{display:block;font-size:19px;font-variant-numeric:tabular-nums;letter-spacing:-.025em}
.tt-metrics span{display:block;font-size:10px;color:var(--muted);margin-top:3px}
.tt-public-videos{display:grid;gap:14px;margin-top:18px}
.tt-public-video{display:flex;gap:18px;padding:16px;border-radius:14px}
.tt-public-video>img{width:80px;max-height:130px;aspect-ratio:9/16;object-fit:cover;border-radius:7px;flex:none;background:var(--bg-elev)}
.tt-public-video>div{flex:1;min-width:0}
.tt-public-video h3{font-size:13px;margin-bottom:14px}
.tt-public-video a{display:inline-flex;align-items:center;gap:5px;margin-top:14px;font-size:11px;font-weight:600;color:var(--accent)}
.tt-public-video a .ic{width:13px;height:13px}
.tt-updated{font-size:11px;margin-top:8px!important}
.tt-import{padding:22px;border:1px solid var(--border);border-radius:16px;background:var(--surface)}
.tt-import .tt-section-heading{margin-bottom:14px}
.tt-import form{display:grid;gap:10px}
.tt-import-line{display:flex;gap:10px}
.tt-import-line input{min-width:0;flex:1}
.tt-import-line .btn{flex:none;min-height:44px}
.tt-import .tt-check{margin:0}
.tt-import h2{font-size:18px}
.tt-import .tt-section-heading p{font-size:12px;margin-top:5px}
@media(max-width:760px){.tt-page{gap:22px}.tt-page-heading{align-items:flex-start}.tt-brand-mark{width:52px;height:52px;font-size:35px;border-radius:14px;margin-top:32px}.tt-compose-grid{grid-template-columns:1fr;gap:26px}.tt-preview-column{position:static;max-width:100%}.tt-video-preview{max-width:290px;min-height:0;max-height:500px;margin:16px auto 0}.tt-video-placeholder{min-height:200px}.tt-preview-title{max-width:350px;margin:0 auto!important}.tt-section-heading{align-items:flex-start;gap:12px}.tt-section-heading>.btn{font-size:11px;padding:0 10px}.tt-section-heading>span{max-width:120px}.tt-disconnect{flex-direction:column;align-items:flex-start}.tt-account{padding:18px}.tt-account-info{flex-basis:100%}.tt-public-video>img{width:60px;max-height:106px}.tt-metrics>div{padding:2px 7px}.tt-metrics strong{font-size:16px}.tt-metrics span{font-size:9px}.tt-post-top{gap:10px}.tt-status{white-space:normal;max-width:110px;text-align:center}.tt-import-line{flex-direction:column}.tt-import{padding:18px}}
@media(max-width:420px){.tt-page-heading h1{font-size:27px}.tt-brand-mark{display:none}.tt-mode-options{grid-template-columns:1fr}.tt-mode-options label{padding:12px}.tt-mode-options small{margin-top:3px}.tt-public-video{gap:12px}.tt-public-video>img{display:none}.tt-post{padding:16px}.tt-post-top{flex-direction:column}.tt-section-heading>span{display:none}.tt-interactions{gap:15px}.tt-inline-actions{width:100%}.tt-inline-actions .btn{flex:1;font-size:11px;padding:0 10px}}
@media(prefers-reduced-motion:reduce){.tt-page *{scroll-behavior:auto!important;transition:none!important}}
@media(max-width:520px){.tt-analytics>.tt-section-heading{flex-direction:column;align-items:flex-start}.tt-analytics>.tt-section-heading>.btn{min-height:40px}}

/* TikTok Remix : un espace de travail, de l'import au suivi. */
body:has(.tt-dashboard){background:#fbfcfe;color:#111528}
body:has(.tt-dashboard) .header{margin-left:230px;height:58px;background:#ffffffed;border-color:#edf0f5}
body:has(.tt-dashboard) .header-inner{max-width:none;padding:0 32px;gap:18px}
body:has(.tt-dashboard) .header .logo{display:none}
body:has(.tt-dashboard) .header-link{color:#6e7588;font-size:13px;display:flex;align-items:center;gap:15px}
body:has(.tt-dashboard) .header-link::before{content:"‹";font-size:24px}
body:has(.tt-dashboard) .header .quota{color:#777e90;font-size:12px}
body:has(.tt-dashboard) .header .quota-bar{width:90px;height:5px;background:#e6e8ed}
main.container:has(>.tt-dashboard){width:calc(100% - 230px);max-width:none;margin:0 0 0 230px;padding:22px 30px 48px;box-sizing:border-box;background:radial-gradient(ellipse at 82% 0%,#ffede0,transparent 37%),#fbfcfe;min-height:calc(100vh - 58px)}
.tt-dashboard{--text:#111528;--muted:#737b8e;--surface:#fff;--bg-elev:#f8f9fc;--border:#e8ebf2;--accent:#ff651b;--accent-fill:#ff651b;--danger:#bc3636;--font-head:"DM Sans",Inter,system-ui,sans-serif;color:var(--text);max-width:1600px;gap:19px;font-size:13px}
.tt-dashboard [hidden]{display:none!important}
.tt-dashboard .xp-sidebar{width:230px}
.tt-dashboard .btn{font-size:12px;min-height:38px;border-radius:11px;gap:8px}
.tt-dashboard .btn-primary{background:linear-gradient(110deg,#ff7729,#ff5e19);border:1px solid #ff651b;color:#fff;box-shadow:0 7px 18px #ff651b10;font-weight:650}
.tt-dashboard .btn-secondary{background:#fff;border:1px solid var(--border);color:#171c2c;box-shadow:0 1px 2px #11152803}
.tt-dashboard .btn-ghost{color:#5c6478}
.tt-dashboard .btn:disabled{opacity:.48;cursor:not-allowed}
.tt-dashboard :is(a,button,input,select,textarea):focus-visible{outline:3px solid #ffb78b;outline-offset:3px}
.tt-dashboard .card,.tt-panel{background:#ffffffed;border:1px solid var(--border);border-radius:17px;box-shadow:0 5px 20px #222c4503;padding:22px}
.tt-dashboard h2{font-size:19px;letter-spacing:-.5px;font-weight:750}
.tt-hero{display:grid;grid-template-columns:1.2fr 1fr;min-height:180px;align-items:center;gap:12px;position:relative}
.tt-hero h1{font-size:clamp(28px,2.55vw,43px);letter-spacing:-1.4px;font-weight:800;margin:12px 0 9px;line-height:1.08}
.tt-hero h1 em{display:block;font-style:normal;color:#ff681e}
.tt-hero>div>p.muted{font-size:13px;max-width:580px;line-height:1.6}
.tt-hero-art{position:relative;height:196px;overflow:hidden;isolation:isolate}
.tt-art-orbit{position:absolute;inset:3px 10px -85px 15px;border-radius:50%;border:30px solid #ffb77a14;background:radial-gradient(ellipse,#ffb07222,transparent 70%);transform:rotate(-20deg)}
.tt-art-phone{position:absolute;left:24%;top:7px;width:118px;height:204px;background:#171515;border:5px solid #151517;border-radius:22px;transform:rotate(11deg);box-shadow:9px 16px 22px #3e271e22;overflow:hidden;animation:tt-float 7s ease-in-out infinite}
.tt-art-phone::after{content:"";position:absolute;top:0;left:27px;width:54px;height:10px;border-radius:0 0 8px 8px;background:#171515}
.tt-art-phone img{width:100%;height:100%;object-fit:cover}
.tt-art-phone span,.tt-art-phone b{position:absolute;left:8px;bottom:32px;background:#fff;color:#16151a;font-size:12px;font-weight:800;padding:4px 6px;transform:rotate(-3deg)}
.tt-art-phone b{bottom:14px;background:#ff6c1e;color:#fff;font-size:10px}
.tt-hero-art .tt-brand-mark{position:absolute;left:64%;top:38px;width:75px;height:75px;transform:rotate(-13deg);border-radius:21px;box-shadow:8px 14px 23px #2f252820}
.tt-hero-art .tt-brand-mark .ic{width:45px;height:45px;filter:drop-shadow(-2px -1px #25f4ee) drop-shadow(2px 1px #fe2c55)}
.tt-art-badge{position:absolute;left:7%;top:65px;background:#fff;padding:10px 13px;border:1px solid #f1ebe5;border-radius:30px;box-shadow:0 6px 20px #4434240a;transform:rotate(-8deg);font-size:11px;font-weight:700;display:flex;align-items:center;gap:7px}
.tt-art-badge>.ic{background:#24a166;border-radius:50%;color:#fff;width:18px;height:18px;padding:3px}
.tt-hero-art>p{position:absolute;right:0;bottom:5px;white-space:pre-line;font:italic 16px/1.45 Georgia,serif;color:#4a4550;transform:rotate(-7deg)}
@keyframes tt-float{0%,100%{translate:0 0}50%{translate:0 -5px}}
.tt-tabs{display:flex;gap:8px;border-bottom:1px solid var(--border);padding-bottom:12px}
.tt-tabs>button{display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;color:#6e7588;background:transparent;padding:9px 16px;border-radius:10px;font:600 12px/1.4 var(--font);cursor:pointer}
.tt-tabs>button:hover{background:#f3f5fa}.tt-tabs>button.active{color:#ec5915;background:#fff2e9;border-color:#ffd5bb}
#tt-workspace{scroll-margin-top:20px;height:0;margin-top:-19px;outline:none}
.tt-account-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:16px;align-items:stretch}
.tt-account{align-content:start;gap:15px}
.tt-account .btn{min-height:32px;font-size:11px}
.tt-account-name{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.tt-account-name h2{font-size:18px}.tt-account-info{align-items:flex-start}
.tt-avatar{width:53px;height:53px;background:#11131a;color:white;border:0}
.tt-avatar>span{color:white;text-shadow:-2px 0 #25f4ee,2px 1px #fe2c55}
.tt-account-info .tt-account-handle{color:#141929;font-size:12px}.tt-account-info p{font-size:11px}
.tt-account-stats{display:grid;grid-template-columns:repeat(3,1fr);width:100%;padding:5px 0 1px 67px}
.tt-account-stats>div{border-right:1px solid var(--border);padding:0 16px}.tt-account-stats>div:first-child{padding-left:0}.tt-account-stats>div:last-child{border:0}
.tt-account-stats strong{font-size:20px;line-height:1.5;font-variant-numeric:tabular-nums;display:block}.tt-account-stats small{color:var(--muted);font-size:10px}
.tt-account-ready{background:#eff9f4;color:#38715b;padding:9px 11px;display:flex;gap:8px;align-items:flex-start;font-size:11px!important;border-radius:8px;width:100%}.tt-account-ready>.ic{width:15px;height:15px}
.tt-account-notice{font-size:11px;padding-top:10px}
.tt-good-to-know{background:linear-gradient(135deg,#fffdfb,#fff7f1);border:1px solid #f5ece5;border-radius:17px;padding:20px 22px}
.tt-good-to-know h3{display:flex;align-items:center;gap:9px;color:#ed6220;font-size:13px;font-weight:650}
.tt-good-to-know ul{padding:0 0 0 23px;margin:12px 0 0;display:grid;gap:10px;list-style-type:"✓  ";font-size:11px;line-height:1.5;color:#737b8e}
.tt-overview{display:grid;gap:16px}.tt-config-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.tt-panel>h2{display:flex;align-items:center;gap:10px}.tt-panel>p.muted{margin-top:9px;font-size:12px}
.tt-permission-chips{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.tt-permission-chips>span{display:inline-flex;align-items:center;gap:5px;border:1px solid var(--border);padding:5px 8px;border-radius:7px;color:#9399a8;font-size:10px}.tt-permission-chips>span.enabled{background:#f0faf5;color:#228654;border-color:#d8ede1}.tt-permission-chips .ic{width:13px;height:13px}
.tt-quick-modes{margin-top:12px;display:grid;gap:5px}.tt-quick-modes button{display:flex;align-items:center;text-align:left;gap:11px;background:#fff;border:1px solid transparent;border-radius:10px;padding:9px 7px;cursor:pointer;color:var(--text)}.tt-quick-modes button:hover{border-color:#ffd4ba;background:#fff9f4}.tt-quick-modes button>span:not(.ic){flex:1}.tt-quick-modes b{font-size:12px;display:block}.tt-quick-modes small{font-size:10px;display:block;color:var(--muted);margin-top:4px}.tt-quick-modes button>.ic:first-child{color:#f66b25}
.tt-dashboard .tt-import{display:grid;grid-template-columns:minmax(260px,.8fr) 1.4fr;gap:25px;align-items:center;padding:22px;background:#fff;border-radius:17px}.tt-import .tt-section-heading{margin:0}.tt-import .tt-section-heading>.ic{display:none}.tt-import h2{font-size:17px}.tt-import p{max-width:420px}.tt-import .tt-check{font-size:10px}.tt-import-line .btn{font-size:11px;color:#ed621d;border-color:#ffc9a8;background:#fff9f4}
.tt-overview-bottom{display:flex;align-items:center;gap:12px}.tt-overview-bottom>div{flex:1}.tt-overview-bottom h2{font-size:17px}.tt-overview-bottom p{font-size:11px;margin-top:6px}
.tt-publish-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:18px;align-items:start}
.tt-composer{padding-top:22px;border:1px solid var(--border)}.tt-composer .tt-section-heading{margin-bottom:18px}.tt-composer .tt-section-heading h2{font-size:23px}
.tt-steps{display:flex;gap:5px;list-style:none;padding:0;margin:0 0 24px;border-bottom:1px solid var(--border);padding-bottom:17px}.tt-steps li{flex:1;display:flex;align-items:center;gap:8px;font-size:11px;color:#8b93a3}.tt-steps li>span{display:grid;place-items:center;width:25px;height:25px;border:1px solid var(--border);border-radius:50%;font-size:11px;background:#fafbfd}.tt-steps li.current{color:#df5615;font-weight:700}.tt-steps li.current>span{color:white;background:#ff681e;border-color:#ff681e}.tt-steps li.done>span{background:#edf9f2;color:#27835c;border-color:#ccebd9}
.tt-compose-grid{grid-template-columns:minmax(180px,.72fr) minmax(260px,1fr);gap:24px}.tt-preview-column{top:18px}.tt-video-preview{max-height:460px;min-height:0;margin-top:12px;border-radius:14px;background:#111;height:auto}.tt-video-preview video{max-height:460px}.tt-preview-title{font-size:11px}.tt-preview-note{font-size:10px}.tt-return-editor{display:inline-flex;align-items:center;gap:3px;margin:0 0 12px;font-size:11px;color:#70798b}
.tt-dashboard .tt-label{font-size:12px}.tt-dashboard .tt-compose-fields select,.tt-dashboard .tt-compose-fields textarea,.tt-dashboard #tt-source{font-size:12px;min-height:38px;padding:9px 10px}.tt-recipient{padding:11px 12px;margin-bottom:16px;background:#f8f9fc}.tt-recipient strong{font-size:13px}.tt-recipient>span{width:32px;height:32px;color:#161b2b}.tt-mode-options{gap:8px}.tt-mode-options label{padding:11px 9px;gap:7px}.tt-mode-options b{font-size:11px}.tt-mode-options small{font-size:10px}
.tt-compose-fields .tt-info{font-size:10px}.tt-compose-fields .tt-interactions{gap:12px}.tt-compose-fields .tt-interactions label{font-size:11px}.tt-check{font-size:11px}.tt-check small{font-size:10px}.tt-check b{font-size:11px}.tt-compose-fields .tt-check input{width:16px;height:16px;min-width:16px}.tt-review-summary{margin:16px 0;display:grid;gap:0;border:1px solid var(--border);border-radius:11px;overflow:hidden}.tt-review-summary>div{padding:12px 14px;border-top:1px solid var(--border)}.tt-review-summary>div:first-child{border:0}.tt-review-summary dt{font-size:10px;color:var(--muted);margin-bottom:5px}.tt-review-summary dd{margin:0;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}.tt-confirmations{margin-top:15px}.tt-send-result{padding:20px 0;display:flex;flex-direction:column;gap:12px}.tt-result-icon{display:grid;place-items:center;width:60px;height:60px;border-radius:50%;color:#24915e;background:#edf8f1;margin:0 auto 5px}.tt-result-icon .ic{width:27px;height:27px}.tt-send-result .tt-alert{border:0;text-align:center;background:#f7faf9;padding:18px 14px}.tt-send-result .tt-alert strong{font-size:20px;color:#151b2b;margin-bottom:9px}.tt-send-result .tt-alert p{font-size:12px;line-height:1.65}.tt-send-result .tt-alert.error{background:#fff2ed}.tt-result-icon:has(.error){color:#c54c29}
.tt-recent{position:sticky;top:20px;padding:21px 17px}.tt-recent h2{font-size:18px}.tt-recent .tt-section-heading{margin-bottom:10px}.tt-recent .tt-empty{padding:25px 4px}.tt-recent>.btn{width:100%;margin-top:16px}.tt-recent-item{display:flex;gap:11px;padding:16px 0;border-bottom:1px solid var(--border)}.tt-recent-thumb{width:49px;height:74px;border-radius:7px;background:linear-gradient(140deg,#22212a,#4b352f);color:#fff9;display:grid;place-items:center;position:relative;overflow:hidden;flex:none}.tt-recent-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1}.tt-recent-item>div:last-child{min-width:0}.tt-recent-item h3{font-size:11px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.tt-recent-item small{font-size:9px;color:var(--muted);display:block;margin:5px 0 7px}.tt-recent-item .tt-status{font-size:9px;white-space:normal}
.tt-connect-first{text-align:center;max-width:640px;margin:20px auto;padding:35px}.tt-connect-first>span{display:inline-flex;padding:14px;border-radius:50%;background:#fff1e6;color:#ef641f;margin-bottom:15px}.tt-connect-first h2{justify-content:center;margin-bottom:12px}.tt-connect-first p{font-size:13px;color:var(--muted)}
.tt-results{display:grid;gap:20px}.tt-history,.tt-analytics{padding-top:22px}.tt-history .tt-section-heading{margin-bottom:18px}.tt-results-tools{display:flex;gap:10px;margin-bottom:18px}.tt-search{display:flex;align-items:center;gap:8px;border:1px solid var(--border);background:#fff;border-radius:10px;padding:0 11px;flex:1;color:#8991a3}.tt-search input{min-width:0;width:100%;height:38px;border:0;background:none;color:var(--text);font:12px var(--font);outline-offset:0!important}.tt-results-tools>select{width:auto;min-height:38px;font-size:11px;padding:8px 25px 8px 10px}.tt-post-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:14px}.tt-post.card{padding:17px;box-shadow:none;border-radius:12px}.tt-post-top{gap:12px;flex-wrap:wrap}.tt-post-top>div{flex:1;min-width:120px}.tt-post-top h3{font-size:12px;line-height:1.5}.tt-post-top p{font-size:10px}.tt-post-top>.tt-status{margin-left:auto;align-self:flex-start}.tt-post-thumb{width:44px;height:66px;object-fit:cover;border-radius:6px}.tt-post>.tt-info{font-size:10px;padding:9px 10px}.tt-post .tt-post-actions .btn{font-size:10px;min-height:30px;padding:5px 8px}.tt-post .tt-metrics strong{font-size:17px}.tt-post .tt-metrics span{font-size:9px}
.tt-analytics>.muted{font-size:12px}.tt-public-videos{grid-template-columns:repeat(auto-fill,minmax(185px,1fr));gap:14px}.tt-public-video.card{display:block;padding:0;overflow:hidden;border-radius:12px;box-shadow:none}.tt-public-video>img{display:block;width:100%;height:120px;max-height:none;aspect-ratio:auto;border-radius:0;object-fit:cover}.tt-public-video>div{padding:13px}.tt-public-video h3{font-size:11px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:33px;margin-bottom:12px}.tt-public-video .tt-metrics{gap:4px}.tt-public-video .tt-metrics>div{border:0;padding:0}.tt-public-video .tt-metrics strong{font-size:13px}.tt-public-video .tt-metrics span{font-size:8px}.tt-public-video a{font-size:10px;margin-top:12px}.tt-trend{margin-top:12px;border-top:1px solid var(--border);padding-top:9px}.tt-trend-button{border:0;background:none;color:#737b8d;display:flex;align-items:center;gap:5px;padding:0;font-size:10px;cursor:pointer}.tt-trend-button .ic{width:13px;height:13px}.tt-trend-chart{width:100%;max-height:105px;margin-top:10px}
.tt-settings-entry{display:flex;align-items:center;gap:18px;padding:22px 24px;margin:8px 0 24px;border:1px solid var(--border);border-radius:17px;background:linear-gradient(110deg,var(--surface),color-mix(in srgb,var(--surface) 94%,#ff681e));color:var(--text);text-decoration:none;transition:border-color .15s,transform .15s}.tt-settings-entry:hover{border-color:#ffb788;transform:translateY(-1px)}.tt-settings-symbol{width:50px;height:50px;border-radius:14px;background:#15151a;color:#fff;display:grid;place-items:center;flex:none}.tt-settings-symbol .ic{width:25px;height:25px;filter:drop-shadow(-1px 0 #25f4ee) drop-shadow(1px 1px #fe2c55)}.tt-settings-entry>span:nth-child(2){flex:1}.tt-settings-entry strong{display:block;font-size:17px}.tt-settings-entry small{display:block;color:var(--muted);font-size:12px;line-height:1.6;margin-top:5px;max-width:550px}.tt-settings-open{display:flex;align-items:center;gap:9px;font-size:13px;color:var(--accent)}
@media(min-width:1700px){.tt-publish-layout{grid-template-columns:minmax(0,1fr) 340px}.tt-compose-grid{grid-template-columns:minmax(230px,.72fr) minmax(300px,1fr);gap:30px}.tt-hero{min-height:205px}.tt-hero-art{height:215px}}
@media(max-width:1250px){.tt-publish-layout{grid-template-columns:minmax(0,1fr)}.tt-recent{position:static;display:grid;grid-template-columns:repeat(3,1fr);gap:10px 16px}.tt-recent>.tt-section-heading,.tt-recent>.tt-small{grid-column:1/-1}.tt-recent>.btn{grid-column:1/-1;width:auto;justify-self:end;margin-top:2px}.tt-recent .tt-empty{grid-column:1/-1}.tt-recent-item{border:0;padding:5px 0}.tt-account-layout{grid-template-columns:minmax(0,1.5fr) minmax(220px,1fr)}.tt-account-stats{padding-left:0}.tt-account-stats>div{padding:0 10px}.tt-dashboard .tt-import{grid-template-columns:1fr;gap:15px}.tt-hero-art .tt-brand-mark{left:65%;width:62px;height:62px}.tt-art-badge{left:0;padding:8px;font-size:9px}.tt-hero-art>p{font-size:13px}.tt-overview-bottom{flex-wrap:wrap}.tt-overview-bottom>div{flex-basis:100%}}
@media(max-width:1000px){.tt-dashboard .xp-sidebar{width:200px}body:has(.tt-dashboard) .header{margin-left:200px}main.container:has(>.tt-dashboard){width:calc(100% - 200px);margin-left:200px;padding:24px}.tt-hero{grid-template-columns:1fr 230px}.tt-hero h1{font-size:30px}.tt-hero-art>p{display:none}.tt-art-phone{left:20%;width:105px;height:190px}.tt-art-badge{top:125px;z-index:2}.tt-hero-art .tt-brand-mark{left:68%;top:25px;width:53px;height:53px;border-radius:16px}.tt-hero-art .tt-brand-mark .ic{width:32px;height:32px}.tt-account-layout{grid-template-columns:1fr}.tt-good-to-know{display:none}.tt-config-grid{grid-template-columns:1fr}.tt-tabs>button{padding:9px 10px;font-size:11px}.tt-compose-grid{gap:18px;grid-template-columns:minmax(165px,.7fr) minmax(230px,1fr)}.tt-panel{padding:18px}.tt-mode-options{grid-template-columns:1fr}.tt-recent{grid-template-columns:1fr}.tt-results-tools{flex-wrap:wrap}.tt-search{flex-basis:100%}.tt-hero>div>p.muted{font-size:12px}}
@media(max-width:760px){body:has(.tt-dashboard) .header{margin-left:0}body:has(.tt-dashboard) .header-inner{padding:0 16px;gap:10px}body:has(.tt-dashboard) .header .logo{display:flex;font-size:18px}body:has(.tt-dashboard) .header-link,body:has(.tt-dashboard) .header .quota{display:none}body:has(.tt-dashboard) .header-right{margin-left:auto}main.container:has(>.tt-dashboard){margin:0;width:100%;padding:18px 16px 32px}.tt-dashboard{gap:19px}.tt-dashboard .xp-sidebar{width:248px}.tt-hero{grid-template-columns:1fr;min-height:0}.tt-hero h1{font-size:31px;letter-spacing:-1px;margin-top:12px}.tt-hero-art{display:none}.tt-hero>div>p.muted{font-size:12px}.tt-tabs{gap:3px;padding-bottom:10px}.tt-tabs>button{flex:1;font-size:10px;padding:9px 5px;gap:5px}.tt-tabs .ic{width:14px;height:14px}.tt-account{padding:17px!important}.tt-account-info{flex-basis:auto}.tt-account-info h2{font-size:16px}.tt-account-name{gap:7px}.tt-account .btn{margin-left:67px}.tt-account-stats{margin-top:4px}.tt-account-stats strong{font-size:20px}.tt-account-stats small{font-size:9px}.tt-status{max-width:none;white-space:normal;text-align:left}.tt-account-layout{gap:0}.tt-config-grid{gap:14px}.tt-dashboard .tt-import{padding:18px}.tt-import-line{flex-direction:column}.tt-overview-bottom>.btn{flex:1;font-size:10px}.tt-compose-grid{grid-template-columns:1fr}.tt-preview-column{position:static;display:grid;grid-template-columns:140px 1fr;gap:0 15px;align-items:start}.tt-preview-column>.tt-label,.tt-preview-column>select{grid-column:1/-1}.tt-preview-column>select{margin-bottom:15px}.tt-video-preview{grid-column:1;grid-row:3/7;width:140px;margin:0;max-height:250px;border-radius:10px}.tt-preview-column .tt-preview-title{grid-column:2;display:block;margin:4px 0 10px!important;font-size:12px}.tt-preview-title>span{display:block;margin-top:5px}.tt-preview-note{grid-column:2;font-size:10px}.tt-return-editor{grid-column:2;font-size:10px;align-self:start}.tt-preview-column>.tt-alert{grid-column:1/-1;margin-top:10px}.tt-video-placeholder{grid-column:1/-1;min-height:130px;width:100%;margin:0}.tt-compose-fields{margin-top:5px}.tt-mode-options{grid-template-columns:1fr 1fr}.tt-mode-options label{padding:12px 9px}.tt-mode-options b{font-size:11px}.tt-steps{gap:4px;margin-bottom:18px}.tt-steps li{font-size:10px;gap:5px}.tt-steps li>span{width:23px;height:23px;flex:none}.tt-composer .tt-section-heading{gap:8px}.tt-composer .tt-section-heading h2{font-size:21px}.tt-composer .tt-section-heading>.btn{font-size:10px;padding:5px 9px}.tt-recent{padding:18px}.tt-recent-item{padding:10px 0;border-bottom:1px solid var(--border)}.tt-public-videos{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tt-public-video>img{display:block!important;height:100px}.tt-public-video>div{padding:10px}.tt-public-video .tt-metrics{grid-template-columns:1fr 1fr;gap:7px}.tt-post-top{flex-direction:row}.tt-post-top>.tt-status{max-width:100%;margin-left:0}.tt-results-tools>select{flex:1;min-width:0;width:40%;font-size:10px}.tt-analytics>.tt-section-heading>.btn{min-height:34px}.tt-settings-entry{padding:17px;gap:12px}.tt-settings-open{font-size:0;gap:0}.tt-settings-entry small{font-size:11px}}
@media(prefers-reduced-motion:reduce){.tt-dashboard *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(min-width:761px){.tt-video-preview{max-width:290px;margin-left:auto;margin-right:auto}}

/* Habillage d'aperçu, partagé avec le lecteur des exports Explainer. */
.tt-player{width:100%;min-width:0;color:#172033;font-family:Inter,system-ui,sans-serif}
.tt-player-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px;font-size:11px;font-weight:600}
.tt-preview-switch{display:inline-flex;align-items:center;gap:7px;border:0;background:transparent;padding:5px 0 5px 8px;font:inherit;color:inherit;cursor:pointer;min-height:32px}
.tt-preview-switch-track{width:32px;height:19px;background:#dce0e8;border-radius:12px;padding:3px;transition:background .15s}
.tt-preview-switch-track i{display:block;width:13px;height:13px;background:white;border-radius:50%;box-shadow:0 1px 3px #0002;transition:transform .15s}
.tt-preview-switch[aria-checked=true] .tt-preview-switch-track{background:#ff681f}
.tt-preview-switch[aria-checked=true] .tt-preview-switch-track i{transform:translateX(13px)}
.tt-preview-switch:focus-visible,.tt-player-controls button:focus-visible,.tt-player-surface:focus-visible{outline:3px solid #ff8b55;outline-offset:3px;border-radius:5px}
.tt-player-frame{position:relative;aspect-ratio:9/16;overflow:hidden;border-radius:15px;background:#080808;container-type:inline-size;isolation:isolate}
.tt-player .tt-player-frame video{display:block;position:absolute;inset:0;width:100%;height:100%;max-height:none;max-width:none;object-fit:contain;margin:0;border-radius:0}
.tt-player-surface{position:absolute;inset:0;width:100%;height:100%;display:grid;place-items:center;background:transparent;border:0;color:#fff;cursor:pointer;padding:0}
.tt-player-surface>span{display:grid;place-items:center;width:18cqw;height:18cqw;border-radius:50%;background:#0005;filter:drop-shadow(0 1px 4px #0005)}
.tt-player-surface .ic{width:9cqw;height:9cqw;fill:#fff}
.tt-feed-overlay{position:absolute;inset:0;pointer-events:none;color:white;background:linear-gradient(#0007,transparent 20%,transparent 53%,#0009 90%);text-shadow:0 1px 3px #0008;font-size:3.5cqw;line-height:1.35}
.tt-feed-top{position:absolute;top:7cqw;left:5cqw;right:5cqw;display:flex;justify-content:space-between;align-items:center;gap:3cqw;font-size:3.8cqw;font-weight:600}
.tt-feed-top>span:first-child{font-size:2.4cqw;border:1px solid #fff;border-radius:1cqw;padding:.5cqw}
.tt-feed-top>span:nth-child(2){opacity:.8}.tt-feed-top>b{position:relative;white-space:nowrap}
.tt-feed-top>b:after{content:"";position:absolute;width:55%;height:2px;background:white;bottom:-2cqw;left:22.5%;border-radius:2px}
.tt-feed-top .ic{width:6cqw;height:6cqw}
.tt-feed-actions{position:absolute;right:2.5cqw;bottom:18cqw;display:flex;flex-direction:column;align-items:center;gap:4cqw;width:14cqw}
.tt-feed-actions>div{display:flex;flex-direction:column;align-items:center;gap:1cqw;width:100%}
.tt-feed-actions .ic,.tt-feed-actions>div>svg{width:8.5cqw;height:8.5cqw;filter:drop-shadow(0 1px 2px #0004)}
.tt-feed-actions small{font-size:2.3cqw;font-weight:600;line-height:1.1;white-space:nowrap}
.tt-feed-heart svg{fill:currentColor}
.tt-feed-actions .tt-feed-avatar{position:relative;width:11cqw;height:11cqw;border:2px solid white;border-radius:50%;display:grid;place-items:center;background:#494c55;margin-bottom:2cqw;font-size:5cqw}
.tt-feed-avatar img{position:absolute;width:100%;height:100%;object-fit:cover;border-radius:50%;z-index:1}
.tt-feed-avatar b{position:absolute;bottom:-3cqw;left:50%;transform:translateX(-50%);width:6cqw;height:6cqw;display:grid;place-items:center;background:#fe2c55;border-radius:50%;font-size:5cqw;font-weight:400;line-height:1;z-index:2;text-shadow:none}
.tt-feed-actions .tt-feed-disc{width:11cqw;height:11cqw;border-radius:50%;background:repeating-radial-gradient(#343434 0 1px,#131313 2px 3px);border:1px solid #444;display:grid;place-items:center;margin-top:1cqw}
.tt-feed-disc .ic{width:5cqw;height:5cqw}
.tt-feed-caption{position:absolute;left:4cqw;right:20cqw;bottom:18cqw;overflow:hidden}
.tt-feed-caption>strong{display:block;font-size:4cqw;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tt-feed-caption>p{font-size:3.5cqw!important;line-height:1.4!important;color:white!important;margin:2cqw 0 3cqw!important;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;overflow-wrap:anywhere;white-space:pre-wrap}
.tt-feed-sound{display:flex;gap:2cqw;align-items:center;font-size:3.2cqw;white-space:nowrap}
.tt-feed-sound .ic{width:4cqw;height:4cqw;flex:none}.tt-feed-sound>span{overflow:hidden;text-overflow:ellipsis}
.tt-feed-nav{position:absolute;bottom:0;left:0;right:0;height:14cqw;display:flex;align-items:center;justify-content:space-around;background:#080808;border-top:1px solid #ffffff20;text-shadow:none}
.tt-feed-nav>span{display:flex;flex-direction:column;align-items:center;gap:1cqw;color:#bcbcbc;min-width:14cqw}
.tt-feed-nav>span.active{color:white}.tt-feed-nav small{font-size:2.2cqw}
.tt-feed-nav .ic,.tt-feed-nav svg{width:5.5cqw;height:5.5cqw}
.tt-feed-nav .tt-feed-create{background:#fff;color:#111;border-radius:1.6cqw;width:12cqw;min-width:12cqw;height:8cqw;box-shadow:-1.4cqw 0 #25f4ee,1.4cqw 0 #fe2c55}
.tt-player-controls{display:flex;align-items:center;gap:6px;padding:8px 0 0;min-width:0}
.tt-player-controls button{display:grid;place-items:center;width:30px;height:32px;flex:none;background:white;border:1px solid #e6e8ee;color:#343b4b;border-radius:7px;padding:4px;cursor:pointer}
.tt-player-controls button:disabled{opacity:.4;cursor:default}.tt-player-controls .ic{width:15px;height:15px}
.tt-player-time{font-size:10px;font-variant-numeric:tabular-nums;white-space:nowrap;color:#687083}
.tt-player-controls input[type=range]{width:100%;min-width:0;height:24px;padding:0;border:0;accent-color:#ff681f;cursor:pointer;box-shadow:none;background:transparent}
.tt-player .tt-player-hint{font-size:10px!important;line-height:1.5!important;color:#747c8d!important;margin:8px 0 0!important}
.tt-player-error{font-size:11px;color:#b42d28;margin:8px 0}
.tt-video-preview:has(.tt-player){display:block;background:none;border:0;border-radius:0;overflow:visible;aspect-ratio:auto;max-height:none;min-height:0}
.xp-preview-dialog{max-height:calc(100dvh - 32px);overflow-y:auto}
.xp-preview-dialog>.tt-player{display:block;margin:0;width:clamp(220px,calc((100dvh - 245px)*.5625),340px);max-width:100%}
.xp-preview-dialog .tt-player-frame{border-radius:10px}
@media(max-width:760px){
    .tt-preview-column{display:block}
    .tt-video-preview:has(.tt-player){width:100%;max-width:290px;margin:0 auto 12px}
    .tt-preview-column .tt-preview-title{display:flex;justify-content:space-between;max-width:none}
    .tt-preview-column .tt-preview-title>span{margin:0}
    .tt-preview-column>.tt-label{display:block}
    .tt-preview-column>select{width:100%}
    .xp-preview-dialog>.tt-player{width:clamp(200px,calc((100dvh - 245px)*.5625),340px)}
}
@media(prefers-reduced-motion:reduce){.tt-preview-switch-track,.tt-preview-switch-track i{transition:none}}
