/* 0.3g: personal details within Nocturne. No external fonts or images. */
.p-dialog{width:min(680px,calc(100vw - 24px));max-height:90dvh;overflow:auto;padding:26px;background:linear-gradient(145deg,#30212e,#1a151f);color:#efe4d7;border:1px solid #5a4152;border-radius:8px 34px 8px 8px;box-shadow:0 28px 90px #0009}.p-dialog::backdrop{background:#100b12d9;backdrop-filter:blur(9px)}.p-dialog-head{display:flex;align-items:start;justify-content:space-between;gap:20px;margin-bottom:22px}.p-dialog h2{margin:0;font:italic 1.8rem Georgia,serif}.p-dialog label{display:block}.p-dialog input:not([type=checkbox]):not([type=range]),.p-dialog textarea,.p-dialog select{width:100%;margin-top:7px}.p-dialog form>label{margin:18px 0}.p-dialog p[data-error]{color:#f2b3ab}.p-dialog blockquote{border-left:2px solid #b69068;padding:12px 20px;margin:16px 0;font:italic 1.35rem/1.5 Georgia,serif}.p-dialog .check{display:flex;gap:10px;align-items:center}.p-toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:20px 0}.p-toolbar button{min-height:44px}.p-moment{padding:25px 0 22px;border-top:1px solid #6d4b563f;border-bottom:1px solid #6d4b563f;margin:20px 0}.p-moment>.eyebrow{color:#c3a17b;font-size:10px;letter-spacing:.16em}.p-moment>p{font:italic 1.3rem/1.5 Georgia,serif;color:#e4d0c6;margin:14px 0}.p-moment-actions{display:flex;gap:20px;flex-wrap:wrap}.p-moment-actions button{min-height:44px}.p-portrait{padding:20px 4px}.p-portrait>p{white-space:pre-wrap;color:#d3babb;line-height:1.6}.p-portrait-field,.p-reflection{padding:18px 0;border-bottom:1px solid #75536840}.p-portrait-field h3{font-size:1rem;color:#c3a17b}.p-reflection h3{font:italic 1.3rem/1.6 Georgia,serif}.p-portrait-edit{margin:24px 0;border-top:1px solid #674b5144;padding:18px 0}.p-portrait-edit label{margin:16px 0}.p-portrait-edit textarea{min-height:70px}.p-label-row,.p-labels-head{display:grid;grid-template-columns:.9fr 1fr 1fr;gap:10px;align-items:center;margin:10px 0}.p-label-row strong{font-size:.85rem;font-weight:500;color:#d9c4bb}.p-labels-head{font-size:.8rem;color:#c6a376}.p-label-row input{min-width:0;font-size:.88rem!important;padding:12px!important}.p-label-row label{min-width:0;margin:0}.p-questions-settings{margin:28px 0}.p-questions-settings label{margin:14px 0}.p-time{border:0;margin:0;padding:0;min-width:0}.p-time legend{font-size:.8rem;color:#ac96a6;margin-bottom:8px}.p-time>div{display:flex;align-items:center;gap:8px}.p-time select{min-width:0;flex:1}.p-time>div>span{color:#c8a777}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.photo-editor{width:min(780px,calc(100vw - 20px))}.photo-tools{display:flex;gap:8px;flex-wrap:wrap}.photo-tools button{min-height:44px;padding:10px 14px}.photo-tools [aria-pressed=true]{background:#c4a47d;color:#21151e}.photo-stage{width:100%;background:#08060a;border:1px solid #795b6844;display:grid;place-items:center;min-height:140px}.photo-stage canvas{max-width:100%;max-height:48dvh;width:auto;height:auto;touch-action:none;cursor:crosshair;display:block}.photo-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:16px 0}.photo-controls input{width:100%}.photo-warning{font-size:.76rem;color:#c6aba9!important;line-height:1.6}.tease-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:22px;margin:32px 0}.tease-card{display:flex;align-items:center;flex-direction:column;justify-content:space-between;gap:24px;min-height:245px;padding:26px!important;background:radial-gradient(ellipse at top,#56344855,transparent 80%),#211824!important;border:1px solid #69506588!important;border-radius:8px 50px 8px 8px!important}.tease-card strong{font:italic 1.4rem Georgia,serif;color:#edd5c2}.tease-seal{height:65px;width:65px;border:1px solid #9b7a5855;border-radius:50%;display:grid;place-items:center;color:#cbae7e}.tease-card small{color:#b998a6}.tease-image,.p-preview img{display:block;max-width:100%;max-height:56dvh;object-fit:contain;margin:14px auto;border-radius:4px}.p-preview{margin:10px 0}.p-preview figcaption{font-size:.78rem;color:#c3a17b}.p-tease-home{margin-top:10px}.tease-dialog [data-body] p{white-space:pre-wrap;line-height:1.6}.p-dialog [data-close]{flex:0 0 42px;height:42px}.p-dialog select,.p-dialog input{color-scheme:dark}.p-dialog summary{min-height:44px;cursor:pointer;padding:10px 0}
@media(max-width:540px){.p-dialog{padding:20px 16px;border-radius:7px 27px 7px 7px;max-height:91dvh}.p-dialog h2{font-size:1.5rem}.p-label-row{grid-template-columns:1fr 1fr;gap:7px;margin-bottom:17px}.p-label-row strong{grid-column:1/-1}.p-labels-head{grid-template-columns:1fr 1fr}.p-labels-head span:first-child{display:none}.tease-grid{grid-template-columns:1fr}.tease-card{min-height:210px}.photo-controls{grid-template-columns:1fr 1fr}.photo-stage canvas{max-height:40dvh}.p-moment>p{font-size:1.23rem}.p-dialog input,.p-dialog textarea,.p-dialog select{font-size:16px!important}}
@media(prefers-reduced-motion:reduce){.p-dialog{scroll-behavior:auto!important}}

/* Scope dialog layout: global site header/footer rules must not hide editor actions. */
dialog.p-dialog{max-width:680px}dialog.photo-editor{max-width:780px}.p-dialog .p-dialog-head{padding:0;margin:0 0 20px;max-width:none;width:100%;align-items:flex-start}.p-dialog .p-toolbar button:not(.primary):not(.text-button),.photo-tools button{background:#241a27;border:1px solid #725061;color:#e2cbbd;padding:10px 14px;border-radius:3px 15px 3px 15px}.photo-tools button[aria-pressed=true]{background:#c4a47d;color:#21151e;border-color:#c4a47d}.p-dialog .p-toolbar{margin-bottom:0}.p-dialog .p-dialog-head .j-icon{margin-top:0}
/* On a phone, today's expectations stay ahead of optional reflections and messages. */
@media(max-width:680px){
 .j-home-grid{display:flex;flex-direction:column;gap:12px}
 .j-home-grid>div{display:contents}
 .j-home-grid .j-profile{order:0}
 .j-home-grid .j-section{order:1}
 .j-home-grid .j-draft-notice{order:2}
 .j-home-grid .j-tomorrow{order:3}
 .j-home-grid .p-portrait{order:4}
 .j-home-grid .p-moment{order:5}
 .j-home-grid .message-home{order:6}
 .j-home-grid .p-tease-home{order:7}
 .j-home-grid .j-quick{order:8}
}

/* Invitation preparation: readable fixed-layout text editor and privacy detail. */
.wording-preview{padding:1rem 1.2rem;border:1px solid #625246;border-radius:18px;background:linear-gradient(140deg,#302236,#1b191f);margin:1rem 0}.wording-preview h3{font-size:1.4rem;margin:.4rem 0}.wording-preview p{color:#ded4cc;overflow-wrap:anywhere}.privacy-note{border:1px solid #584d5c;border-radius:12px;padding:.8rem 1rem;margin:0 0 1rem;color:#ddd2df}.privacy-note summary{cursor:pointer;display:flex;align-items:center;gap:.6rem;font-size:.92rem}.privacy-note p{font-size:.9rem;line-height:1.6;max-width:70ch}.j-personal-welcome{border-left:2px solid #b39772;padding:.8rem 1.2rem;margin-bottom:1.2rem}.j-personal-welcome h2{margin:.25rem 0}.p-label-row[hidden]{display:none}#draft-file{overflow-wrap:anywhere}#draft-state{min-height:1.6em;color:#d2c2ab}.p-dialog fieldset{border:1px solid #574952;border-radius:8px;padding:.7rem;margin:.7rem 0}.p-dialog legend{color:#e2d0ad}

/* Tap, keyboard and mouse explanation; no hover-only affordance. */
.feature-help{margin:.45rem 0 1rem;max-width:70ch}.feature-help>summary{display:flex;align-items:center;gap:.45rem;cursor:pointer;list-style:none;min-height:36px;width:fit-content;color:#d3b68e;font-size:.8rem;padding:.35rem .35rem .35rem 0}.feature-help>summary::-webkit-details-marker{display:none}.help-mark{display:inline-grid;place-items:center;border:1px solid currentColor;border-radius:50%;width:20px;height:20px;font:italic 14px Georgia,serif}.help-copy{padding:.85rem 1rem;border-left:2px solid #a88a62;background:#302637;border-radius:0 10px 10px 0;color:#e3d8dd;font-size:.9rem;line-height:1.55;overflow-wrap:anywhere}.help-copy p{font:inherit!important;margin:.6rem 0!important;color:inherit!important}.help-copy strong{color:#f0dfc3}.feature-help>summary:focus-visible{outline:2px solid #d3b68e;outline-offset:3px}.default-prompts label{margin:1rem 0}.default-prompts textarea{width:100%}.feature-note{color:#d3bd9f;font-size:.85rem;line-height:1.6}.p-moment>.feature-help{margin:0 0 .3rem}.p-moment>.feature-help>summary{min-height:30px} @media(pointer:coarse){.feature-help>summary{min-height:44px}}

.photo-marks{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.photo-marks button{font-size:.78rem;padding:8px 10px;min-height:36px}.photo-marks [aria-pressed=true]{background:#c4a47d;color:#21151e}.photo-precision output{font-variant-numeric:tabular-nums;color:#e1c999}.photo-precision{margin-top:8px}.photo-editor .photo-stage canvas{max-height:48dvh;cursor:crosshair}.photo-editor [data-instruction]{line-height:1.5}.photo-editor .p-toolbar{gap:8px}.photo-editor .p-toolbar button{padding:10px 12px}.photo-editor [data-selection]{min-height:1.6em}@media(max-width:540px){.photo-editor .photo-stage canvas{max-height:40dvh}.photo-editor .photo-controls{grid-template-columns:1fr 1fr}}

/* Privacy presentation: the faux blurred lines contain no secret glyphs. */
.sealed-preview{white-space:pre-wrap;line-height:1.7;overflow-wrap:anywhere;margin:.8rem 0;padding:.8rem 1rem;border-left:2px solid #ac8b68;background:#20192470;color:#e9dfd5}
.sealed-placeholder{display:inline-block;vertical-align:baseline;width:6.4em;height:1.35em;padding:0 .15em;margin:0 .22em;overflow:hidden;user-select:none;white-space:nowrap;line-height:1.35}
.sealed-placeholder>span{display:inline-block;white-space:nowrap;filter:blur(3px);font:inherit;color:#d6c4b9;pointer-events:none}
.private-media{-webkit-touch-callout:none;user-select:none;-webkit-user-select:none}
.private-photo{display:block;max-width:100%;height:auto;object-fit:contain}
[data-text-tools][hidden]{display:none}
