:root{--ink:#252320;--paper:#fbf9f5;--line:#e9e4dc;--muted:#827c73;--orange:#ed775a;--peach:#f9ded3;--lav:#e4dcfa;--mint:#dbeee5;--yellow:#f8edbf}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Manrope,Arial,sans-serif}.app-shell{display:grid;grid-template-columns:238px minmax(0,1fr);min-height:100vh}.sidebar{border-right:1px solid var(--line);padding:28px 18px 22px;display:flex;flex-direction:column;background:#fffdfa}.brand{color:var(--ink);text-decoration:none;display:flex;align-items:flex-end;gap:8px;margin:0 11px 55px;font-size:12px;letter-spacing:.05em}.brand-mark,.mobile-brand{font-family:'Playfair Display',serif;font-style:italic;line-height:.66;font-size:24px;letter-spacing:-.11em}.sidebar nav{display:grid;gap:7px}.nav-link,.settings-btn{padding:12px 13px;border:0;background:transparent;color:#6f6a62;text-align:left;border-radius:10px;font:600 13px Manrope;text-decoration:none}.nav-link span,.settings-btn span{display:inline-block;width:24px;font-size:17px;color:#9b948a}.nav-link.active{background:#f6ebe3;color:var(--ink)}.nav-link.active span{color:var(--orange)}.sidebar-bottom{margin-top:auto}.settings-btn{width:100%;margin-bottom:21px}.user-card{border-top:1px solid var(--line);padding:18px 4px 0;display:flex;align-items:center;gap:9px;font-size:11px}.avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:10px}.orange{background:#f5c19b}.user-card b,.user-card small{display:block}.user-card small{color:var(--muted);margin-top:2px}.user-card button{margin-left:auto;border:0;background:none;font-size:16px}.topbar{height:82px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:center;position:relative;padding:0 42px}.top-actions{position:absolute;right:42px;display:flex;gap:14px;align-items:center}.icon-btn{position:relative;border:0;background:transparent;font-size:21px}.icon-btn i{position:absolute;width:6px;height:6px;background:var(--orange);border-radius:50%;top:1px;right:2px}.add-btn{border:0;background:var(--ink);color:#fff;padding:12px 16px;border-radius:9px;font:700 12px Manrope;cursor:pointer;transition:transform .2s}.add-btn:hover{transform:translateY(-2px)}.mobile-brand{display:none}.content{padding:50px 42px 60px;max-width:1420px;margin:auto}.welcome-row{display:flex;justify-content:space-between;align-items:end}.eyebrow{font:500 10px 'DM Mono';letter-spacing:.14em;color:#898177;margin:0 0 11px}h1,h2,h3,p{margin-top:0}h1{font-size:40px;line-height:1.12;letter-spacing:-.055em;margin:0;font-weight:800}h1 em{font-family:'Playfair Display';font-weight:600;color:var(--orange)}.freshness{font-size:11px;color:#7d776f;margin:0 3px 7px}.freshness span{width:7px;height:7px;border-radius:50%;background:#67b692;display:inline-block;margin-right:6px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:36px 0 59px}.stat-card{border-radius:13px;padding:19px;min-height:156px;position:relative;overflow:hidden}.stat-card p{font:600 9px 'DM Mono';letter-spacing:.12em;margin-bottom:18px}.stat-card strong{font-size:25px;letter-spacing:-.06em;display:block}.stat-card strong small{font-size:13px}.stat-card>small{font-size:10px;display:block;margin-top:7px}.stat-card i{font-style:normal;color:#827c73;margin-left:4px}.up{color:#289e71}.down{color:#ce755f}.peach{background:var(--peach)}.lavender{background:var(--lav)}.mint{background:var(--mint)}.yellow{background:var(--yellow)}.sparkline{position:absolute;right:13px;bottom:3px;font-size:45px;letter-spacing:-13px;opacity:.55;transform:rotate(-2deg)}.peach-line{color:#ed866c}.purple-line{color:#907be0}.green-line{color:#56a281}.rating-dots{position:absolute;bottom:17px;color:#dbaf44;letter-spacing:2px;font-size:13px}.section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:20px}.section-heading h2,.analytics-panel h2,dialog h2{font-size:23px;letter-spacing:-.05em;margin:0}.switcher{background:#f0ece6;border-radius:7px;padding:3px;display:flex;gap:1px}.switcher button{border:0;background:transparent;padding:5px 8px;border-radius:5px;color:#847e76}.switcher .selected{background:#fff;color:#292722;box-shadow:0 1px 3px #0001}.reels-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:19px}.reel-card{min-width:0}.cover{height:250px;border-radius:12px;overflow:hidden;position:relative;background:#e5ded7}.cover img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}.reel-card:hover img{transform:scale(1.04)}.reel-type,.duration,.more{position:absolute;color:white;font:500 9px 'DM Mono';letter-spacing:.08em}.reel-type{top:12px;left:12px;background:#23201dbd;border-radius:4px;padding:5px 6px}.duration{bottom:10px;right:11px;text-shadow:0 1px 4px #000}.more{top:8px;right:9px;border:0;background:#fff;color:#27231e;width:26px;height:26px;border-radius:50%;font-size:11px;letter-spacing:0}.reel-info{display:flex;justify-content:space-between;align-items:start;padding:12px 1px 10px}.reel-info h3{font-size:12px;letter-spacing:-.02em;margin-bottom:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:250px}.reel-info p{font-size:10px;color:var(--muted);margin:0}.save{border:0;background:none;font-size:19px;color:#6c665e}.metrics{display:flex;gap:14px;font:500 10px 'DM Mono';color:#9b948b}.metrics b{font-weight:500;color:#5c5751;margin-left:2px}.show-more{display:block;border:1px solid var(--line);color:#514c46;background:transparent;border-radius:9px;padding:12px 18px;font:600 11px Manrope;margin:32px auto 70px}.show-more span{color:var(--orange);font-size:15px;margin-left:7px}.analytics-panel{background:#fff;border:1px solid var(--line);border-radius:15px;padding:26px 29px;display:grid;grid-template-columns:1fr 1.2fr;gap:40px}.muted{font-size:12px;line-height:1.7;color:var(--muted);max-width:360px;margin:13px 0 0}.chart{height:125px;align-self:end}.bars{height:101px;display:flex;align-items:end;gap:13px;border-bottom:1px solid var(--line)}.bars i{display:block;flex:1;border-radius:5px 5px 0 0;background:#e9e2da}.chart-labels{display:flex;justify-content:space-between;font:9px 'DM Mono';color:#aaa39b;padding-top:8px}dialog{width:min(480px,calc(100vw - 30px));border:0;border-radius:18px;padding:33px;background:#fffdfa;box-shadow:0 20px 65px #32271d4d}dialog::backdrop{background:#382d263d;backdrop-filter:blur(3px)}dialog form{position:relative}dialog label{display:block;font-size:11px;font-weight:700;margin:27px 0 16px}dialog input{width:100%;margin-top:8px;border:1px solid var(--line);border-radius:8px;padding:13px;font:12px Manrope;outline-color:var(--orange)}.full{width:100%;margin-top:5px}.close{position:absolute;right:-8px;top:-11px;border:0;background:none;font-size:25px;color:#696158}.dialog-note{display:block;color:#928b81;font-size:10px;line-height:1.5;margin-top:18px}code{font-family:'DM Mono'}
@media(max-width:900px){.app-shell{grid-template-columns:1fr}.sidebar{display:none}.content{padding:35px 24px}.topbar{padding:0 24px;justify-content:space-between}.mobile-brand{display:block}.top-actions{position:static}.stats-grid{grid-template-columns:repeat(2,1fr)}.reels-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.content{padding:30px 17px}.topbar{height:68px;padding:0 17px}.icon-btn{display:none}.add-btn{padding:10px 11px;font-size:10px}.welcome-row{display:block}h1{font-size:32px}.freshness{margin-top:15px}.stats-grid{gap:9px;margin:27px 0 43px}.stat-card{padding:14px;min-height:137px}.stat-card strong{font-size:20px}.reels-grid{grid-template-columns:1fr;gap:25px}.cover{height:300px}.analytics-panel{grid-template-columns:1fr;padding:21px;gap:20px}}

.login-screen{position:fixed;inset:0;z-index:20;display:grid;place-items:center;background:linear-gradient(125deg,#f9ded3 0%,#fbf9f5 49%,#e4dcfa 100%);padding:20px}.login-screen[hidden]{display:none}.login-card{width:min(430px,100%);padding:38px;background:#fffdfa;border:1px solid #fff;border-radius:20px;box-shadow:0 22px 60px #3d2e2430}.login-card .brand{margin:0 0 50px}.login-card label{display:block;font-size:11px;font-weight:700;margin:27px 0 16px}.login-card input{width:100%;margin-top:8px;border:1px solid var(--line);border-radius:8px;padding:13px;font:12px Manrope;outline-color:var(--orange)}.login-card small{display:block;margin-top:20px;color:var(--muted);font-size:10px;line-height:1.7}.telegram-login{min-height:40px;margin-top:10px;text-align:center;font:700 12px Manrope;color:#1687bd}.form-error{min-height:16px;color:#be5543;font-size:11px;margin:0 0 8px}.empty-state{grid-column:1/-1;padding:42px;border:1px dashed var(--line);border-radius:12px;color:var(--muted);font-size:13px;text-align:center}.reels-grid.list-mode{grid-template-columns:1fr}.reels-grid.list-mode .reel-card{display:grid;grid-template-columns:190px 1fr auto;gap:16px;align-items:center;border-bottom:1px solid var(--line);padding-bottom:15px}.reels-grid.list-mode .cover{height:130px}.reels-grid.list-mode .metrics{align-self:end}
.show-more{display:none}
.save.saved{color:var(--orange)}.apify-help{border:1px solid var(--line);border-radius:12px;background:#fff;padding:13px 15px;margin:18px 0 2px;font-size:11px;line-height:1.55;color:#5f594f}.apify-help ol{margin:8px 0 0;padding-left:18px}.apify-help li{margin:5px 0}.show-more[hidden]{display:none}.show-more:not([hidden]){display:block}

/* Consistent controls and reel media across desktop and phones. */
.freshness > span:not(#freshnessText){width:7px;height:7px;border-radius:50%;background:#67b692;display:inline-block;margin-right:6px}.freshness > #freshnessText{width:auto;height:auto;background:transparent;margin:0;border-radius:0;display:inline;color:inherit}
button{min-height:40px;touch-action:manipulation}.sidebar{position:sticky;top:0;height:100vh}.sidebar-bottom{display:grid;gap:18px}.settings-btn{margin:0;padding:13px 14px;background:#f6ebe3;color:var(--ink);transition:background .2s,transform .2s}.settings-btn:hover{background:#f1ddd2;transform:translateY(-1px)}.settings-btn span{width:auto;margin-right:8px;color:var(--orange)}.top-actions{gap:10px}.add-btn{min-height:42px;padding:11px 16px;box-shadow:0 5px 14px #2523201c}.add-btn:focus-visible,.settings-btn:focus-visible,.more:focus-visible,.save:focus-visible,.switcher button:focus-visible{outline:3px solid #ed775a80;outline-offset:3px}.reels-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:24px}.cover{height:auto;aspect-ratio:4 / 5}.cover img{position:absolute;inset:0}.more{width:36px;height:36px;min-height:36px;font-size:13px;box-shadow:0 2px 8px #0002}.save{min-height:36px;min-width:36px}.switcher button{min-width:36px;min-height:36px}.show-more{min-height:42px}.reels-grid.list-mode .cover{height:auto;aspect-ratio:3 / 2}.reels-grid.list-mode .reel-card{grid-template-columns:minmax(140px,190px) 1fr auto}.reels-grid.list-mode .metrics{align-self:end}
@media(max-width:900px){.reels-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.sidebar{position:static;height:auto}}
@media(max-width:560px){.top-actions .add-btn span{display:none}.top-actions .add-btn{min-width:42px;padding:10px;font-size:16px}.reels-grid{grid-template-columns:1fr;gap:28px}.cover{aspect-ratio:4 / 5}.reel-info h3{max-width:calc(100vw - 92px)}.reels-grid.list-mode .reel-card{grid-template-columns:112px 1fr;gap:12px}.reels-grid.list-mode .cover{aspect-ratio:1 / 1}.reels-grid.list-mode .metrics{grid-column:2;align-self:start}.reels-grid.list-mode .reel-info{padding:0}.section-heading{align-items:center}.switcher{flex-shrink:0}}

/* Feedback, notifications and mobile account access. */
.mobile-connect{display:none}.bars i.peak{background:var(--orange)}.notifications-dialog,.message-dialog{padding:0}.notifications-dialog>section,.message-dialog>section{position:relative;padding:34px}.notifications-list{margin-top:24px}.notification{display:flex;gap:12px;padding:16px;border-radius:12px;background:#fff4e9}.notification>span{display:grid;place-items:center;width:26px;height:26px;flex:0 0 26px;border-radius:50%;background:var(--orange);color:#fff;font-weight:800}.notification b,.notifications-empty b{font-size:13px}.notification p,.notifications-empty p{margin:5px 0 0;color:var(--muted);font-size:11px;line-height:1.55}.notifications-empty{text-align:center;padding:22px 8px 10px}.notifications-empty>span{display:block;color:var(--orange);font-size:28px;margin-bottom:8px}.message-dialog{width:min(410px,calc(100vw - 30px));text-align:center}.message-dialog .muted{margin:12px auto 22px}.message-icon{display:grid;place-items:center;width:52px;height:52px;margin:0 auto 16px;border-radius:50%;background:var(--mint);color:#238765;font-size:26px;font-weight:800}.message-dialog.is-error .message-icon{background:#f9ded3;color:#b94f3b}.cookie-banner{position:fixed;z-index:30;right:22px;bottom:22px;width:min(470px,calc(100vw - 34px));display:flex;gap:22px;align-items:center;padding:20px 22px;border:1px solid var(--line);border-radius:16px;background:#fffdfa;box-shadow:0 16px 45px #32271d2b}.cookie-banner .eyebrow{margin-bottom:6px}.cookie-banner strong{font-size:13px}.cookie-banner p{margin:6px 0 0;color:var(--muted);font-size:10px;line-height:1.55}.cookie-banner .add-btn{flex:0 0 auto}
@media(max-width:900px){.mobile-connect{display:flex;position:fixed;z-index:10;right:18px;bottom:18px;align-items:center;gap:7px;border:0;border-radius:999px;background:var(--ink);color:#fff;padding:12px 16px;box-shadow:0 8px 25px #25232038;font:700 11px Manrope}.mobile-connect:first-letter{color:var(--orange);font-size:18px}.cookie-banner{bottom:80px}}
@media(max-width:560px){.cookie-banner{left:17px;right:17px;bottom:78px;width:auto;display:block;padding:18px}.cookie-banner .add-btn{width:100%;margin-top:13px}.notifications-dialog>section,.message-dialog>section{padding:28px 22px}}

/* `hidden` must win over the component's display rule when a notice is dismissed. */
[hidden]{display:none !important}
.analytics-legend{display:flex;align-items:center;gap:10px;margin-top:22px;font:500 10px 'DM Mono';color:var(--muted)}.analytics-legend strong{color:var(--ink);margin-left:auto}.legend-dot{display:inline-block;width:7px;height:7px;margin-right:5px;border-radius:50%;background:var(--orange)}.bars i{min-width:8px;transition:height .45s ease,background .2s ease}.bars i:hover{background:#d95c43;filter:brightness(.98)}
@media(max-width:560px){.analytics-legend{margin-top:18px}.chart{height:115px}.bars{gap:8px}}

/* Notification centre is an edge-to-edge page, not a rounded modal. */
.notifications-dialog{width:min(560px,100vw);height:100vh;max-height:100vh;margin:0 0 0 auto;border-radius:0;box-shadow:-20px 0 55px #32271d26}.notifications-dialog>section{height:100%;overflow:auto;padding:42px}.notifications-dialog .close{right:24px;top:18px}.notifications-dialog .notification,.notifications-dialog .notifications-empty{border-radius:0}.notifications-dialog .notification{border-left:3px solid var(--orange)}
@media(max-width:560px){.topbar .icon-btn,#openNotifications{display:grid;place-items:center;min-width:42px;min-height:42px;font-size:21px}.top-actions{gap:5px}.notifications-dialog{width:100vw}.notifications-dialog>section{padding:34px 22px}.notifications-dialog .close{right:14px;top:12px}}
@media(max-width:560px){.notifications-dialog{position:fixed;inset:0;width:100vw !important;max-width:none;height:100dvh;max-height:none;margin:0;border:0}}
