@charset "UTF-8";
:root{--ink:#50392b;--muted:#6b5949;--green:#50392b;--green-deep:#50392b;--lime:#d9edb9;--canvas:#fff9f1;--line:#eadfce;--red:#a3433e;--radius:16px;--font:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}
*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--canvas);font-family:var(--font);font-size:14px;line-height:1.6;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button{cursor:pointer}button,a,input,textarea{outline-offset:4px}button:focus-visible,a:focus-visible{outline:3px solid #6b5949}button:disabled{cursor:wait;opacity:.65}.icon{flex-shrink:0;vertical-align:middle}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:650;line-height:1.4}h2{font-size:17px;letter-spacing:-.3px}h3{font-size:16px}.brand{display:inline-flex;align-items:center;gap:11px;font-size:23px;font-weight:700;line-height:1.1;letter-spacing:2px}.brand-mark{width:40px;height:43px;background:var(--green);color:var(--lime);border-radius:12px;display:flex;align-items:center;justify-content:center;transform:rotate(-4deg)}.brand-mark .icon{width:26px;height:26px;transform:rotate(4deg)}.brand-en{display:block;font-size:8px;letter-spacing:1.65px;font-weight:500;margin-top:7px}.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:12px 20px;min-height:46px;border:1px solid transparent;border-radius:9px;font-weight:550;font-size:13px;transition:background .16s,transform .16s}.button:hover{transform:translateY(-1px)}.button.primary{background:var(--green);color:#fff;box-shadow:0 3px 5px #163e320b}.button.primary:hover{background:#50392b}.button.secondary{background:#fff;border-color:#dde4dc;color:#50392b}.button.secondary:hover{background:#eadfce}.button.light{background:var(--lime);color:#50392b}.button .icon{width:17px;height:17px}.full{width:100%}.header-link{font-size:12px;display:inline-flex;align-items:center;gap:10px;background:none;border:0;color:#6b5949;padding:8px 0}.header-link .icon{width:16px;height:16px}.section-kicker{font-size:10px;letter-spacing:2px;font-weight:600;color:#6b5949;display:block;margin-bottom:10px}.status-dot{width:6px;height:6px;border-radius:50%;background:currentColor;display:inline-block;flex-shrink:0}.badge{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-size:10px;font-weight:500;line-height:1.4;border-radius:6px;padding:6px 9px}.badge.green{color:#50392b;background:#eadfce}.badge.muted{color:#6b5949;background:#eadfce}.badge.warning{color:#9b6a2d;background:#eadfce}.badge .icon{width:13px;height:13px}.text-green{color:var(--green)}.field{margin-bottom:21px}.field label{font-size:12px;display:block;color:#50392b;font-weight:550;margin-bottom:8px}.field input,.field textarea{display:block;width:100%;border:1px solid #eadfce;border-radius:8px;background:#fff;padding:12px 14px;line-height:1.5;color:var(--ink);min-width:0;transition:border-color .15s,box-shadow .15s}.field textarea{resize:vertical}.field input:focus,.field textarea:focus{outline:0;border-color:#6b5949;box-shadow:0 0 0 3px #8bb99a18}.field input::placeholder{color:#6b5949;font-size:12px}.field input[type=number]{font-variant-numeric:tabular-nums}.field small,.password-hint{display:block;font-size:10px;color:#6b5949;margin-top:8px}.password-hint{margin-top:-11px;margin-bottom:20px}.password-wrap{position:relative}.password-wrap input{padding-right:48px}.eye-button{position:absolute;right:4px;top:3px;bottom:3px;width:40px;border:0;background:none;color:#6b5949;display:grid;place-items:center}.eye-button .icon{width:17px;height:17px}.field-tag{float:right;color:#6b5949;font-size:10px;background:#eadfce;padding:1px 7px;border-radius:4px;font-weight:400}.alert{display:flex;align-items:flex-start;gap:10px;padding:13px 15px;border-radius:9px;font-size:12px;margin-bottom:20px;line-height:1.8;overflow-wrap:anywhere;border:1px solid transparent}.alert .icon{width:17px;height:17px;margin-top:2px}.alert.success{background:#eadfce;color:#50392b;border-color:#dcebcf}.alert.error{background:#fff9f1;color:#a75542;border-color:#eadfce}.honeypot{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.small-note{font-size:11px;color:#6b5949;line-height:1.9}.inline-info{display:flex;align-items:flex-start;gap:10px;font-size:11px;line-height:1.9;color:#6b5949;background:#eadfce;border-radius:9px;padding:15px 17px}.inline-info .icon{width:16px;height:16px;margin-top:2px}.inline-info.standalone{margin-bottom:23px}.form-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);margin-top:26px;padding-top:22px}.form-footer>span{color:#6b5949;font-size:11px;display:flex;gap:7px;align-items:center}.form-footer>span .icon{width:14px;height:14px}
/* The public entrance */
.public-page{background:#fff9f1;min-height:100vh;display:flex;flex-direction:column}.public-header{width:min(1280px,100%);padding:34px 54px 22px;margin:auto;display:flex;align-items:center;justify-content:space-between}.public-main{width:min(1170px,100%);padding:40px 40px 50px;margin:auto;display:grid;grid-template-columns:1.14fr 1fr;gap:95px;align-items:center;flex:1}.hero{padding-top:10px;position:relative}.eyebrow{font-size:9px;font-weight:600;letter-spacing:1.8px;color:#6b5949;display:flex;align-items:center;gap:9px;margin-bottom:23px}.tiny-line{display:block;width:22px;height:1px;background:#6b5949}.hero h1{font-size:58px;letter-spacing:-2px;line-height:1.28;font-weight:650;color:#50392b}.hero h1>span{color:#6b5949}.hero-description{max-width:400px;font-size:12px;color:#6b5949;margin-top:23px;line-height:1.9;overflow-wrap:anywhere;white-space:pre-wrap}.cinema-art{height:268px;position:relative;width:100%;margin-top:20px}.art-halo{width:280px;height:220px;border-radius:50%;background:radial-gradient(ellipse,#dde7c660,transparent 70%);position:absolute;left:110px;top:30px}.film-card{position:absolute;border-radius:12px;overflow:hidden;box-shadow:0 14px 28px #2c3d2524}.film-back{width:142px;height:196px;left:202px;top:24px;background:#50392b;transform:rotate(13deg);color:#6b5949}.film-back>span{font-size:13px;letter-spacing:2px;font-weight:500;position:absolute;left:17px;bottom:19px;line-height:1.35}.film-orbit{width:95px;height:95px;border-radius:50%;border:1px solid #6b5949;position:absolute;top:18px;left:22px}.film-orbit:before{content:"";width:95px;height:40px;border:1px solid #6b5949;border-radius:50%;position:absolute;top:25px;left:-8px;transform:rotate(-45deg)}.film-front{width:166px;height:218px;left:74px;top:10px;background:#e1ddbd;transform:rotate(-9deg)}.art-sun{position:absolute;width:74px;height:74px;border-radius:50%;background:#d69d52;top:26px;left:62px}.art-mountain{position:absolute;width:170px;height:200px;transform:rotate(37deg);border-radius:42%}.art-mountain.one{background:#6b5949;top:85px;left:19px}.art-mountain.two{background:#6b5949;top:115px;left:-60px}.art-mountain.three{background:#50392b;top:145px;left:34px}.art-caption{position:absolute;inset:auto 15px 15px;color:#eadfce;display:flex;align-items:flex-end;justify-content:space-between}.art-caption>span{font-size:7px;line-height:1.5;letter-spacing:.8px}.art-caption>b{font-size:8px;font-weight:400}.art-ticket{position:absolute;left:35px;top:207px;display:flex;align-items:center;gap:12px;background:#fffef7e6;border:1px solid #fff;border-radius:8px;box-shadow:0 6px 25px #4c593216;transform:rotate(-4deg);padding:12px 18px;color:#50392b;font-size:7px;letter-spacing:1.1px;backdrop-filter:blur(10px)}.art-ticket .icon{width:13px;height:13px}.art-ticket>span:last-child{color:#6b5949;margin-left:14px}.hero-features{display:flex;gap:22px;align-items:center;color:#6b5949;font-size:10px;padding-top:12px}.hero-features>span{display:flex;gap:6px;align-items:center;white-space:nowrap}.hero-features .icon{width:14px;height:14px}.auth-card{background:#fff;border:1px solid #eadfce;border-radius:20px;box-shadow:0 12px 45px #31472a06;padding:30px 34px 22px;min-width:0}.auth-tabs{display:flex;padding:4px;background:#eadfce;border-radius:10px;margin-bottom:30px;gap:3px}.auth-tabs a{flex:1;text-align:center;font-size:12px;padding:10px;border-radius:7px;color:#6b5949}.auth-tabs a.active{background:#fff;color:#50392b;box-shadow:0 2px 6px #34432b0b;font-weight:550}.auth-heading{margin-bottom:25px}.auth-heading .section-kicker{font-size:8px;letter-spacing:1.5px;margin-bottom:9px}.auth-heading h2{font-size:22px;letter-spacing:-.7px;line-height:1.5}.auth-heading p{font-size:10px;color:#6b5949;line-height:1.8;margin-top:9px}.auth-footnote{display:flex;justify-content:center;align-items:center;gap:7px;border-top:1px solid #eadfce;padding-top:19px;margin-top:24px;color:#6b5949;font-size:9px}.auth-footnote .icon{width:13px;height:13px}.auth-form .button{margin-top:3px}.open-notice{display:flex;align-items:center;gap:7px;font-size:10px;color:#6b5949;padding:11px 12px;border:1px solid #eadfce;background:#fff9f1;border-radius:7px;margin-bottom:21px}.open-notice>span:last-child{margin-left:auto;color:#6b5949;font-size:9px}.closed-state{text-align:center;background:#fff9f1;border:1px dashed #dfe7d4;border-radius:12px;padding:30px 15px}.state-icon{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;color:#6b5949;background:#eadfce;margin:0 auto 16px}.closed-state h3{font-size:16px;color:#50392b}.closed-state p{font-size:11px;color:#6b5949;line-height:2;margin:13px 0 22px}.closed-state .button{font-size:11px;min-height:40px;padding:9px 18px}.admin-label{display:flex;align-items:center;gap:8px;color:#6b5949;font-size:10px;letter-spacing:2px;border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:26px}.admin-label .icon{width:17px;height:17px}.public-footer{width:min(1280px,100%);padding:20px 54px 28px;margin:auto;display:flex;align-items:center;justify-content:space-between;color:#6b5949;font-size:9px}.public-footer>span:last-child{font-size:8px;letter-spacing:1px}.footer-cross{margin:0 11px;color:#6b5949}
/* The management workspace */
.admin-page{background:#fff9f1}.sidebar{width:228px;position:fixed;top:0;bottom:0;left:0;padding:33px 20px 0;background:#50392b;color:#6b5949;display:flex;flex-direction:column;z-index:10}.sidebar .brand{color:#eadfce;margin-left:6px;font-size:23px}.sidebar .brand-mark{background:#50392b;color:#d9edb9}.sidebar .brand-en{color:#6b5949}.workspace-tag{font-size:9px;display:flex;align-items:center;gap:8px;color:#6b5949;border:1px solid #50392b;border-radius:6px;padding:9px 11px;margin:30px 2px 28px}.workspace-tag>span:last-child{margin-left:auto;color:#6b5949;font-size:8px}.workspace-tag .status-dot{color:#6b5949;width:5px;height:5px}.nav-caption{font-size:8px;letter-spacing:1.5px;margin:0 12px 12px;color:#6b5949}.side-nav{display:flex;flex-direction:column;gap:5px}.side-nav a{display:flex;align-items:center;gap:12px;padding:12px 14px;color:#6b5949;border-radius:8px;font-size:12px}.side-nav a .icon{width:17px;height:17px;color:#6b5949}.side-nav a:hover{background:#50392b}.side-nav a.active{background:#dcecc6;color:#50392b;font-weight:600}.side-nav a.active .icon{color:#50392b}.nav-indicator{margin-left:auto;width:5px;height:5px;border-radius:50%;background:#6b5949}.sidebar-bottom{margin-top:auto}.sidebar-bottom>a{display:flex;gap:9px;align-items:center;font-size:10px;color:#6b5949;margin:25px 12px}.sidebar-bottom>a .icon{width:14px;height:14px}.sidebar-profile{display:flex;align-items:center;gap:10px;border-top:1px solid #50392b;padding:20px 0}.admin-avatar{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:#50392b;font-size:12px;color:#d9e5c7}.sidebar-profile strong{font-size:11px;font-weight:550;display:block;color:#d5dfca}.sidebar-profile small{font-size:9px;color:#6b5949;display:block}.sidebar-profile form{margin-left:auto}.icon-button{background:none;border:0;color:#6b5949;padding:5px}.icon-button .icon{width:16px;height:16px}.admin-shell{margin-left:228px}.admin-topbar{height:73px;display:flex;align-items:center;justify-content:space-between;padding:0 40px;border-bottom:1px solid #eadfce;font-size:10px;color:#6b5949;background:#fff9f1}.admin-topbar div{display:flex;align-items:center;gap:13px}.admin-topbar strong{font-weight:500;color:#50392b}.admin-topbar div>span{color:#6b5949}.topbar-status{display:flex;align-items:center;gap:7px;font-size:9px;color:#6b5949}.topbar-status .status-dot{width:5px;height:5px}.admin-main{padding:35px 40px 0;max-width:1420px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:29px}.page-heading .section-kicker{font-size:8px;letter-spacing:1.6px;margin-bottom:9px}.page-heading h1{font-size:28px;letter-spacing:-1px}.heading-dot{color:#6b5949;margin-left:2px}.page-heading p{font-size:11px;color:#6b5949;margin-top:7px}.page-heading>.button{font-size:11px;padding:9px 15px;min-height:40px}.stats-grid{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:18px;margin-bottom:24px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px 22px}.stat-label{font-size:10px;color:#6b5949;display:flex;justify-content:space-between;align-items:center}.stat-label .icon{width:16px;height:16px;color:#6b5949}.stat-value{display:flex;gap:12px;align-items:center;font-size:25px;font-weight:650;line-height:1.2;margin:16px 0 12px;letter-spacing:-.6px}.stat-value.numeric{font-size:30px;font-variant-numeric:tabular-nums}.stat-value.numeric>span{font-size:11px;color:#6b5949;font-weight:400;letter-spacing:0;align-self:flex-end;margin-bottom:3px}.stat-value .badge{font-size:8px;letter-spacing:0;font-weight:400;padding:5px 7px}.stat-card p{font-size:9px;color:#6b5949}.welcome-banner{position:relative;background:#50392b;color:#eadfce;overflow:hidden;border:1px solid #50392b;border-radius:14px;padding:28px 31px;margin-bottom:23px;min-height:237px}.welcome-banner .section-kicker{color:#6b5949;font-size:8px;letter-spacing:2px;position:relative;z-index:1}.welcome-banner h2{font-size:25px;font-weight:500;letter-spacing:-.7px;position:relative;z-index:1}.welcome-banner p{font-size:10px;color:#6b5949;margin:11px 0 20px;line-height:1.9;position:relative;z-index:1}.welcome-banner .button{font-size:10px;min-height:36px;padding:8px 14px;gap:16px;position:relative;z-index:1}.welcome-banner .button .icon{width:14px;height:14px}.banner-orb{position:absolute;right:-35px;top:-140px;width:490px;height:490px;border-radius:50%;border:1px solid #7d986239;background:radial-gradient(circle at 60% 55%,#74975d30,transparent 66%)}.banner-orb:before,.banner-orb:after{content:"";position:absolute;border:1px solid #8da96f2e;border-radius:50%;inset:35px}.banner-orb:after{inset:75px}.banner-motif{position:absolute;right:118px;top:47px;width:150px;height:150px;transform:rotate(-12deg);border-radius:31px;display:grid;place-items:center;border:1px solid #adc48842;background:linear-gradient(135deg,#b2cb8350,#5b7d4340);box-shadow:12px 18px 40px #142a2c20}.banner-motif .icon{width:76px;height:76px;stroke-width:.7;fill:#cbdda555;stroke:#d5e9b1}.overview-columns{display:grid;grid-template-columns:1.08fr 1fr;gap:20px;margin-bottom:23px}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:25px;margin-bottom:23px;min-width:0}.overview-columns .panel{margin:0}.panel-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:21px}.panel-top h2{font-size:14px;font-weight:600}.panel-top>a{display:flex;align-items:center;gap:9px;font-size:9px;color:#6b5949}.panel-top>a .icon{width:13px;height:13px}.panel-subtitle{font-size:10px;color:#6b5949;margin-top:6px}.connection-info{display:flex;align-items:center;gap:14px;margin:28px 0 25px}.connection-icon{width:43px;height:43px;border-radius:11px;background:#eadfce;color:#6b5949;display:grid;place-items:center;flex-shrink:0}.connection-icon .icon{width:22px;height:22px}.connection-info strong{font-size:12px;font-weight:550}.connection-info p{font-size:10px;color:#6b5949;margin-top:3px;word-break:break-all}.panel-bottom-note{display:flex;gap:6px;align-items:center;padding-top:14px;border-top:1px solid #eadfce;font-size:9px;color:#6b5949}.panel-bottom-note .icon{width:13px;height:13px}.panel-description{font-size:10px;color:#6b5949;line-height:2;margin:0 0 19px;max-width:360px}.overview-columns .button{font-size:10px;min-height:36px;padding:7px 12px}.recent-panel{padding-bottom:4px}.empty-state{text-align:center;padding:32px 10px 38px;color:#6b5949}.empty-state>.icon{width:31px;height:31px;color:#6b5949;margin-bottom:12px}.empty-state h3{font-size:12px;font-weight:500;color:#6b5949}.empty-state p{font-size:10px;margin-top:7px}.table-scroll{overflow-x:auto;margin:0 -25px}table{width:100%;border-collapse:collapse;text-align:left;font-size:11px}th{font-size:9px;font-weight:450;color:#6b5949;background:#fff9f1;padding:11px 25px;border-top:1px solid #eadfce;border-bottom:1px solid #eadfce;white-space:nowrap}td{padding:16px 25px;border-bottom:1px solid #eadfce;color:#6b5949}tbody tr:last-child td{border-bottom:0}td strong{font-weight:500;color:#50392b}td .badge{font-size:9px}.table-user{display:inline-grid;place-items:center;width:27px;height:27px;border-radius:8px;margin-right:10px;background:#eadfce;color:#6b5949;font-size:10px;font-weight:500}.table-empty{text-align:center;padding:35px}.nowrap{white-space:nowrap}.count-label{font-size:10px;color:#6b5949;font-weight:500;background:#eadfce;padding:2px 7px;border-radius:5px;margin-left:4px}.users-panel{padding-bottom:0}.row-actions{display:flex;align-items:center;gap:14px;white-space:nowrap}.text-button{border:0;background:none;padding:4px 0;font-size:10px;color:#6b5949}.text-button:hover{text-decoration:underline}.text-button.danger{color:#b67b69}.row-detail{display:block;font-size:9px;color:#b18a60;max-width:330px;overflow-wrap:anywhere;margin-top:5px}.admin-footer{padding:20px 0 25px;display:flex;align-items:center;justify-content:space-between;color:#6b5949;font-size:9px;border-top:1px solid #eadfce;margin-top:35px}.admin-footer>span:last-child{font-size:8px;letter-spacing:1.5px}.settings-panel{max-width:800px}.panel-heading{display:flex;gap:13px;align-items:center;margin-bottom:29px}.panel-heading-icon{width:39px;height:39px;border-radius:11px;display:grid;place-items:center;background:#eadfce;color:#6b5949}.panel-heading-icon .icon{width:18px;height:18px}.panel-heading h2{font-size:15px}.panel-heading p{font-size:10px;color:#6b5949;margin-top:5px}.settings-panel .field{max-width:100%;margin-bottom:24px}.help-strip{display:flex;gap:8px;align-items:center;color:#6b5949;font-size:10px;margin:0 4px 30px}.help-strip .icon{width:14px;height:14px}.settings-form{max-width:960px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.settings-grid .field{margin-bottom:20px}.settings-form .field textarea{font-size:12px}.switch{display:inline-flex;align-items:center;position:relative;flex-shrink:0;cursor:pointer;min-width:35px;min-height:22px}.switch>input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer;z-index:1}.switch-track{display:block;position:relative;width:35px;height:21px;border-radius:20px;background:#eadfce;transition:background .18s}.switch-track:after{content:"";position:absolute;top:3px;left:3px;width:15px;height:15px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #37472c15;transition:transform .18s}.switch>input:checked+.switch-track{background:#6b5949}.switch>input:checked+.switch-track:after{transform:translateX(14px)}.switch>input:focus-visible+.switch-track{outline:3px solid #97b68880;outline-offset:3px}.permissions-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:35px}.permission-option{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 0;border-bottom:1px solid #eadfce;cursor:pointer}.permission-option strong{font-size:11px;font-weight:500;color:#50392b}.permission-option small{display:block;font-size:9px;color:#6b5949;margin-top:5px}.limit-grid{padding-top:25px}.limit-grid .field{margin-bottom:0}.checkbox-row{display:flex;align-items:center;gap:10px;cursor:pointer}.checkbox-row input,.library-item input{accent-color:#6b5949;width:15px;height:15px;flex-shrink:0}.checkbox-row strong{display:block;font-size:11px;color:#50392b;font-weight:550}.checkbox-row small{display:block;font-size:9px;color:#6b5949;margin-top:3px}.all-libraries{border-bottom:1px solid #eadfce;padding-bottom:19px;margin-bottom:17px}.library-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:21px}.library-item{border:1px solid #eadfce;display:flex;align-items:center;gap:10px;padding:14px 15px;border-radius:8px;font-size:11px;color:#6b5949;cursor:pointer;overflow-wrap:anywhere;min-width:0}.library-item>span{display:flex;gap:8px;align-items:center;min-width:0}.library-item .icon{width:14px;height:14px;color:#6b5949}.library-item:has(input:checked){background:#fff9f1;border-color:#6b5949}.library-item.dimmed{opacity:.4}.library-item.unavailable{color:#a88b62;font-size:10px}.settings-save{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:8px}.settings-save>span{font-size:10px;color:#6b5949;display:flex;align-items:center;gap:7px}.settings-save>span .icon{width:15px;height:15px}.audit-panel{margin-top:28px}.audit-panel>.panel-top>.icon{width:16px;height:16px;color:#6b5949}
/* Account center */
.account-page{background:#fff9f1;min-height:100vh}.account-main{width:min(1080px,100%);padding:40px 45px 70px;margin:auto}.account-main .page-heading{margin-bottom:35px}.account-main .page-heading h1{font-size:34px}.account-main .page-heading .section-kicker{font-size:9px}.account-grid{display:grid;grid-template-columns:290px 1fr;gap:26px;align-items:start}.profile-panel{text-align:center;padding:31px 25px}.avatar{width:65px;height:65px;background:#eadfce;color:#6b5949;border-radius:21px;display:grid;place-items:center;font-size:25px;margin:0 auto 16px}.profile-panel>h2{font-size:20px}.profile-panel>p{font-size:10px;color:#6b5949;margin-top:5px}.profile-divider{height:1px;background:#eadfce;margin:25px 0 21px}.profile-line{display:flex;justify-content:space-between;align-items:center;font-size:10px;padding:8px 0;color:#6b5949}.profile-line>b{font-size:10px;font-weight:500;color:#6b5949}.profile-panel .small-note{border-top:1px solid #eadfce;margin-top:20px;padding-top:20px;font-size:9px}.password-panel{padding:28px 32px}.password-panel .field{margin-bottom:22px}.password-panel .form-footer{flex-wrap:wrap}.password-panel .form-footer .button{margin-left:auto}.error-page{min-height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:40px;text-align:center}.error-code{font-size:90px;font-weight:600;letter-spacing:-5px;color:#6b5949;line-height:1.2;margin-top:60px}.error-page h1{font-size:18px;color:#6b5949;margin:20px 0 35px}
@media(min-width:1500px){.public-main{gap:120px;padding-top:65px;padding-bottom:65px}.hero h1{font-size:66px}.cinema-art{height:300px;margin-top:35px}.film-front{width:185px;height:240px}.film-back{left:220px;top:30px;width:155px;height:215px}.art-ticket{top:230px}.auth-card{padding:34px 38px 26px}}
@media(max-width:1150px){.public-main{gap:48px;padding-left:45px;padding-right:45px}.hero h1{font-size:49px}.hero-features{gap:12px;font-size:9px}.sidebar{width:200px;padding:30px 15px 0}.admin-shell{margin-left:200px}.admin-main{padding:30px 26px 0}.admin-topbar{padding:0 26px}.stats-grid{gap:12px}.stat-card{padding:18px 16px}.stat-value{font-size:22px;gap:7px}.stat-value .badge{font-size:7px}.banner-motif{right:65px}.overview-columns{gap:16px}.overview-columns .panel{padding:21px}.panel-bottom-note{font-size:8px}.public-header{padding-left:45px;padding-right:45px}.public-footer{padding-left:45px;padding-right:45px}}
@media(max-width:900px){.public-main{grid-template-columns:1fr 1fr;gap:32px;padding-left:32px;padding-right:32px}.public-header{padding-left:32px;padding-right:32px}.hero h1{font-size:43px}.hero-description{font-size:11px}.eyebrow{font-size:7px;letter-spacing:1.2px}.cinema-art{transform:scale(.85);transform-origin:left center;margin-top:0;margin-bottom:-25px}.hero-features>span:last-child{display:none}.auth-card{padding:24px}.auth-heading h2{font-size:20px}.auth-heading p{font-size:9px}.open-notice>span:last-child{display:none}.public-footer{padding-left:32px;padding-right:32px}.sidebar{width:180px;padding-left:12px;padding-right:12px}.sidebar .brand{font-size:20px;gap:8px}.sidebar .brand-mark{width:35px;height:38px}.sidebar .brand-en{font-size:7px}.side-nav a{font-size:11px;padding:12px 10px;gap:9px}.workspace-tag{font-size:8px;gap:6px;padding:9px}.admin-shell{margin-left:180px}.admin-main{padding:25px 23px 0}.admin-topbar{padding:0 23px}.stats-grid{grid-template-columns:1fr}.stat-card{padding:17px 20px;display:grid;grid-template-columns:1fr auto;column-gap:14px}.stat-label{grid-column:1}.stat-label .icon{display:none}.stat-value{grid-column:2;grid-row:1/3;margin:0}.stat-value.numeric{font-size:28px}.stat-card p{grid-column:1;align-self:end}.overview-columns{grid-template-columns:1fr}.banner-motif{right:35px;opacity:.5}.banner-orb{right:-160px}.panel{padding:22px}.table-scroll{margin:0 -22px}.permissions-grid{column-gap:22px}.permission-option small{font-size:8px}.settings-form .badge{font-size:8px}.account-grid{grid-template-columns:240px 1fr;gap:20px}.account-main{padding:35px 32px 60px}.password-panel{padding:25px}.account-main .form-footer>span{font-size:9px}.public-footer>span:last-child{letter-spacing:.4px;font-size:7px}}
@media(max-width:680px){.public-header{padding:25px 24px 15px}.brand{font-size:21px}.brand-mark{width:35px;height:38px}.brand-en{font-size:7px}.header-link{font-size:10px}.public-main{display:flex;flex-direction:column;gap:25px;padding:23px 24px 30px;width:100%;max-width:460px}.hero{width:100%;padding:0}.hero h1{font-size:38px;line-height:1.23;letter-spacing:-1.2px}.hero h1 br{display:none}.hero-description{font-size:10px;margin-top:12px;max-width:none;line-height:1.8}.eyebrow{margin-bottom:12px;font-size:7px;letter-spacing:1.1px}.cinema-art,.hero-features{display:none}.auth-card{width:100%;padding:24px 23px 20px;border-radius:15px}.auth-tabs{margin-bottom:25px}.auth-heading h2{font-size:21px}.auth-heading p{font-size:10px}.public-footer{padding:5px 24px 22px;display:flex;flex-direction:column;gap:7px;font-size:8px;justify-content:center}.public-footer>span:last-child{font-size:6px;letter-spacing:1px}.sidebar{position:relative;width:100%;padding:16px 20px 10px;display:block}.sidebar>.brand{font-size:19px;gap:9px;margin-left:0}.sidebar .brand-mark{width:30px;height:32px;border-radius:9px}.sidebar .brand-mark .icon{width:21px;height:21px}.sidebar .brand-en{font-size:6px;margin-top:5px}.workspace-tag,.nav-caption,.sidebar-bottom{display:none}.side-nav{flex-direction:row;margin-top:18px;gap:4px;justify-content:space-between}.side-nav a{padding:9px 7px;gap:5px;font-size:9px;border-radius:6px;white-space:nowrap}.side-nav a .icon{width:13px;height:13px}.nav-indicator{display:none}.admin-shell{margin-left:0}.admin-topbar{height:48px;padding:0 22px;font-size:8px}.admin-topbar div{gap:9px}.topbar-status{font-size:8px}.admin-main{padding:24px 20px 0}.page-heading{margin-bottom:23px;gap:10px}.page-heading h1{font-size:25px}.page-heading .section-kicker{font-size:7px}.page-heading p{font-size:9px}.page-heading>.button{padding:8px 10px;min-height:34px;font-size:9px;gap:6px}.page-heading>.button .icon{width:13px;height:13px}.stats-grid{gap:10px;margin-bottom:18px}.stat-card{padding:16px 19px}.stat-value{font-size:21px}.stat-value .badge{display:none}.stat-card p{font-size:8px}.welcome-banner{padding:23px 22px;margin-bottom:18px;min-height:225px}.welcome-banner h2{font-size:21px}.welcome-banner p{font-size:9px}.banner-motif{right:10px;top:50px;width:110px;height:110px;border-radius:24px;opacity:.32}.banner-motif .icon{width:55px;height:55px}.overview-columns{gap:18px;margin-bottom:18px}.panel{padding:22px 19px;border-radius:11px;margin-bottom:18px}.overview-columns .panel{padding:22px 19px}.panel-top{gap:12px;margin-bottom:19px}.panel-top h2{font-size:13px}.panel-top>a{font-size:8px}.table-scroll{margin:0 -19px}th,td{padding-left:19px;padding-right:19px}.panel-bottom-note{font-size:9px}.connection-info{margin:22px 0}.admin-footer{margin-top:28px;padding:18px 0 22px;font-size:8px}.admin-footer>span:last-child{font-size:7px;letter-spacing:.5px}.field input,.field textarea{font-size:16px;padding:11px 12px}.field input::placeholder{font-size:11px}.field small,.password-hint{font-size:9px}.field label{font-size:11px}.panel-heading{gap:10px;margin-bottom:23px}.panel-heading h2{font-size:14px}.panel-heading p{font-size:9px;line-height:1.8}.panel-heading-icon{width:35px;height:35px;flex-shrink:0}.settings-grid{grid-template-columns:1fr;gap:0}.permissions-grid{grid-template-columns:1fr}.permission-option{padding:16px 0}.permission-option small{font-size:9px}.limit-grid{gap:20px}.library-grid{grid-template-columns:1fr;gap:10px}.settings-save{flex-direction:column;align-items:stretch;gap:18px}.settings-save>span{justify-content:center;font-size:9px;order:2}.form-footer{gap:14px;flex-wrap:wrap}.form-footer .button{font-size:11px;padding:10px 15px;min-height:42px}.help-strip{font-size:9px;align-items:flex-start}.help-strip .icon{flex-shrink:0;margin-top:3px}.inline-info{padding:13px;font-size:9px}.settings-form .badge{font-size:7px;padding:5px 7px}.settings-form .badge .icon{display:none}.panel-subtitle{font-size:9px;line-height:1.8}.settings-form .panel-top{align-items:flex-start}.settings-form .panel-top .switch{margin-top:5px}.table-user{width:22px;height:22px;font-size:8px;margin-right:6px}.row-actions{gap:10px}.row-detail{max-width:180px;font-size:8px}.audit-panel td{font-size:10px}.account-main{padding:25px 24px 40px}.account-main .page-heading{margin-bottom:25px;align-items:flex-start}.account-main .page-heading h1{font-size:28px;overflow-wrap:anywhere}.account-main .page-heading p{font-size:10px}.account-main .page-heading .badge{font-size:8px;margin-top:30px}.account-grid{grid-template-columns:1fr;gap:0}.profile-panel{padding:24px;display:grid;grid-template-columns:60px 1fr;text-align:left;gap:0 16px}.avatar{width:52px;height:52px;border-radius:15px;font-size:20px;grid-row:1/3;margin:0}.profile-panel>h2{font-size:18px;align-self:end}.profile-panel>p{margin-top:0;font-size:9px}.profile-divider{grid-column:1/-1;margin:20px 0 12px}.profile-line{grid-column:1/-1;padding:6px 0}.profile-panel .small-note{grid-column:1/-1;margin-top:15px;padding-top:15px}.profile-panel .small-note br{display:none}.password-panel{padding:24px}.password-panel .form-footer>span{font-size:8px}.password-panel .form-footer .button{font-size:10px}.error-page{padding:25px}.error-page h1{font-size:16px}}
/* Keep secondary copy readable on everyday laptop and phone screens. */
.auth-heading p{font-size:12px}.field small,.password-hint{font-size:11px}.auth-footnote{font-size:11px}.public-footer{font-size:10px}.side-nav a{font-size:13px}.stat-label{font-size:12px}.stat-card p{font-size:11px}.panel-description{font-size:12px}.page-heading p{font-size:12px}.panel-subtitle{font-size:11px}.permission-option strong{font-size:13px}.permission-option small{font-size:11px}.panel-heading p{font-size:12px}.connection-info p{font-size:11px}.small-note{font-size:12px}.empty-state h3{font-size:14px}.empty-state p{font-size:12px}.inline-info{font-size:12px}.panel-bottom-note{font-size:11px}table{font-size:12px}th{font-size:11px}.library-item{font-size:13px}.checkbox-row strong{font-size:13px}.checkbox-row small{font-size:11px}.row-actions .text-button{font-size:12px}.profile-line,.profile-line>b{font-size:12px}.mobile-logout{display:none}
@media(max-width:680px){.side-nav a{font-size:10px;padding-left:5px;padding-right:5px}.page-heading p,.stat-card p,.panel-subtitle,.permission-option small,.panel-heading p,.inline-info,.panel-bottom-note,.checkbox-row small{font-size:11px}.auth-heading p{font-size:11px}.field small,.password-hint,.auth-footnote{font-size:10px}.public-footer{font-size:9px}.page-heading>.button{font-size:10px}.mobile-logout{display:block}.mobile-logout button{background:none;border:0;color:#6b5949;padding:0;display:flex;align-items:center;gap:5px;font-size:10px}.mobile-logout .icon{width:13px;height:13px}.topbar-status{margin-left:auto;margin-right:13px}.profile-panel .small-note{font-size:11px}.open-notice{font-size:11px}.closed-state p{font-size:12px}.closed-state .button{font-size:12px}.help-strip{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media(max-width:680px){.side-nav a{flex:1;min-width:0;flex-direction:column;white-space:normal;text-align:center;padding:8px 2px;gap:5px;font-size:9.5px}.side-nav a .icon{width:15px;height:15px}}
/* Account lifecycle and Telegram setup. */
.quota-box{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px;padding:14px 17px;border:1px solid #e0e6da;background:#eadfce;border-radius:10px;margin:0 0 20px;font-size:12px;color:#6b5949}.quota-box strong{font-size:26px;color:#50392b;line-height:1}.quota-box small{flex-basis:100%;font-size:11px;color:#6b5949}.field select{width:100%;border:1px solid #dfe4d8;border-radius:8px;background:#fff9f1;color:#50392b;padding:13px 14px;font:inherit;min-height:45px}.filter-grid{display:grid;grid-template-columns:1.4fr 1fr .8fr;gap:18px}.filter-form{margin-top:24px}.filter-actions{display:flex;align-items:center;justify-content:flex-end;gap:22px;margin-top:20px}.filter-actions .text-button{font-size:12px}.batch-footer{padding-top:22px;display:flex;gap:20px;align-items:center;justify-content:space-between;flex-wrap:wrap}.danger-button{background:#a34e40;color:#fff;border:1px solid #a34e40}.danger-button:hover{background:#8d4034}.managed-table{min-width:1020px}.managed-table input[type=checkbox],.checkbox-row input{accent-color:#6b5949}.managed-table th:first-child,.managed-table td:first-child{padding-right:0;width:25px}.managed-table .row-actions{margin:6px 0}.time-line{display:block;font-size:11px;color:#6b5949;line-height:1.8}.pagination{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:20px;font-size:12px}.back-link{display:inline-block;margin-bottom:22px;color:#6b5949;font-size:12px}.credential-card{background:#eadfce;padding:18px;border-radius:10px;margin-bottom:25px}.credential-card .field{margin:0}.review-list{margin:22px 0}.review-row{padding:18px 0;border-bottom:1px solid #eadfce;display:flex;gap:10px 18px;align-items:center;flex-wrap:wrap;font-size:13px}.review-row strong{min-width:100px;overflow-wrap:anywhere}.review-row>span:not(.badge){color:#6b5949;font-size:12px}.review-row>small{flex-basis:100%;color:#6b5949;font-size:11px}.binding-main{max-width:650px;margin:45px auto 65px;padding:0 24px}.binding-panel{padding:30px}.binding-steps{padding-left:20px;margin:25px 0;line-height:2.4;color:#6b5949;font-size:13px}.binding-wait{display:flex;align-items:center;gap:8px;font-size:12px;color:#6b5949;margin:22px 0 12px}.binding-restart{margin-top:23px;padding-top:18px;border-top:1px solid #eadfce}.binding-note{font-size:12px;color:#6b5949;text-align:center;line-height:1.8}.identity-card{padding:23px;background:#eadfce;border-radius:10px;margin:24px 0 16px}.identity-card h3{font-size:20px;margin:14px 0 5px;overflow-wrap:anywhere}.identity-card p{font-size:12px;color:#6b5949;overflow-wrap:anywhere}.binding-panel .small-note{margin-bottom:20px;line-height:1.8}.inline-info+.field{margin-top:20px}.settings-panel>.inline-info{margin-bottom:24px}.checkbox-row{margin-bottom:20px}.profile-line>b{overflow-wrap:anywhere;max-width:65%;text-align:right}
@media(max-width:1000px){.filter-grid{grid-template-columns:1fr 1fr}.filter-grid>.field:first-child{grid-column:1/-1}}
@media(max-width:680px){.side-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}.side-nav a{padding:8px 3px;flex-direction:row;justify-content:center;gap:7px}.side-nav a .icon{width:14px;height:14px}.filter-grid{grid-template-columns:1fr;gap:0}.filter-grid>.field:first-child{grid-column:auto}.field select{font-size:16px}.filter-actions{justify-content:space-between}.filter-actions .button{font-size:12px}.batch-footer{align-items:stretch}.batch-footer .button{width:100%;font-size:12px}.users-panel .panel-top{flex-wrap:wrap}.panel-top>form .button{font-size:11px;padding:9px 12px}.binding-main{margin:25px auto 40px}.binding-panel{padding:24px}.binding-main .page-heading h1{font-size:28px}.binding-steps{font-size:12px}.binding-panel .button{font-size:12px}.binding-wait{font-size:11px}.review-row{font-size:12px}.review-row>span:not(.badge),.review-row>small{font-size:11px}.quota-box{margin-bottom:20px}.binding-note{font-size:11px}}

:root{--ink:#30261f;--muted:#6b5949;--green:#8b4c2f;--green-deep:#583421;--lime:#f6d8ac;--canvas:#fff4e5;--line:#e9d7bf}
body{color:var(--ink);background:var(--canvas)}.panel,.auth-card,.stat-card{background:#fffdf9;border-color:#e8d6bd;box-shadow:0 3px 20px #7e502807}.sidebar{background:#493326}.sidebar-profile strong,.side-nav a,.sidebar-bottom a,.workspace-tag,.nav-caption{color:#f0ddc4}.side-nav a.active{background:#f6d8ac;color:#493326}.side-nav a:hover{background:#70503a;color:#fff}.side-nav a.active:hover{color:#493326;background:#f6d8ac}.admin-topbar{background:#fffaf2;border-color:#e8d6bd;color:#604a37}.admin-topbar strong{color:#402e22}.button.primary:hover{background:#6d3822}.button.secondary{border-color:#d9c3a9;color:#65432d;background:#fffaf3}.button.secondary:hover{background:#f8e7cf}.field input,.field textarea,.field select{background:#fffdf9;color:#33281f;border-color:#cfbca4}.field input::placeholder,.field textarea::placeholder{color:#806c58}.field label,.permission-option strong,.checkbox-row strong,td strong,.panel-top>a{color:#4f3828}.field small,.password-hint,.auth-footnote,.page-heading p,.panel-description,.panel-subtitle,.panel-heading p,.small-note,.row-detail,.time-line,.connection-info p,.panel-bottom-note,.help-strip,.public-footer,.admin-footer,.section-kicker{color:#715a45}.badge.green{background:#ecebd8;color:#3c552c}.badge.muted{background:#f2e5d4;color:#6b4f37}.badge.warning{background:#f9e0b6;color:#75441e}.inline-info,.credential-card,.identity-card,.quota-box{background:#f9ecd9;color:#614931;border-color:#e4cfb0}.switch>input:checked+.switch-track{background:#9b5b35}.checkbox-row input,.library-item input,.managed-table input[type=checkbox]{accent-color:#8b4c2f}.table-scroll th{background:#fbefdf;color:#67492e}.table-scroll td{color:#514131}.row-actions .text-button,.text-button{color:#80502f}.text-button.danger{color:#a4382c}.table-user,.panel-heading-icon,.connection-icon{background:#f6e4cc;color:#87502f}.library-item:has(input:checked){background:#faead5;border-color:#b77e4d}.mobile-table-hint{display:none}.header-actions{display:flex;align-items:center;gap:24px}.account-expanded{max-width:1200px}.account-welcome{border-radius:22px;background:linear-gradient(115deg,#f9dfbc,#fcecd8);border:1px solid #e8cba6;padding:32px 38px;display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.account-welcome h1{font-size:34px;overflow-wrap:anywhere}.account-welcome p{color:#725039;margin-top:10px}.welcome-badges{display:flex;gap:10px;margin-top:20px;flex-wrap:wrap}.account-art{font-size:62px;transform:rotate(7deg);text-align:center;padding:0 25px}.account-art small{display:block;font-size:10px;font-weight:700;letter-spacing:1.5px;color:#805535}.account-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:24px}.account-metrics>div{padding:20px 25px;background:#fffcf7;border:1px solid #e8d6bd;border-radius:14px}.account-metrics span{font-size:12px;color:#77583e}.account-metrics strong{display:block;font-size:32px;margin:4px 0;color:#81492b}.account-metrics small{color:#785f49;font-size:11px}.account-dashboard{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.4fr);gap:24px}.account-column{min-width:0}.account-dashboard .panel{margin-bottom:24px}.account-dashboard .panel-description{max-width:none}.exchange-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}.exchange-card{border:1px solid #e6ccb0;border-radius:13px;padding:20px;background:#fff8ed}.exchange-card h3{margin:15px 0 6px;font-size:16px}.exchange-card p{font-size:12px;color:#73563d;min-height:40px}.exchange-card>strong{font-size:29px;display:block;margin:12px 0;color:#8b4c2f}.exchange-card>strong small{font-size:12px}.own-code{padding:16px 0;border-bottom:1px solid #eadac8}.own-code:last-child{border:0}.own-code>div:first-child{display:flex;align-items:center;gap:10px}.code-copy{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:9px 0;min-width:0}.code-copy code{font-size:13px;color:#5a3e2a;overflow-wrap:anywhere;min-width:0}.own-code>small{font-size:11px;color:#755d46}.generated-list{margin-top:24px;padding-top:20px;border-top:1px solid #e4cfb5}.form-notice{margin:16px 0 0;padding:11px 14px;border-radius:8px;background:#eee9d7;color:#40552c;font-size:12px;line-height:1.7;overflow-wrap:anywhere}.form-notice.error{background:#fae6dd;color:#8e3023}.saved-indicator{display:inline-flex;color:#66513d;font-size:11px;margin-right:auto}.inline-password{width:160px!important;height:33px;font-size:12px;border:1px solid #dfcbb3!important;border-radius:7px;padding:4px 33px 4px 9px!important;background:#fffaf4}.inline-password-wrap{width:160px}.inline-password-wrap .eye-button{right:4px}.managed-table{min-width:1210px}.invitation-settings .settings-grid{gap:25px}
@media(max-width:850px){.account-dashboard{grid-template-columns:1fr}.account-art{display:none}.account-welcome{padding:27px}.account-metrics{gap:10px}.account-metrics>div{padding:17px}.account-metrics strong{font-size:26px}}
@media(max-width:680px){.account-welcome h1{font-size:27px}.account-welcome p{font-size:12px}.account-metrics{grid-template-columns:1fr}.account-metrics>div{display:grid;grid-template-columns:1fr auto;align-items:center;padding:14px 20px}.account-metrics strong{grid-column:2;grid-row:1/3;margin:0}.account-metrics small{font-size:10px}.exchange-options{grid-template-columns:1fr}.header-actions{gap:12px;flex-wrap:wrap}.header-actions .header-link{font-size:10px}.account-expanded{padding-left:20px;padding-right:20px}.mobile-table-hint{display:block;margin:0 0 15px;font-size:11px;color:#72543a}.side-nav{grid-template-columns:repeat(3,minmax(0,1fr))}.side-nav a:last-child{grid-column:2}.account-dashboard .panel{padding:23px}.account-metrics strong{font-size:24px}.account-welcome{padding:25px}.account-welcome .section-kicker{font-size:8px}.welcome-badges .badge{font-size:10px}.binding-main{padding:0 20px}.panel-heading p{font-size:12px}.account-dashboard .field label{font-size:12px}.account-dashboard .field small{font-size:11px}}

/* Published connections, compact account actions and shared select controls. */
.field>span{display:block;font-size:12px;font-weight:600;color:#4f3828;margin-bottom:9px}
.line-editor-list{display:grid;gap:18px;margin-bottom:20px}.line-editor{padding:21px;border:1px solid #e8d6bd;border-radius:14px;background:#fffaf3}.line-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.line-editor-heading h3{font-size:13px;font-weight:600}.line-editor>.field:last-child{margin-bottom:0}.line-editor .settings-grid{gap:18px}.line-editor-empty{margin-bottom:20px}.line-editor .text-button{font-size:12px}
.emby-line+.emby-line{border-top:1px solid #eadac8;margin-top:21px;padding-top:21px}.emby-line h3{font-size:14px;font-weight:600;color:#4f3828}.emby-line p{font-size:12px;line-height:1.8;color:#715a45;margin-top:7px;white-space:pre-line;overflow-wrap:anywhere}.emby-line code{display:block;font-size:12px;line-height:1.8;background:#fbf0e1;border:1px solid #ebd8bf;border-radius:10px;padding:10px 12px;margin:12px 0;overflow-wrap:anywhere;color:#70482d}.line-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.line-actions .button{font-size:12px;min-height:38px;padding:8px 13px}.line-actions .text-button{font-size:12px}
.password-dialog{position:fixed;inset:0;margin:auto;width:min(540px,calc(100% - 32px));max-height:calc(100dvh - 40px);padding:30px;border:1px solid #e8d6bd;border-radius:18px;background:#fffdf9;color:#30261f;box-shadow:0 24px 90px #49332633;overflow-y:auto}.password-dialog::backdrop{background:#49332670;backdrop-filter:blur(4px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px}.dialog-heading h2{font-size:19px}.dialog-heading .icon-button{font-size:26px;width:34px;height:34px;border-radius:10px;color:#72543a}.dialog-heading .icon-button:hover{background:#f7e8d4}.password-dialog>.panel-description{margin:0 0 24px;line-height:1.8}.password-dialog .form-footer{align-items:center;flex-wrap:wrap;gap:15px}.password-dialog .form-footer>span{font-size:11px;color:#715a45}
.code-filter{padding-bottom:24px}.code-filter .filter-grid{grid-template-columns:minmax(0,1.5fr) minmax(180px,1fr) auto;align-items:end;gap:18px}.code-filter .field{margin-bottom:0;grid-column:auto}.filter-submit .button{min-height:47px;white-space:nowrap}.filter-submit{padding-bottom:0}
select{border-radius:12px;border:1px solid #e8d6bd;background:#fffdf9;color:#33281f}.custom-select{position:relative;min-width:0}.select-trigger{font:inherit;font-size:13px;line-height:1.5;display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:47px;padding:12px 15px;border:1px solid #e8d6bd;border-radius:12px;color:#4f3828;background:#fffdf9;text-align:left;cursor:pointer;transition:border-color .15s,box-shadow .15s}.select-trigger>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select-trigger:hover{border-color:#c49c77}.select-trigger:focus-visible,.select-trigger[aria-expanded="true"]{outline:none;border-color:#ad7954;box-shadow:0 0 0 3px #c18b5520}.select-trigger:disabled{opacity:.5;cursor:not-allowed}.select-chevron{width:8px;height:8px;border-right:1.8px solid currentColor;border-bottom:1.8px solid currentColor;transform:translateY(-2px) rotate(45deg);flex-shrink:0;transition:transform .15s}.select-trigger[aria-expanded="true"] .select-chevron{transform:translateY(2px) rotate(225deg)}.select-menu{position:absolute;z-index:50;left:0;right:0;top:calc(100% + 7px);padding:6px;max-height:240px;overflow-y:auto;border:1px solid #e8d6bd;border-radius:13px;background:#fffdf9;box-shadow:0 12px 30px #66472a24;overscroll-behavior:contain}.select-menu[hidden]{display:none}.opens-up .select-menu{top:auto;bottom:calc(100% + 7px)}.select-option{position:relative;padding:10px 33px 10px 12px;border-radius:8px;font-size:13px;line-height:1.5;color:#5b412e;cursor:pointer;overflow-wrap:anywhere}.select-option.is-active{background:#f8ead8}.select-option[aria-selected="true"]{background:#f4dfc3;color:#6b3c21;font-weight:600}.select-option[aria-selected="true"]::after{content:'✓';position:absolute;right:12px;top:10px}.select-option[aria-disabled="true"]{opacity:.45;cursor:not-allowed}
@media(max-width:1000px){.code-filter .filter-grid{grid-template-columns:minmax(0,1fr) minmax(150px,.8fr) auto}.code-filter .filter-grid>.field:first-child{grid-column:auto}}
@media(max-width:680px){.code-filter .filter-grid{grid-template-columns:minmax(0,1fr);gap:16px}.filter-submit .button{width:100%;justify-content:center}.select-trigger{font-size:16px}.select-option{font-size:14px}.password-dialog{padding:24px;max-height:calc(100dvh - 28px)}.password-dialog .form-footer .button{width:100%;justify-content:center}.line-editor{padding:17px}.line-editor .settings-grid{gap:0}.field>span{font-size:12px}.credential-panel>.button{font-size:12px}.select-menu{max-height:210px}}
label.field{display:block}
.select-option[aria-selected="true"]::after{content:'';width:5px;height:9px;border:solid currentColor;border-width:0 1.7px 1.7px 0;transform:rotate(45deg);top:13px;right:15px}.field select{border-radius:12px;border-color:#e8d6bd}

[data-auth-panel][hidden],[data-registration-state][hidden]{display:none}.auth-tabs a:focus-visible{outline:2px solid #ad7954;outline-offset:2px}
.public-main:has([data-auth-card]){align-items:start}
.alert.warning{background:#fff3d8;color:#80521f;border-color:#e8c98d}

/* Human verification and binding fallback use the same warm panel palette. */
.turnstile-box{min-width:0;padding:14px;border:1px solid var(--border,#dfd3c4);border-radius:14px;background:#fffaf2;overflow:hidden}
.turnstile-box [data-turnstile-widget]{min-height:65px}
.turnstile-box .small-note{margin:8px 0}
.binding-command{margin:20px 0;padding:16px;border:1px solid var(--border,#dfd3c4);border-radius:14px;background:#fffaf2}
.binding-command .field{margin:10px 0}
.binding-command input{font-family:ui-monospace,SFMono-Regular,monospace;font-size:12px}
.binding-wait.error{color:#a23e2a}

.field .config-secret{-webkit-text-security:disc}
.field .config-secret.is-revealed,.field .config-secret::placeholder{-webkit-text-security:none}
.site-admin-panel .field{max-width:560px}
.site-admin-panel .form-footer{justify-content:flex-end;flex-wrap:wrap}
.site-admin-panel .form-footer>span{margin-right:auto}

/* Responsive management layouts: readable forms, full-width records. */
.admin-main{max-width:1920px}
.admin-main .settings-panel,.admin-main .settings-form{max-width:none;min-width:0}
.admin-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start;margin-bottom:24px}
.admin-settings-column{display:grid;gap:24px;align-content:start;min-width:0}
.admin-settings-grid>.panel,.admin-settings-column>.panel,.admin-settings-column>.settings-form>.panel{margin-bottom:0}
.admin-settings-grid .panel-heading>div:last-child,.admin-settings-grid .panel-top>div{min-width:0}
.admin-settings-grid .panel-heading-icon{flex-shrink:0}
.admin-settings-grid .panel-subtitle,.admin-settings-grid .panel-heading p,.account-editor-panel .panel-heading{overflow-wrap:anywhere}
.admin-settings-grid .settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.admin-settings-grid .permissions-grid{grid-template-columns:1fr}
.admin-settings-grid .library-grid{grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr))}
.admin-settings-grid .form-footer{justify-content:flex-end;flex-wrap:wrap;gap:12px}
.admin-settings-grid .form-footer>span:not(.saved-indicator){margin-right:auto}
.admin-settings-grid .form-footer .button{gap:8px}
.server-settings-grid .help-strip{margin:20px 0 0;align-items:flex-start;line-height:1.8;font-size:11px}
.server-settings-grid .help-strip .icon{flex-shrink:0;margin-top:3px}
.line-settings-panel .line-editor-list{grid-template-columns:repeat(2,minmax(0,1fr))}
.line-settings-panel .line-editor{min-width:0}
.line-settings-panel .line-editor .settings-grid{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}
.bot-command-list{margin:0 0 24px}
.bot-command-list>div{display:grid;grid-template-columns:100px minmax(0,1fr);gap:14px;padding:16px 0;border-bottom:1px solid var(--line);align-items:start}
.bot-command-list>div:first-child{padding-top:0}
.bot-command-list dt,.bot-command-list dd{margin:0;font-size:12px}
.bot-command-list code{color:#81492b;background:#fbf0e1;padding:5px 9px;border-radius:7px}
.bot-command-list dd{color:var(--muted)}
.setup-checklist{padding-left:20px;margin:0;color:var(--muted);font-size:12px;line-height:1.9}
.setup-checklist li+li{margin-top:14px}
.telegram-settings-grid .help-strip{margin:22px 0 0;padding-top:18px;border-top:1px solid var(--line);align-items:flex-start;font-size:11px;line-height:1.9}
.telegram-settings-grid .help-strip .icon{flex-shrink:0;margin-top:4px}
.security-settings-grid+.audit-panel{margin-top:0}
.account-editor-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:32px;align-items:start}
.account-editor-grid>form{min-width:0}
.account-editor-grid .credential-card{margin-bottom:0}
.account-editor-grid .form-footer{flex-wrap:wrap;justify-content:flex-end}
.account-editor-grid .checkbox-row{margin-top:22px}
.admin-main>.panel,.admin-main>#invite-records{min-width:0}
.admin-main .table-scroll{overscroll-behavior-x:contain}

@media(min-width:1700px){
  .admin-main{padding-left:48px;padding-right:48px}
  .registration-settings-grid .permissions-grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px}
}
@media(max-width:1250px){
  .admin-settings-grid{grid-template-columns:minmax(0,1fr)}
  .admin-settings-column{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
  .registration-settings-grid .admin-settings-column,.security-settings-grid .admin-settings-column,.telegram-settings-grid .admin-settings-column{grid-template-columns:minmax(0,1fr)}
  .registration-settings-grid .permissions-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .line-settings-panel .line-editor-list{grid-template-columns:minmax(0,1fr)}
  .account-editor-grid{gap:24px}
}
@media(max-width:1000px){
  .admin-settings-column{grid-template-columns:minmax(0,1fr)}
  .account-editor-grid{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:680px){
  .admin-settings-grid,.admin-settings-column{gap:18px}
  .admin-settings-grid{margin-bottom:18px}
  .admin-settings-grid .settings-grid,.registration-settings-grid .permissions-grid,.line-settings-panel .line-editor .settings-grid{grid-template-columns:minmax(0,1fr);gap:0}
  .admin-settings-grid .limit-grid{gap:20px}
  .admin-settings-grid .library-grid{grid-template-columns:minmax(0,1fr)}
  .admin-settings-grid .form-footer>.button{flex:1 1 auto}
  .admin-settings-grid .form-footer>span{flex-basis:100%}
  .admin-main .panel-top{flex-wrap:wrap}
  .admin-main .panel-top>.switch{margin-left:auto}
  .bot-command-list>div{grid-template-columns:85px minmax(0,1fr);gap:10px}
  .account-editor-grid{gap:22px}
}
