/* A compact right-side drawer leaves the desktop in view. */
.topbar{justify-content:flex-end}.brand-mark{display:inline-flex;padding:0;background:none;border-radius:0;box-shadow:none;letter-spacing:normal;overflow:visible}.brand-mark>img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 4px 9px #7064e42b)}.auth-brand{width:50px;height:50px;margin-bottom:20px}.settings-logo .brand-mark{width:31px;height:31px;background:none;box-shadow:none}.settings-logo{gap:9px}
.overlay{align-items:stretch;justify-content:flex-end;padding:0;background:#14203828;backdrop-filter:blur(2px);animation:drawer-shade-in .25s ease}.settings-shell{width:min(920px,calc(100vw - 80px));max-width:920px;height:100dvh;max-height:none;border-radius:22px 0 0 22px;border:1px solid #ffffff9c;border-right:0;box-shadow:-16px 0 60px #14213e22;animation:drawer-enter .3s cubic-bezier(.22,.8,.3,1)}.overlay[data-closing=true]{animation:drawer-shade-out .18s ease forwards}.overlay[data-closing=true] .settings-shell{animation:drawer-exit .18s ease forwards}.settings-side{width:155px;padding:22px 11px}.settings-logo{font-size:13px;padding:0 7px;margin-bottom:23px}.settings-side nav{gap:5px}.settings-side nav button{gap:9px;padding:9px 11px;font-size:11px;border-radius:9px}.settings-side nav button svg{width:16px;height:16px}.settings-side nav .nav-separator{margin:8px}.side-bottom{font-size:8px;padding:15px 7px 0}.side-bottom small{font-size:8px}.panel-header{height:53px;padding:10px 23px}.panel-content{padding:20px 23px 28px}.panel-content>*{animation:none}.settings-shell .page-intro{margin-bottom:17px;gap:12px}.settings-shell .page-intro h2{font-size:22px;line-height:1.35}.settings-shell .page-intro p{font-size:11px;margin-top:5px}.settings-shell .page-intro .eyebrow{font-size:8px;margin-bottom:5px;letter-spacing:2px}.settings-shell .card{padding:16px 18px;margin-bottom:12px;border-radius:14px}.settings-shell .card>h3{font-size:14px}.settings-shell .row{padding:11px 0;gap:12px}.settings-shell .row strong{font-size:11px}.settings-shell .row p{font-size:10px;margin-top:2px}.settings-shell .primary{padding:8px 14px;font-size:11px;border-radius:8px}.settings-shell .secondary{padding:7px 12px;font-size:11px;border-radius:8px}.settings-shell .actions{margin-top:12px;gap:8px}.settings-shell .form-grid{gap:13px}.settings-shell .form-grid input,.settings-shell .stacked-form input,.settings-shell .stacked-form select,.settings-shell .stacked-form textarea{padding:8px 11px;margin:5px 0 12px;font-size:11px;border-radius:8px}.settings-shell .stacked-form label{font-size:10px}.settings-shell .form-error{margin:5px 0}.settings-shell .hint{padding:10px 12px;font-size:10px;line-height:1.85;margin-bottom:12px}.settings-shell .account-summary{padding:18px;gap:13px}.settings-shell .avatar{width:49px;height:49px;border-radius:15px;font-size:21px}.settings-shell .account-summary h3{font-size:17px}.settings-shell .account-summary p{font-size:10px}.settings-shell .upgrade-banner{padding:17px 19px;margin:14px 0;border-radius:13px}.settings-shell .upgrade-banner h3{font-size:14px}.settings-shell .upgrade-banner p{font-size:10px;margin-top:4px}.settings-shell .upgrade-banner button{padding:8px 12px;font-size:10px}.settings-shell .subheading{margin:18px 0 11px;font-size:12px}.settings-shell .subheading small{font-size:8px}.settings-shell .pro-hero{min-height:0;padding:22px 24px;margin-bottom:20px;border-radius:15px}.settings-shell .pro-hero h3{font-size:22px;margin:5px 0 8px}.settings-shell .pro-hero p{font-size:10px;max-width:390px}.settings-shell .pro-hero .hero-star{font-size:58px;margin-right:12px}.settings-shell .plans{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.settings-shell .plan{padding:18px 12px 13px;border-radius:12px}.settings-shell .plan h4{font-size:12px}.settings-shell .plan-price{margin:10px 0 7px}.settings-shell .plan-price strong{font-size:30px}.plan-cloud{display:flex;align-items:center;gap:5px;font-size:11px;color:#7973b5;font-weight:600;margin:0 0 5px}.plan-cloud svg{width:14px;height:14px}.settings-shell .plan-period{font-size:9px}.settings-shell .plan-note{font-size:9px;margin:8px 0 12px;line-height:1.8}.settings-shell .plan .plan-buy{padding:7px 3px;font-size:10px}.settings-shell .plan-badge{font-size:8px;padding:1px 7px}.settings-shell .membership-footnote{font-size:9px;margin-top:10px}.settings-shell .benefits{gap:10px}.settings-shell .benefit{padding:14px;border-radius:12px}.settings-shell .benefit h4{font-size:11px}.settings-shell .benefit p{font-size:9px;line-height:1.85}.settings-shell .benefit-icon{height:29px;width:29px;border-radius:9px;margin-bottom:8px}.settings-shell .comparison td,.settings-shell .comparison th{font-size:10px;padding:9px 12px}.settings-shell .faq details{padding:10px 0;font-size:10px}.settings-shell .faq details p{margin-top:7px}.settings-shell .inline-links{margin-top:16px;gap:14px}.settings-shell .inline-links button{font-size:9px}.settings-shell .plugin-showcase{padding:19px 23px;min-height:0;border-radius:15px;margin-bottom:2px}.settings-shell .plugin-showcase h3{font-size:19px;line-height:1.55;margin-top:7px}.settings-shell .plugin-showcase p{font-size:9px;margin-top:7px}.settings-shell .showcase-label{font-size:7px;letter-spacing:1.4px}.settings-shell .showcase-icons{height:95px;width:200px}.settings-shell .showcase-icons .app-logo{width:61px;height:61px}.settings-shell .showcase-icons .app-logo:nth-child(1){top:6px}.settings-shell .showcase-icons .app-logo:nth-child(2){left:70px;top:26px}.settings-shell .showcase-icons .app-logo:nth-child(3){top:0}.settings-shell .plugin-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.settings-shell .plugin-card{padding:15px;border-radius:14px}.settings-shell .plugin-top{margin-bottom:10px}.settings-shell .plugin-top>.app-logo{height:45px;width:45px}.settings-shell .plugin-card h3{font-size:13px}.settings-shell .plugin-card p{min-height:33px;font-size:10px;line-height:1.7;margin-top:4px}.settings-shell .plugin-preview{height:57px;margin-top:9px;padding:8px 11px;border-radius:8px}.settings-shell .plugin-foot{margin-top:10px;padding-top:10px}.settings-shell .mini-notes span{margin:6px 0;height:2px}.settings-shell .mini-tasks>span{margin:0 0 5px}.settings-shell .mini-focus>span{font-size:23px}.settings-shell .mini-calendar{gap:2px}.settings-shell .mini-calendar b{font-size:11px;padding:1px}.settings-shell .mini-quote>span{font-size:40px}.settings-shell .mini-calc>span{font-size:10px;margin-bottom:1px}.settings-shell .mini-calc{gap:2px}.settings-shell .mini-calc i{font-size:9px}.settings-shell .theme-preview{height:84px;font-size:24px}.settings-shell .theme-option>span:last-child{padding:6px 10px;font-size:10px}.settings-shell .legal{font-size:11px;line-height:1.9}.settings-shell .legal h3{font-size:13px;margin:18px 0 6px}.settings-shell .legal p{margin-bottom:10px}.settings-shell .empty{padding:27px 18px}.settings-shell .empty-icon{height:48px;width:48px;border-radius:16px;margin-bottom:12px}.settings-shell .empty h3{font-size:15px}.settings-shell .empty .primary{margin-top:15px}
/* Storage is useful for every account; quota and usage come from the server. */
.storage-summary{position:relative;display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:21px 23px 17px;margin-bottom:14px;background:radial-gradient(ellipse at top right,#7a71b640,transparent 65%),linear-gradient(120deg,#283952,#343858);color:#fff;border-radius:15px;overflow:hidden}.storage-summary-icon{height:51px;width:51px;display:flex;align-items:center;justify-content:center;border:1px solid #b9b5ef3d;background:linear-gradient(145deg,#aaa2ed50,#7267ba30);border-radius:17px;box-shadow:0 7px 16px #111b2f22}.storage-summary-icon svg{width:28px;height:28px;color:#d8ddff}.storage-kicker{font-size:7px;color:#b5bbd4;letter-spacing:1.5px}.storage-summary h3{font-size:27px;font-weight:650;letter-spacing:.2px}.storage-summary h3 small{font-size:11px;font-weight:400;color:#b5bbd4;margin-left:3px}.storage-summary p{font-size:10px;color:#b4bad2;margin-top:2px}.storage-upgrade{margin-left:auto;font-size:10px;background:#d9ddf522;color:#e1e1fc;border:1px solid #c9c9ea28;padding:7px 11px;border-radius:8px}.storage-summary .quota{width:100%;margin:1px 0 0;background:#a9b0da22;height:4px}.storage-summary .quota>span{background:linear-gradient(90deg,#afa6f0,#9ad9cf);min-width:0}.cloud-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.cloud-section-heading h3,.backup-card h3{font-size:13px}.cloud-section-heading .muted,.backup-card .muted{font-size:10px;margin-top:3px}.sync-state{font-size:9px;color:#a1a9bf;white-space:nowrap}.sync-state .status-dot{height:4px;width:4px;margin-right:4px}.settings-shell .row .actions{margin:0;flex-shrink:0}.upload-file-label{display:flex;align-items:center;gap:4px;cursor:pointer;white-space:nowrap}.upload-file-label svg{width:13px;height:13px}.file-list{margin-top:12px}.cloud-file-row{display:flex;align-items:center;gap:10px;padding:10px 1px;border-top:1px solid var(--line)}.file-symbol{width:31px;height:35px;display:flex;align-items:center;justify-content:center;color:#9b8ac9;background:#f1edfc;border-radius:8px;flex-shrink:0}.file-symbol svg{height:17px;width:17px}.file-description{min-width:0;flex:1}.file-description strong{display:block;font-size:11px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-description small{display:block;font-size:9px;color:var(--muted);margin-top:2px}.file-download,.file-delete{padding:6px;color:#9d9dbb;border-radius:7px;display:flex}.file-download svg,.file-delete svg{height:15px;width:15px}.file-download:hover{color:#7665bd;background:#f3effd}.file-delete:hover{color:#bd6d7e;background:#fcf1f4}.files-empty{text-align:center;padding:19px 0 21px}.files-empty>span{display:inline-block;font-size:26px;color:#c7c3e1;line-height:1}.files-empty p{font-size:11px;color:#999eb5;margin-top:7px}.files-empty small{font-size:9px;color:#b3b7c8}.storage-file-limit{font-size:9px;color:#b1b4c5;padding-top:8px;border-top:1px solid var(--line)}.file-upload-status{font-size:10px;padding:8px 10px;background:#f0effb;border-radius:7px;margin-top:10px;color:#8a7ab3;overflow-wrap:anywhere}.backup-card{display:flex;align-items:center;justify-content:space-between;gap:12px}.settings-shell .backup-card .actions{margin:0;flex-shrink:0}.settings-shell .backup-card .secondary{font-size:10px;padding:6px 9px}
body[data-theme=night] .file-symbol{background:#3e3b5d;color:#bbabd9}body[data-theme=night] .file-upload-status{background:#3e3b5d;color:#c3b7df}
@keyframes drawer-enter{from{transform:translateX(100%)}to{transform:translateX(0)}}@keyframes drawer-exit{to{transform:translateX(100%)}}@keyframes drawer-shade-in{from{background:#14203800;backdrop-filter:blur(0)}to{background:#14203828;backdrop-filter:blur(2px)}}@keyframes drawer-shade-out{to{background:#14203800;backdrop-filter:blur(0)}}
@media(max-width:1050px) and (min-width:761px){.settings-shell{width:calc(100vw - 64px)}.settings-side{width:142px}.settings-shell .plans{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-shell .plan{padding:16px}.settings-shell .benefits{grid-template-columns:1fr}.settings-shell .benefit{display:grid;grid-template-columns:30px 1fr;gap:0 11px}.settings-shell .benefit-icon{grid-row:1/3;margin:0}.settings-shell .benefit p{font-size:10px}.settings-shell .benefit h4{margin-bottom:3px}.backup-card{flex-wrap:wrap}}
@media(max-width:760px){.overlay{padding:0;background:#14203828;align-items:stretch}.settings-shell{width:calc(100vw - 16px);max-width:none;height:100dvh;border-radius:17px 0 0 17px;border:1px solid #ffffff66;border-right:0;flex-direction:column}.settings-side{width:100%;padding:0;overflow:visible;flex-shrink:0;border-radius:16px 0 0 0}.settings-side nav{padding:10px 45px 10px 9px;gap:3px}.settings-side nav button{font-size:10px;padding:7px 8px;gap:5px;flex-shrink:0}.settings-side nav button svg{width:13px;height:13px}.settings-logo,.side-bottom{display:none}.settings-side nav .nav-separator{display:none}.settings-shell .close-panel{position:fixed;right:6px;top:9px;width:31px;height:31px;background:#343b5a;box-shadow:-7px 0 7px #323a58;color:#d8dff0}.panel-header{height:37px;padding:0 15px;font-size:9px}.panel-content{padding:17px 15px 25px}.settings-shell .page-intro{margin-bottom:14px;gap:9px}.settings-shell .page-intro h2{font-size:20px}.settings-shell .page-intro p{font-size:10px}.settings-shell .page-intro .eyebrow{font-size:7px;letter-spacing:1.6px}.settings-shell .page-intro .pill{font-size:8px;padding:4px 8px}.settings-shell .card{padding:14px;margin-bottom:11px;border-radius:12px}.settings-shell .row{padding:10px 0;flex-wrap:wrap;gap:10px}.settings-shell .form-grid{grid-template-columns:1fr 1fr;gap:10px}.settings-shell .primary,.settings-shell .secondary{font-size:10px;padding:7px 11px}.settings-shell .plans{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 10px}.settings-shell .plan{padding:16px 13px 12px}.settings-shell .plan-price strong{font-size:29px}.settings-shell .plan-cloud{font-size:10px}.settings-shell .pro-hero{padding:18px;min-height:126px;margin-bottom:18px}.settings-shell .pro-hero h3{font-size:20px;line-height:1.5}.settings-shell .pro-hero>div{max-width:86%}.settings-shell .pro-hero p{font-size:9px;max-width:230px}.settings-shell .pro-hero .hero-star{font-size:46px;right:11px;top:35px;margin:0;opacity:.6}.settings-shell .benefits{grid-template-columns:1fr;gap:8px}.settings-shell .benefit{padding:12px;display:grid;grid-template-columns:29px 1fr;gap:0 10px}.settings-shell .benefit-icon{grid-row:1/3;margin:0}.settings-shell .benefit h4{font-size:10px;margin-bottom:3px}.settings-shell .benefit p{font-size:9px}.settings-shell .subheading{font-size:11px;margin:17px 0 10px}.settings-shell .subheading small{font-size:6px;letter-spacing:.3px}.settings-shell .comparison td,.settings-shell .comparison th{font-size:9px;padding:8px 7px}.settings-shell .comparison td:last-child{max-width:125px;overflow-wrap:anywhere}.settings-shell .plugin-showcase{padding:17px;min-height:144px}.settings-shell .plugin-showcase>div:first-child{max-width:83%}.settings-shell .plugin-showcase h3{font-size:17px;line-height:1.6}.settings-shell .plugin-showcase p{font-size:8px;max-width:170px}.settings-shell .showcase-label{font-size:5px;letter-spacing:.8px}.settings-shell .showcase-icons{position:absolute;width:89px;height:123px;right:12px;top:10px;opacity:.77}.settings-shell .showcase-icons .app-logo{height:42px;width:42px}.settings-shell .showcase-icons .app-logo:nth-child(1){left:37px;top:3px}.settings-shell .showcase-icons .app-logo:nth-child(2){left:0;top:43px}.settings-shell .showcase-icons .app-logo:nth-child(3){right:0;top:84px}.settings-shell .plugin-grid{gap:10px}.settings-shell .plugin-card{padding:12px 11px;border-radius:13px}.settings-shell .plugin-top>.app-logo{height:41px;width:41px}.settings-shell .plugin-top{margin-bottom:9px}.settings-shell .plugin-type{font-size:6px;padding:2px 3px}.settings-shell .plugin-card h3{font-size:12px}.settings-shell .plugin-card p{min-height:51px;font-size:9px;line-height:1.8}.settings-shell .plugin-preview{height:50px;padding:7px 9px;margin-top:8px}.settings-shell .plugin-foot{margin-top:9px;padding-top:8px;gap:7px;flex-wrap:wrap}.settings-shell .plugin-foot>span{font-size:7px}.settings-shell .plugin-card .plugin-foot button{font-size:8px;padding:4px 7px}.settings-shell .mini-focus>span{font-size:19px}.settings-shell .mini-focus i{width:18px;height:18px;font-size:7px}.settings-shell .mini-quote{font-size:8px}.settings-shell .mini-quote>span{font-size:30px}.settings-shell .mini-calendar>span{font-size:5px}.settings-shell .mini-calendar b{font-size:9px}.settings-shell .mini-calc>span{font-size:9px}.settings-shell .mini-calc i{font-size:7px}.settings-shell .theme-preview{height:62px;font-size:20px}.settings-shell .theme-option>span:last-child{padding:5px 7px;font-size:9px}.settings-shell .upgrade-banner{padding:15px}.settings-shell .upgrade-banner h3{font-size:12px}.settings-shell .upgrade-banner p{font-size:9px}.settings-shell .upgrade-banner button{font-size:9px;padding:7px 10px}.settings-shell .legal{font-size:10px}.settings-shell .legal h3{font-size:12px}.storage-summary{padding:17px;gap:12px;border-radius:13px}.storage-summary-icon{height:43px;width:43px;border-radius:14px}.storage-summary-icon svg{height:24px;width:24px}.storage-summary h3{font-size:24px}.storage-summary h3 small{font-size:10px}.storage-kicker{font-size:6px;letter-spacing:1px}.storage-summary p{font-size:9px}.storage-upgrade{font-size:9px;padding:6px 8px}.cloud-section-heading h3,.backup-card h3{font-size:12px}.cloud-section-heading .muted,.backup-card .muted{font-size:9px}.sync-state{font-size:8px}.settings-shell .cloud-section-heading .secondary{padding:6px 8px;font-size:9px}.file-list{margin-top:10px}.file-description strong{font-size:10px}.file-description small{font-size:8px}.file-symbol{height:29px;width:26px;border-radius:7px}.cloud-file-row{gap:8px;padding:9px 0}.file-download,.file-delete{padding:5px}.files-empty{padding:16px 0}.storage-file-limit{font-size:8px}.backup-card{flex-wrap:wrap;gap:10px}.settings-shell .backup-card .actions{gap:7px}.settings-shell .backup-card .secondary{font-size:9px}.storage-summary .quota{margin:2px 0 0}.settings-shell .row .actions{gap:7px}.settings-shell .inline-links{gap:11px}.settings-shell .inline-links button{font-size:8px}}
@media(max-width:360px){.settings-shell{width:calc(100vw - 12px)}.panel-content{padding:15px 12px 22px}.settings-shell .plugin-card{padding:11px 9px}.settings-shell .plugin-card p{min-height:64px}.settings-shell .plugin-top>.app-logo{width:37px;height:37px}.settings-shell .plugin-type{font-size:5px;padding:2px}.settings-shell .page-intro h2{font-size:19px}.settings-shell .card{padding:12px}.settings-shell .form-grid{grid-template-columns:1fr}.storage-summary{gap:10px;padding:15px}.storage-upgrade{margin-left:0;font-size:8px}.settings-shell .comparison td,.settings-shell .comparison th{font-size:8px;padding:7px 5px}.settings-shell .plugin-showcase h3{font-size:16px}.settings-shell .showcase-icons{opacity:.4}.settings-shell .plugin-showcase>div:first-child{max-width:100%}.settings-shell .mini-focus>span{font-size:17px}}
@media(prefers-reduced-motion:reduce){.overlay,.settings-shell,.overlay[data-closing=true],.overlay[data-closing=true] .settings-shell{animation:none!important}}

/* Keep mobile form text readable and avoid iOS focus zoom. */
@media(max-width:760px){.settings-shell .form-grid input,.settings-shell .stacked-form input,.settings-shell .stacked-form select,.settings-shell .stacked-form textarea{font-size:16px}.settings-shell .stacked-form label{font-size:12px}.settings-shell .row strong{font-size:12px}.settings-shell .row p{font-size:11px}}
