.admin-body{background:#f6f6f6}.admin-header{height:84px;background:white;border-bottom:1px solid #e2e2e2;padding:0 40px;display:flex;justify-content:space-between;align-items:center;gap:15px}.admin-header .brand{font-size:29px}.admin-pill{font-size:8px;font-weight:500;letter-spacing:1.2px;background:#f0f0f0;border:1px solid #e2e2e2;border-radius:3px;padding:5px 7px;margin-left:9px}.admin-header>div{display:flex;align-items:center;gap:25px}.admin-header .text-link{font-size:11px}.admin-header .icon{width:15px;height:15px}.logout-button{background:none;border:0;font-size:11px;color:#777;padding:10px}.auth-view{max-width:880px;display:grid;grid-template-columns:1fr 1fr;background:white;border:1px solid #e3e3e3;border-radius:10px;overflow:hidden;margin:65px auto;width:calc(100% - 40px);min-height:510px}.auth-art{background:#222;color:white;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:50px;position:relative;overflow:hidden}.auth-art>span{font-size:112px;line-height:1}.auth-art>p{font-size:14px;letter-spacing:2px;text-align:center;line-height:1.8;margin-top:32px}.auth-art em{font-size:72px;line-height:1;letter-spacing:-1px}.auth-art small{font-size:6px;letter-spacing:2px;margin-top:40px;color:#bbb}.auth-form-wrap{padding:52px 39px;align-self:center}.auth-form-wrap h1{font-size:43px;font-weight:500;letter-spacing:-1.5px;margin-top:13px}.auth-form-wrap>p:not(.eyebrow){font-size:12px;line-height:1.8;color:#888;margin-top:14px}.auth-form-wrap form{margin-top:25px}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:19px;min-width:0}.field label,.field-label{font-size:11px;font-weight:500}.field label>small{font-size:10px;color:#999;font-weight:400}.field label>span{color:#777}.field input,.field textarea,.field select{width:100%;border:1px solid #ddd;background:white;border-radius:4px;padding:12px 13px;font-size:11px;line-height:1.5;min-height:43px;transition:border-color .2s}.field textarea{resize:vertical;min-height:110px}.field input::placeholder,.field textarea::placeholder{color:#aaa}.field input:focus,.field textarea:focus,.field select:focus{outline:none;border-color:#333;box-shadow:0 0 0 2px #00000008}.field>small{font-size:9px;line-height:1.6;color:#888}.auth-error,.editor-error,.dashboard-error{font-size:11px;line-height:1.8;color:#222;min-height:0}.auth-error:not(:empty){margin-bottom:14px;background:#efefef;padding:10px;border-left:2px solid #222}.auth-form-wrap .button{width:100%;justify-content:space-between}.auth-form-wrap .auth-note{font-size:9px!important;margin-top:25px!important}.dashboard{display:grid;grid-template-columns:220px 1fr;min-height:calc(100vh - 84px)}[hidden]{display:none!important}.admin-sidebar{border-right:1px solid #e2e2e2;background:white;padding:37px 22px;position:relative}.admin-sidebar>.eyebrow{font-size:8px;margin-bottom:21px;margin-left:12px}.sidebar-button{display:flex;align-items:center;gap:10px;width:100%;padding:13px 12px;border:0;background:transparent;text-align:left;font-size:11px;border-radius:5px;color:#777;margin-bottom:7px}.sidebar-button.active{background:#f0f0f0;color:#222;font-weight:500}.sidebar-button .icon{width:16px;height:16px}.sidebar-note{margin-top:65px;padding:20px 12px;border-top:1px solid #eee}.sidebar-note>.icon{height:28px;width:28px}.sidebar-note p{font-size:11px;line-height:1.8;margin-block:12px 21px;color:#777}.sidebar-note a{display:block;font-size:10px;color:#888;margin-top:10px}.admin-content{padding:41px 45px;max-width:1300px;width:100%}.dashboard-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.dashboard-heading h1{font-size:45px;letter-spacing:-1.8px;font-weight:500;margin-top:11px}.dashboard-heading h1 em{font-size:1.1em}.dashboard-heading>div>p:last-child{font-size:12px;color:#888;margin-top:10px}.dashboard-heading .button{font-size:11px;gap:10px;min-height:44px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:34px;margin-bottom:35px}.stats>div{border:1px solid #e2e2e2;background:white;border-radius:6px;padding:23px}.stats span{display:block;font-size:10px;color:#777}.stats strong{font-size:38px;font-weight:500;letter-spacing:-1px;display:block;margin-top:9px}.stats small{font-size:9px;color:#999;display:block;margin-top:6px}.panel-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:19px}.panel-toolbar h2{font-size:18px;letter-spacing:-.5px}.panel-toolbar input{border:1px solid #dfdfdf;background:white;border-radius:4px;padding:10px 13px;font-size:10px;width:210px}.admin-products{display:flex;flex-direction:column;gap:10px}.catalog-row{display:flex;align-items:center;gap:16px;padding:15px;background:white;border:1px solid #e2e2e2;border-radius:6px}.catalog-cover{width:58px;height:72px;background:#ececec;display:grid;place-items:center;border-radius:3px;overflow:hidden;flex-shrink:0}.catalog-cover img{width:100%;height:100%;object-fit:cover;filter:grayscale(1)}.catalog-cover>.icon{width:26px;height:26px;color:#555}.catalog-info{flex:1;min-width:0}.catalog-info h3{font-size:13px;font-weight:500;letter-spacing:-.2px;overflow-wrap:anywhere}.catalog-info>p{font-size:9px;color:#999;margin-top:8px}.catalog-info>p span{margin-inline:6px;color:#ccc}.visibility-pill{border:1px solid #e3e3e3;border-radius:3px;font-size:8px;padding:5px 8px;white-space:nowrap;background:#f5f5f5;color:#777}.visibility-pill.published{background:#222;border-color:#222;color:white}.row-actions{display:flex;gap:5px}.row-actions button{border:0;background:none;padding:10px;font-size:10px;border-radius:3px}.row-actions button:hover{background:#f0f0f0}.row-actions .delete-product{color:#999}.empty-catalog{background:white;border:1px dashed #d3d3d3;border-radius:7px;padding:48px 30px;text-align:center}.empty-catalog>.icon{width:35px;height:35px;color:#777}.empty-catalog h3{font-size:22px;font-weight:500;letter-spacing:-.6px;margin-top:18px}.empty-catalog p{font-size:12px;color:#999;line-height:1.8;margin-top:10px}.empty-catalog .button{font-size:10px;min-height:42px;margin-top:23px}.subscriber-explanation{font-size:11px;line-height:1.8;color:#888;margin-bottom:18px;max-width:620px}.subscriber-list{background:white;border:1px solid #e2e2e2;border-radius:5px;overflow:hidden}.subscriber-row{display:flex;justify-content:space-between;gap:20px;padding:15px 20px;font-size:11px;overflow-wrap:anywhere}.subscriber-row:not(:last-child){border-bottom:1px solid #eee}.subscriber-row span:last-child{font-size:10px;color:#888;white-space:nowrap}.subscriber-empty{padding:30px;text-align:center;color:#888;font-size:11px}.dashboard-error:not(:empty){margin-top:20px;padding:15px;background:#eee}.editor-dialog{border:1px solid #ddd;border-radius:9px;padding:0;max-width:850px;width:calc(100% - 40px);max-height:90vh;color:#222}.editor-dialog::backdrop{background:#0007;backdrop-filter:blur(3px)}.editor-header{display:flex;justify-content:space-between;align-items:center;padding:25px 30px;border-bottom:1px solid #eee}.editor-header h2{font-size:25px;letter-spacing:-.7px;margin-top:9px}.editor-header .eyebrow{font-size:8px}.editor-body{display:grid;grid-template-columns:1fr 220px;gap:28px;padding:27px 30px 15px}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}.cover-upload{margin-top:10px;height:262px;display:grid;place-items:center;background:#f4f4f4;border:1px dashed #ccc;border-radius:5px;cursor:pointer;overflow:hidden;position:relative}.cover-upload:hover,.cover-upload.dragging{border-color:#222;background:#eee}.cover-upload img{width:100%;height:100%;object-fit:contain;filter:grayscale(1);padding:15px}.cover-upload>span{display:flex;align-items:center;flex-direction:column;gap:9px;text-align:center}.cover-upload .icon{width:27px;height:27px;color:#777;margin-bottom:5px}.cover-upload strong{font-size:11px;font-weight:500}.cover-upload small{font-size:9px;color:#999}.upload-note{font-size:9px;line-height:1.9;color:#999;margin-top:10px}.remove-cover{font-size:10px;background:none;border:0;padding:8px 0;text-decoration:underline;color:#777}.publishing-note{padding:21px 16px;background:#f4f4f4;border-radius:5px;margin-top:28px}.publishing-note>.icon{width:22px;height:22px;display:block;margin-bottom:13px}.publishing-note>strong{font-weight:500;font-size:12px}.publishing-note>p{font-size:10px;line-height:1.9;color:#999;margin-top:8px}.editor-footer{border-top:1px solid #eee;padding:20px 30px;display:flex;justify-content:space-between;align-items:center;gap:15px;background:#fafafa}.editor-footer>span{font-size:9px;color:#999}.editor-footer>div{display:flex;gap:10px}.editor-footer .button{min-height:43px;font-size:10px;gap:12px;padding:11px 17px}.editor-error:not(:empty){padding:0 30px 20px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#222;color:white;padding:15px 22px;border-radius:5px;box-shadow:0 5px 25px #0002;font-size:11px;z-index:10;max-width:calc(100% - 30px);text-align:center}
@media(max-width:1000px){.dashboard{grid-template-columns:180px 1fr}.admin-sidebar{padding-inline:13px}.admin-content{padding:33px 25px}.stats>div{padding:18px}.stats{gap:12px}.catalog-row{gap:12px}.row-actions{flex-direction:column}.row-actions button{padding:7px}.editor-body{grid-template-columns:1fr 185px;gap:21px}.cover-upload{height:235px}}
@media(max-width:700px){.admin-header{padding:0 21px;height:74px}.admin-header .brand{font-size:25px}.admin-pill{font-size:7px;padding:4px 6px}.admin-header>div{gap:7px}.admin-header .text-link{font-size:9px;gap:7px}.logout-button{font-size:9px;padding:8px}.auth-view{grid-template-columns:1fr;margin-top:30px;max-width:430px;min-height:0}.auth-art{padding:25px;flex-direction:row;gap:25px}.auth-art>span{font-size:57px}.auth-art>p{margin:0;font-size:9px;letter-spacing:1px}.auth-art em{font-size:40px}.auth-art small{display:none}.auth-form-wrap{padding:33px 27px}.auth-form-wrap h1{font-size:38px}.dashboard{display:block}.admin-sidebar{display:flex;gap:8px;padding:15px 20px;border-bottom:1px solid #ddd;border-right:0}.admin-sidebar>.eyebrow,.sidebar-note{display:none}.sidebar-button{width:auto;flex:1;margin:0;padding:11px 12px;font-size:10px;justify-content:center;gap:9px}.admin-content{padding:30px 20px}.dashboard-heading{align-items:flex-start;gap:15px}.dashboard-heading h1{font-size:34px;margin-top:9px}.dashboard-heading .eyebrow{font-size:7px;letter-spacing:1px}.dashboard-heading>div>p:last-child{font-size:10px;line-height:1.7;max-width:220px}.dashboard-heading .button{font-size:9px;padding:11px 12px;gap:5px;white-space:nowrap;margin-top:26px}.dashboard-heading .button .icon{width:15px;height:15px}.stats{gap:9px;margin-block:26px}.stats>div{padding:14px 10px}.stats span{font-size:8px;line-height:1.6;min-height:26px}.stats strong{font-size:30px;margin-top:5px}.stats small{font-size:7px;line-height:1.7}.panel-toolbar{gap:15px}.panel-toolbar h2{font-size:16px}.panel-toolbar input{width:160px;font-size:9px}.catalog-row{gap:11px;padding:12px;flex-wrap:wrap}.catalog-cover{width:45px;height:57px}.catalog-info h3{font-size:12px}.catalog-info>p{font-size:8px;line-height:1.7}.visibility-pill{font-size:7px;margin-left:auto}.row-actions{flex-direction:row;width:100%;justify-content:flex-end;border-top:1px solid #eee;padding-top:6px}.row-actions button{padding:7px 10px}.empty-catalog{padding:32px 21px}.empty-catalog h3{font-size:20px}.empty-catalog p{font-size:11px}.editor-dialog{width:calc(100% - 24px)}.editor-header{padding:22px}.editor-body{grid-template-columns:1fr;padding:24px 22px 14px;gap:12px}.editor-side{display:grid;grid-template-columns:1fr;max-width:100%}.cover-upload{height:220px;margin-top:12px}.publishing-note{display:none}.editor-footer{padding:18px 22px;display:block}.editor-footer>span{display:block;margin-bottom:12px}.editor-footer>div{display:grid;grid-template-columns:1fr 1fr}.editor-footer .button{font-size:9px;padding:11px 12px;gap:7px}.editor-error:not(:empty){padding-inline:22px}.subscriber-row{padding:13px;gap:10px;font-size:10px}.subscriber-row span:last-child{font-size:8px}.panel-toolbar .button-small{font-size:8px;gap:7px;padding:10px}.subscriber-explanation{font-size:10px}}
.admin-header .brand .wordmark{width:160px;height:auto}.admin-note-logo{width:104px;height:auto;display:block;margin-bottom:15px}.publishing-note .admin-note-logo{width:85px}.post-admin-description{font-size:9px;color:#888;line-height:1.8;margin-top:7px}.post-admin-actions{display:flex;align-items:center;gap:5px}.post-admin-actions a{font-size:9px;color:#777;padding:10px}.sidebar-button{white-space:nowrap}
@media(max-width:700px){.admin-header .brand .wordmark{width:120px}.admin-pill{margin-left:3px}.admin-sidebar{padding-inline:12px;gap:3px}.sidebar-button{font-size:9px;padding:11px 8px;gap:6px}.sidebar-button .icon{width:13px;height:13px}}
.journal-admin-search{border:1px solid #ddd;background:white;border-radius:4px;font-size:10px;padding:11px 13px;margin-bottom:20px;width:min(320px,100%)}.article-editor-dialog{max-width:940px}.article-editor-body{padding:27px 30px}.article-editor-body>.two-fields{grid-template-columns:1.5fr 1fr}.article-body-field{margin-top:7px}.writing-label{display:flex;align-items:center;justify-content:space-between;gap:15px}.writing-mode{display:flex;gap:3px;background:#f0f0f0;padding:3px;border-radius:4px}.writing-mode button{font-size:9px;border:0;background:none;padding:7px 12px;border-radius:3px;color:#888}.writing-mode button.active{background:white;color:#222;box-shadow:0 1px 4px #00000009}.writing-tools{display:flex;gap:5px;flex-wrap:wrap;border:1px solid #ddd;border-bottom:0;background:#f8f8f8;padding:7px 9px;border-radius:4px 4px 0 0}.writing-tools button{border:0;background:none;padding:6px 10px;border-radius:3px;font-size:9px;color:#555}.writing-tools button:hover{background:#e9e9e9}.article-body-field textarea{border-radius:0 0 4px 4px;margin-top:-8px;font-size:13px;line-height:1.9;min-height:270px;padding:18px}.writing-preview{border:1px solid #ddd;border-radius:5px;margin-top:0;min-height:270px;padding:24px 28px;max-height:450px;overflow-y:auto;font-size:14px}.writing-preview>:first-child{margin-top:0}.sources-editor-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-block:7px 16px}.sources-editor-heading label{font-size:11px;font-weight:500}.sources-editor-heading p{font-size:9px;color:#888;line-height:1.8;margin-top:7px}.sources-editor-heading .button{margin:0;font-size:9px;min-height:35px;gap:8px;padding:8px 11px;white-space:nowrap}.source-row{display:grid;grid-template-columns:1fr 1.5fr 30px;gap:10px;align-items:end;margin-bottom:13px}.source-row>.field{margin:0;gap:7px}.source-row label{font-size:9px;color:#777}.source-row input{font-size:10px;min-height:38px;padding:10px}.source-row>.icon-button{height:38px;width:30px;border-radius:3px}.source-row .icon{width:15px;height:15px;color:#777}.article-extra-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px;border-top:1px solid #e5e5e5;margin-top:25px;padding-top:24px}.article-extra-fields .field-label>small{font-size:10px;color:#999;font-weight:400}.article-cover-upload,.article-pdf-upload{padding:17px;background:#f6f6f6;border:1px dashed #ddd;border-radius:5px;margin-top:11px;min-height:113px}.article-extra-fields input[type=file]{max-width:100%;width:100%;font-size:9px;color:#777}.article-extra-fields input::file-selector-button{font:inherit;border:1px solid #ddd;background:white;padding:8px 10px;border-radius:3px;margin-right:9px;cursor:pointer}.article-extra-fields p{font-size:9px;color:#888;line-height:1.8;margin-top:10px;overflow-wrap:anywhere}.article-cover-upload img{width:100%;height:135px;object-fit:contain;filter:grayscale(1);margin-bottom:15px}.feature-toggle{display:flex;align-items:center;gap:10px;font-size:10px;color:#777;margin-top:24px;cursor:pointer}.feature-toggle input{accent-color:#222;width:14px;height:14px}.journal-admin-row .catalog-cover{width:45px;height:57px}.journal-admin-row .catalog-cover .icon{width:22px;height:22px}
@media(max-width:700px){.admin-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.sidebar-button{justify-content:flex-start;width:100%;font-size:10px;padding:11px 14px;gap:8px;min-width:0}.sidebar-button .icon{width:15px;height:15px}.article-editor-body{padding:24px 22px}.article-editor-body>.two-fields{grid-template-columns:1fr}.article-extra-fields{grid-template-columns:1fr;gap:22px}.source-row{grid-template-columns:1fr 30px;gap:9px;align-items:start;padding-bottom:15px;margin-bottom:17px;border-bottom:1px solid #eee}.source-row>.field:first-child{grid-column:1;grid-row:1}.source-row>.field:nth-child(2){grid-column:1;grid-row:2}.source-row>.icon-button{grid-column:2;grid-row:1;margin-top:18px}.writing-preview{padding:20px;font-size:13px}.writing-tools{gap:2px;padding:7px}.writing-tools button{font-size:9px;padding:6px 8px}.article-body-field textarea{font-size:12px;padding:15px}.sources-editor-heading p{font-size:8px}.feature-toggle{font-size:9px;line-height:1.7}.article-editor-dialog .editor-footer>div{grid-template-columns:1fr 1fr}.article-editor-dialog .editor-footer .button{font-size:9px;padding:11px 12px}}
