/* The private writing room. Scoped to its own document; no public-site selectors. */
.casto-writer{--writer-ink:#14263e;--writer-blue:#2e66bf;--writer-muted:#617086;--writer-line:#dce3eb;--writer-paper:#fff;--writer-ground:#f4f6f8;--writer-soft:#edf3fc;margin:0;background:var(--writer-ground);color:var(--writer-ink);font:15px/1.55 Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}
.casto-writer *{box-sizing:border-box}
.casto-writer [hidden]{display:none!important}
.casto-writer button,.casto-writer input,.casto-writer textarea{font:inherit}
.casto-writer button,.casto-writer a,.casto-writer input,.casto-writer textarea{-webkit-tap-highlight-color:transparent}
.casto-writer button{cursor:pointer}
.casto-writer button:disabled{cursor:not-allowed;opacity:.46}
.casto-writer a{color:var(--writer-blue);text-underline-offset:3px}
.casto-writer :is(a,button,input,textarea,[tabindex]):focus-visible{outline:3px solid #88b2ef;outline-offset:3px}
.casto-writer .writer-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap}
.casto-writer .writer-skip{position:fixed;left:16px;top:-100px;z-index:100;background:var(--writer-ink);color:#fff;padding:12px 18px}
.casto-writer .writer-skip:focus{top:12px}
.casto-writer .writer-layout{display:grid;grid-template-columns:258px minmax(0,1fr);min-height:100vh}
.casto-writer .writer-sidebar{position:sticky;top:0;height:100vh;height:100dvh;background:#fff;border-right:1px solid var(--writer-line);display:flex;flex-direction:column;min-width:0}
.casto-writer .writer-sidebar-intro{padding:32px 24px 26px}
.casto-writer .writer-brand{display:block;color:var(--writer-ink);text-decoration:none;font:25px/1.2 Georgia,'Times New Roman',serif;letter-spacing:-.6px}
.casto-writer .writer-brand em{font-weight:400}
.casto-writer .writer-brand>span{display:block;margin-top:11px;color:var(--writer-muted);font:600 9px/1.4 Arial,Helvetica,sans-serif;letter-spacing:2px}
.casto-writer .writer-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 16px;border:1px solid transparent;border-radius:2px;font:600 13px/1.4 Arial,Helvetica,sans-serif;text-decoration:none;white-space:nowrap;transition:background .16s ease,border-color .16s ease}
.casto-writer .writer-button svg{width:18px;height:18px;flex:none}
.casto-writer .writer-button--primary{color:#fff;background:var(--writer-blue);border-color:var(--writer-blue)}
.casto-writer .writer-button--primary:hover:not(:disabled){background:#23539f;border-color:#23539f}
.casto-writer .writer-button--outline{color:var(--writer-ink);background:#fff;border-color:var(--writer-line)}
.casto-writer .writer-button--outline:hover:not(:disabled){background:var(--writer-soft);border-color:#becde1}
.casto-writer .writer-button--quiet{background:transparent;color:var(--writer-ink)}
.casto-writer .writer-button--quiet:hover:not(:disabled){background:var(--writer-soft)}
.casto-writer .writer-new{width:100%;margin-top:32px}
.casto-writer .writer-library-heading{padding:0 24px 12px;display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.casto-writer .writer-library-heading h2{margin:0;font:600 12px/1.4 Arial,Helvetica,sans-serif}
.casto-writer .writer-library-heading>span{color:var(--writer-muted);font-size:10px}
.casto-writer .writer-library{overflow-y:auto;min-height:80px;flex:1;padding:0 12px 20px;scrollbar-width:thin}
.casto-writer .writer-letters{display:grid;gap:6px}
.casto-writer .writer-list-placeholder{margin:10px 12px;color:var(--writer-muted);font-size:13px}
.casto-writer .writer-letter-item{display:block;width:100%;padding:16px 12px;border:1px solid transparent;border-radius:4px;background:transparent;color:var(--writer-ink);text-align:left;text-decoration:none;overflow-wrap:anywhere}
.casto-writer .writer-letter-item:hover{background:#f5f7fa}
.casto-writer .writer-letter-item.is-active,.casto-writer .writer-letter-item[aria-current=true]{background:var(--writer-soft);border-color:#d9e5f7}
.casto-writer .writer-letter-title{display:block;font:18px/1.3 Georgia,'Times New Roman',serif}
.casto-writer .writer-letter-meta{display:flex;flex-wrap:wrap;gap:5px 10px;margin-top:8px;color:var(--writer-muted);font:11px/1.5 Arial,Helvetica,sans-serif}
.casto-writer .writer-sidebar-footer{padding:20px 24px;border-top:1px solid var(--writer-line)}
.casto-writer .writer-private-mark{display:flex;align-items:center;gap:6px;color:var(--writer-muted);font-size:10px}
.casto-writer .writer-private-mark:before{content:'';width:5px;height:5px;border:1px solid #6d849f;border-radius:50%}
.casto-writer .writer-sidebar-footer>div{display:flex;justify-content:space-between;gap:12px;margin-top:10px}
.casto-writer .writer-sidebar-footer a{font-size:11px;color:var(--writer-ink);text-decoration:none}
.casto-writer .writer-studio{min-width:0}
.casto-writer .writer-topbar{position:sticky;top:0;z-index:10;min-height:84px;padding:16px 32px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:rgba(255,255,255,.97);border-bottom:1px solid var(--writer-line)}
.casto-writer .writer-topbar-title{min-width:0}
.casto-writer .writer-topbar-title>p{margin:0 0 4px;font:19px/1.2 Georgia,'Times New Roman',serif}
.casto-writer .writer-status{display:block;color:var(--writer-muted);font:11px/1.45 Arial,Helvetica,sans-serif;overflow-wrap:anywhere}
.casto-writer .writer-status.is-error,.casto-writer .writer-status[data-state=error]{color:#a1322c}
.casto-writer .writer-status.is-success,.casto-writer .writer-status[data-state=saved]{color:#35634e}
.casto-writer .writer-actions{display:flex;align-items:center;gap:8px;flex:none}
.casto-writer .writer-workspace{display:grid;grid-template-columns:minmax(0,780px) 200px;gap:34px;max-width:1130px;margin:0 auto;padding:38px 32px 56px;align-items:start}
.casto-writer .writer-desk{min-width:0}
.casto-writer .writer-publish-help{margin:0 0 19px;padding:0 2px;color:var(--writer-muted);font:12px/1.8 Arial,Helvetica,sans-serif}
.casto-writer .writer-publish-help strong{color:var(--writer-ink);font-weight:600}
.casto-writer .writer-delivery{margin:0 0 22px;padding:19px 22px;border:1px solid #d4e1f2;border-left:3px solid var(--writer-blue);border-radius:3px;background:#edf3fc}
.casto-writer .writer-delivery h2{margin:0 0 8px;color:var(--writer-ink);font:600 14px/1.5 Arial,Helvetica,sans-serif}
.casto-writer .writer-delivery p{margin:0;color:#506078;font:12px/1.8 Arial,Helvetica,sans-serif}
.casto-writer .writer-delivery p+p:not(:empty){margin-top:8px}
.casto-writer .writer-delivery p:empty{display:none}
.casto-writer .writer-delivery[data-state=completed]{border-color:#cfe0d6;border-left-color:#4c7a5d;background:#f0f6f2}
.casto-writer .writer-delivery[data-state=attention]{border-color:#e7d7b9;border-left-color:#a97a30;background:#fff8eb}
.casto-writer .writer-preview-banner{position:fixed;bottom:10px;right:12px;left:auto;z-index:100;max-width:calc(100vw - 24px);padding:9px 14px;border:1px solid #bdcde2;border-radius:3px;background:#e8effa;color:#35577f;font:11px/1.6 Arial,Helvetica,sans-serif;box-shadow:0 3px 14px #14263e12}
.casto-writer .writer-paper{background:#fff;border:1px solid var(--writer-line);box-shadow:0 7px 28px rgba(20,38,62,.035);padding:48px clamp(24px,4vw,64px) 30px;min-height:680px}
.casto-writer .writer-kicker{color:var(--writer-blue);font:600 10px/1.4 Arial,Helvetica,sans-serif;letter-spacing:1.7px;text-transform:uppercase;margin:0 0 22px}
.casto-writer .writer-title{display:block;width:100%;border:0;border-radius:0;background:transparent;color:var(--writer-ink);padding:0;margin:0 0 26px;font:400 clamp(30px,3.2vw,44px)/1.2 Georgia,'Times New Roman',serif;letter-spacing:-1px;resize:none;overflow:hidden}
.casto-writer .writer-title::placeholder{color:#8894a3;opacity:1}
.casto-writer .writer-label{display:block;margin:0 0 7px;color:var(--writer-ink);font:600 11px/1.5 Arial,Helvetica,sans-serif}
.casto-writer .writer-label>span{font-weight:400;color:var(--writer-muted);margin-left:6px}
.casto-writer .writer-excerpt{display:block;width:100%;resize:vertical;min-height:70px;border:0;background:transparent;padding:0;color:#506078;font:17px/1.7 Arial,Helvetica,sans-serif}
.casto-writer .writer-excerpt::placeholder{color:#929caa;opacity:1}
.casto-writer .writer-paper-header{padding-bottom:26px;margin-bottom:28px;border-bottom:1px solid var(--writer-line)}
.casto-writer .writer-blocks{display:grid;gap:20px;min-height:90px}
.casto-writer .writer-block{position:relative;min-width:0;border:1px solid transparent;border-radius:3px;padding:8px;margin-inline:-9px}
.casto-writer .writer-block:focus-within,.casto-writer .writer-block:hover{border-color:#d5e0ef;background:#fcfdff}
.casto-writer .writer-block-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:4px;flex-wrap:wrap;min-height:26px;margin-bottom:6px;color:var(--writer-muted)}
.casto-writer .writer-block-toolbar>span:first-child{margin-right:auto;font-size:10px;letter-spacing:.04em}
.casto-writer .writer-icon-button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;flex:none;padding:7px;border:1px solid transparent;border-radius:3px;background:transparent;color:var(--writer-muted);line-height:1}
.casto-writer .writer-icon-button svg{width:19px;height:19px}
.casto-writer .writer-icon-button:hover:not(:disabled){background:var(--writer-soft);color:var(--writer-ink)}
.casto-writer .writer-icon-button[data-action=remove]:hover{color:#a1322c;background:#fbefee}
.casto-writer .writer-richtext{display:block;width:100%;resize:vertical;min-height:80px;padding:0;border:0;background:transparent;color:var(--writer-ink);font:18px/1.8 Arial,Helvetica,sans-serif;overflow-wrap:anywhere}
.casto-writer .writer-richtext::placeholder{color:#929caa;opacity:1}
.casto-writer .writer-block--heading .writer-richtext,.casto-writer .writer-block[data-type=heading] .writer-richtext{font:30px/1.3 Georgia,'Times New Roman',serif;min-height:46px;letter-spacing:-.4px}
.casto-writer .writer-block--quote .writer-richtext,.casto-writer .writer-block[data-type=quote] .writer-richtext{font:24px/1.5 Georgia,'Times New Roman',serif;border-left:3px solid var(--writer-blue);padding-left:20px}
.casto-writer .writer-block-body img,.casto-writer .writer-block img{display:block;max-width:100%;height:auto;margin:0 0 14px;border-radius:3px}
.casto-writer .writer-field{display:block;width:100%;min-height:42px;border:1px solid var(--writer-line);border-radius:2px;padding:10px 12px;margin:0 0 12px;background:#fff;color:var(--writer-ink);font-size:14px}
.casto-writer textarea.writer-field{min-height:74px;resize:vertical}
.casto-writer .writer-block hr{border:0;border-top:1px solid var(--writer-line);margin:24px 0}
.casto-writer .writer-block-button-preview{display:inline-flex;background:var(--writer-blue);color:#fff;border-radius:2px;padding:12px 22px;font-size:14px;font-weight:600;text-decoration:none;margin-top:8px}
.casto-writer .writer-add-wrap{border-top:1px dashed #ced8e5;margin-top:34px;padding-top:20px}
.casto-writer .writer-add-label{margin:0 0 11px;color:var(--writer-muted);font-size:11px}
.casto-writer .writer-add{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}
.casto-writer .writer-add button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:67px;padding:10px 3px;border:1px solid var(--writer-line);border-radius:3px;background:#fff;color:var(--writer-muted);font-size:10px}
.casto-writer .writer-add button svg{width:19px;height:19px}
.casto-writer .writer-add button:hover{background:var(--writer-soft);border-color:#bed1ec;color:var(--writer-blue)}
.casto-writer .writer-paper-footer{display:flex;align-items:center;gap:17px;margin-top:32px;color:var(--writer-muted)}
.casto-writer .writer-signature{font:italic 26px/1.2 Georgia,'Times New Roman',serif;color:var(--writer-ink)}
.casto-writer .writer-paper-footer p{margin:0;font-size:10px}
.casto-writer .writer-below-paper{text-align:center;color:#8893a2;font-size:11px;margin:17px 0 0}
.casto-writer .writer-notes{padding-top:24px;color:var(--writer-muted);font-size:12px;line-height:1.7}
.casto-writer .writer-note-mark{width:40px;height:40px;display:flex;align-items:center;justify-content:center;margin-bottom:28px;border:1px solid #cad7e8;border-radius:50%;color:var(--writer-blue);font:italic 25px/1 Georgia,'Times New Roman',serif}
.casto-writer .writer-notes .writer-kicker{font-size:8px;letter-spacing:1.1px;margin-bottom:9px}
.casto-writer .writer-notes h2{margin:0 0 14px;color:var(--writer-ink);font:26px/1.2 Georgia,'Times New Roman',serif}
.casto-writer .writer-notes ol{list-style:none;margin:25px 0;padding:0;counter-reset:writer-steps}
.casto-writer .writer-notes li{position:relative;padding:0 0 22px 27px;counter-increment:writer-steps}
.casto-writer .writer-notes li:before{content:counter(writer-steps,decimal-leading-zero);position:absolute;left:0;top:1px;color:#8898ac;font-size:9px}
.casto-writer .writer-notes strong{display:block;color:var(--writer-ink);font-weight:600;margin-bottom:3px}
.casto-writer .writer-note-small{border-top:1px solid var(--writer-line);padding-top:18px;font-size:11px}
.casto-writer .writer-dialog{color:var(--writer-ink);border:1px solid var(--writer-line);border-radius:5px;padding:0;background:#fff;box-shadow:0 22px 80px rgba(20,38,62,.2);max-width:calc(100vw - 32px)}
.casto-writer .writer-dialog::backdrop{background:rgba(13,27,45,.55)}
.casto-writer .writer-dialog--preview{width:860px;height:calc(100dvh - 64px);max-height:1000px}
.casto-writer .writer-dialog--preview[open]{display:flex;flex-direction:column}
.casto-writer .writer-dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:22px 26px;border-bottom:1px solid var(--writer-line);background:#fff}
.casto-writer .writer-dialog-header .writer-kicker{margin-bottom:5px;font-size:8px}
.casto-writer .writer-dialog h2{margin:0;font:28px/1.25 Georgia,'Times New Roman',serif}
.casto-writer .writer-dialog-header p:last-child{margin:7px 0 0;color:var(--writer-muted);font-size:12px}
.casto-writer .writer-preview-frame{display:block;flex:1;border:0;background:#f4f6f8;width:100%;height:auto;min-height:220px}
.casto-writer .writer-dialog--publish{width:540px;padding:35px}
.casto-writer .writer-dialog--publish .writer-kicker{margin-bottom:14px}
.casto-writer .writer-dialog--publish>p:not(.writer-kicker){font-size:15px;line-height:1.7;margin:20px 0}
.casto-writer .writer-dialog--publish .writer-publish-note{padding:14px 16px;background:var(--writer-soft);border-left:3px solid var(--writer-blue);font-size:13px!important}
.casto-writer .writer-dialog-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:28px}
.casto-writer .writer-no-script{position:fixed;inset:auto 12px 12px;background:#fff3d7;color:#5f4307;border:1px solid #ecd09a;padding:16px;z-index:99}
.casto-writer.writer-login{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:32px 20px;background:linear-gradient(135deg,#edf2f8,#f8f9fb)}
.casto-writer .writer-login-card{width:100%;max-width:440px;background:#fff;border:1px solid var(--writer-line);padding:42px;border-radius:4px;box-shadow:0 16px 60px rgba(20,38,62,.055)}
.casto-writer .writer-login-card h1{font:36px/1.15 Georgia,'Times New Roman',serif;letter-spacing:-.8px;margin:25px 0 12px}
.casto-writer .writer-login-card p{color:var(--writer-muted);font-size:14px;line-height:1.7}
.casto-writer .writer-login-card .writer-kicker{color:var(--writer-blue);font-size:10px;margin-top:25px}
.casto-writer .writer-login-field{margin:20px 0}
.casto-writer .writer-login-field label{display:block;margin-bottom:7px;font-size:12px;font-weight:600}
.casto-writer .writer-login-field input{width:100%;min-height:46px;padding:10px 12px;border:1px solid #cbd5e1;border-radius:2px;background:#fff;color:var(--writer-ink)}
.casto-writer .writer-login-card button[type=submit]{width:100%;margin-top:8px}
.casto-writer .writer-login-error{padding:12px 14px;border-left:3px solid #ab4139;background:#fff1ef;color:#8b302a;font-size:13px}
@media(min-width:1650px){.casto-writer .writer-workspace{padding-top:54px;gap:42px}.casto-writer .writer-paper{padding-top:58px}}
@media(max-width:1200px){.casto-writer .writer-layout{grid-template-columns:224px minmax(0,1fr)}.casto-writer .writer-sidebar-intro{padding:27px 20px}.casto-writer .writer-brand{font-size:23px}.casto-writer .writer-workspace{grid-template-columns:minmax(0,780px);justify-content:center;padding:28px 28px 45px}.casto-writer .writer-notes{display:grid;grid-template-columns:1fr 1fr;gap:0 32px;max-width:780px;padding:22px 8px 0}.casto-writer .writer-note-mark{display:none}.casto-writer .writer-notes .writer-kicker{grid-column:1/-1}.casto-writer .writer-notes h2{grid-column:1}.casto-writer .writer-notes>p:not(.writer-kicker){grid-column:1}.casto-writer .writer-notes ol{grid-column:2;grid-row:2/5;margin:0}.casto-writer .writer-notes li{padding-bottom:15px}.casto-writer .writer-note-small{margin-top:8px}.casto-writer .writer-topbar{padding-inline:25px}}
@media(max-width:820px){.casto-writer .writer-layout{display:block}.casto-writer .writer-sidebar{position:relative;height:auto;border-right:0;border-bottom:1px solid var(--writer-line)}.casto-writer .writer-sidebar-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 22px}.casto-writer .writer-brand{font-size:24px}.casto-writer .writer-brand>span{margin-top:6px;font-size:8px}.casto-writer .writer-new{width:auto;margin-top:0;min-height:40px;padding-inline:13px}.casto-writer .writer-library-heading{padding:0 22px 8px}.casto-writer .writer-library-heading>span{display:none}.casto-writer .writer-library{overflow-x:auto;overflow-y:hidden;padding:0 16px 13px;min-height:0;max-height:145px}.casto-writer .writer-letters{display:flex;gap:6px}.casto-writer .writer-letter-item{width:200px;min-width:200px;padding:11px 12px}.casto-writer .writer-letter-title{font-size:16px}.casto-writer .writer-letter-meta{margin-top:5px;font-size:10px}.casto-writer .writer-sidebar-footer{display:flex;justify-content:space-between;align-items:center;padding:11px 22px}.casto-writer .writer-sidebar-footer>div{margin:0;gap:20px}.casto-writer .writer-topbar{min-height:76px;padding:15px 22px}.casto-writer .writer-workspace{padding:23px 22px 40px}.casto-writer .writer-paper{padding:36px 36px 28px;min-height:560px}.casto-writer .writer-topbar-title>p{font-size:17px}.casto-writer .writer-actions{gap:5px}.casto-writer .writer-button{font-size:12px;padding:10px 12px}}
@media(max-width:540px){.casto-writer .writer-topbar{flex-wrap:wrap;gap:13px;padding:14px 18px}.casto-writer .writer-topbar-title{display:flex;align-items:baseline;justify-content:space-between;width:100%;gap:12px}.casto-writer .writer-topbar-title>p{margin:0;font-size:17px}.casto-writer .writer-status{text-align:right;font-size:10px}.casto-writer .writer-actions{display:grid;grid-template-columns:1fr 1.3fr 1fr;width:100%;gap:7px}.casto-writer .writer-actions .writer-button{padding:9px 7px;min-height:41px;font-size:11px;gap:5px}.casto-writer .writer-actions .writer-button svg{width:15px;height:15px}.casto-writer .writer-workspace{padding:16px 12px 30px}.casto-writer .writer-paper{padding:28px 22px 24px;min-height:520px}.casto-writer .writer-title{font-size:32px;margin-bottom:24px}.casto-writer .writer-kicker{font-size:9px;margin-bottom:19px}.casto-writer .writer-excerpt{font-size:16px}.casto-writer .writer-richtext{font-size:17px}.casto-writer .writer-add{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.casto-writer .writer-add button{flex-direction:row;gap:7px;min-height:43px;font-size:10px}.casto-writer .writer-add button svg{width:16px;height:16px}.casto-writer .writer-notes{display:block;padding:23px 15px 0}.casto-writer .writer-notes h2{font-size:25px}.casto-writer .writer-notes ol{margin-top:20px}.casto-writer .writer-paper-footer{gap:12px}.casto-writer .writer-paper-footer p{font-size:9px}.casto-writer .writer-dialog--preview{height:calc(100dvh - 24px);max-width:calc(100vw - 16px)}.casto-writer .writer-dialog-header{padding:18px}.casto-writer .writer-dialog h2{font-size:25px}.casto-writer .writer-dialog--publish{padding:27px 23px}.casto-writer .writer-dialog-actions{flex-direction:column-reverse}.casto-writer .writer-dialog-actions .writer-button{width:100%}.casto-writer .writer-login-card{padding:30px 25px}.casto-writer .writer-login-card h1{font-size:32px}}
@media(prefers-reduced-motion:reduce){.casto-writer .writer-button{transition:none}}
@media(max-width:540px){.casto-writer .writer-actions{grid-template-columns:1fr 1fr}.casto-writer #writer-publish{grid-column:1 / -1;min-height:44px}.casto-writer .writer-publish-help{font-size:11px;margin-bottom:15px}.casto-writer .writer-delivery{padding:16px 18px}.casto-writer .writer-preview-banner{font-size:10px}}

.casto-writer .writer-schedule-status .writer-schedule-date{color:var(--writer-ink);font-size:17px;line-height:1.6;margin-bottom:8px;font-weight:600}
.casto-writer .writer-schedule-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.casto-writer .writer-dialog--schedule{width:560px;max-height:calc(100dvh - 32px);overflow-y:auto}
.casto-writer .writer-schedule-form{padding:24px 28px 28px}
.casto-writer .writer-schedule-form>p{margin:0 0 20px;color:var(--writer-muted);font-size:14px;line-height:1.7}
.casto-writer .writer-schedule-fields{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:16px}
.casto-writer .writer-schedule-fields>div{min-width:0}
.casto-writer .writer-schedule-fields label{display:block;margin:0 0 7px;font:600 13px/1.5 Arial,Helvetica,sans-serif}
.casto-writer .writer-schedule-fields input{display:block;width:100%;min-width:0;min-height:48px;padding:10px 12px;border:1px solid #bdc9d9;border-radius:3px;background:#fff;color:var(--writer-ink);font:16px/1.5 Arial,Helvetica,sans-serif;color-scheme:light}
.casto-writer .writer-schedule-form .writer-schedule-timezone{margin:9px 0 22px;font-size:12px;font-weight:600;color:var(--writer-ink)}
.casto-writer .writer-schedule-form .writer-schedule-note{padding:14px 16px;border-left:3px solid #b7c9e1;background:var(--writer-soft);font-size:12px}
.casto-writer .writer-schedule-form .writer-schedule-error{padding:12px 14px;border-left:3px solid #a1322c;background:#fff1ef;color:#8b302a;font-size:13px}
.casto-writer .writer-schedule-form .writer-dialog-actions{margin-top:24px}
@media(min-width:821px) and (max-width:1190px){.casto-writer .writer-topbar{flex-wrap:wrap}.casto-writer .writer-topbar-title{width:100%}.casto-writer .writer-actions{margin-left:auto}}
@media(min-width:541px) and (max-width:720px){.casto-writer .writer-topbar{flex-wrap:wrap}.casto-writer .writer-topbar-title{width:100%}.casto-writer .writer-actions{width:100%;justify-content:flex-end}}
@media(max-width:540px){.casto-writer #writer-publish{grid-column:auto}.casto-writer .writer-actions .writer-button{white-space:normal;min-height:44px}.casto-writer .writer-dialog--schedule{max-width:calc(100vw - 24px)}.casto-writer .writer-schedule-form{padding:21px 20px 24px}.casto-writer .writer-schedule-fields{gap:12px}.casto-writer .writer-schedule-fields input{padding-inline:8px}.casto-writer .writer-schedule-form .writer-dialog-actions .writer-button{white-space:normal;min-height:46px}.casto-writer .writer-schedule-status .writer-schedule-date{font-size:16px}.casto-writer .writer-schedule-actions .writer-button{font-size:12px}}

.casto-writer .writer-library-toggle{padding:8px 0 8px 8px;min-height:36px;border:0;background:transparent;color:var(--writer-blue);font:600 11px/1.5 Arial,Helvetica,sans-serif;text-decoration:underline;text-underline-offset:3px}
.casto-writer .writer-library-help{margin:0;padding:0 24px 14px;color:var(--writer-muted);font:11px/1.6 Arial,Helvetica,sans-serif}
.casto-writer .writer-letter-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;min-width:0}
.casto-writer .writer-letter-row .writer-letter-item{min-width:0;width:100%}
.casto-writer .writer-list-trash,.casto-writer .writer-list-restore{display:flex;align-items:center;justify-content:center;min-width:36px;min-height:44px;margin:5px 0 0;padding:8px 7px;border:0;border-radius:3px;background:transparent;color:var(--writer-muted);font:600 11px/1.5 Arial,Helvetica,sans-serif}
.casto-writer .writer-list-trash:hover:not(:disabled){background:#fff1ef;color:#8b302a}
.casto-writer .writer-list-restore{color:var(--writer-blue)}
.casto-writer .writer-list-restore:hover:not(:disabled){background:var(--writer-soft)}
.casto-writer .writer-list-trash:disabled,.casto-writer .writer-list-restore:disabled{opacity:.42}
.casto-writer .writer-trash-icon{position:relative;display:block;width:13px;height:15px;border:1.5px solid currentColor;border-top:0;border-radius:0 0 2px 2px;margin-top:4px}
.casto-writer .writer-trash-icon:before{content:'';position:absolute;top:-4px;left:-3px;width:16px;border-top:1.5px solid currentColor}
.casto-writer .writer-trash-icon:after{content:'';position:absolute;left:3px;top:-7px;width:5px;height:3px;border:1.5px solid currentColor;border-bottom:0;border-radius:2px 2px 0 0}
.casto-writer .writer-trash-status{background:#f2f4f7;border-color:#d7dee8;border-left-color:#76869c}
.casto-writer .writer-dialog--trash{width:550px;max-height:calc(100dvh - 32px);overflow-y:auto}
.casto-writer .writer-trash-form{padding:24px 28px 28px}
.casto-writer .writer-trash-form>p{margin:0 0 18px;color:var(--writer-muted);font-size:14px;line-height:1.7}
.casto-writer .writer-trash-form .writer-trash-letter-title{color:var(--writer-ink);font:24px/1.4 Georgia,'Times New Roman',serif;overflow-wrap:anywhere}
.casto-writer .writer-trash-unsaved{padding:16px;margin:20px 0;border-left:3px solid #ad7734;background:#fff8eb;color:#67491f;font-size:13px;line-height:1.7}
.casto-writer .writer-trash-unsaved p{margin:0 0 12px}
.casto-writer .writer-trash-unsaved label{display:flex;align-items:flex-start;gap:10px;font-weight:600;cursor:pointer}
.casto-writer .writer-trash-unsaved input{width:18px;height:18px;margin-top:3px;flex:none;accent-color:var(--writer-blue)}
.casto-writer .writer-trash-form .writer-schedule-error{padding:12px 14px;border-left:3px solid #a1322c;background:#fff1ef;color:#8b302a;font-size:13px}
@media(max-width:820px){.casto-writer .writer-letter-row{width:240px;min-width:240px}.casto-writer .writer-library-help{padding-inline:22px}.casto-writer .writer-library-heading{align-items:center}}
@media(max-width:540px){.casto-writer .writer-trash-form{padding:20px}.casto-writer .writer-trash-form .writer-dialog-actions .writer-button{min-height:44px;white-space:normal}.casto-writer .writer-dialog--trash{max-width:calc(100vw - 24px)}.casto-writer .writer-library-heading{padding-bottom:4px}}
