.studio-banner{display:flex;align-items:center;justify-content:space-between;gap:30px;background:#e9ede8;border:1px solid #d5ded2;padding:32px;border-radius:18px;margin-bottom:24px}.studio-banner h2{font-size:clamp(24px,3vw,36px);letter-spacing:-1.3px;margin:12px 0}.studio-banner p{max-width:570px;line-height:1.7;color:#52604f}.studio-banner .button{flex-shrink:0}.studio-grid,.demo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px}.studio-card{font:inherit;text-align:left;padding:26px;border:1px solid #e2e5e0;border-radius:14px;background:white;cursor:pointer;display:flex;flex-direction:column;gap:14px;min-height:270px;transition:transform .15s,border-color .15s}.studio-card:hover{transform:translateY(-3px);border-color:#909f89}.studio-card p{font-size:13px;color:#777;line-height:1.6;overflow-wrap:anywhere}.studio-card h3{font-size:21px;letter-spacing:-.6px;overflow-wrap:anywhere}.studio-card small{font-size:11px;color:#73796e}.studio-icon{font:28px Georgia,serif;width:52px;height:60px;background:#f0f2ed;border:1px solid #dde1d7;border-radius:7px;display:grid;place-items:center}.studio-card .status{align-self:flex-start;margin-top:auto}.studio-editor{border:1px solid #e0e3dc;border-radius:16px;overflow:hidden;background:#f0f2ed}.studio-editor-bar{padding:16px;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;background:white;border-bottom:1px solid #ddd}.studio-editor-bar span{font-size:12px;color:#73796e}.studio-sheet{max-width:860px;margin:32px auto;padding:50px;background:white;box-shadow:0 3px 20px #17230d08;min-height:580px}.studio-title-input{font-size:32px!important;font-weight:600;border:0!important;border-bottom:1px solid #eee!important;border-radius:0!important;padding:10px 0!important;letter-spacing:-1px}.studio-meta{display:flex;gap:20px;align-items:center}.studio-meta>label{flex:1}.studio-format,.studio-actions{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0}.studio-format button,.studio-actions button,.studio-tools button{border:1px solid #d9ddd4;padding:10px 14px;border-radius:8px;background:white;cursor:pointer;font:inherit;font-size:12px}.studio-module button:disabled{opacity:.45;cursor:not-allowed}.studio-writing{width:100%;min-height:430px;border:0!important;outline:none;resize:vertical;font:16px/1.9 Georgia,serif!important;padding:14px 0!important}.studio-tools{padding:28px;border-top:1px solid #ddd;background:#fafbf8}.studio-tools details{margin-top:22px}.studio-version{display:flex;gap:20px;justify-content:space-between;padding:15px 0;border-bottom:1px solid #ddd;font-size:12px}.studio-share{max-width:640px;padding:24px;background:#fff;border:1px solid #ddd;border-radius:12px}.studio-share p{line-height:1.7;margin:12px 0}.studio-public{background:#f1f2ee;color:#20271e;font-family:Arial,sans-serif}.studio-public-nav{max-width:1180px;margin:auto;padding:25px;display:flex;align-items:center;justify-content:space-between;gap:20px}.studio-public-nav a{font-weight:700}.studio-public-nav span{color:#788271;font-weight:400}.paper{max-width:850px;margin:25px auto 70px;background:white;padding:70px;box-shadow:0 4px 35px #23301008;min-height:75vh}.paper h1{font-size:42px;letter-spacing:-1.5px;margin:25px 0 45px;overflow-wrap:anywhere}.note-body{font:17px/1.8 Georgia,serif;overflow-wrap:anywhere;white-space:pre-wrap}.note-body h2,.note-body h3,.note-body h4{font-family:Arial,sans-serif;line-height:1.3;margin:28px 0 12px}.note-body p{min-height:1em;margin:0 0 10px}.paper footer{margin-top:60px;border-top:1px solid #eee;padding-top:20px}.demo-gallery{max-width:1180px;margin:50px auto;padding:25px}.demo-gallery>h1{font-size:clamp(40px,6vw,74px);letter-spacing:-3px;max-width:800px;margin:25px 0}.demo-gallery>p{color:#65715e;line-height:1.8;margin:20px 0 50px}.demo-card{background:white;border:1px solid #dfe4da;padding:30px;border-radius:18px;display:flex;flex-direction:column;gap:25px}.demo-card p{line-height:1.8;overflow-wrap:anywhere}.demo-card .button{margin-top:auto;align-self:flex-start}.demo-card h2{font-size:30px;letter-spacing:-1px;overflow-wrap:anywhere}.recovery-codes{padding:20px;background:#f4f5f1;line-height:1.9;overflow-wrap:anywhere;white-space:pre-wrap}.studio-module label,.security-center label,.paper label{display:flex;flex-direction:column;gap:8px;margin-bottom:18px;font-size:13px}.studio-module label.checkbox{flex-direction:row;align-items:center}.studio-module input,.studio-module select,.studio-module textarea,.security-center input,.paper input{max-width:100%;box-sizing:border-box}.studio-module .workspace-toolbar{flex-wrap:wrap}.studio-tools summary{cursor:pointer}.studio-module .eyebrow,.security-center .eyebrow,.studio-public .eyebrow{font-size:10px;letter-spacing:2px;font-weight:600}.studio-module .fineprint{line-height:1.7}.studio-module .workspace-toolbar select{width:auto}
@media(max-width:700px){.studio-banner{padding:24px;align-items:flex-start;flex-direction:column;gap:15px}.studio-sheet{margin:0;padding:22px;min-height:500px}.studio-meta{flex-direction:column;align-items:stretch;gap:0}.studio-tools{padding:20px}.studio-title-input{font-size:25px!important}.studio-editor-bar{position:static}.paper{margin:10px;padding:26px;min-height:75vh}.paper h1{font-size:32px}.studio-public-nav{padding:18px;font-size:12px}.studio-public-nav .button{padding:10px}.studio-writing{min-height:380px}.studio-grid{grid-template-columns:1fr}.studio-card{min-height:220px}.studio-version{flex-direction:column;gap:8px}.demo-gallery{margin-top:20px}.studio-actions a{max-width:100%}.studio-tools input{min-width:0;width:100%}}
@media print{.studio-public-nav{display:none}.studio-public{background:white}.paper{padding:0;margin:0;max-width:none;box-shadow:none;min-height:0}.paper footer{font-size:10px} .note-body{font-size:12pt}.paper h1{font-size:26pt}@page{size:A4;margin:20mm}}

.demo-cover{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:9px;border:1px solid #e3e7df}.studio-card .demo-cover{margin-bottom:5px}.studio-card:has(.demo-cover) .studio-icon{display:none}

.note-body h2{font-size:28px;letter-spacing:-.6px}.note-body h3{font-size:22px;letter-spacing:-.3px}.note-body h4{font-size:18px}
/* Demos use the public project page layout and shared header/footer. */
.demos-page .demo-projects{margin-top:70px}.demo-project{padding:48px 0 55px;border-top:1px solid var(--line)}.demo-project-heading .eyebrow{margin-bottom:18px}.demo-project-heading h2{font-size:clamp(30px,4vw,54px);margin:0;overflow-wrap:anywhere}.demo-project-image{display:block;position:relative;margin-top:30px;background:#e6eadf}.demo-project-image>img{display:block;width:100%;max-height:740px;object-fit:contain}.demo-project-image .mockup-stage{aspect-ratio:2}.demo-open-label{position:absolute;right:24px;bottom:24px;display:flex;align-items:center;gap:16px;background:var(--paper);color:var(--ink);padding:14px 20px;border-radius:5px;font-size:13px;box-shadow:0 2px 15px #0001;transition:transform .2s}.demo-project-image:hover .demo-open-label{transform:translateY(-3px)}.demo-project-bottom{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:60px;align-items:start;margin-top:28px}.demo-project-bottom>div{max-width:760px}.demo-description{font-size:18px;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.demo-access{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:18px 0;margin:24px 0}.demo-access summary{cursor:pointer;font-size:14px}.demo-access p{white-space:pre-wrap;overflow-wrap:anywhere;margin:20px 0 0;font-size:14px}.demo-contact{display:flex;justify-content:space-between;align-items:center;gap:40px;border-top:1px solid var(--line);padding-top:65px;margin-top:35px}.demo-contact h2{font-size:clamp(36px,5vw,65px);margin:0 0 24px}.demo-contact p{color:var(--muted);margin-bottom:0}.demo-contact>.button{flex-shrink:0}.demo-empty{margin:60px 0;padding:40px 0;border-top:1px solid var(--line)}
@media(max-width:760px){.demos-page .demo-projects{margin-top:40px}.demo-project{padding:30px 0 35px}.demo-project-image{margin-top:22px}.demo-project-image .mockup-stage{aspect-ratio:1.4}.demo-project-bottom{grid-template-columns:1fr;gap:18px;margin-top:20px}.demo-project-bottom>.button{justify-self:start}.demo-description{font-size:15px}.demo-contact{align-items:flex-start;flex-direction:column;gap:26px;padding-top:40px}.demo-open-label{bottom:12px;right:12px;padding:10px 13px;font-size:11px}.demos-page h1{font-size:clamp(39px,10vw,60px)}.demo-project-image .concept-label{max-width:45%}}
