@font-face{font-family:'Caveat Field';src:url('./assets/fonts/Caveat-Variable.ttf') format('truetype');font-style:normal;font-weight:400 700;font-display:swap}
#modal-root .notepad-overlay{background:rgba(3,8,7,.78);padding:20px}
#modal-root .notepad-modal{width:min(710px,100%);max-width:710px;max-height:calc(100dvh - 40px);overflow:hidden;border-color:#635846;border-top-color:#bc9a63;background:#171c18;box-shadow:0 30px 100px #000b}
#modal-root .notepad-modal .modal-header{padding:17px 25px 14px;border-bottom:0}
#modal-root .notepad-modal .modal-header h2{font-size:21px;letter-spacing:-.02em}
#modal-root .notepad-modal .modal-body{padding:0 18px 23px 20px;overflow:auto}
#modal-root .notepad-modal .modal-footer{padding:13px 23px;gap:12px;flex-wrap:wrap}
#modal-root .notepad-modal .icon-close{min-width:40px;min-height:40px}
.field-notebook{position:relative;box-sizing:border-box;width:100%;min-width:0;padding:0 40px 8px 20px;isolation:isolate}
.field-notebook::before{content:'';position:absolute;inset:6px 38px 2px 14px;z-index:-1;border-radius:2px;background:#655241;transform:rotate(-.7deg);box-shadow:4px 9px 14px #0008}
.field-notebook::after{content:'';position:absolute;inset:4px 39px 5px 19px;z-index:-1;background:#d0b991;transform:rotate(.5deg);border-right:2px solid #e5d7b7}
.notebook-paper{position:relative;overflow:hidden;background:linear-gradient(97deg,#9c825e24 0,transparent 9%,#fff3 47%,#76674918 48%,transparent 49%,#fff2 72%,#7d613722 100%),radial-gradient(ellipse at 97% 6%,#c59c5740,transparent 34%),#e6d8b7;color:#313a3b;padding:23px 24px 12px 37px;border:1px solid #beaa85;border-radius:1px 2px 2px 1px;box-shadow:inset 10px 0 15px #6c573115,inset 0 0 22px #b4925340}
.notebook-paper::after{content:'';position:absolute;right:0;bottom:0;width:24px;height:24px;background:linear-gradient(135deg,transparent 48%,#8f754c35 50%,#f2e5c7 53%,#c9b591 99%);pointer-events:none}
.notebook-print,.notebook-paper-footer{display:flex;justify-content:space-between;gap:15px;color:#635f51;font:8px/1.5 var(--mono,monospace);letter-spacing:.14em}
.notebook-print{padding-bottom:15px;border-bottom:1px solid #5f63522e}
.notebook-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:12px 0 8px}
.notebook-owner{font:600 34px/1.1 'Caveat Field',cursive;color:#1b3b51;transform:rotate(-1deg)}
.notebook-stamp{font:9px/1.25 var(--mono,monospace);letter-spacing:.13em;color:#9a5742;border:2px solid #9a574275;padding:5px 7px;transform:rotate(7deg)}
.notebook-reminder{font:11px/1.5 var(--mono,monospace);color:#5e5c50;margin:13px 0 12px;max-width:400px}
.notebook-order{display:grid;grid-template-columns:repeat(6,1fr);gap:7px;padding-right:8px;margin-bottom:14px}
.notebook-order span{display:block;font:10px/1.7 var(--mono,monospace);color:#736c56;text-align:center;border:1px dashed #8a7d5d70;border-bottom:2px solid #8a7d5d70;border-radius:2px}
.notebook-input-label{display:block;font:9px/1.4 var(--mono,monospace);color:#6a6555;letter-spacing:.05em;margin:0 0 5px}
.notebook-ink{--notebook-line:36px;display:block;box-sizing:border-box;width:100%;min-height:310px;height:clamp(270px,40dvh,390px);resize:vertical;padding:2px 12px 0 10px!important;margin:0!important;border:0!important;border-left:1px solid #ad635d66!important;border-radius:0!important;outline:none;background:repeating-linear-gradient(to bottom,transparent 0,transparent calc(var(--notebook-line) - 1px),#70889144 calc(var(--notebook-line) - 1px),#70889144 var(--notebook-line))!important;background-attachment:local!important;color:#173c57!important;caret-color:#19364d;font:500 29px/var(--notebook-line) 'Caveat Field','Segoe Print',cursive!important;letter-spacing:.025em;tab-size:4;scrollbar-width:thin;scrollbar-color:#ad9e7a transparent;text-shadow:.2px .3px 0 #15374c16;overflow-wrap:anywhere;touch-action:pan-y}
.notebook-ink::placeholder{color:#4961768a;opacity:1}
.notebook-ink:focus-visible{outline:2px solid #446a7c70!important;outline-offset:4px}
.notebook-ink::selection{background:#8ca6ad66;color:#15354b}
.notebook-paper-footer{padding-top:14px;letter-spacing:.08em;font-size:7px}
.notebook-binding{position:absolute;top:24px;bottom:26px;left:8px;width:28px;z-index:3;display:flex;flex-direction:column;justify-content:space-around;pointer-events:none}
.notebook-binding i{display:block;width:27px;height:8px;border-radius:9px;border:1px solid #343830;background:linear-gradient(#bdc0ae,#616c62 36%,#d2d4c2 53%,#3e4a42 85%);transform:rotate(-6deg);box-shadow:0 3px 2px #0007}
.notebook-binding i::after{content:'';display:block;position:absolute;right:-2px;top:-2px;width:11px;height:11px;border-radius:50%;box-shadow:inset 1px 1px 3px #423624aa;background:#71654f35;z-index:-1}
.notebook-pencil{position:absolute;right:20px;top:109px;bottom:57px;width:11px;max-height:350px;background:linear-gradient(90deg,#61491d 0,#d3a54d 22%,#f6cd77 44%,#b28635 78%,#795621 100%);border-radius:3px 3px 0 0;transform:rotate(5deg);box-shadow:3px 5px 5px #0005;pointer-events:none}
.notebook-pencil::before{content:'';position:absolute;left:0;right:0;top:-21px;height:22px;background:linear-gradient(#a96c65 0 60%,#8b9390 62%,#d4d9c7 72%,#6e7b78 86%,#bbc2b5 90%);border-radius:4px 4px 0 0}
.notebook-pencil::after{content:'';position:absolute;left:0;top:100%;border-left:5.5px solid transparent;border-right:5.5px solid transparent;border-top:25px solid #cbb18b}
.notebook-pencil span{position:absolute;left:3.5px;top:calc(100% + 18px);z-index:1;border-left:2px solid transparent;border-right:2px solid transparent;border-top:8px solid #26322e}
.notebook-save-status{font:10px/1.4 var(--mono,monospace);color:#bfcca9}
.notebook-save-status::before{content:'✓';color:#a9c8ac;margin-right:6px}
.notebook-binding-hint{font-size:9px;color:#aaa78e;margin-left:auto}
.notebook-binding-hint kbd{font-size:9px}
@media(max-width:560px){#modal-root .notepad-overlay{padding:9px}#modal-root .notepad-modal{max-height:calc(100dvh - 18px)}#modal-root .notepad-modal .modal-header{padding:13px 16px 10px}#modal-root .notepad-modal .modal-header h2{font-size:18px}#modal-root .notepad-modal .modal-body{padding:0 16px 18px 6px}.field-notebook{padding-left:17px}.notebook-paper{padding:17px 14px 10px 26px}.notebook-print{font-size:6px;letter-spacing:.08em}.notebook-owner{font-size:29px}.notebook-stamp{font-size:7px;padding:4px}.notebook-reminder{font-size:9px}.notebook-order{gap:5px;margin-bottom:11px}.notebook-order span{font-size:9px}.notebook-ink{min-height:240px;height:35dvh;font-size:27px!important;--notebook-line:34px}.notebook-binding{left:5px;width:25px}.notebook-binding i{width:24px}.notebook-pencil{right:18px;width:9px}#modal-root .notepad-modal .modal-footer{padding:11px 15px}.notebook-binding-hint{display:none}.notebook-save-status{font-size:9px}#modal-root .notepad-modal .modal-footer .btn{margin-left:auto;min-height:42px}.notebook-paper-footer{font-size:6px;gap:9px}}
@media(max-height:550px){#modal-root .notepad-modal .modal-header{padding:9px 18px}#modal-root .notepad-modal .modal-header .eyebrow{display:none}#modal-root .notepad-modal .modal-body{padding-bottom:12px}.notebook-paper{padding-top:12px}.notebook-print,.notebook-stamp,.notebook-order{display:none}.notebook-heading{margin-top:0}.notebook-owner{font-size:27px}.notebook-reminder{margin:7px 0}.notebook-ink{min-height:140px;height:32dvh;--notebook-line:31px;font-size:26px!important}.notebook-paper-footer{padding-top:7px}.notebook-pencil{top:70px;bottom:40px}#modal-root .notepad-modal .modal-footer{padding:9px 18px}}
