.studio-dock-panel { position:fixed; top:72px; right:0; bottom:0; width:380px; z-index:29; display:flex; flex-direction:column; background:var(--page-bg, var(--bg, #FAF8F5)); color:var(--text, #1C1917); border-left:1px solid rgba(28,25,23,.12); }
.studio-dock-panel[hidden], .dock-reopen[hidden], .studio-dock-panel [hidden] { display:none !important; }
.dock-header { flex:none; display:flex; align-items:center; padding:14px 16px; border-bottom:1px solid rgba(28,25,23,.1); }
.dock-tabs { display:flex; align-items:center; gap:16px; flex:1; }
.dock-tabs button { border:0; background:none; padding:8px 0; color:var(--muted,#78716c); font-size:13px; cursor:pointer; white-space:nowrap; }
.dock-tabs button[aria-selected="true"] { color:var(--accent,#586e5c); font-weight:600; border-bottom:2px solid var(--accent,#586e5c); }
.dock-close { border:0; background:transparent; font-size:22px; color:var(--muted,#78716c); cursor:pointer; width:30px; height:30px; }
.dock-scroll { flex:1; overflow:auto; min-height:0; padding:18px 20px; }
#studio-drawer-body { padding:0; overflow:visible; }
#studio-dock .tutor-entry-block { padding:0; border:0; margin:0; }
#studio-dock .tutor-entry-head { display:none; }
#studio-dock .tutor-external-bar { padding:14px 0; background:transparent; flex-wrap:wrap; }
.dock-input { flex:none; margin-top:auto; padding:14px 20px; border-top:1px solid rgba(28,25,23,.1); display:flex; gap:8px; background:var(--page-bg,var(--bg,#FAF8F5)); }
.dock-input input { flex:1; min-width:0; border:1px solid rgba(28,25,23,.14); background:rgba(255,255,255,.5); padding:10px 12px; border-radius:3px; font:inherit; font-size:13px; }
.dock-input button { border:0; background:transparent; color:var(--accent,#586e5c); font-size:22px; cursor:pointer; }
.dock-reopen { position:fixed; z-index:29; right:0; top:50%; border:1px solid rgba(28,25,23,.12); border-right:0; background:var(--page-bg,var(--bg,#FAF8F5)); padding:10px 7px; font-size:12px; cursor:pointer; writing-mode:vertical-rl; }
.dock-course { padding-bottom:20px; border-bottom:1px solid rgba(28,25,23,.1); margin-bottom:20px; }
.dock-course h3 { font-size:15px; margin:0 0 8px; }
.dock-course-hint, .dock-empty { color:var(--muted,#78716c); font-size:13px; line-height:1.7; }
.dock-course-item { display:flex; width:100%; text-align:left; gap:14px; padding:12px 0; border:0; border-bottom:1px solid rgba(28,25,23,.08); background:transparent; color:inherit; cursor:pointer; font:inherit; font-size:13px; }
.dock-course-item > span:first-child { color:var(--accent,#586e5c); font-family:Georgia,serif; font-size:19px; }
.dock-course-item small { display:block; color:var(--muted,#78716c); margin-top:5px; }
@media (min-width:961px) { body.dock-open #app-root, body.dock-open main.wrap { width:calc(100% - 380px); margin-left:0; margin-right:380px; max-width:none; } }
@media (max-width:960px) { .studio-dock-panel { top:auto; bottom:0; width:100%; height:min(78vh,720px); border-left:0; border-top:1px solid rgba(28,25,23,.12); border-radius:14px 14px 0 0; } .dock-reopen { top:auto; bottom:18px; writing-mode:horizontal-tb; } }

.dock-reopen { top:28%; bottom:auto; width:44px; height:108px; padding:10px 5px; border-radius:10px 0 0 10px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; writing-mode:horizontal-tb; transition:transform .3s cubic-bezier(.22,1,.36,1); }
.dock-reopen:hover { transform:translateX(-6px); }
.dock-reopen > span:nth-child(2) { writing-mode:vertical-rl; }
.bookmark-id { font-family:Georgia,serif; font-weight:bold; font-size:16px; }
.bookmark-id span { color:#E05A2B; font-size:7px; vertical-align:top; }
.bookmark-tip { position:absolute; right:48px; white-space:nowrap; padding:5px 8px; border:1px solid rgba(28,25,23,.12); background:var(--page-bg,var(--bg,#FAF8F5)); opacity:0; pointer-events:none; }
.dock-reopen:hover .bookmark-tip { opacity:1; }
.dock-hook { font-size:14px; line-height:1.8; color:var(--muted,#78716c); margin:0 0 18px; }

#identity-dialog { border-radius:3px; }
#identity-dialog::backdrop { background:rgba(28,25,23,.3); }
#identity-dialog h2 { font-family:"Songti SC",serif; font-size:22px; margin:12px 0 24px; }
#identity-dialog p { margin:18px 0 9px; color:#6e6a63; font-size:13px; }
#identity-dialog label { display:flex; gap:12px; align-items:center; margin:12px 0; font-size:13px; }
#identity-dialog input { flex:1; min-width:0; padding:8px 2px; background:transparent; border:0; border-bottom:1px solid rgba(28,25,23,.25); outline:none; }
#identity-dialog button { cursor:pointer; padding:9px 14px; border:1px solid rgba(28,25,23,.2); border-radius:3px; background:transparent; }
#identity-dialog button[type=submit] { background:#1c1917; color:#faf8f5; }
#identity-dialog #identity-error { color:#a24a39; }
.identity-mark { font: bold 23px Georgia,serif; }
.identity-mark span { color:#e05a2b; font-size:9px; vertical-align:top; }
.bookmark-id svg { display:block; width:22px; height:auto; }
.bookmark-id svg circle { fill:#E05A2B; }

#studio-dock [data-dock-pane="discussion"], #studio-dock [data-dock-pane="discussion"] * { box-sizing:border-box; max-width:100%; }
#studio-dock .discussion-toolbar, #studio-dock .community-form > div:first-child { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
#studio-dock .discussion-toolbar > input, #studio-dock .community-form input:not([type=checkbox]) { min-width:0; width:100%; flex:1 1 120px; }
#studio-dock .discussion-toolbar label { padding:6px 10px; font-size:12.5px; }
#studio-dock .discussion-toolbar label span { white-space:normal; }
#studio-dock .community-form textarea { box-sizing:border-box; max-width:100%; }
