:root{--riley-primary:#7C3AED;--riley-primary-strong:#6D28D9;--riley-accent:#A855F7;--riley-accent-soft:#C084FC;--riley-ink:#4C1D95;--riley-tint:#F3E8FF;--riley-tint-strong:#EDE9FE;--riley-gradient:linear-gradient(135deg,#A855F7,#6366F1)}.riley-input,.riley-textarea{width:100%;border:1px solid rgba(148,163,184,.3);background:rgba(255,255,255,.92);color:var(--text-primary,#0f172a);font:inherit;font-size:.92rem;padding:10px 12px;border-radius:12px;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;box-sizing:border-box}.riley-textarea{resize:vertical;min-height:84px;line-height:1.55}.riley-input:focus,.riley-textarea:focus{outline:none;border-color:#A855F7;box-shadow:0 0 0 3px rgba(168,85,247,.18);background:#ffffff}.riley-input::placeholder,.riley-textarea::placeholder{color:#94a3b8}:is(.studio.theme-dark,[data-theme=dark]) .riley-input,:is(.studio.theme-dark,[data-theme=dark]) .riley-textarea{background:rgba(15,16,22,.72);color:#e2e8f0;border-color:rgba(148,163,184,.22)}.riley-button-ghost{background:transparent;border:1px solid rgba(148,163,184,.32);color:var(--text-secondary,#475569);padding:8px 14px;border-radius:10px;font:inherit;font-size:.86rem;cursor:pointer;transition:background .14s ease,border-color .14s ease}.riley-button-ghost:hover{background:rgba(168,85,247,.06);border-color:rgba(168,85,247,.42)}.riley-form{display:grid;grid-gap:22px;gap:22px;padding:4px 0}.riley-form-progress{height:4px;border-radius:999px;background:rgba(148,163,184,.18);overflow:hidden}.riley-form-progress-bar{height:100%;background:linear-gradient(90deg,var(--riley-accent),var(--riley-primary));border-radius:inherit;transition:width .28s ease}.riley-form-progress-label{display:flex;align-items:center;gap:10px;font-size:11.5px;color:var(--text-secondary,#64748b);text-transform:uppercase;font-weight:700;letter-spacing:.16em;margin-top:-10px}.riley-form-saved-pill{display:inline-flex;align-items:center;font-size:10px;font-weight:800;letter-spacing:.18em;padding:2px 8px;border-radius:999px;background:rgba(34,197,94,.14);color:#15803d;border:1px solid rgba(34,197,94,.32);text-transform:uppercase}.riley-row{display:grid;grid-gap:6px;gap:6px}.riley-row-label{font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--text-secondary,#64748b)}.riley-row-required{color:var(--riley-accent);margin-left:4px}.riley-row-hint{margin:0 0 4px;font-size:12.5px;line-height:1.5;color:var(--text-secondary,#64748b)}.riley-row-control{display:grid;grid-gap:8px;gap:8px}.riley-chip-row{display:flex;flex-wrap:wrap;gap:8px}.riley-chip{padding:7px 12px;border-radius:999px;border:1px solid rgba(148,163,184,.32);background:rgba(255,255,255,.86);color:var(--text-primary,#0f172a);font-size:12.5px;font-weight:600;cursor:pointer;transition:border-color .14s ease,background .14s ease,color .14s ease,transform .12s ease}.riley-chip:hover{border-color:#A855F7;transform:translateY(-1px)}.riley-chip.active{background:linear-gradient(135deg,rgba(168,85,247,.14),rgba(124,58,237,.14));border-color:rgba(168,85,247,.55);color:#6b21a8;box-shadow:0 4px 12px -8px rgba(168,85,247,.4)}:is(.studio.theme-dark,[data-theme=dark]) .riley-chip{background:rgba(15,16,22,.62);color:#e2e8f0}:is(.studio.theme-dark,[data-theme=dark]) .riley-chip.active{color:var(--riley-tint)}.riley-color-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));grid-gap:12px;gap:12px}.riley-color-field{display:grid;grid-gap:6px;gap:6px}.riley-color-field-label{font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--text-secondary,#94a3b8)}.riley-color-field-input{display:flex;align-items:center;gap:8px}.riley-color-swatch{width:36px;height:36px;border-radius:10px;border:1px solid rgba(148,163,184,.3);flex-shrink:0;box-shadow:inset 0 1px 0 rgba(255,255,255,.4)}.riley-list-editor{display:grid;grid-gap:8px;gap:8px}.riley-list-editor-row{display:grid;grid-template-columns:1fr auto;grid-gap:8px;gap:8px}.riley-list-add{padding:0 14px;border-radius:10px;border:1px solid rgba(168,85,247,.45);background:linear-gradient(135deg,rgba(168,85,247,.1),rgba(124,58,237,.1));color:#6b21a8;font:inherit;font-weight:700;font-size:13px;cursor:pointer;transition:background .14s ease,transform .12s ease}.riley-list-add:disabled{opacity:.5;cursor:not-allowed}.riley-list-add:not(:disabled):hover{transform:translateY(-1px)}.riley-list{list-style:none;margin:0;padding:0;display:grid;grid-gap:6px;gap:6px}.riley-list-item{display:grid;grid-template-columns:1fr auto;align-items:center;grid-gap:10px;gap:10px;padding:8px 10px;border-radius:10px;background:rgba(168,85,247,.06);border:1px solid rgba(168,85,247,.18);font-size:13px;color:var(--text-primary,#0f172a)}.riley-list-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.riley-list-remove{width:22px;height:22px;border-radius:50%;border:none;background:rgba(15,23,42,.06);color:var(--text-secondary,#64748b);cursor:pointer;font-size:15px;line-height:1;display:inline-flex;align-items:center;justify-content:center}.riley-list-remove:hover{background:rgba(168,85,247,.15);color:var(--riley-primary-strong)}.riley-attachments{display:grid;grid-gap:8px;gap:8px}.riley-attachment-row{display:grid;grid-template-columns:minmax(120px,.7fr) minmax(180px,1.4fr) auto;grid-gap:8px;gap:8px}.riley-file-drop{position:relative;display:inline-flex;width:-moz-fit-content;width:fit-content;align-items:center;justify-content:center;padding:9px 12px;border-radius:8px;border:1px dashed rgba(168,85,247,.38);background:rgba(168,85,247,.04);color:#6b21a8;font-size:13px;font-weight:800;cursor:pointer}.riley-file-drop input{position:absolute;inset:0;opacity:0;cursor:pointer}.riley-attachments .riley-list-item{grid-template-columns:minmax(0,1fr) auto auto}.riley-list-text small{display:block;margin-top:2px;overflow:hidden;text-overflow:ellipsis;color:var(--text-secondary,#64748b);font-size:11px}.riley-attachment-kind{padding:2px 7px;border-radius:999px;background:rgba(15,23,42,.06);color:var(--text-secondary,#64748b);font-size:10px;font-weight:800;text-transform:uppercase}.riley-form-footer{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding-top:8px}.riley-form-footer-hint{font-size:12px;color:var(--text-secondary,#64748b)}.riley-chat{display:flex;flex-direction:column;min-height:480px;max-height:720px}.riley-chat--sidecar{min-height:0;max-height:none;height:100%}.riley-chat-scroll{flex:1 1;min-height:0;overflow-y:auto;padding:16px 4px 12px;scrollbar-width:thin;scrollbar-color:rgba(148,163,184,.32) transparent}.riley-chat--sidecar .riley-chat-scroll{padding:14px 0 10px}.riley-chat-scroll::-webkit-scrollbar{width:6px}.riley-chat-scroll::-webkit-scrollbar-thumb{background:rgba(148,163,184,.3);border-radius:999px}.riley-chat-empty{text-align:center;padding:60px 20px;color:var(--text-secondary,#64748b)}.riley-chat-empty-glyph{display:inline-flex;width:48px;height:48px;border-radius:50%;align-items:center;justify-content:center;font-size:24px;background:linear-gradient(135deg,rgba(168,85,247,.14),rgba(124,58,237,.14));color:var(--riley-accent);margin-bottom:14px}.riley-chat-empty h4{margin:0 0 6px;font-size:16px;color:var(--text-primary,#0f172a);font-weight:700}.riley-chat-empty p{margin:0;max-width:42ch;margin-inline:auto;font-size:13.5px;line-height:1.6}.riley-chat-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}.riley-chat-bubble{display:flex;gap:10px;max-width:92%}.riley-chat-bubble--user{align-self:flex-end;flex-direction:row-reverse}.riley-chat-bubble--riley{align-self:flex-start}.riley-chat-bubble--system{align-self:center;max-width:80%;font-size:12px;color:var(--text-secondary,#64748b);font-style:italic}.riley-chat-avatar{width:32px;height:32px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:13px;flex-shrink:0;box-shadow:0 4px 12px -6px rgba(168,85,247,.55)}.riley-chat-bubble-body{padding:10px 14px;border-radius:16px;font-size:14px;line-height:1.55;background:rgba(255,255,255,.96);border:1px solid rgba(148,163,184,.22);color:var(--text-primary,#0f172a)}.riley-chat-bubble--user .riley-chat-bubble-body{background:var(--riley-gradient);color:#ffffff;border-color:transparent;border-bottom-right-radius:6px}.riley-chat-bubble--riley .riley-chat-bubble-body{border-bottom-left-radius:6px}:is(.studio.theme-dark,[data-theme=dark]) .riley-chat-bubble--riley .riley-chat-bubble-body{background:rgba(20,22,30,.85);color:#e2e8f0;border-color:rgba(148,163,184,.18)}.riley-chat-bubble-text{white-space:pre-wrap;word-break:break-word}.riley-chat-foundry-pending{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#b45309;padding:4px 10px;border-radius:999px;background:rgba(245,158,11,.14);border:1px solid rgba(245,158,11,.3)}.riley-chat-foundry-dot{width:6px;height:6px;border-radius:50%;background:#f59e0b;animation:riley-pulse 1.6s ease-in-out infinite}@keyframes riley-pulse{0%,to{opacity:.4;transform:scale(.8)}50%{opacity:1;transform:scale(1.1)}}.riley-chat-form{display:flex;gap:8px;padding:10px 4px 4px;border-top:1px solid rgba(148,163,184,.16);margin-top:8px}.riley-chat--sidecar .riley-chat-form{padding-inline:0}.riley-chat-input{flex:1 1;min-width:0;padding:12px 14px;border-radius:999px;border:1px solid rgba(148,163,184,.3);background:rgba(255,255,255,.96);font:inherit;font-size:14px;color:var(--text-primary,#0f172a)}.riley-chat-input:focus{outline:none;border-color:#A855F7;box-shadow:0 0 0 3px rgba(168,85,247,.18)}:is(.studio.theme-dark,[data-theme=dark]) .riley-chat-input{background:rgba(15,16,22,.72);color:#e2e8f0;border-color:rgba(148,163,184,.18)}:is(.studio.theme-dark,[data-theme=dark]) .riley-chat-input::placeholder{color:rgba(148,163,184,.75)}.riley-chat-send{width:44px;height:44px;border-radius:50%;border:none;color:#fff;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 8px 24px -10px rgba(124,58,237,.55);transition:transform .14s ease}.riley-chat-send:disabled{opacity:.5;cursor:not-allowed}.riley-chat-send:not(:disabled):hover{transform:translateY(-1px) rotate(-6deg)}.riley-chat-spinner{width:16px;height:16px;border-radius:50%;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;animation:riley-spin .72s linear infinite}@keyframes riley-spin{to{transform:rotate(1turn)}}.riley-book-progress{display:inline-flex;padding:4px 12px;border-radius:999px;background:rgba(148,163,184,.12);font-size:11.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--text-secondary,#475569)}.riley-book-stage{position:relative;display:flex;align-items:center;justify-content:center;gap:14px;padding:28px 16px 24px;min-height:540px;perspective:1800px}.riley-book-empty,.riley-book-loading{width:100%;text-align:center;font-size:14px;color:var(--text-secondary,#64748b);padding:60px 20px}.riley-book{position:relative;display:flex;width:min(960px,100%);aspect-ratio:4/3;transform-style:preserve-3d}.riley-book-spread{display:grid;grid-template-columns:1fr 1fr;width:100%;height:100%;border-radius:16px;overflow:hidden;background:transparent;position:relative}.riley-book-spine{position:absolute;top:0;bottom:0;left:50%;width:2px;background:linear-gradient(180deg,transparent,rgba(0,0,0,.18),transparent);z-index:2;pointer-events:none}.riley-book-page{position:relative;height:100%;background:radial-gradient(circle at 30% 0,rgba(168,85,247,.04),transparent 60%),linear-gradient(180deg,#fefefe,#f9f9fc);background-image:radial-gradient(circle at 1px 1px,rgba(15,23,42,.02) 1px,transparent 0),linear-gradient(180deg,#fefefe,#f9f9fc);background-size:4px 4px,100% 100%;padding:36px 38px 28px;display:flex;flex-direction:column;gap:16px;color:#1e1b29;overflow:hidden}.riley-book-page.left{border-right:1px solid rgba(15,23,42,.06)}.riley-book-page.right{border-left:1px solid rgba(15,23,42,.06)}.riley-book-page.empty{background:linear-gradient(180deg,#f4f4f7,#ececf0)}.riley-book-page.is-html{padding:0;gap:0;background:#ffffff}.riley-book-html{position:absolute;inset:0;width:100%;height:100%;border:0;background:#ffffff}.riley-bookcover-logo{width:min(78%,320px);height:84px;margin:0 auto 4px}.riley-bookcover-logo svg{width:100%;height:100%}.riley-book-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.riley-book-btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid transparent;border-radius:999px;padding:7px 14px;font-size:12.5px;font-weight:600;cursor:pointer;background:linear-gradient(135deg,var(--riley-accent-from,#a855f7),var(--riley-accent-to,#6366f1));color:#fff;transition:filter .15s ease,opacity .15s ease}.riley-book-btn:hover:not(:disabled){filter:brightness(1.06)}.riley-book-btn.ghost{background:transparent;color:inherit;border-color:rgba(120,100,160,.35)}.riley-book-btn:disabled{opacity:.55;cursor:default}.riley-book-notice{margin:0 0 12px;padding:10px 14px;border-radius:12px;font-size:13px;background:rgba(99,102,241,.1);color:#4338ca;border:1px solid rgba(99,102,241,.2)}:is(.studio.theme-dark,[data-theme=dark]) .riley-book-notice{background:rgba(129,140,248,.14);color:#c7d2fe;border-color:rgba(129,140,248,.28)}.riley-book-page.void{background:transparent;border:none;box-shadow:none}.riley-book-shadow{position:absolute;bottom:-20px;height:36px;border-radius:50%;background:rgba(15,23,42,.32);filter:blur(24px);z-index:0;pointer-events:none}.riley-book-shadow.left{left:4%;width:43%}.riley-book-shadow.right{right:4%;width:43%}.riley-bookc{position:absolute;top:0;left:50%;width:50%;height:100%;padding:0;border:none;background:transparent;cursor:pointer;transform-origin:left center;transform-style:preserve-3d;transition:transform .45s cubic-bezier(.22,1,.36,1);z-index:3}.riley-bookc:hover{transform:rotateY(-9deg)}.riley-bookc:focus-visible{outline:2px solid rgba(168,85,247,.6);outline-offset:4px;border-radius:6px 16px 16px 6px}.riley-bookcover{position:absolute;inset:0;display:flex;overflow:hidden;border-radius:6px 16px 16px 6px;box-shadow:inset 0 1px 0 rgba(255,255,255,.25),inset 0 -40px 80px rgba(0,0,0,.16),0 18px 40px rgba(15,23,42,.28)}.riley-bookcover-sheen{position:absolute;inset:0;background:radial-gradient(120% 80% at 20% 0,rgba(255,255,255,.22),transparent 55%),radial-gradient(100% 70% at 90% 100%,rgba(0,0,0,.14),transparent 60%);pointer-events:none}.riley-bookcover-binding{position:absolute;top:0;bottom:0;left:0;width:26px;background:linear-gradient(90deg,rgba(0,0,0,.28),rgba(0,0,0,.06) 45%,rgba(255,255,255,.14) 70%,transparent);pointer-events:none}.riley-bookcover-frame{position:absolute;inset:22px 20px 22px 34px;border:1.5px solid;border-radius:10px;opacity:.8;pointer-events:none}.riley-bookcover-edges{position:absolute;top:6px;bottom:6px;right:-7px;width:9px;border-radius:0 3px 3px 0;background:repeating-linear-gradient(180deg,#fdfdfb 0 2px,#e4e2da 2px 3px);box-shadow:1px 0 3px rgba(15,23,42,.25)}.riley-bookcover-inner{position:relative;display:flex;flex-direction:column;justify-content:space-between;width:100%;padding:44px 38px 36px 50px;text-align:center}.riley-bookcover-eyebrow{font-size:10.5px;letter-spacing:.42em;text-transform:uppercase;font-weight:800}.riley-bookcover-heart{display:flex;flex-direction:column;align-items:center;gap:14px}.riley-bookcover-mark{font-size:34px;line-height:1;text-shadow:0 4px 18px rgba(0,0,0,.25)}.riley-bookcover-heart h3{margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(26px,3.2vw,40px);line-height:1.12;font-weight:700;letter-spacing:.01em;text-wrap:balance;overflow-wrap:break-word}.riley-bookcover-heart p{margin:0;font-size:13px;line-height:1.5;max-width:30ch}.riley-bookcover-foot{display:flex;flex-direction:column;gap:2px;font-size:11px;letter-spacing:.18em;text-transform:uppercase;font-weight:700}.riley-book-hint{position:absolute;bottom:-4px;left:0;right:0;text-align:center;font-size:12px;color:var(--text-secondary,#64748b);letter-spacing:.04em;animation:riley-hint-pulse 2.4s ease-in-out infinite;pointer-events:none}@keyframes riley-hint-pulse{0%,to{opacity:.55}50%{opacity:1}}.riley-book-flipper{position:absolute;top:0;height:100%;width:50%;z-index:6;transform-style:preserve-3d;will-change:transform;pointer-events:none}.riley-book-flipper.next{left:50%;transform-origin:left center}.riley-book-flipper.prev{left:0;transform-origin:right center}.riley-book-face{position:absolute;inset:0;overflow:hidden;backface-visibility:hidden;-webkit-backface-visibility:hidden;background:#fff;box-shadow:0 12px 34px rgba(15,23,42,.22)}.riley-book-face .riley-book-page{width:100%}.riley-book-face .riley-bookcover{border-radius:inherit}.riley-book-face.back{transform:rotateY(180deg)}.riley-book-flipper.next .riley-book-face.front{border-radius:0 16px 16px 0}.riley-book-flipper.next .riley-book-face.back,.riley-book-flipper.prev .riley-book-face.front{border-radius:16px 0 0 16px}.riley-book-flipper.prev .riley-book-face.back{border-radius:0 16px 16px 0}:is(.studio.theme-dark,[data-theme=dark]) .riley-book-face{background:#0d0d12}:is(.studio.theme-dark,[data-theme=dark]) .riley-book-shadow{background:rgba(0,0,0,.55)}.riley-book-page.is-cover{align-items:center;justify-content:center;text-align:center}.riley-book-page.is-cover:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 30% 0,rgba(255,255,255,.18),transparent 50%);pointer-events:none}:is(.studio.theme-dark,[data-theme=dark]) .riley-book-page{background:radial-gradient(circle at 30% 0,rgba(168,85,247,.16),transparent 60%),linear-gradient(180deg,#14141a,#0d0d12);color:#e2e8f0}.riley-book-page-head{display:grid;grid-gap:4px;gap:4px}.riley-book-page-kind{font-size:10px;letter-spacing:.28em;text-transform:uppercase;font-weight:800;color:rgba(168,85,247,.85)}.riley-book-page.is-cover .riley-book-page-kind{color:rgba(255,255,255,.7)}.riley-book-page-head h3{margin:0;font-size:28px;font-weight:800;letter-spacing:0;line-height:1.05}.riley-book-page-head p{margin:4px 0 0;font-size:13.5px;color:rgba(30,27,41,.65);line-height:1.55}.riley-book-page.is-cover .riley-book-page-head p{color:rgba(255,255,255,.78)}:is(.studio.theme-dark,[data-theme=dark]) .riley-book-page-head p{color:rgba(226,232,240,.7)}.riley-book-page-body{flex:1 1;min-height:0;overflow:auto;scrollbar-width:thin}.riley-book-page-body::-webkit-scrollbar{width:4px}.riley-book-page-body::-webkit-scrollbar-thumb{background:rgba(168,85,247,.3);border-radius:999px}.riley-book-page-foot{display:flex;justify-content:flex-end;font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:rgba(30,27,41,.42)}.riley-book-page.is-cover .riley-book-page-foot{color:rgba(255,255,255,.55)}:is(.studio.theme-dark,[data-theme=dark]) .riley-book-page-foot{color:rgba(226,232,240,.4)}.riley-book-cover{display:flex;flex-direction:column;align-items:center;gap:12px}.riley-book-cover-mark{font-size:48px;line-height:1;color:rgba(255,255,255,.9);text-shadow:0 4px 20px rgba(0,0,0,.2)}.riley-book-cover p{margin:0;color:rgba(255,255,255,.8);font-size:13px}.riley-book-steps{list-style:none;margin:0;padding:0;display:grid;grid-gap:16px;gap:16px;counter-reset:riley-step}.riley-book-steps li{display:grid;grid-template-columns:32px 1fr;grid-gap:12px;gap:12px;font-size:13.5px;counter-increment:riley-step}.riley-book-steps li:before{content:counter(riley-step,decimal-leading-zero);font-size:11px;font-weight:800;color:rgba(168,85,247,.7);letter-spacing:.1em;padding-top:2px}.riley-book-steps li strong{display:block;grid-column:2;font-size:14px;font-weight:700;margin-bottom:2px}.riley-book-steps li span{grid-column:2;color:rgba(30,27,41,.65);line-height:1.55}:is(.studio.theme-dark,[data-theme=dark]) .riley-book-steps li span{color:rgba(226,232,240,.6)}.riley-book-palette{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));grid-gap:10px;gap:10px}.riley-book-swatch{aspect-ratio:1/1.1;border-radius:12px;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;padding:10px;color:#fff;text-shadow:0 1px 4px rgba(0,0,0,.4);box-shadow:inset 0 1px 0 rgba(255,255,255,.2)}.riley-book-swatch span{font-size:11.5px;font-weight:700;letter-spacing:.06em}.riley-book-swatch small{font-size:10.5px;opacity:.8;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.riley-book-type{display:grid;grid-gap:14px;gap:14px}.riley-book-type-row{display:grid;grid-template-columns:80px 1fr;align-items:center;grid-gap:12px;gap:12px;padding-bottom:12px;border-bottom:1px dashed rgba(168,85,247,.2)}.riley-book-type-row:last-child{border-bottom:none}.riley-book-type-label{font-size:10.5px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:rgba(168,85,247,.7)}.riley-book-type-sample{font-size:22px;line-height:1.2}.riley-book-type-row small{grid-column:2;font-size:11px;color:rgba(30,27,41,.5);letter-spacing:.06em}.riley-book-voice .riley-book-voice-lede{font-size:16px;line-height:1.6;margin:0 0 14px}.riley-book-voice ul{list-style:none;margin:0;padding:0;display:grid;grid-gap:8px;gap:8px}.riley-book-voice li{position:relative;padding-left:18px;font-size:13px;color:rgba(30,27,41,.7)}.riley-book-voice li:before{content:"✦";position:absolute;left:0;color:rgba(168,85,247,.7)}:is(.studio.theme-dark,[data-theme=dark]) .riley-book-voice li{color:rgba(226,232,240,.74)}:is(.studio.theme-dark,[data-theme=dark]) .riley-book-type-row small{color:rgba(226,232,240,.55)}.riley-book-components{display:flex;flex-wrap:wrap;align-content:flex-start;gap:12px}.riley-book-component{padding:11px 13px 10px;border-radius:12px;border:1px solid;background:rgba(168,85,247,.04);display:grid;grid-gap:8px;gap:8px;justify-items:start;width:-moz-fit-content;width:fit-content;max-width:100%}.riley-book-component-preview{display:flex;align-items:center;min-height:26px}.riley-book-component-preview :where(svg,img){display:block}.riley-book-component strong{font-size:11.5px;font-weight:700}.riley-book-component span{font-size:10.5px;color:rgba(30,27,41,.58);line-height:1.4}:is(.studio.theme-dark,[data-theme=dark]) .riley-book-component{background:rgba(148,163,184,.08)}:is(.studio.theme-dark,[data-theme=dark]) .riley-book-component span{color:rgba(226,232,240,.62)}.riley-book-page-motif{position:absolute;right:22px;bottom:20px;width:82px;height:82px;color:#3e6b54;opacity:.32;pointer-events:none;z-index:0}.riley-book-page-motif svg{width:100%;height:100%;display:block}:is(.studio.theme-dark,[data-theme=dark]) .riley-book-page-motif{color:#8fb79b;opacity:.26}.riley-book-page-body,.riley-book-page-foot,.riley-book-page-head{position:relative;z-index:1}.riley-bookgallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));grid-gap:22px;gap:22px;padding:10px 2px 6px}.riley-bookgallery-item{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:5px;aspect-ratio:3/4;padding:26px 24px 22px 36px;border:none;border-radius:5px 13px 13px 5px;cursor:pointer;overflow:hidden;text-align:left;font:inherit;box-shadow:0 22px 46px -22px rgba(15,23,42,.6),inset 0 0 0 1px rgba(255,255,255,.06);transition:transform .26s cubic-bezier(.2,.7,.2,1),box-shadow .26s ease}.riley-bookgallery-item:hover{transform:translateY(-6px) rotate(-.4deg);box-shadow:0 36px 64px -24px rgba(15,23,42,.72),inset 0 0 0 1px rgba(255,255,255,.12)}.riley-bookgallery-item:after{content:"";position:absolute;inset:13px 13px 13px 24px;border:1px solid rgba(255,255,255,.18);border-radius:3px;pointer-events:none}.riley-bookgallery-spine{position:absolute;top:0;bottom:0;left:0;width:13px;background:linear-gradient(90deg,rgba(0,0,0,.38),rgba(0,0,0,0) 72%)}.riley-bookgallery-kicker{position:relative;font-size:9.5px;letter-spacing:.32em;text-transform:uppercase;font-weight:700;opacity:.72}.riley-bookgallery-logo{position:relative;display:block;width:42px;height:42px;margin:8px 0 2px}.riley-bookgallery-logo svg{width:100%;height:100%}.riley-bookgallery-name{position:relative;margin-top:auto;font-size:30px;font-weight:800;letter-spacing:-.02em;line-height:1.04}.riley-bookgallery-tagline{position:relative;font-size:12.5px;opacity:.86}.riley-bookgallery-open{position:relative;display:inline-flex;align-items:center;gap:5px;margin-top:12px;font-size:10.5px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;opacity:0;transform:translateY(4px);transition:opacity .2s ease,transform .2s ease}.riley-bookgallery-item:hover .riley-bookgallery-open{opacity:.92;transform:translateY(0)}.riley-bookmax-overlay{position:fixed;inset:0;z-index:10060;display:flex;align-items:center;justify-content:center;padding:22px;background:rgba(9,11,18,.5);backdrop-filter:blur(11px);-webkit-backdrop-filter:blur(11px)}.riley-bookmax{width:min(1060px,96vw);max-height:92vh;overflow-y:auto;scrollbar-width:thin;display:flex;flex-direction:column;border-radius:20px;background:#ffffff;border:1px solid rgba(148,163,184,.2);box-shadow:0 50px 120px -40px rgba(0,0,0,.7);padding:15px 18px 18px}:is(.studio.theme-dark,[data-theme=dark]) .riley-bookmax{background:#14141a;border-color:rgba(148,163,184,.16)}.riley-bookmax-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:6px;flex-wrap:wrap}.riley-bookmax-title{display:flex;flex-direction:column;gap:1px;min-width:0}.riley-bookmax-title strong{font-size:16px;font-weight:800;color:var(--text-primary,#0f172a)}:is(.studio.theme-dark,[data-theme=dark]) .riley-bookmax-title strong{color:#f5f5f7}.riley-bookmax-title span{font-size:12px;color:var(--text-tertiary,#94a3b8)}.riley-bookmax-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.riley-bookmax-close{width:32px;height:32px;border-radius:50%;border:1px solid rgba(148,163,184,.3);background:transparent;color:var(--text-secondary,#64748b);font-size:20px;line-height:1;cursor:pointer;flex-shrink:0}.riley-bookmax-close:hover{background:rgba(148,163,184,.14)}:is(.studio.theme-dark,[data-theme=dark]) .riley-bookmax-close{color:#cbd5e1}.riley-bookmax .riley-book-stage{min-height:0;padding:12px 8px 8px}.riley-bookmax .riley-book{width:auto;height:min(60vh,620px);max-width:92%}.riley-bookmax-actions .riley-book-progress{color:var(--text-secondary,#64748b)}:is(.studio.theme-dark,[data-theme=dark]) .riley-bookmax-actions .riley-book-progress{color:#94a3b8}.riley-bookmax-actions .riley-book-btn{border:1px solid rgba(148,163,184,.42);background:rgba(148,163,184,.12);color:var(--text-primary,#0f172a)}:is(.studio.theme-dark,[data-theme=dark]) .riley-bookmax-actions .riley-book-btn{color:#e2e8f0}.riley-bookmax-actions .riley-book-btn:hover:not(:disabled){background:rgba(148,163,184,.2)}.riley-bookmax-actions .riley-book-btn:disabled{opacity:.4;cursor:not-allowed}.riley-book-pending{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:rgba(30,27,41,.42);text-align:center}.riley-book-pending-glyph{font-size:32px;color:rgba(168,85,247,.4);animation:riley-pulse 2.8s ease-in-out infinite}.riley-book-pending p{margin:0;max-width:28ch;font-size:13px;line-height:1.55}.riley-book-arrow{width:44px;height:44px;border-radius:50%;border:1px solid rgba(148,163,184,.28);background:rgba(255,255,255,.92);color:var(--text-primary,#0f172a);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;transition:background .14s ease,transform .14s ease,border-color .14s ease,opacity .14s ease;box-shadow:0 8px 20px -12px rgba(15,23,42,.28)}.riley-book-arrow:hover:not(.disabled){border-color:var(--riley-accent);background:var(--riley-gradient);color:#fff;transform:scale(1.05)}.riley-book-arrow.disabled{opacity:.35;cursor:not-allowed}:is(.studio.theme-dark,[data-theme=dark]) .riley-book-arrow{background:rgba(20,22,30,.85);color:#e2e8f0;border-color:rgba(148,163,184,.18)}.riley-book-thumbs{display:flex;gap:6px;overflow-x:auto;padding:14px 4px 4px;margin-top:14px;border-top:1px solid rgba(148,163,184,.14);scrollbar-width:thin}.riley-book-thumb{flex-shrink:0;min-width:120px;padding:8px 12px;border-radius:10px;border:1px solid rgba(148,163,184,.22);background:rgba(255,255,255,.86);text-align:left;cursor:pointer;display:grid;grid-gap:2px;gap:2px;transition:border-color .14s ease,background .14s ease}.riley-book-thumb:hover{border-color:rgba(168,85,247,.45)}.riley-book-thumb.active,.riley-book-thumb.facing{background:linear-gradient(135deg,rgba(168,85,247,.12),rgba(124,58,237,.1));border-color:rgba(168,85,247,.55)}.riley-book-thumb-index{font-size:9.5px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:rgba(168,85,247,.8)}.riley-book-thumb-label{font-size:11.5px;font-weight:600;color:var(--text-primary,#0f172a);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:is(.studio.theme-dark,[data-theme=dark]) .riley-book-thumb{background:rgba(20,22,30,.7)}:is(.studio.theme-dark,[data-theme=dark]) .riley-book-thumb-label{color:#e2e8f0}@media (max-width:880px){.riley-attachment-row{grid-template-columns:1fr}.riley-book-stage{padding:20px 4px 8px;min-height:0}.riley-book{aspect-ratio:3/4.6}.riley-book-spread{grid-template-columns:1fr}.riley-book-page.right{display:none}.riley-book-page.left{border-right:none}.riley-book-arrow{width:40px;height:40px}.riley-book-page-head h3{font-size:22px}}.riley-project-create{display:grid;grid-gap:10px;gap:10px;padding:14px;margin-bottom:14px;border-radius:14px;background:linear-gradient(135deg,rgba(168,85,247,.06),rgba(124,58,237,.04));border:1px solid rgba(168,85,247,.22)}.riley-project-create-row{display:grid;grid-template-columns:1fr minmax(160px,.4fr);grid-gap:10px;gap:10px}.riley-project-create-actions{display:flex;gap:10px;align-items:center}.riley-projects-empty,.riley-projects-loading{text-align:center;padding:60px 20px;color:var(--text-secondary,#64748b)}.riley-projects-empty-glyph{display:inline-flex;width:56px;height:56px;border-radius:50%;align-items:center;justify-content:center;font-size:28px;background:linear-gradient(135deg,rgba(168,85,247,.14),rgba(124,58,237,.14));color:var(--riley-accent);margin-bottom:14px}.riley-projects-empty h4{margin:0 0 6px;font-size:16px;color:var(--text-primary,#0f172a);font-weight:700}.riley-projects-empty p{margin:0 0 16px;max-width:44ch;margin-inline:auto;font-size:13.5px;line-height:1.6}.riley-projects-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));grid-gap:14px;gap:14px}.riley-project-card{display:flex;flex-direction:column;background:rgba(255,255,255,.92);border:1px solid rgba(148,163,184,.18);border-radius:16px;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.riley-project-card:hover{transform:translateY(-2px);border-color:rgba(168,85,247,.5);box-shadow:0 14px 32px -16px rgba(168,85,247,.3)}.riley-project-card-cover{height:100px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}.riley-project-card-cover:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 80% 100%,rgba(255,255,255,.2),transparent 60%),radial-gradient(circle at 20% 0,rgba(255,255,255,.1),transparent 60%);pointer-events:none}.riley-project-card-emoji{position:relative;font-size:32px;line-height:1;filter:drop-shadow(0 2px 6px rgba(0,0,0,.18))}.riley-project-card-body{padding:14px 16px 12px;display:grid;grid-gap:8px;gap:8px;flex:1 1}.riley-project-card-body header{display:grid;grid-gap:2px;gap:2px}.riley-project-card-kind{font-size:10px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:rgba(168,85,247,.78)}.riley-project-card-body h4{margin:0;font-size:15px;font-weight:700;letter-spacing:-.01em;color:var(--text-primary,#0f172a)}.riley-project-card-desc{margin:0;font-size:12.5px;line-height:1.55;color:var(--text-secondary,#64748b);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.riley-project-card-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:6px}.riley-project-status{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid;padding:5px 26px 5px 12px;border-radius:999px;font:inherit;font-size:11.5px;font-weight:700;letter-spacing:.04em;cursor:pointer}.riley-project-card-time{font-size:11px;color:var(--text-secondary,#94a3b8);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}:is(.studio.theme-dark,[data-theme=dark]) .riley-project-card{background:rgba(20,22,30,.85);border-color:rgba(148,163,184,.18)}:is(.studio.theme-dark,[data-theme=dark]) .riley-project-card-body h4{color:#f5f5f7}.riley-dock-toggle{position:fixed;right:0;top:50%;transform:translateY(-50%);z-index:10036;display:flex;flex-direction:column;align-items:center;gap:8px;padding:14px 9px 16px;border:none;border-radius:14px 0 0 14px;color:#fff;cursor:pointer;box-shadow:-6px 8px 24px rgba(168,85,247,.35);transition:transform .16s ease,box-shadow .16s ease}.riley-dock-toggle:hover{transform:translateY(-50%) translateX(-2px);box-shadow:-10px 10px 28px rgba(168,85,247,.45)}.riley-dock-toggle-glyph{font-size:16px;line-height:1}.riley-dock-toggle-label{writing-mode:vertical-rl;-webkit-text-orientation:mixed;text-orientation:mixed;font-size:11.5px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.riley-dock{position:fixed;top:0;right:0;bottom:0;width:min(400px,94vw);z-index:10040;display:flex;flex-direction:column;background:rgba(255,255,255,.98);border-left:1px solid rgba(148,163,184,.28);box-shadow:-24px 0 60px rgba(15,23,42,.18)}:is(.studio.theme-dark,[data-theme=dark]) .riley-dock{background:rgba(15,16,22,.98);border-left-color:rgba(148,163,184,.18)}.riley-dock-head{display:flex;align-items:center;gap:12px;padding:16px 18px;border-bottom:1px solid rgba(148,163,184,.2)}.riley-dock-avatar{width:34px;height:34px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#fff;font-weight:800;flex-shrink:0}.riley-dock-head-text{display:grid;grid-gap:2px;gap:2px;min-width:0;flex:1 1}.riley-dock-head-text strong{font-size:14.5px;color:var(--text-primary,#0f172a)}.riley-dock-head-text span{font-size:12px;line-height:1.45;color:var(--text-secondary,#64748b)}.riley-dock-close{width:30px;height:30px;border-radius:50%;border:1px solid rgba(148,163,184,.3);background:transparent;color:var(--text-secondary,#64748b);font-size:18px;line-height:1;cursor:pointer;flex-shrink:0}.riley-dock-close:hover{background:rgba(168,85,247,.1);color:var(--riley-primary-strong)}.riley-dock-scroll{flex:1 1;min-height:0;overflow-y:auto;padding:16px}.riley-dock-empty{display:grid;place-items:center;grid-gap:10px;gap:10px;height:100%;text-align:center;color:var(--text-secondary,#64748b);font-size:13px;padding:0 22px}.riley-dock-empty span{font-size:26px;color:#a855f7}.riley-dock-form{display:flex;gap:8px;padding:14px 16px;border-top:1px solid rgba(148,163,184,.2)}.riley-book-lock-pill{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;font-size:11.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;background:rgba(168,85,247,.1);border:1px solid rgba(168,85,247,.35);color:#7c3aed;cursor:help}:is(.studio.theme-dark,[data-theme=dark]) .riley-book-lock-pill{color:#d8b4fe}@keyframes riley-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.riley-chat-typing .riley-chat-bubble-body{display:inline-flex;align-items:center;gap:10px}.riley-chat-typing-dots{display:inline-flex;gap:4px}.riley-chat-typing-dots span{width:6px;height:6px;border-radius:50%;background:#a855f7;animation:riley-typing-bounce 1.2s ease-in-out infinite}.riley-chat-typing-dots span:nth-child(2){animation-delay:.15s}.riley-chat-typing-dots span:nth-child(3){animation-delay:.3s}@keyframes riley-typing-bounce{0%,60%,to{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}.riley-chat-typing-copy{font-size:12.5px;color:var(--text-secondary,#64748b);white-space:nowrap}.riley-chat-bubble-stack{display:flex;flex-direction:column;gap:4px;min-width:0}.riley-chat-bubble--user .riley-chat-bubble-stack{align-items:flex-end}.riley-chat-time{font-size:10.5px;color:var(--text-secondary,#94a3b8);opacity:.75;padding:0 4px}.riley-chat-failed{display:inline-flex;align-items:center;gap:6px;font-size:11.5px;font-weight:600;color:#dc2626;padding:0 4px}.riley-chat-resend{border:none;background:none;color:#a855f7;font:inherit;font-size:11.5px;font-weight:700;cursor:pointer;padding:0;text-decoration:underline;text-underline-offset:2px}.riley-chat-resend:disabled{opacity:.5;cursor:default}.riley-chat-action-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.riley-chat-action-chip{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;border-radius:999px;font:inherit;font-size:11.5px;font-weight:700;background:rgba(168,85,247,.1);border:1px solid rgba(168,85,247,.3);color:#7c3aed;cursor:pointer;transition:background .14s ease,transform .14s ease}.riley-chat-action-chip:hover{background:rgba(168,85,247,.18);transform:translateY(-1px)}:is(.studio.theme-dark,[data-theme=dark]) .riley-chat-action-chip{color:#d8b4fe}.riley-chat-starters{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:16px}.riley-chat-starter{padding:8px 14px;border-radius:999px;border:1px solid rgba(168,85,247,.3);background:rgba(168,85,247,.06);color:var(--text-primary,#0f172a);font:inherit;font-size:12.5px;font-weight:600;cursor:pointer;transition:background .14s ease,border-color .14s ease,transform .14s ease}.riley-chat-starter:hover:not(:disabled){background:rgba(168,85,247,.14);border-color:#a855f7;transform:translateY(-1px)}.riley-chat-starter:disabled{opacity:.5;cursor:default}:is(.studio.theme-dark,[data-theme=dark]) .riley-chat-starter{color:#e2e8f0}.riley-book-skeleton{display:flex;align-items:center;justify-content:center;width:100%;min-height:480px}.riley-book-skeleton-cover{width:min(380px,70%);aspect-ratio:3/4;border-radius:12px 20px 20px 12px;background:linear-gradient(100deg,rgba(168,85,247,.1) 40%,rgba(124,58,237,.18) 50%,rgba(168,85,247,.1) 60%);background-size:200% 100%;animation:riley-shimmer 1.8s linear infinite;box-shadow:0 24px 48px -24px rgba(15,23,42,.35)}.riley-book-skeleton-thumbs{display:flex;gap:6px;overflow:hidden;padding:14px 4px 4px;margin-top:14px;border-top:1px solid rgba(148,163,184,.14)}.riley-book-skeleton-thumbs span{flex-shrink:0;width:120px;height:42px;border-radius:10px;background:linear-gradient(100deg,rgba(148,163,184,.12) 40%,rgba(148,163,184,.24) 50%,rgba(148,163,184,.12) 60%);background-size:200% 100%;animation:riley-shimmer 1.8s linear infinite}.riley-book-error,.riley-projects-error{width:100%;text-align:center;padding:48px 20px;display:grid;justify-items:center;grid-gap:8px;gap:8px;color:var(--text-secondary,#64748b)}.riley-book-error h4,.riley-projects-error h4{margin:0;font-size:16px;font-weight:700;color:var(--text-primary,#0f172a)}.riley-book-error p,.riley-projects-error p{margin:0 0 8px;max-width:44ch;font-size:13.5px;line-height:1.6}.riley-book-error-glyph,.riley-projects-error-glyph{display:inline-flex;width:48px;height:48px;border-radius:50%;align-items:center;justify-content:center;font-size:22px;background:rgba(220,38,38,.1);color:#dc2626;margin-bottom:6px}.riley-book-notice{display:flex;align-items:flex-start;gap:12px}.riley-book-notice-text{flex:1 1}.riley-book-notice-dismiss{border:none;background:none;color:inherit;opacity:.7;font-size:16px;line-height:1;cursor:pointer;padding:2px 6px;border-radius:6px}.riley-book-notice-dismiss:hover{opacity:1;background:rgba(99,102,241,.12)}.riley-book-countdown{display:inline-flex;align-items:center;gap:6px;padding:4px 12px;border-radius:999px;font-size:11px;font-weight:700;letter-spacing:.04em;background:rgba(14,165,233,.1);border:1px solid rgba(14,165,233,.3);color:#0369a1;cursor:help}:is(.studio.theme-dark,[data-theme=dark]) .riley-book-countdown{color:#7dd3fc}.riley-book-veil{position:absolute;inset:0;z-index:30;display:grid;place-content:center;justify-items:center;grid-gap:8px;gap:8px;text-align:center;padding:24px;border-radius:16px;background:rgba(255,255,255,.82);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:var(--text-primary,#0f172a)}:is(.studio.theme-dark,[data-theme=dark]) .riley-book-veil{background:rgba(10,12,20,.78);color:#e2e8f0}.riley-book-veil strong{font-size:15px}.riley-book-veil-copy{font-size:12.5px;color:var(--text-secondary,#64748b);max-width:42ch}.riley-book-veil-spinner{width:28px;height:28px;border-radius:50%;border:3px solid rgba(168,85,247,.25);border-top-color:#a855f7;animation:riley-spin .8s linear infinite;margin-bottom:6px}.riley-project-skeleton{border-radius:16px;overflow:hidden;border:1px solid rgba(148,163,184,.18);background:rgba(255,255,255,.6)}:is(.studio.theme-dark,[data-theme=dark]) .riley-project-skeleton{background:rgba(20,22,30,.5)}.riley-project-skeleton-cover{height:100px;background:linear-gradient(100deg,rgba(168,85,247,.08) 40%,rgba(124,58,237,.14) 50%,rgba(168,85,247,.08) 60%);background-size:200% 100%;animation:riley-shimmer 1.8s linear infinite}.riley-project-skeleton-lines{display:grid;grid-gap:8px;gap:8px;padding:16px}.riley-project-skeleton-lines span{height:10px;border-radius:999px;background:linear-gradient(100deg,rgba(148,163,184,.14) 40%,rgba(148,163,184,.26) 50%,rgba(148,163,184,.14) 60%);background-size:200% 100%;animation:riley-shimmer 1.8s linear infinite}.riley-project-skeleton-lines span:first-child{width:40%}.riley-project-skeleton-lines span:nth-child(2){width:85%}.riley-project-skeleton-lines span:nth-child(3){width:65%}.riley-output-studio{border:0;padding:0;margin:0;min-width:0;color:var(--text-primary)}.riley-output-studio>legend{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.riley-output-studio:disabled{opacity:.76}.riley-output-modebar{min-height:64px;padding:12px 18px;border-bottom:1px solid rgba(15,23,42,.08);display:flex;align-items:center;justify-content:space-between;gap:16px}:is(.studio.theme-dark,[data-theme=dark]) .riley-output-modebar{border-color:rgba(255,255,255,.08)}.riley-output-field>span,.riley-output-label{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:750;color:var(--text-secondary)}.riley-output-modes{display:grid;grid-template-columns:repeat(2,minmax(120px,1fr));grid-gap:4px;gap:4px;padding:4px;border:1px solid rgba(15,23,42,.08);border-radius:8px;background:rgba(15,23,42,.025)}:is(.studio.theme-dark,[data-theme=dark]) .riley-output-modes{border-color:rgba(255,255,255,.1);background:rgba(255,255,255,.025)}.riley-output-modes>button{min-height:34px;border:0;border-radius:6px;padding:6px 10px;background:transparent;color:var(--text-secondary);display:inline-flex;align-items:center;justify-content:center;gap:6px;font:inherit;font-size:12px;font-weight:700;cursor:pointer}.riley-output-modes>button.active{background:var(--bg-primary,#fff);color:var(--text-primary);box-shadow:0 2px 8px rgba(15,23,42,.08)}:is(.studio.theme-dark,[data-theme=dark]) .riley-output-modes>button.active{background:rgba(255,255,255,.09)}.riley-output-grid{display:grid;grid-template-columns:minmax(148px,.52fr) minmax(260px,1.05fr) minmax(300px,1.15fr);min-height:560px}.riley-output-brief,.riley-output-list,.riley-output-phases{min-width:0;padding:18px}.riley-output-list,.riley-output-phases{border-right:1px solid rgba(15,23,42,.08)}:is(.studio.theme-dark,[data-theme=dark]) .riley-output-list,:is(.studio.theme-dark,[data-theme=dark]) .riley-output-phases{border-color:rgba(255,255,255,.08)}.riley-output-phases{display:flex;flex-direction:column;gap:4px}.riley-output-phases>button{width:100%;min-height:46px;border:1px solid transparent;border-radius:8px;padding:8px;background:transparent;color:var(--text-secondary);display:grid;grid-template-columns:22px 20px minmax(0,1fr);align-items:center;grid-gap:6px;gap:6px;text-align:left;font:inherit;font-size:12px;font-weight:700;cursor:pointer}.riley-output-phases>button.active{border-color:var(--riley-accent);background:var(--riley-tint);color:var(--text-primary)}:is(.studio.theme-dark,[data-theme=dark]) .riley-output-phases>button.active{border-color:rgba(168,85,247,.45);background:rgba(168,85,247,.14)}.riley-output-phase-index{font-size:10px;font-weight:800;color:var(--text-tertiary)}.riley-output-section-head{min-height:44px;margin-bottom:12px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.riley-output-section-head h4{margin:2px 0 0;font-size:15px;line-height:1.25;color:var(--text-primary)}.riley-output-section-head>span{padding-top:15px;font-size:10px;font-weight:750;color:var(--text-tertiary);text-align:right}.riley-output-kicker{font-size:10px;font-weight:800;text-transform:uppercase;color:var(--riley-primary-strong)}:is(.studio.theme-dark,[data-theme=dark]) .riley-output-kicker{color:var(--riley-accent-soft)}.riley-output-rows{display:grid;grid-gap:4px;gap:4px}.riley-output-choice{position:relative}.riley-output-choice>button{min-height:62px;width:100%;border:1px solid rgba(15,23,42,.07);border-radius:8px;padding:8px 38px 8px 9px;background:transparent;color:var(--text-primary);display:grid;grid-template-columns:34px minmax(0,1fr) 18px;align-items:center;grid-gap:8px;gap:8px;text-align:left;font:inherit;cursor:pointer;transition:border-color .15s ease,background .15s ease}:is(.studio.theme-dark,[data-theme=dark]) .riley-output-choice>button{border-color:rgba(255,255,255,.08)}.riley-output-choice>button.active,.riley-output-choice>button:hover{border-color:var(--riley-accent);background:var(--riley-tint)}:is(.studio.theme-dark,[data-theme=dark]) .riley-output-choice>button.active,:is(.studio.theme-dark,[data-theme=dark]) .riley-output-choice>button:hover{border-color:rgba(168,85,247,.45);background:rgba(168,85,247,.12)}.riley-output-choice-info{position:absolute;top:50%;right:24px;z-index:1;transform:translateY(-50%)}.riley-output-row-icon{width:34px;height:34px;border-radius:7px;display:grid;place-items:center;background:rgba(168,85,247,.12);color:var(--riley-primary)}:is(.studio.theme-dark,[data-theme=dark]) .riley-output-row-icon{color:var(--riley-accent-soft)}.riley-output-row-copy{min-width:0;display:grid;grid-gap:4px;gap:4px}.riley-output-row-copy strong{font-size:12px;overflow-wrap:anywhere}.riley-output-row-copy small{font-size:10px;color:var(--text-tertiary);line-height:1.3}.riley-output-brief{display:flex;flex-direction:column;gap:12px}.riley-output-field{display:grid;grid-gap:6px;gap:6px}.riley-output-field input,.riley-output-field textarea{box-sizing:border-box;width:100%;border:1px solid rgba(15,23,42,.11);border-radius:8px;padding:10px 11px;background:var(--bg-primary,#fff);color:var(--text-primary);font:inherit;font-size:12px;line-height:1.45;resize:vertical;outline:none}:is(.studio.theme-dark,[data-theme=dark]) .riley-output-field input,:is(.studio.theme-dark,[data-theme=dark]) .riley-output-field textarea{border-color:rgba(255,255,255,.12);background:rgba(255,255,255,.035)}.riley-output-field input:focus,.riley-output-field textarea:focus{border-color:rgba(124,58,237,.54);box-shadow:0 0 0 3px rgba(124,58,237,.08)}.riley-output-notice{min-height:38px;border-radius:8px;padding:8px 10px;display:flex;align-items:center;gap:8px;font-size:11px;line-height:1.4}.riley-output-notice.success{border:1px solid rgba(22,163,74,.22);background:rgba(22,163,74,.07);color:#15803d}.riley-output-notice.error{border:1px solid rgba(220,38,38,.2);background:rgba(220,38,38,.06);color:#b91c1c}.riley-output-notice span{min-width:0;flex:1 1}.riley-output-notice button{border:0;background:transparent;color:inherit;font:inherit;font-weight:800;cursor:pointer}.riley-output-brief>button:last-child{align-self:flex-start;margin-top:auto}.riley-output-spin{animation:riley-spin .8s linear infinite}.riley-output-downloads{display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px}.riley-output-downloads a{min-height:30px;padding:5px 9px;border:1px solid rgba(15,23,42,.11);border-radius:7px;display:inline-flex;align-items:center;gap:5px;color:var(--text-primary);background:transparent;font-size:11px;font-weight:750;text-decoration:none}:is(.studio.theme-dark,[data-theme=dark]) .riley-output-downloads a{border-color:rgba(255,255,255,.12)}@media (max-width:1120px){.riley-output-grid{grid-template-columns:160px minmax(260px,1fr)}.riley-output-list{border-right:0}.riley-output-brief{grid-column:1/-1;border-top:1px solid rgba(15,23,42,.08)}:is(.studio.theme-dark,[data-theme=dark]) .riley-output-brief{border-color:rgba(255,255,255,.08)}}@media (max-width:680px){.riley-output-modebar{align-items:stretch;flex-direction:column}.riley-output-modes{grid-template-columns:1fr 1fr}.riley-output-grid{display:block}.riley-output-phases{border-right:0;border-bottom:1px solid rgba(15,23,42,.08);flex-direction:row;overflow-x:auto}:is(.studio.theme-dark,[data-theme=dark]) .riley-output-phases{border-color:rgba(255,255,255,.08)}.riley-output-phases>button{min-width:150px}.riley-output-brief,.riley-output-list{border-right:0;border-top:0}}