@import url("materialize.min.css") layer(materialize);
/* Quiet Motion: independent v6 components, layout and responsive behavior. */
@font-face{font-family:StudioHand;src:local('Snell Roundhand'),local('Apple Chancery');font-display:swap}
:root{--paper:#faf7f0;--ink:#102b45;--muted:#536172;--line:#e5dfd5;--coral:#c84539;--wash:#f1ece2;--green:#65837b;--radius:5px;--serif:Georgia,'Times New Roman',serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.65 Arial,Helvetica,sans-serif}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:1.14;letter-spacing:-.035em}h1{font-size:48px;margin-bottom:12px}h2{font-size:28px;margin-bottom:12px}h3{font-size:21px}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}img{max-width:100%;display:block}iframe{border:0;width:100%;background:var(--wash)}[hidden]{display:none!important}:focus-visible{outline:3px solid #36637e;outline-offset:4px}::selection{background:#f4c9bd}label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#20394d;font-weight:500;margin-bottom:20px}input:not([type=checkbox]):not([type=radio]):not([type=color]),textarea,select{width:100%;min-width:0;padding:11px 13px;border:1px solid #dcd5c9;border-radius:4px;background:#fffdf8;color:var(--ink);min-height:44px;line-height:1.4}textarea{resize:vertical;min-height:110px}input[type=checkbox]{accent-color:var(--coral);width:16px;height:16px}input[type=color]{width:100%;height:44px;padding:4px;background:#fffdf8;border:1px solid var(--line);border-radius:4px}select{padding-right:28px}form{margin:0}small{font-size:11px}hr{border:0;border-top:1px solid var(--line)}
.wrap{width:min(1260px,90%);margin:0 auto}.narrow{max-width:970px}.muted{color:var(--muted);font-size:12px}.eyebrow{font-size:10px;letter-spacing:2px;color:#61716f;margin-bottom:18px}.lead{font-size:18px;color:var(--muted);line-height:1.75}.text-link{text-decoration:underline;text-underline-offset:3px;display:inline-block;margin-top:18px;font-size:12px}.button{display:inline-flex;align-items:center;justify-content:center;gap:24px;background:linear-gradient(125deg,#d95145,#c43e34);color:#fff;border:1px solid #c84338;border-radius:5px;min-height:44px;padding:10px 20px;font-size:13px;font-weight:500;text-decoration:none;box-shadow:inset 0 2px 0 #ffffff30;white-space:normal}.button:hover{filter:brightness(.96)}.button.secondary{background:transparent;color:var(--ink);border:1px solid #b9c1c3;box-shadow:none}.button.danger{background:#a7312c}.button.full{width:100%}.text-button{background:none;border:0;color:var(--ink);font-size:12px;padding:10px 0;min-height:40px}.text-button:hover{text-decoration:underline;text-underline-offset:5px}.icon-button{border:0;background:none;width:40px;height:40px;font-size:25px;color:var(--ink)}.actions{display:flex;gap:12px;justify-content:flex-end;margin-top:24px}.error{color:#aa2e26;background:#ffede7;padding:12px;border-radius:4px}.skip-link{position:absolute;top:-70px;left:16px;z-index:100;background:#fff;padding:12px}.skip-link:focus{top:8px}
.studio-header{display:flex;align-items:center;gap:30px;max-width:1500px;padding:30px 4.5%;margin:auto;border-bottom:1px solid #e9e3d8;min-height:98px}.wordmark{font:32px/1 var(--serif);letter-spacing:-1.8px}.motto{margin-left:auto;font:italic 17px var(--serif);white-space:nowrap}.studio-header nav{display:flex;align-items:center;gap:24px}.studio-header nav>a{font-size:12px;white-space:nowrap}.studio-header nav>a[aria-current=page]{text-decoration:underline;text-underline-offset:8px}.avatar{width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#efb6a6;color:#16344a;font:20px var(--serif)!important}.menu-toggle{display:none}.studio-footer{width:min(1260px,90%);margin:75px auto 0;border-top:1px solid var(--line);padding:30px 0;display:flex;gap:25px;align-items:center}.studio-footer .wordmark{font-size:23px}.studio-footer p{font-size:12px;color:var(--muted);margin:0 auto 0 0}.studio-footer>a:not(.wordmark){font-size:12px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:42px 0 28px}.page-heading p{margin-bottom:0;color:var(--muted);max-width:650px}.page-heading .eyebrow{margin-bottom:15px}.tab-bar{display:flex;gap:24px;border-bottom:1px solid var(--line);margin-bottom:28px;overflow:auto}.tab-bar button{background:none;border:0;border-bottom:2px solid transparent;padding:13px 0;color:var(--muted);font-size:12px;white-space:nowrap}.tab-bar button.active{border-bottom-color:var(--ink);color:var(--ink);font-weight:600}.notice{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:1000;background:#102b45;color:#fff;border-radius:6px;padding:14px 24px;box-shadow:0 6px 30px #102b4525;max-width:calc(100% - 30px);width:max-content;font-size:13px}.notice.error{background:#a7312c}
.home-hero{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center;padding:80px 0 60px;min-height:650px;overflow:clip}.hero-copy h1{font-size:70px;letter-spacing:-3.5px;line-height:1.02;margin:25px 0}.hero-copy h1 em{font-style:normal;color:#426762}.hero-copy .button{margin:20px 0 25px}.hero-words{display:flex;gap:30px;margin-top:28px;font-style:italic;color:#61707e;font-size:12px}.hero-art{position:relative;min-height:490px;padding:10px 80px 20px 15px}.art-wash{position:absolute;inset:5px 0 0 30px;border-radius:50% 50% 35% 55%;background:#f2ecdf}.paper-sample{position:relative;background:#fffdf9;border:1px solid #e2dbce;box-shadow:0 8px 24px #1c304314;padding:35px;transform:rotate(-3deg);min-height:440px;max-width:320px}.paper-sample h2{font-size:24px;letter-spacing:-.8px;margin:0 0 5px}.paper-sample p{font-size:9px;color:#536172}.paper-sample h3{font-size:14px;margin:23px 0 10px}.sample-lines{height:50px;background:repeating-linear-gradient(to bottom,#dfe1dc 0,#dfe1dc 3px,transparent 3px,transparent 9px);opacity:.8;width:92%}.sample-lines.short{height:25px;width:70%}.sample-rule{height:1px;background:#b9c4c5;margin:18px 0}.folio{font-size:7px;letter-spacing:2px;display:block;margin-top:25px}.botanical{position:relative;height:245px;width:160px;margin:0 auto}.hero-art>.botanical{position:absolute;right:-10px;bottom:10px;height:350px}.leaf{position:absolute;width:48px;height:125px;background:#355b65;border-radius:100% 0 100% 0}.leaf-a{left:68px;top:5px;transform:rotate(15deg)}.leaf-b{left:20px;top:65px;transform:rotate(-55deg);background:#7a9289}.leaf-c{left:85px;top:107px;transform:rotate(25deg);background:#55777c}.stem{position:absolute;left:80px;bottom:32px;width:2px;height:180px;background:#405961;transform:rotate(4deg)}.pot{position:absolute;bottom:0;left:44px;width:79px;height:45px;background:#e8c5b1;clip-path:polygon(0 0,100% 0,85% 100%,15% 100%)}.hero-art .leaf-a{height:170px}.hero-art .leaf-b{top:135px}.hero-art .leaf-c{top:183px}.hero-art .stem{height:255px}.how-section{padding:55px 0;border-top:1px solid var(--line);text-align:center}.how-section>h2{font-size:42px}.step-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:40px;list-style:none;padding:30px 0;margin-bottom:28px;text-align:left}.step-cards li>span{display:flex;align-items:center;justify-content:center;background:#f0ebe0;border-radius:50%;width:56px;height:56px;font:23px var(--serif);margin-bottom:22px}.step-cards h3{font-size:20px}.step-cards p{font-size:13px;color:var(--muted)}
.studio-ad{display:flex;align-items:center;justify-content:center;gap:14px;background:#f1ece2;min-height:90px;padding:14px;border-radius:5px;margin:16px 0 28px;color:#786b5c}.studio-ad>span{font-size:35px;color:#a1937f}.studio-ad strong,.studio-ad small{display:block;font-weight:400}.studio-ad strong{font-size:12px}.studio-ad small{font-size:10px;margin-top:4px}.cv-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}.cv-cover{display:block;height:310px;padding:16px;background:#f1ede4;overflow:hidden;border:1px solid #e5ddd1;border-radius:4px}.cv-cover img{width:100%;box-shadow:0 3px 12px #24384912}.cv-card h2{font:600 13px Arial;margin:14px 0 5px;letter-spacing:0;overflow-wrap:anywhere}.cv-card>p{font-size:11px;color:var(--muted);margin-bottom:8px}.card-actions{display:flex;flex-wrap:wrap;gap:14px}.card-actions a,.card-actions button{font:11px Arial;background:none;border:0;color:#42576a;padding:8px 0;min-height:35px}.card-actions [data-delete]{color:#ad4035}.empty-paper{height:100%;display:flex;flex-direction:column;gap:15px;padding:25px;background:#fffdf8;box-shadow:0 2px 12px #142a4210}.empty-paper>b{font:22px var(--serif)}.empty-paper>span{font-size:12px;color:var(--muted)}.new-cv{border:1px dashed #cfc6b6;border-radius:5px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:310px;padding:25px;align-self:start}.new-cv>span{display:flex;align-items:center;justify-content:center;background:#102b45;color:white;border-radius:50%;width:36px;height:36px;margin-bottom:20px;font-size:26px}.new-cv h2{font:600 14px Arial;letter-spacing:0}.new-cv p{font-size:12px;color:var(--muted);margin:0}.filter-bar{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:28px}.pill{border:1px solid #e4ded4;background:#f3efe8;color:#586473;padding:8px 17px;border-radius:30px;font-size:12px;min-height:38px}.pill.active{background:var(--ink);border-color:var(--ink);color:white}.template-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px}.template-select{background:#fffdf8;border:1px solid #e4ddd1;border-radius:4px;padding:16px;width:100%;height:320px;overflow:hidden;box-shadow:0 3px 10px #142b4505}.template-select:hover,.template-select:focus-visible{border-color:#d56659}.template-select img{width:100%;height:100%;object-fit:contain;object-position:top}.template-tile h2{font:600 13px Arial;margin:12px 0 4px;letter-spacing:0}.template-tile p{font-size:11px;color:var(--muted);margin:0}.template-dialog{width:min(620px,94vw)}.template-dialog>img{width:100%;max-height:65vh;object-fit:contain;margin:12px auto}.template-dialog footer p{font-size:12px;margin:0}.start-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin-bottom:35px}.start-grid article{padding:35px;border:1px solid var(--line);border-radius:5px}.start-grid h2{font-size:29px}.start-grid p{color:var(--muted);max-width:380px}.line-icon{display:block;font:62px/1 var(--serif);margin:10px 0 35px;color:#335267}.start-grid form{margin-top:25px}.file-input input{background:var(--wash)}
.work-top{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:35px 0}.work-top h1{font-size:36px;margin:0}.work-top .eyebrow{margin-bottom:8px}.workflow{display:flex;align-items:center;gap:28px;font-size:12px}.workflow>a,.workflow>span{display:flex;align-items:center;gap:9px;white-space:nowrap}.workflow b{width:25px;height:25px;border:1px solid #cfd0cd;border-radius:50%;font-size:11px;font-weight:400;display:flex;align-items:center;justify-content:center}.workflow [aria-current] b{background:var(--ink);color:#fff;border-color:var(--ink)}.editor-workspace{display:grid;grid-template-columns:175px minmax(0,1fr) 330px;gap:30px;align-items:start;border-top:1px solid var(--line);padding-top:25px}.section-rail{border-right:1px solid var(--line);padding-right:18px}.section-rail button{display:flex;width:100%;text-align:left;align-items:center;gap:10px;border:0;background:none;color:#344c60;padding:12px 9px;min-height:44px;font-size:12px}.section-rail button.active{background:#f0ebe1;border-left:2px solid var(--ink);font-weight:600;color:var(--ink)}.section-rail .add-section{color:#b84036;margin-top:10px}.section-rail .text-link{font-size:11px}.editor-panel{padding:0 5px}.editor-panel>header{display:flex;flex-direction:column;gap:4px;margin:4px 0 28px}.editor-panel h2{font-size:26px;margin:0}.editor-panel>header span{font-size:11px}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.form-footer{display:flex;align-items:center;gap:18px;flex-wrap:wrap;border-top:1px solid var(--line);padding:20px 0 5px;margin-top:22px}.form-footer>span{font-size:11px;flex-basis:100%;color:var(--muted)}.live-preview{position:sticky;top:20px;background:#f2eee6;border-radius:4px;padding:13px}.preview-caption{display:flex;align-items:center;justify-content:space-between;font-size:11px;margin-bottom:10px;gap:15px}.preview-caption .text-button{font-size:11px;padding:3px;min-height:24px}.live-preview iframe{height:530px}.live-preview>p{font-size:10px;color:var(--muted);text-align:center;margin:10px 0 0}.entry-card{border:1px solid var(--line);padding:20px;margin-bottom:16px;background:#fffdf8;border-radius:4px}.entry-card h3{font:600 14px Arial;letter-spacing:0;margin:0 0 5px}.entry-card p{font-size:12px;color:var(--muted);margin-bottom:10px;white-space:pre-wrap;overflow-wrap:anywhere}.entry-card .entry-actions{display:flex;gap:20px}.entry-card button{font-size:11px;border:0;background:none;color:#345069;padding:8px 0}.entry-card button[data-entry-delete]{color:#aa3e32}.empty-state{padding:30px 20px;background:#f2ede3;border-radius:5px;margin:20px 0;color:var(--muted);font-size:13px}.order-controls{display:flex;gap:15px;margin-bottom:20px}.order-controls button{font-size:11px;border:0;background:transparent;padding:7px 0;color:#52616e}.photo-editor img{width:100px;height:100px;object-fit:cover;border-radius:50%;margin:20px 0}.editor-panel .links-row{padding:15px;border:1px solid var(--line);margin-bottom:15px}.section-description{font-size:12px;color:var(--muted)}
dialog{border:1px solid #ddd4c5;border-radius:7px;background:#fffdf8;color:var(--ink);padding:25px;max-height:90dvh;width:min(640px,94vw);overflow:auto;box-shadow:0 20px 70px #132b4330}dialog::backdrop{background:#102b4566;backdrop-filter:blur(3px)}dialog>header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:15px;margin-bottom:20px}dialog>header h2{margin:0;font-size:28px}dialog footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:18px 0 0;border-top:1px solid var(--line)}#entry-dialog[open]{display:flex;flex-direction:column;overflow:hidden}#entry-dialog>form{display:flex;flex-direction:column;min-height:0}#entry-dialog .dialog-fields{overflow:auto;min-height:0;padding:3px 5px 3px 0}#entry-dialog footer{flex-shrink:0}.design-workspace{display:grid;grid-template-columns:minmax(0,44%) minmax(0,56%);gap:55px;border-top:1px solid var(--line);padding-top:22px}.design-panel{padding-right:10px}.design-panel h2{font-size:29px;margin:25px 0 16px}.design-preview{background:#f1ece2;padding:18px;border-radius:4px}.design-preview iframe{height:780px}.design-panel .tab-bar{gap:28px}.design-panel .type-sample{padding:35px 25px;background:#f4eee3;border-radius:4px;margin:30px 0}.type-sample h3{font-size:35px;margin:0 0 6px}.type-sample p{font-size:12px;margin:0 0 15px}.type-sample small{color:#62707a}.format-checks{display:flex;flex-wrap:wrap;gap:20px;margin:12px 0}.format-checks label{flex-direction:row;align-items:center}.palette-row{display:flex;gap:16px;margin:28px 0}.palette{background:var(--swatch);border:3px solid #fffdf8;outline:1px solid #e1dbcf;border-radius:50%;height:42px;width:42px}.palette:hover{outline:2px solid var(--coral)}.color-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.export-workspace{display:grid;grid-template-columns:1.2fr 1fr;gap:60px;margin-top:15px}.export-options{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding-top:25px}.export-options article{border:1px solid var(--line);border-radius:5px;background:#fffdf8;padding:32px 20px;text-align:center}.export-options h2{font:600 14px Arial;margin:22px 0 12px;letter-spacing:0}.export-options p{font-size:12px;color:var(--muted);margin-bottom:23px}.file-symbol{display:inline-flex;align-items:center;justify-content:center;border-radius:4px;clip-path:polygon(0 0,70% 0,100% 25%,100% 100%,0 100%);width:40px;height:50px;background:#cf4f47;color:white;font-size:12px;font-weight:600}.file-symbol.word{background:#285b8b;font:25px Georgia}.export-preview{padding:10px;background:#f2ede4;transform:none;box-shadow:0 4px 25px #18344c08}.export-preview iframe{height:670px}.handwritten{font:italic 28px var(--serif);color:#805448;text-align:center;margin:45px 0 20px;transform:rotate(-4deg)}
.split-page{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:65px;margin-top:12px;align-items:start}.split-page form>.button{margin-top:8px}.split-page>form>p{font-size:13px;color:var(--muted)}.art-panel{position:relative;background:#f2ede3;border-radius:5px;min-height:420px;padding:40px 22px 30px;text-align:center;overflow:hidden}.art-panel>.botanical{height:235px;margin-bottom:25px}.art-panel h2{font-size:27px;line-height:1.2}.art-panel p{font-size:12px;color:var(--muted)}.flourish{display:block;width:50px;height:12px;border-top:2px solid var(--coral);border-radius:50%;transform:rotate(-12deg);margin:26px auto 0}.art-panel>.line-icon{font-size:85px;margin:35px 0 45px}.abstract-art{height:235px;position:relative;margin-bottom:30px}.abstract-art>span{position:absolute;width:75px;height:160px;left:25%;top:15px;background:#244b59;border-radius:80% 0 80% 0;transform:rotate(15deg)}.abstract-art>span:nth-child(2){background:#efb2a9;transform:rotate(45deg);left:43%;height:200px}.abstract-art>span:nth-child(3){background:#6d8587;left:48%;top:135px;height:90px;width:50px;transform:rotate(-45deg)}.envelope{font-size:110px;line-height:1.1;color:#d69c85;display:block;transform:rotate(-15deg)}.art-panel:has(.envelope)>.botanical{height:180px;width:150px;transform:scale(.7);margin-top:-45px;margin-bottom:-10px}.auth-page{padding-top:75px}.auth-page h1{font-size:40px}.auth-page .split-page{gap:80px;align-items:center}.auth-page .split-page>div>p{font-size:14px;color:var(--muted)}.auth-page form{margin-top:25px}.auth-page .text-link{margin-top:25px}.profile-personal{display:grid;grid-template-columns:1fr 180px;gap:80px}.large-avatar{width:110px;height:110px;border-radius:50%;background:linear-gradient(135deg,#e5b4a4,#f4c9bb);display:flex;align-items:center;justify-content:center;font:42px var(--serif);overflow:hidden;margin:15px auto}.large-avatar img{width:100%;height:100%;object-fit:cover}.profile-photo{text-align:center}.profile-photo .text-link{margin:0 0 12px;font-size:12px;cursor:pointer}.profile-photo input{max-width:170px;font-size:10px}.profile-photo .button{font-size:11px;min-height:34px;padding:5px 15px}.profile-photo>p{font-size:10px;margin-top:15px}#tailor-result{margin-top:25px}#tailor-result h2{font-size:26px}#tailor-result p{font-size:13px}.contact-form .button{margin-top:0}
@media(min-width:1450px){.wrap{max-width:1380px}.hero-copy h1{font-size:82px}.template-select{height:350px}.editor-workspace{grid-template-columns:190px minmax(0,1fr) 400px}}
@media(max-width:1100px){.motto{display:none}.studio-header nav{margin-left:auto;gap:18px}.editor-workspace{grid-template-columns:145px minmax(0,1fr);gap:25px}.live-preview{grid-column:2;position:static;max-width:500px;width:100%}.hero-copy h1{font-size:57px}.home-hero{gap:30px}.hero-art{padding-right:40px}.cv-grid,.template-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.template-select{height:290px}.cv-cover{height:290px}.design-workspace{gap:30px}.split-page{gap:35px}.design-panel .tab-bar{gap:20px}}
@media(max-width:800px){h1{font-size:40px}.wrap{width:92%}.studio-header{padding:25px 4%;gap:20px}.studio-header nav{gap:15px}.studio-header nav>a{font-size:11px}.wordmark{font-size:28px}.home-hero{padding:55px 0;min-height:550px}.hero-copy h1{font-size:49px;letter-spacing:-2px}.lead{font-size:16px}.hero-art{padding:25px 25px 15px 0;min-height:390px}.paper-sample{padding:25px;min-height:370px}.paper-sample h2{font-size:20px}.paper-sample h3{margin-top:18px}.hero-art>.botanical{right:-30px;transform:scale(.7);transform-origin:bottom right}.step-cards{gap:25px;grid-template-columns:repeat(2,1fr)}.cv-grid,.template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.work-top{flex-direction:column;align-items:flex-start;gap:20px}.design-workspace{grid-template-columns:1fr 1fr;gap:25px}.design-panel .tab-bar{gap:16px}.design-panel .tab-bar button{font-size:11px}.design-preview iframe{height:650px}.field-pair{gap:0 12px}.export-workspace{grid-template-columns:1fr}.export-preview{max-width:550px;width:100%;margin:auto}.split-page{gap:30px}.art-panel{padding:25px 12px}.profile-personal{gap:30px}.auth-page .split-page{gap:35px}.start-grid article{padding:25px}.page-heading>.eyebrow{display:none}}
@media(max-width:600px){body{font-size:13px}h1{font-size:37px}.studio-header{flex-wrap:wrap;min-height:80px;padding:24px 5%;gap:16px}.menu-toggle{display:flex;margin-left:auto;gap:15px;background:none;border:0;color:var(--ink);font-size:12px;padding:8px}.studio-header nav{display:none;width:100%;flex-wrap:wrap;gap:20px;padding:15px 0 5px;border-top:1px solid var(--line)}.studio-header nav.open{display:flex}.studio-header nav>a{font-size:12px;min-height:30px;display:flex;align-items:center}.studio-header nav>.avatar{min-height:34px}.studio-footer{flex-wrap:wrap;gap:16px;margin-top:50px}.studio-footer p{width:calc(100% - 120px);font-size:11px}.studio-footer>a{font-size:11px}.wrap{width:90%}.page-heading{padding:30px 0 24px;align-items:flex-start;flex-wrap:wrap;gap:18px}.page-heading p{font-size:13px}.page-heading .button{min-height:40px;font-size:12px}.home-hero{grid-template-columns:1fr;padding:45px 0 30px;gap:45px}.hero-copy h1{font-size:64px;letter-spacing:-3px}.hero-copy .lead{font-size:16px}.hero-words{margin-top:15px}.hero-art{max-width:340px;width:100%;margin:0 auto;padding:15px 45px 25px 8px;min-height:430px}.paper-sample{padding:30px;min-height:400px}.hero-art>.botanical{right:0;transform:scale(.75)}.how-section{padding:40px 0}.how-section>h2{font-size:34px}.step-cards{gap:24px}.step-cards h3{font-size:18px}.step-cards p{font-size:12px}.cv-grid,.template-grid{gap:24px 14px}.cv-cover{height:230px;padding:10px}.cv-card h2{font-size:12px}.card-actions{gap:10px}.card-actions button,.card-actions a{font-size:10px}.new-cv{min-height:230px;padding:15px}.new-cv h2{font-size:12px}.new-cv p{font-size:10px}.template-select{height:240px;padding:8px}.template-tile h2{font-size:12px}.template-tile p{font-size:10px}.filter-bar{gap:7px}.pill{padding:7px 12px;font-size:11px}.start-grid{grid-template-columns:1fr;gap:20px}.start-grid h2{font-size:27px}.workflow{gap:18px;font-size:11px}.workflow b{width:22px;height:22px}.editor-workspace{grid-template-columns:1fr;gap:22px;padding-top:10px}.section-rail{border-right:0;border-bottom:1px solid var(--line);padding:0 0 10px;overflow:auto}.section-rail #editor-sections{display:flex;gap:8px;overflow:auto;padding:4px 0}.section-rail button{width:auto;flex-shrink:0;white-space:nowrap;min-height:40px;font-size:11px;padding:10px}.section-rail button.active{border-left:0;border-bottom:2px solid var(--ink)}.section-rail .add-section{display:inline-flex;margin:0}.section-rail .text-link{margin:0 0 0 10px}.editor-panel{padding:0}.live-preview{grid-column:auto;max-width:none}.live-preview iframe{height:500px}.form-footer{position:sticky;bottom:0;background:var(--paper);padding:14px 0;z-index:2}.form-footer .button{min-height:44px}dialog{padding:18px}dialog>header h2{font-size:25px}dialog footer{flex-wrap:wrap}.template-dialog footer{justify-content:space-between}.template-dialog footer p{font-size:11px;max-width:110px}.field-pair{grid-template-columns:1fr}.entry-card{padding:16px}.design-workspace{grid-template-columns:1fr;gap:25px}.design-panel{padding:0}.design-panel .tab-bar{gap:25px}.design-panel .tab-bar button{font-size:12px}.design-preview iframe{height:560px}.design-panel .field-pair{grid-template-columns:1fr 1fr}.design-panel .form-footer{position:static}.export-options{gap:12px}.export-options article{padding:25px 12px}.export-options .button{font-size:11px;padding:9px 10px}.export-options p{font-size:11px}.export-options h2{font-size:12px}.export-preview iframe{height:550px}.split-page{grid-template-columns:1fr;gap:35px}.art-panel{max-width:360px;width:100%;margin:auto;min-height:340px}.art-panel>.botanical{height:210px;transform:scale(.85);margin-top:-10px;margin-bottom:0}.auth-page{padding-top:38px}.auth-page .art-panel{min-height:360px}.auth-page h1{font-size:37px}.profile-personal{grid-template-columns:1fr;gap:25px}.profile-photo{order:-1;display:grid;grid-template-columns:110px 1fr;gap:10px;align-items:center;text-align:left}.profile-photo .large-avatar{width:85px;height:85px;margin:0}.profile-photo>p{grid-column:2;margin:0}.profile-photo label{margin-bottom:6px}.color-fields{gap:0 15px}.notice{bottom:15px;padding:12px 18px}.studio-ad{margin:10px 0 24px}.studio-ad small{font-size:9px}}
@media(max-width:360px){.hero-copy h1{font-size:56px}.template-select{height:200px}.cv-grid{grid-template-columns:1fr}.cv-cover{height:340px}.tab-bar{gap:17px}.workflow{gap:10px}}
.studio-support{margin-top:28px}.studio-support>p{display:inline;margin-left:16px;font-size:12px;color:var(--muted)}.live-ad{width:100%;text-align:center}.live-ad ins{min-height:90px;width:100%;margin-top:10px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}

/* Materialize is layered so this version's editorial tokens own the layout. */
html{font-size:16px;line-height:1.65;font-family:Arial,Helvetica,sans-serif;font-weight:400;color:var(--ink)}
nav{background:transparent;box-shadow:none;color:inherit;height:auto;line-height:inherit;width:auto}
nav a{color:inherit}nav i,nav [class^="mdi-"],nav [class*="mdi-"]{height:auto;line-height:inherit}
button:focus{background-color:transparent}button.button:focus{background:linear-gradient(125deg,#d95145,#c43e34)}
label{position:relative}select{display:block;height:auto}
input:not([type]),input[type=text]:not(.browser-default),input[type=password]:not(.browser-default),input[type=email]:not(.browser-default),input[type=url]:not(.browser-default),input[type=number]:not(.browser-default),input[type=tel]:not(.browser-default),input[type=date]:not(.browser-default),textarea,select{box-sizing:border-box;height:auto;margin:0 0 0;box-shadow:none;font-size:14px;border:1px solid #dcd5c9;border-radius:5px;padding:11px 13px;min-height:44px;background:#fffdf8;color:var(--ink)}
input:not([type]):focus:not([readonly]),input:focus:not([readonly]),textarea:focus,select:focus{border-color:#65837b;box-shadow:0 0 0 3px #65837b20;outline:2px solid transparent}
input[type=checkbox]:not(:checked),input[type=checkbox]:checked,input[type=radio]:not(:checked),input[type=radio]:checked{position:static;opacity:1;pointer-events:auto;width:16px;height:16px;min-height:0;flex-shrink:0}
button,input,textarea,select{font-family:inherit}dialog{color:var(--ink)}dialog p{line-height:1.65}
body{background:radial-gradient(ellipse at 82% 15%,#dce6dc30,transparent 40%),var(--paper)}
.studio-header{background:#faf7f0ee;position:relative;z-index:5}
.studio-header nav>a{position:relative;text-decoration:none!important;padding:7px 0}
.studio-header nav>a:not(.avatar):after{content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--coral);transform:scaleX(0);transform-origin:left;transition:transform 180ms ease-out}
.studio-header nav>a:hover:after,.studio-header nav>a[aria-current=page]:after{transform:scaleX(1)}
.button{position:relative;overflow:hidden;isolation:isolate;text-transform:none;letter-spacing:normal;line-height:1.4;transition:transform 160ms ease-out,box-shadow 180ms ease-out,filter 180ms ease-out;box-shadow:0 2px 4px #102b4514,0 5px 12px #c8453914,inset 0 1px 0 #ffffff40}
.button:not(.secondary):not(.danger){background:linear-gradient(165deg,#db6457 0%,#c84539 68%,#b93930 100%)}
.button:before{content:'';position:absolute;z-index:-1;inset:0;background:linear-gradient(110deg,transparent 20%,#ffffff29 48%,transparent 72%);transform:translateX(-120%);transition:transform 220ms ease-out;pointer-events:none}
.button.secondary{box-shadow:0 1px 2px #102b4509;background:#fffdf866}
.button:active{transform:translateY(1px);box-shadow:inset 0 1px 3px #102b4525}
.button:disabled{transform:none;box-shadow:none;filter:none}
.button:focus-visible,.pill:focus-visible,.text-button:focus-visible{outline:3px solid #36637e;outline-offset:4px}
.cv-card,.start-grid>article,.template-select,.export-options article{border-radius:8px;border:1px solid #e7e1d7;background:#fffdf9;box-shadow:0 1px 3px #102b4508,0 6px 16px #102b4508;transition:transform 180ms ease-out,box-shadow 180ms ease-out,border-color 180ms ease-out}
.cv-card{padding:12px}.cv-cover{border-radius:5px}.template-select{padding:10px}.new-cv{border-radius:8px}
.entry-card,.type-sample{border-radius:7px;box-shadow:0 2px 8px #102b4507}
.form-footer{border-top:1px solid var(--line);padding-top:18px}.form-footer .button{flex-shrink:0}
.editor-panel #section-fields{padding:20px;border:1px solid #e5dfd5;border-radius:8px;background:#fffdf9;box-shadow:0 2px 10px #102b4505}
.design-preview,.live-preview{border-radius:9px;box-shadow:0 3px 18px #102b4509}.design-preview iframe,.live-preview iframe{border-radius:4px}
.tab-bar button{position:relative;transition:color 160ms ease-out,border-color 160ms ease-out}.tab-bar button.active{border-bottom-color:var(--coral)}
.filter-bar .pill{transition:background 160ms ease-out,color 160ms ease-out,box-shadow 160ms ease-out}.pill.active{box-shadow:0 2px 5px #102b4515}
.studio-ad{border:1px solid #e5dfd5;background:linear-gradient(115deg,#f1ece2,#eee9df);border-radius:7px;box-shadow:inset 0 1px 3px #102b4504;min-height:92px;color:#6c716b}
.studio-ad strong{font-size:12px;font-weight:500}.studio-ad small{font-size:11px}.studio-ad>span{font-size:24px;opacity:.5}
#toast-container{position:fixed;top:auto;right:24px;bottom:24px;left:auto;max-width:min(420px,calc(100vw - 32px));z-index:10000}
.quiet-toast{font:14px/1.5 Arial,sans-serif;background:#42695f;color:white;border-radius:7px;box-shadow:0 4px 18px #102b4525;min-height:48px;padding:14px 20px;cursor:default;word-break:break-word}
.quiet-toast.quiet-error{background:#9e372e}
@keyframes quiet-enter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
.quiet-enter{animation:quiet-enter 200ms ease-out both}
dialog[open]{animation:quiet-enter 180ms ease-out both;box-shadow:0 12px 50px #102b4525}
#save-state.saved{color:#42695f}.waves-effect{vertical-align:middle}.button.waves-effect{display:inline-flex}
@media(hover:hover) and (pointer:fine){.button:not(:disabled):hover{transform:translateY(-2px);box-shadow:0 4px 8px #102b4514,0 8px 18px #c8453920}.button:hover:before{transform:translateX(110%)}.cv-card:hover,.template-select:hover,.start-grid>article:hover{transform:translateY(-2px);border-color:#d4c7b8;box-shadow:0 3px 6px #102b450b,0 10px 24px #102b4510}.button:active{transform:translateY(1px)}}
@media(max-width:700px){.studio-header nav.open{background:#faf7f0;box-shadow:0 6px 18px #102b4514;line-height:1.6}.editor-panel #section-fields{padding:16px}.cv-card{padding:9px}#toast-container{left:16px;right:16px;bottom:16px;max-width:none}.quiet-toast{margin:0}.studio-ad{min-height:80px}.form-footer{background:var(--paper)}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.button:hover,.cv-card:hover,.template-select:hover{transform:none!important}.waves-ripple{display:none!important}}

/* V7: the approved Materialize reference, sized as a working application. */
:root{--paper:#faf9f4;--ink:#08294c;--muted:#587194;--line:#e3e3dc;--coral:#db4842;--wash:#f1f0e9;--serif:Georgia,'Times New Roman',serif}
body{background:radial-gradient(ellipse at 80% 30%,#f0f1e920,transparent 70%),var(--paper);color:var(--ink);font-size:14px;line-height:1.5}
h1,h2,h3{font-weight:600;letter-spacing:-.035em}h1{font-size:36px}h2{font-size:25px}h3{font-size:19px}
.wrap{width:calc(100% - 72px);max-width:1120px}.narrow{max-width:980px}.studio-header{max-width:1192px;min-height:65px;padding:16px 36px;gap:22px;background:transparent}.wordmark{font-size:29px;font-weight:600}.motto{display:none}.studio-header nav{margin-left:auto;gap:23px}.studio-header nav>a{font-size:12px}.studio-header nav>a[aria-current=page]{text-decoration:none}.studio-header .avatar{background:#dddad3;font:14px Arial!important;width:33px;height:33px}.studio-header nav>a:after{background:#f34545;height:2px}.studio-header .text-button{font-size:11px}
main{max-width:1192px;margin:auto;min-height:calc(100vh - 65px);padding-bottom:28px}.page-heading{padding:30px 0 18px;gap:20px}.page-heading h1{margin:0 0 5px}.page-heading p{font-size:13px}.eyebrow{display:none}.button{min-height:40px;padding:9px 19px;border:1px solid #e5524a;border-radius:4px;background:linear-gradient(175deg,#f16e66 0%,#e14e47 48%,#cd3d36 100%);box-shadow:0 4px 9px #59382b24,inset 0 1px 0 #ffffff55;color:#fff;gap:14px;font-size:13px}.button:hover{box-shadow:0 7px 14px #59382b30;filter:none;transform:translateY(-2px)}.button:active{transform:translateY(1px);box-shadow:0 1px 3px #59382b24}.button.secondary{background:#fff;color:var(--ink);border-color:#d7dde0;box-shadow:0 2px 5px #102b4510}.text-link{color:#58799a}.studio-ad{display:flex;justify-content:center;align-items:center;text-align:center;background:#ebe7dd;border:0;border-radius:5px;min-height:94px;margin:22px 0 0;color:#7d8390;font-size:12px;box-shadow:none}
label{font-size:12px;color:var(--muted);gap:5px;margin-bottom:14px}input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=file]),textarea,select{min-height:38px;padding:8px 10px;background:#fff;border:1px solid #d9dfe2;border-radius:4px;font-size:13px;color:var(--ink);box-shadow:none;line-height:1.4}input:not([type=checkbox]):not([type=radio]):focus,textarea:focus,select:focus{border-color:#d9dfe2;border-bottom-color:#f04b48;box-shadow:0 1px 0 #f04b48;outline:0}textarea{min-height:116px}input[type=file]{max-width:100%}.field-pair{gap:0 14px}
.home-hero{grid-template-columns:1fr 1fr;min-height:420px;padding:34px 0 0;gap:20px;overflow:hidden}.hero-copy h1{font-size:58px;line-height:1.06;letter-spacing:-2px;margin:0 0 12px}.hero-copy .lead{font-size:16px;line-height:1.45;margin-bottom:20px}.hero-copy .button{margin:0}.hero-art{min-height:395px;height:395px;padding:18px 125px 16px 45px}.art-wash{background:#e7ece4;inset:5px 5px 22px 0;border-radius:48% 52% 40% 55%;opacity:.65}.paper-sample{padding:24px;min-height:350px;max-width:280px;transform:rotate(7deg);background:#fff;z-index:2;box-shadow:0 6px 20px #1a30432a}.paper-sample h2{font-size:22px}.paper-sample h3{font-size:12px;margin:17px 0 7px}.paper-sample p{font-size:10px;color:#587194}.sample-lines{height:39px;background:repeating-linear-gradient(to bottom,#b7c7d9 0,#b7c7d9 1px,transparent 1px,transparent 6px)}.sample-rule{background:#a8bad0}.botanical-art{width:200px;height:390px;display:block;pointer-events:none}.hero-art>.botanical-art{position:absolute;right:-18px;bottom:-10px;height:400px;width:230px;z-index:3}.how-section{padding:8px 0 0;border:0;text-align:left}.how-section>h2{font-size:19px;margin:0 0 14px}.step-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:0;padding:0;list-style:none;text-align:left}.step-cards li{display:flex;align-items:center;gap:12px}.step-cards li>span{background:#d9dcd3;border:0;border-radius:50%;display:grid;place-items:center;width:36px;height:36px;font-size:16px;flex-shrink:0;margin:0}.step-cards h3{font:600 13px Arial;margin:0 0 2px;letter-spacing:0}.step-cards p{font-size:11px;color:var(--muted);margin:0}
.cv-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:25px;margin-top:0}.cv-card{padding:16px;background:linear-gradient(#fff,#fbfcf9);border:1px solid #e3e6e3;border-radius:5px;box-shadow:0 3px 9px #283a4820}.cv-cover{height:280px;background:#f6f7f3;padding:8px 24px;margin:0 0 12px;border:0}.cv-cover img{height:100%;width:auto;object-fit:contain;box-shadow:0 4px 9px #18294025;margin:auto}.cv-card h2{font-size:17px;margin:0 0 3px}.cv-card p{font-size:12px;color:var(--muted);margin:0 0 10px}.card-actions{gap:8px;flex-wrap:wrap}.card-actions a,.card-actions button{border:1px solid #dce1e5;background:#fff;border-radius:3px;padding:5px 10px;box-shadow:0 2px 3px #122b4510}.new-cv{min-height:200px;border-radius:5px}.cv-grid:has(.cv-card)>.new-cv{display:none}
.template-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}.template-select{height:230px;padding:10px;background:#fff;border-radius:4px;box-shadow:0 3px 8px #102b4512}.template-select:hover,.template-select:focus-visible{border-color:#ee4a45;box-shadow:0 4px 12px #d3483820}.template-tile h2{font:13px Arial;text-align:center;margin:9px 0}.template-tile p{display:none}.filter-bar{gap:10px;margin-bottom:24px}.pill{padding:7px 14px;font-size:11px;background:#fff;box-shadow:0 2px 5px #102b4510}.pill.active{background:linear-gradient(#ef6b62,#d4423c);border-color:#de4b44;color:#fff}
.start-grid{width:78%;grid-template-columns:1fr 1fr;gap:20px;margin:0;position:relative;z-index:1}.start-grid article{padding:24px 20px;background:#fff;border:1px solid #e0e4e5;border-radius:5px;text-align:center}.start-grid h2{font-size:24px;margin:12px 0 8px}.start-grid p{font-size:13px}.line-icon{width:58px;height:58px;margin:auto;background:#f3f5f4;border-radius:50%;display:grid;place-items:center;font-size:32px}.start-grid label{font-size:11px}.start-grid input[type=file]{font-size:11px;width:100%;padding:6px}.start-botanical{position:absolute;right:0;top:70px;bottom:100px;width:25%;overflow:hidden}.start-botanical .botanical-art{width:100%;height:100%}body[data-page=start] main>.wrap{position:relative}
.work-top{padding:20px 0 12px;min-height:76px}.work-top h1{font-size:27px;margin:0}.workflow{font-size:11px}.workflow b{width:22px;height:22px}.editor-workspace{grid-template-columns:155px minmax(240px,1fr) minmax(220px,300px) 130px;gap:20px;padding-top:12px}.section-rail{padding-right:12px}.section-rail button{font-size:12px;min-height:40px;padding:11px 8px;color:#567192}.section-rail button.active{border-left:3px solid #f04944;background:#f6f7f4;color:#08294c}.section-rail button:before{content:'▧';display:inline-block;margin-right:9px;color:#7390a9}.section-rail button.active:before{color:#fff;background:#102e50;border-radius:50%;width:17px;text-align:center}.editor-panel{padding:0}.editor-panel header{display:block;margin-bottom:14px}.editor-panel header h2{font-size:26px;margin-bottom:4px}.editor-panel #section-fields{padding:0;border:0;background:transparent;box-shadow:none}.editor-panel #section-fields>.field-pair{display:block}.editor-panel label{margin-bottom:10px}.editor-panel .form-footer{padding-top:16px}.live-preview{position:static;background:#f0f2ee;border-radius:3px;padding:12px}.live-preview iframe{height:470px;background:transparent}.preview-caption{font-size:11px;margin-bottom:8px}.live-preview>p{font-size:10px}.editor-ad .studio-ad{height:100%;min-height:420px;margin:0;padding:14px}.studio-support{margin-top:18px;display:flex;gap:20px;align-items:center}.studio-support p{font-size:11px;margin:0}.studio-support .text-button{margin:0}
.design-workspace{grid-template-columns:1fr 1fr;gap:55px;padding-top:0}.design-panel{padding:0}.design-panel .tab-bar{gap:25px;margin-bottom:18px}.tab-bar button.active{border-color:#ef4444}.tab-bar button{font-size:12px}.style-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.style-picker button{border:1px solid #d7dde0;border-radius:4px;background:#fff;padding:8px;transition:box-shadow .2s,transform .2s}.style-picker button img{width:100%;height:185px;object-fit:contain}.style-picker button span{display:block;font-size:11px;margin-top:8px}.style-picker button[aria-pressed=true]{border-color:#ee4841;box-shadow:0 0 0 1px #ee4841,0 4px 10px #102b4515}.style-picker button:hover{transform:translateY(-2px);box-shadow:0 5px 10px #102b4520}.design-panel h2{font:600 16px Arial;letter-spacing:0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.design-preview{background:#f1f1eb;padding:18px;border:1px solid #e3e4de;border-radius:3px;box-shadow:0 4px 13px #102b4518}.design-preview iframe{height:600px}.design-preview .preview-caption{margin-bottom:10px}.design-panel .form-footer{margin-top:20px}.form-footer{gap:12px}.form-footer span{font-size:11px}
.profile-personal{grid-template-columns:minmax(0,1fr) 260px;gap:60px}.profile-photo{position:relative;overflow:hidden;min-height:430px;padding:5px 20px;text-align:left}.profile-photo .botanical-art{position:absolute;bottom:-90px;right:-60px;height:370px;z-index:-1}.large-avatar{width:90px;height:90px;background:#dedbd4;color:#233b54;font:30px Arial;display:grid;place-items:center;margin:0 0 12px}.profile-photo form{max-width:170px}.profile-photo .text-link{margin:0}.profile-photo input{font-size:10px}.profile-photo .button{min-height:32px;padding:5px 12px;font-size:11px}#profile-fields{display:block}#profile-fields label{display:grid;grid-template-columns:145px 1fr;align-items:start;gap:20px}#profile-fields label input,#profile-fields label textarea{margin:0}.profile-photo p{font-size:10px}
.split-page{grid-template-columns:1.15fr 1fr;gap:55px}.art-panel{background:transparent;border-left:1px solid #e7e7df;border-radius:0;position:relative;min-height:420px;padding:0;overflow:hidden}.art-panel .botanical-art{position:absolute;right:-5px;bottom:0;width:90%;height:420px}.art-panel h2{position:absolute;bottom:15px;left:20px;font-size:25px;font-weight:400;font-style:italic;max-width:180px;background:#faf9f4a0;z-index:2;line-height:1.1}.flourish{display:none}.auth-page{padding-top:52px}.auth-page h1{font-size:35px}.auth-page .split-page{gap:55px;align-items:center}.auth-page p{color:var(--muted);font-size:13px}.auth-page form{max-width:none}.auth-page .art-panel{min-height:440px}.contact-form>label{display:grid;grid-template-columns:85px 1fr;gap:15px}.contact-form .button{margin-top:6px}.suggestion-panel{align-self:start;background:#fff;border:1px solid #e2e5e3;border-radius:4px;padding:22px}.suggestion-panel h2{font:600 16px Arial;letter-spacing:0}.suggestion-panel ul{padding:0;list-style:none}.suggestion-panel li{position:relative;padding-left:32px;margin:22px 0}.suggestion-panel li:before{content:'✓';position:absolute;left:0;top:0;background:#608b7b;color:white;border-radius:50%;width:22px;height:22px;display:grid;place-items:center}.suggestion-panel b{display:block;font-size:13px}.suggestion-panel span{display:block;color:var(--muted);font-size:12px}.export-workspace{grid-template-columns:1fr 1fr;align-items:center;gap:65px}.export-preview{grid-column:1;grid-row:1;padding:16px;background:#f1f2ed}.export-workspace>div{grid-column:2}.export-preview iframe{height:530px}.export-options{gap:12px}.export-options article{padding:15px 10px;background:#fff}.export-options article h2,.export-options article p{display:none}.export-options .button{background:white;color:#123e67;border-color:#dce0e3;box-shadow:none;padding:8px;font-size:12px}.file-symbol{font-size:18px;margin:0 0 10px}.export-checks{padding:0;list-style:none;color:#527568;font-size:13px;line-height:2}
#toast-container{top:80px;right:30px;bottom:auto}.quiet-toast{background:linear-gradient(#567b77,#345756);color:white;border:0;border-radius:4px;min-width:230px;box-shadow:0 5px 12px #152e4530;font-size:13px}.quiet-toast.quiet-error{background:#a33430}.toast-close{margin-left:20px;background:transparent;border:0;color:white;cursor:pointer;font-size:20px}
@media(min-width:1450px){main{padding-top:12px}.home-hero{min-height:455px}.hero-copy h1{font-size:64px}}
@media(max-width:1050px){.editor-workspace{grid-template-columns:130px minmax(230px,1fr) minmax(210px,1fr);gap:16px}.editor-ad{grid-column:1/-1}.editor-ad .studio-ad{min-height:70px}.template-grid{grid-template-columns:repeat(3,1fr)}.template-select{height:260px}.motto{display:none}.design-workspace{gap:28px}.style-picker{gap:10px}.style-picker button img{height:145px}.hero-copy h1{font-size:49px}.hero-art{padding-left:0;padding-right:80px}.profile-personal{gap:25px}.studio-header{padding-left:24px;padding-right:24px}}
@media(max-width:760px){.studio-header nav{gap:13px}.wrap{width:calc(100% - 36px)}.home-hero{min-height:380px}.hero-copy h1{font-size:40px}.hero-art{padding-right:45px;min-height:340px;height:340px}.paper-sample{min-height:300px;padding:20px}.paper-sample h2{font-size:19px}.hero-art>.botanical-art{height:330px;width:160px;right:-40px}.cv-grid{gap:14px}.cv-cover{height:230px;padding:8px}.step-cards{gap:12px}.step-cards li{gap:7px}.step-cards p{font-size:10px}.profile-personal{grid-template-columns:1fr 170px}#profile-fields label{grid-template-columns:100px 1fr;gap:10px}.profile-photo{padding:0}.split-page{gap:25px}.editor-workspace{grid-template-columns:125px 1fr}.live-preview{grid-column:2}.editor-ad{grid-column:1/-1}.export-workspace{gap:25px}.export-preview iframe{height:480px}.start-grid{width:83%;gap:12px}.start-grid article{padding:18px 12px}.start-grid h2{font-size:22px}}
@media(max-width:600px){.studio-header{padding:18px;min-height:65px}.studio-header nav{margin:0}.wordmark{font-size:27px}.wrap{width:calc(100% - 36px)}.home-hero{grid-template-columns:1fr;padding-top:32px;gap:24px}.hero-copy h1{font-size:48px}.hero-art{height:335px;min-height:335px;max-width:320px;padding:0 70px 15px 15px}.hero-art>.botanical-art{right:-12px;height:345px}.paper-sample{min-height:315px}.how-section{padding-top:20px}.step-cards{grid-template-columns:1fr 1fr;gap:18px}.how-section>h2{font-size:19px}.studio-ad{min-height:78px;margin-top:24px}.page-heading h1{font-size:32px}.cv-grid{grid-template-columns:1fr 1fr}.cv-cover{height:210px}.cv-card{padding:9px}.cv-card h2{font-size:15px}.card-actions{gap:5px}.card-actions a,.card-actions button{padding:5px;font-size:10px}.template-grid{grid-template-columns:repeat(2,1fr);gap:16px}.template-select{height:230px}.start-grid{width:100%;grid-template-columns:1fr}.start-botanical{display:none}.start-grid article{padding:22px}.start-grid h2{font-size:25px}.work-top{padding-top:22px;gap:12px}.editor-workspace{grid-template-columns:1fr}.section-rail{padding:0;border-right:0}.section-rail button:before{display:none}.editor-panel header h2{font-size:25px}.editor-panel .form-footer{position:sticky;bottom:0;background:var(--paper)}.live-preview,.editor-ad{grid-column:auto}.editor-ad .studio-ad{min-height:78px}.studio-support{align-items:flex-start}.studio-support p{max-width:190px}.design-workspace{grid-template-columns:1fr;gap:24px}.style-picker button img{height:135px}.design-preview iframe{height:490px}.design-panel .tab-bar{gap:24px}.profile-personal{grid-template-columns:1fr}.profile-photo{min-height:110px;overflow:visible;grid-template-columns:85px 1fr;gap:10px}.profile-photo .botanical-art{display:none}.profile-photo .large-avatar{width:75px;height:75px}.profile-photo p{grid-column:2}#profile-fields label{display:flex;gap:5px}.auth-page{padding-top:30px}.auth-page .split-page,.split-page{grid-template-columns:1fr;gap:30px}.art-panel,.auth-page .art-panel{min-height:300px;max-width:340px;border-left:0;border-top:1px solid var(--line)}.art-panel .botanical-art{height:290px;width:180px}.art-panel h2{font-size:24px;left:12px;bottom:30px}.contact-form>label{display:flex;gap:6px}.suggestion-panel{padding:18px}.export-workspace{display:flex;flex-direction:column-reverse;gap:25px}.export-workspace>div{width:100%}.export-preview{width:100%}.export-preview iframe{height:490px}#toast-container{top:78px;right:15px;left:15px;bottom:auto}.quiet-toast{width:100%;min-width:0}.workflow{gap:16px}}
@media(prefers-reduced-motion:reduce){.style-picker button{transition:none}.style-picker button:hover{transform:none}}
@media(min-width:1051px){.hero-copy h1{font-size:53px;letter-spacing:-2px}.hero-art{height:395px}.editor-panel #section-fields.field-pair{display:block}}
body[data-page=editor] .editor-workspace{padding-top:30px}.editor-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);margin-top:18px;padding-top:16px}.editor-bottom .text-link{margin:0;text-decoration:none}.editor-bottom .button{min-width:185px}
@media(max-width:600px){.editor-bottom{position:sticky;bottom:0;padding:12px 0;background:var(--paper);z-index:3}.editor-bottom .button{min-width:0}}
body[data-page=customize] .design-workspace{padding-top:30px}
.card-menu{position:relative;margin-left:auto}.card-menu summary{list-style:none;cursor:pointer;background:#fff;border:1px solid #dce1e5;border-radius:3px;padding:3px 9px;font-weight:bold}.card-menu summary::-webkit-details-marker{display:none}.card-menu>div{position:absolute;right:0;top:32px;z-index:10;min-width:110px;display:grid;gap:4px;padding:8px;background:white;box-shadow:0 6px 20px #102b4530;border:1px solid #dce1e5;border-radius:4px}.card-menu>div button,.card-menu>div a{text-align:left}
@media(min-width:761px) and (max-width:1050px){.editor-workspace .live-preview{grid-column:3;width:100%;max-width:none}.editor-workspace .live-preview iframe{height:470px}}
@media(max-width:600px){body[data-page=editor] main{padding-bottom:95px}.editor-bottom{position:fixed;left:18px;right:18px;bottom:0;width:auto;margin:0;padding:12px 0;box-shadow:0 -6px 16px #faf9f4}}
.editor-panel #section-fields.field-pair{display:block}

/* Full-width V7 shell: retain only comfortable edge gutters. */
.studio-header,main,.wrap,.wrap.narrow{max-width:none}
.studio-header,main{width:100%}
@media(min-width:601px){
  .studio-header{padding-left:24px;padding-right:24px}
  .wrap{width:calc(100% - 48px)}
}
@media(min-width:1051px){.hero-art{width:100%;max-width:560px;justify-self:end}}

/* Balanced wide-screen composition with a readable form / document split. */
:root{--v7-gutter:clamp(24px,4vw,80px)}
.studio-header{padding-left:var(--v7-gutter);padding-right:var(--v7-gutter)}
.wrap{width:calc(100% - var(--v7-gutter) * 2)}
main{padding-bottom:32px}
body[data-page=home] main{display:flex;flex-direction:column;min-height:calc(100svh - 65px)}
.home-hero{flex:1;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(32px,5vw,96px);min-height:480px;padding:32px 0 28px;overflow:visible}
.home-hero .hero-art{order:-1;width:100%;max-width:560px;justify-self:center;height:420px;min-height:420px;padding:20px 125px 20px 45px}
.home-hero .hero-copy{max-width:620px;justify-self:start}
.home-hero .hero-copy h1{font-size:clamp(40px,3.3vw,62px)}
.how-section{padding-top:14px;padding-bottom:0}
.how-section .studio-ad{margin-top:24px}
body[data-page=start] main>.wrap{min-height:calc(100svh - 97px);display:flex;flex-direction:column}
.start-layout{display:grid;grid-template-columns:minmax(200px,.32fr) minmax(0,1fr);gap:clamp(24px,4vw,70px);align-items:center;flex:1;padding:18px 0 30px}
.start-layout .start-botanical{position:static;display:flex;justify-content:center;align-items:center;width:100%;height:360px;overflow:hidden}
.start-layout .botanical-art{width:230px;height:360px}
.start-layout .start-grid{width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.start-grid article{padding:32px 26px;min-height:315px;display:flex;flex-direction:column;align-items:center;justify-content:center}
.start-grid article form{width:100%;max-width:440px}
.start-grid article p{max-width:410px}
body[data-page=start] .studio-ad{margin-top:0}
@media(min-width:1101px){
 .editor-workspace{grid-template-columns:155px minmax(320px,.95fr) minmax(420px,1.25fr) 130px;gap:24px;align-items:start}
 .editor-workspace .live-preview{grid-column:auto;max-width:none;width:100%;padding:16px}
 .editor-workspace .live-preview iframe{height:clamp(540px,calc(100svh - 245px),900px)}
 .editor-ad .studio-ad{min-height:540px;height:calc(100svh - 205px);max-height:940px}
 .editor-panel{padding-right:8px}
}
@media(min-width:761px) and (max-width:1100px){
 .editor-workspace{grid-template-columns:125px minmax(220px,1fr) minmax(250px,1.1fr);gap:16px}
 .editor-workspace .live-preview{grid-column:3;max-width:none}
 .editor-workspace .live-preview iframe{height:580px}
 .editor-ad{grid-column:1/-1}.editor-ad .studio-ad{height:auto;min-height:78px}
 .home-hero{gap:25px}.home-hero .hero-art{padding-left:12px;padding-right:85px;min-height:370px;height:370px}
}
@media(max-width:760px){
 :root{--v7-gutter:20px}
 .home-hero{grid-template-columns:1fr;gap:20px;min-height:0;padding-top:24px}
 .home-hero .hero-art{max-width:360px;height:340px;min-height:340px;padding:10px 70px 15px 15px}
 .home-hero .hero-copy{justify-self:center;width:100%;max-width:500px}
 .home-hero .hero-copy h1{font-size:44px}
 .start-layout{grid-template-columns:1fr;gap:16px;padding-top:0}
 .start-layout .start-botanical{height:190px}.start-layout .botanical-art{height:250px;width:150px}
 .start-layout .start-grid{grid-template-columns:1fr 1fr;gap:16px}
 .start-grid article{padding:22px 16px;min-height:300px}
 body[data-page=start] main>.wrap{min-height:0}
}
@media(max-width:600px){
 :root{--v7-gutter:18px}
 .start-layout .start-grid{grid-template-columns:1fr}
 .start-grid article{min-height:260px}
 .editor-workspace{grid-template-columns:1fr}
 .editor-workspace .live-preview{grid-column:auto;width:100%;max-width:none}
 .editor-workspace .live-preview iframe{height:520px}
 .editor-ad{grid-column:auto}.editor-ad .studio-ad{min-height:78px;height:auto}
 .editor-bottom{width:auto}
}
/* Let viewport-fixed actions escape the page entrance animation after it ends. */
main.quiet-enter{animation-fill-mode:backwards}
@media(min-width:1101px){
 .editor-workspace .live-preview iframe{height:clamp(500px,calc(100svh - 320px),820px)}
 .editor-ad .studio-ad{min-height:500px;height:calc(100svh - 275px);max-height:860px}
}

/* Requested action and advertisement placements. */
.home-hero .hero-art{order:0}
.start-layout{grid-template-columns:minmax(0,1fr) minmax(200px,.32fr)}
.start-layout .start-grid{order:0}
.start-layout .start-botanical{order:1}
.editor-panel .form-footer{position:static;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin-top:20px;padding:16px 0 0}
.editor-panel .form-footer .text-link{margin:0}
body[data-page=editor] main{padding-bottom:32px}
.design-panel .form-footer{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.design-panel .form-footer #design-status{flex-basis:100%}
.customize-ad{padding-top:8px}
@media(min-width:1101px){.editor-workspace{grid-template-columns:155px minmax(280px,.95fr) minmax(360px,1.25fr) clamp(190px,14vw,280px)}}
@media(max-width:760px){.start-layout{grid-template-columns:1fr}}

/* Home only: V2 editorial layout, retaining the V7 illustration. */
body[data-page=home]{background:#faf7f0;color:#102b45}
body[data-page=home] main{display:block;padding-top:0;min-height:calc(100svh - 98px)}
body[data-page=home] .wrap{width:min(1260px,90%);max-width:1260px}
body[data-page=home] .studio-header{max-width:1500px;min-height:98px;padding:30px 4.5%;gap:30px}
body[data-page=home] .wordmark{font:32px/1 Georgia,'Times New Roman',serif;letter-spacing:-1.8px}
body[data-page=home] .motto{display:block;margin-left:auto;font:italic 17px Georgia,'Times New Roman',serif}
body[data-page=home] .studio-header nav{margin-left:0;gap:24px}
body[data-page=home] .avatar{background:#efb6a6;font:20px Georgia,serif!important}
body[data-page=home] .home-hero{grid-template-columns:1fr 1fr;gap:65px;padding:80px 0 60px;min-height:650px;overflow:clip}
body[data-page=home] .hero-copy{max-width:none;width:100%}
body[data-page=home] .eyebrow{display:block;font-size:10px;letter-spacing:2px;color:#61716f;margin-bottom:18px}
body[data-page=home] .hero-copy h1{font-size:70px;font-weight:400;letter-spacing:-3.5px;line-height:1.02;margin:25px 0}
body[data-page=home] .hero-copy h1 em{font-style:normal;color:#426762}
body[data-page=home] .hero-copy .lead{font-size:18px;line-height:1.75;color:#536172;margin-bottom:20px}
body[data-page=home] .hero-copy .button{margin:20px 0 25px;min-height:44px;padding:10px 20px;gap:24px}
body[data-page=home] .hero-words{margin-top:28px}
body[data-page=home] .hero-art{min-height:490px;height:490px;max-width:560px;align-self:center}
body[data-page=home] .how-section{border-top:1px solid #e5dfd5;text-align:center;padding:55px 0 45px}
body[data-page=home] .how-section>h2{font:400 42px/1.14 Georgia,'Times New Roman',serif;letter-spacing:-1.4px;margin-bottom:12px}
body[data-page=home] .step-cards{grid-template-columns:repeat(4,1fr);gap:35px;margin:45px 0;text-align:center}
body[data-page=home] .step-cards li{display:block}
body[data-page=home] .step-cards li>span{width:48px;height:48px;background:#f1ece2;margin:0 auto 18px}
body[data-page=home] .step-cards h3{font:400 21px/1.2 Georgia,serif;margin:0 0 10px}
body[data-page=home] .step-cards p{font-size:12px;color:#536172;line-height:1.65}
@media(max-width:1100px){body[data-page=home] .motto{display:none}body[data-page=home] .studio-header nav{margin-left:auto}body[data-page=home] .home-hero{gap:30px}body[data-page=home] .hero-copy h1{font-size:57px}}
@media(max-width:800px){body[data-page=home] .studio-header{padding:25px 4%;gap:20px}body[data-page=home] .studio-header nav{gap:15px}body[data-page=home] .home-hero{padding:55px 0;min-height:550px;gap:25px}body[data-page=home] .hero-copy h1{font-size:49px;letter-spacing:-2px}body[data-page=home] .hero-art{height:390px;min-height:390px}body[data-page=home] .step-cards{grid-template-columns:1fr 1fr}}
@media(max-width:600px){body[data-page=home] .studio-header{min-height:80px;padding:24px 5%}body[data-page=home] .studio-header nav{margin:0}body[data-page=home] .home-hero{grid-template-columns:1fr;gap:35px;padding:45px 0 30px}body[data-page=home] .hero-copy h1{font-size:clamp(43px,12vw,64px);letter-spacing:-2px}body[data-page=home] .hero-copy .lead{font-size:16px}body[data-page=home] .hero-art{height:350px;min-height:350px;max-width:340px}body[data-page=home] .how-section{padding:40px 0}body[data-page=home] .how-section>h2{font-size:34px}}

/* Consistent V2 page gutters throughout V7. */
.wrap{width:min(1260px,90%);max-width:1260px}
.wrap.narrow{max-width:970px}
.studio-header{max-width:1500px;padding-left:4.5%;padding-right:4.5%}
.studio-footer{width:min(1260px,90%);max-width:1260px;margin:45px auto 0;padding:30px 0;border-top:1px solid var(--line)}
body[data-page=start] main>.wrap{min-height:0}
body[data-page=start] main{min-height:0}
.start-layout{min-height:400px}
.design-panel .form-footer{justify-content:flex-end}
.design-panel .form-footer #design-status{text-align:right}
@media(min-width:1101px){.editor-workspace{grid-template-columns:145px minmax(0,.95fr) minmax(0,1.25fr) clamp(190px,14vw,220px);gap:20px}.editor-panel,.live-preview{min-width:0}}
@media(max-width:800px){.wrap{width:92%}.studio-header{padding-left:4%;padding-right:4%}}
@media(max-width:600px){.wrap{width:90%}.studio-header{padding-left:5%;padding-right:5%}.start-layout{min-height:0}.studio-footer{margin-top:30px}.design-panel .form-footer{gap:10px}}
.design-actions{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:12px;position:static;padding:18px 0 0;margin-top:20px}
.design-actions #design-status{flex-basis:100%;text-align:right;font-size:11px;color:var(--muted)}

/* Shared content edges align with the 1500px desktop shell. */
body[data-page] .wrap,
body[data-page] .wrap.narrow,
body[data-page] .studio-footer{width:min(1500px,90%);max-width:1500px}
@media(max-width:800px){body[data-page] .wrap,body[data-page] .wrap.narrow,body[data-page] .studio-footer{width:92%}}
@media(max-width:600px){body[data-page] .wrap,body[data-page] .wrap.narrow,body[data-page] .studio-footer{width:90%}}

/* Shared homepage chrome and palette across the V7 workspace.
   The flexible main keeps the footer in normal flow on both short and long pages. */
:root{--paper:#faf7f0;--ink:#102b45;--muted:#536172;--line:#e5dfd5;--wash:#f1ece2}
body[data-page]{display:flex;flex-direction:column;min-height:100vh;min-height:100svh;background:var(--paper);color:var(--ink)}
body[data-page] .studio-header{flex-shrink:0;max-width:1500px;min-height:98px;padding:30px 4.5%;gap:30px;margin:0 auto;background:var(--paper)}
body[data-page] .wordmark{font:32px/1 Georgia,'Times New Roman',serif;letter-spacing:-1.8px}
body[data-page] .motto{display:block;margin-left:auto;font:italic 17px Georgia,'Times New Roman',serif}
body[data-page] .studio-header nav{margin-left:0;gap:24px}
body[data-page] .studio-header .avatar{background:#efb6a6;font:20px Georgia,serif!important}
body[data-page] main{flex:1 0 auto;min-height:0;margin:0 auto}
body[data-page] .studio-footer{flex-shrink:0;margin:32px auto 0;padding:30px 0;background:var(--paper)}
body[data-page] .studio-footer .wordmark{font-size:23px}
@media(max-width:1100px){body[data-page] .motto{display:none}body[data-page] .studio-header nav{margin-left:auto}}
@media(max-width:800px){body[data-page] .studio-header{padding:25px 4%;gap:20px}body[data-page] .studio-header nav{gap:15px}}
@media(max-width:600px){body[data-page] .studio-header{min-height:80px;padding:24px 5%}body[data-page] .studio-header nav{margin:0}body[data-page] .studio-footer{margin-top:24px}}

/* Calm, paper-colored forms and numbered editor progress. */
body[data-page=start] .start-grid article{background:transparent}
body[data-page=editor] .editor-workspace{border-top:0}
body[data-page=editor] input:not([type=checkbox]):not([type=radio]):not([type=color]),
body[data-page=editor] textarea,body[data-page=editor] select{background:var(--paper)}
body[data-page=editor] .section-rail button:before{content:none;display:none}
.section-number{display:inline-flex;align-items:center;justify-content:center;flex:0 0 26px;width:26px;height:26px;border-radius:50%;background:var(--wash);border:1px solid #d5cec1;color:var(--muted);font-size:12px;font-weight:600}
.section-rail button.active .section-number{background:var(--coral);border-color:var(--coral);color:#fff}
.section-rail button.completed .section-number{background:#426f5d;border-color:#426f5d;color:#fff}
.section-rail button.completed:not(.active){color:#426f5d}

/* Keep customization actions directly below the controls they apply to. */
body[data-page=customize] .design-workspace{border-top:0}
.design-panel .design-actions{border-top:0;margin-top:24px;padding-top:18px;justify-content:flex-end}

/* Page-stack gallery and editorial template selection. */
body[data-page=templates] .template-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
body[data-page=templates] .template-tile{border:1px solid var(--line);border-radius:8px;padding:16px;background:transparent;min-width:0}
body[data-page=templates] .template-select{display:block;position:relative;width:100%;height:auto;padding:12px 20px 0;border:0;background:transparent;box-shadow:none;overflow:visible}
.paper-stack{position:relative;display:block;margin:0 12px 0 0}
body[data-page=templates] .template-select .paper-stack img{position:relative;display:block;width:100%;height:auto;aspect-ratio:210/297;object-fit:contain;background:#fff;box-shadow:0 5px 16px #102b451c;border:1px solid #eee9df}
body[data-page=templates] .template-select .paper-stack .stack-back{position:absolute;inset:12px auto auto 13px;transform:rotate(3deg);opacity:.65}
.card-preview-tools{position:relative;display:flex;justify-content:space-between;gap:8px;margin:-12px -20px 0;z-index:1}
.card-preview-tools>span{background:var(--paper);border:1px solid var(--line);border-radius:24px;padding:6px 12px;font-size:11px;box-shadow:0 3px 8px #102b4510}
body[data-page=templates] .template-tile h2{text-align:left;font:600 20px var(--serif);margin:14px 0 5px}
body[data-page=templates] .template-tile>p{text-align:left;margin:0;color:var(--muted);font-size:12px}
.editorial-template-dialog{width:min(1080px,94vw);max-width:1080px;padding:0;background:var(--paper);overflow:auto;max-height:92dvh}
.template-modal-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,1fr)}
.template-paper-stage{background:#eeeae2;padding:32px;display:flex;align-items:flex-start;justify-content:center}
.editorial-template-dialog #template-large{display:block;width:100%;max-width:520px;height:auto;max-height:none;object-fit:contain;background:white;box-shadow:0 8px 22px #102b4525;margin:0}
.template-details{padding:55px 30px 28px;min-width:0}
.template-details h2{font:32px var(--serif);margin:0 0 8px}
.template-details>p{font-size:13px;color:var(--muted)}
.template-details h3{font:600 15px var(--serif);margin:0 0 16px}
.template-details section{border-top:1px solid var(--line);margin-top:22px;padding-top:22px}
.template-facts p{font-size:12px;color:var(--muted);margin:10px 0}
.template-close{position:absolute;right:12px;top:8px;z-index:2}
.template-swatches{display:flex;gap:12px;flex-wrap:wrap}
.template-swatches button{width:29px;height:29px;border-radius:50%;border:2px solid var(--paper);background:var(--swatch);outline:1px solid transparent;outline-offset:2px}
.template-swatches button[aria-pressed=true]{outline-color:var(--coral)}
.template-accent .muted{font-size:10px;margin:12px 0 0}
.template-miniatures{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin-bottom:24px}
.template-miniatures button{padding:4px;background:transparent;border:1px solid var(--line);border-radius:4px}
.template-miniatures button[aria-pressed=true]{border-color:var(--coral);box-shadow:0 0 0 1px var(--coral)}
.template-miniatures img{width:100%;aspect-ratio:210/297;object-fit:contain;background:#fff}
.template-details>.button{margin-bottom:12px}
@media(max-width:800px){body[data-page=templates] .template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.template-paper-stage{padding:18px}.template-details{padding:48px 20px 20px}}
@media(max-width:600px){body[data-page=templates] .template-tile{padding:10px}.card-preview-tools>span{font-size:9px;padding:5px 7px}body[data-page=templates] .template-select{padding:8px 10px 0}.card-preview-tools{margin-left:-10px;margin-right:-10px}.template-modal-grid{grid-template-columns:1fr}.template-paper-stage{padding:36px 30px 22px}.editorial-template-dialog #template-large{max-width:300px}.template-details{padding:24px}.template-miniatures{grid-template-columns:repeat(6,1fr)}}

body[data-page=templates] .template-tile>p{display:block}
@media(min-width:601px){.editorial-template-dialog #template-large{max-height:calc(92dvh - 64px);width:auto;max-width:100%}.template-paper-stage{align-items:center}}

/* Compact gallery papers while preserving the larger selection preview. */
body[data-page=templates] .template-select{max-width:310px;margin:0 auto}
body[data-page=templates] .template-tile{padding:12px 16px}
@media(max-width:600px){body[data-page=templates] .template-tile{padding:10px}}

/* Four compact, closely fitted template cards on desktop. */
body[data-page=templates] .template-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
body[data-page=templates] .template-tile{width:100%;max-width:344px;justify-self:center}
@media(max-width:1100px){body[data-page=templates] .template-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}}
@media(max-width:800px){body[data-page=templates] .template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}}

/* Large catalogue: bounded style browser, original gallery proportions. */
.style-picker {max-height:560px;overflow-y:auto;overscroll-behavior:contain;padding:4px 10px 8px 4px;}
.template-miniatures [hidden],.style-picker [hidden],.template-grid [hidden] {display:none!important;}
.template-tile h2 small {font:10px Arial,sans-serif;opacity:.6;}
.template-miniatures {max-height:170px;overflow:auto;}

/* Compact customization studio: controls, PDF, and a separate desktop ad rail. */
body[data-page=customize] .design-workspace{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) clamp(140px,12vw,190px);gap:24px;align-items:start}
.design-workspace .design-panel,.design-workspace .design-preview{min-width:0}
.style-toolbar{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(0,1fr);gap:14px;align-items:end;margin-bottom:18px}
.design-panel .style-toolbar h2{margin:0;align-self:center;font-size:16px;white-space:nowrap}
.design-panel .style-toolbar label{margin:0;min-width:0;font-size:11px;display:flex;flex-direction:column;gap:6px}
.style-toolbar select{width:100%;min-width:0;height:38px;padding:6px 9px;font-size:12px}
.design-panel .style-picker{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;max-height:560px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#aaa69d transparent;scrollbar-gutter:stable;padding:6px 10px 10px 2px}
.style-picker::-webkit-scrollbar{width:7px}.style-picker::-webkit-scrollbar-thumb{background:#aaa69d;border-radius:8px}
.design-panel .style-picker button{position:relative;padding:10px 12px 12px;background:transparent;border:1px solid var(--line);border-radius:7px;min-width:0;color:var(--ink);box-shadow:none;align-self:start}
.design-panel .style-picker button:hover{box-shadow:0 5px 14px #102b4512;transform:translateY(-2px)}
.design-panel .style-picker button[aria-pressed=true]{border-color:var(--coral);box-shadow:0 0 0 1px var(--coral)}
.design-panel .style-picker button .paper-stack{display:block;position:relative;margin:12px 9px 0 2px}
.design-panel .style-picker button .paper-stack img{position:relative;display:block;width:100%;height:auto;aspect-ratio:210/297;object-fit:contain;background:white;border:1px solid #eee9df;box-shadow:0 4px 12px #102b451a}
.design-panel .style-picker button .paper-stack .stack-back{position:absolute;inset:7px auto auto 8px;transform:rotate(3deg);opacity:.55}
.design-panel .style-picker button .style-card-tools{display:flex;align-items:center;justify-content:space-between;margin:0;height:22px}
.design-panel .style-picker button .style-card-tools>span{margin:0;font-size:10px}
.style-card-tools>span:first-child{border:1px solid var(--line);border-radius:20px;padding:3px 8px;background:var(--paper)}
.style-card-tools .style-selected{visibility:hidden;width:22px;height:22px;line-height:22px;border-radius:50%;background:var(--coral);color:white}
.style-picker button[aria-pressed=true] .style-selected{visibility:visible}
.design-panel .style-picker button .style-card-name{margin:16px 0 0;font:15px/1.25 var(--serif);overflow-wrap:anywhere}
.design-workspace .customize-ad{padding:0;align-self:stretch;min-width:0}
.design-workspace .customize-ad .studio-ad{height:100%;min-height:600px;margin:0;padding:16px;text-align:center;border-radius:6px}
.design-workspace .design-preview{padding:16px}
.design-workspace .design-preview iframe{height:650px}
.design-panel .design-actions{margin-top:12px;padding-top:12px}
@media(max-width:1250px){.style-toolbar{grid-template-columns:1fr 1fr}.design-panel .style-toolbar h2{grid-column:1/-1}.design-panel .style-picker{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1050px){body[data-page=customize] .design-workspace{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px}.design-workspace .customize-ad{grid-column:1/-1}.design-workspace .customize-ad .studio-ad{min-height:100px}}
@media(max-width:700px){body[data-page=customize] .design-workspace{grid-template-columns:1fr}.design-panel .style-picker{max-height:510px}.design-workspace .design-preview iframe{height:550px}.design-workspace .customize-ad{grid-column:auto}.style-toolbar{gap:12px}.design-panel .style-picker button .style-card-name{font-size:15px}}
@media(prefers-reduced-motion:reduce){.design-panel .style-picker button:hover{transform:none}}

/* Export navigation, compact saved CV cards and an adjacent ad rail. */
body[data-page=export] .export-options a.button:not(.secondary),body[data-page=export] .export-options a.button:not(.secondary):visited{color:#fff}
.my-cvs-workspace{display:grid;grid-template-columns:minmax(0,1fr) clamp(140px,12vw,190px);gap:24px;align-items:start}
.my-cvs-workspace .cv-grid{grid-template-columns:repeat(auto-fill,minmax(210px,250px));gap:22px;min-width:0;align-items:start}
.my-cvs-workspace .cv-card{min-width:0;padding:12px;background:var(--paper);border:1px solid var(--line);border-radius:8px;box-shadow:0 3px 12px #102b450b}
.my-cvs-workspace .cv-cover{height:255px;padding:10px;background:#f0eee6;margin-bottom:14px}
.my-cvs-workspace .cv-cover img{display:block;max-width:100%;height:100%;width:auto;margin:auto;object-fit:contain}
.my-cvs-workspace .cv-title-row{display:flex;gap:7px;align-items:center;margin-bottom:5px}
.my-cvs-workspace .cv-title-row h2{min-width:0;margin:0;font:600 16px/1.3 var(--serif);overflow-wrap:anywhere}
.rename-cv{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;padding:7px;border:1px solid transparent;border-radius:5px;background:transparent;color:var(--muted);cursor:pointer}
.rename-cv:hover,.rename-cv:focus-visible{color:var(--ink);border-color:var(--line);background:var(--wash)}
.my-cvs-workspace .cv-card>p{font-size:11px;line-height:1.45;min-height:16px}
.my-cvs-workspace .card-actions{display:grid;grid-template-columns:1fr 1fr 36px;gap:7px;align-items:center;margin-top:14px}
.my-cvs-workspace .card-actions>a,.my-cvs-workspace .card-menu>summary{display:flex;align-items:center;justify-content:center;min-height:36px;padding:7px 10px;font-size:12px;border:1px solid #d8dcd9;border-radius:5px;background:#fffdf9;color:var(--ink);text-decoration:none;box-shadow:0 2px 5px #102b4509}
.my-cvs-workspace .card-actions>a:first-child{background:var(--ink);border-color:var(--ink);color:white}
.my-cvs-workspace .card-actions>a:hover,.my-cvs-workspace .card-menu>summary:hover{box-shadow:0 3px 9px #102b4520}
.my-cvs-workspace .card-menu{position:relative}
.my-cvs-workspace .card-menu>summary{font-size:21px;cursor:pointer;list-style:none}
.my-cvs-workspace .card-menu>summary::-webkit-details-marker{display:none}
.my-cvs-workspace .card-menu>div{right:0;left:auto;min-width:125px;z-index:5}
.my-cvs-workspace .card-menu>div button,.my-cvs-workspace .card-menu>div a{width:100%;text-align:left;padding:10px;box-shadow:none}
.my-cvs-ad{align-self:start;min-width:0}.my-cvs-ad .studio-ad{min-height:550px;height:650px;margin:0;padding:16px;text-align:center}
@media(max-width:1050px){.my-cvs-workspace .cv-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}.my-cvs-workspace .cv-card{max-width:270px}}
@media(max-width:700px){.my-cvs-workspace{grid-template-columns:1fr}.my-cvs-ad .studio-ad{min-height:100px;height:auto}.my-cvs-workspace .cv-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.my-cvs-workspace .cv-cover{height:220px}}
@media(max-width:520px){.my-cvs-workspace .cv-grid{grid-template-columns:minmax(0,320px);justify-content:center}.my-cvs-workspace .cv-card{max-width:none}.my-cvs-workspace .cv-cover{height:300px}}
/* Gentle contrast and focus feedback in the V7 editor. */
body[data-page=editor] #section-fields input:not([type=file]),body[data-page=editor] #section-fields textarea,body[data-page=editor] #section-fields select{background:#f0f2ee;border-color:#d5ddd7;transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease}
body[data-page=editor] #section-fields input:focus,body[data-page=editor] #section-fields textarea:focus,body[data-page=editor] #section-fields select:focus{background:#f8faf6;border-color:#65847b;box-shadow:0 0 0 3px #65847b20;outline:none}
.photo-dropzone{padding:26px 18px;border:1.5px dashed #a8b9ad;border-radius:9px;background:#f0f2ee;text-align:center;transition:background .18s,border-color .18s}
.photo-dropzone.dragging{background:#e0ebe1;border-color:#426762}.photo-dropzone strong{font-size:17px}.photo-dropzone p{font-size:12px;color:var(--muted)}.photo-dropzone input{max-width:100%}.photo-file-status{overflow-wrap:anywhere}
#template-accent-preview{display:block;width:100%;height:100%;min-height:610px;border:0;background:#fff;box-shadow:0 7px 24px #102b4520}#template-accent-preview[hidden],#template-large[hidden]{display:none!important}
.my-cvs-workspace .cv-grid{grid-template-columns:repeat(4,minmax(0,1fr));max-height:650px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b1b9af transparent;padding:2px 10px 12px 2px}
.my-cvs-workspace .cv-card{max-width:none}.my-cvs-workspace .cv-cover{height:270px}
@media(min-width:701px){body[data-page=dashboard] .my-cvs-workspace .cv-grid{max-height:calc(100dvh - 410px);min-height:300px}.my-cvs-ad .studio-ad{height:calc(100dvh - 410px);min-height:300px}}
@media(max-width:1250px){.my-cvs-workspace .cv-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:950px){.my-cvs-workspace .cv-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.my-cvs-workspace .cv-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){body[data-page=editor] #section-fields input,body[data-page=editor] #section-fields textarea,body[data-page=editor] #section-fields select,.photo-dropzone{transition:none}}
body[data-page=editor] #section-fields input:not([type=file]),body[data-page=editor] #section-fields textarea,body[data-page=editor] #section-fields select{background:#fffdf9;border-color:#ded4c7}
body[data-page=editor] #section-fields input:focus,body[data-page=editor] #section-fields textarea:focus{background:#fffefa}
.preview-name{display:flex;align-items:center;gap:7px;min-width:0}.preview-name>span{font:600 16px/1.3 var(--serif);overflow-wrap:anywhere}.preview-caption{gap:12px}.preview-caption>#refresh-preview{flex-shrink:0}
.editor-panel,.editor-panel form,#section-fields,.entry-card{min-width:0}.entry-card,.section-rail button{overflow-wrap:anywhere}.entry-card p{white-space:pre-wrap}.editor-panel #section-fields{max-height:610px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b1b9af transparent;padding-right:8px}.editor-panel .form-footer{position:static}
#confirm-dialog .button.secondary,#confirm-dialog .button.secondary:hover,#confirm-dialog .button.secondary:focus{background:#f0ece4;color:#102b45;border-color:#d9d2c6;box-shadow:0 2px 6px #102b4510}
.import-dropzone{border:1.5px dashed #b8b8a7;border-radius:8px;background:#f5f2ea;padding:18px;margin:15px 0;transition:background .18s,border-color .18s}.import-dropzone.dragging{background:#e5ede5;border-color:#426762}.import-dropzone p{font-size:12px}.import-dropzone input{max-width:100%}#import-file-status{overflow-wrap:anywhere}
.hero-art .real-cv-sample{padding:0;min-height:0;overflow:hidden;aspect-ratio:210/297}.real-cv-sample img{display:block;width:100%;height:100%;object-fit:contain;background:white}
@media(min-width:701px){body[data-page=dashboard] main{padding-bottom:12px}body[data-page=dashboard] .studio-footer{margin-top:12px}body[data-page=dashboard] .my-cvs-workspace .cv-grid{max-height:calc(100dvh - 340px)}body[data-page=dashboard] .my-cvs-ad .studio-ad{height:calc(100dvh - 340px)}}
@media(max-width:600px){.editor-panel #section-fields{max-height:65dvh}.preview-name>span{font-size:15px}}

/* One A4 viewport for original and recoloured template previews. */
.editorial-template-dialog #template-accent-preview{width:100%;height:auto;min-height:0;aspect-ratio:210/297;flex:none;display:block}
.editorial-template-dialog .template-paper-stage{align-items:flex-start;min-width:0}
#template-accent-status{min-height:28px}
@media(max-width:600px){.editorial-template-dialog #template-accent-preview{max-width:300px}}

/* V7: distinct card actions and balanced start/export layout. */
.photo-dropzone,.import-dropzone{background:#fffdf9}
body[data-page=start] .start-grid article{justify-content:flex-start}
body[data-page=start] .start-grid .line-icon{flex:none;margin:0 0 14px}
body[data-page=start] .start-grid h2{margin:0 0 8px}
body[data-page=start] .start-grid .scratch-card>p{margin:0 0 24px}
body[data-page=start] .start-grid .scratch-card>.button{margin-top:auto}
body[data-page=templates] .card-preview-tools{margin:-12px 0 0;position:relative}
.card-preview-tools>button{background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:24px;padding:7px 10px;font-size:11px;box-shadow:0 3px 8px #102b4510;cursor:pointer}
.card-preview-tools>button:hover,.card-preview-tools>button:focus-visible{border-color:var(--coral);background:#fffdf9}
.export-workspace>div:first-child{position:relative;padding-bottom:100px}
.export-workspace .export-back{position:absolute;bottom:12px;left:0}
@media(max-width:800px){.export-workspace>div:first-child{padding-bottom:65px}.card-preview-tools>button{font-size:10px}}
@media(min-width:801px){.export-workspace>div:first-child{align-self:stretch;display:flex;flex-direction:column;justify-content:center}.export-workspace>div:first-child>h2{margin-top:50px}}

/* Balanced start-card guidance and compact document identity bar. */
.scratch-guidance{width:100%;max-width:400px;text-align:left;margin:4px 0 24px;padding:18px 20px;border:1px solid var(--line);border-radius:8px;background:var(--wash)}
.scratch-guidance h3{font:600 14px/1.4 Arial,sans-serif;letter-spacing:0;margin:0 0 14px}
.scratch-guidance ul{list-style:none;padding:0;margin:0;display:grid;gap:14px}
.scratch-guidance li{display:flex;gap:11px;align-items:flex-start}
.scratch-guidance li>span{flex:none;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#426762;color:#fff;font-size:12px}
.scratch-guidance strong{display:block;font-size:12px;line-height:1.5}
.scratch-guidance small{display:block;font-size:11px;line-height:1.5;color:var(--muted);margin-top:2px}
.design-preview-caption{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}
.design-preview-caption .preview-name{flex:1;min-width:0}
.design-preview-caption .design-back{margin:0;flex:none;padding:7px 0 7px 12px;white-space:nowrap}
/* Materialize owns appearance timing; this inner flex row owns toast layout. */
body[data-page] #toast-container{top:112px;right:max(20px,calc((100vw - 1500px)/2));bottom:auto;left:auto;width:min(390px,calc(100vw - 32px));max-width:390px;pointer-events:none}
body[data-page] #toast-container .quiet-toast{position:relative;float:none;display:block;width:100%;min-width:0;min-height:0;margin:0 0 10px;padding:12px 14px;background:#fffdf9;color:#203d33;border:1px solid #c5d4cb;border-left:3px solid #527968;border-radius:9px;box-shadow:0 8px 26px #142b4520;pointer-events:auto;line-height:1.5}
.toast-content{display:flex;align-items:center;gap:11px;width:100%}
.toast-icon{display:grid;place-items:center;flex:0 0 25px;width:25px;height:25px;border-radius:50%;background:#e4eee7;color:#315e48;font:600 14px Arial}
.toast-message{flex:1;min-width:0;overflow-wrap:anywhere;font:13px/1.5 Arial,sans-serif}
body[data-page] .quiet-toast .toast-close{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;padding:0;margin:0;border:0;border-radius:5px;background:transparent;color:inherit;line-height:1;cursor:pointer;font:22px Arial}
body[data-page] .quiet-toast .toast-close:hover{background:#52796815}
body[data-page] #toast-container .quiet-error{background:#fff5f0;color:#7f3028;border-color:#e6b7ad;border-left-color:#b54536}
.quiet-error .toast-icon{background:#f7ded8;color:#922f26}
:root[data-appearance=dark] body[data-page] #toast-container .quiet-toast{background:#302d28;color:#f5ebdd;border-color:#615b4e;border-left-color:#a6b699;box-shadow:0 8px 26px #0005}
:root[data-appearance=dark] .toast-icon{background:#405143;color:#e3edda}
:root[data-appearance=dark] body[data-page] #toast-container .quiet-error{background:#402c27;border-color:#855549;border-left-color:#e7a087;color:#ffe5db}
:root[data-appearance=dark] .quiet-error .toast-icon{background:#744639;color:#fff0e4}
@media(max-width:600px){body[data-page] #toast-container{top:auto;bottom:18px;right:16px;left:16px;width:auto;max-width:none}.scratch-guidance{padding:15px}}
@media(prefers-reduced-motion:reduce){body[data-page] #toast-container .quiet-toast{animation:none;transition:none}}

/* Profile: readable form width and structured account information. */
body[data-page=profile] .profile-personal{grid-template-columns:minmax(0,720px) minmax(220px,280px);gap:64px;justify-content:start;align-items:start}
body[data-page=profile] #profile-form{width:100%;max-width:720px}
body[data-page=profile] #profile-fields{display:block}
body[data-page=profile] #profile-fields label{display:grid;grid-template-columns:135px minmax(0,1fr);gap:18px;align-items:start;margin-bottom:16px}
body[data-page=profile] #profile-fields textarea{min-height:120px}
body[data-page=profile] #profile-fields :is(input,textarea){background:#fffdf9}
body[data-page=profile] .profile-photo{min-width:0;padding:5px 20px 160px;min-height:400px}
body[data-page=profile] .profile-photo .botanical-art{max-width:150px;height:190px;bottom:0;right:0}
.account-layout{display:grid;grid-template-columns:minmax(0,620px) minmax(0,380px);gap:28px;max-width:1050px;align-items:start}
.account-card{padding:26px;border:1px solid var(--line);border-radius:9px;background:#fffdf9;box-shadow:0 3px 12px #102b4506;min-width:0}
.account-card>header{display:flex;align-items:center;gap:16px;margin-bottom:24px}
.account-card h2{font-size:24px;margin:0 0 8px}
.account-card p{font-size:13px;color:var(--muted);line-height:1.6}
.account-card header p{margin:0}
.account-emblem{display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:50%;background:#efb6a6;font:24px Georgia;color:#102b45}
.account-details{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:20px 26px}
.account-details>div{min-width:0;padding-bottom:14px;border-bottom:1px solid var(--line)}
.account-details dt{font-size:11px;color:var(--muted);margin-bottom:5px}
.account-details dd{margin:0;font-size:14px;overflow-wrap:anywhere}
.account-card .account-note{font-size:11px;margin:18px 0 0}
.account-actions{display:grid;gap:20px}.account-actions .text-link{display:block;margin-top:18px}
.contact-status{padding:12px 16px;border:1px solid #b7d0bf;border-radius:7px;background:#edf4ed;color:#315e48}
:root[data-appearance=dark] .account-card{background:var(--theme-panel);border-color:var(--theme-line)}
:root[data-appearance=dark] body[data-page=profile] #profile-fields :is(input,textarea){background:var(--theme-panel);color:var(--theme-text)}
:root[data-appearance=dark] .account-emblem{background:var(--theme-raised);color:var(--theme-text)}
:root[data-appearance=dark] .contact-status{background:#2c3d30;color:#c6e0cd;border-color:#53725c}
@media(max-width:1000px){body[data-page=profile] .profile-personal{grid-template-columns:minmax(0,1fr) 230px;gap:28px}.account-layout{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}}
@media(max-width:700px){body[data-page=profile] .profile-personal,.account-layout{grid-template-columns:1fr}body[data-page=profile] .profile-photo{order:0;min-height:170px;padding:16px 0;display:block;max-width:280px}body[data-page=profile] .profile-photo .botanical-art{display:none}body[data-page=profile] #profile-fields label{display:flex;gap:6px}.account-card{padding:20px}.account-details{gap:16px}.account-card h2{font-size:22px}}

/* Keep the two start actions on the same baseline. */
body[data-page=start] #import-form{display:flex;flex-direction:column;flex:1;margin-top:24px}
body[data-page=start] #import-form .import-dropzone{flex:1;display:flex;flex-direction:column;justify-content:center}
body[data-page=start] #import-form>.button{align-self:center;margin-top:24px}
/* Compact caption and a shared lower edge for the preview and ad. */
body[data-page=editor] .live-preview{padding-top:8px}
body[data-page=editor] .live-preview .preview-caption{margin-bottom:4px;min-height:32px}
body[data-page=editor] .live-preview>p{margin:8px 0 0}
@media(min-width:1101px){
 body[data-page=editor] .live-preview{height:clamp(580px,calc(100svh - 210px),940px);display:flex;flex-direction:column}
 body[data-page=editor] .live-preview iframe{flex:1;min-height:0;height:auto}
 body[data-page=editor] .editor-ad .studio-ad{height:clamp(580px,calc(100svh - 210px),940px);min-height:0;max-height:none}
}

/* Compact, theme-aware CV overflow actions. */
.my-cvs-workspace .card-menu>div.cv-action-menu{top:auto;bottom:calc(100% + 8px);min-width:170px;padding:6px;gap:3px;border-radius:9px;background:var(--theme-panel);border-color:var(--theme-line);box-shadow:0 8px 25px #0003}
.my-cvs-workspace .card-menu .cv-action-menu :is(a,button){display:flex;align-items:center;gap:10px;min-height:40px;border:0;border-radius:5px;background:transparent;color:var(--theme-text);font-size:12px;text-decoration:none;box-shadow:none}
.my-cvs-workspace .card-menu .cv-action-menu svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;flex:none}
.my-cvs-workspace .card-menu .cv-action-menu :is(a,button):is(:hover,:focus-visible){background:var(--theme-raised);outline:2px solid var(--theme-line);outline-offset:-2px}
.my-cvs-workspace .card-menu .cv-action-menu [data-delete]{color:#ae382f;border-top:1px solid var(--theme-line)}
:root[data-appearance=dark] body[data-page] .my-cvs-workspace .card-actions>a:first-child{background:#b94d3c;color:#fff;border-color:#d87861}
:root[data-appearance=dark] body[data-page] .my-cvs-workspace .card-menu .cv-action-menu a{color:var(--theme-text)}
:root[data-appearance=dark] body[data-page] .my-cvs-workspace .card-menu .cv-action-menu [data-delete]{color:#ffaaa0}
.my-cvs-workspace .card-menu[open]>summary{border-color:var(--theme-accent);background:var(--theme-raised)}
/* A fitted photo card, with no empty decorative column. */
body[data-page=profile] .profile-personal{grid-template-columns:minmax(0,720px) minmax(260px,340px);gap:48px}
body[data-page=profile] .profile-photo{display:block;align-self:start;min-height:0;max-width:340px;width:100%;padding:24px;border:1px solid var(--theme-line);border-radius:10px;background:var(--theme-panel);overflow:visible}
body[data-page=profile] .photo-card-heading{display:flex;align-items:center;gap:16px;margin-bottom:24px}
body[data-page=profile] .profile-photo .large-avatar{width:72px;height:72px;flex:none;margin:0;overflow:hidden;border-radius:50%}
body[data-page=profile] .profile-photo .large-avatar img{width:100%;height:100%;object-fit:cover}
body[data-page=profile] .profile-photo h2{font-size:22px;margin:0 0 6px}
body[data-page=profile] .profile-photo p{font-size:12px;margin:0;line-height:1.5}
body[data-page=profile] .profile-photo form{max-width:none;width:100%}
body[data-page=profile] .profile-photo label{display:block;font-size:12px;margin-bottom:8px}
body[data-page=profile] .profile-photo input[type=file]{width:100%;min-width:0;font-size:11px;padding:8px;background:var(--theme-bg);border:1px solid var(--theme-line);border-radius:5px}
body[data-page=profile] .profile-photo input::file-selector-button{border:0;border-radius:4px;padding:8px 10px;margin-right:8px;background:var(--theme-raised);color:var(--theme-text);cursor:pointer}
body[data-page=profile] .profile-photo #photo-format{margin:10px 0 18px}
body[data-page=profile] .profile-photo .button{min-height:38px;font-size:12px;padding:8px 16px}
@media(max-width:1000px){body[data-page=profile] .profile-personal{grid-template-columns:minmax(0,1fr) 290px;gap:24px}}
@media(max-width:700px){body[data-page=profile] .profile-personal{grid-template-columns:1fr}body[data-page=profile] .profile-photo{max-width:100%;padding:20px}}

/* Quiet, short-lived confirmation for frequent editor saves. */
body[data-page=editor] #toast-container:has(.quiet-compact){top:auto;bottom:20px;right:24px;width:auto;max-width:calc(100vw - 32px)}
body[data-page=editor] #toast-container .quiet-compact{width:auto;min-width:0;display:inline-block;padding:7px 10px;margin:0;border-radius:7px;box-shadow:0 3px 12px #102b4515;font-size:12px}
body[data-page=editor] .quiet-compact .toast-content{gap:8px}
body[data-page=editor] .quiet-compact .toast-icon{width:18px;height:18px;flex-basis:18px;font-size:11px}
body[data-page=editor] .quiet-compact .toast-close{width:24px;height:24px;flex-basis:24px;font-size:18px}
@media(max-width:600px){body[data-page=editor] #toast-container:has(.quiet-compact){left:auto;right:16px;bottom:80px}}

/* Compact editor/customizer saves belong at the upper right. */
body:is([data-page=editor],[data-page=customize]) #toast-container:has(.quiet-compact){top:106px;bottom:auto;left:auto;right:max(20px,calc((100vw - 1500px)/2));width:auto;max-width:calc(100vw - 32px)}
body[data-page=customize] #toast-container .quiet-compact{width:auto;min-width:0;display:inline-block;padding:7px 10px;margin:0;border-radius:7px;font-size:12px;box-shadow:0 3px 12px #102b4515}
body[data-page=customize] .quiet-compact .toast-content{gap:8px}
body[data-page=customize] .quiet-compact .toast-icon{width:18px;height:18px;flex-basis:18px;font-size:11px}
body[data-page=customize] .quiet-compact .toast-close{width:24px;height:24px;flex-basis:24px;font-size:18px}
@media(max-width:600px){body:is([data-page=editor],[data-page=customize]) #toast-container:has(.quiet-compact){top:90px;right:16px;bottom:auto}}

/* Keep secondary navigation aligned with its related form controls. */
.auth-help-links{display:flex;align-items:baseline;justify-content:space-between;gap:12px 24px;flex-wrap:wrap;margin-top:18px}
.auth-help-links .text-link{margin-top:0}
.auth-help-links .auth-guest-link{margin-left:auto;text-align:right}
.design-actions .design-back{margin:0 auto 0 0;align-self:center;white-space:nowrap}
@media(max-width:480px){.auth-help-links{align-items:flex-start;flex-direction:column}.auth-help-links .auth-guest-link{margin-left:0;text-align:left}}
/* Enter-confirmed renames return focus to the updated name, not the pencil. */
#preview-resume-name[tabindex="-1"]:focus{outline:none}

body[data-page=customize] main{padding-bottom:12px}
body[data-page=customize] .studio-footer{margin-top:12px;padding-top:18px}
#editor-sections button{position:relative;padding-right:22px}
.section-drag-handle{position:absolute;right:3px;color:var(--theme-muted);cursor:grab;font-size:16px;touch-action:none}
#editor-sections button.drag-over{box-shadow:inset 0 3px var(--theme-text)}
#editor-sections button.dragging{opacity:.45}

.editor-panel header #section-title{display:inline-block;vertical-align:middle;margin-right:8px}
.section-rename{vertical-align:middle;font-size:18px}
.card-tools{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.card-drag-handle{cursor:grab;border:0;background:transparent;color:var(--theme-muted);font-size:22px;padding:2px 8px}
.card-drag-handle:active{cursor:grabbing}
.card-drop-target{box-shadow:inset 0 3px #608c7b}

/* Standard display-ad inventory; reserve the creative's exact dimensions. */
body[data-page=editor] .editor-ad{align-self:start}
body[data-page=editor] .editor-ad .studio-ad{box-sizing:border-box;width:160px;height:600px;min-height:600px;max-height:600px;margin:0;padding:0;text-align:center}
@media(min-width:1101px){body[data-page=editor] .editor-workspace{grid-template-columns:145px minmax(0,.95fr) minmax(0,1.25fr) 160px}}
@media(max-width:1100px){body[data-page=editor] .editor-ad .studio-ad{width:300px;height:250px;min-height:250px;max-height:250px;margin:0 auto}}
@media(max-width:340px){body[data-page=editor] .editor-ad{display:none}}

/* Layer the supplied character and animate real CV pages through rest/open/settle. */
.tailor-assistant-link{display:block;width:100%;max-width:198px;margin-top:20px;border-radius:6px}
.tailor-assistant-scene{display:block;width:100%;height:auto;overflow:visible}
.tailor-assistant-link:focus-visible{outline:2px solid var(--theme-accent);outline-offset:4px}
/* Swing from the underline attachment; light remains visible at rest. */
.tailor-lantern-swing{transform-origin:153px 39px;animation:lantern-sway 4.8s ease-in-out infinite}
.tailor-lantern-halo{animation:lantern-glow 3.2s ease-in-out infinite;pointer-events:none}
.tailor-lantern-light{opacity:.32;filter:blur(2px);animation:lantern-light 2.7s ease-in-out infinite;pointer-events:none;mix-blend-mode:screen}
.tailor-assistant-link:hover .tailor-lantern-swing,.tailor-assistant-link:focus-visible .tailor-lantern-swing{animation:lantern-hover-sway 2s ease-in-out infinite}
@keyframes lantern-sway{0%,100%{transform:rotate(-5deg)}50%{transform:rotate(5deg)}}
@keyframes lantern-hover-sway{0%,100%{transform:rotate(-10deg)}50%{transform:rotate(10deg)}}
@keyframes lantern-glow{0%,100%{opacity:.4}50%{opacity:.9}}
@keyframes lantern-light{0%,100%{opacity:.2}40%{opacity:.5}65%{opacity:.32}}
@media(prefers-reduced-motion:reduce){.tailor-lantern-swing,.tailor-lantern-halo,.tailor-lantern-light,.tailor-assistant-link:hover .tailor-lantern-swing,.tailor-assistant-link:focus-visible .tailor-lantern-swing{animation:none}}

@media(min-width:1101px){
 body[data-page=editor] .editor-workspace{grid-template-columns:145px minmax(0,1.1fr) minmax(0,1.1fr) 160px}
 body[data-page=editor] .live-preview{height:clamp(600px,calc(100svh - 210px),940px)}
 body[data-page=editor] .editor-ad{height:clamp(600px,calc(100svh - 210px),940px);display:flex;align-items:flex-end;align-self:start}
}

/* The placeholder fills the same desktop height as the CV preview. */
@media(min-width:1101px){body[data-page=editor] .editor-ad .studio-ad{height:100%;min-height:0;max-height:none}}

/* Sign-in options share the same form column. */
.google-signin{margin:24px 0 18px;max-width:400px;min-height:44px}
.google-signin [data-google-status]:empty{display:none}
.google-signin [data-google-status]{font-size:12px;margin:10px 0}
.signin-divider{display:flex;align-items:center;gap:12px;margin:20px 0;color:var(--muted);font-size:11px}
.signin-divider:before,.signin-divider:after{content:"";height:1px;background:var(--line);flex:1}

/* Google sign-in above the password form, separated horizontally. */
.login-methods{display:flex;flex-direction:column;margin-top:24px}
.password-signin{min-width:0}
.login-method-divider{display:flex;align-items:center;gap:12px;margin:20px 0;color:var(--muted);font-size:11px}
.login-method-divider:before,.login-method-divider:after{content:"";height:1px;flex:1;background:var(--line)}
.google-signin-column .google-signin{width:100%;margin:0;max-width:400px}
.login-page .auth-help-links{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px}
.login-page .auth-help-links .text-link{margin-top:18px}
.tailor-assistant-link{color:var(--ink)}
:root[data-appearance=dark] .tailor-lantern-art{filter:drop-shadow(0 0 2px #e7a08788)}
@media(max-width:1050px){.login-page .split-page{grid-template-columns:1fr}.login-page .art-panel{display:none}}

/* Keep the normal cursor; show progress within the activated control. */
button[aria-busy=true]{cursor:default;position:relative}
button[aria-busy=true]:after{content:"";display:inline-block;width:12px;height:12px;margin-left:9px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;vertical-align:-2px;animation:button-working .8s linear infinite}
@keyframes button-working{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){button[aria-busy=true]:after{animation:none;border-right-color:currentColor;opacity:.65}}

/* Approved split action row: Google left, password sign-in right. */
.login-action-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:start;margin-top:22px}
.login-action-single{grid-template-columns:1fr}
.login-action-row>.button{width:100%;min-height:40px;margin:0;display:flex;align-items:center;justify-content:center;gap:12px;border-radius:4px}
.login-action-row .google-signin{max-width:none;min-height:40px}
.login-account-links{display:flex;align-items:center;gap:20px;margin-top:20px;font-size:12px}
.login-account-links>.text-link{margin:0}
.login-account-links>span{color:var(--line)}
.login-account-links>.text-button{padding:0;color:var(--muted);font-size:12px}
.login-guest-link{display:inline-block;font-size:12px;margin-top:16px!important}
@media(max-width:520px){.login-action-row{grid-template-columns:1fr}.login-action-row .google-signin{max-width:400px}}

.writing-assistant{display:block;margin-top:6px;font-size:11px;font-weight:400}.writing-toggle{border:0;background:none;color:var(--muted,#526579);padding:2px 0;text-decoration:underline;cursor:pointer}.writing-panel:not([hidden]){display:block;padding:10px;margin-top:6px;border:1px solid var(--border,#ddd5c8);border-radius:5px;line-height:1.5}.writing-suggestion{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:6px 0}.writing-suggestion button{background:transparent;color:inherit;border:1px solid var(--border,#ddd5c8);border-radius:4px;padding:4px 8px;cursor:pointer}

.login-account-links{flex-wrap:wrap;align-items:center}.login-account-links .login-guest-link{margin:0!important}

.writing-inline{display:block;position:relative;width:100%}.writing-inline input,.writing-inline textarea{position:relative;background:transparent!important;z-index:1}.writing-ghost{position:absolute;inset:0;pointer-events:none;color:var(--muted,#87928e);border:1px solid transparent;overflow:hidden;box-sizing:border-box;z-index:2}.writing-corrected input,.writing-corrected textarea{box-shadow:0 0 0 2px #60a78066!important;border-color:#60a780!important;transition:box-shadow .2s}

/* Keep the review page and frame untransformed for sharp text. */
.export-preview{transform:none;position:relative;isolation:isolate;background:transparent;box-shadow:none}
.export-preview::before{content:"";position:absolute;inset:0;background:#f1f2ed;transform:none;box-shadow:0 4px 25px #18344c08;z-index:-1;pointer-events:none}
.export-preview iframe{position:relative;background:transparent}
:root[data-appearance=dark] body[data-page] .export-preview{background:transparent;box-shadow:none}
:root[data-appearance=dark] .export-preview::before{background:var(--theme-panel)}

/* Keep the parent-company attribution beside the product signature. */
.studio-footer .product-attribution{display:inline-block;margin-left:16px;font-size:11px;color:var(--muted)}
.studio-footer .product-attribution a{font-size:inherit;text-decoration:underline;text-underline-offset:3px}
@media(max-width:700px){.studio-footer .product-attribution{display:block;margin:5px 0 0}}
/* Reserve a separate right rail without covering template cards. */
body[data-page=templates] .templates-layout-with-ad{display:grid;grid-template-columns:minmax(0,1fr) 160px;gap:24px;align-items:start}
body[data-page=templates] .templates-layout-with-ad .template-grid{grid-template-columns:repeat(3,minmax(0,1fr));min-width:0}
body[data-page=templates] .templates-layout>.studio-ad{box-sizing:border-box;width:160px;min-height:600px;margin:0;padding:12px;text-align:center}
@media(max-width:1100px){body[data-page=templates] .templates-layout-with-ad .template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){body[data-page=templates] .templates-layout-with-ad{display:flex;flex-direction:column;gap:24px}body[data-page=templates] .templates-layout .template-grid{width:100%}body[data-page=templates] .templates-layout>.studio-ad{width:100%;min-height:100px}}
/* Keep the gallery shell in the viewport; only the cards scroll vertically. */
body[data-page=templates]{height:100dvh;min-height:0;overflow:hidden;display:flex;flex-direction:column}
body[data-page=templates] main{flex:1 1 0;min-height:0;display:flex;padding:0 0 12px;overflow:hidden}
body[data-page=templates] main>.wrap{display:flex;flex-direction:column;min-height:0}
body[data-page=templates] .page-heading,body[data-page=templates] .filter-bar{flex-shrink:0}
body[data-page=templates] .page-heading{padding:20px 0 14px}
body[data-page=templates] .filter-bar{margin-bottom:16px}
body[data-page=templates] .templates-layout{flex:1 1 0;min-height:0;overflow:hidden}
body[data-page=templates] .templates-layout-with-ad{align-items:stretch;grid-template-rows:minmax(0,1fr)}
body[data-page=templates] .templates-scroll{height:100%;min-height:0;min-width:0;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:none;padding:4px}
body[data-page=templates] .templates-scroll::-webkit-scrollbar,body[data-page=templates] .filter-bar::-webkit-scrollbar{display:none}
body[data-page=templates] .filter-bar{scrollbar-width:none}
body[data-page=templates] .templates-layout .template-grid{align-content:start;padding:0 0 16px}
body[data-page=templates] .templates-layout>.studio-ad{height:100%;min-height:0;overflow:hidden}
body[data-page=templates] .studio-footer{width:100%;margin:16px 0 0;padding:14px 0;flex-wrap:wrap}
@media(max-width:700px){
 body[data-page=templates] .page-heading{padding:12px 0 8px}
 body[data-page=templates] .page-heading h1{font-size:28px}
 body[data-page=templates] .filter-bar{flex-wrap:nowrap;overflow-x:auto;gap:8px;margin-bottom:10px;padding-bottom:4px}
 body[data-page=templates] .filter-bar .pill{flex-shrink:0}
 body[data-page=templates] .templates-layout-with-ad{gap:10px}
 body[data-page=templates] .templates-scroll{flex:1 1 0;min-height:0;height:auto;width:100%}
 body[data-page=templates] .templates-layout>.studio-ad{flex:0 0 90px;height:90px;min-height:0}
 body[data-page=templates] .studio-footer{gap:8px 14px;padding:10px 0}
}
/* Saved CVs share the gallery's end-of-content footer and hidden scrollbar. */
body[data-page=dashboard] .my-cvs-scroll{min-width:0;max-height:650px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;padding:2px 4px 12px 2px}
body[data-page=dashboard] .my-cvs-scroll::-webkit-scrollbar{display:none}
body[data-page=dashboard] .my-cvs-workspace .cv-grid{max-height:none;min-height:0;overflow:visible;padding:0 0 12px}
body[data-page=dashboard] .my-cvs-scroll .studio-footer{width:100%;margin:16px 0 0;padding:14px 0;flex-wrap:wrap}
@media(min-width:701px){body[data-page=dashboard] .my-cvs-scroll{max-height:calc(100dvh - 340px);min-height:300px}}
