@font-face{font-family:Gilroy;src:url(/assets/Gilroy-Medium.ttf);font-weight:400}@font-face{font-family:Gilroy;src:url(/assets/Gilroy-Bold.ttf);font-weight:700}*{box-sizing:border-box}body{color:#26222a;background:#f5f4f7;margin:0;font-family:Gilroy,Arial,sans-serif;font-size:14px}button,input,select,textarea{font:inherit}button{cursor:pointer;color:#352c3a;background:#fff;border:1px solid #dedbe3;border-radius:9px;padding:10px 15px;transition:all .15s}button:hover{background:#faf6f9;border-color:#b22b70}button:disabled{opacity:.45;cursor:default}input,select,textarea{color:#29212d;background:#fff;border:1px solid #dedbe3;border-radius:8px;outline:none;width:100%;padding:11px 12px}input:focus,select:focus,textarea:focus{border-color:#ad3077;box-shadow:0 0 0 3px #b52d7310}textarea{resize:vertical;min-height:40px;line-height:1.5}.primary{color:#fff;background:linear-gradient(100deg,#bd2c6d,#86357f);border-color:#0000;font-weight:700}.primary:hover{color:#fff;background:linear-gradient(100deg,#a4225e,#6e296a)}.full{width:100%}.eyebrow{letter-spacing:2px;color:#a12f70;font-size:10px;font-weight:700}.muted{color:#908894;line-height:1.6}h1,h2,h3,p{margin-top:0}h2{font-size:24px}h3{font-size:17px}.field{margin:0 0 16px;display:block}.field>span{color:#66566d;margin-bottom:7px;font-size:12px;font-weight:700;display:block}.two{grid-template-columns:1fr 1fr;gap:12px;display:grid}.error{color:#a52c3e;background:#fff0f1;border:1px solid #f0bfc5;border-radius:8px;margin:14px 0;padding:12px 15px;line-height:1.5}.error button{float:right;color:inherit;background:0 0;border:0;padding:0 5px}.global{margin:0 30px 12px}.toast{z-index:40;color:#fff;background:#283c35;border-radius:12px;max-width:600px;padding:17px 23px;line-height:1.5;position:fixed;bottom:24px;right:24px;box-shadow:0 8px 40px #0002}.loading{text-align:center;color:#9a3275;padding:100px}.auth-shell{background:#fff;grid-template-columns:1fr 1fr;min-height:100vh;display:grid}.auth-brand{color:#fff;background:radial-gradient(at 20% 10%,#b73178,#0000 80%),linear-gradient(140deg,#5b284f,#241927);flex-direction:column;justify-content:center;align-items:flex-start;padding:64px 12%;display:flex}.auth-brand>img{width:165px;margin-bottom:70px}.auth-brand .eyebrow{color:#efb5d1}.auth-brand h1{letter-spacing:-1.5px;margin:24px 0;font-size:54px;line-height:1.2}.auth-brand p{opacity:.65;font-size:18px;line-height:1.8}.auth-brand>small{letter-spacing:2px;color:#d2a6c0;margin-top:70px;font-size:10px}.auth-card{width:420px;max-width:85%;margin:auto;padding:50px 0}.auth-card h2{margin:15px 0}.auth-card>small{text-align:center;margin-top:20px;font-size:11px;line-height:1.6;display:block}.auth-card button{margin-top:6px;padding:14px}.app{min-height:100vh;display:flex}.sidebar{color:#d8cfdc;z-index:5;background:#241e2a;flex-direction:column;width:225px;padding:25px 18px;display:flex;position:fixed;inset:0 auto 0 0}.app-logo{padding:5px 16px 37px}.app-logo img{object-fit:contain;width:125px;height:44px}.sidebar-kicker{letter-spacing:2px;color:#887c92;margin:12px 15px;font-size:9px}.nav{text-align:left;color:#b9adbf;background:0 0;border:0;border-radius:9px;align-items:center;gap:13px;margin-bottom:5px;padding:13px;font-size:16px;display:flex}.nav.active{color:#fff;background:#ab3271}.nav:hover{color:#fff;background:#ffffff0b}.nav.active:hover{background:#ab3271}.side-divider{background:#ffffff12;height:1px;margin:15px 12px}.sidebar-bottom{margin-top:auto;padding:25px 10px 0}.offline{letter-spacing:.4px;color:#b4a7ba;align-items:center;gap:7px;margin:18px 0;font-size:10px;display:flex}.offline i{background:#78b694;border-radius:50%;width:6px;height:6px}.user-chip{border-top:1px solid #ffffff12;align-items:center;gap:10px;padding:20px 0 10px;font-size:12px;display:flex}.user-chip>b{color:#e1b2cc;background:#583347;border-radius:50%;place-items:center;width:32px;height:32px;display:grid}.user-chip small{color:#8b7e94;margin-top:5px;display:block}.logout{color:#9e8ca8;background:0 0;border:0;padding-left:42px;font-size:11px}.logout:hover{color:#fff;background:0 0}main{width:calc(100% - 225px);margin-left:225px}.topbar{justify-content:space-between;align-items:center;gap:20px;padding:27px 30px 25px;display:flex}.topbar h1{letter-spacing:-.5px;margin:8px 0 0;font-size:25px}.top-actions{align-items:center;gap:9px;display:flex}.save-status{color:#9a899b;white-space:nowrap;margin-right:7px;font-size:10px}.brand-section{padding:0 30px 24px}.section-heading{align-items:center;gap:10px;margin:5px 0 15px;display:flex}.section-heading h2{margin:0;font-size:14px}.section-heading .muted{margin-left:auto;font-size:11px}.step{color:#ab3271;background:#f0e4ed;border-radius:7px;justify-content:center;align-items:center;width:25px;height:25px;margin-right:1px;font-size:10px;font-weight:700;display:inline-flex}.brand-grid{grid-template-columns:repeat(5,1fr);gap:11px;display:grid}.brand-card{text-align:left;background:#fff;border:1px solid #e6e1e9;border-radius:11px;flex-direction:column;justify-content:space-between;align-items:flex-start;min-width:0;height:95px;padding:19px 16px;display:flex;position:relative}.brand-card.selected{background:#fff8fc;border-color:#a32c70;box-shadow:0 0 0 1px #a32c701c}.brand-card img{object-fit:contain;object-position:left;max-width:calc(100% - 12px);height:26px}.brand-card b{letter-spacing:-.8px;font-size:20px}.brand-card span{color:#9b8b9b;font-size:10px}.brand-card i{color:#a78da2;font-size:12px;font-style:normal;position:absolute;bottom:13px;right:12px}.workspace{border-top:1px solid #e4dfe8;grid-template-columns:380px 1fr;min-height:calc(100vh - 270px);display:grid}.editor{background:#fff;border-right:1px solid #e5e0e9}.model-picker{padding:23px 23px 18px}.model-picker>label{letter-spacing:1.6px;color:#85748a;margin-bottom:11px;font-size:10px;display:block}.model-picker input{background:#faf8fb;margin-bottom:8px;font-size:12px}.model-picker select{padding-right:20px;font-size:13px;font-weight:700}.source{color:#a49aa9;margin:9px 0 0;font-size:9px;line-height:1.5}.tabs{border-top:1px solid #ede8f0;border-bottom:1px solid #ede8f0;padding:0 18px;display:flex}.tabs button{white-space:nowrap;color:#928496;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:1;padding:16px 10px;font-size:12px}.tabs button.active{color:#9b2e6c;border-bottom-color:#aa2d71;font-weight:700}.form-content{min-height:420px;max-height:calc(100vh - 410px);padding:23px;overflow-y:auto}.form-note{color:#8d6f86;background:#f8f3f7;border:1px solid #eee3ec;border-radius:8px;padding:12px;font-size:11px;line-height:1.6}.upload-box{background:#fcf9fc;border:1px dashed #d5c2d3;flex-direction:column;justify-content:center;align-items:center;gap:8px;width:100%;min-height:145px;padding:15px;display:flex}.upload-box>b{color:#a72c71;font-size:25px;font-weight:400}.upload-box strong{font-size:12px}.upload-box small{color:#a48c9d;font-size:10px}.upload-box img{object-fit:contain;max-width:100%;height:130px}.upload-box span{color:#97366f;font-size:11px}.text-button{color:#a83273;background:0 0;border:0;padding:10px 0;font-size:11px}.staff-card{border-top:1px solid #ece5ef;flex-direction:column;gap:6px;margin-top:25px;padding-top:20px;display:flex}.staff-card>span{letter-spacing:1.6px;color:#a68fa0;margin-bottom:5px;font-size:9px}.staff-card>b{font-size:13px}.staff-card small{color:#998b9f;font-size:11px;line-height:1.5}.preview-pane{background:#ece9ef;min-width:0}.preview-heading{border-bottom:1px solid #e1dbe6;justify-content:space-between;align-items:center;height:64px;padding:0 26px;display:flex}.preview-heading>div{align-items:center;gap:9px;display:flex}.preview-heading>span{color:#9b8c9f;font-size:10px}.paper-scroll{min-height:520px;max-height:calc(100vh - 310px);padding:26px;overflow:auto}.paper-wrap{background:#fff;max-width:794px;margin:auto;box-shadow:0 4px 30px #33223c12}.paper-wrap iframe{border:0;display:block}.preview-empty{color:#c5b9c9;text-align:center;background:linear-gradient(#fff,#fdfbfe);flex-direction:column;justify-content:center;align-items:center;height:680px;display:flex}.paper-symbol{color:#d9c8d6;margin-bottom:20px;font-size:64px;font-weight:400}.preview-empty h2{color:#ac98ad;margin-bottom:12px;font-size:23px}.preview-empty p{font-size:13px;line-height:1.7}.preview-empty>span{letter-spacing:3px;color:#d2c3d1;margin-top:45px;font-size:9px}.empty-editor{text-align:center;color:#b1a0b3;padding:80px 20px}.empty-editor>span{margin-bottom:20px;font-size:30px;display:block}.empty-editor h3{color:#948197;font-size:16px}.empty-editor p{font-size:12px;line-height:1.8}.modal-backdrop{z-index:30;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#21162580;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.modal{background:#fff;border-radius:17px;width:490px;max-height:90vh;padding:32px;position:relative;overflow-y:auto;box-shadow:0 20px 100px #18082240}.modal.wide{width:760px}.modal h2{margin:12px 0 22px}.close{background:#f4eff5;border:0;padding:3px 10px;font-size:20px;position:absolute;top:20px;right:20px}.history button{text-align:left;flex-direction:column;gap:5px;width:100%;margin-bottom:10px;padding:18px;display:flex;position:relative}.history button>span{color:#8a788f;max-width:85%;font-size:12px}.history small{color:#b09db0;font-size:10px}.history i{color:#a43577;font-size:11px;font-style:normal;position:absolute;top:20px;right:16px}.user-list>div{border-bottom:1px solid #eee6ef;justify-content:space-between;align-items:center;padding:13px 0;display:flex}.user-list small{color:#9e8ca2;margin-top:5px;font-size:10px;display:block}.user-list button{font-size:10px}.user-list{margin-bottom:25px}.modal hr{border:0;border-top:1px solid #eee4ef;margin:25px 0}@media (width<=1200px){.sidebar{width:190px;padding:20px 12px}main{width:calc(100% - 190px);margin-left:190px}.workspace{grid-template-columns:340px 1fr}.topbar,.brand-section{padding-left:22px;padding-right:22px}.save-status{display:none}.brand-card{padding:17px 12px}.brand-card b{font-size:17px}.preview-heading>span{display:none}.paper-scroll{padding:17px}.topbar h1{font-size:23px}}.condition-choice{margin:15px 0 8px}.condition-choice>span{color:#7c6a82;margin-bottom:8px;font-size:11px;font-weight:700;display:block}.condition-choice>div{gap:8px;display:flex}.condition-choice button{flex:1;padding:10px 5px;font-size:12px}.condition-choice .selected{color:#a02e70;background:#fff4fb;border-color:#ad3277}.new-image{color:#9c86a0;text-align:center;background:#faf6fb;border:1px dashed #ded0df;border-radius:10px;justify-content:center;align-items:center;min-height:130px;padding:20px;font-size:12px;line-height:1.6;display:flex}.new-image p{margin:0}.new-image img{object-fit:contain;max-width:100%;max-height:170px}.custom-row{background:#fcf9fc;border:1px solid #e5d7e4;border-radius:9px;margin-bottom:15px;padding:13px}.custom-row .field{margin-bottom:9px}.custom-row .text-button{padding:0}.custom-row .two{gap:8px}.custom-row input{padding:9px;font-size:12px}.offline small{color:#8e7e98;margin-left:auto;font-size:9px}input[readonly],textarea[readonly]{color:#8b7b91;background:#f8f5f9}:root{font-size:16px}body{font-size:1rem}.field>span{font-size:.875rem}.field input,.field textarea,.field select{font-size:1rem}.form-note,.muted{font-size:.875rem}.nav span{font-size:.9rem}.modal{width:min(540px,95vw)}.modal h2{font-size:1.5rem}.tabs button{font-size:.9rem}.brand-card span{font-size:.8rem}.top-actions button{font-size:.9rem}.topbar h1{font-size:1.6rem}.sidebar-kicker,.eyebrow{font-size:.75rem}.pdf-ready{z-index:50;background:#fff;border:1px solid #e1c7d7;border-radius:12px;align-items:center;gap:12px;max-width:94vw;padding:12px;display:flex;position:fixed;bottom:20px;left:50%;transform:translate(-50%);box-shadow:0 10px 45px #21162540}.pdf-ready span{overflow-wrap:anywhere;font-size:.875rem}.pdf-ready a{color:#fff;white-space:nowrap;background:#a42c70;border-radius:8px;padding:12px;text-decoration:none}.toast{font-size:.9rem}.auth-brand h1{font-size:2.8rem}.auth-card{width:430px}.condition-choice button{min-height:46px}.source,.save-status{font-size:.8rem}.preview-heading b{font-size:.9rem}@media (width<=800px){.auth-shell{display:block}.auth-brand{padding:25px 24px}.auth-brand>img{width:120px;margin-bottom:18px}.auth-brand h1{margin:14px 0;font-size:1.8rem}.auth-brand p,.auth-brand>small{display:none}.auth-card{max-width:90%;padding:28px 0}.sidebar{flex-flow:wrap;align-items:center;gap:5px;width:100%;padding:15px 16px;display:flex;position:relative}.app{display:block}.app-logo{flex-basis:100%;margin-bottom:8px;padding:0 10px 0 0}.app-logo img{width:105px;height:32px}.sidebar-kicker,.side-divider{display:none}.sidebar .nav{margin:0;padding:11px 10px;font-size:1rem}.sidebar .nav span{font-size:.8rem}.sidebar-bottom{justify-content:space-between;align-items:center;gap:12px;width:100%;margin:0;padding:0;display:flex}.offline{gap:5px;margin:8px 0;font-size:.75rem}.offline small{font-size:.75rem}.user-chip{border:0;padding:8px 0;font-size:.8rem}.user-chip small{font-size:.75rem}.user-chip>b{display:none}.logout{padding:10px;font-size:.8rem}main{width:100%;margin:0}.topbar{flex-direction:column;align-items:flex-start;gap:15px;padding:20px 16px 15px}.top-actions{gap:8px;width:100%}.top-actions button{flex:1;min-height:44px;padding:10px 7px}.top-actions .save-status{display:none}.brand-section{padding:0 16px 18px}.section-heading .muted{display:none}.section-heading h2{font-size:1rem}.brand-grid{gap:8px;padding-bottom:5px;display:flex;overflow:auto}.brand-card{flex:0 0 145px;height:88px;padding:15px 12px}.workspace{flex-direction:column;min-height:0;display:flex}.editor{border:0}.model-picker{padding:20px 16px}.model-picker input,.model-picker select{min-height:47px;font-size:1rem}.model-picker>label{font-size:.8rem}.tabs{padding:0 8px}.tabs button{min-height:50px;padding:12px 8px}.form-content{min-height:0;max-height:none;padding:20px 16px}.field{margin-bottom:17px}.field>span{font-size:.875rem}.field input,.field select,.field textarea{padding:13px;font-size:16px}.two{gap:9px}.form-note{font-size:.875rem}.preview-pane{margin-top:5px}.preview-heading{height:55px;padding:0 16px}.paper-scroll{min-height:0;max-height:none;padding:14px}.preview-empty{height:300px}.modal-backdrop{align-items:flex-start;padding:14px 0;overflow-y:auto}.modal{border-radius:14px;width:94vw;max-height:94dvh;padding:27px 20px;overflow-y:auto}.modal.wide{width:94vw}.modal button{min-height:44px}.history button>span{font-size:.875rem}.history small{font-size:.8rem}.history i{font-size:.875rem;position:static}.toast{max-width:none;padding:14px 16px;font-size:.875rem;bottom:14px;left:12px;right:12px}.global{margin:0 16px 15px}.pdf-ready{flex-wrap:wrap;max-width:none;bottom:12px;left:12px;right:12px;transform:none}.pdf-ready span{flex-basis:100%}.pdf-ready a,.pdf-ready button{font-size:.875rem}.auth-card>small{font-size:.8rem}.staff-card small,.staff-card>b{font-size:.875rem}}@media (display-mode:standalone){body{padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}}.menu-toggle{display:none}@media (width<=800px){.sidebar{gap:5px}.app-logo{flex-basis:auto;margin:0;padding:0}.menu-toggle{color:#fff;background:#ffffff12;border-color:#ffffff30;min-height:44px;margin-left:auto;font-size:.875rem;display:block}.sidebar>.nav{display:none}.sidebar.menu-open>.nav{flex-basis:calc(50% - 5px);display:flex}.sidebar-bottom{margin:0;padding:0}.sidebar-bottom .offline{display:none}.user-chip{max-width:75%;padding:5px 0}.user-chip>div{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.user-chip small{margin:0 0 0 8px;display:inline}.brand-grid{scrollbar-width:none}.brand-grid::-webkit-scrollbar{display:none}}
