:root{--yellow:#ffcc00;--black:#161616;--blue:#267ec1}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;color:var(--black);font:16px/1.6 'Malgun Gothic',Arial,sans-serif}button,input,textarea,select{font:inherit}button,a,input,textarea,select{touch-action:manipulation}a{color:inherit;text-decoration:none}button{cursor:pointer;color:inherit;-webkit-appearance:none;appearance:none}select{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid var(--black);outline-offset:5px}.topline{background:var(--black);color:white;text-align:center;padding:7px;font-size:14px}header{max-width:1240px;margin:auto;padding:24px 32px;display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid var(--black)}.brand{font-size:27px;font-weight:900;letter-spacing:-1.5px;white-space:nowrap}.brand span{background:var(--yellow);border:2px solid;padding:0 6px;margin-left:3px}.brand small{display:block;font-size:10px;letter-spacing:3px;margin-top:5px}nav{display:flex;gap:34px;font-weight:700}.button{display:inline-block;background:var(--yellow);border:2px solid var(--black);padding:13px 25px;font-weight:800;box-shadow:4px 4px 0 var(--black);font-size:16px}.button:hover{transform:translate(-1px,-1px)}.black{background:var(--black);color:white;box-shadow:4px 4px 0 var(--yellow)}.small{padding:9px 18px}.hero{max-width:1240px;margin:auto;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:30px;padding:48px 32px 45px}.eyebrow{font-size:14px;font-weight:900;letter-spacing:2px;margin:0 0 13px}h1{font-size:clamp(36px,4.7vw,62px);line-height:1.25;letter-spacing:-3px;margin:12px 0 24px;font-weight:900}mark{background:var(--yellow);color:inherit;padding:0 5px}p{margin:0 0 20px}.intro{font-size:18px}.minor{color:#626262;font-size:13px;margin-top:20px}.art img{width:100%;height:auto;display:block}.ticker{background:var(--yellow);border-block:2px solid;font-size:20px;font-weight:900;letter-spacing:1px;text-align:center;padding:13px;overflow:hidden}.section{max-width:1240px;margin:auto;padding:55px 32px}.sectionhead{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:28px}h2{font-size:32px;line-height:1.4;letter-spacing:-1.5px;margin:0 0 20px;font-weight:900}.sectionhead h2{margin:0}.sectionhead p:last-child{margin-bottom:0}.paperchoices{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.choice{background:white;text-align:left;border:2px solid;padding:20px;color:inherit;transition:transform .15s}.choice.selected{box-shadow:6px 6px 0 var(--black);border-color:var(--black);background:#fffbea}.choice:hover{transform:translateY(-3px)}.choice strong{display:block;font-size:20px;margin-top:20px}.choice small{font-size:14px;color:#555}.sample{height:230px;padding:24px;border:1px solid #d3d3d3;position:relative;background:white}.sample b{font-size:14px}.sample .lines{height:120px;margin-top:22px;background:repeating-linear-gradient(to bottom,transparent 0,transparent 23px,#ddd 24px)}.sample span{position:absolute;bottom:16px;right:20px;font-size:13px;font-weight:900}.sample.yellow{border-top:18px solid var(--yellow)}.sample.blue{border-top:18px solid var(--blue)}.writer-section{background:#f5f5f5;border-block:2px solid;max-width:none;padding-inline:max(32px,calc((100% - 1176px)/2))}.sticker{background:var(--yellow);border:2px solid;padding:8px 18px;transform:rotate(-5deg);font-weight:900;white-space:nowrap}.workspace{display:grid;grid-template-columns:1fr 1fr;gap:34px}.editor label{display:block;font-weight:700;font-size:14px;margin-bottom:18px}input:not([type=file]),select,textarea{display:block;width:100%;background:white;border:1.5px solid #777;border-radius:0;padding:12px;margin-top:7px;font-size:16px}textarea{height:285px;resize:vertical;line-height:1.8}.settings{display:grid;grid-template-columns:1fr 1fr;gap:16px}.meta,.previewhead{display:flex;justify-content:space-between;font-size:14px}.meta{margin-top:-12px;margin-bottom:20px;color:#555}.upload{border:2px dashed #777;background:white;padding:14px}.upload span{display:block;font-size:13px;font-weight:400;margin-top:5px}.upload input{display:block;margin-top:10px;max-width:100%}.photos{display:flex;flex-wrap:wrap;gap:10px}.photo{position:relative}.photo img{width:80px;height:80px;object-fit:cover;border:2px solid}.photo button{display:block;width:100%;background:white;border:1px solid;font-size:13px}.actions{display:flex;gap:16px;flex-wrap:wrap}.preview-pane{min-width:0}.previewhead{margin-bottom:15px}.preview{max-height:760px;overflow:auto;padding:5px 8px 16px}.sheet{position:relative;background:white;border:1px solid #ddd;margin:0 auto 18px;width:100%;aspect-ratio:210/297;padding:8% 8% 12%;box-shadow:3px 3px 0 #ddd;font-family:Arial,'Malgun Gothic',sans-serif;overflow:hidden}.sheet.yellow{border-top:12px solid var(--yellow)}.sheet.blue{border-top:12px solid var(--blue)}.sheet .to{font-size:15px;margin-bottom:20px;font-weight:700}.sheet .body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;font-size:clamp(12px,1.1vw,16px)}.sheet .page-no{position:absolute;bottom:3%;left:0;width:100%;text-align:center;font:12px Arial;color:#777}.steps{display:grid;grid-template-columns:repeat(4,1fr);border:2px solid;margin-top:25px}.steps article{padding:25px;border-right:2px solid}.steps article:last-child{border:0}.steps span{font-size:35px;font-weight:900;color:#777}.steps h3{font-size:20px;margin:10px 0}.steps p{font-size:14px;margin:0}.payment{display:flex;align-items:center;gap:30px;background:var(--yellow);padding:25px;margin-top:25px;border:2px solid}.payment b{white-space:nowrap;font-size:18px}.payment p{margin:0;font-size:14px}footer{padding:40px 32px;background:var(--black);color:white;text-align:center}footer .brand{color:white}footer .brand span{color:black}footer p{margin-top:20px;font-size:14px}footer small{color:#aaa}dialog{width:min(800px,95vw);max-height:90vh;border:3px solid;padding:20px}dialog::backdrop{background:#0009}.modalhead{display:flex;justify-content:space-between;margin-bottom:20px}.modalhead button{background:var(--yellow);border:2px solid;padding:5px 15px}#large-preview .sheet{max-width:620px}#large-preview .body{font-size:18px}#print-area{display:none}@media(max-width:760px){header{padding:20px;gap:10px}.brand{font-size:23px}nav{display:none}.hero{grid-template-columns:1fr;padding:35px 22px;gap:0}.hero .art{max-width:380px;margin:auto}.hero h1{letter-spacing:-2px}.hero .minor{margin-bottom:0}.ticker{font-size:15px;white-space:nowrap}.section{padding:36px 22px}.sectionhead{align-items:start;flex-direction:column;gap:10px}h2{font-size:27px}.paperchoices{gap:10px}.choice{padding:9px}.sample{height:165px;padding:12px}.sample b{font-size:12px}.sample .lines{height:75px}.sample span{font-size:10px;right:8px}.choice strong{font-size:16px}.choice small{font-size:12px}.workspace{grid-template-columns:1fr}.sheet .body{font-size:14px}.steps{grid-template-columns:1fr 1fr}.steps article{border-bottom:2px solid;padding:18px}.steps article:nth-child(2){border-right:0}.steps article:nth-child(3){border-bottom:0}.payment{display:block}.payment b{display:block;margin-bottom:8px}.sticker{display:none}}@page{size:A5;margin:0}@media print{body>*{display:none!important}#print-area{display:block!important}.sheet{width:148mm;height:210mm;aspect-ratio:auto;border:0;box-shadow:none;margin:0;padding:20mm;break-after:page;print-color-adjust:exact;-webkit-print-color-adjust:exact}.sheet .body{font-size:var(--print-size,16pt)!important;line-height:1.8}.sheet .to{font-size:16pt}.sheet.yellow,.sheet.blue{border-top-width:8mm}.sheet:last-child{break-after:auto}}

[hidden]{display:none!important}.flowbar{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid #ccc;padding-bottom:18px;margin-bottom:32px;font-size:14px}.flowbar a{text-decoration:underline}.categories{display:flex;border-block:2px solid;overflow:auto;margin-top:35px}.categories button{border:0;background:white;flex:1;padding:17px 20px;min-width:110px;font-weight:800;white-space:nowrap}.categories button.active{background:var(--yellow)}.catalog-tools{display:flex;align-items:center;gap:24px;margin:20px 0 38px;font-size:14px}.catalog-tools label{display:flex;align-items:center;gap:12px}.catalog-tools select{width:125px;margin:0}.catalog-tools .stock input{width:20px;height:20px;accent-color:var(--black)}#result-count{margin-left:auto}.products{display:grid;grid-template-columns:repeat(3,1fr);gap:38px 26px}.product-card{padding:0;border:0;background:white;text-align:center;color:inherit}.product-image{background:#eee;border:2px solid;padding:30px;aspect-ratio:1.35;display:grid;place-items:center;transition:box-shadow .2s}.product-image.yellow{background:#fff1aa}.product-image.blue{background:#d5eaff}.product-image .sample{width:72%;height:210px;transform:rotate(-3deg);box-shadow:5px 6px 0 #0002;text-align:left}.product-card:hover .product-image{box-shadow:5px 5px 0 var(--black)}.product-card h3{font-size:21px;margin:20px 0 5px}.product-card p{font-size:14px;color:#666;margin:0 0 10px}.product-price{display:block;font-size:17px;font-weight:800;margin:10px 0}.product-tag{display:block;font-size:14px;color:#555;margin-top:10px}.empty{text-align:center;padding:70px 20px;background:#f5f5f5}.empty button{display:block;margin:25px auto 0}#product-modal{max-width:620px;padding:28px}#product-detail .sample{height:310px;max-width:280px;margin:20px auto 30px}#product-detail .lines{height:180px}#product-detail h2{text-align:center;margin-bottom:5px}#product-detail p{text-align:center}#use-product{display:block;margin:25px auto 10px}.selected-paper{display:flex;justify-content:space-between;gap:15px;padding:18px 22px;border:2px solid;background:var(--yellow);margin-bottom:30px}.selected-paper span{font-size:14px}.checkout-layout{display:grid;grid-template-columns:1fr 1fr;gap:40px}.checkout-layout dl{display:grid;grid-template-columns:1fr 1fr;border-top:2px solid}.checkout-layout dt,.checkout-layout dd{margin:0;padding:13px 10px;border-bottom:1px solid #ddd}.checkout-layout dd{text-align:right;font-weight:700}.checkout-layout .payment{margin-bottom:25px}.methods{display:flex;gap:20px}.methods label{border:2px solid;padding:12px 20px}.methods input{accent-color:black}.button:disabled{cursor:not-allowed;opacity:.55;transform:none}.checkout-layout .sheet{max-width:450px}@media(max-width:760px){.flowbar{flex-direction:column;font-size:13px}.products{grid-template-columns:1fr 1fr;gap:26px 14px}.product-image{padding:12px}.product-image .sample{width:85%;height:160px;padding:12px}.product-image .sample .lines{height:70px;margin-top:15px}.product-card h3{font-size:18px}.product-card p{font-size:13px}.catalog-tools{gap:12px;flex-wrap:wrap}.catalog-tools select{width:115px}.checkout-layout{grid-template-columns:1fr}.selected-paper{flex-direction:column;gap:3px}.methods label{padding:10px 12px}.categories button{min-width:90px;padding:14px}.product-price{font-size:15px}}@media(max-width:380px){.products{grid-template-columns:1fr}.product-image .sample{height:210px;width:65%}}

.direct-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:30px}.writing-sidebar label{display:block;font-size:14px;font-weight:700;margin-bottom:18px}.writing-sidebar .button{font-size:14px;padding:9px 16px}.writing-steps{list-style:none;padding:0;margin:30px 0}.writing-steps li{padding:15px 0;border-bottom:1px solid #ddd;color:#777;font-size:14px}.writing-steps .current{font-weight:800;color:black}.writing-toolbar{display:flex;gap:12px;flex-wrap:wrap;align-items:end;padding:16px;background:white;border:2px solid;position:sticky;top:0;z-index:2}.writing-toolbar label{font-size:13px;font-weight:700}.writing-toolbar select{margin:4px 0 0;padding:8px;width:auto;font-size:14px}.writing-toolbar input[type=color]{width:42px;height:39px;padding:3px;border:1px solid;background:white;display:block;margin-top:4px}.format-buttons{display:flex;gap:3px}.format-buttons button{width:35px;height:39px;border:1px solid;background:white}.format-buttons button[aria-pressed=true]{background:var(--yellow)}.editor-hint{font-size:14px;margin:15px 0}.direct-sheet{width:559px;height:794px;background:white;border:1px solid #ddd;position:relative;box-shadow:4px 4px 0 #ddd;overflow:hidden}.direct-sheet.yellow{background:#fffcef;box-shadow:inset 0 0 0 18px var(--yellow),4px 4px 0 #ddd}.direct-sheet.blue{background:#f1f8ff;box-shadow:inset 0 0 0 18px var(--blue),4px 4px 0 #ddd}.direct-to{position:absolute;top:65px;left:75px;font-weight:700}.paper-input{position:absolute;left:75px;top:120px;width:365px;height:330px;border:0!important;padding:0!important;margin:0!important;resize:none;outline:none;overflow:hidden;background:repeating-linear-gradient(to bottom,transparent 0,transparent 37px,#c2c2c2 37px,#c2c2c2 38px)!important;line-height:38px;white-space:pre-wrap;overflow-wrap:break-word;word-break:break-all}.paper-input::placeholder{color:#999}.paper-input:focus{outline:0}.direct-sheet #direct-page-no{position:absolute;bottom:35px;width:100%;text-align:center;font-size:13px;color:#777}#direct-stage{overflow:auto;padding:0 8px 14px 0}.page-controls{display:flex;align-items:center;justify-content:center;gap:20px;margin:20px 0 25px}.page-controls .button{font-size:14px;padding:7px 12px}.writing-main .meta{margin:0 0 20px}.final-sheet{width:559px;height:794px;aspect-ratio:auto;padding:65px 75px;box-sizing:border-box}.final-sheet .to{height:55px;margin:0}.final-sheet .body{width:365px;min-height:330px;white-space:pre-wrap;word-break:break-all;background:repeating-linear-gradient(to bottom,transparent 0,transparent 37px,#c2c2c2 37px,#c2c2c2 38px)}.final-sheet.yellow{background:#fffcef;border:0;box-shadow:inset 0 0 0 18px var(--yellow)}.final-sheet.blue{background:#f1f8ff;border:0;box-shadow:inset 0 0 0 18px var(--blue)}#large-preview .sheet,.checkout-layout .sheet{max-width:none}#large-preview,#checkout-preview{overflow:hidden}@media(max-width:900px){.direct-layout{grid-template-columns:1fr}.writing-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:start}.writing-sidebar .writing-steps{display:none}.writing-sidebar .upload,.writing-sidebar .photos,.writing-sidebar .minor{grid-column:1/-1}.writing-toolbar{gap:8px;padding:10px;position:static}.writing-sidebar>.button{justify-self:end;margin-top:26px}.direct-layout{gap:15px}.writing-main{min-width:0}}@media print{.final-sheet{zoom:1!important;width:148mm;height:210mm;padding:65px 75px}.final-sheet .body{font-size:var(--print-size)!important;line-height:38px!important}.final-sheet.yellow,.final-sheet.blue{border:0}.final-sheet .to{font-size:15px}.final-sheet{break-inside:avoid}}

.paper-input{display:block;white-space:pre-wrap;word-break:break-all;box-sizing:border-box}.paper-input:empty:before{content:attr(data-placeholder);color:#999;pointer-events:none}.paper-input div,.paper-input p,.final-sheet .body div,.final-sheet .body p{margin:0;min-height:38px}.inline-photo{display:block;height:auto;max-width:100%;max-height:340px;object-fit:contain;vertical-align:top;margin:8px 0;cursor:pointer}.image-selected{outline:3px solid var(--blue);outline-offset:2px}.inline-upload{cursor:pointer}.insert-label{display:block;background:var(--yellow);padding:8px 12px;border:1px solid;font-size:14px;height:39px;margin-top:4px}#image-controls{display:flex;align-items:center;gap:15px;padding:10px;border:1px solid;margin-top:10px;flex-wrap:wrap;font-size:14px}#image-controls label{display:flex;align-items:center;gap:8px}#image-controls .button{font-size:13px;padding:5px 10px}.final-sheet .inline-photo{cursor:default}.final-sheet .body{height:330px;overflow:hidden}@media print{.inline-photo{break-inside:avoid;outline:none!important}}

.dispatch-box{background:white;border:2px solid var(--black);padding:16px;margin-bottom:24px}.dispatch-box>span{display:block;font-size:14px;font-weight:800}.dispatch-box strong{display:block;color:#ba3400;font-size:19px;line-height:1.5;margin:12px 0;font-variant-numeric:tabular-nums}.dispatch-box p{font-size:14px;margin:0 0 12px;line-height:1.6}.dispatch-box small{font-size:12px;color:#666}.dispatch-box.closed strong{color:#555}@media(max-width:900px){.dispatch-box{grid-column:1/-1;margin-bottom:0}.dispatch-box strong{font-size:20px}}

.image-frame{position:relative;display:block;width:60%;max-width:100%;margin:10px 0;line-height:0;touch-action:none;cursor:move}.image-frame .inline-photo{display:block;width:100%;height:auto;max-height:340px;margin:0;cursor:move;transform-origin:center}.image-frame.image-selected{outline:2px dashed var(--blue);outline-offset:4px}.resize-handle{display:none;position:absolute;right:-7px;bottom:-7px;width:16px;height:16px;background:var(--yellow);border:2px solid black;cursor:nwse-resize;z-index:1}.image-selected .resize-handle{display:block}.final-sheet .resize-handle{display:none!important}.final-sheet .image-frame{outline:none!important}@media print{.resize-handle{display:none!important}.image-frame{outline:none!important}}

.rotate-handle{display:none;position:absolute;top:-28px;left:calc(50% - 9px);width:18px;height:18px;border-radius:50%;background:var(--yellow);border:2px solid black;cursor:grab;z-index:2}.image-selected .rotate-handle{display:block}.image-frame.image-selected{z-index:1}.final-sheet .rotate-handle{display:none!important}#image-controls{display:none!important}.paper-input{padding-top:0!important}.image-frame{margin-top:32px;margin-bottom:14px}@media print{.rotate-handle{display:none!important}}

.image-delete{display:none;position:absolute;right:-14px;top:-14px;width:25px;height:25px;line-height:20px;padding:0;border:2px solid black;background:white;font-size:20px;cursor:pointer;z-index:2}.image-selected .image-delete{display:block}.final-sheet .image-delete{display:none!important}@media print{.image-delete{display:none!important}}

.print-photo-upload{max-width:720px;border:2px solid;padding:25px;margin:30px 0}.print-photo-upload .upload{display:block;font-weight:700}.print-photo-upload .photos{margin-top:20px}.print-photo-upload .photo img{width:130px;height:150px}.print-photo-upload .minor{margin-bottom:0}

.bottom-zoom{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap;margin:20px 0;background:white;border:1px solid #ccc;padding:13px}.bottom-zoom .button{font-size:14px;padding:7px 13px;box-shadow:2px 2px 0 black}.bottom-zoom output{font-weight:800;min-width:55px;text-align:center;font-variant-numeric:tabular-nums}

.bottom-zoom{justify-content:flex-start}.zoom-slider-label{font-size:15px;font-weight:700;white-space:nowrap}.bottom-zoom input[type=range]{flex:1;min-width:130px;accent-color:#222;width:auto;height:22px;cursor:pointer}.bottom-zoom output{font-size:14px;color:#555}@media(max-width:600px){.zoom-slider-label{order:-3}.bottom-zoom input[type=range]{order:-2}.bottom-zoom output{order:-1}}

/* Keep the editor viewport and controls independent of paper magnification. */
.writing-main{min-width:0;max-width:100%}.writing-toolbar{position:relative;top:auto}
#direct-stage{width:100%;height:clamp(480px,70vh,800px);box-sizing:border-box;overflow:scroll;scrollbar-gutter:stable;overscroll-behavior:auto;contain:layout size; padding:16px;background:#e9e9e9;border:1px solid #ccc}
#direct-sheet{flex:none;margin:0;max-width:none}
@media(max-width:600px){#direct-stage{height:60vh;min-height:360px;padding:10px}}

#direct-stage{overflow:auto;scrollbar-gutter:auto}#direct-stage[hidden]{display:none}.detach-actions{display:flex;gap:12px;margin:0 0 16px}.detach-actions .button{font-size:14px;padding:8px 14px}.detach-actions button[hidden]{display:none}#detached-note{padding:24px;background:white;border:1px solid #ccc}body.paper-window{margin:0;padding:0;background:white;overflow:auto;scrollbar-width:none;overscroll-behavior:contain}body.paper-window::-webkit-scrollbar{display:none}body.paper-window .direct-sheet{margin:0;box-shadow:none;border:0}body.paper-window .direct-sheet.yellow{box-shadow:inset 0 0 0 18px var(--yellow)}body.paper-window .direct-sheet.blue{box-shadow:inset 0 0 0 18px var(--blue)}@media(pointer:coarse),(max-width:600px){#detach-paper,#return-paper{display:none}}

.paper-window-close{position:fixed;right:8px;top:8px;z-index:10;width:30px;height:30px;padding:0;border:0;border-radius:50%;background:#fff;color:#222;font-size:26px;line-height:28px;box-shadow:0 1px 5px #0002;cursor:pointer}

.font-control #font[hidden]{display:none}.font-control>button{display:block;margin-top:4px;padding:8px 10px;min-height:39px;background:white;border:1px solid;font-size:14px}.font-control>button:hover{background:var(--yellow)}#font-picker{width:min(900px,94vw);max-height:90vh;padding:0;border:2px solid #222;background:#f5f5f5}#font-picker::backdrop{background:#0008}.font-picker-head{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;background:var(--yellow)}.font-picker-head h2{margin:0;font-size:24px}.font-picker-head>button{border:0;background:none;font-size:30px}.font-picker-tools{padding:18px 24px;position:sticky;top:0;background:#f5f5f5;z-index:1}#font-search{width:100%;margin:0 0 14px;padding:10px;border:1px solid #aaa;font-size:16px}#font-categories{display:flex;gap:8px}#font-categories button{padding:8px 20px;border:1px solid #222;background:white;font-size:14px}#font-categories button.active{background:#222;color:white}#font-list{padding:0 24px 24px;display:grid;gap:16px;max-height:50vh;overflow:auto}.font-card{display:block;text-align:left;width:100%;background:white;border:2px solid #ddd;padding:20px 24px}.font-card.selected{border-color:#222;box-shadow:inset 5px 0 var(--yellow)}.font-card strong{display:block;font-size:17px}.font-card small{display:block;font-size:13px;color:#666;margin:3px 0 16px}.font-sample{display:block;font-size:32px;line-height:1.6;word-break:keep-all;overflow-wrap:anywhere}.font-card:disabled{cursor:wait;opacity:.6}.font-picker-foot{display:flex;gap:12px;align-items:center;flex-wrap:wrap;position:sticky;bottom:0;background:white;border-top:1px solid #ccc;padding:16px 24px}.font-picker-foot>span{flex:1;font-size:14px}.font-picker-foot .button{font-size:14px;padding:9px 18px}#font-empty{padding:24px}@media(max-width:600px){#font-list{padding:0 12px 18px}.font-card{padding:16px}.font-sample{font-size:26px}.font-picker-head,.font-picker-tools,.font-picker-foot{padding:14px}.font-picker-foot>span{flex-basis:100%}}

#direct-stage{background:transparent;border:0;scrollbar-width:none}#direct-stage::-webkit-scrollbar{display:none}.paper-window-close{width:36px;height:36px;border:2px solid #161616;background:var(--yellow);color:#161616;font-size:28px;font-weight:700;line-height:30px;box-shadow:none}.floating-paper{position:fixed;z-index:20;background:transparent;border:0;padding:0;cursor:move;touch-action:none}.floating-paper .direct-sheet{box-shadow:none;border:0}.floating-paper .direct-sheet.yellow{box-shadow:inset 0 0 0 18px var(--yellow)}.floating-paper .direct-sheet.blue{box-shadow:inset 0 0 0 18px var(--blue)}.floating-paper .paper-input{cursor:text}.floating-paper>.paper-window-close{position:absolute;right:6px;top:6px;left:auto}@media(pointer:coarse),(max-width:600px){#float-paper{display:none}}

.floating-zoom{position:absolute;top:100%;left:0;right:0;height:44px;margin-top:8px;display:flex;align-items:center;gap:10px;padding:5px 8px;background:white;border:2px solid #161616;cursor:default;touch-action:auto}.floating-zoom button{width:30px;height:30px;flex:none;background:var(--yellow);border:1px solid #161616;padding:0;font-size:22px;line-height:26px}.floating-zoom input[type=range]{flex:1;min-width:0;width:auto;margin:0;height:22px;accent-color:#222;cursor:pointer}.floating-zoom output{width:44px;flex:none;font-size:13px;font-weight:700;text-align:center}.floating-zoom button:disabled{opacity:.4}

body.paper-window{overflow:hidden;background:#fff}#popup-paper-stage{height:calc(100vh - 52px);overflow:auto;scrollbar-width:none;overscroll-behavior:auto}#popup-paper-stage::-webkit-scrollbar{display:none}#popup-paper-stage>.direct-sheet{margin:0 auto;box-shadow:none;border:0}#popup-paper-stage>.direct-sheet.yellow{box-shadow:inset 0 0 0 18px var(--yellow)}#popup-paper-stage>.direct-sheet.blue{box-shadow:inset 0 0 0 18px var(--blue)}#popup-zoom-bar{height:52px;display:flex;align-items:center;gap:12px;padding:8px 16px;background:white;border-top:1px solid #ddd}#popup-zoom-bar button{border:1px solid #222;background:var(--yellow);width:30px;height:30px;padding:0;font-size:22px}#popup-zoom-bar input{flex:1;min-width:0;width:auto;height:22px;margin:0;accent-color:#222}#popup-zoom-bar output{width:45px;font-size:14px;font-weight:700;text-align:center}#popup-zoom-bar button:disabled{opacity:.4}.text-color-control{display:grid;grid-template-columns:auto auto;gap:5px 8px;align-items:end}.text-color-control>button{font-size:13px;height:39px;padding:4px 8px;border:1px solid #222;background:white}#text-color-palette{grid-column:1/-1;display:grid;grid-template-columns:repeat(6,18px);gap:5px}#text-color-palette button{width:18px;height:18px;padding:0;border:1px solid #999;border-radius:3px}#text-color-palette button.selected{outline:2px solid #222;outline-offset:1px}

.bottom-zoom[hidden]{display:none}

.text-color-control{position:relative;display:block;align-self:start;font-size:13px;font-weight:700}.text-color-control>#open-text-color{display:block;margin-top:4px;width:42px;height:39px;padding:5px;background:white;border:1px solid #222}.text-color-control>input[hidden]{display:none}#text-color-swatch{display:block;width:100%;height:100%;background:#222}#text-color-menu{position:absolute;top:100%;right:0;width:300px;max-width:90vw;padding:12px;background:white;border:1px solid #aaa;box-shadow:0 5px 18px #0003;z-index:20}#text-color-menu[hidden]{display:none}#color-gradient{height:150px;background-image:linear-gradient(to top,#000,transparent),linear-gradient(to right,#fff,transparent);position:relative;cursor:crosshair;touch-action:none}#color-gradient-point{position:absolute;width:12px;height:12px;border:2px solid white;border-radius:50%;box-shadow:0 0 0 1px #222;transform:translate(-50%,-50%);pointer-events:none}.color-hue-row{display:flex;align-items:center;gap:10px;margin:12px 0}.color-hue-row #pick-text-color{padding:7px 10px;border:2px solid var(--black);border-radius:6px;background:var(--yellow);color:var(--black);font-size:13px;font-weight:800;white-space:nowrap;box-shadow:2px 2px 0 var(--black)}.color-hue-row #pick-text-color:active{transform:translate(1px,1px);box-shadow:1px 1px 0 var(--black)}.color-hue-row #pick-text-color[hidden]{display:none}#color-current{width:28px;height:28px;border:1px solid #aaa;border-radius:50%;flex:none}#color-hue{flex:1;min-width:0;width:auto;height:14px;border-radius:7px;background:linear-gradient(to right,red,yellow,lime,cyan,blue,magenta,red);appearance:none;margin:0}#color-hue::-webkit-slider-thumb{appearance:none;width:18px;height:18px;border:2px solid white;border-radius:50%;background:transparent;box-shadow:0 0 0 1px #888}.color-rgb{display:flex;gap:10px;margin-bottom:12px}.color-rgb label{flex:1;text-align:center}.color-rgb input{width:100%;margin-top:4px;padding:5px;border:1px solid #aaa;font-size:14px}#text-color-menu #text-color-palette{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;border-top:1px solid #ddd;padding-top:12px}#text-color-menu #text-color-palette button{width:100%;height:26px}.writing-toolbar{z-index:30}

.save-strip{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 16px;background:#fff6cc;border:1px solid #161616;margin-bottom:18px;font-size:14px}.save-strip a{font-weight:800}.storage-note{font-size:14px;background:#f6f6f6;padding:16px;border-left:4px solid var(--yellow)}.mailbox-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0}.mailbox-tabs button{border:2px solid #161616;background:white;padding:9px 18px;font-weight:700}.mailbox-tabs button.active{background:var(--yellow)}.mail-card{border:2px solid var(--black);padding:22px;margin-bottom:16px;display:grid;grid-template-columns:1fr auto;gap:20px;background:white}.mail-card h3{margin:8px 0;font-size:21px}.mail-card p{margin:8px 0;color:#555;overflow-wrap:anywhere}.mail-card small{color:#666}.mail-card .actions{align-items:center;gap:12px}.mail-badge{display:inline-block;border:1px solid #161616;background:#fff6cc;padding:3px 10px;font-size:13px;font-weight:800}.mailbox-empty{padding:60px 20px;text-align:center;border:2px dashed #aaa}.mailbox-empty p{margin-top:12px}.status-steps{list-style:none;padding:0;display:grid;gap:12px}.status-steps li{padding:12px 16px;border:1px solid #ccc;color:#777}.status-steps li.done{background:#fff6cc;border-color:#161616;color:#161616;font-weight:800}.tracking-box{background:#f6f6f6;padding:18px}.tracking-box p{margin:6px 0 0;font-size:14px}.danger-link{background:white;border:0;color:#666;padding:8px;text-decoration:underline;font-size:13px}@media(max-width:700px){.mail-card{grid-template-columns:1fr}.mail-card .actions{justify-content:flex-start}}

.nav-account{border:0;background:transparent;font-size:inherit;font-weight:700;padding:0}.prototype-banner{background:#fff6cc;border:1px solid #161616;padding:14px 18px;font-size:14px;margin-bottom:24px}.account-welcome{display:flex;justify-content:space-between;align-items:center;margin:24px 0}.account-welcome h3{margin:0;font-size:24px}.account-welcome p{margin:5px 0;color:#666}.account-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:26px 0}.account-metrics article{border:2px solid #161616;padding:22px;background:white}.account-metrics span,.account-metrics small{display:block}.account-metrics strong{display:block;font-size:30px;margin:8px 0}.account-metrics small{font-size:12px;color:#666}.account-metrics a{font-size:13px;font-weight:800}.account-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:26px 0 18px}.account-tabs button{background:white;border:2px solid #161616;padding:10px 18px;font-weight:700}.account-tabs .active{background:var(--yellow)}.account-panel{border:1px solid #ddd;padding:24px}.account-panel form{max-width:520px}.account-panel label,.account-dialog label,#admin-order-form label{display:block;font-size:14px;font-weight:700;margin-bottom:20px}.empty-account{padding:35px 20px;background:#f8f8f8;text-align:center;color:#666}.social-signup{display:grid;gap:10px}.social-signup button{padding:12px;border:1px solid #bbb;font-weight:700;color:#444;background:white}.social-signup .kakao{background:#fee500;border-color:#fee500}.social-signup .naver{background:#03c75a;color:white;border-color:#03c75a}.social-signup button:disabled{cursor:default}.account-dialog{max-width:500px}.sample-consent{display:flex!important;align-items:center;gap:9px;font-weight:400!important}.sample-consent input{width:auto!important;margin:0!important}.sample-order-box{margin-top:28px;padding:18px;border:1px dashed #777}.sample-order-box p{font-size:13px}.admin-tools{display:flex;gap:16px;margin-bottom:20px}.admin-tools input{flex:1}.admin-tools select{width:200px}.order-card{padding:20px;border:1px solid #bbb;margin-bottom:14px}.order-card h3{margin:8px 0}.order-card p{margin:8px 0;font-size:14px}.order-card .order-meta{color:#666;font-size:13px}.order-card button{margin-top:10px}.order-timeline{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}.order-timeline span{background:#f3f3f3;color:#777;border:1px solid #ddd;padding:5px 10px;font-size:12px}.order-timeline span.done{background:#fff6cc;border-color:#161616;color:#161616}#account-form-error,#admin-order-error{color:#a82020;font-size:14px}#admin-memo{height:90px}header nav{gap:20px;flex-wrap:wrap}#profile-feedback{display:block;margin-top:12px;color:#286c35}@media(max-width:850px){.account-metrics{grid-template-columns:repeat(2,1fr)}.admin-tools{flex-wrap:wrap}.admin-tools select{width:100%}}@media(max-width:500px){.account-metrics article{padding:15px}.account-metrics strong{font-size:25px}.account-panel{padding:16px}.account-welcome{align-items:flex-start;gap:12px}}
.sample-consent[hidden]{display:none!important}.account-dialog label[hidden]{display:none}.account-dialog .account-tabs{margin-top:22px}
@media(max-width:760px){header{flex-wrap:wrap}header nav{display:flex;order:3;width:100%;gap:10px 18px;padding-top:12px;border-top:1px solid #ddd;font-size:14px}}

.receiver-choice{border:1px solid #ccc;background:white;padding:16px;margin-bottom:20px}.receiver-choice h3{margin:0 0 10px}.receiver-choice select{font-size:14px;margin-bottom:12px}.receiver-choice label{font-size:14px;display:block;margin-top:20px}.receiver-choice label input{font-size:14px}.receiver-choice .button{font-size:13px}.address-book-link{display:block;margin-top:16px;font-size:13px;font-weight:700}#selected-recipient-details{background:#f8f8f8;padding:12px;margin-top:10px;font-size:13px;overflow-wrap:anywhere}#selected-recipient-details p{margin:4px 0}.recipient-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}#recipient-form label{display:block;font-size:14px;font-weight:700;margin-bottom:12px}.recipient-postal-box{background:#fff9df;padding:18px;margin:14px 0}.recipient-postal-box strong{display:block;margin-bottom:14px}.recipient-postal-box label input[readonly]{background:#fffdf6}.recipient-postal-box p{margin:10px 0;font-size:13px;color:#666}.recipient-postal-box small{font-size:12px}.envelope-preview{border:2px solid #161616;padding:20px;margin:18px 0;background:white}.envelope-preview span{font-size:12px;color:#777}.envelope-preview p{white-space:pre-line;margin:15px 0 0;font-size:18px;font-weight:700;line-height:1.7}#recipient-form-error{color:#a82020;font-size:14px}#custom-facility-label[hidden]{display:none}.checkout-recipient{padding:18px;background:#fff9df;border:1px solid #ddd;margin-bottom:25px}.checkout-recipient p{margin:5px 0}.recipient-address-card{border:2px solid #161616;padding:20px;margin:16px 0;display:grid;grid-template-columns:1fr auto;gap:20px}.recipient-address-card h3{margin:5px 0}.recipient-address-card p{margin:6px 0;font-size:14px}.recipient-address-card .actions{align-items:center}#recipient-search{margin-bottom:20px}@media(max-width:650px){.recipient-form-grid,.recipient-address-card{grid-template-columns:1fr}.envelope-preview p{font-size:16px}}

.content-options{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin:30px 0}.content-option{position:relative;display:flex;flex-direction:column;gap:8px;border:2px solid #161616;padding:24px;background:white;cursor:pointer}.content-option.selected{background:#fff6cc;box-shadow:4px 4px 0 #161616}.content-option input{position:absolute;right:16px;top:16px;width:20px;height:20px}.content-art{font-size:44px;font-weight:900}.content-option strong{font-size:22px}.content-option small{color:#555}.content-option>span:last-child{font-size:12px;color:#666}.delivery-layout{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin:30px 0}.delivery-layout .receiver-choice{padding:24px;height:100%;margin:0}.sender-form{padding:24px;border:1px solid #ccc;background:white}.sender-form h3{margin-top:0}.sender-form label{display:block;font-size:14px;font-weight:700;margin-bottom:18px}.sender-postcode-row{max-width:180px}.sender-remember{display:flex!important;gap:10px;align-items:center;font-weight:400!important}.sender-remember input{width:auto!important;margin:0!important}.delivery-envelope-preview{padding:24px;border:2px solid #161616;margin:24px 0}.envelope-layout{display:grid;grid-template-columns:1fr 1fr;gap:25px}.envelope-layout p{white-space:pre-line;overflow-wrap:anywhere;margin-top:10px}.envelope-layout small{font-weight:800}#delivery-error{color:#a82020}.writing-sidebar .writing-steps{margin-top:22px}@media(max-width:900px){.content-options{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.delivery-layout,.envelope-layout{grid-template-columns:1fr}.content-options{gap:12px}.content-option{padding:18px}.content-option strong{font-size:19px}}
.backside-layout{display:grid;grid-template-columns:1fr 1fr;gap:40px;margin-top:30px}.backside-options{display:grid;gap:16px;margin-bottom:24px}.backside-option{position:relative;padding:22px 45px 22px 20px;border:2px solid #161616;display:grid;gap:8px;cursor:pointer;background:white}.backside-option.selected{background:#fff6cc;box-shadow:4px 4px 0 #161616}.backside-option strong{font-size:19px}.backside-option span{font-size:14px}.backside-option small{color:#666;font-size:13px}.backside-option input[type=radio]{position:absolute;right:16px;top:20px;width:18px;height:18px;margin:0}.backside-preview{aspect-ratio:210/297;border:1px solid #ddd;max-width:440px;margin:auto;background:white;overflow:hidden}.backside-preview-label{text-align:center;font-size:14px;font-weight:700}.backside-preview img{display:block;width:100%;height:100%;object-fit:contain}#backside-photo-preview[hidden],#backside-default-preview[hidden]{display:none}#backside-default-preview{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px;text-align:center;background:#fffdf3}#backside-default-preview strong{font-size:24px;margin:18px 0}#backside-default-preview p{font-size:14px;color:#777;line-height:1.8}.letter-back-sheet{padding:0!important;position:relative}.letter-back-sheet img{display:block;width:100%;height:100%}#backside-photo-settings>label{display:block;font-size:14px;font-weight:700;margin-bottom:16px}#backside-file-name{font-size:13px;overflow-wrap:anywhere}#backside-error{color:#a82020}@media(max-width:750px){.backside-layout{grid-template-columns:1fr;gap:25px}.backside-preview{max-width:320px}}@media print{.letter-back-sheet{padding:0!important;border:0!important}.letter-back-sheet img{width:100%;height:100%}}
.backside-photo-library{display:flex;flex-wrap:wrap;gap:12px;margin:15px 0}.backside-photo-library article{width:85px;display:grid;gap:5px}.backside-photo-library img{width:85px;height:100px;object-fit:cover;border:1px solid #999}.backside-photo-library small{text-align:center}.backside-photo-library button{background:white;border:1px solid #777;font-size:12px;padding:4px}.backside-apply-options{border:1px solid #ccc;padding:18px;margin:22px 0}.backside-apply-options h3{margin:0 0 12px}.backside-apply-options>label{display:flex;align-items:center;gap:10px;margin:12px 0;font-size:14px}.backside-apply-options input[type=radio],.backside-page-option input[type=checkbox]{width:auto;margin:0}#backside-shared-label{display:block}#backside-shared-label[hidden]{display:none}#backside-page-options{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:16px}.backside-page-option{display:flex;flex-wrap:wrap;align-items:center;gap:8px;background:#f6f6f6;border:1px solid #ccc;padding:12px;font-size:13px}.backside-page-option select{font-size:13px;padding:7px}.backside-price{background:#fff6cc;border:1px solid #161616;padding:13px;font-weight:800;font-size:14px;margin-top:18px}#backside-preview-page{max-width:440px;margin:0 auto 14px}
#open-backside-preview{display:block;margin:18px auto}.backside-help{border:1px solid #ccc;padding:22px;margin-top:28px;background:#fafafa}.backside-help h3{margin:0 0 10px}.backside-help p{font-size:14px}.backside-example-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0 10px}.backside-example-cards small{display:block;text-align:center;font-size:11px;margin-top:8px}.mini-letter{aspect-ratio:210/297;border:1px solid #aaa;padding:12px 8px;background:white;overflow:hidden}.mini-letter b{font-size:12px}.mini-letter p{font-size:9px;margin-top:16px}.mini-letter i{display:block;border-bottom:1px solid #ccc;margin-top:12px}.mini-design{border:7px solid var(--yellow);text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}.mini-design span{font-size:32px;margin-top:12px}.mini-photo{padding:0}.mini-photo img{width:100%;height:100%;object-fit:cover}.backside-price-examples p{display:flex;flex-direction:column;margin:10px 0;padding:10px;background:white;border:1px solid #ddd;font-size:13px}.backside-price-examples span{margin-top:4px}.photo-admission-note{border-left:4px solid #c99100;background:#fff6cc;padding:15px;margin-top:20px}.photo-admission-note strong{font-size:14px}.photo-admission-note p{font-size:13px;line-height:1.8;margin:8px 0 0}.backside-view-dialog{max-width:600px}#backside-view-sheet{aspect-ratio:210/297;background:white;border:1px solid #ddd;max-height:70vh;margin:auto;display:flex;align-items:center;justify-content:center}#backside-view-sheet img{width:100%;height:100%;display:block}#backside-view-sheet p{padding:30px;text-align:center;color:#777}.backside-page-view{border:1px solid #161616;background:var(--yellow);font-size:12px;padding:5px 9px}
#backside-view-sheet{width:min(100%,49.49vh);max-height:none}

.backside-preview,#backside-view-sheet,.letter-back-sheet{position:relative;overflow:hidden}.back-photo-editable img{cursor:move;touch-action:none;user-select:none}.back-photo-tools{position:absolute;inset:0;pointer-events:none}.back-photo-tools small{position:absolute;left:8px;bottom:8px;background:#fff9;padding:5px;font-size:12px}.back-photo-handle{display:none;position:absolute;width:22px;height:22px;background:#ffe23b;border:2px solid #111;pointer-events:auto;touch-action:none;z-index:3}.back-photo-selected .back-photo-handle{display:block}.back-photo-handle.nw{left:3px;top:3px;cursor:nwse-resize}.back-photo-handle.ne{right:3px;top:3px;cursor:nesw-resize}.back-photo-handle.sw{left:3px;bottom:3px;cursor:nesw-resize}.back-photo-handle.se{right:3px;bottom:3px;cursor:nwse-resize}.back-photo-reset{position:absolute;right:8px;top:8px;pointer-events:auto;background:#ffe23b;border:2px solid #111;padding:6px;font-weight:700}.back-photo-selected{outline:2px solid #111}@media print{.back-photo-tools{display:none}}

.back-photo-rotate{display:none;position:absolute;top:10px;left:50%;transform:translateX(-50%);width:34px;height:34px;border-radius:50%;border:2px solid #111;background:#ffe23b;font-size:24px;pointer-events:auto;touch-action:none;cursor:grab}.back-photo-selected .back-photo-rotate{display:block}

.back-photo-rotate{width:44px;height:44px;border:3px solid #111;box-shadow:3px 3px 0 #111;padding:8px;line-height:1;align-items:center;justify-content:center}.back-photo-selected .back-photo-rotate{display:flex}.back-photo-rotate svg{display:block;width:24px;height:24px;flex:none}.back-photo-handle{border-width:3px}

#backside-help-dialog{width:min(760px,calc(100vw - 28px));max-height:90dvh;padding:0;border:3px solid #111;box-shadow:7px 7px 0 #111;background:#fff}#backside-help-dialog::backdrop{background:#0008}.backside-help-scroll{overflow:auto;max-height:calc(90dvh - 92px)}#backside-help-dialog .backside-help{margin:0;border:0;background:#fff;padding:24px}.backside-help-actions{display:flex;justify-content:flex-end;gap:12px;padding:14px;border-top:3px solid #111;background:#ffe23b}#open-backside-help{margin-top:20px}@media(max-width:540px){#backside-help-dialog .backside-help{padding:16px}.backside-help-actions{gap:8px;padding:10px}.backside-help-actions .button{padding:10px;font-size:13px}}

#backside-help-dialog,.backside-help-scroll{scrollbar-width:none;-ms-overflow-style:none}#backside-help-dialog::-webkit-scrollbar,.backside-help-scroll::-webkit-scrollbar{display:none;width:0;height:0}

#backside-step .backside-layout{align-items:start;margin-top:20px}#backside-step .backside-preview-label{margin:0 0 10px;text-align:left}#backside-step #backside-preview-page{margin:0 0 12px}#backside-step #open-backside-help{margin:0}#backside-step .actions{display:flex;align-items:stretch;gap:12px;flex-wrap:wrap}#backside-step .actions .button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 20px;font-size:15px;line-height:1.3;margin:0}#backside-step .backside-preview{margin-top:0;width:min(100%,360px);margin-left:auto;margin-right:auto}#backside-step #open-backside-preview{margin-top:14px}@media(max-width:750px){#backside-step .backside-preview{width:min(100%,320px)}#backside-step .actions{gap:10px}#backside-step .actions .button{padding:12px 16px}}

.mypage-shortcuts{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0}.nav-account[hidden]{display:none!important}

#backside-step .backside-layout{grid-template-columns:minmax(0,1fr) minmax(300px,400px);gap:44px}#backside-step .backside-preview-panel{width:100%;max-width:400px;justify-self:end;display:grid;grid-template-columns:1fr;gap:12px}#backside-step .backside-preview-label{margin:0;font-size:16px}#backside-step #backside-preview-page{width:100%;max-width:none;margin:0}#backside-step .backside-preview{width:100%;max-width:none;margin:0;box-sizing:border-box}#backside-step #open-backside-preview{margin:0;justify-self:center}#backside-step #backside-default-preview{padding:20px}#backside-step #backside-default-preview strong{font-size:20px}#backside-step .backside-preview-panel .backside-preview-label{line-height:1.3}@media(max-width:750px){#backside-step .backside-layout{grid-template-columns:minmax(0,1fr);gap:24px}#backside-step .backside-preview-panel{justify-self:center;width:min(100%,360px)}}

#letter-workflow{display:grid;grid-template-columns:240px minmax(0,1fr);gap:32px;max-width:1240px;margin:auto;padding:36px 32px;align-items:start}#letter-workflow[hidden]{display:none}#letter-workflow>.writing-sidebar{position:sticky;top:24px;background:#f5f5f5;padding:16px;min-width:0}#letter-workflow .workflow-main{min-width:0}#letter-workflow .workflow-main>.section{padding:0;max-width:none;border:0;background:transparent}#letter-workflow .direct-layout{display:block}#letter-workflow .writing-steps{display:block;margin:22px 0 0}#letter-workflow .writing-steps li{padding:0;border:0;margin:8px 0}#letter-workflow .writing-steps button{display:block;text-align:left;width:100%;padding:13px 12px;border:2px solid transparent;background:transparent;font:inherit;color:#333;cursor:pointer}#letter-workflow .writing-steps button:disabled{color:#888;cursor:default}#letter-workflow .writing-steps .current button{background:#ffe23b;border-color:#111;box-shadow:3px 3px 0 #111;font-weight:800;color:#111}#letter-workflow .backside-layout{grid-template-columns:minmax(0,1fr) minmax(260px,340px);gap:24px}#letter-workflow .backside-preview-panel{max-width:340px}@media(max-width:1000px){#letter-workflow{grid-template-columns:210px minmax(0,1fr);padding:28px 22px;gap:22px}#letter-workflow .backside-layout{grid-template-columns:1fr}}@media(max-width:750px){#letter-workflow{grid-template-columns:1fr;padding:24px 18px}#letter-workflow>.writing-sidebar{position:static;display:block}#letter-workflow .writing-steps{display:flex;gap:8px;overflow:auto;scrollbar-width:none}#letter-workflow .writing-steps li{flex:0 0 auto}#letter-workflow .writing-steps button{white-space:nowrap;padding:10px}#letter-workflow .dispatch-box{margin-bottom:0}#letter-workflow .backside-preview-panel{justify-self:center}}

/* A5 art is shared by writing, detached window and print output. */
.direct-sheet,.final-sheet{width:559px;height:794px;background-size:100% 100%;background-repeat:no-repeat;padding:0;}
.paper-input,.final-sheet .body{position:absolute;left:140px;top:100px;width:365px;height:330px;min-height:0;background:transparent!important;line-height:24px;overflow:hidden;}
.paper-input div,.paper-input p,.final-sheet .body div,.final-sheet .body p{min-height:24px;}
.direct-to,.final-sheet .to{display:none}.direct-sheet #direct-page-no,.final-sheet .page-no{bottom:12px;font-size:12px;}
.paper-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%;}
.paper-pair figure{margin:0;min-width:0}.paper-pair img{display:block;width:100%;aspect-ratio:148/210;object-fit:contain;background:white;border:1px solid #ddd;}.paper-pair figcaption{text-align:center;font-size:14px;margin-top:8px;color:#666;}
.product-image{height:auto;padding:16px!important}.product-image .paper-pair{transform:none}.products{grid-template-columns:repeat(3,minmax(0,1fr))}.product-card{text-align:left}.product-card .product-tag{position:static;display:inline-block;margin-top:12px}
#product-detail>.paper-pair{max-width:620px;margin:0 auto 24px}
.home-banner{max-width:1240px;margin:24px auto 0;padding:45px 56px;background:#ffe23b;border:2px solid #111;min-height:360px;grid-template-columns:1fr 1fr;overflow:hidden}.home-banner h1{font-size:52px}.home-banner mark{background:white}.banner-papers{display:flex;align-items:center;justify-content:center;gap:24px}.banner-papers img{width:190px;height:269px;object-fit:contain;box-shadow:8px 8px 0 #111;transform:rotate(-7deg)}.banner-papers img+img{transform:rotate(7deg)}
.home-notice-strip{max-width:1240px;margin:0 auto;background:#fff;border:0;border-bottom:1px solid #ddd;padding:22px;display:flex;justify-content:space-around;gap:20px;font-size:15px;letter-spacing:0}.home-notice-strip b{margin-right:14px}.home-catalog{padding-top:70px;padding-bottom:70px;border:0}#home-papers{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 24px}.home-paper-card{background:transparent;border:0;padding:0;text-align:left;cursor:pointer}.home-paper-card:hover img{border-color:#111}.home-paper-card h3{font-size:18px;margin:16px 0 5px}.home-paper-card p{font-size:14px;color:#777;margin:0}.home-cta{background:#ffe23b;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:42px max(24px,calc((100vw - 1140px)/2));border-block:2px solid #111}.home-cta p{margin:0 0 8px}.home-cta h2{font-size:32px;margin:0}#guide{border:0;padding-block:70px}.home-announcements{border:0;padding-top:0}.home-announcements>div{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #ddd;padding:20px 0}.home-announcements span{color:#666;font-size:14px}
@media(max-width:1000px){#home-papers{grid-template-columns:repeat(3,minmax(0,1fr))}.home-banner{margin:20px; padding:32px}.home-banner h1{font-size:40px}.banner-papers img{width:140px;height:199px}.products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){#home-papers{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}.home-banner{grid-template-columns:1fr;padding:28px;gap:30px}.home-banner h1{font-size:36px}.banner-papers img{width:120px;height:170px}.home-notice-strip{flex-direction:column;padding:20px}.home-cta{padding:28px;align-items:start;flex-direction:column}.home-announcements>div{flex-direction:column;gap:8px}.products{grid-template-columns:1fr}.home-paper-card h3{font-size:16px}}
@media print{.final-sheet{width:148mm;height:210mm;padding:0;background-size:100% 100%;print-color-adjust:exact;-webkit-print-color-adjust:exact}.final-sheet .body{line-height:24px!important}.final-sheet.letter-back-sheet{padding:0}}

.paper-input,.final-sheet .body{top:var(--text-top,100px);line-height:var(--line-height,24px)}.paper-input div,.paper-input p,.final-sheet .body div,.final-sheet .body p{min-height:var(--line-height,24px)}@media print{.final-sheet .body{line-height:var(--line-height,24px)!important}}

/* Compact two-sided stationery carousel below the original yellow strip. */
.home-new-papers{padding-top:48px;padding-bottom:48px}.home-new-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}.home-new-heading h2{font-size:28px;margin:0}.home-new-heading .eyebrow{margin-bottom:10px}.home-view-all{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;font-size:16px;font-weight:700;text-decoration:none;color:#111}.home-view-all span{font-size:26px;font-weight:400}
.home-paper-slider{overflow:hidden;padding:0 5px 8px 0}#home-papers{display:flex;gap:24px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;padding:0 0 8px;touch-action:pan-x pan-y}#home-papers::-webkit-scrollbar{display:none}.home-new-papers .home-paper-card{flex:0 0 248px;min-width:0;scroll-snap-align:start;border:0;background:none;padding:0;text-align:left;cursor:pointer}.home-new-papers .paper-pair{padding:20px;box-sizing:border-box;gap:12px;border:3px solid #111;background:#ffe23b;box-shadow:4px 4px 0 #111;border-radius:12px;min-height:200px;align-items:center}.home-new-papers .paper-pair img{width:100%;aspect-ratio:148/210;object-fit:contain;border:1px solid #1113;box-shadow:2px 3px 0 #0002}.home-new-papers .paper-pair figcaption{font-size:12px;margin-top:6px;color:#333}.home-new-papers .home-paper-card:nth-child(5n+2) .paper-pair{background:#bde5d7}.home-new-papers .home-paper-card:nth-child(5n+3) .paper-pair{background:#ffd2ad}.home-new-papers .home-paper-card:nth-child(5n+4) .paper-pair{background:#cce6ff}.home-new-papers .home-paper-card:nth-child(5n+5) .paper-pair{background:#e3d4ff}.home-new-papers .home-paper-card h3{margin:15px 0 5px;font-size:18px}.home-new-papers .home-paper-card p{font-size:14px;margin:0;color:#666}.home-slider-controls{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.home-slider-controls button{width:40px;height:40px;display:grid;place-items:center;border:2px solid #111;background:#ffe23b;border-radius:50%;font-size:28px;line-height:1;cursor:pointer}.home-slider-controls button:disabled{opacity:.3;cursor:default}
@media(max-width:650px){.home-new-papers{padding:30px 22px}.home-new-heading{align-items:center;gap:10px}.home-new-heading h2{font-size:22px}.home-view-all{font-size:14px}#home-papers{gap:12px}.home-new-papers .home-paper-card{flex-basis:clamp(146px,40vw,164px)}.home-new-papers .paper-pair{padding:10px;gap:7px;min-height:128px}.home-new-papers .home-paper-card h3{font-size:16px}.home-new-papers .eyebrow{font-size:12px}}

.personal-menu-trigger{width:44px;height:44px;flex-shrink:0;display:grid;place-items:center;background:#ffe23b;color:#111;border:2px solid #111;box-shadow:3px 3px 0 #111;cursor:pointer}.personal-menu-trigger svg{width:25px;height:25px}.personal-menu{position:fixed;inset:0 0 0 auto;margin:0 0 0 auto;width:min(340px,90vw);height:100dvh;max-height:none;max-width:90vw;box-sizing:border-box;border:0;border-left:3px solid #111;border-radius:0;padding:28px;background:white;box-shadow:-8px 0 0 #0001}.personal-menu[open]{animation:personal-menu-in .18s ease-out}.personal-menu::backdrop{background:#0006}.personal-menu-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:24px;border-bottom:2px solid #111}.personal-menu-head h2{font-size:24px;margin:0}.personal-menu-head button{width:36px;height:36px;border:2px solid #111;border-radius:50%;background:#ffe23b;color:#111;font-size:26px;line-height:1;cursor:pointer}.personal-menu .nav-account{display:block;width:100%;margin:24px 0 8px;padding:14px;border:2px solid #111;background:#ffe23b;color:#111;font-size:16px;font-weight:700;text-align:left}.personal-menu nav{display:flex;flex-direction:column;gap:0;margin-top:16px}.personal-menu nav a{display:block;padding:20px 0;border-bottom:1px solid #ddd;color:#111;text-decoration:none;font-weight:700;font-size:17px}.personal-menu nav a:hover{background:#fff8c7}@keyframes personal-menu-in{from{transform:translateX(100%)}to{transform:translateX(0)}}@media(prefers-reduced-motion:reduce){.personal-menu[open]{animation:none}}

#guide .usage-steps{list-style:none;padding:0;margin:32px 0 0;display:grid;gap:16px}#guide .usage-steps li{display:flex;align-items:center;gap:24px;border:2px solid #111;padding:24px;background:white;box-shadow:4px 4px 0 #111}#guide .usage-number{display:grid;place-items:center;flex:0 0 66px;height:66px;border:2px solid #111;border-radius:50%;background:#ffe23b;font-size:24px;font-weight:900}#guide .usage-steps h3{font-size:21px;margin:0 0 8px}#guide .usage-steps p{font-size:16px;line-height:1.6;margin:0;color:#555}#guide .usage-steps small{display:block;font-size:14px;line-height:1.6;margin-top:10px;color:#666}@media(max-width:650px){#guide .usage-steps li{padding:20px 16px;gap:16px;align-items:flex-start}#guide .usage-number{flex-basis:46px;height:46px;font-size:18px}#guide .usage-steps h3{font-size:18px}#guide .usage-steps p{font-size:15px}}

.home-new-papers .paper-pair{border:3px solid #111;box-shadow:none}

.backside-preview:not(.back-photo-editable){touch-action:pan-y}.backside-preview:not(.back-photo-editable) img{pointer-events:none;touch-action:pan-y}.backside-preview:not(.back-photo-editable) .back-photo-tools{display:none}.back-photo-edit-toggle{justify-self:center;margin:0 auto}#backside-view-sheet img{object-fit:contain;pointer-events:none}

#home-papers{scroll-snap-type:none;scroll-behavior:auto}

#guide{max-width:1440px}#guide .usage-steps{grid-template-columns:repeat(5,minmax(0,1fr));gap:28px;margin-top:48px}#guide .usage-steps li{border:0;box-shadow:none;padding:0;gap:14px;align-items:flex-start}#guide .usage-icon{width:72px;height:72px;object-fit:contain;flex:0 0 72px}#guide .usage-number,#guide .usage-steps li .usage-number{display:block;background:none;border:0;border-radius:0;height:auto;font-size:16px;line-height:1.4;margin-bottom:8px;font-weight:900}#guide .usage-steps h3{font-size:18px;line-height:1.45;margin-bottom:14px}#guide .usage-steps p{font-size:15px;line-height:1.7}#guide .usage-steps small{font-size:13px}@media(max-width:1150px){#guide .usage-steps{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:32px}}@media(max-width:750px){#guide .usage-steps{grid-template-columns:1fr;gap:28px;margin-top:32px}#guide .usage-icon{width:88px;height:88px;flex-basis:88px}#guide .usage-steps li{gap:20px;padding:0}#guide .usage-steps h3{font-size:19px;margin-bottom:8px}#guide .usage-steps p{font-size:16px}}

#guide .usage-steps li{display:grid;grid-template-columns:64px minmax(0,1fr);gap:14px}#guide .usage-icon{width:64px;height:80px;max-width:100%;object-fit:contain}#guide .usage-steps li>div{min-width:0}#guide .usage-steps h3{min-height:3em;word-break:keep-all;overflow-wrap:break-word}#guide .usage-steps p,#guide .usage-steps small{word-break:keep-all;overflow-wrap:break-word}@media(max-width:750px){#guide .usage-steps li{grid-template-columns:88px minmax(0,1fr);gap:20px}#guide .usage-icon{width:88px;height:88px}#guide .usage-steps h3{min-height:0}}

.back-guide-banner{padding-block:32px}.back-guide-banner>button{width:100%;padding:36px 48px;background:#ffe23b;border:3px solid #111;border-radius:16px;display:flex;align-items:center;justify-content:space-between;gap:28px;text-align:left;color:#111;cursor:pointer;font:inherit}.back-guide-banner h2{font-size:32px;margin:0 0 14px}.back-guide-banner .eyebrow{margin:0 0 12px}.back-guide-banner img{width:220px;height:220px;object-fit:contain;border-radius:16px}.back-guide-banner .button{display:inline-block;margin-top:12px}.notice-list{margin-top:32px;border-top:3px solid #111}.notice-list details{border-bottom:2px solid #111}.notice-list summary{display:flex;gap:16px;align-items:center;cursor:pointer;padding:24px 12px;list-style:none}.notice-list summary::after{content:'+';font-size:26px;margin-left:auto}.notice-list details[open] summary::after{content:'−'}.notice-tag{background:#ffe23b;border:1px solid #111;padding:5px 10px;white-space:nowrap;font-size:14px}.notice-list details>div{padding:8px 24px 24px;background:#fafafa;line-height:1.8}.back-guide-instructions{padding-left:22px;font-size:15px;line-height:1.8}.back-guide-instructions li{margin:8px 0}@media(max-width:650px){.back-guide-banner>button{padding:24px;gap:16px}.back-guide-banner h2{font-size:24px}.back-guide-banner img{width:90px;height:110px}.back-guide-banner p{font-size:14px}.notice-list summary{gap:10px;padding:20px 0}.notice-list summary strong{font-size:16px}.notice-tag{font-size:12px;padding:5px}}

#catalog .product-image{background:#fff5bf}@media(max-width:650px){#catalog .products{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}#catalog .product-card{min-width:0}#catalog .product-image{padding:10px;min-height:0}#catalog .paper-pair{gap:7px;width:100%;min-width:0}#catalog .paper-pair figure{min-width:0}#catalog .paper-pair img{max-width:100%;height:auto}#catalog .product-card h3{font-size:16px;line-height:1.45;margin-top:14px}#catalog .product-card p{font-size:13px;line-height:1.5;word-break:keep-all}#catalog .product-price{font-size:14px}#catalog .product-tag{font-size:13px}#catalog .catalog-tools{gap:12px;flex-wrap:wrap}}

#catalog .catalog-feature{margin-top:48px;padding-bottom:40px;border-bottom:2px solid #111}#catalog .catalog-feature h3{font-size:26px;margin:10px 0 24px}#catalog .catalog-feature .products{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}#catalog .catalog-feature .product-image{padding:14px}#catalog .catalog-feature .product-card h3{font-size:18px;margin:16px 0 6px}#catalog .catalog-category-heading{font-size:26px;margin-top:48px}@media(max-width:750px){#catalog .catalog-feature .products{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}#catalog .catalog-feature .product-image{padding:10px}#catalog .catalog-feature .product-card h3{font-size:16px}}

@media(min-width:1001px){#backside-step .backside-layout{margin-top:44px}#backside-step .backside-preview-panel{position:relative;align-self:start}#backside-step .backside-preview-panel .backside-preview-label{position:absolute;left:0;bottom:calc(100% + 12px);margin:0;line-height:1.3}#backside-step #backside-preview-page{margin:0}}

@media(min-width:1001px){#letter-workflow #backside-step .backside-layout{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:28px}#letter-workflow #backside-step .backside-preview-panel{width:100%;max-width:none;justify-self:stretch}#backside-step .backside-option{padding:20px 42px 20px 18px}#backside-step .backside-option strong{font-size:18px}#backside-step .backside-option span,#backside-step .backside-option small{word-break:keep-all;overflow-wrap:break-word}#backside-step .actions{gap:10px}#backside-step .actions .button{padding:12px 16px}}

.back-guide-banner>button{padding:38px 48px;min-height:310px;overflow:hidden;gap:20px;border-radius:20px}.back-guide-banner>button>div{position:relative;flex:1;min-width:0}.back-guide-banner h2{font-size:36px;line-height:1.25;letter-spacing:-1px;margin:0 0 16px}.back-guide-banner .eyebrow{font-size:13px;letter-spacing:2px}.back-guide-banner p{font-size:16px;line-height:1.65;margin:0}.back-guide-banner img{width:43%;height:270px;object-fit:contain;border-radius:0;flex:none}.back-guide-banner .button{border-radius:999px;padding:13px 22px;margin-top:22px;box-shadow:none;font-size:15px}.back-guide-banner>button:hover .button{background:white;color:#111}@media(max-width:650px){.back-guide-banner>button{padding:26px 22px;min-height:260px;position:relative;gap:8px;align-items:center}.back-guide-banner>button>div{flex:0 0 61%;z-index:1}.back-guide-banner h2{font-size:26px;letter-spacing:-.7px}.back-guide-banner p{font-size:14px}.back-guide-banner .eyebrow{font-size:11px}.back-guide-banner img{width:47%;height:190px;margin-left:-12%}.back-guide-banner .button{font-size:13px;padding:10px 14px;white-space:nowrap}}

.back-guide-banner>button{background:linear-gradient(115deg,#fffdf7 0%,#fffdf7 54%,#e6f4ee 100%);border-radius:24px;padding:40px 48px;position:relative}.back-guide-banner .eyebrow{display:inline-block;background:#ffe23b;border:2px solid #111;border-radius:999px;padding:6px 12px;letter-spacing:1.5px;margin-bottom:18px}.back-guide-banner h2 span{background:linear-gradient(transparent 68%,#ffe23b 68%,#ffe23b 94%,transparent 94%)}.back-guide-banner p{color:#515954}.back-guide-banner img{width:46%;height:300px}.back-guide-banner .button{background:#ffe23b;color:#111;border:2px solid #111;box-shadow:3px 3px 0 #111}.back-guide-banner>button:hover .button{background:#111;color:white}@media(max-width:650px){.back-guide-banner>button{padding:28px 22px;background:linear-gradient(115deg,#fffdf7 20%,#e6f4ee 100%)}.back-guide-banner .eyebrow{font-size:10px;padding:5px 9px;letter-spacing:1px;margin-bottom:14px}.back-guide-banner img{width:49%;height:210px}.back-guide-banner h2{font-size:25px}.back-guide-banner .button{font-size:12px;padding:10px 12px}}

body.letter-writing .topline,body.letter-writing header nav,body.letter-writing footer{display:none}body.letter-writing header{padding-block:14px}body.letter-writing #write>.sectionhead,body.letter-writing #write>.flowbar,body.letter-writing #selected-paper{display:none}body.letter-writing #write .writing-main{max-width:760px;margin:auto;display:flex;flex-direction:column}body.letter-writing #write .save-strip{max-width:760px;margin:0 auto 12px;padding:0;border:0;font-size:13px}body.letter-writing #write .writing-toolbar{order:1;position:sticky;top:8px;border:1px solid #111;border-radius:10px;padding:12px;gap:10px;box-shadow:0 3px 10px #0000000d;z-index:5}body.letter-writing #write .detach-actions{order:0;margin:0 0 10px;justify-content:flex-end;gap:8px}body.letter-writing #write .detach-actions .button{padding:7px 12px;font-size:13px;box-shadow:none}body.letter-writing #write .editor-help{order:2;margin:10px 0;font-size:13px;color:#666}body.letter-writing #write .editor-help summary{cursor:pointer}body.letter-writing #write #image-controls{order:2}body.letter-writing #write #direct-stage{order:3;height:820px;max-height:none;min-height:0;display:flex;justify-content:center;align-items:flex-start;padding:12px 8px;background:transparent;border:0;overflow:visible;contain:none}body.letter-writing #write #direct-sheet{box-shadow:0 3px 12px #0002}body.letter-writing #write .page-controls{order:4;margin:12px 0;gap:14px}body.letter-writing #write .meta{order:5;justify-content:center;margin:0 0 12px;font-size:13px}body.letter-writing #write .writing-main>.actions{order:6;justify-content:center;gap:12px}body.letter-writing #write .writing-main>.actions .button{font-size:15px;min-width:120px;padding:12px 20px}body.letter-writing #write .writing-main>.minor{display:none}body.letter-writing #write #detached-note{order:3}@media(max-width:750px){body.letter-writing #letter-workflow{padding:16px 14px}body.letter-writing #letter-workflow>.writing-sidebar .dispatch-box small{display:none}body.letter-writing #letter-workflow>.writing-sidebar .writing-steps{margin:10px 0}body.letter-writing #write #direct-stage{height:calc((100vw - 44px)*1.421 + 24px);padding:12px 4px}body.letter-writing #write .writing-toolbar{gap:7px;padding:10px;top:0}body.letter-writing #write .writing-toolbar label{font-size:12px}body.letter-writing #write .save-strip{font-size:12px}body.letter-writing #write .detach-actions{justify-content:flex-start}}

.home-new-contents{padding-top:24px;padding-bottom:48px}.new-content-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:28px 0}.new-content-card{display:block;min-width:0;color:#111;text-decoration:none}.new-content-cover{height:180px;border:3px solid #111;border-radius:12px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;background:#f9eee7}.new-content-cover>span{font-size:70px;line-height:1;font-weight:700}.new-content-cover>small{font-size:10px;letter-spacing:2px}.content-calendar{background:#e6f2ea}.content-meals{background:#e8eff8}.content-fortune{background:#eee7f7}.new-content-card h3{font-size:20px;margin:16px 0 8px}.new-content-card p{font-size:14px;line-height:1.6;color:#666;margin:0;word-break:keep-all}.new-content-card[href]:hover .new-content-cover{border-color:#9b7300}.content-ready{display:inline-block;font-size:12px;margin-top:14px;padding:5px 9px;border-radius:99px;background:#fff4b8}#contents h2{margin-bottom:16px}#contents>.new-content-grid{margin-top:36px}@media(max-width:750px){.new-content-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}.home-new-contents{padding-top:12px}.new-content-cover{height:145px}.new-content-cover>span{font-size:58px}.new-content-card h3{font-size:17px}.new-content-card p{font-size:13px}.home-new-contents .home-new-heading h2{font-size:21px}}

.header-account{margin-left:auto;font-size:13px;white-space:nowrap}.header-account>div{display:flex;align-items:center;gap:12px}.header-account button{padding:4px 0;border:0;background:none;color:#111;font:inherit;cursor:pointer}.header-account a{color:#111;text-decoration:none;font-weight:700}.header-account button:hover,.header-account a:hover{text-decoration:underline}.menu-account-actions{display:flex;gap:12px;margin-top:24px}.menu-account-actions .button{flex:1;padding:12px;font-size:14px;box-shadow:none}.menu-member-greeting{font-weight:700;margin:24px 0 0}.menu-logout{width:100%;box-shadow:none;font-size:14px;margin-top:12px}body.letter-writing .header-account{display:none}@media(max-width:750px){header{gap:12px;flex-wrap:wrap}.header-account{font-size:12px}.header-account>div{gap:8px}.header-account #header-member-name{max-width:90px;overflow:hidden;text-overflow:ellipsis}.header-account+ .personal-menu-trigger{width:38px;height:38px}}
/* Balanced header navigation and visible account buttons. */
header{gap:24px}.header-account{margin-left:0}.header-account button{border:2px solid #111;border-radius:6px;padding:8px 14px;background:white;font-size:13px;font-weight:700;line-height:1.3;min-height:38px}.header-account #header-signup{background:#ffe23b}.header-account button:hover{background:#fff4b8;text-decoration:none}.header-account #header-logout{background:#ffe23b}.header-account>div{gap:10px}.header-account #header-member-name{margin-right:4px}.personal-menu-trigger{margin-left:0}@media(min-width:901px){header{display:grid;grid-template-columns:minmax(190px,1fr) auto minmax(190px,1fr) 44px}header>nav{justify-content:center;flex-wrap:nowrap;gap:28px}header>.header-account{justify-self:end}body.letter-writing header{display:flex;justify-content:space-between}}@media(max-width:900px){header>nav{order:3;width:100%;justify-content:center;gap:12px 22px}header{flex-wrap:wrap}.header-account{margin-left:auto}.header-account button{padding:7px 10px;font-size:12px}}@media(max-width:500px){header{gap:12px;padding-inline:20px}.header-account{order:4;width:100%;display:flex;justify-content:flex-end}.header-account>div{gap:10px}.personal-menu-trigger{margin-left:auto}body.letter-writing .header-account{display:none}}

.personal-menu .nav-account,.personal-menu .menu-logout,.personal-menu .menu-account-actions .button{display:flex;align-items:center;justify-content:center;text-align:center;min-height:52px;line-height:1.3;padding:12px 14px}.personal-menu nav a{text-align:center}.personal-menu-head #close-personal-menu{display:grid;place-items:center;padding:0;flex:0 0 36px;line-height:1}.personal-menu-head #close-personal-menu svg{display:block;width:20px;height:20px}

/* A5 stationery v2: one shared writing grid for screen and print. */
.paper-input,.final-sheet .body{left:56px;top:var(--text-top,90px);width:447px;height:480px;min-height:0;line-height:var(--line-height,24px)!important;background:transparent!important;padding:0!important;box-sizing:border-box}.paper-input div,.paper-input p,.final-sheet .body div,.final-sheet .body p{margin:0;padding:0;min-height:var(--line-height,24px)}.direct-to,.final-sheet .to{left:56px;top:54px;font-size:14px;margin:0}.direct-sheet #direct-page-no,.final-sheet .page-no{bottom:24px;right:56px}#direct-to:empty{display:none}@media print{.final-sheet{width:148mm;height:210mm;overflow:hidden}.final-sheet .body{left:14.827mm;top:23.804mm;width:118.347mm;height:126.952mm;line-height:var(--line-height,24px)!important}.final-sheet .to{left:14.827mm;top:14.282mm}.final-sheet .page-no{right:14.827mm;bottom:6.347mm}}

/* Keep Enter-created paragraphs on the stationery grid. */
.paper-input div,.paper-input p,.final-sheet .body div,.final-sheet .body p{line-height:var(--line-height,24px)!important;margin:0!important;padding:0!important;border:0;min-height:var(--line-height,24px)}
.letter-page-notice{position:fixed;left:50%;bottom:30px;transform:translateX(-50%);z-index:1000;background:#ffe23b;color:#111;border:2px solid #111;border-radius:8px;padding:12px 20px;font-size:16px;font-weight:700;line-height:1.4;pointer-events:none;max-width:calc(100vw - 32px);text-align:center}.letter-page-notice[hidden]{display:none}

/* Mobile formatting controls scroll in normal document flow. */
@media(max-width:900px),(hover:none) and (pointer:coarse){body.letter-writing #write .writing-toolbar{position:relative;top:auto;z-index:auto;box-shadow:none}}

/* Inline font boxes use the same physical row grid as the stationery. */
.paper-input span[style]:not(.image-frame),.final-sheet .body span[style]:not(.image-frame){vertical-align:top}
.paper-input.custom-caret{caret-color:transparent!important}.letter-caret{position:absolute;width:1.5px;pointer-events:none;z-index:4;animation:letter-caret-blink 1s steps(1,end) infinite}.letter-caret[hidden]{display:none}@keyframes letter-caret-blink{50%{opacity:0}}@media print{.letter-caret{display:none!important}}.font-license-note{font-size:12px;line-height:1.6;color:#666;padding-inline:20px}
.next-letter-dialog{width:min(420px,calc(100vw - 32px));padding:28px;border:3px solid #111;border-radius:12px;background:#fff;color:#111;text-align:center}.next-letter-dialog::backdrop{background:#0006}.next-letter-dialog h2{font-size:22px;line-height:1.4;margin:0 0 14px}.next-letter-dialog p{font-size:16px;line-height:1.6;margin:0 0 22px}.next-letter-dialog .button{min-width:140px;background:#ffe23b;color:#111;border:2px solid #111;font-size:18px;font-weight:700}

.direct-sheet,.final-sheet{background-origin:border-box}

.paper-input:empty::before{content:none}.paper-input.is-empty::before{content:attr(data-placeholder);position:absolute;left:0;top:0;font-family:Arial,"Malgun Gothic",sans-serif;font-size:13px;font-weight:400;font-style:normal;text-decoration:none;line-height:24px;color:#999;pointer-events:none;white-space:nowrap}@media print{.paper-input.is-empty::before{display:none}}

#font-results{max-height:50vh;overflow:auto;overscroll-behavior:contain}#font-list{max-height:none;overflow:visible;padding-bottom:16px}#font-more{display:block;margin:0 auto 24px;min-width:180px;box-shadow:none;text-align:center}#font-more[hidden]{display:none}#font-categories{flex-wrap:wrap}

/* Keep the writing toolbar in normal document flow at every viewport width. */
body.letter-writing #write .writing-toolbar{position:relative!important;top:auto!important;z-index:auto!important;box-shadow:none!important}

@media(max-width:750px){
 body.letter-writing #write .writing-toolbar{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px 6px;padding:10px;border-radius:8px;align-items:end}
 body.letter-writing #write .writing-toolbar>label,body.letter-writing #write .writing-toolbar>.text-color-control{min-width:0;margin:0;font-size:10px;line-height:1.3}
 body.letter-writing #write .writing-toolbar>.font-control{grid-column:span 3}
 body.letter-writing #write .writing-toolbar>.format-buttons{grid-column:span 2;gap:4px}
 body.letter-writing #write .writing-toolbar>label:has(#align){grid-column:span 2}
 body.letter-writing #write .writing-toolbar>label:has(#toolbar-zoom){grid-column:span 3}
 body.letter-writing #write .writing-toolbar>.inline-upload{grid-column:span 2}
 body.letter-writing #write #open-font-picker{width:100%;min-height:32px;height:32px;padding:5px 7px;font-size:12px;line-height:20px;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 body.letter-writing #write .writing-toolbar select{width:100%;height:32px;min-height:32px;font-size:12px;padding:4px 5px;margin-top:3px}
 body.letter-writing #write .format-buttons button{flex:1;min-width:0;width:auto;height:32px;font-size:15px;padding:0}
 body.letter-writing #write .text-color-control>span{font-size:10px}
 body.letter-writing #write #open-text-color{height:32px;min-height:32px;width:100%;padding:4px;margin-top:3px}
 body.letter-writing #write #text-color-swatch{width:100%;height:22px}
 body.letter-writing #write .insert-label{height:32px;min-height:32px;padding:5px 7px;margin-top:3px;font-size:12px;line-height:20px;text-align:center}
 body.letter-writing #write .detach-actions .button{font-size:11px;padding:6px 9px}
 body.letter-writing #write .page-controls{gap:12px}
 body.letter-writing #write .page-controls .button{font-size:12px;padding:7px 10px}
 #font-picker{width:calc(100vw - 24px);max-width:calc(100vw - 24px);max-height:88dvh}
 .font-picker-head,.font-picker-tools,.font-picker-foot{padding:12px}
 .font-picker-head h2{font-size:19px}.font-picker-head>button{font-size:24px}
 #font-search{font-size:14px;padding:8px;margin-bottom:10px}
 #font-total{font-size:12px}#font-categories{gap:5px;margin-top:7px}
 #font-categories button{font-size:12px;padding:6px 10px;min-height:30px}
 #font-list{padding:0 12px 12px;gap:10px}.font-card{padding:12px}
 .font-card strong{font-size:14px}.font-card small{font-size:11px;margin:3px 0 9px}
 .font-sample{font-size:20px;line-height:1.5}
 #font-more{min-width:150px;font-size:12px;padding:8px 14px;margin-bottom:16px}
 .font-picker-foot{gap:8px}.font-picker-foot>span{font-size:12px;flex-basis:100%}
 .font-picker-foot .button{flex:1;font-size:12px;padding:8px 12px;min-width:0}
 .font-license-note{font-size:10px;padding-inline:12px}
}

@media(max-width:750px){
 #letter-workflow>.writing-sidebar{padding:10px;position:static;min-width:0}
 #letter-workflow .writing-sidebar .dispatch-box{padding:10px 12px;margin:0;border-width:1px}
 #letter-workflow .dispatch-box>span{display:block;font-size:11px;line-height:1.4;margin:0}
 #letter-workflow .dispatch-box #dispatch-countdown{display:block;font-size:15px;line-height:1.4;margin:5px 0;font-weight:800}
 #letter-workflow .dispatch-box #dispatch-message{font-size:10px;line-height:1.5;margin:5px 0 0}
 #letter-workflow .dispatch-box small{display:none}
 #letter-workflow .writing-sidebar .writing-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;overflow:visible;margin:10px 0 0;padding:0}
 #letter-workflow .writing-steps li{min-width:0;margin:0;padding:0}
 #letter-workflow .writing-steps button{height:36px;min-height:36px;padding:4px 5px;font-size:11px;line-height:1.25;text-align:center;white-space:normal;word-break:keep-all;border-width:1px}
 #letter-workflow .writing-steps .current button{box-shadow:2px 2px 0 #111}
 body.letter-writing #letter-workflow{gap:12px;padding-top:12px}
}

/* Compact dispatch card with daily progress clock. */
#letter-workflow .dispatch-box{padding:16px;border:2px solid #111;border-radius:10px;background:#fff;--dispatch-fill:0deg}
.dispatch-heading{font-size:20px;font-weight:800;line-height:1.35;word-break:keep-all}
.dispatch-heading>span{display:inline-block;font-size:16px;background:#ffe480;border-radius:6px;padding:4px 9px;margin-top:7px}
.dispatch-time-row{display:flex;align-items:center;gap:12px;border-top:1px solid #222;margin-top:16px;padding-top:15px}
.dispatch-clock{position:relative;flex:0 0 54px;width:54px;height:54px;border:3px solid #111;border-radius:50%;background:conic-gradient(#ef392b var(--dispatch-fill),#fff1bc 0)}
.dispatch-clock:before,.dispatch-clock:after{content:"";position:absolute;left:50%;top:50%;background:#111;border-radius:3px;transform-origin:2px 2px;width:4px}
.dispatch-clock:before{height:20px;transform:translate(-2px,-18px)}.dispatch-clock:after{height:17px;transform:translate(-2px,-2px) rotate(-50deg)}
.dispatch-clock i{position:absolute;left:50%;top:50%;width:8px;height:8px;border-radius:50%;background:#111;transform:translate(-50%,-50%)}
.dispatch-time-text{min-width:0}.dispatch-time-text>span{font-size:14px;font-weight:700;white-space:nowrap}
#letter-workflow .dispatch-box #dispatch-countdown{font-size:27px;line-height:1.2;margin:5px 0 0;color:#e72d22;white-space:nowrap;letter-spacing:-.6px}
#letter-workflow .dispatch-box #dispatch-message{font-size:14px;line-height:1.6;margin:16px 0 12px;word-break:keep-all}
#letter-workflow .dispatch-box small{font-size:12px;line-height:1.6}
#letter-workflow .dispatch-box.closed #dispatch-countdown{color:#555;font-size:22px}
@media(min-width:751px){body.letter-writing #write #direct-stage{height:clamp(320px,calc(100dvh - 330px),650px)}body.letter-writing #letter-workflow{padding-block:20px}body.letter-writing #write .writing-toolbar{padding:8px;gap:8px}}
@media(max-width:750px){#letter-workflow .writing-sidebar .dispatch-box{padding:12px;border-width:1px}.dispatch-heading{font-size:16px}.dispatch-heading>span{font-size:14px;padding:3px 7px;margin-top:4px}.dispatch-time-row{gap:10px;margin-top:9px;padding-top:9px}.dispatch-clock{flex-basis:42px;width:42px;height:42px;border-width:2px}.dispatch-clock:before{height:16px;transform:translate(-2px,-14px)}.dispatch-clock:after{height:13px}.dispatch-time-text>span{font-size:14px}#letter-workflow .dispatch-box #dispatch-countdown{font-size:24px;margin-top:2px}#letter-workflow .dispatch-box #dispatch-message{font-size:14px;margin:9px 0 0}#letter-workflow .dispatch-box.closed #dispatch-countdown{font-size:20px}}
@media(min-width:751px){.dispatch-time-row{gap:8px}.dispatch-clock{flex-basis:40px;width:40px;height:40px;border-width:2px}.dispatch-clock:before{height:16px;transform:translate(-2px,-14px)}.dispatch-clock:after{height:13px}#letter-workflow .dispatch-box #dispatch-countdown{font-size:23px}.dispatch-time-text>span{font-size:14px;white-space:normal;word-break:keep-all}}
@media(min-width:751px) and (max-width:1000px){#letter-workflow .dispatch-box{padding:12px}.dispatch-clock{flex-basis:32px;width:32px;height:32px}.dispatch-clock:before{height:13px;transform:translate(-2px,-11px)}.dispatch-clock:after{height:11px}#letter-workflow .dispatch-box #dispatch-countdown{font-size:20px}}

@media(max-width:750px){
 .dispatch-heading{display:flex;align-items:center;gap:8px;font-size:14px;white-space:nowrap}
 .dispatch-heading>br{display:none}
 .dispatch-heading>span{font-size:14px;margin-top:0;padding:3px 7px;white-space:nowrap}
 .dispatch-time-row{margin-top:7px;padding-top:7px;gap:8px}
 .dispatch-clock{flex-basis:32px;width:32px;height:32px}
 .dispatch-clock:before{height:13px;transform:translate(-2px,-11px)}
 .dispatch-clock:after{height:11px}
 #letter-workflow .dispatch-box #dispatch-countdown{font-size:20px}
 #letter-workflow .dispatch-box.closed #dispatch-countdown{font-size:18px}
 #letter-workflow .dispatch-box #dispatch-message{margin-top:7px}
}

#mypage .account-welcome{background:#ffe480;border:1px solid #111;border-radius:12px;padding:24px;margin-bottom:0}#mypage .account-metrics{background:#ffe480;padding:16px 24px 24px;border-radius:0 0 12px 12px;margin-top:-10px}#mypage .account-metrics article{background:#fff;border:1px solid #111;border-radius:8px}.mypage-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0}.mypage-card{position:relative;display:block;text-align:left;color:#111;background:#fff;border:1px solid #ccc;border-radius:12px;padding:24px;min-height:190px;text-decoration:none;font:inherit;cursor:pointer}.mypage-card:hover{border-color:#111;box-shadow:3px 3px 0 #ffe480}.mypage-card h3{font-size:20px;margin:0 0 8px}.mypage-card p{font-size:14px;color:#555;margin:0 0 28px}.mypage-card-icon{position:absolute;right:20px;bottom:20px;font-size:38px;color:#767676}.mypage-card-action{display:inline-block;font-size:14px;border:1px solid #ccc;border-radius:24px;padding:7px 14px}.review-form{max-width:760px;background:#fff;border:1px solid #ccc;border-radius:12px;padding:24px;margin:24px 0}.review-form label{display:block;font-size:14px;font-weight:700;margin:16px 0}.review-form input,.review-form textarea,.review-form select{display:block;width:100%;margin-top:8px;font:inherit;padding:10px;border:1px solid #888;border-radius:6px}.review-form textarea{resize:vertical}.review-stars{color:#946700;font-size:20px}.review-body{white-space:pre-wrap;overflow-wrap:anywhere}.review-card .actions{margin-top:16px}@media(max-width:750px){.mypage-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}.mypage-card{padding:16px;min-height:165px}.mypage-card h3{font-size:16px}.mypage-card-icon{font-size:26px;right:12px;bottom:16px}.mypage-card p{margin-bottom:20px}.mypage-card-action{padding:5px 9px}#mypage .account-welcome{padding:16px}#mypage .account-metrics{padding:14px}.review-form{padding:16px}}

.sent-tools{display:flex;gap:16px;margin:24px 0}.sent-tools label{font-size:14px;flex:1}.sent-tools input,.sent-tools select{display:block;width:100%;padding:10px;margin-top:8px;font:inherit;border:1px solid #aaa;border-radius:6px}.sent-table-wrap{overflow-x:auto}.sent-table{width:100%;border-collapse:collapse;font-size:14px}.sent-table th,.sent-table td{text-align:left;padding:16px 12px;border-bottom:1px solid #ddd}.sent-table th{background:#ffe480;white-space:nowrap}.sent-table small{display:block;margin-top:6px;color:#666;overflow-wrap:anywhere}#sent-detail-dialog{width:min(720px,calc(100vw - 28px));max-height:85dvh;overflow:auto;border:1px solid #111;border-radius:12px;padding:24px}#sent-detail-dialog::backdrop{background:#0006}@media(max-width:750px){.sent-tools{gap:10px}.sent-table{min-width:600px}.sent-table th,.sent-table td{padding:12px 8px}}

.instructions-page{max-width:1100px}.instructions-intro{display:grid;grid-template-columns:1fr 310px;align-items:center;gap:60px;background:#ffe480;border:1px solid #111;border-radius:18px;padding:48px}.instructions-intro h1{font-size:clamp(32px,4vw,52px);line-height:1.25;margin:12px 0 20px}.instructions-intro p{font-size:16px;line-height:1.8}.instructions-intro>img{width:240px;height:auto;justify-self:center;transform:rotate(5deg);box-shadow:8px 10px 0 #1112}.instructions-nav{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0 48px}.instructions-nav a{color:#111;text-decoration:none;border:1px solid #aaa;border-radius:24px;padding:10px 18px;font-size:14px;background:white}.instructions-heading{text-align:center;margin:48px 0}.instructions-heading h2,.instruction-copy h2,.instruction-delivery h2{font-size:clamp(24px,3vw,34px);line-height:1.4}.instruction-step{display:grid;grid-template-columns:1fr 1.15fr;gap:48px;align-items:center;padding:48px 0;border-bottom:1px solid #ddd;scroll-margin-top:24px}.instruction-step.reverse .instruction-visual{order:2}.instruction-visual{background:#f3f3f3;border-radius:16px;min-height:380px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px;gap:16px}.instruction-visual>img{width:205px;height:auto;box-shadow:0 6px 20px #0002}.instruction-visual>span{font-size:14px;color:#555}.instruction-number{display:inline-block;font-size:16px;font-weight:800;background:#ffe480;padding:7px 12px;border-radius:8px}.instruction-copy p,.instruction-copy li,.instruction-delivery li,.instruction-delivery p{font-size:16px;line-height:1.85}.instruction-copy ol,.instruction-delivery ol{padding-left:22px}.instruction-copy li,.instruction-delivery li{margin-bottom:10px}.instruction-note{font-size:14px!important;line-height:1.7!important;background:#f5f5f5;border-left:3px solid #e5bc28;padding:14px 16px;border-radius:0 8px 8px 0}.back-visual{flex-direction:row;gap:16px}.back-visual figure{margin:0;width:45%;text-align:center}.back-visual img{width:100%;aspect-ratio:148/210;object-fit:cover;box-shadow:0 5px 15px #0002}.back-visual figcaption{font-size:14px;margin-top:14px}.photo-visual{background:#fff1bc}.photo-visual>img{width:150px;box-shadow:none}.photo-visual h3{font-size:30px;text-align:center;line-height:1.4;margin:0}.instruction-spec{padding:56px 0;scroll-margin-top:24px}.instruction-spec h2,.instruction-faq h2{font-size:30px}.instruction-table-wrap{overflow-x:auto;margin:24px 0}.instruction-spec table{width:100%;border-collapse:collapse;font-size:14px;background:white}.instruction-spec th,.instruction-spec td{padding:16px;text-align:left;border-bottom:1px solid #ddd;line-height:1.6}.instruction-spec th{background:#ffe480}.instruction-price-example{border:1px solid #ddd;border-radius:12px;padding:24px}.instruction-price-example>div{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.instruction-price-example p{font-size:14px;line-height:1.7;margin:0}.instruction-price-example strong{display:block;font-size:24px;margin-top:8px}.instruction-delivery{display:grid;grid-template-columns:1.3fr 1fr;gap:40px;padding:40px;background:#fff;border:1px solid #111;border-radius:16px;scroll-margin-top:24px}.instruction-delivery aside{background:#ffe480;border-radius:12px;padding:24px}.instruction-delivery aside h3{font-size:26px;line-height:1.5}.instruction-faq{margin:56px 0}.instruction-faq details{border-bottom:1px solid #ddd;padding:20px 0}.instruction-faq summary{cursor:pointer;font-size:16px;font-weight:700}.instruction-faq details p{font-size:16px;line-height:1.8;color:#555}.instruction-bottom{text-align:center;border-top:1px solid #ddd;padding:40px 0}.instruction-bottom h2{font-size:26px}@media(max-width:750px){.instructions-intro{grid-template-columns:1fr;gap:28px;padding:26px}.instructions-intro>img{width:160px}.instructions-nav{gap:8px;margin:16px 0 30px}.instructions-nav a{padding:8px 12px}.instructions-heading{margin:30px 0}.instruction-step{grid-template-columns:1fr;gap:24px;padding:32px 0}.instruction-step.reverse .instruction-visual{order:0}.instruction-visual{min-height:280px;padding:24px}.instruction-visual>img{width:160px}.back-visual img{max-height:240px}.instruction-copy h2{margin-top:14px}.instruction-spec{padding:36px 0}.instruction-spec th,.instruction-spec td{padding:12px 8px}.instruction-spec th:first-child{width:24%}.instruction-price-example{padding:18px}.instruction-price-example>div{grid-template-columns:1fr}.instruction-price-example p{padding:10px 0;border-bottom:1px solid #eee}.instruction-price-example strong{font-size:20px}.instruction-delivery{grid-template-columns:1fr;padding:24px;gap:20px}.instruction-delivery aside{padding:20px}.instruction-faq{margin:36px 0}}

/* Rounded stationery preview frames. */
#catalog .product-image{border-radius:16px;overflow:hidden}
@media(max-width:650px){#catalog .product-image{border-radius:12px}}

#product-modal .product-detail-actions{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;margin-top:24px}
#product-modal .product-detail-actions .button{margin:0;font-size:16px;padding:14px 22px;min-height:48px}
@media(max-width:650px){#product-modal .product-detail-actions{gap:10px;flex-wrap:nowrap}#product-modal .product-detail-actions .button{flex:1;min-width:0;padding:12px 8px;font-size:14px;text-align:center;white-space:nowrap}}

/* Keep the bear illustration clear of the writing grid. */
.direct-sheet.letter08 .paper-input,.final-sheet.letter08 .body{left:140px;width:363px;height:432px}
.direct-sheet.letter08 .direct-to{left:140px}
@media print{.final-sheet.letter08 .body{left:37.066mm;width:96.107mm;height:114.376mm}}

body.letter-writing #write .paper-large-action{order:3;display:flex;justify-content:center;margin:8px 0 12px}
body.letter-writing #write .paper-large-action .button{font-size:14px;padding:9px 18px}

body.letter-writing #write .paper-large-action{gap:12px;align-items:center}
body.letter-writing #write .detach-actions:has(#return-paper[hidden]){display:none}
@media(max-width:750px){body.letter-writing #write .paper-large-action{gap:7px;flex-wrap:nowrap}body.letter-writing #write .paper-large-action .button{font-size:12px;padding:8px 9px;min-width:0;white-space:nowrap}}

@media(max-width:750px){body.letter-writing #write .paper-large-action .button{flex:1;font-size:12px;padding:9px 5px;box-shadow:2px 2px 0 #111}}

@media(max-width:750px){#write #float-paper{display:none}}

/* Match the catalog frames to the home stationery palette. */
#catalog .product-card:nth-child(5n+1) .product-image{background:#ffe23b}
#catalog .product-card:nth-child(5n+2) .product-image{background:#bde5d7}
#catalog .product-card:nth-child(5n+3) .product-image{background:#ffd2ad}
#catalog .product-card:nth-child(5n+4) .product-image{background:#cce6ff}
#catalog .product-card:nth-child(5n+5) .product-image{background:#e3d4ff}

/* Backside controls above the preview, navigation below it. */
#backside-step .backside-preview-panel .backside-preview-label{position:static;margin:8px 0 10px}
#backside-layout-settings{min-width:0}#backside-layout-settings>label{display:block}#backside-layout-settings .minor{margin:12px 0}
#backside-step .backside-preview-toolbar{display:flex;align-items:center;justify-content:center;gap:12px;margin:0 0 16px}
#backside-step .backside-preview-toolbar .button{margin:0;min-width:0;flex:1;padding:11px 8px;font-size:14px}
#backside-step .backside-bottom-actions{display:flex;flex-wrap:nowrap;gap:9px;justify-content:center;margin-top:20px}
#backside-step .backside-bottom-actions .button{min-width:0;padding:11px 9px;font-size:14px;white-space:nowrap}
@media(hover:hover) and (pointer:fine){#catalog .product-image{transform-origin:left center;transition:transform .22s ease,box-shadow .22s ease}#catalog .product-card:hover .product-image{transform:perspective(900px) rotateY(-6deg) rotateZ(-1deg) translateY(-3px);box-shadow:8px 9px 0 var(--black)}}
@media(prefers-reduced-motion:reduce){#catalog .product-image{transition:none}#catalog .product-card:hover .product-image{transform:none}}

#catalog .product-image{box-shadow:4px 5px 0 #18181838,0 7px 14px #18181812}
@media(hover:hover) and (pointer:fine){#catalog .product-card:hover .product-image{box-shadow:8px 9px 0 var(--black),0 12px 20px #18181820}}

/* Fixed catalog frames; lift only the two sheets inside. */
#catalog .product-image{transform:none;box-shadow:none;transition:box-shadow .22s ease}
#catalog .paper-pair img{box-shadow:3px 5px 9px #0003;transform-origin:left center;transition:transform .22s ease,box-shadow .22s ease}
@media(hover:hover) and (pointer:fine){#catalog .product-card:hover .product-image{transform:none;box-shadow:5px 5px 0 var(--black)}#catalog .product-card:hover .paper-pair img{transform:perspective(650px) rotateY(-9deg) rotateZ(-1deg) translateY(-2px);box-shadow:6px 8px 12px #0004}}
@media(prefers-reduced-motion:reduce){#catalog .paper-pair img{transition:none}#catalog .product-card:hover .paper-pair img{transform:none}}

#catalog .product-image{position:relative;isolation:isolate}
#catalog .paper-pair{position:relative;z-index:2}
#catalog .catalog-envelope{position:absolute;z-index:1;width:80%;left:10%;bottom:10%;opacity:0;transform:translateY(85%);transition:transform .3s ease,opacity .25s ease;pointer-events:none;filter:drop-shadow(0 4px 3px #0003)}
#catalog .catalog-envelope svg{display:block;width:100%;height:auto}
@media(hover:hover) and (pointer:fine){#catalog .product-card:hover .paper-pair img{transform:perspective(650px) rotateY(-16deg)}#catalog .product-card:hover .catalog-envelope{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){#catalog .catalog-envelope{transition:none}#catalog .product-card:hover .paper-pair img{transform:none}}

@media(hover:none) and (pointer:coarse){#catalog .product-card:active .product-image{box-shadow:5px 5px 0 var(--black);transform:none}#catalog .product-card:active .paper-pair img{transform:perspective(650px) rotateY(-16deg);box-shadow:6px 8px 12px #0004}#catalog .product-card:active .catalog-envelope{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){#catalog .product-card:active .paper-pair img{transform:none}}

.home-slider-controls button{padding:0;display:flex;align-items:center;justify-content:center}.home-slider-controls button svg{display:block;width:20px;height:20px;flex:none}

#catalog .catalog-envelope{z-index:3;width:40%;left:30%}

@media(hover:none) and (pointer:coarse){#catalog .product-card.mobile-in-view .product-image{box-shadow:5px 5px 0 var(--black);transform:none}#catalog .product-card.mobile-in-view .paper-pair img{transform:perspective(650px) rotateY(-16deg);box-shadow:6px 8px 12px #0004}#catalog .product-card.mobile-in-view .catalog-envelope{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){#catalog .product-card.mobile-in-view .paper-pair img{transform:none}}

.paper-heading-label{display:inline-block;background:#ffe23b;border:2px solid #111;border-radius:9px;padding:8px 15px;box-shadow:3px 3px 0 #111;line-height:1.3}@media(max-width:750px){.paper-heading-label{padding:6px 11px;border-radius:7px}}

.paper-card-badge{position:absolute;right:10px;top:8px;z-index:4;width:32px;height:32px;transform:rotate(20deg);filter:drop-shadow(1px 2px 0 #fff)}.paper-card-badge svg{display:block;width:100%;height:100%}.paper-card-badge.best{color:#e33232}.paper-card-badge.new{color:#15964b}@media(max-width:750px){.paper-card-badge{width:25px;height:25px;right:6px;top:6px}}

.paper-heading-label{position:relative}.paper-heading-icon{position:absolute;right:-15px;top:-19px;width:32px;height:32px;transform:rotate(20deg);filter:drop-shadow(1px 1px 0 white)}.paper-heading-icon svg{width:100%;height:100%;display:block}.paper-heading-icon.best{color:#e33232}.paper-heading-icon.new{color:#15964b}

.paper-heading-icon{width:38px;height:38px;right:-18px;top:-22px;filter:drop-shadow(1px 2px 0 #fff)}.paper-heading-icon.best{color:#f4aaa8}.paper-heading-icon.new{color:#a9dbc0}.paper-heading-icon svg{overflow:visible}

#catalog .catalog-feature>.eyebrow{font-size:16px;margin:0 0 4px;line-height:1.2}#catalog .catalog-feature>h3{margin-top:0}

@media(max-width:750px){#catalog .categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;margin-top:18px}#catalog .categories button{min-width:0;width:100%;padding:9px 5px;font-size:14px;line-height:1.25;min-height:36px}}

@media(max-width:750px){html,body{max-width:100%;overflow-x:clip;overscroll-behavior-x:none}main,#letter-workflow,#write,.editor,.backside-layout,.backside-preview-panel{min-width:0;max-width:100%}body.letter-writing #write .paper-large-action{width:100%;min-width:0}body.letter-writing #write .paper-large-action .button{display:flex;align-items:center;justify-content:center;text-align:center;margin:0}#catalog .product-card{min-width:0}}

@media(min-width:751px){body.letter-writing #write #direct-stage{height:auto;min-height:0;max-height:none}}

@media(min-width:751px){#backside-step .backside-layout{align-items:start;margin-top:44px}#backside-step .backside-preview-panel{position:relative;align-self:start}#backside-step .backside-preview-panel .backside-preview-label{position:absolute;left:0;bottom:calc(100% + 12px);margin:0;line-height:1.3}#backside-step #backside-preview-page{margin-top:0}}

/* Overall site frame, matching the reference's wide centered surface. */
html{background:#f6f6f9}
body{width:calc(100% - 48px);max-width:1560px;margin:20px auto;background:#fff;border:1px solid #e8e8ed;border-radius:24px;min-height:calc(100dvh - 40px);box-shadow:0 4px 20px #18181804}
body>.topline{border-radius:23px 23px 0 0}
@media(max-width:750px){body{width:100%;max-width:100%;margin:0;border:0;border-radius:0;min-height:100dvh}body>.topline{border-radius:0}}
@media print{html{background:white}body{width:100%;max-width:none;margin:0;border:0;border-radius:0;box-shadow:none}}

/* Shared page width matches the home usage guide. */
@media(min-width:751px){
body>header,main .hero,main .section{max-width:1440px;margin-inline:auto;padding-inline:32px}
body #letter-workflow,body.letter-writing #letter-workflow{max-width:1440px;margin-inline:auto;padding-inline:32px}
#letter-workflow .workflow-main>.section{max-width:none;padding-inline:0;margin-inline:0}
main .home-banner{max-width:1376px;margin-inline:auto;padding-inline:56px}
main .home-notice-strip{max-width:1440px;margin-inline:auto;padding-inline:32px}
main .home-cta{padding-inline:max(32px,calc((100% - 1376px)/2))}
}

/* A small desktop header size increase. */
@media(min-width:1001px){
body>header{grid-template-columns:minmax(190px,1fr) auto minmax(190px,1fr) 48px}
body>header>.brand{font-size:29px}
body>header>.brand small{font-size:11px}
body>header>nav{font-size:17px}
body>header>.header-account{font-size:14px}
body>header .header-account button{font-size:14px;padding:9px 15px;min-height:40px}
body>header>.personal-menu-trigger{width:48px;height:48px}
body>header>.personal-menu-trigger svg{width:27px;height:27px}
}

/* Mobile account actions sit directly before the menu button. */
@media(max-width:750px){
body>header{display:grid;grid-template-columns:minmax(0,1fr) auto 38px;align-items:center;gap:12px 8px;padding-inline:16px}
body>header>.brand{grid-column:1;grid-row:1;font-size:clamp(19px,5.4vw,23px);letter-spacing:-1.5px}
body>header>.brand small{font-size:9px;letter-spacing:2px}
body>header>.header-account{grid-column:2;grid-row:1;order:0;width:auto;margin:0;justify-self:end;align-self:center;font-size:11px}
body>header>.header-account>div{gap:5px}
body>header .header-account button{font-size:11px;padding:7px 6px;min-height:34px;white-space:nowrap}
body>header #header-member-name{max-width:65px}
body>header>.personal-menu-trigger{grid-column:3;grid-row:1;margin:0;width:38px;height:38px;align-self:center;transform:translateY(-4px)}
body>header>nav{grid-column:1/-1;grid-row:2;order:0;width:100%;gap:10px 16px}
body.letter-writing header>.personal-menu-trigger{grid-column:3}
}

/* Reserve only the space needed for the mobile size selector arrow. */
@media(max-width:750px){
body.letter-writing #write .writing-toolbar #size{appearance:none;-webkit-appearance:none;padding:4px 13px 4px 3px;min-width:0;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath d='m1 1 3 3 3-3' fill='none' stroke='%23161616' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 3px center;background-size:8px 5px}
}

/* Keep image editing targets finger-sized when the paper is scaled down. */
@media(max-width:750px),(pointer:coarse){
#paper-input .image-frame .resize-handle,#paper-input .image-frame .rotate-handle,#paper-input .image-frame .image-delete{width:var(--image-control-size,44px);height:var(--image-control-size,44px);border-width:var(--image-control-border,2px);touch-action:none;box-sizing:border-box;z-index:5}
#paper-input .image-frame .resize-handle{right:calc(0px - var(--image-control-half,22px));bottom:calc(0px - var(--image-control-half,22px));border-radius:6px}
#paper-input .image-frame .rotate-handle{left:calc(50% - var(--image-control-half,22px));top:calc(0px - var(--image-control-gap,56px))}
#paper-input .image-frame .image-delete{right:calc(0px - var(--image-control-half,22px));top:calc(0px - var(--image-control-half,22px));font-size:var(--image-control-font,24px);line-height:1;border-radius:6px;align-items:center;justify-content:center}
#paper-input .image-frame.image-selected .image-delete{display:flex}
}

/* Smaller visible handles retain a wider invisible touch target. */
#paper-input .image-frame .inline-photo{max-height:none}
@media(max-width:750px),(pointer:coarse){
#paper-input .image-frame .resize-handle::before,#paper-input .image-frame .rotate-handle::before,#paper-input .image-frame .image-delete::before{content:"";position:absolute;inset:calc(0px - var(--image-control-hit,8px));background:transparent}
}

/* Place photos independently across the paper, including its lower area. */
#paper-input,.final-sheet .body{overflow:visible}
.image-frame.image-floating{position:absolute;margin:0}
#paper-input .image-frame .resize-handle,#paper-input .image-frame .rotate-handle,#paper-input .image-frame .image-delete{width:var(--image-control-size,28px);height:var(--image-control-size,28px);border-width:var(--image-control-border,2px);box-sizing:border-box;touch-action:none}
#paper-input .image-frame .resize-handle{right:calc(0px - var(--image-control-half,14px));bottom:calc(0px - var(--image-control-half,14px))}
#paper-input .image-frame .rotate-handle{left:calc(50% - var(--image-control-half,14px));top:calc(0px - var(--image-control-gap,42px))}
#paper-input .image-frame .image-delete{right:calc(0px - var(--image-control-half,14px));top:calc(0px - var(--image-control-half,14px));font-size:var(--image-control-font,20px);line-height:1}

/* Mobile stationery keeps its paper motion without the envelope. */
@media(max-width:750px), (hover:none) and (pointer:coarse){#catalog .catalog-envelope{display:none}}

#product-detail{touch-action:pan-y pinch-zoom}#product-detail .paper-pair img{user-select:none;-webkit-user-drag:none}#product-detail .detail-swipe-hint{font-size:14px;color:#222;font-weight:700;margin:0 0 16px}

.catalog-pagination{display:flex;justify-content:center;gap:8px;margin-top:28px}.catalog-pagination button{width:44px;height:44px;padding:0;border:2px solid #181818;background:#fff;font-weight:800;font-size:16px;cursor:pointer}.catalog-pagination button.active{background:var(--yellow);box-shadow:3px 3px 0 #181818}.catalog-pagination button:focus-visible{outline:3px solid #317bb4;outline-offset:4px}

.product-modal-controls{display:flex;align-items:center;gap:8px}#product-modal .product-modal-controls button{white-space:nowrap;font-size:14px;padding:10px 12px}#product-modal.product-enlarged{width:calc(100% - 24px);max-width:1100px}#product-modal.product-enlarged .modalhead{position:sticky;top:0;background:#fff;z-index:2;padding-bottom:16px}#product-modal.product-enlarged #product-detail>.paper-pair{max-width:none;gap:20px}#product-modal.product-enlarged .paper-pair figure::before{display:block;text-align:center;font-size:14px;font-weight:700;margin-bottom:8px;content:'앞면'}#product-modal.product-enlarged .paper-pair figure:last-child::before{content:'뒷면'}@media(max-width:650px){#product-modal.product-enlarged{padding:18px}#product-modal.product-enlarged .paper-pair{grid-template-columns:1fr}#product-modal .modalhead{gap:8px}#product-modal .product-modal-controls{gap:6px}#product-modal .product-modal-controls button{padding:9px 10px}}

#product-modal #close-enlarged-product{display:none}#product-modal.product-enlarged #close-enlarged-product{display:grid;place-items:center;width:44px;height:44px;padding:0;font-size:28px;line-height:1}#product-modal.product-enlarged #enlarge-product,#product-modal.product-enlarged #close-product{display:none}

/* Desktop navigation remains available in both detail and enlarged views. */
.product-page-navigation{display:flex;justify-content:center;gap:20px;margin:0 0 14px;padding:8px;box-sizing:border-box}.product-page-navigation button{display:grid;place-items:center;width:46px;height:46px;padding:0;border:2px solid #181818;border-radius:50%;background:var(--yellow);color:#181818;cursor:pointer;box-shadow:2px 3px 0 #181818;transition:background .15s,transform .15s}.product-page-navigation button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.product-page-navigation button:hover{background:#ffdf33;transform:translateY(-2px)}.product-page-navigation button:focus-visible{outline:3px solid #317bb4;outline-offset:4px}@media(max-width:750px),(hover:none) and (pointer:coarse){.product-page-navigation{display:none}}

.print-photo-upload{max-width:100%}#photo-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:18px}.print-photo-upload .print-photo-card{display:flex;flex-direction:column;gap:10px;border:1px solid #ccc;padding:12px;min-width:0}.print-photo-upload .print-photo-card img{width:100%;height:190px;object-fit:contain;background:#f4f4f4}.print-photo-name{font-size:14px;overflow-wrap:anywhere}.print-photo-actions{display:flex;gap:6px;flex-wrap:wrap}.print-photo-actions button{position:static;min-height:40px;padding:7px 10px;border:1px solid #181818;background:var(--yellow);font-size:14px}.print-photo-actions button:last-child{background:white}#photo-crop-dialog{width:calc(100% - 24px);max-width:660px;padding:24px}#photo-crop-dialog .modalhead button{width:44px;height:44px;padding:0;font-size:28px}#photo-crop-name{overflow-wrap:anywhere;font-size:14px}.photo-crop-stage{display:flex;justify-content:center;background:#f1f1f1;padding:12px}.photo-crop-stage canvas{max-width:100%;max-height:46vh;width:auto;height:auto;touch-action:none;cursor:grab;box-shadow:0 2px 8px #0002}.photo-crop-controls{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:16px 0}.photo-crop-controls label{font-size:14px;font-weight:bold}.photo-crop-controls select,.photo-crop-controls input{display:block;width:100%;margin-top:8px}.photo-crop-controls input{accent-color:#161616}#photo-crop-dialog .actions{justify-content:flex-end;gap:8px}#photo-crop-dialog .actions .button{padding:9px 14px;min-height:44px;font-size:14px}@media(max-width:600px){#photo-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.print-photo-upload .print-photo-card{padding:8px}.print-photo-upload .print-photo-card img{height:150px}.print-photo-actions button{flex:1;font-size:12px;padding:7px 4px}#photo-crop-dialog{padding:16px}.photo-crop-controls{gap:10px}}

#site-notice-dialog{position:fixed;inset:0;margin:auto;width:calc(100% - 40px);max-width:440px;height:fit-content;padding:28px;border:3px solid #161616;border-radius:18px;box-shadow:7px 7px 0 var(--yellow)}#site-notice-dialog::backdrop{background:#0007}.site-notice-heading{display:flex;align-items:center;gap:12px}.site-notice-heading span{display:grid;place-items:center;width:42px;height:42px;border:2px solid #161616;border-radius:50%;background:var(--yellow);font-size:26px;font-weight:800}.site-notice-heading h2{font-size:22px;margin:0}#site-notice-message{white-space:pre-line;margin:22px 0;font-size:16px;line-height:1.7}#site-notice-dialog .actions{justify-content:flex-end;gap:12px}#site-notice-dialog .button{min-height:44px;font-size:16px;padding:10px 20px;border-radius:8px}#photo-crop-dialog{position:fixed;inset:0;margin:auto;height:fit-content;max-height:calc(100dvh - 32px);overflow:auto;border:3px solid #161616;border-radius:16px;box-shadow:6px 6px 0 var(--yellow)}#photo-crop-dialog::backdrop{background:#0007}

/* Keep writing bounds aligned with each stationery's clear area. */
.paper-input,.final-sheet .body{left:var(--text-left,56px);width:var(--text-width,447px);height:var(--text-height,480px)}@media print{.final-sheet .body{left:var(--text-left,56px);top:var(--text-top,90px);width:var(--text-width,447px);height:var(--text-height,480px)}}

.photo-scale-buttons{display:flex;justify-content:center;gap:8px;margin:12px 0 20px;flex-wrap:wrap}.photo-scale-buttons button{min-height:44px;padding:8px 14px;border:2px solid #161616;border-radius:8px;background:var(--yellow);font-size:14px;font-weight:700}.print-photo-name{min-height:3.2em}.print-photo-actions{margin-top:auto}

.print-area-notice{margin:20px 0 16px;padding:18px 20px;border:2px solid #161616;border-radius:12px;background:#fff2a6}.print-area-notice strong{display:block;font-size:17px}.print-area-notice p{margin:8px 0 0;font-size:14px;line-height:1.7}

/* Usage guide: vertical back examples and photographic prints */
:is(#instruction-back,.guide-instruction-back) .back-visual{flex-direction:row;align-items:flex-start;gap:28px;padding:30px}
:is(#instruction-back,.guide-instruction-back) .back-visual figure{width:calc((100% - 28px)/2);max-width:205px;min-width:0}
:is(#instruction-back,.guide-instruction-back) .back-visual img{display:block;width:100%;height:auto;max-height:none;aspect-ratio:148/210;object-fit:cover}
:is(#instruction-back,.guide-instruction-back) .back-visual figcaption{font-weight:700;margin-top:12px}
.printed-photo-stack{position:relative;width:min(100%,330px);height:290px;margin:10px auto 18px}
.print-example{position:absolute;margin:0;padding:9px;background:#fff;border:1px solid #ddd;box-shadow:0 8px 18px #30271330;width:210px;height:145px;box-sizing:border-box}
.print-example img{display:block;width:100%;height:100%;object-fit:cover}
.print-example-back{left:4%;top:10px;transform:rotate(-13deg)}
.print-example-middle{right:1%;top:75px;transform:rotate(12deg)}
.print-example-front{left:10%;top:150px;transform:rotate(-6deg)}
.print-example-front img{object-position:center 38%}
.photo-visual .print-example-caption{font-size:14px;font-weight:700;margin:0;color:#625326}
@media(max-width:750px){:is(#instruction-back,.guide-instruction-back) .back-visual{gap:24px;padding:24px}.printed-photo-stack{width:290px;max-width:100%;height:270px}.print-example{width:190px;height:132px}.print-example-middle{top:65px}.print-example-front{top:135px}.photo-visual h3{font-size:26px}}

.instruction-content-next{background:#fff1bc;border:1px solid #e7c85d;border-radius:12px;padding:16px 18px;margin:20px 0}.instruction-content-next strong{font-size:17px}.instruction-content-next p{margin:6px 0 0!important;font-size:15px!important}.print-example img{object-position:center 35%}

:is(#instruction-back,.guide-instruction-back) .back-visual figure:last-child img{outline:3px dashed #f2c400;outline-offset:7px}:is(#instruction-back,.guide-instruction-back) .back-visual figure:last-child figcaption{margin-top:22px}@media(max-width:750px){:is(#instruction-back,.guide-instruction-back) .back-visual{gap:24px}:is(#instruction-back,.guide-instruction-back) .back-visual figure{width:calc((100% - 24px)/2)}:is(#instruction-back,.guide-instruction-back) .back-visual figcaption{font-size:13px}}

/* Mobile usage guide: heading, illustration, then instructions. */
@media(max-width:750px){
 .instruction-step .instruction-copy{display:contents}
 .instruction-step .instruction-number{order:0;justify-self:start;align-self:start}
 .instruction-step .instruction-copy>h2{order:1;margin:0}
 .instruction-step .instruction-visual,.instruction-step.reverse .instruction-visual{order:2}
 .instruction-step .instruction-copy>p{order:3;margin:0}
 .instruction-step .instruction-copy>ol{order:4;margin:0}
 .instruction-step .instruction-content-next{order:5;margin:0}
 .instruction-step .instruction-note{order:6;margin:0}
}

:is(#instruction-back,.guide-instruction-back) .back-visual{flex-wrap:wrap}:is(#instruction-back,.guide-instruction-back) .back-example-title{flex:0 0 100%;margin:0 0 4px;text-align:center;font-size:20px;line-height:1.4;font-weight:800}@media(max-width:750px){:is(#instruction-back,.guide-instruction-back) .back-example-title{font-size:18px}}

.instruction-content-step{padding:40px;border:1px solid #111;border-radius:16px;margin:36px 0;scroll-margin-top:24px}.instruction-content-step h2{font-size:clamp(24px,3vw,34px);line-height:1.4;margin:18px 0}.instruction-content-step p,.instruction-content-step li{font-size:16px;line-height:1.85}.instruction-content-step ol{padding-left:22px}.instruction-content-step li{margin-bottom:10px}@media(max-width:750px){.instruction-content-step{padding:24px;margin:28px 0}}

.instruction-content-step{background:linear-gradient(135deg,#fffdf3 0%,#fff 65%);border:2px solid #111;box-shadow:6px 6px 0 #ffe480;overflow:hidden}.guide-content-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:26px 0 30px}.guide-content-card{display:flex;flex-direction:column;align-items:center;text-align:center;padding:24px 12px;background:#ffe480;border:1.5px solid #111;border-radius:12px;box-shadow:3px 3px 0 #111}.guide-content-card:nth-child(2){background:#ccebe4}.guide-content-card:nth-child(3){background:#fbd3dc}.guide-content-icon{display:grid;place-items:center;width:54px;height:54px;background:#fff9;border-radius:50%;margin-bottom:12px}.guide-content-icon svg{width:32px;height:32px}.guide-content-card strong{font-size:20px}.guide-content-card small{font-size:14px;line-height:1.5;margin-top:6px;color:#444}@media(max-width:750px){.guide-content-cards{gap:10px;margin:24px 0}.guide-content-card{padding:18px 5px;border-radius:10px}.guide-content-icon{width:44px;height:44px}.guide-content-icon svg{width:27px;height:27px}.guide-content-card strong{font-size:17px}.guide-content-card small{font-size:13px;word-break:keep-all}.instruction-content-step{box-shadow:4px 4px 0 #ffe480}}

.photo-crop-stage canvas{width:100%;height:auto;max-height:42dvh;object-fit:contain;touch-action:none;user-select:none}#photo-crop-dialog .minor{font-size:14px;line-height:1.6;margin:10px 0}.photo-crop-stage{padding:0}@media(max-width:600px){.photo-crop-stage canvas{max-height:36dvh}#photo-crop-name{margin:10px 0}.photo-crop-controls{margin:12px 0}}

#site-notice-dialog .actions{display:flex;flex-direction:row;flex-wrap:nowrap}#site-notice-cancel{order:0;margin-right:auto}#site-notice-ok{order:1}

@media(max-width:640px){.photo-scale-buttons{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;flex-wrap:nowrap;gap:8px}.photo-scale-buttons .rotation-text{display:none}.photo-scale-buttons button{padding:8px 4px;white-space:nowrap}#photo-crop-minus,#photo-crop-plus{font-size:26px}}

#photo-crop-dialog .modalhead{position:sticky;top:-24px;z-index:2;background:#fff;padding:8px 0;margin-bottom:8px}.photo-crop-stage canvas{width:auto;max-width:100%;max-height:58dvh;height:auto}@media(max-width:600px){#photo-crop-dialog{width:calc(100% - 16px);padding:12px;max-height:calc(100dvh - 16px)}#photo-crop-dialog .modalhead{top:-12px}.photo-crop-stage canvas{max-height:54dvh}#photo-crop-dialog .minor{font-size:12px;line-height:1.5}.photo-crop-controls{margin:10px 0}.photo-scale-buttons{margin:10px 0 14px}}

.photo-crop-navigation{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:10px;align-items:center;margin:10px 0}.photo-crop-navigation #photo-crop-name{text-align:center;margin:0;font-size:13px}.photo-crop-navigation button{width:44px;height:44px;background:var(--yellow);border:2px solid #161616;border-radius:50%;font-size:24px;font-weight:bold}.photo-crop-navigation button:disabled{opacity:.3;cursor:default}#photo-crop-confirm{padding:14px;background:#fff1b0;border:2px solid #161616;border-radius:10px;margin:12px 0}#photo-crop-confirm[hidden]{display:none}#photo-crop-confirm b{font-size:15px}#photo-crop-confirm>div{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}#photo-crop-confirm button{border:2px solid #161616;border-radius:6px;background:white;min-height:40px;padding:6px 10px;font-size:13px}#photo-crop-apply-next{background:var(--yellow)!important}

.photo-crop-navigation{display:block;margin:8px 0}.photo-crop-stage{position:relative;padding-inline:46px}.photo-crop-stage>button{position:absolute;top:50%;transform:translateY(-50%);z-index:1;display:grid;place-items:center;width:42px;height:42px;background:var(--yellow);border:2px solid #161616;border-radius:50%;font-size:24px;font-weight:bold;padding:0}.photo-crop-stage>button:disabled{opacity:.3;cursor:default}#photo-crop-prev{left:2px}#photo-crop-next{right:2px}@media(max-width:600px){.photo-crop-stage{padding-inline:38px}.photo-crop-stage>button{width:36px;height:44px;font-size:23px;border-radius:22px}.photo-crop-stage canvas{max-width:100%}}

#photo-crop-confirm{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:3;width:calc(100% - 16px);max-width:520px;margin:0;padding:18px;background:#fff1b0;box-shadow:4px 4px 0 #161616;text-align:center}#photo-crop-confirm>div{justify-content:center}#photo-crop-confirm button{min-height:44px}@media(max-width:600px){#photo-crop-confirm{padding:14px 10px}#photo-crop-confirm b{font-size:14px}#photo-crop-confirm>div{gap:6px}#photo-crop-confirm button{font-size:12px;padding:7px 8px}}
/* Direct delivery forms and centered address pickers */
.address-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.address-card-head h3{margin:0}.address-card-head .button{font-size:14px;padding:10px 12px}.receiver-choice>label{display:block;margin:18px 0}.receiver-choice input:not([type=checkbox]){width:100%;min-width:0}.facility-choice{display:block;width:100%;min-height:48px;padding:12px;text-align:left;border:2px solid #171717;background:#fff1a6;font:inherit;font-weight:700}.address-search-row,.sender-postcode-row{display:flex;align-items:end;gap:12px}.address-search-row label,.sender-postcode-row label{flex:1;min-width:0}.address-search-row .button,.sender-postcode-row .button{flex:none;min-height:48px;margin:0 0 0}.address-popup{width:min(600px,calc(100% - 28px));max-height:calc(100dvh - 40px);padding:24px;border:3px solid #171717;border-radius:20px;box-shadow:7px 7px 0 #ffd400;box-sizing:border-box;overflow:auto;margin:auto}.address-popup::backdrop{background:#0008}.address-popup .modalhead{margin-bottom:22px;gap:12px}.address-popup input{width:100%;box-sizing:border-box;min-height:48px}.address-popup form label{display:block;margin:14px 0}.saved-address-list{display:grid;gap:12px;margin:18px 0;max-height:45dvh;overflow:auto}.saved-address-item{display:grid;gap:7px;width:100%;padding:16px;border:2px solid #171717;border-radius:12px;background:#fff;text-align:left;font:inherit;overflow-wrap:anywhere}.saved-address-item:hover,.saved-address-item:focus-visible{background:#fff5c1}.saved-address-item span{font-size:14px}.facility-wheel-shell{position:relative;margin:20px 0;border:2px solid #171717;border-radius:16px;overflow:hidden;background:linear-gradient(#f6f6f6,#fff 40%,#fff 60%,#f6f6f6)}.facility-wheel-shell:after{content:'';position:absolute;left:8px;right:8px;top:96px;height:48px;border-radius:8px;background:#ffe56f55;border-top:1px solid #d2ad26;border-bottom:1px solid #d2ad26;pointer-events:none}.facility-wheel{height:240px;overflow-y:auto;overscroll-behavior:contain;scroll-snap-type:y mandatory;padding:96px 0;box-sizing:border-box;scrollbar-width:none}.facility-wheel::-webkit-scrollbar{display:none}.facility-wheel button{display:block;width:100%;height:48px;border:0;background:transparent;font:inherit;font-size:20px;scroll-snap-align:center;flex:none}.facility-wheel button.chosen{font-weight:900}.facility-wheel-choice{font-size:14px;min-height:40px}.postal-search-body{height:min(520px,65dvh);min-height:350px}.receiver-choice .sender-remember{display:flex;align-items:center;gap:10px}.receiver-choice .sender-remember input{width:20px;height:20px}.address-popup>.button{width:100%}@media(max-width:600px){.address-popup{padding:18px}.address-card-head .button{font-size:13px}.address-search-row,.sender-postcode-row{gap:8px}.address-search-row .button,.sender-postcode-row .button{font-size:14px;padding:10px}.facility-wheel button{font-size:19px}}

#delivery-recipient-slot #selected-recipient-details{display:none}

.receiver-destination-types{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0 12px}.receiver-destination-types .button{margin:0;font-size:14px;padding:10px 12px;box-shadow:none}.receiver-destination-types [aria-pressed=true]{background:#171717;color:#ffdf00}

.military-directory-summary{font-size:13px;line-height:1.6;color:#595959;margin:12px 0}.address-popup>select{width:100%;min-height:44px;margin-top:12px;font:inherit;border:2px solid #171717;border-radius:8px;padding:8px;background:#fff5c1}.facility-wheel button{padding:0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:17px}@media(max-width:600px){.facility-wheel button{font-size:16px}}

.sender-form .sender-postcode-row{max-width:none;width:100%;align-items:end;margin-bottom:18px}.sender-form .sender-postcode-row>label{margin-bottom:0}.sender-postcode-row input,.sender-postcode-row>[data-address-search],.address-search-row input,.address-search-row>[data-address-search]{height:48px;box-sizing:border-box}.sender-postcode-row>[data-address-search],.address-search-row>[data-address-search]{white-space:nowrap;display:inline-flex;align-items:center;justify-content:center}.sender-postcode-row input{width:100%}

/* Match the account actions and menu control on a common baseline. */
body>header .header-account button,body>header #header-member-name,body>header>.personal-menu-trigger{box-sizing:border-box;height:40px;min-height:40px;margin-top:0;margin-bottom:0;border:2px solid #111;border-radius:6px;background:#ffe23b;color:#111;box-shadow:2px 2px 0 #111;display:inline-flex;align-items:center;justify-content:center;line-height:1;vertical-align:middle;transform:none;text-decoration:none}
body>header .header-account button,body>header #header-member-name{padding:0 10px;font-weight:700}
body>header>.personal-menu-trigger{width:40px;min-width:40px;padding:0;align-self:center}
body>header>.personal-menu-trigger svg{width:24px;height:24px;display:block}
body>header>.header-account>div{align-items:center;gap:8px}
body>header .header-account button:hover,body>header #header-member-name:hover,body>header>.personal-menu-trigger:hover{background:#ffd400;text-decoration:none}
@media(max-width:750px){body>header{grid-template-columns:minmax(0,1fr) auto 40px}body>header .header-account button,body>header #header-member-name{font-size:11px;padding:0 6px}body>header>.header-account>div{gap:6px}body>header>.personal-menu-trigger{width:40px;height:40px;transform:none}}

/* Compact mobile actions aligned with the logo's first line. */
@media(max-width:750px){body>header{grid-template-columns:minmax(0,1fr) auto 36px}body>header>.header-account{align-self:start;margin-top:4px}body>header .header-account button,body>header #header-member-name,body>header>.personal-menu-trigger{height:36px;min-height:36px}body>header .header-account button,body>header #header-member-name{padding:0 5px;font-size:10.5px}body>header>.personal-menu-trigger{width:36px;min-width:36px;align-self:start;margin-top:4px;transform:none}body>header>.personal-menu-trigger svg{width:22px;height:22px}body>header>.header-account>div{gap:6px}}

/* All written pages, with their assigned backs. */
#modal.all-letter-preview{width:min(1180px,calc(100vw - 24px));max-width:1180px;padding:0;max-height:92dvh;border:3px solid #161616;border-radius:16px;overflow:auto}
#modal.all-letter-preview .modalhead{position:sticky;top:0;z-index:2;background:white;padding:16px 20px;border-bottom:2px solid #161616;margin:0;display:flex;align-items:center;justify-content:space-between;gap:12px}
#modal.all-letter-preview #close-modal{background:#ffe23b;border:2px solid #161616;border-radius:6px;width:44px;height:44px;padding:0;font-size:28px;flex-shrink:0}
#modal.all-letter-preview #large-preview{display:block;padding:20px;background:#f5f5f5}
.letter-preview-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;margin-bottom:28px}
.letter-preview-pair figure{margin:0;min-width:0;overflow:hidden}
.letter-preview-pair figcaption{font-weight:800;text-align:center;margin-bottom:10px}
.letter-preview-pair .sheet{margin:0 auto;box-shadow:0 3px 12px #0002}
@media(max-width:600px){.letter-preview-pair{grid-template-columns:minmax(0,1fr);gap:20px}#modal.all-letter-preview #large-preview{padding:14px}#modal.all-letter-preview .modalhead{padding:12px;font-size:14px}}

.backside-preview.back-photo-editable{touch-action:none;user-select:none;-webkit-user-select:none}
@media(pointer:coarse){.back-photo-selected .back-photo-handle{display:none}.back-photo-tools small{pointer-events:none}}

.print-photo-upload .print-photo-card img{width:100%;height:auto;aspect-ratio:2/3;object-fit:contain;background:white;border:1px solid #aaa}.print-photo-size{font-size:13px;color:#666}.print-photo-actions{margin-top:auto}

@media(max-width:600px){
.print-photo-upload .print-photo-card{gap:6px;align-self:start}
.print-photo-upload .print-photo-card img{width:min(100%,130px);align-self:center;height:auto}
.print-photo-name{min-height:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.5}
.print-photo-size{font-size:12px;line-height:1.4}
.print-photo-actions{margin-top:2px;flex-wrap:nowrap;gap:6px}
.print-photo-actions button{min-height:40px;white-space:nowrap;font-size:13px;line-height:1.2;padding:8px 4px}
}

/* Slightly larger main menu, vertically balanced between the header rules. */
body>header>nav{font-size:18px}
@media(max-width:900px){body>header>nav{padding-top:20px;align-items:center;line-height:1.6}}
@media(max-width:380px){body>header>nav{gap:10px 12px;font-size:17px}}

/* Clearly mark help overlays and center close icons geometrically. */
.usage-help-title{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#ffe23b;color:#161616;border:2px solid #161616;padding:14px 20px;font-size:23px;font-weight:900;line-height:1.4;margin-bottom:20px}
#backside-help-dialog>.usage-help-title{position:sticky;top:0;z-index:2}
#product-guide-dialog{width:min(1100px,calc(100vw - 24px));max-width:1100px;max-height:92dvh;padding:20px;overflow:auto}
#product-guide-dialog>.usage-help-title{position:sticky;top:-20px;z-index:2}
#product-guide-content>.section{display:block;padding:12px;max-width:100%}
#close-product-guide{border:2px solid #161616;border-radius:6px;background:white;padding:6px 14px;font-size:15px;font-weight:700;flex-shrink:0}
#modal.all-letter-preview #close-modal,#close-backside-preview,#close-enlarged-product{display:inline-flex;align-items:center;justify-content:center;padding:0;line-height:1}
#modal.all-letter-preview #close-modal{font-size:0}
#modal.all-letter-preview #close-modal:before{content:'';width:20px;height:20px;background:linear-gradient(45deg,transparent 45%,#161616 45%,#161616 55%,transparent 55%),linear-gradient(-45deg,transparent 45%,#161616 45%,#161616 55%,transparent 55%)}
@media(max-width:600px){.usage-help-title{font-size:20px;padding:12px 14px}#product-guide-dialog{padding:12px}#product-guide-dialog>.usage-help-title{top:-12px}}

.usage-help-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
#hide-product-guide-day{border:2px solid #161616;border-radius:6px;background:white;padding:6px 12px;font-size:14px;font-weight:700}
#product-instructions[hidden]{display:none}
@media(max-width:600px){#product-guide-dialog .usage-help-title{align-items:flex-start;flex-wrap:wrap}.usage-help-actions{margin-left:auto}}

/* Keep the greeting aligned with each design writing area. */
.direct-sheet .direct-to,.final-sheet .to{left:var(--text-left,56px);top:calc(var(--text-top,90px) - 36px)}

/* Keep the greeting aligned with each design writing area. */
.direct-sheet .direct-to,.final-sheet .to{left:var(--text-left,56px);top:calc(var(--text-top,90px) - 36px)}
.direct-sheet[data-paper-category="Y2K"] .direct-to,.final-sheet[data-paper-category="Y2K"] .to{top:calc(var(--text-top) - 26px)}

/* Server account forms */
.account-dialog{width:min(540px,calc(100vw - 28px));max-height:90dvh;overflow-y:auto}.auth-intro,.social-divider{color:#68716d;text-align:center}.auth-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:12px}.account-dialog label{margin-bottom:16px}.account-dialog .auth-check{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:14px}.account-dialog .auth-check input{width:18px;height:18px;flex-shrink:0;margin:0}.account-dialog .auth-check a,.auth-marketing a{font-size:12px;color:#486456;text-decoration:underline}.auth-consents{border-top:1px solid #ddd;padding-top:18px}.auth-marketing{border:1px solid #e0e5e1;border-radius:12px;padding:14px;margin-bottom:18px}.social-signup{display:grid;grid-template-columns:1fr;gap:10px}.social-signup button{padding:12px;border-radius:10px;min-height:44px}.social-signup .kakao{background:#fee500;color:#191919}.social-signup .naver{background:#03c75a;color:white}.social-signup button:disabled{opacity:.55}.account-dialog #account-submit{width:100%}#account-form-error{color:#aa3030;line-height:1.5}
.photo-admission-note{padding:14px 16px;background:#fff7e6;color:#604d2b;font-size:13px;line-height:1.7;border-radius:10px}.photo-admission-note a{text-decoration:underline}

.business-details{margin:18px 0;max-width:900px}.business-details summary{cursor:pointer;font-weight:700;list-style:none;display:flex;align-items:center;gap:12px;width:fit-content;padding:8px 0}.business-details summary::-webkit-details-marker{display:none}.business-details summary::after{content:"";width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-top:-4px}.business-details[open] summary::after{transform:rotate(225deg);margin-top:4px}.business-details summary:focus-visible{outline:2px solid currentColor;outline-offset:4px}.business-details-content{padding:8px 0;font-size:13px;line-height:1.8}.business-details-content p{margin:6px 0;overflow-wrap:anywhere}

footer .business-details{width:100%;max-width:900px;margin:18px auto;text-align:center}footer .business-details summary{margin:0 auto}footer .business-details-content{text-align:center}

/* Clear required and optional labels in account forms. */
#account-dialog .auth-required{color:#c62828;font-weight:700}
#account-dialog .auth-optional{color:#64748b;font-weight:600}

#account-dialog .social-divider{font-size:14px;font-weight:600;color:#64748b;margin:0 0 10px;text-align:left}

@media(max-width:1180px){#delivery-step .delivery-layout{grid-template-columns:minmax(0,1fr)}#delivery-recipient-slot{order:0;min-width:0}#delivery-step .sender-form{order:1;min-width:0}}

.workflow-short-label{display:none}
@media(max-width:600px){
#letter-workflow>.writing-sidebar{display:block;padding:8px;background:#f5f5f5}
#letter-workflow .writing-sidebar .dispatch-box{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 9px;border:0;border-radius:4px;margin:0}
#letter-workflow .dispatch-heading{font-size:11px;gap:5px}
#letter-workflow .dispatch-heading>span{font-size:11px;padding:2px 4px}
#letter-workflow .dispatch-time-row{border:0;margin:0;padding:0}
#letter-workflow .dispatch-clock,#letter-workflow .dispatch-time-text>span,#letter-workflow .dispatch-box #dispatch-message,#letter-workflow .dispatch-box small{display:none}
#letter-workflow .dispatch-box #dispatch-countdown,#letter-workflow .dispatch-box.closed #dispatch-countdown{font-size:12px;margin:0;line-height:1.4}
#letter-workflow .writing-sidebar .writing-steps{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;margin:6px 0 0}
#letter-workflow .writing-steps button{height:30px;min-height:30px;padding:4px 2px;font-size:11px;white-space:nowrap;box-shadow:none}
#letter-workflow .workflow-full-label{display:none}
#letter-workflow .workflow-short-label{display:inline}
#letter-workflow .flowbar{margin:12px 0;padding-bottom:10px}
#letter-workflow .flowbar>span{display:none}
}

@media(max-width:600px){
body.letter-writing #write .writing-toolbar{grid-template-columns:repeat(12,minmax(0,1fr));gap:7px 5px}
body.letter-writing #write .writing-toolbar>.font-control{grid-column:1/span 6;grid-row:1}
body.letter-writing #write .writing-toolbar>label:has(#size){grid-column:7/span 2;grid-row:1}
body.letter-writing #write .writing-toolbar>.format-buttons{grid-column:9/span 4;grid-row:1}
body.letter-writing #write .writing-toolbar>label:has(#align){grid-column:1/span 3;grid-row:2}
body.letter-writing #write .writing-toolbar>label:has(#toolbar-zoom){grid-column:4/span 4;grid-row:2}
body.letter-writing #write .writing-toolbar>.text-color-control{grid-column:8/span 2;grid-row:2}
body.letter-writing #write .writing-toolbar>.inline-upload{grid-column:10/span 3;grid-row:2}
body.letter-writing #write .writing-toolbar .insert-label{padding-inline:3px;font-size:11px;white-space:nowrap}
body.letter-writing #write .writing-toolbar .text-color-control>span{white-space:nowrap;font-size:9px}
body.letter-writing #write .writing-toolbar #toolbar-zoom{font-size:11px;padding-inline:3px}
}

@media(max-width:600px){
body.letter-writing #write .writing-toolbar>.text-color-control{position:static}
body.letter-writing #write #text-color-menu{top:calc(100% + 6px);right:8px;left:auto;width:230px;max-width:calc(100vw - 48px);padding:9px;border-radius:8px;box-sizing:border-box}
body.letter-writing #write #color-gradient{height:90px}
body.letter-writing #write .color-hue-row{margin:9px 0;gap:7px}
body.letter-writing #write #color-current{width:20px;height:20px}
body.letter-writing #write .color-rgb{gap:6px;margin-bottom:8px}
body.letter-writing #write .color-rgb label{font-size:10px;margin:0;min-width:0}
body.letter-writing #write .color-rgb input{height:28px;min-height:28px;font-size:12px;padding:3px;margin:3px 0 0;box-sizing:border-box}
body.letter-writing #write #text-color-menu #text-color-palette{gap:6px;padding-top:8px}
body.letter-writing #write #text-color-menu #text-color-palette button{height:24px}
}

.product-price del{color:#888;font-size:.8em;font-weight:400;margin-right:6px}.product-price strong{color:#c62828}

/* Checkout shipping choices and tablet layout */
.checkout-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.checkout-layout>div{min-width:0}.checkout-layout dd{overflow-wrap:anywhere}.shipping-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0 30px}.shipping-option{display:flex;align-items:flex-start;gap:12px;min-width:0;padding:16px;border:1px solid #c8c8c8;border-radius:12px;background:#fff;cursor:pointer}.shipping-option:has(input:checked){border:2px solid #171717;background:#fff8d9;padding:15px}.shipping-option input{flex:none;width:20px;height:20px;margin:3px 0 0;accent-color:#111}.shipping-copy{display:flex;flex-direction:column;min-width:0;gap:5px}.shipping-copy strong{font-size:16px;line-height:1.35}.shipping-copy small{font-size:12px;color:#555;line-height:1.45;overflow-wrap:break-word}.shipping-price{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin-top:5px}.shipping-price del{font-size:13px;color:#888}.shipping-price b{font-size:18px;white-space:nowrap}.checkout-layout .payment:not(#shipping-options){display:block;overflow-wrap:break-word}
@media(max-width:1100px){.checkout-layout{grid-template-columns:minmax(0,1fr);gap:28px;max-width:760px;margin-inline:auto}.checkout-layout #checkout-preview{max-width:100%}}
@media(max-width:600px){.shipping-options{grid-template-columns:minmax(0,1fr)}.shipping-option{padding:14px}.shipping-option:has(input:checked){padding:13px}.checkout-layout dl{grid-template-columns:minmax(0,38%) minmax(0,62%)}.checkout-layout dt,.checkout-layout dd{padding:12px 6px}}
.checkout-back-actions{margin:0 0 20px}.checkout-back-actions .button{display:inline-flex;align-items:center;min-height:44px}

.shipping-step-content{max-width:820px;margin:24px auto 0}.shipping-step-content .shipping-options{margin:0 0 18px}.shipping-step-content .actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.shipping-error{min-height:1.4em;color:#b42318;font-weight:700;margin:0 0 12px}@media(max-width:600px){.shipping-step-content .actions .button{flex:1;text-align:center;justify-content:center}}

/* Tablet letter workflow */
@media (min-width:751px) and (max-width:1100px){
#letter-workflow{grid-template-columns:minmax(0,1fr);gap:24px;padding:26px 28px}
#letter-workflow>.writing-sidebar{position:static;display:grid;grid-template-columns:190px minmax(0,1fr);align-items:center;gap:20px;padding:16px 20px}
#letter-workflow .writing-steps{display:flex;align-items:stretch;gap:6px;overflow-x:auto;margin:0;scrollbar-width:thin}
#letter-workflow .writing-steps li{flex:0 0 auto;margin:0}
#letter-workflow .writing-steps button{width:auto;min-height:52px;white-space:nowrap;text-align:center;padding:9px 12px}
#letter-workflow .dispatch-box{margin:0}
#letter-workflow .backside-layout{grid-template-columns:minmax(0,1fr) minmax(0,360px);gap:28px}
#letter-workflow .backside-preview-panel{max-width:360px}
}
@media (min-width:751px) and (max-width:900px){
#letter-workflow>.writing-sidebar{grid-template-columns:1fr;gap:10px}
#letter-workflow .dispatch-box{max-width:none}
#letter-workflow .backside-layout{grid-template-columns:minmax(0,1fr)}
#letter-workflow .backside-preview-panel{max-width:460px;width:100%;justify-self:center}
#letter-workflow #backside-preview-toolbar,#letter-workflow #backside-preview-page{max-width:460px}
}

/* Compact stationery preview inside checkout details */
#checkout .checkout-layout{display:block;max-width:820px;margin-inline:auto}
#checkout .checkout-paper-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:500px;margin:0 0 30px;overflow:visible}
#checkout .checkout-paper-pair figure{margin:0;min-width:0;overflow:hidden}
#checkout .checkout-paper-pair .final-sheet{margin:0;max-width:none;box-shadow:1px 2px 5px #0002}
#checkout .checkout-paper-pair figcaption{text-align:center;font-size:13px;font-weight:700;margin:8px 0 0}
@media(max-width:600px){#checkout .checkout-paper-pair{gap:10px;max-width:100%}}

/* Keep the full checkout preview on desktop; use the compact pair on tablet and phone. */
@media(min-width:1101px){#checkout .checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);max-width:none}#checkout .checkout-paper-pair{display:none}#checkout-preview-desktop{min-width:0;overflow:hidden}}
@media(max-width:1100px){#checkout .checkout-layout{display:block;max-width:820px;margin-inline:auto}#checkout .checkout-paper-pair{display:grid}#checkout-preview-desktop{display:none}}

/* Keep content-step navigation in one row on narrow screens. */
@media(max-width:600px){#content-step>.actions{display:flex;flex-wrap:nowrap;gap:7px;align-items:stretch}#content-step>.actions>.button{flex:1 1 auto;min-width:0;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;padding:10px 5px;font-size:clamp(11px,3.2vw,14px);line-height:1.2;text-align:center}#content-step>.actions>#contents-skip{flex:1.55 1 auto}}

/* Shipping step navigation stays aligned on phones. */
.shipping-action-short{display:none}
@media(max-width:600px){#shipping-step .shipping-step-content .actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#shipping-step .shipping-step-content .actions .button{width:100%;min-width:0;min-height:52px;margin:0;padding:10px 6px;white-space:nowrap;font-size:clamp(12px,3.3vw,15px);line-height:1.2;display:inline-flex;align-items:center;justify-content:center;text-align:center}#shipping-step .shipping-action-full{display:none}#shipping-step .shipping-action-short{display:inline}}

/* Checkout breakdown: compact set description and emphasized payable total. */
#checkout #order-summary dd:has(small) strong,#checkout #order-summary dd:has(small) small{display:block}
#checkout #order-summary dd:has(small) small{font-size:13px;font-weight:400;line-height:1.45;color:#555;margin-top:3px}
#checkout #order-summary .order-total{border-top:2px solid #171717;background:#fff6cb;font-weight:800;font-size:clamp(17px,2vw,22px)}
#checkout #order-summary dd.order-total{color:#111}

/* Total beside the selected-letter heading. */
#checkout .checkout-summary-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:22px 0 10px}
#checkout .checkout-summary-heading h3{margin:0}
#checkout #checkout-total-amount{font-size:clamp(18px,2.2vw,24px);font-weight:800;text-align:right;white-space:nowrap}
@media(max-width:420px){#checkout .checkout-summary-heading h3{font-size:19px}#checkout #checkout-total-amount{font-size:17px}}

/* Larger colored checkout amount with a clear gap after its label. */
#checkout #checkout-total-amount{display:inline-flex;align-items:baseline;justify-content:flex-end;gap:14px;flex-wrap:wrap;font-size:inherit;line-height:1.25}
#checkout #checkout-total-amount .checkout-total-label{font-size:clamp(13px,1.6vw,18px);font-weight:700;white-space:nowrap}
#checkout #checkout-total-amount .checkout-total-value{font-size:clamp(23px,3vw,32px);font-weight:900;color:#c62828;white-space:nowrap}
#checkout #checkout-total-amount small{flex-basis:100%;font-size:11px;font-weight:400;color:#555}
@media(max-width:420px){#checkout .checkout-summary-heading{align-items:center;gap:6px}#checkout #checkout-total-amount{gap:8px}#checkout #checkout-total-amount .checkout-total-label{font-size:12px}#checkout #checkout-total-amount .checkout-total-value{font-size:24px}}

/* Consistent navigation buttons through every letter-order step. */
#letter-workflow :is(#backside-step,#photo-step,#content-step,#delivery-step,#shipping-step) .actions>.button,
#letter-workflow #write .writing-main>.actions>.button,
#letter-workflow #checkout .checkout-back-actions>.button{box-sizing:border-box;min-height:52px;display:inline-flex;align-items:center;justify-content:center;text-align:center;line-height:1.2;font-weight:700}
.flow-action-short{display:none}
@media(max-width:600px){
#letter-workflow :is(#backside-step,#photo-step,#content-step,#delivery-step,#shipping-step) .actions{display:flex;align-items:stretch;justify-content:center;flex-wrap:nowrap;gap:8px}
#letter-workflow :is(#backside-step,#photo-step,#content-step,#delivery-step,#shipping-step) .actions>.button,
#letter-workflow #write .writing-main>.actions>.button,
#letter-workflow #checkout .checkout-back-actions>.button{min-height:52px;height:52px;margin:0;padding:8px 5px;font-size:clamp(12px,3.3vw,15px);white-space:nowrap;flex:none}
#letter-workflow :is(#backside-step,#photo-step,#content-step,#delivery-step,#shipping-step) .actions>.button:first-child,
#letter-workflow :is(#backside-next,#photos-next,#contents-next,#delivery-next,#shipping-next),
#letter-workflow #write #checkout-btn,
#letter-workflow #checkout .checkout-back-actions>.button{width:clamp(72px,23vw,100px);min-width:0;max-width:100px;flex:none}
#letter-workflow :is(#open-backside-help,#photos-skip,#contents-skip){flex:1 1 auto;min-width:0;width:auto;max-width:190px}
#letter-workflow #write .writing-main>.actions{display:flex;justify-content:center;gap:8px}
#letter-workflow #write #preview-btn{width:auto;min-width:0;max-width:190px;flex:1 1 auto}
#letter-workflow :is(#delivery-step,#shipping-step) .actions>.button:first-child{width:clamp(72px,23vw,100px);flex:none}
#letter-workflow #checkout .checkout-back-actions>.button{width:clamp(72px,23vw,100px)}
.flow-action-full{display:none}.flow-action-short{display:inline}
}

/* Backside guide button focus uses the black and yellow site palette. */
#backside-help-dialog button:focus{outline:3px solid #161616;outline-offset:4px}

/* Product image tap confirms the selected stationery before writing. */
#product-detail .selectable-paper-sample{cursor:pointer}#product-detail .selectable-paper-sample:focus-visible{outline:3px solid #111;outline-offset:6px}#confirm-product-use{width:min(420px,calc(100vw - 36px));max-width:none;box-sizing:border-box;padding:28px;border:3px solid #111;box-shadow:7px 7px 0 #ffcc00;text-align:center}#confirm-product-use::backdrop{background:rgba(0,0,0,.55)}#confirm-product-use h2{font-size:22px;margin:0 0 10px}#confirm-product-use p{margin:0 0 24px;color:#555}.confirm-product-actions{display:flex;gap:12px;justify-content:center}.confirm-product-actions .button{min-width:0;flex:1;padding:12px 8px;white-space:nowrap}

/* Larger live text while the mobile keyboard covers the A5 page. */
#mobile-writing-live[hidden]{display:none}@media(max-width:750px){#mobile-writing-live{position:fixed;z-index:1000;left:12px;right:12px;max-height:132px;background:#fff;border:2px solid #111;box-shadow:4px 4px 0 #ffcc00;border-radius:8px;padding:8px 12px;pointer-events:none}#mobile-writing-live>span{display:block;font-size:11px;font-weight:700;color:#555;margin-bottom:2px}#mobile-writing-live-text{max-height:88px;overflow:auto;white-space:pre-wrap;word-break:break-word;font-size:18px;line-height:1.45;color:#111}}@media(min-width:751px){#mobile-writing-live{display:none}}

/* Mobile stationery taps use the site's own selection styling. */
@media(max-width:750px){#catalog *,#product-detail *,#write *{-webkit-tap-highlight-color:transparent}#mobile-writing-live-text{white-space:normal}#mobile-writing-live-text img,#mobile-writing-live-text .image-frame{display:none}}

@media(max-width:750px){#mobile-writing-live>span{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 8px}#mobile-writing-live .mobile-writing-note{font-size:10px;font-weight:400;color:#777;line-height:1.4}}

/* Tablet stationery detail and enlarged views use neutral touch/focus feedback. */
#product-modal,#product-modal *{-webkit-tap-highlight-color:transparent}
#product-modal :focus{outline-color:#161616}
#product-modal :focus-visible{outline:3px solid #161616;outline-offset:4px}
#product-modal .selectable-paper-sample,#product-modal .selectable-paper-sample *{-webkit-user-select:none;user-select:none}

/* Touch confirmation buttons keep their normal border without an extra focus ring. */
@media(hover:none) and (pointer:coarse){#confirm-product-use button:focus,#confirm-product-use button:focus-visible{outline:none}}

#product-modal{touch-action:pan-y pinch-zoom}

/* Compact normal mobile detail to fit the visible screen. */
@media(max-width:750px){
 #product-modal:not(.product-enlarged){width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:14px 16px 18px;overflow-x:hidden;overflow-y:auto}
 #product-modal:not(.product-enlarged) .modalhead{margin-bottom:12px;gap:8px}
 #product-modal:not(.product-enlarged) .modalhead>b{font-size:17px}
 #product-modal:not(.product-enlarged) .product-modal-controls button{padding:8px 10px;font-size:14px;min-height:40px}
 #product-modal:not(.product-enlarged) .detail-swipe-hint{font-size:13px;line-height:1.4;margin-bottom:12px}
 #product-modal:not(.product-enlarged) #product-detail>.paper-pair{margin-bottom:12px;gap:10px}
 #product-modal:not(.product-enlarged) .paper-pair img{width:auto;max-width:100%;height:auto;max-height:max(100px,calc(100dvh - 320px));margin:auto;object-fit:contain}
 #product-modal:not(.product-enlarged) #product-detail h2{font-size:24px;line-height:1.3;margin:8px 0 4px}
 #product-modal:not(.product-enlarged) #product-detail p{font-size:13px;line-height:1.45;margin-bottom:8px}
 #product-modal:not(.product-enlarged) #product-detail .product-price{font-size:16px;margin:8px 0}
 #product-modal:not(.product-enlarged) #product-detail>p:last-child{font-size:12px;line-height:1.45;margin-bottom:0}
 #product-modal:not(.product-enlarged) .product-detail-actions{margin-top:12px;gap:8px}
 #product-modal:not(.product-enlarged) .product-detail-actions .button{min-height:44px;padding:10px 8px;font-size:14px}
}

/* One extra reading size, without changing the letter's print typography. */
@media(max-width:750px){
 #mobile-writing-live>span{padding-right:34px}
 #mobile-writing-zoom{position:absolute;right:8px;top:6px;width:30px;height:28px;padding:0;display:grid;place-items:center;border:1px solid #999;border-radius:4px;background:#fff;color:#222;font-size:13px;font-weight:700;line-height:1;pointer-events:auto;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
 #mobile-writing-zoom:focus:not(:focus-visible){outline:none}
 #mobile-writing-live.reading-enlarged #mobile-writing-live-text{font-size:30px}
}

/* Home stationery prices */
.home-new-papers .home-paper-card .home-paper-price{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin:9px 0 5px;color:#222}.home-paper-price del{font-size:12px;font-weight:400;color:#8c8c8c}.home-paper-price strong{font-size:20px;font-weight:800;letter-spacing:-.5px;color:#242424}.home-new-papers .home-paper-card .home-paper-composition{font-size:12px;color:#555;line-height:1.5}.home-new-papers .home-paper-card .home-paper-fee{font-size:11px;color:#777;line-height:1.5;margin-top:2px}@media(max-width:600px){.home-paper-price strong{font-size:18px}.home-new-papers .home-paper-card .home-paper-price{gap:5px}.home-new-papers .home-paper-card .home-paper-fee{font-size:10px}}

/* Structured stationery detail */
#product-detail .product-info{max-width:660px;margin:24px auto 0;text-align:left;padding:0;border:0;background:transparent}
#product-detail .product-info h2{text-align:left;font-size:28px;line-height:1.35;margin:0 0 8px}
#product-detail .product-info-description{color:#666;text-align:left;font-size:15px;margin:0 0 20px}
.product-info-table{display:grid;grid-template-columns:110px minmax(0,1fr);column-gap:24px;row-gap:15px;margin:0;padding:22px 0;border-top:1px solid #ddd;font-size:15px;line-height:1.65}
.product-info-table dt{font-weight:700;color:#252525}.product-info-table dd{margin:0;color:#626262;white-space:pre-line;overflow-wrap:anywhere}
.product-info-table .product-info-original{color:#999}.product-info-table .product-info-sale{color:#d94a15;font-size:25px;font-weight:800;line-height:1.3}
.product-info-specs{border-bottom:1px solid #ddd}
@media(max-width:600px){#product-detail .product-info{margin-top:20px}#product-modal:not(.product-enlarged) #product-detail .product-info h2{font-size:23px;margin:0 0 6px}#product-modal:not(.product-enlarged) #product-detail .product-info-description{font-size:13px;margin:0 0 16px}.product-info-table{grid-template-columns:82px minmax(0,1fr);column-gap:12px;row-gap:13px;padding:18px 0;font-size:13px}.product-info-table .product-info-sale{font-size:22px}}

/* Preserve the stationery preview size; keep mobile actions visible. */
@media(max-width:750px){
 #product-modal:not(.product-enlarged)[open]{display:flex;flex-direction:column;height:calc(100vh - 24px);height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);overflow:hidden}
 #product-modal:not(.product-enlarged)>.modalhead{flex:none}
 #product-modal:not(.product-enlarged)>#product-detail{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}
 #product-modal:not(.product-enlarged)>.product-detail-actions{flex:none;margin-top:10px;padding-top:10px;border-top:1px solid #ddd;background:#fff}
}

/* Hide mobile detail scrollbars while preserving touch scrolling. */
@media(max-width:750px){#product-modal:not(.product-enlarged)>#product-detail{scrollbar-width:none;-ms-overflow-style:none}#product-modal:not(.product-enlarged)>#product-detail::-webkit-scrollbar{display:none;width:0;height:0}}

@media(max-width:750px){html:has(#product-modal[open]),body:has(#product-modal[open]){overflow:hidden;scrollbar-width:none}html:has(#product-modal[open])::-webkit-scrollbar,body:has(#product-modal[open])::-webkit-scrollbar,#product-modal::-webkit-scrollbar{display:none;width:0;height:0}#product-modal{scrollbar-width:none}}



/* Keep usage popup within the phone width and its header on one line. */
#product-guide-dialog{box-sizing:border-box;overflow-x:hidden;overscroll-behavior-x:none}
#product-guide-content,#product-guide-content>.section{min-width:0;max-width:100%;overflow-wrap:break-word}
#product-guide-content :is(.instruction-step,.instruction-copy,.instruction-visual,.instruction-delivery,.instruction-delivery>*,.instructions-intro>* ){min-width:0}
#product-guide-content img{max-width:100%}
@media(max-width:750px){
 #product-guide-dialog .usage-help-title{display:flex;align-items:center;flex-wrap:nowrap;gap:6px;padding:10px 8px;font-size:15px;line-height:1.3}
 #product-guide-title{flex:1;min-width:0;white-space:nowrap}
 #product-guide-dialog .usage-help-actions{display:flex;align-items:center;flex-wrap:nowrap;gap:5px;margin-left:auto;flex:none}
 #product-guide-dialog :is(#hide-product-guide-day,#close-product-guide){padding:7px 6px;font-size:11px;line-height:1.3;white-space:nowrap;min-height:32px}
 #product-guide-content>.section{padding:10px 2px}
 #product-guide-content .instructions-intro{padding:20px;gap:20px}
 #product-guide-content .instruction-visual{padding:18px}
 #product-guide-content .back-visual{gap:20px;padding:20px}
 #product-guide-content .back-visual figure{width:calc((100% - 20px)/2)}
 #product-guide-content .instruction-delivery{padding:18px}
 #product-guide-content .instruction-table-wrap{max-width:100%}
}

@media(max-width:750px){
 #product-guide-dialog{width:calc(100% - 20px);max-width:calc(100% - 20px);padding:10px;overflow-x:clip;touch-action:pan-y}
 #product-guide-dialog>.usage-help-title{top:-10px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px;margin-bottom:12px;padding:9px 6px}
 #product-guide-dialog #product-guide-title{font-size:14px;letter-spacing:-.5px;white-space:nowrap}
 #product-guide-dialog .usage-help-actions{display:flex;flex-wrap:nowrap;gap:4px;min-width:0}
 #product-guide-dialog #hide-product-guide-day,#product-guide-dialog #close-product-guide{font-size:11px;padding:7px 5px;white-space:nowrap}
 #product-guide-content .instruction-step,#product-guide-content .instruction-delivery,#product-guide-content .instructions-intro{grid-template-columns:minmax(0,1fr)}
 #product-guide-content .instruction-step>*{max-width:100%;min-width:0}
 html:has(#product-guide-dialog[open]),body:has(#product-guide-dialog[open]){overflow:hidden;overscroll-behavior-x:none}
}



@media(max-width:750px){
 #mobile-writing-live-text{height:1.45em;max-height:1.45em;white-space:nowrap;overflow:auto;scrollbar-width:none}
 #mobile-writing-live-text::-webkit-scrollbar{display:none}
 #mobile-writing-live-text div,#mobile-writing-live-text p{display:inline;min-height:0}
 #mobile-writing-live-text br{display:none}
}

@media(max-width:750px){#mobile-writing-live>span{flex-wrap:nowrap;white-space:nowrap}#mobile-writing-live .mobile-writing-note{white-space:nowrap}}

/* Balanced confirmation actions. */
#site-notice-dialog .actions{display:flex;align-items:stretch;justify-content:center;gap:12px}
#site-notice-dialog .actions .button{flex:1 1 0;min-width:0;min-height:48px;margin:0;display:flex;align-items:center;justify-content:center;padding:10px 8px;line-height:1.4;white-space:nowrap;text-align:center}
#site-notice-dialog #site-notice-cancel{margin-right:0}
#site-notice-dialog #site-notice-cancel:focus:not(:focus-visible){outline:none}

@media(max-width:750px){#mobile-writing-live-text{pointer-events:auto;touch-action:pan-x;cursor:text}}

@media(max-width:750px){#mobile-writing-live-text::after{content:'';display:inline-block;width:50%;height:1px;pointer-events:none}}

/* Letter workflow stage status */
#letter-workflow .writing-steps button{display:flex;align-items:center;justify-content:space-between;gap:8px;height:auto;min-height:48px}
#letter-workflow .workflow-step-status{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;padding:3px 7px;border-radius:20px;background:#eee;color:#737373;font-size:11px;font-weight:500;line-height:1.4}
#letter-workflow .writing-steps .complete .workflow-step-status{background:#dcfce7;color:#167448}
#letter-workflow .writing-steps .current .workflow-step-status{background:#111;color:#fff}
@media(max-width:750px){
#letter-workflow .writing-steps button{flex-direction:column;justify-content:center;gap:4px;min-height:54px;padding:5px 1px}
#letter-workflow .workflow-step-status{font-size:9px;padding:2px 4px;letter-spacing:-.3px}
}

#product-modal[open],#product-modal.product-enlarged[open]{display:flex;flex-direction:column;max-height:calc(100dvh - 24px);overflow:hidden;padding:0!important;isolation:isolate}
#product-modal>.modalhead,#product-modal.product-enlarged>.modalhead{position:relative;top:auto;flex:0 0 auto;margin:0!important;padding:16px 20px!important;background:#fff;opacity:1;border-bottom:1px solid #e5e5e5;z-index:20}
#product-modal>#product-detail,#product-modal.product-enlarged>#product-detail{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:16px 24px;scroll-padding-top:12px}
#product-modal>.product-detail-actions,#product-modal.product-enlarged>.product-detail-actions{flex:0 0 auto;margin:0!important;padding:14px 20px;background:#fff;border-top:1px solid #ddd}
@media(max-width:750px){#product-modal[open],#product-modal.product-enlarged[open]{height:calc(100dvh - 24px)}#product-modal>.modalhead,#product-modal.product-enlarged>.modalhead{padding:12px 14px!important}#product-modal>#product-detail,#product-modal.product-enlarged>#product-detail{padding:12px 14px}}
#facility-wheel-popup[open]{display:flex;flex-direction:column;max-height:calc(100dvh - 24px);padding:0;overflow:hidden;background:#fff}
#facility-wheel-popup>.modalhead{flex:0 0 auto;margin:0;padding:16px 20px;background:#fff;border-bottom:1px solid #e5e5e5;z-index:20}
#facility-wheel-popup>.facility-picker-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:20px 24px}
#facility-wheel-popup .facility-picker-scroll>select{width:100%;min-height:44px;margin-top:12px;font:inherit;border:2px solid #171717;border-radius:8px;padding:8px;background:#fff5c1}
#facility-wheel-popup .facility-picker-scroll>.button{width:100%;white-space:normal}
@media(max-width:600px){#facility-wheel-popup>.modalhead{padding:12px 14px}#facility-wheel-popup>.facility-picker-scroll{padding:14px}}

/* Keep facility actions visible while the wheel or form scrolls. */
#facility-wheel-popup>.facility-picker-actions{flex:0 0 auto;display:flex;flex-direction:column;gap:10px;padding:14px 20px max(14px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #ddd;z-index:20}
#facility-wheel-popup .facility-picker-actions>.button{width:100%;margin:0;white-space:normal;line-height:1.4}
#facility-wheel-popup .facility-picker-actions>[hidden]{display:none!important}
#facility-wheel-popup .facility-wheel{overscroll-behavior-y:contain;touch-action:pan-y}
#facility-wheel-popup .facility-wheel-choice{min-height:110px;margin-bottom:0}
@media(max-width:600px){#facility-wheel-popup>.facility-picker-actions{padding:10px 14px max(12px,env(safe-area-inset-bottom));gap:8px}#facility-wheel-popup .facility-picker-actions>.button{padding:11px 10px;font-size:15px}}

#facility-wheel-popup .facility-picker-actions>.facility-wheel-choice{min-height:0;flex:0 0 auto;margin:0 0 4px;overflow-wrap:anywhere;word-break:normal;line-height:1.5}
#facility-wheel-popup .facility-picker-actions>.facility-wheel-choice strong{font-size:15px}
#facility-wheel-popup .facility-picker-actions>.facility-wheel-choice span{font-size:13px!important;margin-top:4px!important}
#facility-wheel-popup>.facility-picker-scroll{padding-bottom:8px}

/* Readable popup notification text. */
#site-notice-dialog #site-notice-message{font-weight:700;line-height:1.7;color:#161616}
#photo-crop-confirm,#photo-crop-error,dialog [role="alert"]{font-weight:700}

#site-notice-dialog #site-notice-message{word-break:keep-all;overflow-wrap:break-word;text-wrap:pretty}#site-notice-dialog .site-notice-heading h2{min-width:0;word-break:keep-all;overflow-wrap:break-word;line-height:1.4}

/* Match checkout addresses to their entry panels. */
#checkout-recipient{background:#eef8f3;border-color:#709984;overflow-wrap:break-word;word-break:keep-all}
#checkout-sender{background:#fff3e6;border-color:#c89663;overflow-wrap:break-word;word-break:keep-all}

/* Consistent recipient/sender address-book colors. */
#recipient-address-list>.recipient-address-card{background:#eef8f3;border-color:#709984}
#sender-address-list>.recipient-address-card{background:#fff3e6;border-color:#c89663}
#recipient-address-list>.recipient-address-card h3{color:#2f6752}
#sender-address-list>.recipient-address-card h3{color:#8b572b}

#member-inquiry-dialog{position:fixed;inset:0;margin:auto;width:min(560px,calc(100% - 28px));max-height:calc(100dvh - 32px);overflow:auto;border:3px solid #161616;border-radius:16px;padding:0 24px 24px;box-shadow:6px 6px #ffcc00;background:#fff}
#member-inquiry-dialog::backdrop{background:#0007}
#member-inquiry-dialog>.modalhead{position:sticky;top:0;z-index:2;background:#fff;padding:18px 0;margin:0 0 18px;border-bottom:1px solid #ddd}
#member-inquiry-dialog .modalhead h2{font-size:24px;margin:0}
#member-inquiry-dialog .modalhead button{width:42px;height:42px;padding:0}
#member-inquiry-dialog #inquiry-form label{display:block;margin:0 0 16px;font-weight:700}
#member-inquiry-dialog #inquiry-form input,#member-inquiry-dialog #inquiry-form textarea{width:100%;margin-top:8px}
#member-inquiry-dialog #inquiry-form textarea{min-height:180px;resize:vertical}
#member-inquiry-dialog #inquiry-form p{font-weight:600}
.home-community .community-panels{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.community-card{min-width:0;padding:24px;border:2px solid #161616;border-radius:12px;background:#fff;box-shadow:4px 4px #ffdf45}
.community-card-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-bottom:14px;border-bottom:2px solid #161616}
.community-card-head h2{font-size:23px;margin:0}
.community-card-head>a{font-size:13px;font-weight:700;white-space:nowrap}
.community-tabs{display:flex;gap:18px}
.community-tabs button{border:0;background:transparent;box-shadow:none;padding:6px 0;font-weight:700;color:#777;font-size:20px}
.community-tabs button[aria-selected="true"]{color:#161616;border-bottom:4px solid #ffcc00}
.community-list{max-height:420px;overflow:auto}
.community-list>a{display:block;padding:18px 0;border-bottom:1px solid #e5e5e5;font-weight:700}
.community-list>p,.community-empty{padding:24px 0;color:#777}
.public-review-card{padding:20px 0;border-bottom:1px solid #ddd}
.public-review-card h3{font-size:17px;margin:8px 0}
.public-review-card p{white-space:pre-line;overflow-wrap:anywhere;margin:8px 0;line-height:1.7}
.public-review-card small{color:#777;font-size:12px}
.home-community .public-review-card p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.community-page-tabs{display:flex;gap:12px;margin:20px 0}
.community-page-tabs a{padding:10px 18px;border:2px solid #161616}
.community-page-tabs a[aria-current="page"]{background:#ffcc00;font-weight:700}
#review-order-summary{font-weight:700;color:#675e3a}
#home-community[hidden],#events[hidden],#public-reviews[hidden],#home-event-list[hidden],#home-notice-list[hidden]{display:none!important}
@media(max-width:750px){.home-community .community-panels{grid-template-columns:1fr;gap:24px}.community-card{padding:18px}.community-card-head h2,.community-tabs button{font-size:19px}.community-tabs{gap:14px}.community-card-head>a{font-size:12px}}

#member-profile-dialog{position:fixed;inset:0;margin:auto;width:min(600px,calc(100% - 28px));max-height:calc(100dvh - 32px);overflow:auto;border:3px solid #161616;border-radius:16px;padding:0 24px 24px;box-shadow:6px 6px #ffcc00;background:#fff}
#member-profile-dialog::backdrop{background:#0007}
#member-profile-dialog>.modalhead{position:sticky;top:0;background:#fff;z-index:2;padding:18px 0;margin-bottom:18px;border-bottom:1px solid #ddd}
#member-profile-dialog .modalhead h2{font-size:24px;margin:0}
#member-profile-dialog .modalhead button{width:42px;height:42px;padding:0}
#member-profile-dialog #account-profile{border:0;padding:0;margin:0}
#member-profile-dialog label{font-weight:700}

#mypage .mypage-summary-box{border:3px solid #161616;border-radius:18px;overflow:hidden;background:#ffe777;margin-bottom:28px}
#mypage .mypage-summary-box>.account-welcome{background:transparent;border:0;border-radius:0;margin:0;padding:24px}
#mypage .mypage-summary-box>.account-metrics{background:transparent;border:0;border-radius:0;margin:0;padding:0 24px 24px}
.account-order-metric{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:12px;padding:22px;background:#fff;border:1px solid #888;border-radius:10px;text-decoration:none}
.account-order-metric strong{font-size:30px;font-weight:800}
.account-order-metric small{font-size:12px;color:#777}
.account-order-metric:hover{background:#fffbed;outline:2px solid #161616}
.address-book-head{display:flex;align-items:center;gap:16px;margin:22px 0}
.address-book-head h3{margin:0 auto 0 0;white-space:nowrap}
.address-book-head #recipient-search{width:360px;max-width:40%;margin:0;min-width:120px}
.address-book-head .button{white-space:nowrap;margin:0}
@media(max-width:650px){.address-book-head{flex-wrap:wrap;gap:12px}.address-book-head #recipient-search{order:3;max-width:none;width:100%}.address-book-head .button{font-size:13px;padding:10px 12px}#mypage .mypage-summary-box>.account-welcome{padding:18px}#mypage .mypage-summary-box>.account-metrics{padding:0 18px 18px}}

#new-sender-address .sender-popup-address-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;margin-bottom:18px}
#new-sender-address .sender-popup-address-row>label{min-width:0;margin:0}
#new-sender-address .sender-popup-address-row>button{margin:0 0 4px;white-space:nowrap}
#new-sender-address input[readonly]{cursor:pointer}
#sent-detail-dialog{max-height:calc(100dvh - 28px);overflow:auto;padding-top:0}
#sent-detail-dialog>.sectionhead{position:sticky;top:0;background:#fff;z-index:5;margin:0;padding:18px 0;border-bottom:1px solid #ddd}
.member-order-visual{margin:18px 0;padding:16px;border:2px solid #161616;border-radius:10px;background:#fff}
.member-order-visual>summary{font-weight:800;cursor:pointer}
.member-order-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}
.member-order-photo-grid figure{margin:0;min-width:0}
.member-order-photo-grid img{width:100%;height:220px;object-fit:contain;background:#f3f3f3}
.member-order-photo-grid figcaption{font-size:12px;overflow-wrap:anywhere}
.member-letter-pairs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}
.member-letter-pairs figure{margin:0;min-width:0}
.member-letter-pairs svg{width:100%;height:auto;display:block;border:1px solid #ddd}
.member-letter-pairs figcaption{text-align:center;font-size:12px;font-weight:700;margin:8px 0}
.member-letter-pairs .readonly-order-sheet{margin:0!important;zoom:1!important}
.member-content-preview{padding:14px 0;border-bottom:1px solid #ddd}
.member-content-preview iframe{display:block;width:100%;height:500px;border:1px solid #ddd;margin-top:12px}
.member-content-preview img{max-width:100%;max-height:600px;object-fit:contain}
.member-content-preview .sample-content-page{padding:20px;background:#fffdf4;border:1px solid #ddd;white-space:pre-wrap;margin:10px 0}
@media(max-width:650px){.member-order-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.member-order-photo-grid img{height:180px}#new-sender-address .sender-popup-address-row{gap:8px}#new-sender-address .sender-popup-address-row>button{font-size:12px;padding:12px 8px}.member-content-preview iframe{height:420px}}

#registration-postal-search[hidden]{display:none!important}


/* Review photo attachment and public gallery */
.review-photo-field{margin:16px 0}.review-photo-field input[type=file]{display:block;width:100%;box-sizing:border-box;margin-top:8px}.review-photo-editor,.review-photo-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:10px;margin:12px 0}.review-photo-editor>div{min-width:0}.review-photo-editor img,.review-photo-gallery img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border:1px solid #161616;border-radius:8px;box-sizing:border-box}.review-photo-editor button{width:100%;margin-top:6px;font-size:12px;padding:8px 4px}.review-photo-gallery{grid-template-columns:repeat(5,minmax(0,1fr))}.review-photo-gallery a{min-width:0}.public-review-card .review-photo-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:600px){.review-photo-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}

.review-delete-text,.review-photo-editor .review-delete-text{border:0;background:transparent;box-shadow:none;color:#666;padding:5px 0;min-height:0;width:auto;font:inherit;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.review-delete-text:hover{color:#b42318;background:transparent}.review-delete-text:focus-visible{outline:2px solid #161616;outline-offset:3px}.review-delete-text:disabled{opacity:.5;cursor:default}

/* Member profile table */
#member-profile-dialog{width:min(850px,calc(100vw - 24px));max-height:90dvh;padding:0;overflow:auto}#member-profile-dialog>.modalhead{position:sticky;top:0;z-index:2;background:#fff;border-bottom:8px solid #ffc46c;margin:0;padding:18px 22px}#member-profile-dialog #account-profile{padding:20px}#member-profile-dialog #account-profile>h3,#member-profile-dialog #account-profile>p{margin:0 0 10px}.profile-edit-intro{background:#f5f5f5;margin:18px 0;padding:14px 18px}.profile-edit-intro p{margin:4px 0;line-height:1.6}.profile-edit-table{border-top:3px solid #aaa;border-left:1px solid #ddd;border-right:1px solid #ddd}.profile-edit-row{display:grid;grid-template-columns:150px minmax(0,1fr);border-bottom:1px solid #ddd}.profile-edit-row[hidden]{display:none}.profile-edit-heading{margin:0!important;background:#f5f5f5;padding:18px 15px;display:flex!important;align-items:center;font-weight:800!important;border-right:1px solid #ddd}.profile-edit-row>div{padding:14px;min-width:0}.profile-edit-row input:not([type=checkbox]):not([type=radio]){max-width:280px;width:100%;box-sizing:border-box;margin:0}.profile-edit-row small{display:block;margin-top:8px;line-height:1.5;color:#666}.profile-inline-check{display:flex!important;align-items:center;gap:8px;margin:12px 0 0!important;font-size:14px;font-weight:500!important;line-height:1.5}.profile-inline-check input{width:18px!important;height:18px!important;margin:0!important;flex-shrink:0}.profile-account-id{display:block;font-size:0!important}.profile-account-id input{font-size:15px;border:0;background:transparent;padding:4px 0}.profile-birth-controls{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.profile-birth-controls .profile-inline-check{margin:0!important}.profile-edit-actions{display:flex;justify-content:center;gap:10px;margin-top:20px}.profile-edit-actions .button{min-width:100px}#profile-edit-cancel{background:#eee;color:#333}#member-profile-dialog #profile-form{display:block}#profile-phone{background:#f7f7f7}@media(max-width:600px){.profile-edit-row{grid-template-columns:100px minmax(0,1fr)}.profile-edit-heading{padding:14px 9px;font-size:13px}.profile-edit-row>div{padding:12px 10px}#member-profile-dialog #account-profile{padding:12px}.profile-inline-check{font-size:12px}.profile-edit-intro{padding:12px;font-size:13px}}

/* Designed order detail */
#sent-detail-dialog{padding:0;width:min(800px,calc(100vw - 24px));max-height:90dvh;border:2px solid #161616;border-radius:16px;overflow:auto}#sent-detail-dialog>.modalhead{position:sticky;top:0;z-index:3;background:#fff;padding:16px 22px;margin:0;border-bottom:1px solid #ddd}#sent-detail-dialog>.modalhead h2{font-size:22px;margin:0}#sent-detail-content{padding:20px}.member-order-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px;background:#fff6c7;border:1px solid #e6d98b;border-radius:12px}.member-order-hero small{font-size:12px;color:#666}.member-order-hero h3{margin:5px 0 8px!important;font-size:20px;overflow-wrap:anywhere}.member-order-hero p{font-size:12px;color:#666;margin:0!important}.member-order-badge{font-size:12px;line-height:1.4;padding:7px 11px;flex-shrink:0;border:1px solid currentColor;border-radius:30px;font-weight:800}.member-order-badge.is-cancelled{background:#f5e6e6;color:#9b3434}.member-order-badge.is-paid{background:#dff5e8;color:#226541}.member-order-badge.is-waiting{background:#fff0d5;color:#926000}.member-order-quantities{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0 20px}.member-order-quantities>div{text-align:center;padding:16px 8px;border:1px solid #ddd;border-radius:10px;background:#fafafa}.member-order-quantities span{display:block;font-size:12px;color:#666;margin-bottom:6px}.member-order-quantities strong{font-size:22px}.member-order-payment{border:1px solid #ddd;border-radius:12px;padding:18px;margin:0 0 16px}.member-order-payment h4,.member-order-contents h4{margin:0 0 14px;font-size:16px}.member-order-payment dl,.member-order-addresses dl{display:grid;grid-template-columns:76px minmax(0,1fr);gap:10px;margin:0;font-size:14px;line-height:1.6}.member-order-payment dt,.member-order-addresses dt{color:#666;font-size:12px}.member-order-payment dd,.member-order-addresses dd{margin:0;overflow-wrap:anywhere}.member-order-payment dd:first-of-type{font-size:20px;font-weight:800}.member-order-addresses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:20px}#sent-detail-content .member-order-addresses .order-address{margin:0;border:1px solid #ddd;border-radius:12px;padding:16px}#sent-detail-content .member-order-addresses .order-address-sender{background:#fff0e7;border-color:#e6c5b1}#sent-detail-content .member-order-addresses .order-address-receiver{background:#e8f7ee;border-color:#bdddc9}.member-order-addresses h4{font-size:15px;margin:0 0 14px}.member-order-contents{margin:18px 0}.member-order-actions{display:flex;gap:10px;flex-wrap:wrap;padding-top:16px;margin-top:20px;border-top:1px solid #ddd}.member-order-cancel-note{font-size:12px;color:#777;line-height:1.6}.member-order-visual{margin:12px 0!important}.member-order-visual>summary{background:#fafafa;border-radius:8px;font-size:14px}.member-order-visual[open]>summary{background:#fff5bc}@media(max-width:600px){#sent-detail-content{padding:14px}.member-order-hero{padding:16px;gap:8px;flex-wrap:wrap}.member-order-hero h3{font-size:18px}.member-order-addresses{grid-template-columns:1fr}.member-order-quantities{gap:8px}.member-order-quantities strong{font-size:20px}.member-order-payment dl{grid-template-columns:70px minmax(0,1fr)}#sent-detail-dialog>.modalhead{padding:14px 16px}}

/* Simplified My Page and own inquiry responses */
#mypage .account-tabs,#mypage .account-panel{display:none!important}.mypage-inquiry-entry{display:flex;justify-content:space-between;gap:12px;padding:18px 22px;border:2px solid #161616;border-radius:12px;margin-top:16px;font-weight:800;background:#fff5d8;color:#161616;text-decoration:none}.member-inquiry-cards{display:grid;gap:16px}.member-inquiry-card{border:1px solid #ddd;border-radius:14px;background:white;padding:22px}.member-inquiry-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}.member-inquiry-heading small{color:#777;font-size:12px}.member-inquiry-card h3{margin:16px 0 10px;font-size:18px}.inquiry-status{padding:6px 12px;border-radius:24px;font-size:12px;font-weight:800}.inquiry-status.is-answered{background:#e0f4e8;color:#25633e}.inquiry-status.is-pending{background:#fff0c2;color:#835400}.inquiry-message,.member-inquiry-answer p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.member-inquiry-answer{margin-top:20px;padding:18px;background:#f5f7f8;border-left:4px solid #ffcc00;border-radius:8px}.member-inquiry-answer strong{font-size:14px}.member-inquiry-answer small,.inquiry-pending-note{color:#777;font-size:12px}.inquiry-history-link{display:block;text-align:center;margin:16px 0;color:#555;font-weight:700}@media(max-width:600px){.member-inquiry-card{padding:16px}.mypage-inquiry-entry{padding:16px;font-size:14px}.member-inquiry-answer{padding:14px}}

/* Distinct notice and event tabs */
.community-tabs{gap:8px!important;border:0!important;align-items:stretch!important}.community-tabs [data-community-tab]{border:1.5px solid #161616!important;border-radius:8px!important;padding:10px 16px!important;margin:0!important;font-size:16px!important;font-weight:800!important;line-height:1.4!important;position:relative!important;box-shadow:none!important;opacity:1!important}.community-tabs [data-community-tab]::after,.community-tabs [data-community-tab]::before{display:none!important}.community-tabs [data-community-tab=notices]{background:#eff8f2!important;color:#567261!important}.community-tabs [data-community-tab=events]{background:#fff3e9!important;color:#99714f!important}.community-tabs [data-community-tab=notices][aria-selected=true]{background:#caebd7!important;color:#173c2b!important;box-shadow:3px 3px 0 #161616!important}.community-tabs [data-community-tab=events][aria-selected=true]{background:#ffd8b4!important;color:#65340c!important;box-shadow:3px 3px 0 #161616!important}.community-tabs [data-community-tab]:focus-visible{outline:3px solid #ffcc00;outline-offset:4px}@media(max-width:600px){.community-tabs [data-community-tab]{padding:9px 12px!important;font-size:14px!important}.community-tabs{gap:7px!important}}

/* Compact social login under the email form */
#account-dialog .social-divider{display:flex;align-items:center;gap:12px;margin:28px 0 20px;font-size:14px;font-weight:800;color:#555;text-align:left}#account-dialog .social-divider[hidden]{display:none}#account-dialog .social-divider::after{content:'';height:1px;background:#ddd;flex:1}#account-dialog .social-signup{display:flex;align-items:flex-start;justify-content:center;gap:35px;padding:0 0 10px;background:transparent;border:0}#account-dialog .social-signup>button{font-size:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;min-width:72px;width:72px;color:#333!important;display:flex;align-items:center;flex-direction:column;gap:9px}#account-dialog .social-signup>button::before{display:grid;place-items:center;content:'';width:58px;height:58px;border-radius:50%;font:bold 30px/1 Arial,sans-serif;flex:none}#account-dialog .social-signup>button::after{font:500 13px/1.5 system-ui,sans-serif;content:''}#account-dialog .social-signup>[data-provider=naver]{order:1}#account-dialog .social-signup>[data-provider=kakao]{order:2}#account-dialog .social-signup>[data-provider=google]{order:3}#account-dialog .social-signup>[data-provider=naver]::before{content:'N';background:#03c75a;color:#fff}#account-dialog .social-signup>[data-provider=naver]::after{content:'네이버'}#account-dialog .social-signup>[data-provider=kakao]::before{background:#fee500 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 5C8.8 5 3 9.5 3 15c0 3.4 2.2 6.4 5.7 8.2L7.5 28l5.8-3.1c.9.1 1.8.2 2.7.2 7.2 0 13-4.5 13-10S23.2 5 16 5Z' fill='%231b1b00'/%3E%3C/svg%3E") center/31px no-repeat}#account-dialog .social-signup>[data-provider=kakao]::after{content:'카카오'}#account-dialog .social-signup>[data-provider=google]::before{content:'G';background:#f2f3f4;color:#4285f4;font-size:34px}#account-dialog .social-signup>[data-provider=google]::after{content:'구글'}#account-dialog .social-signup>button:disabled{opacity:.4;cursor:default}#account-dialog .social-signup>button:focus-visible{outline:2px solid #161616!important;outline-offset:5px}@media(max-width:400px){#account-dialog .social-signup{gap:20px}}

/* Separate social login from the email form */
#account-dialog .social-login-panel{padding:18px 20px;background:#fff9df;border:2px solid #161616;border-radius:12px;margin:14px 0 26px;box-shadow:none}
#account-dialog .social-login-panel:has(.social-signup[hidden]){display:none}
#account-dialog .social-login-panel .social-divider{margin:0 0 18px;color:#413a20;font-size:14px}
#account-dialog .social-login-panel .social-divider::after{background:#ddd3ad}
#account-dialog .social-login-panel .social-signup{gap:20px;padding:0 0 2px;width:100%}
#account-dialog .social-login-panel .social-signup>button{flex:1;min-width:0!important;width:auto!important;max-width:90px}
#account-dialog .social-login-panel .social-signup>button::before{max-width:100%;aspect-ratio:1;height:auto}
@media(max-width:400px){#account-dialog .social-login-panel{padding:16px 12px}#account-dialog .social-login-panel .social-signup{gap:12px}}

.header-account{display:flex;align-items:center;gap:14px}.header-tracking-link{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;padding:8px 13px;border:1px solid #238148;border-radius:7px;background:#e4f5e9;color:#18743a!important;text-decoration:none;font-size:13px;font-weight:800}.header-tracking-link:hover{background:#cfead8}.personal-menu nav .menu-tracking-link{color:#18743a;background:#e4f5e9;border-radius:8px;padding:12px 14px;font-weight:800}.personal-menu nav .menu-tracking-link:hover{background:#cfead8}@media(max-width:600px){.header-account{gap:8px}.header-tracking-link{font-size:11px;padding:7px 9px}}


/* Text stays inside the configured writing region while overflow is paginated. */
#paper-input,.final-sheet .body{overflow:hidden!important}

/* Email signup verification. */
.signup-email-verification{border:1px solid #ddd5bf;border-radius:10px;background:#fffdf3;padding:14px;margin:0 0 18px}.signup-email-verification[hidden],.signup-email-code-row[hidden]{display:none!important}.signup-email-verification>button{width:100%}.signup-email-code-row{display:flex;gap:10px;align-items:flex-end;margin-top:12px}.signup-email-code-row label{flex:1;min-width:0;margin:0!important}.signup-email-code-row>button{flex:none;min-height:44px}.signup-email-verification p{font-size:13px;line-height:1.6;margin:10px 0 0}.signup-email-verification input{width:100%;box-sizing:border-box;letter-spacing:.12em}
@media(max-width:420px){.signup-email-code-row{flex-direction:column;align-items:stretch}.signup-email-code-row>button{width:100%}}

/* Equal heading hierarchy and distinct signup section colors. */
#account-dialog #account-social-title,
#account-dialog #account-dialog-title{box-sizing:border-box;display:flex;align-items:center;min-height:0;width:100%;margin:24px 0 12px;padding:0;border:0;border-radius:0;font-size:20px;font-weight:800;line-height:1.4;letter-spacing:-.03em;text-align:left;color:#171717}
#account-dialog #account-social-title{background:transparent}
#account-dialog #account-dialog-title{background:transparent}
#account-dialog #account-social-title[hidden]{display:none}
#account-dialog #account-social-title::after{display:none}
#account-dialog .account-social-hint{margin:0 0 12px;padding:0;text-align:left;color:#555;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
#account-dialog .account-social-hint[hidden]{display:none}

.review-invite-dialog{width:min(420px,calc(100vw - 32px));box-sizing:border-box;padding:28px 22px;border:2px solid #171717;border-radius:12px;text-align:center}.review-invite-dialog::backdrop{background:#0007}.review-invite-dialog h2{font-size:23px;margin:0 0 14px}.review-invite-dialog .actions{display:flex;justify-content:center;gap:12px;margin-top:24px}.review-invite-dialog .button{flex:1;min-width:0}

#account-dialog #account-social-title,#account-dialog #account-dialog-title{font-size:20px!important;font-weight:800!important;line-height:1.4!important}

#account-dialog .signup-email-availability{display:block;margin-top:7px;font-size:13px;line-height:1.5;font-weight:500;color:#555}#account-dialog .signup-email-availability.is-available{color:#0078a8}#account-dialog .signup-email-availability.is-invalid{color:#c52222}

/* Dedicated login/signup screens share the existing authentication form and handlers. */
.auth-page-section{max-width:1000px;margin:0 auto;padding:44px 24px!important}
.auth-page-layout{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);overflow:hidden;border-radius:20px;background:#fff;box-shadow:0 8px 32px #0000000d}
.auth-page-slot{min-width:0;background:#fff}
.auth-page-brand{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:#ffe56b;padding:40px 28px;color:#171717}
.auth-page-brand h1{font-size:36px;margin:12px 0 16px;line-height:1.3}
.auth-page-brand p{max-width:320px;margin:8px 0;line-height:1.8;font-size:15px;word-break:keep-all}
.auth-envelope{font-size:88px;line-height:1.2;margin-bottom:16px}
.auth-signup-slot{max-width:600px;margin:auto;border-radius:20px;box-shadow:0 8px 32px #0000000d;overflow:hidden}
body.auth-page-view{background:#f5f5f5}
body.auth-page-view #account-dialog{position:static!important;inset:auto!important;display:block;width:100%!important;max-width:none!important;max-height:none!important;height:auto!important;overflow:visible!important;box-sizing:border-box;margin:0!important;padding:36px!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff}
body.auth-page-view #account-dialog>.modalhead{display:none}
body.auth-page-view #account-dialog #account-dialog-title{margin-top:0;margin-bottom:22px}
body.auth-page-view #account-dialog #account-social-title{margin-top:28px}
body.auth-page-view #account-dialog .account-bottom-actions{display:flex;gap:12px;margin-top:24px}
body.auth-page-view #account-dialog .account-bottom-actions>button{flex:1;min-width:0;min-height:48px}
body.auth-page-view #account-dialog .social-login-panel{margin:0;padding:20px;border:1px solid #dcdcdc;border-radius:12px;background:#fff}
body.auth-page-view #account-dialog .social-login-panel .social-signup{gap:24px}
body.auth-page-view #account-dialog .social-login-panel .social-signup>button{max-width:76px}
body.auth-page-view #account-dialog .social-login-panel .social-signup>button::before{width:56px;height:56px;aspect-ratio:auto}
body.auth-page-view #account-form>label{margin-bottom:20px;line-height:1.5}
body.auth-page-view #account-form input:not([type=checkbox]):not([type=radio]),body.auth-page-view #account-form select{box-sizing:border-box;min-height:48px;padding:12px 14px;margin-top:8px;border:1px solid #bbb;border-radius:6px;font-size:15px;width:100%}
body.auth-page-view #account-form input:focus-visible,body.auth-page-view #account-form select:focus-visible{outline:2px solid #171717;outline-offset:2px}
body.auth-page-view #account-form .signup-email-availability:empty{display:none}
body.auth-page-view #signup #account-social-title{margin-top:0;margin-bottom:12px}
body.auth-page-view #signup #account-dialog .social-login-panel{margin-bottom:32px}
body.auth-page-view #signup #account-dialog-title{margin-bottom:18px}
body.auth-page-view #signup .signup-benefits{margin:0 0 26px;padding:18px 20px;border-radius:12px;font-size:14px;line-height:1.7}
body.auth-page-view #signup .signup-benefits h4{margin:0 0 12px;font-size:16px}
body.auth-page-view #signup .signup-benefits ul{margin:0;padding:0;list-style:none}
body.auth-page-view #signup .signup-benefits li{margin:8px 0}
body.auth-page-view #signup .signup-email-verification{margin:0 0 24px;padding:14px;background:#fafafa;border-color:#e2e2e2}
body.auth-page-view #signup .signup-email-verification>button{min-height:44px;box-shadow:none;border:1px solid #ccc;border-radius:6px}
body.auth-page-view #login #account-dialog-title,body.auth-page-view #login #account-social-title{min-height:0;padding:0;border:0;border-radius:0;background:transparent}
body.auth-page-view #login #account-dialog-title{font-size:26px!important;margin-bottom:26px}
body.auth-page-view #login #account-social-title{font-size:17px!important;padding-top:24px;margin:28px 0 16px;border-top:1px solid #e5e5e5}
body.auth-page-view #login #account-dialog .social-login-panel{border:0;padding:0}
@media(max-width:700px){.auth-page-section{padding:24px 14px!important}.auth-page-layout{grid-template-columns:minmax(0,1fr)}.auth-page-brand{display:none}body.auth-page-view #account-dialog{padding:28px 20px!important}.auth-signup-slot{max-width:100%}body.auth-page-view #signup .signup-benefits{padding:16px;font-size:13px}body.auth-page-view #signup #account-dialog .social-login-panel{margin-bottom:28px}}

#reviews>.sectionhead{justify-content:center;text-align:center;position:relative}#reviews>.sectionhead>a{position:absolute;right:0;top:0}#reviews>.sectionhead h2{font-size:34px;font-weight:600}#reviews .storage-note{text-align:center;font-size:13px}.my-review-intro{text-align:center;margin:24px 0 44px;line-height:1.8}.review-rate{color:#007cae;font-weight:700}.review-best-rate{color:#c90073;font-weight:800}.my-review-tabs{display:flex;gap:0;border-bottom:1px solid #ccc;margin:20px 0 32px}.my-review-tabs button{padding:18px 24px;min-width:220px;background:white;color:#666;border:1px solid #ddd;font:inherit;font-weight:700;cursor:pointer}.my-review-tabs button[aria-selected=true]{background:#555;color:#fff;border-color:#555}.my-review-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.my-review-grid[hidden],#review-written-panel[hidden]{display:none!important}.my-review-card{display:flex;flex-direction:column;align-items:center;gap:12px;min-width:0;padding:28px 20px;border:1px solid #ddd;border-radius:24px;background:white;text-align:center}.my-review-art{display:grid;place-items:center;width:156px;height:156px;border-radius:50%;overflow:hidden;background:#e2f5fd;margin:4px 0 20px}.my-review-art img{width:100%;height:100%;object-fit:contain;padding:18px}.my-review-art>span{font-size:72px;color:#1689b1}.my-review-date{margin:0;color:#555}.my-review-people{color:#888;font-size:14px;overflow-wrap:anywhere}.my-review-card small{color:#777}.my-review-card>.button{margin-top:auto;border:0;border-radius:28px;background:#008fc6;color:white;box-shadow:none;padding:12px 30px;min-width:140px}.review-best-badge{display:inline-block;background:#fff0ba;color:#754d00;padding:6px 10px;border-radius:20px;font-weight:700}.my-review-tabs:focus-within button:focus-visible{outline:3px solid #1689b1;outline-offset:2px}#review-form[hidden]{display:none!important}#review-written-panel #review-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}#review-written-panel .order-card{margin:0;min-width:0}
@media(max-width:900px){.my-review-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){#reviews>.sectionhead{display:block}#reviews>.sectionhead>a{position:static;margin-top:12px}.my-review-tabs button{min-width:0;flex:1;padding:14px 8px;font-size:14px}.my-review-grid,#review-written-panel #review-list{grid-template-columns:minmax(0,1fr)}.my-review-card{padding:24px 18px}}

#reviews #review-member{display:block!important}#reviews #review-available-panel{width:100%}#reviews #review-written-panel[hidden]{display:none!important}

#reviews #review-member[hidden]{display:none!important}

/* Existing page colors with yellow persistent member navigation. */
.member-bottom-nav,.consult-collapse{display:none}
@media screen and (max-width:750px) {
body{padding-bottom:calc(104px + env(safe-area-inset-bottom,0px))}
body>header>nav{display:none!important}
.member-bottom-nav{position:fixed;z-index:900;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:1560px;box-sizing:border-box;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;gap:4px;padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px));background:#ffe23b;border-top:2px solid #161616;box-shadow:0 -4px 18px #1616160c}
.member-bottom-nav .bottom-nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:52px;color:#555;text-decoration:none;font-size:12px;font-weight:700;line-height:1.3}
.member-bottom-nav svg{width:25px;height:25px;flex-shrink:0}
.member-bottom-nav a[aria-current=page]{color:#725100}
.member-bottom-nav .bottom-nav-compose{justify-self:center;width:62px;height:62px;min-height:62px;border-radius:50%;background:#ffe23b;color:#161616;border:2px solid #161616;margin-top:-23px;box-shadow:3px 3px 0 #161616}
.member-bottom-nav .bottom-nav-compose svg{width:30px;height:30px}
.member-bottom-nav a:focus-visible,.consult-collapse:focus-visible{outline:3px solid #161616;outline-offset:4px}
.bottom-nav-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
body .kakao-consult-button{bottom:calc(104px + env(safe-area-inset-bottom,0px))!important;right:18px!important;z-index:901!important}
.consult-collapse{display:block;position:fixed;right:14px;bottom:calc(158px + env(safe-area-inset-bottom,0px));z-index:902;width:28px;height:28px;border:1px solid #161616;border-radius:50%;background:#fff;color:#161616;font-size:17px;cursor:pointer}
body .kakao-consult-button.consult-is-collapsed .kakao-consult-label{display:none}

}
@media print{.member-bottom-nav,.consult-collapse{display:none!important}}

@media screen{body.letter-writing .consult-collapse{display:none}}

@media screen and (max-width:750px){
body .kakao-consult-button{transition:transform .22s ease;right:18px!important}
body .kakao-consult-button .kakao-consult-label{display:none}
body .kakao-consult-button .kakao-consult-icon{width:44px;height:44px}
body .kakao-consult-button.consult-is-collapsed{transform:translateX(110px);pointer-events:none;visibility:hidden}
.consult-collapse{width:24px;height:24px;right:10px;bottom:calc(142px + env(safe-area-inset-bottom,0px));transition:right .22s ease,bottom .22s ease}
.consult-collapse.consult-is-collapsed{right:0;bottom:calc(104px + env(safe-area-inset-bottom,0px));height:44px;border-radius:16px 0 0 16px;font-size:24px}
}
@media(prefers-reduced-motion:reduce){body .kakao-consult-button,.consult-collapse{transition:none}}

@media screen and (max-width:750px){
body{padding-bottom:calc(78px + env(safe-area-inset-bottom,0px))}
.member-bottom-nav{padding:6px 10px calc(6px + env(safe-area-inset-bottom,0px))}
.member-bottom-nav .bottom-nav-item{min-height:44px;gap:3px;font-size:11px}
.member-bottom-nav svg{width:22px;height:22px}
.member-bottom-nav .bottom-nav-compose{width:50px;height:50px;min-height:50px;margin-top:-16px;background:#fff}
.member-bottom-nav .bottom-nav-compose svg{width:27px;height:27px}
body .kakao-consult-button{bottom:calc(82px + env(safe-area-inset-bottom,0px))!important}
.consult-collapse{bottom:calc(120px + env(safe-area-inset-bottom,0px))}
.consult-collapse.consult-is-collapsed{bottom:calc(82px + env(safe-area-inset-bottom,0px))}
}

/* Review heading and reward copy remain readable on small screens. */
#reviews>.sectionhead{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:16px;text-align:left;justify-content:normal}
#reviews>.sectionhead>div{min-width:0}
#reviews>.sectionhead>a{position:static;margin:0;align-self:start;white-space:nowrap}
#reviews>.sectionhead h2{margin-top:0}
#reviews .my-review-intro{line-height:1.8;word-break:keep-all;overflow-wrap:anywhere}
#reviews .my-review-intro p{margin:8px 0}
#reviews .review-rate>span{display:inline-block}
#reviews .my-review-card>.button,#reviews #review-submit{background:#ef7b19;color:#161616;border:1px solid #b85400;box-shadow:none}
#reviews .my-review-card>.button:hover,#reviews #review-submit:hover{background:#ff9238}
@media(max-width:750px){#reviews>.sectionhead{gap:10px}#reviews>.sectionhead>a{font-size:12px;min-height:36px;padding:7px 10px}#reviews>.sectionhead h2{font-size:28px}#reviews>.sectionhead p{font-size:13px;line-height:1.6}#reviews .my-review-intro{font-size:14px;margin:22px 0 28px}#reviews .my-review-intro .review-best-rate{font-size:13px}}

@media screen and (min-width:751px){
body .kakao-consult-button{transition:transform .22s ease}
body .kakao-consult-button.consult-is-collapsed{transform:translateX(320px);pointer-events:none;visibility:hidden}
.consult-collapse{display:block;position:fixed;right:14px;bottom:82px;z-index:902;width:26px;height:26px;border:1px solid #161616;border-radius:50%;background:white;color:#161616;cursor:pointer}
.consult-collapse.consult-is-collapsed{right:0;bottom:24px;width:24px;height:44px;border-radius:16px 0 0 16px;font-size:24px}
}

@media screen and (max-width:750px){body .kakao-consult-button .kakao-consult-label{display:inline-block}body .kakao-consult-button.consult-is-collapsed{transform:translateX(260px)}}

/* Keep the bottom navigation clearance inside the black footer. */
@media screen and (max-width:750px){
body{padding-bottom:0}
body>footer{margin-bottom:0;padding-bottom:calc(90px + env(safe-area-inset-bottom,0px))}
}

/* Stronger consultation expand arrow. */
.consult-collapse.consult-is-collapsed{color:#111;font-weight:900;text-shadow:.4px 0 currentColor,-.4px 0 currentColor}

#catalog #categories{scroll-margin-top:18px}

.consult-collapse[hidden]{display:none!important}

/* Preserve the original compact edge arrow. */
.consult-collapse.consult-is-collapsed{touch-action:manipulation;pointer-events:auto}

/* Printed brand stays in the bottom margin of each stationery side. */
.direct-sheet::after,.final-sheet::after{content:"[모두의편지] modooletter.com";position:absolute;right:19px;bottom:11px;z-index:9;max-width:210px;padding:3px 6px;border-radius:3px;background:rgba(255,255,255,.7);color:#111;font:600 8px/1.3 "Malgun Gothic",Arial,sans-serif;white-space:nowrap;pointer-events:none;letter-spacing:0;text-align:right}
@media print{.direct-sheet::after,.final-sheet::after{right:5mm;bottom:3mm;font-size:6pt;print-color-adjust:exact;-webkit-print-color-adjust:exact}}

.signup-benefits li{white-space:normal;overflow:visible;word-break:keep-all;overflow-wrap:anywhere}.signup-benefits li br{display:block}#account-form-error:not(:empty){padding:12px;border:1px solid #bf3232;background:#fff2f2;color:#9c2222;line-height:1.6;white-space:normal;overflow-wrap:anywhere}

footer .footer-contact{display:block;margin:20px auto;color:#fff;font-size:14px;line-height:1.7;overflow-wrap:anywhere}footer .footer-contact a{color:#fff;text-decoration:underline;text-underline-offset:3px}

/* Gentle page-specific card backdrops; print and letter artwork are unchanged. */
@media screen{
#catalog [data-catalog-page] .product-card:nth-child(5n+1) .product-image{background:var(--catalog-bg-1,#fffbed)!important}
.home-new-papers .home-paper-card:nth-child(5n+1) .paper-pair{background:#fffbed!important}
#catalog [data-catalog-page] .product-card:nth-child(5n+2) .product-image{background:var(--catalog-bg-2,#f0f8f2)!important}
.home-new-papers .home-paper-card:nth-child(5n+2) .paper-pair{background:#f0f8f2!important}
#catalog [data-catalog-page] .product-card:nth-child(5n+3) .product-image{background:var(--catalog-bg-3,#fff6ed)!important}
.home-new-papers .home-paper-card:nth-child(5n+3) .paper-pair{background:#fff6ed!important}
#catalog [data-catalog-page] .product-card:nth-child(5n+4) .product-image{background:var(--catalog-bg-4,#f1f6ff)!important}
.home-new-papers .home-paper-card:nth-child(5n+4) .paper-pair{background:#f1f6ff!important}
#catalog [data-catalog-page] .product-card:nth-child(5n+5) .product-image{background:var(--catalog-bg-5,#f6f2ff)!important}
.home-new-papers .home-paper-card:nth-child(5n+5) .paper-pair{background:#f6f2ff!important}
[data-dialog-initial-focus]:focus{outline:none}}
@media screen and (max-width:750px){#catalog .product-card .product-image{padding:4px!important}#catalog .product-card .paper-pair{gap:5px}.home-new-papers .home-paper-card .paper-pair{padding:5px;gap:5px;min-height:128px;height:128px}}


/* Keep the card footprint; frame only the paper artwork. */
@media screen{#catalog .product-image,.home-new-papers .paper-pair{border-color:transparent!important;box-shadow:none!important}#catalog .paper-pair img,.home-new-papers .paper-pair img{border:1px solid #d5d1c8!important;box-shadow:none!important}#catalog .product-card:hover .product-image{box-shadow:none!important}}

/* Match shadow visibility to the existing paper-lift animation states. */
@media screen{#catalog .product-card .paper-pair img{transition:transform .3s ease,box-shadow .3s ease}}
@media screen and (hover:hover) and (pointer:fine){#catalog .product-card:hover .paper-pair img{box-shadow:3px 7px 12px rgb(45 38 25 / 18%)!important}}
@media screen and (hover:none) and (pointer:coarse){#catalog .product-card:active .paper-pair img,#catalog .product-card.mobile-in-view .paper-pair img{box-shadow:3px 7px 12px rgb(45 38 25 / 18%)!important}}

/* Compact footer while retaining business disclosure and bottom-nav clearance. */
@media screen{body>footer{padding:22px 24px;line-height:1.5}body>footer>.brand{font-size:23px}body>footer>p{margin:8px 0;font-size:13px}body>footer .business-details{margin:10px auto}body>footer .business-details-content p{margin:6px 0;font-size:12px}body>footer .footer-contact{margin:10px auto 7px;font-size:13px;line-height:1.5}body>footer>small{font-size:11px}}
@media screen and (max-width:750px){body>footer{padding:18px 18px calc(86px + env(safe-area-inset-bottom,0px))}body>footer>.brand{font-size:21px}body>footer>p{margin:6px 0;font-size:12px}body>footer .business-details{margin:8px auto}body>footer .footer-contact{margin:8px auto 5px;font-size:12px}}

.personal-menu-head #member-admin-entry{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:5px 12px;margin-left:10px;margin-right:auto;border:1px solid #d8cfaa;border-radius:8px;background:#fff5c1;color:#51451d;font-size:13px;font-weight:700;white-space:nowrap}.personal-menu-head #member-admin-entry[hidden]{display:none!important}

/* Workflow actions must remain reachable when the footer is hidden. */
@media screen and (max-width:750px){
 #letter-workflow,body.letter-writing #letter-workflow{padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))}
 html{scroll-padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))}
 #letter-workflow :is(button,a,input,select,textarea){scroll-margin-bottom:calc(96px + env(safe-area-inset-bottom,0px))}
}

/* Member notification controls have a dedicated class, outside legacy hidden account panels. */
#mypage .push-settings{display:block;margin:20px 0;padding:22px;border:2px solid #161616;border-radius:14px;background:#fff9db}
.push-settings h3{margin:0 0 10px;font-size:20px}.push-settings p{line-height:1.6;overflow-wrap:anywhere}.push-settings label{display:flex;align-items:center;gap:10px;margin:14px 0;font-weight:700}.push-settings label[hidden]{display:none}.push-settings input[type=checkbox]{width:20px;height:20px;flex:0 0 20px;accent-color:#f4bc00}.push-settings .button{margin:6px 8px 0 0}.push-settings [role=status]{font-size:14px;color:#555;min-height:1.6em}
@media(max-width:650px){#mypage .push-settings{padding:18px}.push-settings .button{max-width:100%;padding:12px 15px;font-size:14px}}

/* Compact notification entry follows the inquiry-history row; settings open in a dialog. */
.push-settings-entry{width:100%;cursor:pointer;text-align:left;font-family:inherit}.push-settings-dialog{width:min(520px,calc(100vw - 32px));padding:22px;border:2px solid #161616;border-radius:16px}.push-settings-dialog .push-settings{margin:0;padding:0;border:0;background:transparent}.push-settings-dialog label{display:flex;gap:10px;align-items:center;margin:16px 0;font-weight:700}.push-settings-dialog input[type=checkbox]{width:20px;height:20px;flex:0 0 20px;accent-color:#f4bc00}.push-settings-dialog label[hidden],.push-settings-dialog [data-push-test][hidden]{display:none!important}.push-settings-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.push-settings-actions .button{margin:0}.push-signup-prompt{width:min(500px,calc(100vw - 32px));padding:24px;border:2px solid #161616;border-radius:16px}.push-signup-prompt p{line-height:1.7;overflow-wrap:anywhere}.push-signup-prompt [role=status]{color:#a82020}@media(max-width:650px){.push-settings-entry{padding:16px;font-size:14px}.push-settings-dialog,.push-signup-prompt{padding:18px}}

.push-settings-dialog [data-push-diagnostics][hidden]{display:none!important}

/* Keep desktop paper categories visible without horizontal scrolling. */
@media screen and (min-width:751px){
 #catalog #categories{display:flex;flex-wrap:wrap;overflow:visible;width:100%;min-width:0;box-sizing:border-box}
 #catalog #categories button{flex:0 0 auto;min-width:110px;max-width:100%;white-space:normal;overflow-wrap:anywhere}
}
