@font-face{font-family:Vazirmatn;src:url('/assets/Vazirmatn.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
:root{--ink:#292638;--muted:#898594;--bg:#f7f6fa;--border:#eceaf2;--purple:#8172be;--blue:#4f83d2;--pink:#cb7297;--side:230px}*{box-sizing:border-box}body{margin:0;font-family:Vazirmatn,Tahoma,sans-serif;background:var(--bg);color:var(--ink);font-size:14px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #a99ce0;outline-offset:3px}button{border:0;background:none;color:inherit}a{color:inherit;text-decoration:none}[hidden]{display:none!important}h1,h2,h3,p{margin:0}h1{font-size:30px;font-weight:750;letter-spacing:-1px;line-height:1.8}h2{font-size:20px;font-weight:700}h3{font-size:15px}small{font-size:11px}.muted{color:var(--muted);line-height:1.9}.eyebrow{font-size:11px;color:var(--purple);margin-bottom:3px}.optional{font-weight:400;color:var(--muted);font-size:10px}.icon{width:19px;height:19px;display:inline-block;vertical-align:middle;stroke-width:1.65;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 19px;border-radius:10px;font-size:12px;font-weight:550;min-height:42px;transition:background .15s,transform .15s;white-space:nowrap}.primary{background:var(--ink);color:#fff;box-shadow:0 4px 10px #29263812}.primary:hover{background:#433c58}.primary:active,.secondary:active{transform:translateY(1px)}.secondary{background:white;border:1px solid #e4e1ed}.secondary:hover{background:#f1eef8}.text-button{font-size:12px;padding:9px 11px;color:#888393;border-radius:8px}.text-button:hover{background:#f4f1fa;color:var(--ink)}.danger{color:#bd5973}.destructive{background:#b94865}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:33px;height:33px;border-radius:9px;color:#9b96a7;flex-shrink:0}.icon-button:hover{color:var(--ink);background:#eeebf4}.inline-button{font-size:12px}.wide{width:100%}.button-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.error{color:#b14a67;font-size:12px;line-height:1.8;margin-top:9px;min-height:5px}.error:empty{margin:0}.help-note{font-size:11px;line-height:1.9;color:#96909f;margin-top:16px}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;flex-shrink:0}.blue{background:#72a0e5}.pink{background:#df98b4}.purple{background:#a08acd}.brand-mark{height:28px;width:44px;position:relative;flex-shrink:0}.brand-mark i{position:absolute;width:27px;height:27px;border-radius:50%;background:#93b4ec;right:0}.brand-mark i+i{right:17px;background:#e9a2bf;opacity:.9}.wordmark{font-size:19px;font-weight:600;letter-spacing:-.5px;white-space:nowrap}.wordmark span{color:#b7aecb;font-size:14px;margin:0 3px}.sidebar{position:fixed;right:0;top:0;bottom:0;width:var(--side);background:#292637;color:#eae7f0;padding:31px 20px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;gap:11px}.sidebar-caption{color:#8f899f;font-size:11px;margin:14px 6px 43px}.nav-label{color:#766e87;font-size:10px;margin:0 15px 12px}.nav-item{width:100%;display:flex;align-items:center;gap:11px;text-align:right;padding:14px 14px;border-radius:10px;color:#a39bac;margin-bottom:7px;font-size:13px}.nav-item small{font-size:10px;margin-right:auto;opacity:.6}.nav-item.active{background:#474058;color:#f0e6ff}.nav-item.active:before{content:'';height:19px;width:3px;border-radius:3px;background:#b39ad9;position:absolute;right:20px}.nav-item:hover{background:#ffffff09;color:#eee}.nav-icon{display:inline-flex}.sidebar-bottom{margin-top:auto}.telegram-card{border:1px solid #484155;background:#ffffff04;border-radius:12px;display:grid;grid-template-columns:23px 1fr;gap:7px 8px;width:100%;text-align:right;padding:16px 12px;margin-bottom:20px;position:relative}.telegram-card>span:first-child{color:#9eafdc;grid-row:span 2;align-self:center}.telegram-card strong{font-size:11px;font-weight:500;color:#d8d1e3}.telegram-card small{font-size:10px;color:#8e859e}.telegram-card .small-arrow{position:absolute;left:10px;top:13px;color:#82768e}.telegram-card:hover{background:#ffffff09}.user-box{border-top:1px solid #403a4d;margin-top:19px;padding:22px 3px 0;display:flex;align-items:center;gap:10px}.avatar{width:36px;height:36px;background:#586b94;color:#dbe5ff;display:grid;place-items:center;border-radius:11px;font-size:15px}.avatar.atrin{background:#95687c;color:#ffe2ed}.user-box strong{font-size:12px;display:block;font-weight:500}.user-box small{color:#81768f;font-size:9px;display:block;margin-top:3px}.user-box .icon-button{margin-right:auto}.main{margin-right:var(--side);min-height:100vh}.topbar{height:79px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 40px;background:#fdfcfe}.breadcrumb{font-size:11px;color:#a09ba9;display:flex;gap:13px;align-items:center}.breadcrumb strong{color:#655e75;font-weight:500}.breadcrumb span{color:#d4cfdc}.top-meta{display:flex;align-items:center;gap:22px;font-size:10px;color:#97909f}.private-tag{display:flex;gap:6px;align-items:center}.private-tag .icon{width:13px;height:13px}.page{padding:34px 40px 26px;max-width:1740px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:27px;gap:12px}.page-heading>.primary{margin-top:16px}.page-heading .muted{font-size:12px}.heading-spark{font-size:18px;color:#b19dcf;margin-right:14px;vertical-align:middle}.week-summary{background:#fff;border:1px solid var(--border);border-radius:14px;padding:18px 22px;display:flex;align-items:center;gap:25px;margin-bottom:25px}.week-summary>div:first-child{display:flex;align-items:center;gap:13px}.summary-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#f0edf8;color:#9481bb}.summary-icon .icon{width:21px;height:21px}.week-summary small{display:block;color:#aaa2b5;font-size:10px;margin-bottom:5px}.week-summary strong{font-size:14px;font-weight:600}.week-count{display:flex;gap:7px;border-right:1px solid var(--border);padding-right:25px;align-items:center;margin-right:auto}.week-count strong{font-size:24px;line-height:1.4;color:#8c79b2}.week-count span{font-size:10px;color:#a39bad}.week-nav{display:flex;gap:5px;align-items:center}.week-nav .secondary{font-size:11px;min-height:34px;padding:6px 13px}.calendar-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:17px}.filters{display:flex;gap:4px;flex-wrap:wrap}.filter{font-size:11px;border-radius:8px;padding:8px 13px;display:flex;align-items:center;gap:7px;color:#8b8498;border:1px solid transparent}.filter.active{background:#eee9f7;color:#796294;border-color:#e6dff0}.filter:hover{background:#f0ecf5}.search{display:flex;align-items:center;gap:8px;color:#b2aabf;border:1px solid var(--border);border-radius:9px;padding:0 11px;background:#fcfbfe}.search input{background:none;border:0;width:145px;height:35px;padding:0;font-size:11px}.search input:focus{box-shadow:none}.search .icon{width:15px;height:15px}.calendar-card{border:1px solid #e7e3ed;background:#fff;border-radius:15px;overflow:hidden;box-shadow:0 4px 20px #39284703}.calendar-scroll{overflow-x:auto;direction:rtl;scrollbar-width:thin;scrollbar-color:#dcd5e8 transparent}.calendar-inner{min-width:1090px}.calendar-row{display:flex;align-items:stretch;border-top:1px solid #eeeaf3;position:relative}.calendar-row.header{border-top:0;background:#faf9fc;height:47px}.day-label{width:94px;flex-shrink:0;position:sticky;right:0;z-index:3;background:#fff;border-left:1px solid #ebe6f0;padding:14px 17px;display:flex;flex-direction:column;justify-content:center;gap:2px}.header .day-label{background:#faf9fc;color:#a59daf;font-size:10px;padding:10px 16px}.day-label .weekday{font-size:11px;color:#81768d}.day-label .day-number{font-size:21px;line-height:1.5;color:#514459;font-weight:550}.day-label small{color:#b8b0c0;font-size:8px}.calendar-row.today .day-label{background:#f7f4fd}.today .weekday{color:#9780be}.today .day-number{color:#8664b1}.today-tag{position:absolute;left:9px;top:10px;width:5px;height:5px;border-radius:50%;background:#a387c5}.timeline{position:relative;flex:1;background:repeating-linear-gradient(to left,transparent 0,transparent calc(100% / 18 - 1px),#f0edf5 calc(100% / 18 - 1px),#f0edf5 calc(100% / 18))}.header .timeline{background:none}.calendar-row.today .timeline{background-color:#fdfbff}.hour-label{position:absolute;top:17px;transform:translateX(50%);font-size:9px;color:#aaa0b4;line-height:1}.hour-label:first-child{transform:none;right:7px!important}.hour-label:last-child{transform:none;right:auto!important;left:7px}.event{position:absolute;height:42px;border:1px solid transparent;border-right:3px solid;padding:5px 8px;border-radius:7px;display:flex;flex-direction:column;text-align:right;gap:1px;overflow:hidden;min-width:18px;z-index:1;transition:filter .1s,box-shadow .1s}.event:hover{filter:brightness(.975);box-shadow:0 3px 9px #29263816;z-index:2}.event.amshz{background:#e6effc;border-color:#d7e5fa;border-right-color:#80a7df;color:#4d75aa}.event.atrin{background:#fae9f0;border-color:#f6dce7;border-right-color:#da93b0;color:#b2728c}.event.shared{background:#efe8fa;border-color:#e7ddf6;border-right-color:#aa8dca;color:#8c6bab}.event-title{font-size:10px;font-weight:600;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;width:100%}.event-time{font-size:8px;opacity:.8;direction:ltr;text-align:right;white-space:nowrap}.event-symbols{position:absolute;left:5px;bottom:4px;font-size:8px;opacity:.8}.event.short .event-title{font-size:9px}.event.short .event-time,.event.short .event-symbols{display:none}.now-line{position:absolute;top:0;bottom:0;width:1px;background:#b8a0d3;pointer-events:none;opacity:.7;z-index:0}.calendar-row.today .now-line:before{content:'';position:absolute;right:-3px;top:-2px;width:7px;height:7px;background:#a382c6;border-radius:50%}.calendar-foot{padding:13px 20px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--border);color:#a79dac;font-size:9px}.calendar-foot>span:first-child{display:flex;align-items:center;gap:7px}.calendar-foot .dot{width:4px;height:4px}.below-calendar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:17px;font-size:9px;color:#b9b1c2}.gentle-note{display:flex;gap:7px;align-items:center}.gentle-note>span{color:#aca1b6}.demo-banner{display:flex;align-items:center;justify-content:space-between;background:#eae2f5;padding:11px 40px;color:#79658e;font-size:11px}.demo-banner button{font-size:11px;font-weight:600}.gallery-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:26px}.gallery-filters{display:flex;gap:12px}.gallery-filters label{display:flex;align-items:center;gap:7px;margin:0;font-size:11px}.gallery-filters select{width:130px;background:white;margin:0;padding:8px 10px;font-size:11px;min-height:37px}.gallery-toolbar>.muted{font-size:11px}.gallery-group{margin-bottom:29px}.gallery-group h2{font-size:16px;display:flex;align-items:center;gap:8px;margin-bottom:14px}.gallery-group h2 small{font-weight:400;color:#a197ad;font-size:10px}.photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:18px}.photo-card{display:block;border:1px solid var(--border);padding:0;background:white;border-radius:13px;overflow:hidden;text-align:right;box-shadow:0 4px 12px #29263803}.photo-card img{width:100%;height:205px;object-fit:cover;display:block;transition:transform .2s}.photo-card:hover img{transform:scale(1.025)}.photo-info{padding:12px 15px}.photo-info strong{font-size:12px;display:block;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.photo-info small{color:#a094ad;margin-top:5px;display:block;font-size:10px}.empty-state{min-height:350px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff;border:1px dashed #dfd7e9;border-radius:16px;text-align:center;padding:35px}.empty-art{width:95px;height:95px;border-radius:29px;display:grid;place-items:center;background:#f2edf9;color:#b7a3d0;transform:rotate(-7deg);margin-bottom:26px}.empty-art .icon{width:43px;height:43px}.empty-state h2{font-size:19px}.empty-state p{font-size:12px;margin:9px 0 21px;color:#a49aac;line-height:2}.settings-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:22px;align-items:start}.settings-card{background:white;border:1px solid var(--border);border-radius:15px;padding:25px}.settings-card>.muted{font-size:12px;margin-bottom:20px}.card-title{display:flex;align-items:center;gap:9px;margin-bottom:17px;color:#9984b9}.card-title h2{font-size:16px;color:var(--ink)}.card-title .status-pill{margin-right:auto}.settings-stack{display:grid;gap:22px}.status-pill{background:#f3f0f8;color:#9785ad;padding:4px 9px;border-radius:20px;font-size:9px}.status-pill.connected{background:#edf4ef;color:#69917a}.status-pill.error{background:#fff0f3;color:#b56079}.pair-section{border-top:1px solid var(--border);margin-top:24px;padding-top:20px}.pair-section h3{margin-bottom:9px}.pair-section .muted{font-size:12px;margin-bottom:12px}#pair-result{margin-top:12px;padding:12px;background:#f7f4fc;border-radius:9px;font-size:12px;line-height:2}#pair-result a{text-decoration:underline;color:#8973ae}.auth-screen{display:grid;grid-template-columns:1fr 1fr;min-height:100vh;direction:rtl}.auth-story{position:relative;background:#292637;color:white;padding:60px clamp(35px,8vw,125px);overflow:hidden;display:flex;flex-direction:column;align-items:flex-start}.brand-mark.large{width:63px;height:40px;margin-bottom:18px}.brand-mark.large i{height:39px;width:39px}.brand-mark.large i+i{right:24px}.auth-story .wordmark{font-size:29px}.auth-story .eyebrow{color:#a69ab8;margin-top:15px;font-size:12px}.auth-story h1{font-size:clamp(34px,3.5vw,52px);line-height:1.8;margin:49px 0 17px;letter-spacing:-1.2px;font-weight:650}.auth-story h1>span{color:#c7b5e4}.auth-description{font-size:13px;color:#9f93ad;line-height:2.1}.auth-foot{color:#726880;font-size:10px;margin-top:auto;padding-top:65px}.auth-orbit{display:flex;align-items:center;justify-content:center;gap:25px;margin-top:50px;align-self:center;direction:ltr}.auth-orbit span{border:1px solid #56658c;color:#adc6f1;border-radius:50%;width:69px;height:69px;display:grid;place-items:center;font-size:11px;position:relative}.auth-orbit span+span{background:#41334f;border-color:#786084;color:#d9c4ef;width:45px;height:45px;font-size:14px}.auth-orbit span:last-child{width:69px;height:69px;background:none;border-color:#795169;color:#e8b6ce;font-size:11px}.auth-orbit span:not(:last-child):after{position:absolute;content:'';width:25px;left:100%;height:1px;background:#514359}.auth-panel{display:flex;align-items:center;justify-content:center;background:#faf9fc;padding:45px 28px}.auth-box{width:340px}.tiny-mark{font-size:28px;color:#b4a1ce;margin-bottom:15px}.auth-box h2{font-size:27px;margin:8px 0 10px}.auth-box>.muted{font-size:12px;margin-bottom:29px}.auth-box .primary{margin-top:12px;justify-content:space-between}.auth-box>.text-button{margin-top:17px;font-size:11px}.auth-note{border-top:1px solid var(--border);padding-top:20px;margin-top:24px;font-size:10px;color:#b5adbf;display:flex;gap:8px;align-items:center}label{display:block;font-size:12px;font-weight:500;margin-bottom:16px}input,select,textarea{display:block;width:100%;border:1px solid #e5dfed;border-radius:9px;background:#fcfbfe;padding:11px 12px;margin-top:7px;color:var(--ink);outline:none;font-size:12px;min-width:0}input:focus,select:focus,textarea:focus{border-color:#aa91c7;box-shadow:0 0 0 3px #bca7d517}input::placeholder,textarea::placeholder{color:#beb3c8;font-size:11px}label small{font-size:9px;color:#aea2bb;margin-top:6px;display:block;font-weight:400;min-height:14px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field-row label{min-width:0}.check-card{display:flex;align-items:center;gap:10px;padding:13px;border:1px solid #e8e0f1;border-radius:10px;background:#f8f5fc;cursor:pointer}.check-card input{width:16px;height:16px;margin:0;accent-color:#9174b4;flex-shrink:0}.check-card>.icon{color:#a389bc}.check-card strong{font-size:11px;font-weight:500}.check-card small{margin-top:4px;font-size:9px;min-height:auto}dialog{width:490px;max-width:calc(100vw - 28px);padding:26px;border:1px solid #e7dfef;background:white;border-radius:18px;color:var(--ink);box-shadow:0 25px 90px #29263826;max-height:calc(100dvh - 36px);overflow:auto}dialog::backdrop{background:#21182f65;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.dialog-actions{display:flex;gap:8px;align-items:center;margin-top:22px}.dialog-actions .primary{margin-left:auto}.dialog-actions .text-button{font-size:11px}.upload-area{border:1px dashed #cfc1df;background:#f9f6fd;border-radius:13px;text-align:center;padding:27px 15px;cursor:pointer}.upload-area>.icon{width:35px;height:35px;color:#b39acc;display:block;margin:0 auto 12px}.upload-area strong{display:block;font-size:13px;font-weight:500}.upload-area small{font-size:9px;margin-top:8px}.upload-area input{border:0;background:none;font-size:10px;margin-top:13px}.photo-preview{display:block;width:100%;max-height:220px;object-fit:contain;background:#f6f3fa;margin-bottom:18px;border-radius:12px}.lightbox{width:850px;padding:12px}.lightbox>img{width:100%;max-height:65vh;object-fit:contain;border-radius:10px;background:#f5f2f8;display:block}.lightbox-close{position:absolute;left:18px;top:18px;background:white;z-index:1;box-shadow:0 2px 10px #29263820}.lightbox-caption{display:flex;align-items:center;justify-content:space-between;padding:20px 12px 10px;gap:15px}.lightbox-caption h2{font-size:17px}.lightbox-caption p{font-size:11px;margin-top:5px}.confirm-dialog{width:380px}.confirm-dialog h2{font-size:18px;margin-bottom:12px}.confirm-dialog p{font-size:12px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#292638;color:#eee7f5;font-size:12px;padding:13px 22px;border-radius:11px;box-shadow:0 7px 25px #29263825;z-index:50;max-width:90vw;line-height:1.8}.loading{display:grid;place-items:center;min-height:100vh;color:#9f88bc}
@media(min-width:1650px){.calendar-inner{min-width:1200px}.day-label{width:110px}.calendar-row{min-height:95px}}
@media(max-width:1150px){:root{--side:205px}.sidebar{padding:27px 15px}.sidebar .wordmark{font-size:16px}.sidebar .brand{gap:7px}.topbar{padding:0 26px}.page{padding:28px 26px}.week-summary{gap:15px}.week-count{padding-right:15px}.calendar-toolbar{flex-wrap:wrap}.search{margin-right:auto}.settings-grid{grid-template-columns:1fr}.auth-story{padding:45px 50px}}
@media(max-width:760px){:root{--side:0px}.sidebar{position:sticky;top:0;width:100%;height:66px;padding:10px 17px;flex-direction:row;align-items:center;gap:16px;border-bottom:1px solid #494053}.sidebar .brand{gap:7px}.sidebar .wordmark{font-size:13px}.sidebar .brand-mark{width:31px;height:22px}.sidebar .brand-mark i{width:21px;height:21px}.sidebar .brand-mark i+i{right:12px}.sidebar-caption,.nav-label,.telegram-card,.user-box{display:none}.sidebar nav{display:flex;gap:5px;margin-right:auto}.nav-item{padding:9px 10px;margin:0;width:auto;font-size:11px;gap:6px}.nav-item small,.nav-item.active:before{display:none}.sidebar-bottom{margin:0}.sidebar-bottom .nav-item>span:nth-child(2){display:none}.nav-icon .icon{width:17px;height:17px}.topbar{height:52px;padding:0 18px}.top-meta{gap:10px;font-size:9px}.top-meta .private-tag{display:none}.page{padding:24px 17px}.page-heading{margin-bottom:21px}.page-heading h1{font-size:24px}.page-heading .eyebrow{font-size:9px}.page-heading .muted{font-size:10px}.page-heading>.primary{font-size:10px;padding:10px 12px;min-height:38px}.heading-spark{font-size:14px;margin-right:8px}.week-summary{padding:14px;gap:10px;flex-wrap:wrap;margin-bottom:19px}.week-summary strong{font-size:12px}.week-summary .summary-icon{width:34px;height:34px}.week-count{padding-right:12px;gap:4px}.week-count strong{font-size:19px}.week-count span{font-size:8px}.week-nav{border-top:1px solid var(--border);width:100%;justify-content:center;padding-top:10px;margin-top:3px}.filters{gap:1px}.filter{font-size:10px;padding:7px 9px}.search{width:100%;margin-top:3px}.search input{width:100%}.calendar-toolbar{gap:8px}.calendar-inner{min-width:1180px}.calendar-foot{padding:12px;font-size:8px;flex-wrap:wrap}.below-calendar{font-size:8px}.below-calendar>span:last-child{display:none}.demo-banner{padding:10px 18px;gap:10px;font-size:10px}.demo-banner button{font-size:10px;white-space:nowrap}.auth-screen{grid-template-columns:1fr}.auth-story{padding:32px 28px;min-height:280px}.auth-story>.brand-mark{display:none}.auth-story .wordmark{font-size:23px}.auth-story h1{font-size:29px;margin:17px 0 0;line-height:1.6}.auth-story h1 br{display:none}.auth-description,.auth-orbit,.auth-foot{display:none}.auth-panel{padding:35px 24px;align-items:flex-start}.auth-box{width:100%;max-width:390px}.auth-box .tiny-mark{display:none}.auth-box h2{font-size:23px}.auth-box>.muted{margin-bottom:20px}.gallery-toolbar{align-items:flex-start;flex-direction:column}.gallery-filters{width:100%;gap:7px}.gallery-filters label{display:block;flex:1}.gallery-filters select{width:100%;margin-top:6px;font-size:10px;padding:7px}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.photo-card img{height:160px}.photo-info{padding:10px}.photo-info strong{font-size:10px}.photo-info small{font-size:9px}.empty-state{min-height:330px}.settings-card{padding:20px}.lightbox-caption{flex-direction:column;align-items:flex-start;padding:15px 7px 7px}.lightbox-caption .button-row{gap:5px}.lightbox-caption .secondary{font-size:10px;padding:9px 11px}.dialog-actions{gap:4px}.dialog-actions .primary{font-size:11px;padding:10px 13px}dialog{padding:21px}.lightbox{padding:9px}.field-row{gap:10px}.check-card small{font-size:8px}#toast{font-size:11px;bottom:15px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Keep all seven days compact on laptop screens. */
.search{margin:0}.search input{margin:0}.event{height:35px}.day-label{padding:6px 14px;gap:0}.day-label .day-number{font-size:17px;line-height:1.3}.day-label .weekday{font-size:10px}.day-label small{font-size:8px}.calendar-row.header{height:40px}.hour-label{top:15px}.calendar-foot{padding:9px 16px}.event-time{font-size:8px}
@media(min-width:761px){.topbar{height:56px;padding:0 30px}.page{padding:18px 30px 20px}.page-heading{margin-bottom:14px}.page-heading h1{font-size:26px;line-height:1.3;margin:3px 0 5px}.page-heading .eyebrow{font-size:10px;line-height:1.5}.page-heading .muted{font-size:11px;line-height:1.6}.page-heading>.primary{margin-top:0;min-height:38px;padding:9px 17px}.week-summary{padding:9px 17px;margin-bottom:13px;min-height:49px}.summary-icon{height:30px;width:30px;border-radius:9px}.summary-icon .icon{height:17px;width:17px}.week-summary small{font-size:9px;line-height:1.2;margin-bottom:4px}.week-summary strong{font-size:12px}.week-count strong{font-size:20px}.week-count span{font-size:9px}.calendar-toolbar{margin-bottom:10px}.filter{padding:7px 12px}.below-calendar{margin-top:12px}.demo-banner{padding:8px 30px;font-size:10px}}
@media(min-width:1650px){.calendar-row:not(.header){min-height:65px}}

.llm-toggle{display:flex;align-items:center;gap:9px;margin:12px 0;font-weight:500}.llm-toggle input{width:17px;height:17px;margin:0;accent-color:#8274b8}.llm-actions{margin-top:15px;flex-wrap:wrap}#llm-test-result{white-space:pre-line}

/* Deadlines keep the person's color, with a flag, dashed edge and a time pin. */
.calendar-add-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.event.deadline{border:1px dashed currentColor;border-radius:18px;overflow:visible;min-width:60px;padding-right:10px}
.event.deadline .event-title{padding-left:5px;font-weight:700}
.deadline-pin{position:absolute;height:46px;top:-3px;border-right:2px solid currentColor;pointer-events:none;opacity:.8}
.deadline-pin:before{content:"";position:absolute;top:-2px;right:-4px;width:7px;height:7px;background:currentColor;transform:rotate(45deg)}
.deadline-reminders{border:1px solid var(--border);border-radius:12px;padding:14px;margin-top:12px;background:#faf8fc}
.deadline-reminders h3{font-size:13px;margin:0 0 5px}
.reminder-editor{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:end;margin-top:12px}
.reminder-editor label{margin:0;min-width:0;font-size:11px}
.reminder-editor input,.reminder-editor select{width:100%}
.reminder-editor button{margin-bottom:0}
.reminder-chip{display:flex;align-items:center;justify-content:space-between;background:#efe8fa;border-radius:8px;padding:4px 10px;margin-top:6px;font-size:12px;color:#755797}
.reminder-chip button{font-size:11px;padding:4px 8px}
.reminder-empty{font-size:11px;margin:8px 0}
.wordmark{letter-spacing:0}
.watch-top,.watch-participants{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.watch-top{justify-content:space-between;margin-bottom:18px}.watch-person{padding:9px 13px;border:1px solid var(--border);background:white;border-radius:30px;font-size:11px;color:#95889f}.watch-person.ready{background:#ecf5ee;border-color:#c7dfce;color:#527d5e}.watch-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:20px;align-items:start}.watch-player-card{background:white;border:1px solid var(--border);padding:14px;border-radius:16px}.watch-screen{position:relative;aspect-ratio:16/9;background:#1c1923;border-radius:12px;overflow:hidden;display:grid;place-items:center}.watch-screen video{width:100%;height:100%;object-fit:contain;max-height:80vh}.watch-screen:fullscreen{border-radius:0;width:100%;height:100%;aspect-ratio:auto}.watch-screen:fullscreen video{max-height:100vh}.watch-unlock{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);white-space:nowrap}.watch-transport{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:15px 0}.watch-transport button{font-size:11px;padding:9px 12px}.watch-transport span{font-size:11px;margin-right:auto;font-variant-numeric:tabular-nums}.watch-timeline input,.watch-volume input{padding:0;accent-color:#8f74b4;border:0;box-shadow:none}.watch-volume{max-width:180px}.watch-options{display:grid;gap:16px}.watch-options h2{font-size:16px;margin-bottom:12px}.watch-options .settings-card{padding:20px}.watch-options input[type=file]{font-size:10px}.watch-options hr{border:0;border-top:1px solid var(--border);margin:18px 0}.watch-options .button-row{flex-wrap:wrap}.watch-options button{font-size:11px}.watch-options .help-note{overflow-wrap:anywhere}.watch-player-card video::cue{font-family:Vazirmatn,sans-serif;font-size:18px}.watch-screen:fullscreen video::cue{font-size:28px}
@media(max-width:1050px){.watch-layout{grid-template-columns:1fr}.watch-options{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.sidebar{gap:4px;padding:10px 8px}.sidebar .nav-item{padding:9px 7px}.sidebar .wordmark{font-size:11px}.watch-options{grid-template-columns:1fr}.watch-top{gap:8px}.watch-person{font-size:10px}.watch-player-card{padding:8px}.watch-transport{gap:5px}.watch-transport span{width:100%;text-align:center;margin:7px 0}.watch-unlock{font-size:11px}.watch-player-card video::cue{font-size:14px}}
@media(max-width:600px){.calendar-add-actions{gap:5px;justify-content:flex-end}.calendar-add-actions button{font-size:10px;padding:8px 10px}.page-heading{align-items:flex-start}.reminder-editor{gap:6px}.deadline-pin{height:39px}}

.watch-full-controls{display:none}.watch-screen:fullscreen .watch-full-controls{display:flex;position:absolute;bottom:15px;left:50%;transform:translateX(-50%);gap:8px;z-index:2;white-space:nowrap}.watch-screen:fullscreen .watch-unlock{bottom:70px}.watch-screen:fullscreen video::cue{background:#111b}
/* Wishlist and application tracker */
.collection-toolbar{display:flex;align-items:end;gap:18px;flex-wrap:wrap;margin:24px 0}.collection-tabs{display:flex;gap:10px;flex-wrap:wrap}.collection-tabs .active{background:#eee8f6;border-color:#9f88bd;color:#634b83}.collection-search{min-width:190px;flex:1;max-width:350px}.collection-check{display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:13px}.collection-check input{width:17px;height:17px;accent-color:#806299;margin:0}.wish-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:22px}.wish-grid.movie{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}.wish-card{overflow:hidden;border:1px solid #e6e1ea;background:#fff;border-radius:20px;box-shadow:0 4px 20px #34274706}.wish-image{position:relative;display:block;aspect-ratio:4/3;overflow:hidden;background:#f2ecf5}.movie .wish-image{aspect-ratio:2/3}.wish-image img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.wish-image:hover img{transform:scale(1.025)}.wish-open{position:absolute;left:12px;bottom:12px;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#fff;color:#65517c;box-shadow:0 2px 12px #0002}.wish-info{padding:18px}.wish-title{display:flex;align-items:baseline;gap:10px;justify-content:space-between}.wish-title h2{font-size:17px;margin:0}.wish-title a{color:inherit;text-decoration:none}.wish-description{font-size:12px;line-height:1.9;color:#82788b;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:22px}.wish-note{font-size:13px;white-space:pre-wrap}.wish-source{font-size:10px;color:#897698;display:block;overflow-wrap:anywhere}.wish-actions{display:flex;justify-content:space-between;gap:5px;border-top:1px solid #eee9f1;margin-top:16px;padding-top:10px}.wish-actions button{font-size:12px}.wish-card.completed .wish-image{opacity:.65}.wish-preview{display:block;max-height:250px;max-width:100%;margin:16px auto;border-radius:12px}.resolve-box{padding:16px;border:1px solid #e8e0ef;background:#fbf8fd;border-radius:14px;margin:18px 0}.wish-result{display:flex;width:100%;gap:12px;align-items:center;text-align:start;border:1px solid #e5dfeb;border-radius:12px;background:#fff;padding:10px;margin:8px 0}.wish-result img,.wish-result>span:first-child{width:55px;height:75px;object-fit:cover;border-radius:7px}.wish-result span{flex:1}.wish-result strong,.wish-result small{display:block}.wish-result b{font-size:12px;color:#806299}.countries-tabs{margin-top:20px}.countries-tabs small{margin-inline-start:10px;opacity:.6}.apply-table-scroll{overflow:auto;max-height:70vh;border:1px solid #e3dce8;border-radius:16px;background:#fff}.apply-table{border-collapse:separate;border-spacing:0;width:100%;font-size:12px}.apply-table th,.apply-table td{padding:14px;border-bottom:1px solid #ede8f1;border-inline-end:1px solid #f1edf4;vertical-align:top;text-align:start;min-width:160px;max-width:300px;white-space:pre-wrap;line-height:1.8;overflow-wrap:anywhere}.apply-table thead th{position:sticky;top:0;z-index:3;background:#eee8f4;font-size:12px;color:#68567b}.apply-table tbody th{position:sticky;right:0;z-index:2;min-width:225px;background:#fff;color:#574367;font-weight:600;box-shadow:-3px 0 8px #34274706}.apply-table thead th:first-child{right:0;z-index:4}.apply-table tr:hover td,.apply-table tr:hover th{background:#fcf9fe}.apply-table td:nth-child(2),.apply-table th:nth-child(2){min-width:65px;width:65px}.apply-table input[type=checkbox]{width:16px;height:16px;accent-color:#806299}.apply-table a{color:#6a5681;text-decoration:none;border-bottom:1px dotted #b9a9c9}.apply-table a:hover{color:#443257}.apply-dialog{max-width:800px;width:calc(100vw - 36px)}.apply-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.apply-field-grid textarea{min-height:48px;resize:vertical}.sidebar nav{overflow-y:auto;max-height:48vh}.nav-item{flex-shrink:0}
@media(max-width:800px){.collection-toolbar{gap:12px}.collection-search{max-width:none;min-width:180px}.wish-grid,.wish-grid.movie{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.wish-info{padding:12px}.wish-title h2{font-size:14px}.wish-actions{flex-wrap:wrap}.apply-field-grid{grid-template-columns:1fr}.apply-table tbody th{min-width:165px}.countries-tabs{flex-wrap:nowrap;overflow-x:auto;padding-bottom:8px}.countries-tabs button{white-space:nowrap}.sidebar nav{max-height:none;overflow:visible}.sidebar .nav-item small{display:none}}
@media(max-width:420px){.wish-grid{grid-template-columns:1fr}.wish-grid.movie{grid-template-columns:repeat(2,minmax(0,1fr))}.wish-grid.movie .wish-description{display:none}.collection-check{font-size:12px}}
@media(max-width:760px){.sidebar{height:auto;min-height:66px;display:grid;grid-template-columns:1fr auto;gap:7px}.sidebar .brand{grid-column:1}.sidebar nav{grid-column:1/-1;grid-row:2;display:flex;overflow-x:auto;max-width:100%;gap:4px;margin:0;padding-bottom:3px}.sidebar .nav-item{white-space:nowrap;flex:1;justify-content:center;padding:9px 7px}.sidebar-bottom{grid-row:1;grid-column:2}.sidebar-bottom .nav-item{padding:7px}.sidebar nav .nav-icon{display:none}.apply-table-scroll{max-height:65vh}}
.wish-status-filter{min-width:180px;font-size:13px}.wish-status-filter select{margin-top:7px}.wish-review-editor{border:1px solid #e7d8c0;border-radius:14px;background:#fffaf0;padding:16px;margin:16px 0}.wish-review-editor h3{margin:0 0 14px;font-size:15px;color:#75541d}.wish-review-editor small{display:block;white-space:normal;color:#8e7856;font-size:11px;margin-top:5px}.wish-review-display{display:flex;align-items:center;gap:9px;flex-wrap:wrap;background:#fff8e8;border:1px solid #f0e4c9;border-radius:12px;padding:12px;margin:14px 0}.wish-completion{font-size:11px;color:#3d775f;background:#e8f3eb;padding:3px 8px;border-radius:6px}.wish-rating{font-size:12px;color:#9b6a14}.wish-review-display p{flex-basis:100%;margin:2px 0 0;font-size:13px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.wish-card.completed .wish-image{opacity:.88}
.apply-col-identity{--col-bg:#f0e9f8;--col-head:#dfd0ef}.apply-col-rank{--col-bg:#e8f1fc;--col-head:#c9ddf4}.apply-col-language{--col-bg:#e8f5ee;--col-head:#c9e5d5}.apply-col-requirements{--col-bg:#fcf3d8;--col-head:#f0dfad}.apply-col-deadline{--col-bg:#ffeadc;--col-head:#f5c9ad}.apply-col-fee{--col-bg:#fbe8ed;--col-head:#efcad5}.apply-col-details{--col-bg:#edf0f5;--col-head:#d8deea}.apply-table th,.apply-table td{background:var(--col-bg,#fff);border-bottom-color:#d9d2df;border-inline-end-color:#d6d0dd}.apply-table thead th{background:var(--col-head,#eee8f4);color:#44394f;font-weight:700;border-bottom:2px solid #b6a8c5}.apply-table tbody tr:nth-child(even)>*{background:linear-gradient(#ffffff70,#ffffff70),var(--col-bg,#fff)}.apply-table tbody tr:hover>*{background:linear-gradient(#ffffff25,#ffffff25),var(--col-bg,#fff);box-shadow:inset 0 2px #ab91c1,inset 0 -2px #ab91c1}.apply-table tbody th{background:var(--col-bg,#f0e9f8)}.apply-table a{color:#4d435c;border-bottom-color:#8f829e}
