.fragment-toolbar{position:fixed;display:flex;gap:2px;z-index:1200;padding:5px;max-width:calc(100vw - 24px);border:1px solid #c4c4f14a;border-radius:13px;background:#192130f5;box-shadow:0 8px 28px #0005;backdrop-filter:blur(12px)}.fragment-toolbar button{display:flex;align-items:center;gap:7px;min-height:38px;padding:9px 12px;border-radius:8px;font-size:14px;line-height:1.3;white-space:nowrap}.fragment-toolbar button:hover{background:#ffffff12}.fragment-toolbar button+button{border-left:1px solid #ffffff15}
.growth-dialog{width:960px;max-width:calc(100vw - 32px);padding:28px;background:#111721;border:1px solid #c7d5ef35;border-radius:24px;box-shadow:0 32px 100px #0008}.growth-dialog::backdrop{background:#03060cba;backdrop-filter:blur(10px)}.growth-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.growth-dialog h2{font-size:24px;margin:0;letter-spacing:-.025em}.growth-dialog [data-growth-close]{width:40px;height:40px;border-radius:10px;border:1px solid #ffffff20;font-size:26px;background:#ffffff08;flex-shrink:0}.growth-dialog form label{display:grid;gap:10px;font-size:14px;color:#c4cfe2;margin-bottom:18px}.growth-dialog input:not([type=radio]),.growth-dialog textarea{width:100%;padding:13px 15px;font:16px/1.6 Inter,"Segoe UI",sans-serif;border:1px solid #c7d5ef2e;border-radius:12px;background:#080d15;color:#eef1f8;resize:vertical}.growth-dialog textarea{min-height:120px}.growth-dialog :focus-visible{outline:2px solid #b9baff;outline-offset:3px}.growth-dialog p[role=status]{min-height:24px;font-size:14px;line-height:1.6;color:#c6d0e5;margin:18px 0 0}.growth-hint{font-size:14px;line-height:1.65;color:#96a6bf;margin:0 0 22px}.growth-actions{display:flex;gap:12px;flex-wrap:wrap}.growth-actions>.button:not(.primary){border:1px solid #ffffff25;background:#ffffff05}
.quote-card-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1fr);gap:32px;align-items:start}.quote-card-preview{padding:8px;background:#05080e;border:1px solid #ffffff14;border-radius:14px;overflow:hidden}.quote-card-preview canvas{display:block;width:100%;height:auto;max-height:64vh;object-fit:contain}.quote-card-styles{border:0;padding:0;margin:0 0 24px;display:flex;gap:8px;flex-wrap:wrap}.quote-card-styles legend{font-size:14px;margin-bottom:12px;color:#c4cfe2}.quote-card-styles label{display:flex!important;align-items:center;gap:8px!important;padding:9px 13px;margin:0!important;border:1px solid #ffffff20;border-radius:10px;cursor:pointer}.quote-card-styles label:has(input:checked){background:#b9baff16;border-color:#b9baff70}.quote-card-styles input{accent-color:#b9baff}
#reader-proposal-dialog{width:640px}#reader-proposal-quote{margin:0 0 24px;padding:12px 0 12px 18px;border-left:2px solid #b8baff;font-size:18px;line-height:1.7;color:#e0e6f1;white-space:pre-wrap;max-height:180px;overflow:auto}.growth-dialog .growth-trap{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);opacity:0;pointer-events:none}.annotation-reader-credit{font-size:13px!important;color:#aebad0;margin-top:16px!important;padding-top:14px;border-top:1px solid #ffffff18}#annotation-propose-edit{padding:10px 12px;margin-top:18px;border:1px solid #ffffff27;border-radius:9px;font-size:14px;color:#d6def0;background:#ffffff05}
@media(max-width:680px){.quote-card-layout{grid-template-columns:1fr;gap:22px}.quote-card-preview{max-width:300px;margin-inline:auto;width:100%}.quote-card-preview canvas{max-height:40vh}.growth-dialog{padding:20px}.growth-dialog h2{font-size:21px}.fragment-toolbar button{font-size:13px;padding:8px 9px;gap:5px}.fragment-toolbar .ui-icon{width:14px;height:14px}}
@media(prefers-reduced-motion:reduce){.growth-dialog::backdrop{backdrop-filter:none}}
/* Quote studio: equal visual weight, one editorial grid, no black preview frame. */
#quote-card-dialog{width:1000px;max-height:calc(100dvh - 48px);overflow:auto;padding:28px;background:linear-gradient(145deg,#1a202ded,#0d131e);border-color:#d0d9ef2b}
#quote-card-dialog>header{padding-bottom:22px;margin-bottom:26px;border-bottom:1px solid #ffffff14}
.quote-card-eyebrow{display:block;font-size:12px;letter-spacing:.16em;color:#a2aec3;margin-bottom:8px}
#quote-card-dialog [data-growth-close]{display:grid;place-items:center;width:32px;height:32px;border:0;background:transparent;border-radius:50%;color:#bac3d4}
#quote-card-dialog [data-growth-close]:hover{background:#ffffff0d;color:white}
.quote-close-mark{position:relative;width:14px;height:14px}.quote-close-mark:before,.quote-close-mark:after{content:"";position:absolute;top:6px;left:0;width:14px;height:1.5px;background:currentColor;transform:rotate(45deg)}.quote-close-mark:after{transform:rotate(-45deg)}
#quote-card-dialog .quote-card-layout{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:32px;align-items:center}
#quote-card-dialog .quote-card-preview{position:relative;display:flex;justify-content:center;padding:0;background:transparent;border:0;border-radius:0;overflow:visible}
#quote-card-dialog canvas{width:auto;max-width:100%;max-height:62dvh;height:auto;border-radius:4px;box-shadow:0 16px 32px #0005}
.quote-card-size{position:absolute;bottom:-24px;left:0;width:100%;text-align:center;font-size:12px;letter-spacing:.04em;color:#8f9cb2}
#quote-card-dialog .quote-card-text-label{grid-template-columns:1fr auto;gap:10px;margin-bottom:22px;font-size:14px}
#quote-card-length{color:#8b98af;font-size:12px;font-variant-numeric:tabular-nums;align-self:center}
#quote-card-dialog textarea{grid-column:1/-1;min-height:160px;max-height:280px;line-height:1.65;border-radius:12px;background:#070c1480;border-color:#d1d9ee25}
#quote-card-dialog fieldset{border:0;padding:0;margin:0 0 22px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#quote-card-dialog legend{font-size:14px;color:#b7c2d6;margin-bottom:12px}
#quote-card-dialog fieldset label{position:relative;display:flex!important;justify-content:center;align-items:center;gap:7px!important;min-height:44px;padding:10px 8px;margin:0!important;border:1px solid #d4dcec22;border-radius:11px;font-size:14px;cursor:pointer;transition:background .25s,border-color .25s,transform .25s}
#quote-card-dialog fieldset label:hover{background:#ffffff08;transform:translateY(-1px)}
#quote-card-dialog fieldset label:has(input:checked){background:#c5c0ed13;border-color:#cac2eb66;color:#efeafa}
#quote-card-dialog fieldset input{position:absolute;width:1px;height:1px;opacity:0}
#quote-card-dialog fieldset label:has(input:focus-visible){outline:2px solid #c6bef0;outline-offset:3px}
.quote-swatch{width:13px;height:13px;border-radius:50%;border:1px solid #ffffff30;background:#141b2c}.quote-swatch.paper{background:#e8e3d9}.quote-swatch.cover{background:linear-gradient(135deg,#af9abd,#597493)}
.quote-card-formats label{flex-direction:column;gap:3px!important}.quote-card-formats small{font-size:12px;color:#8f9cb0}
#quote-card-dialog .quote-card-hint{font-size:13px;margin:0 0 20px}
#quote-card-dialog .growth-actions{display:grid;grid-template-columns:1fr auto;gap:8px}
#quote-card-dialog .growth-actions .button{min-height:46px;border-radius:11px;justify-content:center;padding:12px 17px;font-size:14px}
#quote-card-dialog p[role=status]:empty{display:none}
@media(max-width:680px){#quote-card-dialog{padding:20px;max-height:calc(100dvh - 24px)}#quote-card-dialog .quote-card-layout{grid-template-columns:1fr;gap:44px}#quote-card-dialog .quote-card-preview{max-width:100%;width:100%}#quote-card-dialog canvas{max-height:42dvh}#quote-card-dialog fieldset label{font-size:13px}}
@media(prefers-reduced-motion:reduce){#quote-card-dialog fieldset label{transition:none}#quote-card-dialog fieldset label:hover{transform:none}}
.quote-card-selection{margin-bottom:22px}.quote-card-selection-head{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:14px;color:#b7c2d6;margin-bottom:12px}
#quote-card-dialog #quote-card-text{white-space:pre-line;font:400 19px/1.6 Georgia,"Times New Roman",serif;color:#e5e7ef;margin:0;padding:16px 18px;border:1px solid #d4dcec22;border-radius:12px;background:#080d154d;max-height:190px;overflow:auto}
#quote-card-select{font-size:14px;color:#c5bfdc;margin-top:10px;padding:7px 0;border:0;background:none;cursor:pointer;text-decoration:underline;text-underline-offset:4px;text-decoration-color:#c5bfdc45}
.quote-card-picker{margin:-6px 0 22px;padding:14px;border-radius:12px;border:1px solid #d4dcec22;background:#0b111c}.quote-card-picker p{margin:0 0 10px;font-size:13px;color:#9eabc0;line-height:1.6}
#quote-card-lines{max-height:210px;overflow:auto;scrollbar-width:thin;scrollbar-color:#aab6ce55 transparent}
#quote-card-lines button{display:flex;align-items:baseline;gap:12px;width:100%;text-align:left;padding:8px;border:0;background:none;border-radius:6px;font:15px/1.55 Georgia,serif;color:#c7cfdf;cursor:pointer}
#quote-card-lines button:hover{background:#ffffff08}#quote-card-lines button[aria-pressed=true]{background:#b4a6e81a;color:#f0eafb}.quote-line-number{min-width:2ch;font:12px/1.5 Inter,sans-serif;color:#718098;font-variant-numeric:tabular-nums}
#quote-card-dialog [hidden]{display:none!important}
.quote-card-layout>*,.quote-card-selection-head>span,.growth-dialog>header>div{min-width:0}
.fragment-toolbar{flex-wrap:wrap}
#quote-card-dialog .quote-card-layout{padding-bottom:24px}
#quote-card-dialog .quote-card-selection-head{flex-wrap:wrap}
#quote-card-dialog .quote-card-size{bottom:-22px}
#quote-card-lines button{min-width:0;overflow-wrap:anywhere}
@media(max-width:900px){#quote-card-dialog .quote-card-layout{grid-template-columns:minmax(0,1fr);gap:44px}#quote-card-dialog canvas{max-height:42dvh}.quote-card-preview{width:100%;max-width:none}}
@media(max-width:420px){#quote-card-dialog .growth-actions{grid-template-columns:minmax(0,1fr)}.annotation-link-editor{flex-wrap:wrap}}
