.poetry-studio{width:min(1180px,97vw);height:min(900px,95dvh);max-height:95dvh;padding:0;display:none;overflow:hidden;border:1px solid #82a1aa;background:#102532}.poetry-studio[open]{display:flex;flex-direction:column}.studio-header{display:flex;align-items:center;gap:1rem;padding:1rem 1.4rem;background:repeating-linear-gradient(135deg,#1a3545 0 10px,#18313f 10px 20px);border-bottom:1px solid #62808e}.studio-header h2{margin:0;font-size:1.65rem}.studio-header p{margin:0;color:#c2d7df}.studio-header>button{margin-left:auto}.studio-header .avatar-small{width:64px;height:64px;flex:none}.studio-intro{padding:.65rem 1.4rem;background:#1c3b4b;color:#edf5f8;font-size:.95rem}.studio-intro span{color:#bbd0d8}.studio-workspace{display:grid;grid-template-columns:.9fr 1.1fr;gap:1.25rem;padding:1rem 1.4rem;min-height:0;flex:1}.studio-supply,.studio-draft{min-width:0;overflow:auto}.studio-tabs{display:flex;gap:.5rem;margin-bottom:.8rem}.studio-tabs button{flex:1}.studio-tabs [aria-pressed=true]{background:#ebdcaf;color:#17313f;border-color:#ebdcaf}.studio-supply label,.studio-draft label{font-weight:bold;font-size:.9rem}.studio-supply select,.studio-draft input{width:100%;margin:.3rem 0;padding:.5rem}.studio-tip{font-size:.9rem;line-height:1.45;color:#c1d4dc;margin:.5rem 0}.studio-line-bank{display:grid;gap:.5rem}.studio-line-bank button{display:flex;align-items:center;justify-content:space-between;text-align:left;gap:.5rem;background:#f1e8cd;color:#203b42;border-color:#c4b58b;padding:.65rem .8rem;font-family:Georgia,serif;font-weight:normal;line-height:1.4}.studio-line-bank button:hover{background:#fff8e8}.studio-line-bank b{color:#315561;font:bold 1.3rem Arial}.studio-pager{display:flex;gap:.5rem;align-items:center;justify-content:space-between;margin-top:.65rem;font-size:.9rem}.studio-pager button{padding:.3rem .7rem}.studio-draft{background:#0b1b26;border:1px solid #536f7d;padding:.9rem;display:flex;flex-direction:column}.studio-draft-top{display:flex;align-items:center;justify-content:space-between}.studio-draft-top span{font-size:.85rem;color:#bed1db}.studio-edit-lines{flex:1;min-height:0;overflow:auto}.studio-edit-line{padding:.3rem 0;border-bottom:1px solid #3c5663}.studio-edit-line textarea{width:100%;display:block;background:#183443;color:#eff5f6;border:1px solid #6d8b98;padding:.35rem;font-family:Georgia,serif;line-height:1.4;resize:vertical;margin:.2rem 0}.studio-edit-line>div{display:flex;gap:.3rem}.studio-edit-line button{padding:.15rem .55rem;min-height:32px;font-size:.8rem}.studio-editor-controls{display:flex;justify-content:space-between;align-items:center;gap:.5rem;padding-top:.5rem}.studio-editor-controls>button{font-size:.85rem;padding:.4rem}.studio-editor-controls .studio-pager{margin:0}.studio-empty{text-align:center;padding:1rem;color:#c7d9df}.studio-empty .kit-art{display:block;width:92px;height:115px;margin:.4rem auto}.studio-empty h3{font:1.4rem Georgia,serif;color:#f0dfb8}.studio-empty p{font-size:.95rem}.studio-tool-card{padding:.9rem;border:1px solid #647b83;background:#1a3947;line-height:1.5}.studio-tool-card p{margin:.6rem 0}.studio-tool-card blockquote{white-space:pre-line;background:#efe5c6;color:#243944;font:1.1rem/1.55 Georgia,serif;padding:.8rem;margin:.5rem 0}.studio-footer{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap;padding:.7rem 1.4rem;border-top:1px solid #657d88;background:#142c3a}.studio-footer label{font-size:.85rem;margin-right:auto}.studio-footer select{padding:.45rem;margin-left:.4rem}.studio-footer p{width:100%;font-size:.85rem;color:#c8d8df;margin:0}.poem-preview-dialog{width:min(820px,96vw);padding:1rem;background:#0c202b}.preview-actions{display:flex;align-items:center;justify-content:flex-end;gap:.5rem;flex-wrap:wrap;margin-bottom:1rem}.preview-actions strong{font-size:.8rem;margin-right:auto}.poem-sheet{--sheet:#faf5e7;--poem-ink:#1f353b;--poem-accent:#774b24;background:var(--sheet);color:var(--poem-ink);padding:clamp(1.5rem,5vw,3.5rem);min-height:650px;box-shadow:0 10px 30px #0005}.poem-sheet.theme-midnight{--sheet:#0f2230;--poem-ink:#eff4f5;--poem-accent:#75e0e7;border:1px solid #47616d}.poem-sheet.theme-sunrise{--sheet:#fff1e2;--poem-ink:#4e2c2a;--poem-accent:#a74028}.poem-imprint{display:block;color:var(--poem-accent);font-size:.75rem;letter-spacing:.12em;border-bottom:1px solid var(--poem-accent);padding-bottom:1rem}.poem-sheet h1{font:normal clamp(1.8rem,4vw,2.8rem)/1.2 Georgia,serif;color:var(--poem-ink);margin:1.5rem 0;overflow-wrap:anywhere}.poem-byline{display:flex;gap:.8rem;align-items:center;font-size:.9rem}.poem-byline small{display:block;margin-top:.2rem}.poem-byline .avatar-small{width:48px;height:48px}.poem-verses{margin:2rem 0;min-height:250px;font:1.15rem/1.8 Georgia,serif}.poem-verses p{white-space:pre-wrap;margin:0;overflow-wrap:anywhere}.poem-stanza{height:1.8em}.poem-sheet footer{border-top:1px solid var(--poem-accent);padding-top:1rem;color:var(--poem-accent);font-size:.85rem;font-style:italic}.poem-placeholder{opacity:.7}@media(max-width:720px){.poetry-studio{height:96dvh;overflow:auto}.studio-workspace{display:block;overflow:visible;flex:none}.studio-supply,.studio-draft{overflow:visible}.studio-draft{margin-top:1rem}.studio-header p,.studio-intro span{display:none}.studio-header{padding:.6rem}.studio-footer{position:sticky;bottom:0;padding:.6rem}.studio-footer p{display:none}.studio-editor-controls{flex-wrap:wrap}.studio-edit-lines{overflow:visible}.studio-header .avatar-small{width:48px;height:48px}}@media(min-width:721px) and (max-height:800px){.studio-header{padding:.5rem 1rem}.studio-header .avatar-small{width:44px;height:44px}.studio-header h2{font-size:1.35rem}.studio-header p{font-size:.85rem}.studio-intro{font-size:.85rem;padding:.4rem 1rem}.studio-workspace{padding:.65rem 1rem}.studio-edit-line textarea{height:46px}.studio-tip{font-size:.85rem}.studio-footer{padding:.5rem 1rem}}
dialog.poetry-studio[open]{width:min(1180px,97vw);max-width:97vw;height:min(900px,95dvh);max-height:95dvh;padding:0}dialog.poem-preview-dialog[open]{display:block;width:min(820px,96vw);max-width:96vw;height:auto;max-height:94dvh;padding:1rem}.preview-actions{position:sticky;top:-1rem;background:#0c202b;padding:.5rem 0;z-index:1}
.studio-supply{display:flex;flex-direction:column}.studio-line-bank{flex:1;min-height:0;align-content:start;overflow:auto}.studio-supply>.studio-pager{flex-shrink:0}.studio-supply>label,.studio-supply>select,.studio-tabs{flex-shrink:0}.studio-tool-card{overflow:auto}@media(max-width:720px){.studio-line-bank{flex:none;overflow:visible}}
