
:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#33291f;background:#f7f6f4;color-scheme:light;font-synthesis:none}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;min-height:100dvh;display:flex;flex-direction:column}button,input,select,textarea{font:inherit}button{cursor:pointer}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #c55b32;outline-offset:3px}.appbar{height:76px;padding:0 clamp(20px,4vw,64px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e3dfd9;background:white;gap:16px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-size:16px;font-weight:600;min-width:0}.appbar nav{display:flex;gap:8px;flex-shrink:0}.appbar button{min-height:44px;background:transparent;border:1px solid transparent;border-radius:8px;padding:10px 14px;color:#493b31}.appbar button:last-child{border-color:#d7cfc8}#home{flex:1;width:100%;max-width:1400px;margin:auto;padding:clamp(40px,7vw,104px) clamp(24px,5vw,72px);display:grid;grid-template-columns:1fr 1.1fr;align-items:center;gap:clamp(32px,5vw,72px)}.eyebrow{font-size:14px;color:#8e4c32;font-weight:500}h1{font-size:clamp(36px,4vw,62px);letter-spacing:-.035em;line-height:1.08;font-weight:600;margin:22px 0}.lead{font-size:17px;line-height:1.65;color:#6c6158;max-width:490px}.primary{display:inline-flex;gap:28px;align-items:center;min-height:48px;background:#b44824;color:white;border:0;border-radius:8px;padding:14px 22px;font-weight:600;margin-top:20px}.primary:hover{background:#913719}.price-note{font-size:12px;color:#71675e;line-height:1.7;max-width:430px;margin-top:18px}.presentation-preview{min-width:0;background:#eeeae4;border:1px solid #ddd6ce;border-radius:10px;overflow:hidden;box-shadow:0 12px 35px #493b3110}.preview-caption{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#75695e;padding:14px 18px;background:#faf9f7;border-bottom:1px solid #ddd6ce}.preview-content{display:flex;align-items:stretch;padding:18px 18px 18px 0;gap:16px}.preview-thumbs{width:42px;display:flex;flex-direction:column;gap:12px;align-items:center;padding-left:10px;font-size:10px;color:#9a8f83}.preview-thumbs span{padding:8px 6px;border:1px solid #c8c0b6;border-radius:3px}.preview-thumbs .selected{background:white;color:#a34525;border-color:#b44824}.preview-slide{flex:1;min-width:0;aspect-ratio:16/10;background:#fff;padding:clamp(18px,2.4vw,34px);box-shadow:0 3px 12px #493b3110;display:flex;flex-direction:column}.preview-slide>p{font-size:9px;color:#917864;margin:0 0 18px}.preview-slide h2{font-size:clamp(22px,2.3vw,34px);font-weight:500;letter-spacing:-.025em;line-height:1.16;margin:0 0 22px}.preview-chart{display:grid;gap:10px;flex:1}.preview-chart>div{display:flex;align-items:center;gap:12px}.preview-chart span{font-size:9px;min-width:65px;color:#736154}.preview-chart i{display:block;height:12px;width:var(--bar);background:#d6a78f;border-radius:2px}.preview-chart>div:last-child i{background:#b44824}.slide-foot{margin-top:26px;display:flex;justify-content:space-between;font-size:8px;color:#97877a;border-top:1px solid #eee8e0;padding-top:8px}#notice{grid-column:1/-1;font-size:14px;color:#a3342d}#notice:empty{display:none}#workspace{position:relative;flex:1;min-height:calc(100dvh - 130px)}#editor{width:100%;height:calc(100dvh - 130px);border:0;display:block}#editor-status{position:absolute;inset:30% 0 auto;text-align:center}.px-commerce-fab{display:none}@media(max-width:760px){.appbar{height:auto;min-height:72px;flex-wrap:wrap;padding:14px 20px;gap:12px}.brand{font-size:14px}.appbar nav{margin-left:auto}.appbar button{font-size:13px;padding:8px 12px}#home{grid-template-columns:minmax(0,1fr);gap:32px;padding:40px 20px}.lead{font-size:16px}.preview-slide h2{font-size:26px}.preview-slide{padding:22px;aspect-ratio:16/11}.preview-content{gap:8px;padding-right:12px}.preview-thumbs{width:32px}.preview-chart span{min-width:62px}.preview-slide>p{margin-bottom:14px}.slide-foot{margin-top:20px}.preview-caption{padding:12px 14px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
/* Editor shell: layout viewport, Safari visual viewport and display cutouts. */
:root{--safe-top:env(safe-area-inset-top,0px);--safe-right:env(safe-area-inset-right,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px)}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{padding:var(--safe-top) var(--safe-right) var(--safe-bottom) var(--safe-left)}
html.editing-root{height:100%;overflow:hidden;overscroll-behavior:none}
body.editing{position:fixed;top:var(--editor-offset-top,0px);left:var(--editor-offset-left,0px);right:auto;width:var(--editor-visible-width,100%);height:var(--editor-viewport,100dvh);min-height:0;overflow:hidden;overscroll-behavior:none}
#editor-activate{align-self:center;max-width:calc(100% - 24px);margin:8px 12px;white-space:normal}
body.editing .appbar{flex-shrink:0;height:60px}
body.editing footer{display:none}
body.editing #workspace{display:flex;flex-direction:column;min-width:0;min-height:0;flex:1;height:auto;isolation:isolate}
body.editing #editor{flex:1;min-width:0;min-height:0;height:100%;width:100%;background:#fff}
#editor-status{padding:20px;pointer-events:none}
#editor-toolbar{flex:none;position:relative;min-width:0;background:#fff;border-bottom:1px solid #dce3eb;z-index:2;font-size:14px}
#editor-toolbar button,#editor-toolbar select,#file-menu a{min-height:44px;border:1px solid transparent;border-radius:6px;background:#fff;color:#33291f;padding:8px 12px;font:inherit;cursor:pointer;touch-action:manipulation}
#editor-toolbar button:hover,#file-menu a:hover{background:#edf3fb}
#editor-toolbar button[aria-pressed=true]{background:#dce9fb}
.document-actions{display:flex;align-items:center;gap:6px;min-width:0;padding:4px 12px}
#file-menu-button{flex:none;white-space:nowrap}
#document-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:#62758a}
#editor-toolbar .document-actions .save-action{flex:none;white-space:nowrap;color:#b44824;border-color:#cddcf0}
.mobile-format,.save-mobile-label,.editor-mobile-only,.save-cancel-icon,.compact-menu-close,.save-icon,.file-icon,.zoom-undo,.zoom-format{display:none}
#file-menu,#extra-tools{position:absolute;top:calc(100% + 6px);background:#fff;border:1px solid #d5dfeb;border-radius:10px;box-shadow:0 12px 30px #33291f25;padding:6px;max-height:max(100px,calc(var(--editor-viewport,100dvh) - var(--safe-top) - var(--safe-bottom) - 130px));overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
#file-menu{left:8px;display:grid;width:min(280px,calc(100% - 16px))}
#file-menu button,#file-menu a{text-align:left;text-decoration:none;white-space:normal;overflow-wrap:anywhere}
#file-menu a{align-items:center}
#extra-tools{right:8px;width:min(380px,calc(100% - 16px));display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
#extra-tools button{border-color:#e1e8f1;font-size:13px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.save-dialog{position:fixed;inset:auto;left:calc(var(--editor-offset-left,0px) + var(--editor-visible-width,100vw)/2);top:calc(var(--editor-offset-top,0px) + var(--safe-top) + (var(--editor-viewport,100dvh) - var(--safe-top) - var(--safe-bottom))/2);transform:translate(-50%,-50%);margin:0;width:min(460px,calc(var(--editor-visible-width,100vw) - var(--safe-left) - var(--safe-right) - 24px));max-height:calc(var(--editor-viewport,100dvh) - var(--safe-top) - var(--safe-bottom) - 24px);overflow:auto;overscroll-behavior:contain;padding:24px;border:1px solid #d4deeb;border-radius:14px;color:#33291f;background:#fff;box-shadow:0 24px 80px #10233f45}
.save-dialog::backdrop{background:#33291f66}
.save-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.save-heading h2{font-size:22px;margin:0 0 20px}
.save-heading button{align-self:flex-start;font-size:24px;border:0;background:#f2f5f9;color:#33291f;border-radius:6px;width:44px;height:44px}
.save-dialog label{display:block;font-size:14px;font-weight:600;margin:16px 0 8px}
.save-dialog input,.save-dialog select{font:inherit;font-size:16px;color:#33291f;background:#fff;width:100%;min-height:46px;padding:10px 12px;border:1px solid #aebfd2;border-radius:7px}
.save-dialog input:focus-visible,.save-dialog select:focus-visible,#editor-toolbar select:focus-visible{outline:3px solid #b9d2f5;outline-offset:2px}
.save-dialog p{font-size:13px;line-height:1.5;color:#536b84}
.save-dialog .legacy-note{font-size:12px;color:#6b7c8e}
#save-error{color:#a32d31}
.save-buttons{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}
.save-buttons button{margin:0;min-height:46px;border-radius:7px;padding:10px 16px}
.save-buttons button:first-child{border:1px solid #c7d4e3;background:#fff;color:#33291f}
.save-dialog button:disabled,.save-dialog input:disabled,.save-dialog select:disabled{opacity:.6;cursor:wait}
@media(max-width:760px),(max-width:1000px) and (max-height:500px){
 body.editing{padding:var(--safe-top) var(--safe-right) var(--safe-bottom) var(--safe-left);background:#fff}
 body.editing .appbar{display:none}
 .document-actions{height:56px;padding:6px 8px;gap:6px}
 #editor-toolbar #file-menu-button{padding:8px;min-width:56px}
 #document-name{font-size:14px;font-weight:600;color:#33291f}
 #editor-toolbar .document-actions .save-action{font-size:14px;min-width:104px;padding:8px 10px;background:#b44824;color:#fff;border-color:#b44824;border-radius:8px}
 .save-desktop-label,.desktop-pdf{display:none}
 .save-mobile-label{display:inline}
 #file-menu .editor-mobile-only{display:flex}
 .mobile-format{display:grid;grid-template-columns:repeat(5,minmax(44px,1fr));align-items:center;gap:0;padding:2px 6px;border-top:1px solid #edf1f6}
 #editor-toolbar .mobile-format button{width:100%;min-width:44px;padding:8px;font-size:18px}
 #editor-toolbar #font-size{width:88px;min-width:0;max-width:100%;padding:8px 6px;font-size:16px}
 body.editor-keyboard{--safe-bottom:0px}
 body.editor-tight .mobile-format{display:none}
 body.editor-micro #editor-toolbar{display:none}
 body.editor-tight #file-menu,body.editor-tight #extra-tools{position:fixed;top:calc(var(--editor-offset-top,0px) + var(--safe-top) + 4px);left:calc(var(--editor-offset-left,0px) + var(--safe-left) + 8px);right:auto;width:calc(var(--editor-visible-width,100vw) - var(--safe-left) - var(--safe-right) - 16px);max-height:calc(var(--editor-viewport,100dvh) - var(--safe-top) - var(--safe-bottom) - 8px)}
 body.editor-tight .compact-menu-close{display:block;grid-column:1/-1;justify-self:end;min-width:44px;font-size:22px}
 body.editor-tight .save-dialog{padding:8px;max-height:calc(var(--editor-viewport,100dvh) - var(--safe-top) - var(--safe-bottom) - 12px)}
 body.editor-tight #save-form{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:6px;align-items:center}
 body.editor-tight .save-heading,body.editor-tight .save-dialog label,body.editor-tight #save-format,body.editor-tight #format-hint,body.editor-tight .legacy-note,body.editor-tight #save-error:empty{display:none}
 body.editor-tight #save-name{grid-column:1;grid-row:1;min-width:0;min-height:44px;height:44px;padding:8px}
 body.editor-tight .save-buttons{display:contents}
 body.editor-tight #save-submit{grid-column:2;grid-row:1;min-height:44px;height:44px;padding:8px;font-size:13px}
 body.editor-tight #save-cancel{grid-column:3;grid-row:1;min-height:44px;height:44px;width:44px;padding:0;font-size:24px}
 body.editor-tight .save-cancel-label{display:none}
 body.editor-tight .save-cancel-icon{display:inline}
 body.editor-tight #save-error:not(:empty){grid-column:1/-1;max-height:32px;overflow:auto;margin:0;font-size:12px}
 body.editor-micro .save-dialog{top:calc(var(--editor-offset-top,0px) + var(--editor-viewport,100dvh)/2);height:var(--editor-viewport,100dvh);max-height:var(--editor-viewport,100dvh);padding:0;border:0}
 body.editor-micro #save-form{display:block;height:100%}
 body.editor-micro #save-name{height:100%;min-height:0;padding:0 8px;border:0;line-height:1.2}
 body.editor-micro #save-submit,body.editor-micro #save-cancel,body.editor-micro #save-error{display:none}
 .save-dialog{padding:20px}
 .save-buttons button{padding:10px 14px}
}

.font-size-control{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 6px;font-size:14px}
#editor-toolbar #font-size{font-size:16px;min-height:44px;border-color:#dce3eb}
@media(max-width:760px),(max-width:1000px) and (max-height:500px){
 body.editor-narrow .document-actions{padding:4px 6px;gap:4px}
 body.editor-narrow #editor-toolbar .document-actions .save-action{min-width:44px;width:44px;padding:8px;font-size:22px}
 body.editor-narrow .save-mobile-label{display:none}
 body.editor-narrow .save-icon{display:inline}
 body.editor-narrow .mobile-format{grid-template-columns:repeat(4,minmax(44px,1fr));padding:2px 4px}
 body.editor-narrow .mobile-format [data-command="edit.undo"]{display:none}
 body.editor-narrow #extra-tools .zoom-undo{display:block}
 body.editor-narrow .save-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 body.editor-narrow .save-buttons button{min-width:0;padding:8px;font-size:13px;justify-content:center}
 body.editor-narrow.editor-tight .save-buttons{display:contents}
 body.editor-tiny .document-actions{justify-content:space-between;padding:4px;gap:0}
 body.editor-tiny #document-name,body.editor-tiny .file-label{display:none}
 body.editor-tiny .file-icon{display:inline}
 body.editor-tiny #editor-toolbar #file-menu-button{min-width:44px;width:44px}
 body.editor-tiny .mobile-format{grid-template-columns:repeat(2,minmax(44px,1fr))}
 body.editor-tiny .mobile-format [data-command="format.italic"],body.editor-tiny .mobile-format [data-command="format.underline"]{display:none}
 body.editor-tiny #extra-tools .zoom-format{display:block}
}

#editor-stage{position:relative;flex:1;min-width:0;min-height:0}
#editor-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:24px;background:#f5f7fa;overflow:auto;text-align:center}
#editor-empty h2{font-size:24px;font-weight:600;margin:0}
#editor-empty p{font-size:14px;line-height:1.5;color:#5c6e81;max-width:32ch;margin:0}
.editor-start-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
.editor-start-actions button{min-height:48px;border-radius:8px;padding:12px 20px;margin:0;font-weight:600}
#preview-open{background:#fff;color:#33291f;border:1px solid #cfdae6}
#editor-toolbar button:disabled{opacity:.45;cursor:default}/* Registration page */#auth-page{flex:1;display:flex;align-items:center;justify-content:center;padding:24px;background:#f5f7fa}#auth-page footer{display:none}.auth-container{display:flex;gap:16px;max-width:720px;width:100%;background:white;border-radius:8px;box-shadow:0 12px 48px #33291f12}@media(max-width:760px){.auth-container{flex-direction:column}}.auth-logo{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px 16px;background:#b44824;color:#fff}.auth-logo img{margin-bottom:12px;width:64px;height:64px}.auth-logo h1{font-size:20px;font-weight:650;margin:0;color:#fff}.auth-form{padding:24px 16px;flex:1}.auth-form h2{font-size:18px;font-weight:650;margin:0 0 8px;color:#33291f}.auth-subtitle{font-size:14px;color:#637387;margin:0 0 12px}#auth-form .form-group{margin-bottom:12px}#auth-form label{display:block;font-size:14px;font-weight:600;margin:0 0 8px;color:#33291f}#auth-form input{width:100%;min-height:46px;padding:10px 12px;border:1px solid #aebfd2;border-radius:7px;font:inherit;font-size:16px;color:#33291f;background:#fff}#auth-form input:focus-visible{outline:3px solid #b9d2f5;outline-offset:2px}#auth-form .primary{width:100%;justify-content:center}#auth-footer{margin-top:12px;text-align:center;font-size:14px;color:#637387}#auth-footer a{color:#b44824}#auth-terms{margin-top:12px;font-size:12px;color:#6b7c8e;line-height:1.5}#auth-terms a{color:#6b7c8e}#auth-terms a:hover{text-decoration:underline}/* Footer */footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding:clamp(16px,3vw,32px) clamp(20px,4vw,64px);background:#f0f2f5;color:#6b7c8e;font-size:14px}footer nav{display:flex;flex-wrap:wrap;gap:24px}footer a{color:#6b7c8e;text-decoration:none}footer a:hover{text-decoration:underline}@media(max-width:600px){footer{flex-direction:column;text-align:center}footer nav{gap:16px;margin-top:12px}}

footer nav button{padding:0;border:0;background:none;color:inherit;font:inherit;cursor:pointer}footer nav button:hover{text-decoration:underline}
