/* Dimensions measured in CSS pixels on the reference at the same viewport. */
.menu-toggle{display:flex;flex-direction:column;justify-content:center;gap:4px;padding:5px}.submission-card{border:0}.submission-card .submission-fields{column-gap:10px;row-gap:24px}.submission-field>span>b{color:#111}.submission-field input,.submission-field select,.submission-field textarea{border-color:#e9e9e9}.submission-subcategories{color:#999;font-size:13px;padding:0 0 0}.submission-subcategories small{font-size:13px}.publication-fields{margin-bottom:24px}.viewing-field{margin-top:12px}.chapters-check input{appearance:none;width:44px;height:24px;border:1px solid #d5d8dc;border-radius:20px;background:#dfe2e6;position:relative;margin:0}.chapters-check input:after{content:"";position:absolute;width:20px;height:20px;right:1px;top:1px;background:white;border-radius:50%;box-shadow:0 1px 3px #0002;transition:transform .15s}.chapters-check input:checked{background:#ff5359}.chapters-check input:checked:after{transform:translateX(-19px)}.chapters-check input:focus-visible{outline:2px solid #ff5359;outline-offset:3px}.chapters-check span{flex:1}.chapters-check small{margin-top:12px}
body{font-size:14px;line-height:1.5;background:#f4f4f4}.shell{width:min(1050px,calc(100% - 24px))}.topbar{height:54px;grid-template-columns:120px 130px 174px minmax(0,1fr);gap:26px}.brand-name{font-size:24px}.brand-mark{width:32px;height:32px}.brand-mark svg{width:31px;height:31px}.header-publish,.search-box input{font-size:16px;font-weight:700}.header-publish svg{width:21px;height:21px}.search-box{width:174px;height:35px;gap:8px}.search-box svg{width:23px;height:23px}.header-actions{gap:16px}.header-actions .button{height:35px;font-size:16px;padding:0 17px;border-radius:10px}.menu-toggle{height:35px;width:30px;margin-left:12px}.menu-toggle span{width:18px}.subnav{height:59px}.nav-link{font-size:10px;gap:3px}.nav-link svg{width:21px;height:21px}.main-content{padding-top:8px}.quick-note{min-height:57px;padding:11px 16px;margin-bottom:18px;border-radius:8px}.quick-note p{font-size:14px}.quick-note .note-icon{width:23px;height:23px}.quick-note .text-button{font-size:11px}.filters{grid-template-columns:repeat(4,200px);gap:16px;padding-bottom:28px}.filter-field{gap:6px}.filter-field>span:first-child{font-size:14px;font-weight:600}.select-wrap{height:39px;border-radius:12px;padding-inline:13px}.select-wrap select{font-size:14px}.result-meta{font-size:11px}.book-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:28px}.catalog-card{padding:11px 10px 10px;min-height:298px;border-radius:18px;box-shadow:0 8px 25px #00000015}.catalog-cover-wrap{width:120px;height:176px;border-radius:10px}.catalog-card h3{font-size:15px;font-weight:700;line-height:21px;min-height:38px;margin:12px 0 3px}.catalog-author{font-size:14px;line-height:21px;margin:0 0 9px}.catalog-card-meta{gap:6px;padding:0 5px}.catalog-rating,.catalog-rating-count{font-size:14px}.catalog-rating b{font-size:16px}.catalog-save svg{width:20px;height:20px}
.book-shell{width:min(1050px,calc(100% - 24px));margin:29px auto 30px}.book-heading{margin-bottom:32px;padding:0 0 8px}.book-heading h1{font-size:16px;font-weight:700;line-height:19.2px;margin:0 0 4px}.breadcrumbs{font-size:12px;line-height:18px}.book-hero{grid-template-columns:304px minmax(0,1fr) 29px;gap:40px;min-height:258px;padding:15px 20px 15px 12px;margin-bottom:14px}.panel{border-radius:18px;box-shadow:0 10px 28px #00000015}.detail-cover{width:150px;height:211px;border-radius:15px;padding:2px}.book-cover-real{inset:2px;width:calc(100% - 4px);height:calc(100% - 4px);border-radius:12px}.hero-copy h1{font-size:18px;font-weight:700;line-height:21.6px;margin-bottom:5px}.byline,.taxonomy-row,.book-metadata-row{font-size:14px;line-height:24px;font-weight:600}.book-numbers{font-size:13px;gap:26px;margin-top:8px}.rating-summary a{font-size:11px}.hero-actions{gap:14px;margin-top:18px}.hero-actions .button{height:37px;min-width:138px;font-size:16px;border-radius:10px}.hero-actions .download-button{min-width:102px}.recommend-row{font-size:16px;gap:12px;margin-top:18px;line-height:24px}.recommend-row button{font-size:16px;padding:5px 13px;border-radius:10px}.detail-icon svg{width:21px;height:21px}.details-panel{padding:19px 24px 21px;margin-bottom:14px}.underlined-title{font-size:18px;font-weight:700;line-height:22px;margin-bottom:18px}.detail-facts{gap:30px;margin:24px 0 11px}.detail-facts div,.detail-facts b{font-size:14px;font-weight:600}.book-description{font-size:17px;font-weight:600;line-height:28px}.author-panel{padding:14px 12px;margin-bottom:20px}.author-avatar{width:70px;height:70px}.author-ident>a{font-size:14px;font-weight:600}.author-ident>span{font-size:11px}.author-panel>p{font-size:14px;font-weight:600;line-height:24px}.follow-button{height:34px;min-width:75px;font-size:14px}.book-utility{gap:8px}.details-panel .underlined-title:after{height:2px}
.submission-shell{width:min(1050px,calc(100% - 24px));margin:44px auto}.submission-card{padding:19px 20px;border-radius:18px}.submission-fields{gap:20px 22px}.submission-field{font-size:14px;font-weight:600;gap:7px}.submission-field input,.submission-field select,.submission-field textarea{font-size:15.2px;height:44px;border-radius:10px;padding:10px 12px;font-weight:400}.submission-field textarea{height:183px;min-height:183px}.submission-field small{font-size:12px}.chapters-check{margin:19px 0;font-size:15px}.chapters-check small{font-size:13px}.rights-check{font-size:14px}.upload-box strong{font-size:14px}.upload-box small,.file-choice{font-size:12px}.file-choice{padding:8px 13px}.submission-submit{min-height:37px;font-size:15px}.author-directory-card strong{font-size:14px}.author-directory-card small{font-size:12px}
@media(max-width:1050px){.topbar{grid-template-columns:110px 115px 160px 1fr;gap:16px}.header-actions{gap:10px}.header-actions .button{padding-inline:12px}.search-box{width:160px}.filters{grid-template-columns:repeat(4,minmax(0,1fr))}.book-grid{gap:22px}.book-hero{grid-template-columns:260px minmax(0,1fr) 27px;gap:26px}}
@media(max-width:760px){.topbar{height:54px;grid-template-columns:95px minmax(0,1fr) 28px;gap:8px}.search-box{width:100%}.search-box input{font-size:14px;font-weight:500}.brand-name{font-size:21px}.header-publish{display:none}.header-actions .button{display:none}.menu-toggle{margin:0}.subnav{height:58px}.nav-link{min-width:0;font-size:10px}.filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-bottom:22px}.book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.quick-note p{font-size:12px}.book-hero{grid-template-columns:120px minmax(0,1fr) 24px;gap:12px;padding:14px;min-height:0}.detail-cover{width:114px;height:169px}.hero-copy h1{font-size:16px}.byline,.taxonomy-row,.book-metadata-row{font-size:12px;line-height:21px}.book-numbers{font-size:12px;gap:10px}.hero-actions{gap:7px;margin-top:12px}.hero-actions .button,.hero-actions .download-button{min-width:87px;height:34px;font-size:13px}.recommend-row{font-size:12px;gap:7px;flex-wrap:wrap;margin-top:12px}.recommend-row button{font-size:12px}.detail-facts{flex-wrap:wrap;gap:18px}.details-panel{padding:18px}.book-description{font-size:15px;line-height:25px}.submission-shell{margin-top:28px}.submission-card{padding:18px}.submission-field textarea{height:183px}.catalog-card{min-height:295px}}
@media(max-width:480px){.book-hero{grid-template-columns:100px minmax(0,1fr);gap:10px}.hero-cover{grid-column:1}.hero-copy{grid-column:2}.book-utility{grid-column:1;grid-row:2;flex-direction:row}.detail-cover{width:96px;height:143px}.hero-actions{flex-wrap:wrap}.hero-actions .button,.hero-actions .download-button{min-width:82px}.submission-fields{grid-template-columns:1fr}}

/* Final form spacing and persistent menu affordance. */
.menu-toggle span{display:block;height:2px;flex:none}.menu-toggle:after{content:"";display:block;width:18px;height:2px;background:#ff5359}.submission-card{padding:22px 16px}.submission-card .submission-fields{row-gap:28px}.submission-field input,.submission-field select{height:44.4px}.submission-field textarea{height:185.2px;min-height:185.2px}.submission-field:has(#bookDescription){position:relative}.submission-field:has(#bookDescription)>small{position:absolute;left:12px;bottom:7px;pointer-events:none}.chapters-check{position:relative;min-height:64px;align-items:flex-start}.chapters-check span{order:0;flex:none}.chapters-check input{order:1}.chapters-check small{position:absolute;right:0;top:22px}.submission-field input,.submission-field select,.submission-field textarea{padding-inline:16px}

.site-menu-overlay{position:fixed;inset:0;z-index:100}.site-menu-backdrop{position:absolute;inset:0;border:0;background:#0006;width:100%;height:100%}.site-menu{position:absolute;left:0;top:0;bottom:0;width:min(320px,85vw);padding:65px 24px 24px;background:white;display:flex;flex-direction:column;gap:4px;box-shadow:8px 0 30px #0002}.site-menu>a,.site-menu>button:not(.site-menu-close){padding:14px 8px;font:600 17px Inter,Arial,sans-serif;color:#222;text-align:left;background:none;border:0;cursor:pointer;border-bottom:1px solid #eee}.site-menu-close{position:absolute;top:14px;left:18px;font-size:30px;background:none;border:0;cursor:pointer}.site-menu-open{overflow:hidden}@media(max-width:760px){.search-box{position:static;top:auto;right:auto;left:auto;box-shadow:none}.book-heading{margin-bottom:22px}.book-shell{margin-top:24px}}

#sizeValue,#formatValue{direction:ltr;unicode-bidi:isolate}

.member-menu-links{display:grid}.member-menu-links a{padding:14px 8px;font:600 17px Inter,Arial,sans-serif;border-bottom:1px solid #eee;color:#222}
@media(max-width:760px){
  .topbar{display:flex;width:calc(100% - 50px);gap:18px;height:54px}
  .topbar .brand{margin-inline-end:auto;flex:none}
  .topbar .header-publish{display:inline-flex;font-size:0;gap:0;width:20px;flex:none}
  .topbar .header-publish svg{width:20px;height:24px}
  .topbar .search-box{width:20px;height:28px;flex:none;padding:0;border:0;background:none;cursor:pointer}
  .topbar .search-box input,.topbar .search-box kbd{display:none}
  .topbar .search-box svg{width:20px;height:24px;flex:none}
  .topbar .header-actions{gap:18px;flex:none}
  .topbar .member-header-tools{order:-1}
  .topbar .member-notifications{width:20px;height:28px;padding:0}
  .topbar .menu-toggle{width:24px;padding:0;margin:0}
  .topbar .menu-toggle span,.topbar .menu-toggle:after{width:20px}
  .subnav{border-radius:0 0 26px 26px}
}
@media(max-width:380px){.topbar{width:calc(100% - 30px);gap:12px}.topbar .header-actions{gap:12px}.topbar .brand-name{font-size:19px}}

.quick-note .note-icon{font-weight:700}.catalog-plus-badge{position:absolute;top:5px;left:5px;width:22px;height:22px;display:grid;place-items:center;border-radius:50%;padding:0;background:#ffd200;color:#111;font-size:18px;line-height:1}.catalog-cover-wrap{position:relative}

.result-meta{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);padding:0}.quick-note .text-button{display:none}

.related-card{display:flex;flex-direction:column;align-items:stretch;min-width:0}.related-card h3,.related-author,.related-rating{min-width:0;max-width:100%;overflow-wrap:anywhere}.related-rating{white-space:normal}.related-cover-image,.related-cover-placeholder{width:100%;max-width:100%;flex:none}.related-reason{margin:0;color:#27656b;font-size:11px;font-weight:700}.breadcrumbs{flex-wrap:wrap}@media(max-width:760px){.related-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.related-card{padding:10px}.related-card h3{font-size:13px}.related-cover-placeholder{height:145px}}
