/* 내 작업실. 틀(stu-frame)은 통계·정산 화면도 감싼다. 안쪽 화면의 모양은 건드리지 않는다. */
body.editorial .stu-frame{display:block;width:min(1180px,calc(100% - 64px));max-width:none!important;margin:0 auto;padding:24px 0 60px!important;border:0;border-radius:0;background:#fff;box-shadow:none;color:#0a0a0a;font-family:"Pretendard Variable",Pretendard,"Gothic A1","Malgun Gothic",system-ui,sans-serif;letter-spacing:-.01em;word-break:keep-all;overflow-wrap:anywhere;-webkit-font-smoothing:antialiased}
.stu-frame svg{flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
body.editorial .stu-frame>.reference-workspace-main{display:block;width:100%;max-width:none;margin:0;padding:18px 0 0;border:0;border-radius:0;background:none;box-shadow:none}
.stu-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
body.editorial .stu-frame .stu-title{margin:0;font-size:25px!important;font-weight:800!important;line-height:1.25;letter-spacing:-.025em;color:#0a0a0a!important}
.stu-new{position:relative;flex:0 0 auto}
.stu-new summary{display:flex;align-items:center;gap:5px;height:38px;padding:0 14px;border-radius:6px;background:#0a0a0a;color:#fff;font-size:14px;font-weight:700;list-style:none;cursor:pointer}
.stu-new summary::-webkit-details-marker{display:none}
.stu-new>div{position:absolute;right:0;top:44px;z-index:30;display:grid;gap:2px;min-width:132px;padding:6px;border:1px solid #e5e5e5;border-radius:8px;background:#fff;box-shadow:0 8px 24px rgba(0,0,0,.12)}
body.editorial .stu-new>div a{padding:8px 10px;border-radius:5px;font-size:14px;font-weight:600;color:#262626;text-decoration:none}
body.editorial .stu-new>div a:hover{background:#f4f4f5}
.stu-tabs{display:flex;gap:24px;margin-top:14px;overflow-x:auto;border-bottom:1px solid #e5e5e5;scrollbar-width:none}
.stu-tabs::-webkit-scrollbar{display:none}
body.editorial .stu-tabs a{flex:0 0 auto;padding:0 2px 11px;font-size:15.5px;font-weight:600;color:#737373;text-decoration:none}
body.editorial .stu-tabs a.on{font-weight:800;color:#0a0a0a;box-shadow:inset 0 -2px #0a0a0a}

/* 작품 화면 */
.stu-sr{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%)}
body.editorial .stu-hero{display:flex;align-items:center;gap:18px;margin:0 0 22px;padding:14px 26px 14px 14px;border-radius:12px;background:#14161f;color:#fff;text-decoration:none}
.stu-hero-cover{display:block;flex:0 0 auto;width:66px;border-radius:5px;overflow:hidden}
body.editorial .stu-frame :is(.stu-hero-cover,.stu-cover) .reference-cover{display:block;width:100%;margin:0;padding:0;border:0;border-radius:inherit!important;box-shadow:none;overflow:hidden;background:#f0f0f2!important}
.stu-hero-tx{display:flex;flex:1;flex-direction:column;min-width:0}
body.editorial .stu-hero-tx small{font-size:13px;font-weight:700;color:#ff8fa3!important}
body.editorial .stu-hero .stu-hero-tx strong{margin-top:3px;overflow:hidden;font-size:21px;font-weight:800;letter-spacing:-.02em;color:#fff!important;white-space:nowrap;text-overflow:ellipsis}
body.editorial .stu-hero .stu-hero-tx em{margin-top:5px;font-size:13.5px;font-style:normal;color:rgba(255,255,255,.72)!important}
body.editorial .stu-hero .stu-hero-go{display:flex;flex:0 0 auto;align-items:center;gap:6px;height:44px;padding:0 22px;border-radius:10px;background:#fff;color:#0a0a0a!important;font-size:15px;font-weight:700;white-space:nowrap}
.stu-filter{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;border-bottom:1px solid #efefef}
.stu-kinds{display:flex;gap:24px}
body.editorial .stu-kinds button{min-height:0!important;margin:0;padding:0 2px 10px;border:0;border-radius:0;background:none;box-shadow:none;font:inherit;font-size:15px!important;font-weight:600!important;color:#737373!important;cursor:pointer}
body.editorial .stu-kinds button.on{font-weight:800!important;color:#0a0a0a!important;box-shadow:inset 0 -2px #0a0a0a}
.stu-kinds button span{font-weight:500;color:#a3a3a3}
.stu-status{position:relative;display:inline-flex;align-items:center;gap:10px;height:32px;margin:0 0 7px;padding:0 11px;border:1px solid #d9d9dc;border-radius:99px;font-size:13px;font-weight:600;color:#404040;white-space:nowrap;cursor:pointer}
body.editorial .stu-status select{position:absolute;inset:0;width:100%;height:100%;min-height:0;margin:0;padding:0;border:0;opacity:0;font-size:14px;cursor:pointer}
body.editorial .stu-page .studio-list{display:block;border:0;border-radius:0;background:none}
.stu-head,body.editorial .stu-page .stu-row{display:grid;grid-template-columns:52px minmax(0,1fr) 62px 70px 56px 142px;align-items:center;gap:14px}
.stu-head{padding:10px 0;border-bottom:1px solid #f0f0f1;font-size:12.5px;color:#8e8e8e}
.stu-head span:nth-child(n+3):nth-child(-n+5){text-align:right}
body.editorial .stu-page .stu-row{margin:0;padding:12px 0;border:0;border-bottom:1px solid #f0f0f1;border-radius:0;background:none;box-shadow:none}
body.editorial .stu-page .stu-row[hidden]{display:none}
.stu-cover{display:block;border-radius:3px;overflow:hidden}
.stu-info{min-width:0}
body.editorial .stu-name{display:block;overflow:hidden;font-size:15px;font-weight:700;color:#0a0a0a;white-space:nowrap;text-overflow:ellipsis;text-decoration:none}
body.editorial .stu-info small{display:block;margin-top:4px;font-size:13px;color:#737373!important}
.stu-inline{display:none}
.stu-info b{font-weight:600;color:#a3a3a3}
.stu-info b.st-published{color:#0a0a0a}
.stu-num{font-size:13.5px;color:#404040;text-align:right;white-space:nowrap}
.stu-acts{display:grid;grid-template-columns:minmax(0,1fr) 34px;align-items:center;gap:2px}
body.editorial .stu-acts .stu-go{display:flex;align-items:center;justify-content:center;min-height:0;height:36px;padding:0 6px;border:1px solid #d4d4d8;border-radius:6px;background:#fff;box-shadow:none;font-size:13.5px;font-weight:600;color:#0a0a0a!important;white-space:nowrap;text-decoration:none}
body.editorial .stu-acts .stu-go:hover{background:#f4f4f5}
.stu-acts .studio-more{position:relative}
body.editorial .stu-acts .studio-more summary{display:flex;align-items:center;justify-content:center;width:34px;height:36px;border:0;border-radius:6px;background:none;box-shadow:none;font-size:16px;color:#525252;list-style:none;cursor:pointer}
.stu-acts .studio-more summary::-webkit-details-marker{display:none}
body.editorial .stu-acts .studio-more-menu{position:absolute;right:0;top:40px;z-index:30;display:grid;gap:2px;min-width:150px;padding:6px;border:1px solid #e5e5e5;border-radius:8px;background:#fff;box-shadow:0 8px 24px rgba(0,0,0,.12)}
body.editorial .stu-acts .studio-more-menu :is(a,button){display:block;width:100%;min-height:0!important;margin:0;padding:8px 10px;border:0;border-radius:5px;background:none;box-shadow:none;font:inherit;font-size:14px!important;font-weight:500!important;color:#262626!important;text-align:left;text-decoration:none;cursor:pointer}
body.editorial .stu-acts .studio-more-menu :is(a,button):hover{background:#f4f4f5}
body.editorial .stu-acts .studio-more-menu .studio-danger{color:#d0263f!important}
.stu-page .studio-none{margin:0;padding:48px 16px;font-size:14px;color:#737373;text-align:center}
.stu-page .studio-none[hidden]{display:none}

@media(max-width:860px){
 .stu-head{display:none}
 body.editorial .stu-page .stu-row{grid-template-columns:52px minmax(0,1fr) 142px}
 .stu-row .stu-num{display:none}
 .stu-inline{display:inline}
}
/* 휴대폰: 하단 탭을 피하고, 숫자는 줄 안에 합친다. */
@media(max-width:700px){
 body.editorial .stu-frame{width:calc(100% - 32px);padding:10px 0 92px}
 body.editorial .stu-frame>.reference-workspace-main{padding-top:14px}
 .stu-tabs{gap:18px;margin-top:10px}
 body.editorial .stu-tabs a{font-size:15px}
 body.editorial .stu-hero{flex-wrap:wrap;gap:12px;margin-bottom:16px;padding:12px}
 .stu-hero-cover{width:58px}
 body.editorial .stu-hero .stu-hero-tx strong{font-size:17px}
 body.editorial .stu-hero .stu-hero-tx em{font-size:12.5px}
 body.editorial .stu-hero .stu-hero-go{justify-content:center;width:100%;height:40px;font-size:14px}
 .stu-kinds{gap:16px}
 body.editorial .stu-kinds button{font-size:14px!important}
 .stu-status{height:30px;gap:6px;padding:0 9px;font-size:12.5px}
 body.editorial .stu-page .stu-row{grid-template-columns:48px minmax(0,1fr) 106px;gap:10px;padding:11px 0}
 body.editorial .stu-name{font-size:14.5px}
 body.editorial .stu-info small{font-size:12px}
 .stu-acts{grid-template-columns:minmax(0,1fr) 26px}
 body.editorial .stu-acts .stu-go{height:32px;font-size:12.5px}
 body.editorial .stu-acts .studio-more summary{width:26px;height:32px}
}
/* 원고 파일이 없는 전자책: 이름 아래 한 줄(2026-11-06) */
body.editorial .stu-note{display:block;width:max-content;max-width:100%;margin-top:4px;font-size:12.5px;font-weight:700;color:#b45309;text-decoration:underline;text-underline-offset:3px}
/* 유통사(회사) 계정 탭(2026-11-12): 작품·통계·정산 지급·계약·문의만. 작가 계정에는 계약 탭이 없다. */
body:not(.ebook-open) [data-ebook-new],body:not(.volume-open) [data-volume-new]{display:none!important}body.ebook-open [data-ebook-closed-note]{display:none!important}
body:not(.is-distributor) .stu-tabs a[data-tab="contract"],body:not(.is-distributor) .stu-tabs .stu-co{display:none!important}
/* 유통사 계정은 전자책을 새로 올릴 수 없다(공급계약은 웹소설만): 새 전자책 입구를 숨긴다 */
body.is-distributor .stu-new a[href="#/ebooks/new"],body.is-distributor .reference-account-group a[href="#/ebooks/new"],body.is-distributor a.wu-other[href="#/ebooks/new"],body.is-distributor a.rc-slot[href="#/ebooks/new"]{display:none!important}
body.is-distributor .stu-tabs a[data-tab="settlements"],body.is-distributor .stu-tabs a[data-tab="profile"],body.is-distributor .stu-tabs .stu-wr{display:none!important}
/* 단행본(2026-11-17): 유통사 계정은 2단계에서 연다 */
body.is-distributor .stu-new a[href="#/studio/volume/new"],body.is-distributor .stu-tabs a[data-tab="volumes"]{display:none!important}
