/* Reference boards: editorial white, crisp rules and cover-led layouts. Loaded last. */
body.editorial{--ink:#101216;--muted:#667085;--accent:#101216;--line:#e4e7ec;--surface:#f6f7f9;background:#fff!important;color:#101216!important}
body.editorial .shell{max-width:1180px;width:calc(100% - 64px)}
body.editorial :focus-visible{outline:2px solid #101216!important;outline-offset:4px}
body.editorial a,body.editorial p,body.editorial strong,body.editorial h1,body.editorial h2{overflow-wrap:anywhere}
body.editorial input,body.editorial select,body.editorial textarea{min-width:0;font-size:16px!important}
body.editorial button:not(.discovery-carousel button),body.editorial .btn{min-height:44px}
body.editorial .btn.dark,body.editorial .btn.primary{background:#101216!important;border-color:#101216!important}
body.editorial .header-row{display:grid!important;grid-template-columns:220px minmax(180px,1fr) auto;gap:0 36px;height:auto!important;min-height:0!important;padding-top:12px!important}
body.editorial .header-left{display:contents!important}
body.editorial .brand{grid-column:1;grid-row:1;min-height:44px}
body.editorial .brand-name{font-size:32px!important;letter-spacing:-1.6px!important}
body.editorial .brand-logo,body.editorial .footer-brand-logo{display:none!important}
body.editorial .header-search{grid-column:2;grid-row:1;width:min(100%,560px)!important;height:44px!important;margin:0!important;border-radius:4px!important;background:#f6f7f9!important}
body.editorial .header-search input{font-size:14px!important}
body.editorial .header-tools{grid-column:3;grid-row:1;gap:12px!important;margin-left:0!important}
body.editorial .main-nav{grid-column:1/-1;grid-row:2;display:flex!important;gap:28px!important;overflow-x:auto;scrollbar-width:none;width:100%;margin-top:0;align-items:stretch}
body.editorial .main-nav a{padding:11px 10px!important;min-height:44px;flex-shrink:0;color:#596475!important}
body.editorial .main-nav a.on{color:#101216!important}
body.editorial .main-nav a.on:after{background:#101216!important;bottom:0!important}
body.editorial .header-search-shortcut{display:none;align-items:center;justify-content:center;min-width:44px;min-height:44px;font-size:24px}
body.editorial .header-notification-panel,body.editorial .header-account-panel{border-color:#dce1e8!important;box-shadow:0 10px 30px #1012160c!important;border-radius:5px!important}
body.editorial .reference-workspace{display:grid;grid-template-columns:180px minmax(0,1fr);gap:32px;width:calc(100% - 64px);max-width:1240px;margin:32px auto 64px!important;padding:0!important}
body.editorial .reference-workspace-nav{border-right:1px solid #e4e7ec;padding:0 16px 0 0;display:flex;flex-direction:column;gap:8px;align-self:stretch}
body.editorial .reference-workspace-nav a{display:flex;align-items:center;min-height:48px;padding:12px 14px;border-left:3px solid transparent;color:#596475;border-radius:0 4px 4px 0;font-size:14px}
body.editorial .reference-workspace-nav a.on{border-left-color:#101216;background:#f6f7f9;color:#101216;font-weight:700}
body.editorial .reference-workspace-main{min-width:0}
body.editorial .reference-workspace-main>.shell{width:100%;max-width:none;margin:0;padding:0}
body.editorial .reference-workspace .creator-studio-tabs{display:none}
body.editorial .reference-workspace .settlement-head{padding-top:0}
body.editorial .reference-workspace .route-page{padding:0}
body.editorial .reference-catalog{margin:32px auto 64px}
body.editorial .reference-page-head{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:24px}
body.editorial .reference-page-head h1{margin:0;font-size:32px}
body.editorial .reference-page-head p{color:#667085;font-size:13px;margin:0}
body.editorial .reference-search{display:flex;align-items:center;gap:8px;margin-bottom:16px;width:100%;max-width:500px}
body.editorial .reference-search input{flex:1;min-width:0;height:44px;padding:10px 14px;background:#fff;border:1px solid #cfd5df;border-radius:4px}
body.editorial .reference-search button,body.editorial .reference-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:1px solid #101216;border-radius:4px;padding:10px 18px;background:#101216;color:#fff!important;font-size:14px;text-decoration:none;cursor:pointer}
body.editorial .reference-button.secondary{background:#fff;color:#101216!important;border-color:#b9c2d0}
body.editorial .reference-filter-row{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin:16px 0 24px;padding-bottom:16px;border-bottom:1px solid #e4e7ec}
body.editorial .reference-filter-row label{min-width:0}
body.editorial .reference-filter-row select{height:44px;max-width:100%;border:1px solid #cfd5df;border-radius:4px;padding:8px 32px 8px 12px;background:#fff;font-size:14px!important}
body.editorial .reference-book-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 24px}
body.editorial .reference-book{display:block;min-width:0}
body.editorial .reference-cover{display:block;aspect-ratio:2/3;width:100%;overflow:hidden;border-radius:4px;background:#f4f5f7}
body.editorial .reference-cover>img{width:100%;height:100%;object-fit:cover;display:block}
body.editorial .reference-cover .default-cover{width:100%;height:100%;min-height:0}
body.editorial .reference-book>strong{display:block;margin:10px 0 3px;font-size:17px;line-height:1.45}
body.editorial .reference-book>span:not(.reference-cover),body.editorial .reference-book>small{display:block;color:#667085;font-size:13px;line-height:1.7}
body.editorial .reference-book .reference-access{color:#9a3c37;font-size:12px}
body.editorial .reference-pagination{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:32px}
body.editorial .reference-ranking-list{border-top:1px solid #e4e7ec}
body.editorial .reference-rank{display:grid;grid-template-columns:48px 78px minmax(0,1fr);gap:20px;align-items:center;border-bottom:1px solid #e4e7ec;padding:16px 0;min-width:0}
body.editorial .reference-rank-number{font-size:30px;letter-spacing:-1px!important}
body.editorial .reference-rank>span:last-child{min-width:0}
body.editorial .reference-rank>span:last-child strong,body.editorial .reference-rank>span:last-child span,body.editorial .reference-rank>span:last-child small{display:block}
body.editorial .reference-rank>span:last-child strong{font-size:17px;margin-bottom:4px}
body.editorial .reference-rank>span:last-child span,body.editorial .reference-rank>span:last-child small{color:#667085;font-size:13px}
body.editorial .reference-author-list{border-top:1px solid #e4e7ec}
body.editorial .reference-author{display:grid;grid-template-columns:86px minmax(0,1fr);gap:24px;padding:28px 0;border-bottom:1px solid #e4e7ec;align-items:start}
body.editorial .reference-avatar{width:86px;height:86px;border-radius:50%;overflow:hidden;background:#f4f5f7;display:block}
body.editorial .reference-avatar img,body.editorial .reference-avatar svg{width:100%;height:100%;object-fit:cover}
body.editorial .reference-author strong{font-size:21px}.reference-author p{margin:6px 0;color:#596475}.reference-author small{color:#667085}
body.editorial .reference-author-open{display:block;text-align:right;margin-top:12px;font-size:13px}
body.editorial .reference-search-authors{margin-top:40px}
body.editorial .reference-empty{text-align:center;padding:64px 20px;border-bottom:1px solid #e4e7ec}
body.editorial .reference-empty>span{font-size:40px}.reference-empty h2{font-size:22px}.reference-empty p{color:#667085}
body.editorial .reference-loading{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
body.editorial .reference-loading>span{display:block;aspect-ratio:2/3;background:linear-gradient(100deg,#f0f1f3 35%,#f7f8fa 50%,#f0f1f3 65%);background-size:200% 100%;animation:reference-shimmer 1.5s linear infinite;border-radius:4px}
body.editorial .reference-loading p{grid-column:1/-1;text-align:center;color:#667085}
body.editorial .reference-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body.editorial .reference-cover-fallback{display:flex;align-items:center;justify-content:center;min-height:100%;height:100%;width:100%;padding:20px;background:#f3f4f6;color:#667085;font-size:13px;text-align:center}
body.editorial .discovery-page.home-exact{padding-top:0!important}
body.editorial .discovery-hero.reference-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.65fr);background:#f8f8f7;border:0!important;border-radius:0;gap:0;padding:0;margin:0 0 26px;min-height:280px}
body.editorial .reference-hero-copy{align-self:center;min-width:0;padding:24px 30px}.reference-hero-copy .reference-pick{font-size:12px;letter-spacing:.16em!important;color:#946b49}
body.editorial .reference-hero-copy h2{font-size:38px!important;letter-spacing:-.06em!important;line-height:1.3;margin:18px 0 14px}
body.editorial .reference-hero-copy p{color:#667085;line-height:1.75;font-size:14px}
body.editorial .reference-hero-copy>a{display:inline-flex;min-height:44px;align-items:center;margin-top:8px;font-weight:600;text-decoration:underline;text-underline-offset:5px}
body.editorial .reference-hero-covers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-radius:0;overflow:hidden;align-self:stretch;height:280px}
body.editorial .reference-hero-covers>a{display:block;min-width:0;height:100%;overflow:hidden}
body.editorial .reference-hero-covers>a>img{display:block;width:100%;height:100%;object-fit:cover}
body.editorial .reference-hero-covers .default-cover{height:100%;min-height:0;border-radius:0}
body.editorial .reference-home-account{border-top:1px solid #e4e7ec;padding:20px 0;margin-top:12px}
body.editorial .reference-home-account .discovery-login{background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;display:flex;align-items:center;justify-content:space-between;gap:16px}
body.editorial .reference-home-account .discovery-login form{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
body.editorial .homeNew-grid,body.editorial .home-new-grid,body.editorial .home-new-rail,body.editorial .home-exact .compact-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:24px!important}
body.editorial .home-exact .home-new-card{min-width:0}.home-exact .home-new-cover{aspect-ratio:2/3;height:auto!important}
body.editorial .home-exact .home-panel{border:0!important;border-radius:0!important;box-shadow:none!important}
body.editorial .discovery-bottom .reference-rank{grid-template-columns:36px 60px minmax(0,1fr);gap:14px}
body.editorial .discovery-bottom .reference-rank-number{font-size:26px}
body.editorial .home-panel-head{display:flex;justify-content:space-between;gap:16px;align-items:center}
body.editorial .home-exact .discovery-bottom{display:block!important;margin-top:32px}
body.editorial .creator-studio .studio-row,body.editorial .creator-studio .studio-work-row,body.editorial .creator-studio .creator-work-row{border:0!important;border-bottom:1px solid #e4e7ec!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}
body.editorial .creator-studio .studio-summary{background:#f6f7f9!important;border:0!important;border-radius:5px!important}
body.editorial .profile-hero,body.editorial .author-hero{background:#fff!important;box-shadow:none!important;border-radius:0!important;border-bottom:1px solid #e4e7ec!important}
body.editorial .profile-avatar,body.editorial .author-avatar{border-radius:50%!important}
body.editorial .admin-wrap{max-width:1240px}.admin-shell{min-width:0}
body.editorial .admin-nav button{background:#fff!important;color:#596475!important;text-align:left!important;border:0!important;border-left:3px solid transparent!important;border-radius:0!important;min-height:48px}
body.editorial .admin-nav button.on{background:#f6f7f9!important;color:#101216!important;border-left-color:#101216!important}
body.editorial .admin-table th,body.editorial .settlement-table th{background:#f6f7f9!important;color:#364152!important}
body.editorial .admin-table td,body.editorial .admin-table th{border-color:#e4e7ec!important}
body.editorial .allo-balance{background:#f6f7f9!important;border:0!important;border-radius:5px!important;color:#101216!important}
body.editorial .allo-balance strong{font-size:44px!important;color:#101216!important}
body.editorial .allo-button,body.editorial .allo-btn,body.editorial .settlement-button{background:#101216!important;border-color:#101216!important;color:#fff!important;border-radius:4px!important;min-height:44px}
body.editorial .allo-button.secondary,body.editorial .allo-btn.secondary,body.editorial .settlement-button.secondary{background:#fff!important;color:#101216!important;border-color:#b9c2d0!important}
body.editorial .settlement-stat.is-income{background:#f6f7f9!important;border-color:#e4e7ec!important}
body.editorial .settlement-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
body.editorial .settlement-stat{border-radius:4px!important;box-shadow:none!important}
body.editorial .settlement-stat strong,body.editorial .settlement-kicker{color:#101216!important}
body.editorial .settlement-notice,.editorial .settlement-footnote{background:#f6f7f9!important;border-color:#e4e7ec!important;color:#596475!important}
body.editorial .auth-modal{border-radius:6px!important;box-shadow:0 20px 80px #10121620!important;background:#fff!important}
body.editorial .auth-modal .auth-side{background:#f6f7f9!important;color:#101216!important}
body.editorial .auth-modal .auth-submit,body.editorial .auth-modal .auth-buttons .auth-email-button{background:#101216!important;color:#fff!important;border-color:#101216!important}
body.editorial .auth-modal .auth-submit:disabled{background:#d1d5db!important;border-color:#d1d5db!important;color:#667085!important}
body.editorial .auth-modal .auth-switch button.on{color:#101216!important;border-color:#101216!important;background:#fff!important}
body.editorial .auth-modal .auth-brand-mark,body.editorial .auth-modal .auth-step-mark{color:#101216!important;background:#f1f2f4!important}
body.editorial .content-report-dialog,body.editorial .reader-dialog,body.editorial dialog{border-radius:6px!important;border-color:#dce1e8!important;background:#fff!important}
body.editorial .toast{background:#101216!important;color:#fff!important;border-radius:4px!important}
@keyframes reference-shimmer{to{background-position:-200% 0}}
@media(max-width:900px){body.editorial .header-row{grid-template-columns:170px minmax(120px,1fr) auto;gap:0 20px}.reference-workspace{grid-template-columns:150px minmax(0,1fr)!important;gap:20px!important}.reference-hero-copy h2{font-size:30px!important}body.editorial .settlement-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:700px){body.editorial .shell{width:calc(100% - 32px)}body.editorial .header-row{grid-template-columns:minmax(0,1fr) auto!important;padding-top:12px!important;gap:0 12px!important}body.editorial .brand-name{font-size:27px!important}body.editorial .header-search{display:none!important}body.editorial .header-tools{grid-column:2!important;gap:4px!important}body.editorial .header-search-shortcut{display:inline-flex}body.editorial .main-nav{gap:0!important;margin-top:0;justify-content:space-between}body.editorial .main-nav a[data-nav="library"],body.editorial .main-nav a[data-nav="creator"]{display:none}body.editorial .main-nav a{font-size:13px!important;padding:12px 8px!important}body.editorial .header-notification-trigger,body.editorial .header-account-trigger{width:44px;height:44px}body.editorial .reference-workspace{display:block;width:calc(100% - 32px);margin:24px auto 48px!important}body.editorial .reference-workspace-nav{flex-direction:row;border-right:0;border-bottom:1px solid #e4e7ec;overflow-x:auto;padding:0 0 12px;margin-bottom:24px;scrollbar-width:none;gap:8px}body.editorial .reference-workspace-nav a{white-space:nowrap;flex-shrink:0;min-height:44px;padding:9px 12px;border-left:0;border-bottom:2px solid transparent;border-radius:3px}.reference-workspace-nav a.on{border-bottom-color:#101216!important}body.editorial .reference-page-head{display:block;margin-bottom:20px}body.editorial .reference-page-head h1{font-size:27px}body.editorial .reference-page-head p{margin-top:8px}body.editorial .reference-book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}.reference-book>strong{font-size:15px!important}.reference-book>span:not(.reference-cover),.reference-book>small{font-size:12px!important}body.editorial .reference-filter-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}.reference-filter-row select{width:100%}body.editorial .reference-ranking-list .reference-rank{grid-template-columns:30px 62px minmax(0,1fr);gap:12px}.reference-rank-number{font-size:24px!important}.reference-rank>span:last-child strong{font-size:15px!important}.reference-rank>span:last-child small{font-size:11px!important}body.editorial .reference-author{grid-template-columns:66px minmax(0,1fr);gap:16px}.reference-avatar{width:66px!important;height:66px!important}.reference-author strong{font-size:18px!important}body.editorial .reference-loading{grid-template-columns:repeat(2,1fr);gap:16px}body.editorial .discovery-hero.reference-hero{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);padding:0;gap:0;min-height:220px}.reference-hero-copy{padding:16px 14px!important}.reference-hero-copy h2{font-size:23px!important;margin:12px 0!important}.reference-hero-copy p{font-size:12px!important}.reference-hero-copy>a{font-size:13px}.reference-hero-covers{display:block!important;height:220px!important}.reference-hero-covers>a:not(:first-child){display:none!important}.reference-pick{font-size:10px!important}.reference-home-account .discovery-login{align-items:flex-start!important}.reference-home-account .discovery-login form{display:grid!important;grid-template-columns:1fr}.home-exact .home-new-grid,.home-exact .home-new-rail,.home-exact .compact-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px 14px!important}body.editorial .settlement-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.settlement-stat{padding:16px!important}.settlement-stat strong{font-size:24px!important}body.editorial .creator-studio .studio-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.allo-balance strong{font-size:34px!important}body.editorial .admin-shell{grid-template-columns:1fr}.admin-nav{flex-direction:row!important;overflow:auto}.admin-nav>*{flex-shrink:0}.reference-catalog{margin-top:24px!important}body.editorial footer .footer-row{gap:16px;flex-wrap:wrap}.footer-links{flex-wrap:wrap!important}}
@media(max-width:280px){body.editorial .shell,body.editorial .reference-workspace{width:calc(100% - 24px)}body.editorial .brand-name{font-size:22px!important}.header-tools{gap:0!important}body.editorial .header-notification-trigger,body.editorial .header-account-trigger{width:36px!important;min-width:36px!important}body.editorial .header-search-shortcut{min-width:32px!important}.reference-search{flex-wrap:wrap}.reference-search input,.reference-search button{flex-basis:100%}.reference-filter-row{grid-template-columns:1fr!important}.reference-ranking-list .reference-rank{grid-template-columns:26px minmax(0,1fr)!important;gap:8px}.reference-ranking-list .reference-rank>.reference-cover{display:none}.reference-author{grid-template-columns:1fr!important}.reference-book-grid{gap:20px 8px!important}.reference-pagination{flex-wrap:wrap}.settlement-summary,.settlement-filters{grid-template-columns:1fr!important}.reference-hero{grid-template-columns:1fr!important}.reference-hero-covers{max-width:150px;justify-self:center}.reference-hero-copy h2{font-size:22px!important}}
@media(prefers-reduced-motion:reduce){body.editorial *,body.editorial *:before,body.editorial *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Existing email auth and consents keep their behavior within the reference palette. */
body.editorial .auth-brand,body.editorial .auth-top h2,body.editorial .auth-field label,body.editorial .auth-signup-notice strong{color:#101216}
body.editorial .auth-signup-notice{border-left-color:#68707c;background:#f3f4f6;border-radius:4px;color:#535d6d}
body.editorial .auth-paused-login,body.editorial .auth-password-toggle,body.editorial .auth-bottom button,body.editorial .auth-check a{color:#303947}
body.editorial .auth-input{border-color:#d3d8e1!important;border-radius:4px!important;color:#101216}
body.editorial .auth-input:focus{border-color:#101216!important;box-shadow:0 0 0 2px #10121620!important}
body.editorial .auth-input[aria-invalid=true]{border-color:#b63832!important}
body.editorial .auth-input:disabled{background:#f3f4f6!important;color:#68707c}
body.editorial .auth-consent fieldset{border-color:#e1e4e9;border-radius:4px;background:#fff}
body.editorial .auth-consent legend,body.editorial .auth-check,body.editorial .auth-check.auth-marketing-check{color:#354052}
body.editorial .auth-check input{accent-color:#101216}
body.editorial .auth-strength span.filled{background:#101216}
body.editorial .auth-buttons{grid-template-columns:1fr!important}
body.editorial .auth-provider{border-radius:4px!important}
body.editorial .auth-modal button:focus-visible,body.editorial .auth-modal a:focus-visible,body.editorial .auth-check input:focus-visible{outline-color:#101216}
@media(max-width:600px){body.editorial .reference-filter-row select{font-size:16px!important}}
/* The real home renderer emits home-new-strip; replace its legacy horizontal rail. */
body.editorial .home-exact .home-new-strip{display:grid!important;grid-auto-flow:row!important;grid-auto-columns:auto!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:24px!important;overflow:visible;padding:0;scroll-snap-type:none}
body.editorial .home-exact .home-new-card{display:flex!important;flex-direction:column;grid-template-columns:none;min-width:0;min-height:0;width:auto;border:0;border-radius:0;box-shadow:none;background:#fff}
body.editorial .home-exact .home-new-card:hover{transform:none;box-shadow:none}
body.editorial .home-exact .home-new-cover{width:100%;aspect-ratio:2/3;min-height:0!important;height:auto!important;border-radius:4px;overflow:hidden;background:#f3f4f6}
body.editorial .home-exact .home-new-cover>*{width:100%;height:100%!important;min-height:0}
body.editorial .home-exact .home-new-copy{padding:10px 0 0;gap:3px}
body.editorial .home-exact .home-new-title{order:0;font-size:16px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;color:#101216!important}
body.editorial .home-exact .home-new-author{order:1;font-size:13px;color:#667085!important}
body.editorial .home-exact .home-new-badge{order:2;padding:0;margin:0;border-radius:0;background:transparent;color:#667085!important;font-size:12px}
body.editorial .home-exact .home-new-stats{order:3;margin-top:0;padding-top:3px;color:#667085!important}
body.editorial .home-exact .home-new-synopsis{display:none}
@media(max-width:600px){body.editorial .home-exact .home-new-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px 14px!important}body.editorial .home-exact .home-new-title{font-size:15px}}

@media(min-width:1100px){body.editorial .reference-home-columns{display:grid;grid-template-columns:minmax(0,1fr) 270px;column-gap:28px}.reference-home-columns>.discovery-bottom{padding-left:24px;margin-top:0!important;min-width:0}}

/* Reference-board composition: compact chrome, flush hero covers and list workspaces. */
body.editorial{font-family:"Noto Sans KR","Apple SD Gothic Neo","Malgun Gothic",sans-serif;line-height:1.6}
body.editorial .site-header{background:#fff;border-bottom:1px solid #e4e7ec}
body.editorial .brand-name{color:#08090b!important;font-family:Arial,"Noto Sans KR",sans-serif!important;font-weight:800!important}
body.editorial .header-account-trigger{background:transparent!important;border-color:transparent!important}
body.editorial .header-mobile-menu{display:none;position:relative;order:3}
body.editorial .header-mobile-menu summary{list-style:none;display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;cursor:pointer}
body.editorial .header-mobile-menu summary::-webkit-details-marker{display:none}
body.editorial .header-mobile-menu nav{position:absolute;z-index:50;right:0;top:50px;width:min(230px,calc(100vw - 32px));padding:8px;background:#fff;border:1px solid #dce1e8;border-radius:4px;box-shadow:0 12px 30px #10121612}
body.editorial .header-mobile-menu nav a{display:flex;align-items:center;min-height:44px;padding:8px 14px}
body.editorial .reference-home-columns{min-width:0}
body.editorial .home-exact .discovery-section{margin-top:0;padding-top:0}
body.editorial .home-exact .section-row{margin:0 0 12px;gap:16px;align-items:center}
body.editorial .home-exact .section-row h2{font-size:27px;line-height:1.4;margin:0}
body.editorial .home-exact .section-row .ebook-type-nav{border:0;margin:0;padding:0;gap:18px;flex-shrink:0}
body.editorial .home-exact .section-row .ebook-type-nav a{padding:5px 0;font-size:13px}
body.editorial .home-exact .discovery-genres{border:0;padding:0;margin:0 0 14px;display:flex;gap:20px;overflow:auto;white-space:nowrap}
body.editorial .home-exact .discovery-genres button{font-size:13px;padding:6px 0;flex-shrink:0;color:#596475;border-radius:0;min-height:44px}
body.editorial .home-exact .discovery-genres button.on{color:#101216;border-bottom:2px solid #101216;background:transparent}
body.editorial .home-exact .home-panel-head{margin:0 0 12px;padding:0;border:0}
body.editorial .home-exact .home-panel-head h2{font-size:23px;margin:0}
body.editorial .home-exact .reference-rank{padding:12px 0;gap:12px;grid-template-columns:36px 58px minmax(0,1fr)}
body.editorial .home-exact .reference-rank strong:not(.reference-rank-number){font-size:14px}
body.editorial .home-exact .reference-rank small,body.editorial .home-exact .reference-rank>span:last-child>span{font-size:12px}
body.editorial .home-exact .home-site-notices{margin:30px 0 0;padding:14px 0;border-top:1px solid #e4e7ec;min-height:0}
body.editorial .home-exact .reference-home-ebooks{border-top:1px solid #e4e7ec;margin-top:26px;padding-top:22px}
body.editorial .reference-workspace{max-width:1180px;gap:0;grid-template-columns:180px minmax(0,1fr);margin:0 auto 64px!important}
body.editorial .reference-workspace-nav{padding:28px 14px 28px 0}
body.editorial .reference-workspace-nav a{font-size:15px;gap:12px}
body.editorial .reference-workspace-main{padding:28px 32px 48px}
body.editorial .reference-workspace-main>.mypage-wrap,body.editorial .reference-workspace-main>.author-wrap{width:100%;max-width:none;padding:0}
body.editorial .creator-studio .upload-head h1,body.editorial .reference-workspace h1{font-size:34px;line-height:1.35}
body.editorial .creator-studio .creator-stats{display:flex;flex-wrap:wrap;gap:24px;border-bottom:1px solid #e4e7ec;padding:0 0 12px;margin:0 0 14px;background:#fff}
body.editorial .creator-studio .creator-stats>div{display:flex;align-items:center;gap:7px;border:0;background:transparent;padding:0;color:#596475}
body.editorial .creator-studio .creator-stats>div:first-child{color:#101216}
body.editorial .creator-studio .creator-stats strong{font-size:15px}
body.editorial .creator-stats strong small{font-size:12px}
body.editorial .creator-studio .creator-list-heading{margin:18px 0 0}
body.editorial .studio-work-row{grid-template-columns:100px minmax(0,1fr) auto;gap:24px;padding:20px 0}
body.editorial .creator-work-cover{width:100px;height:138px;min-height:0;aspect-ratio:2/3;border-radius:4px;overflow:hidden;box-shadow:none}
body.editorial .creator-work-cover>img,body.editorial .creator-work-cover>.default-cover{width:100%;height:100%;object-fit:cover}
body.editorial .studio-work-title{font-size:24px;color:#101216}
body.editorial .studio-work-meta{font-size:14px}
body.editorial .studio-work-actions{max-width:300px;gap:8px}
body.editorial .studio-work-actions .btn{border-radius:4px;font-size:13px;box-shadow:none}
body.editorial .creator-work-synopsis{font-size:13px;color:#667085;line-height:1.7;margin:8px 0}
body.editorial .creator-work-updated{color:#667085;font-size:12px}
body.editorial .creator-work-options{font-size:13px;color:#596475}
body.editorial .work-status-badge{border-radius:4px;color:#596475;background:#f4f5f7}
body.editorial .mypage,body.editorial .author-page{background:#fff}
body.editorial .profile-refresh .profile-hero{border:0;border-bottom:1px solid #e4e7ec;background:#fff;border-radius:0;overflow:visible;margin:0 0 20px}
body.editorial .profile-refresh .mypage-profile{padding:18px 0 24px;margin:0;gap:24px;align-items:center}
body.editorial .profile-refresh .mypage-avatar,body.editorial .profile-refresh .mypage-avatar-preset{width:86px;height:86px;flex-basis:86px;border:0;border-radius:50%;box-shadow:none}
body.editorial .profile-refresh .mypage-profile-main{padding-top:0;flex-basis:auto}
body.editorial .profile-refresh .mypage-actions{margin:0;max-width:none}
body.editorial .profile-refresh .mypage-name{font-size:26px;color:#101216}
body.editorial .mypage-edit{background:#fff;border-color:#b9c2d0;border-radius:4px;color:#101216}
body.editorial .mypage-author-link{border:0;border-radius:0;padding:8px;color:#596475}
body.editorial .profile-refresh .mypage-library{border:0;background:#fff;border-radius:0;padding:0;overflow:visible}
body.editorial .profile-refresh .mypage-tabs{gap:28px;border-bottom:1px solid #e4e7ec}
body.editorial .profile-refresh .mypage-tab{color:#596475;font-size:15px}
body.editorial .profile-refresh .mypage-tab.on{color:#101216;border-bottom-color:#101216}
body.editorial .profile-refresh .mypage-work-list{display:block}
body.editorial .profile-refresh .mypage-work-card{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-radius:0;border-bottom:1px solid #e4e7ec;transform:none}
body.editorial .profile-refresh .mypage-work-main{display:flex;align-items:center;gap:24px;min-width:0;flex:1}
body.editorial .profile-refresh .mypage-work-cover{width:96px;flex:0 0 96px;aspect-ratio:2/3;margin:0;border-radius:4px;box-shadow:none}
body.editorial .profile-refresh .mypage-work-copy{min-width:0}
body.editorial .profile-refresh .mypage-work-title{font-size:23px;color:#101216}
body.editorial .profile-refresh .mypage-work-meta{font-size:14px}
body.editorial .profile-refresh .mypage-work-synopsis{font-size:13px;color:#667085}
body.editorial .profile-refresh .mypage-work-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
body.editorial .profile-refresh .profile-primary{background:#101216;color:#fff;border-radius:4px;padding:10px 20px;min-height:44px;display:inline-flex;align-items:center}
body.editorial .profile-refresh .profile-edit-link{color:#596475;text-decoration:underline}
body.editorial .profile-refresh .author-head{padding:0 0 24px;margin:0;gap:24px}
body.editorial .profile-refresh .author-main{padding-top:0}
body.editorial .author-avatar,body.editorial .author-avatar-preset{border:0;border-radius:50%;box-shadow:none}
body.editorial .profile-eyebrow{color:#946b49}
body.editorial .author-name{color:#101216;font-size:32px}
body.editorial .author-stats{border:0;padding:12px 0 0}
body.editorial .author-stat strong{color:#101216}
body.editorial .author-page.profile-refresh .author-follow{background:#101216;color:#fff;border-color:#101216;border-radius:4px}
body.editorial .author-head>.author-follow{margin-top:0}
body.editorial .author-page.profile-refresh .author-works{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
body.editorial .author-page.profile-refresh .author-work-card{display:flex;flex-direction:column;gap:0;min-height:0;padding:0;border:0;border-radius:0;box-shadow:none;transform:none}
body.editorial .author-page.profile-refresh .author-work-cover{aspect-ratio:2/3;width:100%;border-radius:4px;box-shadow:none}
body.editorial .author-page.profile-refresh .author-work-title{font-size:17px;color:#101216;margin-top:8px}
body.editorial .author-page.profile-refresh .author-work-meta{font-size:13px;color:#667085;margin-top:3px}
body.editorial .author-page.profile-refresh .author-work-synopsis{font-size:12px;color:#667085}
body.editorial .author-page.profile-refresh .author-work-open{color:#596475}
body.editorial .profile-page-tabs button.on{color:#101216;border-bottom-color:#101216}
body.editorial .author-empty,body.editorial .mypage-empty,body.editorial .mypage-login-card{border:1px solid #e4e7ec;border-radius:4px;color:#667085;box-shadow:none}
body.editorial .account-management{border-color:#e4e7ec}
body.editorial .allo-page{max-width:none;padding:0;margin:0}
body.editorial .allo-page header{margin:0 0 28px}
body.editorial .allo-back,body.editorial .settlement-back{font-size:12px;color:#667085}
body.editorial .allo-kicker{color:#667085}
body.editorial .allo-balance{position:relative;padding:28px 32px;min-height:160px}
body.editorial .allo-balance strong{font-size:48px!important;margin:8px 0}
body.editorial .allo-balance .allo-button{position:absolute;right:28px;top:50%;transform:translateY(-50%);min-width:170px;margin:0}
body.editorial .allo-balance p{max-width:calc(100% - 200px)}
body.editorial .allo-history a{padding:20px 0}
body.editorial .allo-panel{border-color:#e4e7ec;border-radius:4px;background:#fff}
body.editorial .settlement-page{--settlement-ink:#101216;--settlement-mint:#101216;max-width:none;padding:0;color:#101216}
body.editorial .settlement-head{border-bottom:1px solid #e4e7ec;padding-bottom:20px}
body.editorial .settlement-head h1{font-size:34px}
body.editorial .settlement-head p,body.editorial .settlement-unit{color:#667085}
body.editorial .settlement-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-bottom:1px solid #e4e7ec;margin:20px 0 26px}
body.editorial .settlement-stat{grid-column:auto!important;border:0;border-right:1px solid #e4e7ec;padding:18px 20px;background:#fff!important;border-radius:0!important;min-height:120px}
body.editorial .settlement-stat:nth-child(3n){border-right:0}
body.editorial .settlement-stat:nth-child(n+4){border-top:1px solid #e4e7ec}
body.editorial .settlement-stat strong,body.editorial .settlement-stat.is-income strong{font-size:28px!important;color:#101216}
body.editorial .settlement-stat span{color:#596475;font-size:13px}
body.editorial .settlement-filters{background:#fff;border:0;border-bottom:1px solid #e4e7ec;border-radius:0;padding:0 0 22px}
body.editorial .settlement-field{color:#596475}
body.editorial .settlement-field input,body.editorial .settlement-field select,body.editorial .settlement-field textarea{border-color:#cfd5df;color:#101216;border-radius:4px}
body.editorial .settlement-notice{border:1px solid #e4e7ec;border-left-width:1px;border-radius:4px}
body.editorial .settlement-status{color:#596475;background:#f3f4f6;border:1px solid #e4e7ec}
body.editorial .settlement-empty{border:1px solid #e4e7ec;background:#fff;border-radius:4px}
body.editorial .settlement-detail{background:#fff;border-color:#e4e7ec;border-radius:4px}
body.editorial .settlement-table td,body.editorial .settlement-table th{border-color:#e4e7ec}
body.editorial .auth-modal.login-mode{width:min(390px,100%);padding:28px}
body.editorial .auth-modal.signup-mode{width:min(430px,100%);padding:28px}
body.editorial .auth-top h2{font-size:30px}
body.editorial .auth-switch{margin:0 0 18px}
body.editorial .auth-consent{padding:12px 0!important;border-radius:0!important;border:0!important;background:#fff!important}
body.editorial .auth-consent fieldset{padding:8px 0;border:0}
body.editorial .auth-consent legend{font-size:12px}
body.editorial .auth-check{font-size:13px;line-height:1.7}
body.editorial .auth-provider-note{font-size:12px;color:#667085}
body.editorial .auth-provider-section{border-top:1px solid #e4e7ec;padding-top:18px;margin-top:16px}
body.editorial .form-section{border-radius:4px;border-color:#e4e7ec}
body.editorial .control,body.editorial textarea.control{border-radius:4px;border-color:#cfd5df}
body.editorial .admin-page{background:#fff}
body.editorial .admin-head{border-bottom:1px solid #e4e7ec;padding-bottom:24px}
body.editorial .admin-nav{border-right:1px solid #e4e7ec;border-radius:0;background:#fff;box-shadow:none}
body.editorial .admin-panel,body.editorial .admin-member-card{border-color:#e4e7ec;border-radius:4px;box-shadow:none}
body.editorial .support-faq{border:1px solid #e4e7ec;border-radius:4px;margin:20px 0 28px}
body.editorial .support-faq details:last-child{border-bottom:0}
body.editorial .support-head h1{font-size:34px}
body.editorial .support-section-head h2{font-size:22px}
@media(max-width:1100px){body.editorial .reference-home-columns{display:block}body.editorial .home-exact .discovery-bottom{border-top:1px solid #e4e7ec;padding-top:24px;margin-top:26px!important}}
@media(max-width:700px){
 body.editorial .header-mobile-menu{display:block}
 body.editorial .reference-hero-copy h2{font-size:23px!important}
 body.editorial .home-exact .section-row h2{font-size:22px}
 body.editorial .home-exact .section-row .ebook-type-nav{gap:10px}
 body.editorial .home-exact .section-row .ebook-type-nav a{font-size:12px!important}
 body.editorial .home-exact .discovery-genres{gap:20px;margin-bottom:14px}
 body.editorial .home-exact .reference-home-columns .discovery-section{padding-top:0}
 body.editorial .reference-workspace{display:block;width:calc(100% - 32px);margin:0 auto 48px!important}
 body.editorial .reference-workspace-nav{padding:12px 0;margin-bottom:0;gap:4px}
 body.editorial .reference-workspace-nav a{font-size:13px;padding:8px 12px;min-height:44px}
 body.editorial .reference-workspace-main{padding:24px 0 32px}
 body.editorial .reference-workspace h1{font-size:28px}
 body.editorial .creator-studio .creator-stats{gap:14px}
 body.editorial .studio-work-row{grid-template-columns:76px minmax(0,1fr);gap:16px;padding:18px 0}
 body.editorial .creator-work-cover{width:76px;height:108px}
 body.editorial .studio-work-title{font-size:20px}
 body.editorial .studio-work-actions{grid-column:1/-1;max-width:none;justify-content:flex-start}
 body.editorial .studio-work-actions .btn{font-size:13px;flex:1}
 body.editorial .profile-refresh .mypage-profile{gap:16px}
 body.editorial .profile-refresh .mypage-profile-main{flex:1;padding:0}
 body.editorial .profile-refresh .mypage-name{font-size:22px}
 body.editorial .profile-refresh .mypage-actions{margin:0;flex-basis:100%;width:100%;justify-content:flex-start}
 body.editorial .profile-refresh .mypage-work-card{display:block}
 body.editorial .profile-refresh .mypage-work-main{gap:16px}
 body.editorial .profile-refresh .mypage-work-cover{width:80px;flex-basis:80px}
 body.editorial .profile-refresh .mypage-work-title{font-size:19px}
 body.editorial .profile-refresh .mypage-work-actions{margin-top:12px;justify-content:flex-end}
 body.editorial .profile-refresh .mypage-work-actions .profile-primary{font-size:13px}
 body.editorial .profile-refresh .author-head{display:flex;flex-wrap:wrap;align-items:flex-start;gap:14px}
 body.editorial .profile-refresh .author-main{padding:0;flex-basis:100%;order:2}
 body.editorial .profile-refresh .author-head>.author-follow{order:3;width:100%;margin:0}
 body.editorial .author-page.profile-refresh .author-works{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}
 body.editorial .author-page.profile-refresh .author-work-title{font-size:15px}
 body.editorial .author-page.profile-refresh .author-work-meta{font-size:12px}
 body.editorial .author-name{font-size:30px}
 body.editorial .allo-balance{padding:24px;min-height:0}
 body.editorial .allo-balance strong{font-size:38px!important}
 body.editorial .allo-balance .allo-button{position:static;transform:none;margin-top:16px;width:100%}
 body.editorial .allo-balance p{max-width:none}
 body.editorial .settlement-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.editorial .settlement-stat{padding:16px 12px;min-height:112px}
 body.editorial .settlement-stat:nth-child(3n){border-right:1px solid #e4e7ec}
 body.editorial .settlement-stat:nth-child(2n){border-right:0}
 body.editorial .settlement-stat:nth-child(n+3){border-top:1px solid #e4e7ec}
 body.editorial .settlement-stat strong,body.editorial .settlement-stat.is-income strong{font-size:23px!important}
 body.editorial .settlement-head h1{font-size:28px}
 body.editorial .support-head h1{font-size:28px}
 body.editorial .auth-modal.login-mode,body.editorial .auth-modal.signup-mode{padding:24px 20px}
}
@media(max-width:360px){body.editorial .reference-hero-copy h2{font-size:20px!important}.reference-hero-copy{padding:14px 12px!important}body.editorial .home-exact .section-row{align-items:flex-start;flex-direction:column;gap:8px}.home-exact .section-row h2{font-size:21px!important}}
@media(max-width:280px){body.editorial .header-mobile-menu summary{min-width:32px}body.editorial .header-notifications{display:none}body.editorial .header-row{gap:0!important}}

body.editorial .reference-hero-copy h2{word-break:keep-all;overflow-wrap:normal}
body.editorial .reference-hero-copy p span{display:block}
body.editorial .home-exact .home-new-cover,body.editorial .reference-cover,body.editorial .author-page .author-work-cover{aspect-ratio:3/4}
body.editorial .home-exact .discovery-genres{flex-wrap:nowrap}
body.editorial .home-exact .discovery-genres button{border:0;border-bottom:2px solid transparent;line-height:1.4}
body.editorial .reference-workspace .reference-workspace-main>.shell{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
body.editorial .creator-studio.reference-workspace,body.editorial .creator-upload.reference-workspace{padding:0!important}
body.editorial .creator-studio .studio-work-row{grid-template-columns:100px minmax(0,1fr) auto;padding:20px 0!important;gap:24px}
body.editorial .creator-studio .studio-work-actions{display:flex;flex-wrap:wrap;max-width:300px;align-self:center}
body.editorial .creator-studio .studio-work-title{font-size:24px!important}
body.editorial .creator-studio .creator-work-cover{width:100px;height:138px;min-height:0}
@media(max-width:700px){
 body.editorial .reference-hero-copy p .reference-hero-intro{display:none}
 body.editorial .reference-hero-covers{height:auto!important;min-height:220px}
 body.editorial .home-exact .section-row h2{font-size:21px}
 body.editorial .creator-studio .studio-work-row{grid-template-columns:76px minmax(0,1fr);gap:16px}
 body.editorial .creator-studio .creator-work-cover{width:76px;height:108px}
 body.editorial .creator-studio .studio-work-actions{grid-column:1/-1;max-width:none}
 body.editorial .creator-studio .studio-work-title{font-size:20px!important}
}

body.editorial .author-profile-banner{height:190px;width:100%;overflow:hidden;background:#f3f4f6;margin-bottom:0}
body.editorial .author-profile-banner>img,body.editorial .author-profile-banner>.default-cover{width:100%;height:100%;object-fit:cover;object-position:center 35%}
body.editorial .profile-refresh .profile-hero:has(.author-profile-banner) .author-head{position:relative;margin-top:-42px!important;padding:0 24px 24px!important}
body.editorial .profile-refresh .profile-hero:has(.author-profile-banner) .author-main{padding-top:50px!important}
body.editorial .profile-refresh .profile-hero:has(.author-profile-banner) .author-avatar,body.editorial .profile-refresh .profile-hero:has(.author-profile-banner) .author-avatar-preset{border:4px solid #fff!important}
body.editorial .creator-studio .creator-work-list{gap:0}
body.editorial .author-page.profile-refresh .author-work-cover{width:100%;align-self:auto}
body.editorial .author-page.profile-refresh .author-work-copy{display:flex;align-items:flex-start;min-width:0}
body.editorial .author-page.profile-refresh .author-work-card{min-width:0}
body.editorial .profile-refresh .profile-primary,body.editorial .profile-refresh .mypage-panel-title .profile-primary{background:#101216!important;border-color:#101216!important}
@media(max-width:700px){
 body.editorial .profile-refresh .author-head>.author-follow{margin:0!important;flex-basis:100%}
 body.editorial .author-profile-banner{height:160px}
 body.editorial .profile-refresh .profile-hero:has(.author-profile-banner) .author-head{padding:0 0 22px!important}
 body.editorial .profile-refresh .profile-hero:has(.author-profile-banner) .author-main{padding-top:0!important}
}

body.editorial .creator-studio .creator-stats{border:0;border-bottom:1px solid #e4e7ec;border-radius:0}
body.editorial .author-page.profile-refresh{padding:0 0 64px!important}
body.editorial .author-page.profile-refresh .author-wrap{width:calc(100% - 64px);max-width:1180px;padding:0}
body.editorial .author-page.profile-refresh .profile-page-tabs{margin:0 0 24px}
body.editorial .author-page.profile-refresh #authorWorksPanel .space-section-head{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:700px){
 body.editorial .author-page.profile-refresh .author-wrap{width:100%;padding:0}
 body.editorial .author-page.profile-refresh .profile-hero:has(.author-profile-banner) .author-head{margin-left:20px;margin-right:20px;padding-left:0!important;padding-right:0!important}
 body.editorial .author-page.profile-refresh .profile-page-tabs{margin-left:20px;margin-right:20px}
 body.editorial .author-page.profile-refresh #authorWorksPanel,body.editorial .author-page.profile-refresh #authorAboutPanel{margin:0 20px}
}

/* 내정보(독자) 영역 — 승인된 구성안(2026-10-11) 그대로: 요약 카드 / 메뉴 카드 + 내용 카드 */
body.editorial .reference-workspace--account{--acc-line:rgba(11,11,11,.1);--acc-s1:#fcfcfb;--acc-s2:#fff;--acc-text:#0b0b0b;--acc-sub:#52514e;--acc-muted:#898781;--acc-accent:#184f95;--acc-accent-bg:#cde2fb;display:block!important;max-width:1180px;margin:24px auto 64px!important;padding:16px!important;background:var(--acc-s1);border-radius:12px;color:var(--acc-text)}
body.editorial .reference-account-summary{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:16px 20px;background:var(--acc-s2);border:1px solid var(--acc-line);border-radius:12px}
body.editorial .reference-account-summary:empty{display:none}
body.editorial .account-summary-avatar{width:48px;height:48px;border-radius:50%;overflow:hidden;flex-shrink:0;display:flex;align-items:center;justify-content:center;background:var(--acc-accent-bg);color:var(--acc-accent);font-weight:500}
body.editorial .account-summary-avatar img{width:100%;height:100%;object-fit:cover}
body.editorial .account-summary-who{flex:1 1 140px;min-width:0}
body.editorial .account-summary-who strong{display:block;font-weight:500;font-size:16px;color:var(--acc-text)}
body.editorial .account-summary-who span{display:block;font-size:13px;color:var(--acc-sub);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.editorial .account-summary-stats{display:grid;grid-template-columns:repeat(3,minmax(70px,auto));gap:8px}
body.editorial .account-summary-stat{display:block;padding:8px 12px;border-radius:8px;background:var(--acc-s1);color:var(--acc-text);text-decoration:none}
body.editorial .account-summary-stat span{display:block;font-size:12px;color:var(--acc-sub)}
body.editorial .account-summary-stat strong{display:block;font-weight:500;font-size:16px}
body.editorial .account-summary-charge{display:inline-flex;align-items:center;min-height:32px;padding:0 12px;border:1px solid rgba(11,11,11,.2);border-radius:8px;background:transparent;color:var(--acc-text);font-size:13px;text-decoration:none}
body.editorial .account-summary-charge:hover{background:rgba(11,11,11,.05)}
body.editorial .reference-account-body{display:grid;grid-template-columns:170px minmax(0,1fr);gap:12px;margin-top:12px;align-items:start}
body.editorial .reference-workspace--account .reference-account-nav{display:block;padding:12px!important;margin:0;border:1px solid var(--acc-line)!important;border-radius:12px;background:var(--acc-s2);font-size:13px;line-height:1.9;align-self:start}
body.editorial .reference-account-group{margin:0 0 8px}
body.editorial .reference-account-group:last-child{margin-bottom:0}
body.editorial .reference-account-group-title{display:flex;align-items:center;gap:4px;margin:0;font-size:12px;font-weight:400;color:var(--acc-muted)}
body.editorial .reference-account-icon{width:13px;height:13px;flex-shrink:0}
body.editorial .reference-workspace--account .reference-account-nav a{display:block;min-height:0;margin:0 0 0 18px;padding:0;border:0!important;border-radius:0;background:none!important;color:var(--acc-text);font-size:13px;font-weight:400;text-decoration:none}
body.editorial .reference-workspace--account .reference-account-nav a:hover{color:var(--acc-accent)}
body.editorial .reference-workspace--account .reference-account-nav a.on{color:var(--acc-accent);font-weight:500}
body.editorial .reference-workspace--account .reference-workspace-main{min-width:0;padding:16px 20px!important;background:var(--acc-s2);border:1px solid var(--acc-line);border-radius:12px}
/* 내용 카드 안의 제목·문구를 구성안 크기로 맞추고, 메뉴와 겹치는 길찾기 요소는 숨긴다 */
body.editorial .reference-workspace--account .reference-workspace-main .shell,body.editorial .reference-workspace--account .reference-workspace-main .mypage-wrap{width:100%;max-width:none;margin:0;padding:0}
body.editorial .reference-workspace--account .space-heading{display:block!important;margin:0 0 12px;padding:0;border:0}
body.editorial .reference-workspace--account .reference-workspace-main h1{margin:0 0 4px;font-size:16px!important;line-height:1.5;font-weight:500;letter-spacing:0;color:var(--acc-text)}
body.editorial .reference-workspace--account .space-heading p{margin:0;font-size:13px;color:var(--acc-sub)}
body.editorial .reference-workspace--account .allo-back,body.editorial .reference-workspace--account .route-back,body.editorial .reference-workspace--account .allo-kicker,body.editorial .reference-workspace--account .ebook-type-nav,body.editorial .reference-workspace--account.library-page .mypage-tabs,body.editorial .reference-workspace--account .mypage-panel-title{display:none!important}
body.editorial .account-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px}
body.editorial .account-work-card{display:flex;flex-direction:column;gap:2px;padding:8px;border:1px solid var(--acc-line);border-radius:8px;color:var(--acc-text);text-decoration:none}
body.editorial .account-work-cover{display:block;aspect-ratio:3/4;overflow:hidden;border-radius:6px;background:var(--acc-s1);margin-bottom:4px}
body.editorial .account-work-cover img,body.editorial .account-work-cover>*{width:100%;height:100%;object-fit:cover}
body.editorial .account-work-card strong{font-size:13px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.editorial .account-work-card span{font-size:12px;color:var(--acc-sub)}
body.editorial .account-work-card em{font-style:normal;font-size:12px;color:var(--acc-accent)}
body.editorial .account-work-card:hover{border-color:rgba(11,11,11,.2)}
body.editorial .account-inbox{display:flex;flex-direction:column;border:1px solid var(--acc-line);border-radius:8px;overflow:hidden}
body.editorial .account-inbox-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;width:100%;padding:12px 14px;border:0;border-bottom:1px solid var(--acc-line);background:var(--acc-s2);text-align:left;font:inherit;font-size:13px;cursor:pointer;color:var(--acc-text)}
body.editorial .account-inbox-item:last-child{border-bottom:0}
body.editorial .account-inbox-item.unread{background:#f5f9fe}
body.editorial .account-inbox-item strong{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.editorial .account-inbox-kind{font-size:12px;color:var(--acc-accent)}
body.editorial .account-inbox-item time{font-size:12px;color:var(--acc-muted)}
body.editorial .account-page .account-management{margin-top:12px;padding:14px 16px;border:1px solid var(--acc-line);border-radius:8px;background:var(--acc-s2)}
body.editorial .account-page .account-management h2{margin:0 0 8px;font-size:14px;font-weight:500}
body.editorial .account-page .account-management p{margin:0 0 10px;color:var(--acc-sub);font-size:13px}
body.editorial .account-facts{display:grid;gap:6px;margin:0 0 12px}
body.editorial .account-facts div{display:grid;grid-template-columns:90px minmax(0,1fr);gap:12px;font-size:13px}
body.editorial .account-facts dt{color:var(--acc-sub)}
body.editorial .account-facts dd{margin:0;overflow-wrap:anywhere}
body.editorial .account-page .account-row{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:8px}
body.editorial .account-page .account-row .btn,body.editorial .account-page .account-creator-note .btn,body.editorial .reference-workspace--account .mypage-empty .btn{display:inline-flex;align-items:center;justify-content:center;min-height:32px!important;padding:0 12px!important;border:1px solid rgba(11,11,11,.2)!important;border-radius:8px!important;background:transparent!important;color:var(--acc-text)!important;font-size:13px!important;font-weight:400!important;text-decoration:none}
body.editorial .account-page .account-row .btn.dark{background:var(--acc-text)!important;border-color:var(--acc-text)!important;color:#fff!important}
body.editorial .account-note{margin-top:10px!important}
body.editorial .reference-workspace--account .mypage-empty{padding:28px 16px;border-radius:8px;background:var(--acc-s1);text-align:center;font-size:13px;color:var(--acc-sub)}
body.editorial .reference-workspace--account .mypage-empty strong{display:block;margin-bottom:4px;font-weight:500;color:var(--acc-text)}
body.editorial .reference-workspace--account .library-storage-note{margin:10px 0 0;font-size:12px;color:var(--acc-muted)}
@media(max-width:700px){
 body.editorial .reference-workspace--account{width:calc(100% - 24px)!important;margin:12px auto 40px!important;padding:12px!important}
 body.editorial .reference-account-body{grid-template-columns:minmax(0,1fr)}
 body.editorial .reference-workspace--account .reference-account-nav{display:flex;gap:6px;overflow-x:auto;padding:8px!important;scrollbar-width:none;white-space:nowrap}
 body.editorial .reference-account-group{display:flex;gap:6px;margin:0}
 body.editorial .reference-account-group-title{display:none}
 body.editorial .reference-workspace--account .reference-account-nav a{margin:0;padding:4px 10px;border-radius:999px;background:var(--acc-s1)!important}
 body.editorial .reference-workspace--account .reference-account-nav a.on{background:var(--acc-accent-bg)!important}
 body.editorial .account-summary-stats{width:100%;grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* 오른쪽 위 계정 메뉴 — 내정보와 같은 카드 디자인 (2026-10-11) */
body.editorial .header-account-panel.header-account-card{--acc-line:rgba(11,11,11,.1);--acc-s1:#fcfcfb;--acc-text:#0b0b0b;--acc-sub:#52514e;--acc-muted:#898781;--acc-accent:#184f95;--acc-accent-bg:#cde2fb;width:280px!important;padding:8px!important;border:1px solid var(--acc-line)!important;border-radius:12px!important;box-shadow:0 8px 24px rgba(0,0,0,.12),0 2px 6px rgba(0,0,0,.08)!important;color:var(--acc-text)}
body.editorial .header-account-card button,body.editorial .header-account-card a{font:inherit;color:inherit;text-decoration:none}
body.editorial .hac-profile{display:flex;align-items:center;gap:10px;width:100%;padding:10px;border:0;border-radius:8px;background:none;text-align:left;cursor:pointer}
body.editorial .hac-profile:hover{background:var(--acc-s1)}
body.editorial .hac-avatar{width:40px;height:40px;flex-shrink:0;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center;background:var(--acc-accent-bg);color:var(--acc-accent);font-weight:500}
body.editorial .hac-avatar img{width:100%;height:100%;object-fit:cover}
body.editorial .hac-who{flex:1;min-width:0}
body.editorial .hac-who strong{display:block;font-size:14px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.editorial .hac-who span{display:block;font-size:12px;color:var(--acc-sub);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.editorial .hac-go{display:inline-flex;align-items:center;gap:2px;font-size:12px;color:var(--acc-muted)}
body.editorial .hac-go svg{width:14px;height:14px}
body.editorial .hac-allo{display:flex;align-items:center;gap:8px;margin:4px 2px 6px;padding:10px 12px;border-radius:8px;background:var(--acc-s1)}
body.editorial .hac-allo>a:first-child{flex:1;display:flex;align-items:center;justify-content:space-between;gap:8px}
body.editorial .hac-allo>a:first-child span{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--acc-sub)}
body.editorial .hac-allo strong{font-size:15px;font-weight:500}
body.editorial .hac-charge{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border:1px solid rgba(11,11,11,.2);border-radius:8px;font-size:12px;background:#fff}
body.editorial .hac-charge:hover{background:var(--acc-accent-bg);border-color:transparent;color:var(--acc-accent)}
body.editorial .hac-list{display:flex;flex-direction:column;padding:2px 0;border-bottom:1px solid var(--acc-line)}
body.editorial .hac-item{display:flex;align-items:center;gap:10px;width:100%;min-height:38px;padding:0 10px;border:0;border-radius:8px;background:none;font-size:14px;text-align:left;cursor:pointer}
body.editorial .hac-item svg,body.editorial .hac-allo svg{width:17px;height:17px;flex-shrink:0;color:var(--acc-muted)}
body.editorial .hac-item:hover{background:var(--acc-s1);color:var(--acc-accent)}
body.editorial .hac-item:hover svg{color:var(--acc-accent)}
body.editorial .hac-foot{display:flex;flex-direction:column;padding-top:4px}
body.editorial .hac-logout{color:var(--acc-sub)}
body.editorial .header-account-card :is(button,a):focus-visible{outline:2px solid var(--acc-accent);outline-offset:-2px}
@media(max-width:700px){body.editorial .header-account-panel.header-account-card{width:min(300px,calc(100vw - 24px))!important}}

/* 관리자 영역 — 내정보와 같은 카드 레이아웃(2026-10-11) */
body.editorial .reference-workspace--admin .admin-summary-avatar svg{width:22px;height:22px}
body.editorial .reference-workspace--admin .admin-summary-stats{grid-template-columns:repeat(4,minmax(78px,auto))}
body.editorial .account-summary-stat.is-alert{background:#fef3f3}
body.editorial .account-summary-stat.is-alert strong{color:#b93535}
body.editorial .reference-workspace--admin .admin-page,body.editorial .reference-workspace--admin .admin-wrap,body.editorial .reference-workspace--admin .admin-main{width:100%;max-width:none;margin:0;padding:0;background:none;border:0}
body.editorial .reference-workspace--admin .admin-head,body.editorial .reference-workspace--admin .admin-kicker,body.editorial .reference-workspace--admin .settlement-kicker{display:none!important}
body.editorial .reference-workspace--admin .admin-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:8px;margin:0 0 12px}
body.editorial .reference-workspace--admin .admin-stat{padding:10px 12px;border:0;border-radius:8px;background:var(--acc-s1)}
body.editorial .reference-workspace--admin .admin-stat span{display:block;font-size:12px;color:var(--acc-sub)}
body.editorial .reference-workspace--admin .admin-stat strong{display:block;font-size:18px;font-weight:500}
body.editorial .reference-workspace--admin .admin-panel{margin:0 0 12px;padding:12px 14px;border:1px solid var(--acc-line);border-radius:8px;background:#fff;box-shadow:none}
body.editorial .reference-workspace--admin .admin-panel-head h2{margin:0 0 8px;font-size:14px;font-weight:500}
body.editorial .reference-workspace--admin table{font-size:13px}
body.editorial .reference-workspace--admin th{font-weight:500;color:var(--acc-sub);background:var(--acc-s1)}
@media(max-width:700px){body.editorial .reference-workspace--admin .admin-summary-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* 내 작업실 — 같은 카드 레이아웃(2026-10-11) */
body.editorial .reference-workspace--creator .creator-summary-stats{grid-template-columns:repeat(4,minmax(70px,auto))}
body.editorial .reference-workspace--creator .creator-list-heading,body.editorial .reference-workspace--creator .creator-studio-tabs,body.editorial .reference-workspace--creator .upload-head .btn{display:none!important}
body.editorial .reference-workspace--creator .upload-wrap,body.editorial .reference-workspace--creator .route-page{width:100%;max-width:none;margin:0;padding:0}
body.editorial .reference-workspace--creator .upload-head h1{font-size:16px!important;font-weight:500;margin:0 0 4px}
body.editorial .reference-workspace--creator .upload-head p{font-size:13px;color:var(--acc-sub);margin:0}
body.editorial .reference-workspace--creator .studio-work-row{border:1px solid var(--acc-line);border-radius:8px;padding:12px;margin:0 0 8px;background:#fff}
@media(max-width:700px){body.editorial .reference-workspace--creator .creator-summary-stats{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* 내 작업실 작품 목록 — 한 줄 카드 + 주 버튼 하나 + 더보기 메뉴 (2026-10-11) */
body.editorial .studio-filter{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 12px}
body.editorial .studio-filter button{display:inline-flex;align-items:center;gap:4px;min-height:30px;padding:0 12px;border:1px solid var(--acc-line,rgba(11,11,11,.1));border-radius:999px;background:#fff;color:var(--acc-sub,#52514e);font:inherit;font-size:13px;cursor:pointer}
body.editorial .studio-filter button span{color:var(--acc-muted,#898781)}
body.editorial .studio-filter button.on{border-color:transparent;background:var(--acc-accent-bg,#cde2fb);color:var(--acc-accent,#184f95);font-weight:500}
body.editorial .studio-filter button.on span{color:var(--acc-accent,#184f95)}
body.editorial .studio-list{display:flex;flex-direction:column;border:1px solid var(--acc-line,rgba(11,11,11,.1));border-radius:8px;background:#fff}
body.editorial .studio-row{display:grid;grid-template-columns:56px minmax(0,1fr) auto;gap:14px;align-items:center;padding:12px 14px;border-bottom:1px solid var(--acc-line,rgba(11,11,11,.1))}
body.editorial .studio-row:last-child{border-bottom:0}
body.editorial .studio-row[hidden]{display:none}
body.editorial .studio-row-cover{display:block;width:56px;aspect-ratio:3/4;overflow:hidden;border-radius:6px;background:var(--acc-s1,#fcfcfb)}
body.editorial .studio-row-cover img,body.editorial .studio-row-cover>*{width:100%;height:100%;object-fit:cover}
body.editorial .studio-row-info{min-width:0}
body.editorial .studio-row-top{display:flex;align-items:center;gap:8px;min-width:0}
body.editorial .studio-row-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:500;color:var(--acc-text,#0b0b0b);text-decoration:none}
body.editorial .studio-row-title:hover{color:var(--acc-accent,#184f95)}
body.editorial .studio-row-status{flex-shrink:0;padding:1px 8px;border-radius:999px;font-size:11px;background:var(--acc-s1,#fcfcfb)!important;color:var(--acc-sub,#52514e)!important;border:1px solid var(--acc-line,rgba(11,11,11,.1))}
body.editorial .studio-row-status.status-published{background:#e5f4e4!important;border-color:transparent;color:#006300!important}
body.editorial .studio-row-status.status-draft{background:#f9eeda!important;border-color:transparent;color:#734500!important}
body.editorial .studio-row-meta{margin:3px 0 0;font-size:12px;color:var(--acc-sub,#52514e)}
body.editorial .studio-row-synopsis{margin:4px 0 0;font-size:12px;line-height:1.5;color:var(--acc-muted,#898781);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.editorial .studio-row-actions{display:flex;align-items:center;gap:6px}
body.editorial .studio-primary{display:inline-flex;align-items:center;min-height:32px;padding:0 12px;border-radius:8px;background:var(--acc-text,#0b0b0b);color:#fff!important;font-size:13px;text-decoration:none;white-space:nowrap}
body.editorial .studio-primary:hover{background:#2c2c2a}
body.editorial .studio-more{position:relative}
body.editorial .studio-more>summary{list-style:none;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid rgba(11,11,11,.2);border-radius:8px;cursor:pointer;font-size:16px;line-height:1;color:var(--acc-sub,#52514e);user-select:none}
body.editorial .studio-more>summary::-webkit-details-marker{display:none}
body.editorial .studio-more[open]>summary,body.editorial .studio-more>summary:hover{background:var(--acc-s1,#fcfcfb)}
body.editorial .studio-more-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:20;display:flex;flex-direction:column;min-width:160px;padding:6px;border:1px solid var(--acc-line,rgba(11,11,11,.1));border-radius:10px;background:#fff;box-shadow:0 8px 24px rgba(0,0,0,.12),0 2px 6px rgba(0,0,0,.08)}
body.editorial .studio-more-menu :is(a,button){display:block;width:100%;padding:8px 10px;border:0;border-radius:6px;background:none;text-align:left;font:inherit;font-size:13px;color:var(--acc-text,#0b0b0b);text-decoration:none;cursor:pointer}
body.editorial .studio-more-menu :is(a,button):hover{background:var(--acc-s1,#fcfcfb);color:var(--acc-accent,#184f95)}
body.editorial .studio-more-menu .studio-danger{margin-top:4px;border-top:1px solid var(--acc-line,rgba(11,11,11,.1));border-radius:0 0 6px 6px;color:#b93535}
body.editorial .studio-more-menu .studio-danger:hover{background:#fef3f3;color:#b93535}
@media(max-width:700px){
 body.editorial .studio-row{grid-template-columns:48px minmax(0,1fr);gap:10px}
 body.editorial .studio-row-cover{width:48px}
 body.editorial .studio-row-actions{grid-column:2;justify-content:flex-start}
}

body.editorial .studio-type{display:inline-flex;gap:2px;margin:0 0 10px;padding:3px;border-radius:10px;background:var(--acc-s1,#fcfcfb);border:1px solid var(--acc-line,rgba(11,11,11,.1))}
body.editorial .studio-type button{min-height:30px;padding:0 14px;border:0;border-radius:8px;background:none;font:inherit;font-size:13px;color:var(--acc-sub,#52514e);cursor:pointer}
body.editorial .studio-type button span{color:var(--acc-muted,#898781)}
body.editorial .studio-type button.on{background:#fff;color:var(--acc-text,#0b0b0b);font-weight:500;box-shadow:0 1px 2px rgba(0,0,0,.08)}
body.editorial .studio-none{margin:0 0 10px;padding:24px 16px;border-radius:8px;background:var(--acc-s1,#fcfcfb);text-align:center;font-size:13px;color:var(--acc-sub,#52514e)}
body.editorial .studio-none[hidden]{display:none}

/* 프로필 수정 > 본인인증 상태 */
body.editorial .identity-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
body.editorial .identity-badge{display:inline-flex;align-items:center;padding:1px 8px;border-radius:999px;font-size:12px;font-weight:500}
body.editorial .identity-badge.done{background:#e5f4e4;color:#006300}
body.editorial .identity-badge.todo{background:#f9eeda;color:#734500}
body.editorial .identity-date{font-size:13px;color:var(--acc-sub,#52514e)}
body.editorial .identity-verify-btn{min-height:28px;padding:0 10px;border:1px solid rgba(11,11,11,.2);border-radius:8px;background:#fff;font:inherit;font-size:12px;cursor:pointer}
body.editorial .identity-verify-btn:hover{background:var(--acc-accent-bg,#cde2fb);border-color:transparent;color:var(--acc-accent,#184f95)}
body.editorial .identity-msg{flex-basis:100%;font-size:12px;color:#b93535}
/* 글쓰기 본인인증 안내 (댓글 입력창 자리, 새 작품·회차·공지 화면) */
body.editorial .identity-gate{padding:20px;border:1px solid var(--line,#e4e7ec);border-radius:12px;background:var(--surface,#f6f7f9)}
body.editorial .identity-gate strong{display:block;font-size:16px;color:var(--ink,#101216)}
body.editorial .identity-gate p{margin:6px 0 14px;font-size:14px;line-height:1.6;color:var(--muted,#667085)}
body.editorial .identity-gate-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
body.editorial .identity-gate-actions .identity-msg{flex-basis:auto}
body.editorial .identity-gate-page{max-width:560px;margin:40px auto 80px}
body.editorial .identity-gate-page .route-back{display:inline-block;margin-bottom:16px}
body.editorial .identity-gate-inline{margin:0 0 18px}
/* 가입 동의 화면 (기록이 없는 계정의 첫 로그인) */
body.editorial .consent-gate{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(16,18,22,.55)}
body.editorial .consent-gate-card{width:100%;max-width:420px;padding:24px;border-radius:14px;background:#fff;box-shadow:0 12px 40px rgba(16,18,22,.2)}
body.editorial .consent-gate-card h2{margin:0 0 6px;font-size:19px;color:var(--ink,#101216)}
body.editorial .consent-gate-card>p{margin:0 0 16px;font-size:14px;line-height:1.6;color:var(--muted,#667085)}
body.editorial .consent-gate-card .auth-check{margin:0 0 10px}
body.editorial .consent-gate-card .consent-gate-note{margin:6px 0 0;font-size:12px}
body.editorial .consent-gate-actions{display:flex;flex-direction:column;gap:8px;margin-top:16px}
body.editorial .consent-gate-actions .btn{width:100%}
/* 랭킹 */
body.editorial .rk{--rk-ink:var(--ink,#111318);--rk-muted:var(--muted,#7A7F8F);--rk-line:var(--line,#ECEEF3);--rk-surface:var(--surface,#F4F5F9);--rk-accent:var(--accent,#FF3D5E);--rk-accent-ink:var(--accent-ink,#E0244A);--rk-accent-soft:var(--accent-soft,#FFE9ED);--rk-blue:var(--blue,#2E6BFF);--rk-blue-soft:var(--blue-soft,#E8EFFF)}
body.editorial .rk-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 0 18px}
body.editorial .rk-head h1{margin:0;font-family:var(--f-display,inherit);font-weight:400!important;font-size:38px;letter-spacing:0!important;line-height:1.3}
body.editorial .rk-head p{margin:0;color:var(--rk-muted);font-size:12.5px}
body.editorial .rk-tabs{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border-bottom:1px solid var(--rk-line)}
body.editorial .rk-type{display:flex;gap:22px}
body.editorial .rk-type button{background:none;border:0;border-bottom:3px solid transparent;margin-bottom:-1px;padding:12px 0 13px;font:inherit;font-size:17px;font-weight:800;color:var(--rk-muted);cursor:pointer}
body.editorial .rk-type button.on{color:var(--rk-ink);border-color:var(--rk-ink)}
body.editorial .rk-type button:disabled{cursor:default;opacity:.55}
body.editorial .rk-type small{font-size:10px;font-weight:700;margin-left:4px}
body.editorial .rk-period{display:flex;gap:4px;background:var(--rk-surface);padding:4px;border-radius:999px;margin:6px 0}
body.editorial .rk-period button{border:0;background:none;padding:7px 14px;border-radius:999px;font:inherit;font-size:13px;font-weight:700;color:var(--rk-muted)}
body.editorial .rk-period button:disabled{opacity:.45;cursor:default}
body.editorial .rk-period button.on{background:#fff;color:var(--rk-ink);box-shadow:0 1px 3px rgba(0,0,0,.08)}
body.editorial .rk-filters{display:flex;align-items:center;gap:10px;margin:16px 0 6px}
body.editorial .rk-genres{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;flex:1;min-width:0;padding:2px 0}
body.editorial .rk-genres::-webkit-scrollbar{display:none}
body.editorial .rk-chip{flex:none;border:1px solid var(--rk-line);background:#fff;padding:8px 15px;border-radius:999px;font-size:13.5px;font-weight:700;color:var(--rk-muted);text-decoration:none;white-space:nowrap}
body.editorial .rk-chip.on{background:var(--rk-ink);border-color:var(--rk-ink);color:#fff}
body.editorial .rk-toggles{display:flex;gap:6px;flex:none}
body.editorial .rk-toggle{display:flex;align-items:center;gap:6px;border:1px solid var(--rk-line);background:#fff;padding:8px 12px;border-radius:10px;font-size:13px;font-weight:700;color:var(--rk-muted);text-decoration:none;white-space:nowrap}
body.editorial .rk-toggle.on{border-color:var(--rk-accent);color:var(--rk-accent-ink);background:var(--rk-accent-soft)}
body.editorial .rk-toggle i{width:14px;height:14px;border-radius:4px;border:1.5px solid currentColor;display:inline-grid;place-items:center;font-style:normal;font-size:10px;line-height:1}
body.editorial .rk-updated{color:var(--rk-muted);font-size:12px;margin:0 0 20px}
body.editorial .rk-b{display:inline-block;flex:none;font-size:10.5px;font-weight:800;padding:3px 6px;border-radius:5px;line-height:1;white-space:nowrap}
body.editorial .rk-b.free{background:var(--rk-blue-soft);color:var(--rk-blue)}
body.editorial .rk-b.paid{background:var(--rk-accent-soft);color:var(--rk-accent-ink)}
body.editorial .rk-b.done{background:var(--rk-surface);color:var(--rk-ink)}
body.editorial .rk-b.rest{background:var(--rk-surface);color:var(--rk-muted)}
body.editorial .rk-b.age{border:1px solid var(--rk-accent);color:var(--rk-accent-ink);padding:2px 5px}
body.editorial .rk-podium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
body.editorial .rk-top{position:relative;display:grid;grid-template-columns:112px minmax(0,1fr);gap:16px;padding:18px;border:1px solid var(--rk-line);border-radius:16px;background:#fff;color:var(--rk-ink);text-decoration:none;transition:transform .15s,box-shadow .15s}
body.editorial .rk-top:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(17,19,24,.08)}
body.editorial .rk-top.first{background:linear-gradient(180deg,var(--rk-accent-soft),#fff 70%);border-color:transparent}
body.editorial .rk-top-no{position:absolute;top:-10px;left:14px;z-index:1;font-family:var(--f-display,inherit);font-weight:400;font-size:34px;color:var(--rk-accent);line-height:1}
body.editorial .rk-top .reference-cover{width:112px;border-radius:10px;box-shadow:0 2px 8px rgba(17,19,24,.12)}
body.editorial .rk-top-info{display:flex;flex-direction:column;gap:4px;min-width:0;padding-top:4px}
body.editorial .rk-badges{display:flex;gap:4px;flex-wrap:wrap}
body.editorial .rk-top-title{margin-top:4px;font-size:16.5px;line-height:1.35;font-weight:800;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
body.editorial .rk-byline{color:var(--rk-muted);font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.editorial .rk-meta{display:flex;gap:10px;flex-wrap:wrap;margin-top:auto;color:var(--rk-muted);font-size:12px}
body.editorial .rk-meta b{color:var(--rk-ink);font-weight:700}
body.editorial .rk-list{border-top:1px solid var(--rk-line);margin-top:18px}
body.editorial .rk-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--rk-line);padding:0 8px;border-radius:10px}
body.editorial .rk-row:hover{background:var(--rk-surface)}
body.editorial .rk-link{display:grid;grid-template-columns:48px 64px minmax(0,1fr);align-items:center;gap:14px;flex:1;min-width:0;padding:14px 0;color:var(--rk-ink);text-decoration:none}
body.editorial .rk-no{font-family:var(--f-display,inherit);font-weight:400;font-size:26px;text-align:center}
body.editorial .rk-link .reference-cover{width:64px;border-radius:8px}
body.editorial .rk-info{display:flex;flex-direction:column;gap:3px;min-width:0}
body.editorial .rk-title{display:flex;align-items:center;gap:6px;min-width:0}
body.editorial .rk-title strong{font-size:15.5px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
body.editorial .rk-sub{display:flex;gap:8px;flex-wrap:wrap;color:var(--rk-muted);font-size:12.5px}
body.editorial .rk-sub b{color:var(--rk-ink);font-weight:700}
body.editorial .rk-act{display:flex;gap:6px;flex:none}
body.editorial .rk-act button{border:1px solid var(--rk-line);background:#fff;border-radius:10px;padding:8px 12px;font:inherit;font-size:12.5px;font-weight:700;color:var(--rk-ink);white-space:nowrap;cursor:pointer}
body.editorial .rk-act .rk-first{background:var(--rk-ink);border-color:var(--rk-ink);color:#fff}
body.editorial .rk-act .rk-fav{padding:8px 10px;font-size:14px;line-height:1}
body.editorial .rk-act .rk-fav[aria-pressed="true"]{color:var(--rk-accent);border-color:var(--rk-accent)}
body.editorial .rk-act button:disabled{opacity:.6;cursor:wait}
body.editorial .rk-more{display:block;margin:22px auto 0;padding:13px 0;width:min(360px,100%);border:1px solid var(--rk-line);border-radius:12px;background:#fff;font:inherit;font-weight:700;font-size:14px;color:var(--rk-ink);cursor:pointer}
body.editorial .rk-more small{color:var(--rk-muted);font-weight:500;margin-left:4px}
@media(max-width:760px){
 body.editorial .rk-head h1{font-size:30px}
 body.editorial .rk-head p{display:none}
 body.editorial .rk-tabs{flex-direction:column;align-items:stretch;border-bottom:0}
 body.editorial .rk-type{border-bottom:1px solid var(--rk-line)}
 body.editorial .rk-period button{flex:1;padding:7px 2px;min-width:0}
 body.editorial .rk-filters{flex-direction:column;align-items:stretch}
 body.editorial .rk-podium{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:82%;overflow-x:auto;scroll-snap-type:x mandatory;padding:12px 2px 6px;scrollbar-width:none}
 body.editorial .rk-podium::-webkit-scrollbar{display:none}
 body.editorial .rk-top{scroll-snap-align:start;grid-template-columns:88px minmax(0,1fr);gap:12px;padding:14px}
 body.editorial .rk-top .reference-cover{width:88px}
 body.editorial .rk-row{padding:0;gap:8px}
 body.editorial .rk-row:hover{background:none}
 body.editorial .rk-link{grid-template-columns:30px 52px minmax(0,1fr);gap:10px;padding:12px 0}
 body.editorial .rk-no{font-size:20px}
 body.editorial .rk-link .reference-cover{width:52px}
 body.editorial .rk-act .rk-first{display:none}
}
/* 비밀번호 변경 */
body.editorial .password-change{display:grid;gap:12px;max-width:380px;margin-top:4px}
body.editorial .password-change label{display:grid;gap:6px}
body.editorial .password-change label span{font-size:13px;font-weight:600;color:var(--acc-sub,#52514e)}
body.editorial .password-change .auth-input{width:100%;margin:0}
body.editorial .password-change .account-row{margin-top:4px}
body.editorial .password-change .account-note{margin:0}
body.editorial .home-panel-note{margin-left:6px;font-size:12px;font-weight:500;color:#898781;letter-spacing:0}
/* 알림 설정: 이 기기 알림 */
body.editorial .notification-device-settings{margin-top:20px;padding:0;border-top:0}
body.editorial .notification-device-settings:empty{display:none}
body.editorial .notification-device-settings .notification-device{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #e5e9ed;border-top:1px solid #e5e9ed;border-radius:12px;padding:18px 20px;background:#fafbfc}
body.editorial .notification-device-settings .notification-device strong{font-size:16px}
body.editorial .notification-device-settings .notification-device p{margin:4px 0 0}
body.editorial .notification-device-settings .notification-device button{width:auto;flex:none;padding:0 18px}
body.editorial .notification-device-settings .notification-device.is-on button{border-color:#d5dbe2;color:#52514e}
@media(max-width:600px){body.editorial .notification-device-settings .notification-device{flex-direction:column;align-items:stretch}body.editorial .notification-device-settings .notification-device button{width:100%}}
/* 관리자 신고 처리 */
body.editorial .admin-report-form{margin-top:6px;min-width:200px}
body.editorial .admin-report-form summary{cursor:pointer;font-size:13px;font-weight:700;color:#184f95}
body.editorial .admin-report-form textarea{display:block;box-sizing:border-box;width:100%;margin:8px 0;border:1px solid #d5dbe2;border-radius:6px;padding:8px;font:inherit;font-size:13px;resize:vertical}
body.editorial .admin-report-buttons{display:flex;gap:6px;flex-wrap:wrap}
body.editorial .admin-report-buttons .btn{min-height:34px;padding:0 12px;font-size:13px}
body.editorial .admin-report-note{color:#52514e;font-size:12px}
body.editorial .admin-muted{color:#898781;font-size:12px}
/* 이용 제한 안내 띠 · 관리자 제재 */
body.editorial .sanction-bar{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px 16px;padding:12px 20px;background:#fff4e5;border-bottom:1px solid #f3d6a8;font-size:13px;color:#5c3d0a}
body.editorial .sanction-bar strong{color:#8a4b00}
body.editorial .sanction-bar a{font-weight:700;color:#8a4b00;text-decoration:underline}
body.editorial .admin-sanction{margin:0 0 14px;padding:12px 14px;border:1px solid #e5e9ed;border-radius:8px;background:#fafbfc;font-size:13px}
body.editorial .admin-sanction-list{list-style:none;margin:8px 0;padding:0;display:grid;gap:6px}
body.editorial .admin-sanction-list small{color:#898781}
body.editorial .admin-sanction select{display:block;margin:8px 0 0;height:34px;border:1px solid #d5dbe2;border-radius:6px;padding:0 8px;font:inherit}
body.editorial .admin-activity-filter{display:flex;gap:6px}
body.editorial .admin-activity-filter button{border:1px solid #d5dbe2;background:#fff;border-radius:999px;padding:6px 12px;font:inherit;font-size:13px;cursor:pointer}
body.editorial .admin-activity-filter button.on{background:#101216;border-color:#101216;color:#fff}
body.editorial .admin-back{margin:0 0 10px;font-size:13px}
body.editorial .admin-member-head h2{margin:0 0 4px;font-size:20px}
body.editorial .admin-member-head p{margin:0;color:#667085;font-size:13px}
body.editorial .admin-facts{display:flex;flex-wrap:wrap;gap:8px 28px;margin:14px 0 0}
body.editorial .admin-facts dt{font-size:12px;color:#898781}
body.editorial .admin-facts dd{margin:2px 0 0;font-size:14px;font-weight:600}
body.editorial .admin-member-open{margin:0 0 10px;font-size:13px;font-weight:700}
/* 관리자 홈 노출 */
body.editorial .admin-home label{display:grid;gap:6px;margin:10px 0;font-size:13px;font-weight:600}
body.editorial .admin-home input,body.editorial .admin-home textarea{box-sizing:border-box;width:100%;border:1px solid #d5dbe2;border-radius:6px;padding:9px 10px;font:inherit;font-size:14px}
body.editorial .admin-home-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
body.editorial .admin-home h3{margin:18px 0 8px;font-size:15px}
body.editorial .admin-home h3 small{font-weight:500;color:#898781;font-size:12px}
body.editorial .admin-home-picks{margin:0 0 10px;padding-left:20px;display:grid;gap:6px}
body.editorial .admin-home-picks li{display:flex;justify-content:space-between;gap:10px;align-items:center}
body.editorial .admin-home-picks small,body.editorial .admin-home-results small{color:#898781}
body.editorial .admin-home-results{display:grid;gap:4px;margin:6px 0 14px}
body.editorial .admin-home-results button{text-align:left;border:1px solid #e5e9ed;background:#fff;border-radius:6px;padding:8px 10px;font:inherit;font-size:13px;cursor:pointer}
body.editorial .admin-home-results button b{float:right;color:#184f95}
@media(max-width:600px){body.editorial .admin-home-row{grid-template-columns:1fr}}
/* 관리자 통계 */
body.editorial .stats-host{margin-bottom:14px}
body.editorial .stats-panel{position:relative}
body.editorial .stats-panel h2 small{font-size:12px;font-weight:500;color:#898781;margin-left:6px}
body.editorial .stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:12px;margin-top:12px}
body.editorial .stats-tile{border:1px solid #e5e9ed;border-radius:10px;padding:14px 14px 10px;background:#fff;min-width:0}
body.editorial .stats-label{display:block;font-size:13px;color:#52514e}
body.editorial .stats-value{display:block;font-size:26px;font-weight:700;color:#0b0b0b;margin:2px 0}
body.editorial .stats-value small{font-size:13px;font-weight:500;color:#52514e;margin-left:2px}
body.editorial .stats-delta{display:block;font-size:12px;font-weight:700;margin-bottom:8px}
body.editorial .stats-delta small{font-weight:500;color:#898781}
body.editorial .stats-delta.good{color:#1f7a4d}
body.editorial .stats-delta.bad{color:#b42318}
body.editorial .stats-delta.flat{color:#898781;font-weight:500}
body.editorial .stats-bars{display:block;width:100%;height:64px}
body.editorial .stats-bars path{fill:#184f95}
body.editorial .stats-col.on path,body.editorial .stats-col:focus path{fill:#0f3a70}
body.editorial .stats-col{outline:none;cursor:default}
body.editorial .stats-hit{fill:transparent}
body.editorial .stats-base{stroke:#e4e7ec;stroke-width:1}
body.editorial .stats-axis{display:flex;justify-content:space-between;font-size:11px;color:#898781;margin-top:4px}
body.editorial .stats-tip{position:absolute;transform:translate(-50%,-100%);background:#0b0b0b;color:#fff;font-size:12px;padding:4px 8px;border-radius:6px;pointer-events:none;white-space:nowrap;z-index:5}
body.editorial .stats-now{margin-top:12px}
body.editorial .stats-table{margin-top:12px;font-size:13px}
body.editorial .stats-table summary{cursor:pointer;font-weight:700;color:#184f95}
body.editorial .admin-activity-filter button{white-space:nowrap}
body.editorial .stats-panel .admin-panel-head{flex-wrap:wrap;gap:8px}
/* 작가 전자계약 (#/contract/작품ID) */
body.editorial .contract-page{max-width:760px;margin:0 auto;padding:28px 16px 80px}
body.editorial .contract-crumb{display:flex;gap:8px;font-size:13px;color:var(--muted,#667085);margin-bottom:16px}
body.editorial .contract-card{padding:22px;border:1px solid var(--line,#e4e7ec);border-radius:12px;background:#fff;margin-bottom:16px}
body.editorial .contract-card h1{margin:4px 0 10px;font-size:22px}
body.editorial .contract-card p{font-size:14px;line-height:1.6;color:var(--muted,#667085)}
body.editorial .contract-eyebrow{margin:0;font-size:12px;font-weight:600;color:var(--acc-accent,#184f95)!important}
body.editorial .contract-steps{display:flex;flex-wrap:wrap;gap:6px;padding:0;margin:14px 0;list-style:none;counter-reset:step}
body.editorial .contract-steps li{counter-increment:step;padding:4px 10px;border-radius:999px;background:var(--surface,#f6f7f9);font-size:12px;color:var(--muted,#667085)}
body.editorial .contract-steps li::before{content:counter(step) ". "}
body.editorial .contract-steps li.on{background:var(--acc-accent-bg,#cde2fb);color:var(--acc-accent,#184f95);font-weight:600}
body.editorial .contract-doc{padding:28px;border:1px solid var(--line,#e4e7ec);border-radius:12px;background:#fff;margin-bottom:16px;font-size:14px;line-height:1.75;color:var(--ink,#101216)}
body.editorial .contract-doc h1{margin:0 0 4px;font-size:21px;text-align:center}
body.editorial .contract-doc h2{margin:20px 0 6px;font-size:15px}
body.editorial .contract-doc p{margin:0 0 6px}
body.editorial .contract-meta{text-align:center;color:var(--muted,#667085);font-size:12px;margin-bottom:18px!important}
body.editorial .contract-draft{max-height:520px;overflow:auto}
body.editorial .contract-proof{margin-top:22px;padding-top:12px;border-top:1px solid var(--line,#e4e7ec);font-size:12px;color:var(--muted,#667085)}
body.editorial .contract-proof code{word-break:break-all;font-size:11px}
body.editorial .contract-sign label{display:block;margin:10px 0 6px;font-size:14px}
body.editorial .contract-sign input#contractName{width:100%;max-width:280px;padding:10px 12px;border:1px solid var(--line,#e4e7ec);border-radius:8px;font:inherit}
body.editorial .contract-sign .btn{margin-top:12px}
body.editorial .contract-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
body.editorial .contract-actions>div{display:flex;flex-wrap:wrap;gap:8px}
body.editorial .contract-state.done{margin:0;font-size:14px;color:#006300}
@media print{
  body.editorial header,body.editorial footer:not(.contract-proof),body.editorial nav,body.editorial .no-print,body.editorial #sanctionBar{display:none!important}
  body.editorial .contract-page{max-width:none;padding:0}
  body.editorial .contract-doc{border:0;padding:0;font-size:12pt}
}
/* 정산 지급 (#/studio/payouts, #/admin/payouts) */
body.editorial .payout-page{max-width:1000px;margin:0 auto;padding:28px 16px 80px}
body.editorial .payout-head h1{margin:0 0 6px;font-size:24px}
body.editorial .payout-head p,body.editorial .payout-muted{color:var(--muted,#667085);font-size:14px;line-height:1.6}
body.editorial .payout-card{padding:20px;border:1px solid var(--line,#e4e7ec);border-radius:12px;background:#fff;margin:16px 0}
body.editorial .payout-card h2{margin:0 0 10px;font-size:17px}
body.editorial .payout-rules ul{margin:0 0 10px;padding-left:18px;font-size:14px;line-height:1.8}
body.editorial .payout-facts{display:grid;gap:6px;margin:0 0 14px}
body.editorial .payout-facts div{display:flex;gap:12px;font-size:14px}
body.editorial .payout-facts dt{min-width:110px;color:var(--muted,#667085)}
body.editorial .payout-facts dd{margin:0}
body.editorial .payout-form{display:grid;gap:10px;max-width:460px}
body.editorial .payout-form fieldset{border:0;padding:0;margin:0;display:flex;gap:16px;flex-wrap:wrap;font-size:14px}
body.editorial .payout-form legend{font-weight:600;margin-bottom:6px}
body.editorial .payout-form label{display:grid;gap:4px;font-size:14px}
body.editorial .payout-form input:not([type=radio]):not([type=checkbox]){padding:10px 12px;border:1px solid var(--line,#e4e7ec);border-radius:8px;font:inherit}
body.editorial .payout-form small{color:var(--muted,#667085);font-size:12px}
body.editorial .payout-form .auth-check{display:flex}
body.editorial .payout-warn{padding:12px;border-radius:8px;background:#fff8e6;font-size:14px}
body.editorial .payout-table-wrap{overflow-x:auto}
body.editorial .payout-table{width:100%;border-collapse:collapse;font-size:13px;min-width:640px}
body.editorial .payout-table th,body.editorial .payout-table td{padding:10px 8px;border-bottom:1px solid var(--line,#e4e7ec);text-align:left;vertical-align:top}
body.editorial .payout-table small{color:var(--muted,#667085)}
body.editorial .payout-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end}
body.editorial .payout-toolbar label{display:grid;gap:4px;font-size:13px}
body.editorial .payout-toolbar input{padding:8px 10px;border:1px solid var(--line,#e4e7ec);border-radius:8px;font:inherit}
body.editorial .payout-inline{display:flex;gap:6px;align-items:center;font-size:12px;margin-bottom:6px}

/* 내 계정·내 작업실·관리자 메뉴: PC는 늘 펼친 목록, 휴대폰은 '지금 메뉴 · 전체 메뉴' 버튼을 눌러 펼친다. */
body.editorial .reference-menu-toggle{display:none}
@media(max-width:700px){
 body.editorial .reference-workspace--account .reference-account-nav{display:block;overflow:visible;padding:0!important;white-space:normal}
 body.editorial .reference-menu-toggle{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:48px;padding:0 14px;border:0;border-radius:12px;background:transparent;color:var(--acc-text);font:inherit;font-size:15px;font-weight:700;cursor:pointer;text-align:left}
 body.editorial .reference-menu-toggle em{flex:none;font-style:normal;font-size:13px;font-weight:600;color:var(--acc-accent)}
 body.editorial .reference-menu-toggle em::after{content:" ▾"}
 body.editorial .menu-open .reference-menu-toggle em::after{content:" ▴"}
 body.editorial .reference-menu-groups{display:none}
 body.editorial .menu-open .reference-menu-groups{display:grid;grid-template-columns:1fr 1fr;gap:14px 12px;padding:4px 14px 16px;border-top:1px solid var(--acc-line)}
 body.editorial .menu-open .reference-account-group{display:block;margin:0}
 body.editorial .menu-open .reference-account-group-title{display:flex;margin:10px 0 4px}
 body.editorial .reference-workspace--account .menu-open .reference-account-nav a,body.editorial .reference-workspace--account .reference-account-nav.menu-open a{display:block;margin:0;padding:8px 0 8px 18px;border-radius:0;background:none!important;font-size:14px;white-space:normal}
 body.editorial .reference-workspace--account .reference-account-nav.menu-open a.on{background:none!important;color:var(--acc-accent);font-weight:700}
}
