:root{--paper:#f7f1e7;--cream:#fffcf6;--card:#fffdf8;--forest:#3f5b4b;--sage:#7e9c81;--pale:#e8eddf;--pink:#e7b2aa;--rose:#a96869;--ink:#333f34;--muted:#8b9283;--stroke:#e9e5d8;--shadow:0 16px 45px rgba(74,75,50,.07)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:14px;line-height:1.45}button,input,textarea,select{font:inherit}button{cursor:pointer}a{color:var(--forest)}h1,h2,h3,h4,p{margin-top:0}h1,h2,.serif{font-family:Georgia,'Times New Roman',serif;font-weight:normal}h1{font-size:clamp(31px,4vw,48px);line-height:1.1;letter-spacing:-1.1px;margin-bottom:10px}h2{font-size:27px;letter-spacing:-.35px;margin:0}h3{font-size:19px;margin:0}.muted{color:var(--muted)}.small{font-size:12px}.tiny{font-size:11px}.bold{font-weight:700}.nowrap{white-space:nowrap}.eyebrow{font-size:10px;letter-spacing:2.5px;text-transform:uppercase;font-weight:800;color:var(--sage)}.loading-shell{padding:35vh 20px;text-align:center;font-family:Georgia,serif;font-size:24px;color:var(--forest)}
.app-shell{max-width:1500px;margin:auto;display:grid;grid-template-columns:226px 1fr;min-height:100vh}.sidebar{border-right:1px solid var(--stroke);padding:34px 20px;background:#faf7f0;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;margin-bottom:46px}.brand-icon{width:41px;height:41px;border-radius:14px;background:var(--forest);color:white;display:grid;place-items:center;font-size:23px}.brand-name{font:24px Georgia,serif;line-height:1}.brand-name small{display:block;font:9px -apple-system,BlinkMacSystemFont,sans-serif;letter-spacing:2px;color:var(--muted);margin-top:5px}.sidebar-nav{display:grid;gap:8px}.nav-btn{display:flex;align-items:center;gap:13px;background:transparent;border:0;text-align:left;border-radius:14px;padding:13px 14px;color:#778074;font-weight:600;width:100%}.nav-btn.active{background:#e7ecdf;color:var(--forest)}.nav-btn svg{width:18px;height:18px;stroke-width:1.7}.sidebar-bottom{margin-top:auto}.sidebar-foot{margin-top:17px;border-top:1px solid var(--stroke);padding-top:18px;color:var(--muted);font-size:11px;line-height:1.7}.main-wrap{max-width:1190px;width:100%;margin:0 auto;padding:37px clamp(20px,4vw,55px) 80px}.topline{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:31px}.topline-right{display:flex;align-items:center;gap:9px}.pill{display:inline-flex;align-items:center;gap:6px;border:1px solid #dce4d7;background:var(--pale);border-radius:100px;padding:7px 11px;font-size:11px;color:var(--forest);font-weight:650}.mode-demo{background:#f4e9db;color:#886d51;border-color:#ead7be}.avatar-chip{width:35px;height:35px;border-radius:50%;display:grid;place-items:center;background:#e4dfd0;color:var(--forest);border:2px solid white;box-shadow:0 1px 5px #c5c1b4}.top-date{font-size:12px;color:var(--muted);letter-spacing:.2px}.main-header{display:flex;justify-content:space-between;align-items:end;margin:0 0 24px;gap:20px}.main-header p{margin:0;color:var(--muted);font-size:13px}.sparkle{color:#c78d77}
.grid-home{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(255px,1fr);gap:19px}.card{background:var(--card);border:1px solid var(--stroke);border-radius:22px;box-shadow:var(--shadow);overflow:hidden}.pad{padding:23px}.card-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px}.card-heading{font:21px Georgia,serif;letter-spacing:-.3px}.stamp{font-size:10px;letter-spacing:1.4px;text-transform:uppercase;color:var(--sage);font-weight:750}.soft-badge{display:inline-flex;align-items:center;gap:5px;border-radius:30px;padding:6px 10px;background:#ebefdf;color:var(--forest);font-size:10px;font-weight:700}.room-wrap{border-radius:15px;overflow:hidden;border:5px solid #e4eadc;background:#e6e8d5;position:relative}.room-svg{display:block;width:100%;height:auto;image-rendering:pixelated;cursor:crosshair}.room-caption{display:flex;gap:8px;justify-content:space-between;margin-top:12px;align-items:center}.room-actions{display:flex;gap:8px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:var(--forest);border:1px solid var(--forest);color:#fff;border-radius:12px;padding:11px 15px;font-size:12px;font-weight:750;transition:.15s ease;text-decoration:none}.btn:hover{transform:translateY(-1px);filter:brightness(1.05)}.btn.outline{background:transparent;color:var(--forest);border-color:#d8e1d5}.btn.rose{background:#e9c6be;border-color:#e9c6be;color:#6f4441}.btn.ghost{background:#f2f2e9;color:var(--forest);border-color:transparent}.btn.small{padding:8px 11px;font-size:11px;border-radius:9px}.btn.full{width:100%}.btn:disabled{opacity:.52;cursor:not-allowed}.btn svg{width:15px;height:15px}.right-stack{display:grid;gap:19px;align-content:start}.food-card{min-height:298px}.food-spot{height:144px;border-radius:13px;background:#f2eadc;display:grid;place-items:center;position:relative;overflow:hidden}.food-spot.has-image{background-size:cover;background-position:center}.food-doodle{font-size:55px;filter:drop-shadow(0 7px 3px #9f897c24)}.food-caption{font:18px Georgia,serif;margin:14px 0 4px}.card-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:13px}.count-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:19px}.count-card{text-align:left;min-height:114px;padding:18px 17px}.count-card .big{font:31px Georgia,serif;color:var(--forest);margin:8px 0 4px}.count-card .desc{color:var(--muted);font-size:11px}.little-star{color:#c58a77}.section-head{margin:35px 0 15px;display:flex;align-items:center;justify-content:space-between}.section-head h2{font-size:24px}.memory-rail{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.memory-mini{min-height:170px;padding:14px;display:flex;flex-direction:column;justify-content:space-between}.memory-swatch{height:95px;border-radius:11px;background:linear-gradient(145deg,#e8e8ce,#edcfbf);display:grid;place-items:center;font-size:37px;overflow:hidden}.memory-swatch img{width:100%;height:100%;object-fit:cover}.memory-mini strong{display:block;font-size:13px;margin:10px 0 2px}.memory-mini span{font-size:11px;color:var(--muted)}
.page-intro{max-width:680px;margin-bottom:27px}.page-intro h1{margin:9px 0}.page-intro p{color:var(--muted)}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px;flex-wrap:wrap}.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.post-card .post-image{height:220px;background:#f0e9dd;display:flex;align-items:center;justify-content:center;font-size:68px}.post-card .post-image img{width:100%;height:100%;object-fit:cover}.post-body{padding:16px}.post-body h3{font-size:18px;margin:4px 0}.post-meta{font-size:11px;color:var(--muted)}.post-caption{margin:7px 0;font-size:13px}.empty{border:1px dashed #d4dbc9;border-radius:18px;background:#f9f9f2;display:flex;align-items:center;justify-content:center;min-height:285px;padding:36px;text-align:center;flex-direction:column;gap:12px}.empty-illustration{font-size:54px}.empty h3{font-family:Georgia,serif;font-size:23px}.empty p{color:var(--muted);max-width:350px;margin:0 0 5px}.wide{grid-column:1/-1}.date-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.date-card{padding:19px;min-height:155px;position:relative}.date-card .date-num{width:55px;height:62px;background:#eff0df;border-radius:11px;display:flex;justify-content:center;align-items:center;flex-direction:column;float:left;margin-right:16px;color:var(--forest)}.date-num b{font:26px Georgia,serif}.date-num small{font-size:10px;letter-spacing:1.2px;font-weight:700}.date-card h3{font-family:Georgia,serif;margin:4px 0 6px}.date-card p{font-size:12px;color:var(--muted)}.date-card .date-actions{display:flex;gap:8px;margin-top:22px;flex-wrap:wrap}.profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px}.profile-card{padding:23px}.profile-icon{height:66px;width:66px;background:#edf0e1;border:3px solid #f9fcf2;border-radius:19px;display:grid;place-items:center;margin-bottom:12px;font-size:32px}.profile-details{display:grid;gap:13px;margin-top:20px}.profile-row{display:flex;justify-content:space-between;border-bottom:1px solid var(--stroke);padding-bottom:10px;gap:8px}.profile-row .muted{font-size:12px}.world-panel .room-wrap{max-width:960px;margin:auto}.controls{display:flex;justify-content:center;align-items:center;gap:22px;padding:22px 0;flex-wrap:wrap}.dpad{display:grid;grid-template-columns:repeat(3,41px);grid-template-rows:repeat(3,40px);gap:4px}.dpad button{border:1px solid #d7e1d4;color:var(--forest);background:#f1f3e8;border-radius:11px;font-size:20px}.dpad button:active{background:#dbe6d4}.world-action{display:flex;flex-direction:column;gap:9px;align-items:start}.activity-list{display:grid;gap:10px}.activity-item{display:flex;align-items:center;gap:13px;background:var(--card);border:1px solid var(--stroke);padding:13px 16px;border-radius:14px}.activity-icon{width:41px;height:41px;background:#eff0e3;border-radius:12px;display:grid;place-items:center;font-size:21px}.activity-item strong{font-size:12px}.activity-item p{font-size:11px;color:var(--muted);margin:2px 0 0}.about-block{padding:20px;border:1px solid var(--stroke);border-radius:16px;background:#f9f8f0;margin-top:24px}.about-block h3{font-family:Georgia,serif;margin-bottom:6px}.about-block p{font-size:12px;color:var(--muted);line-height:1.7}.tagline{color:var(--rose);font-style:italic}
.overlay{position:fixed;inset:0;background:#283d30a1;z-index:30;display:flex;align-items:center;justify-content:center;padding:18px;overflow:auto}.modal{background:var(--cream);border:1px solid white;border-radius:24px;box-shadow:0 30px 90px #17271e52;padding:27px;width:min(100%,510px);max-height:calc(100dvh - 36px);overflow-y:auto}.modal-head{display:flex;justify-content:space-between;align-items:start;gap:12px;margin-bottom:20px}.modal-head h2{font-size:28px}.icon-button{border:0;background:#f1efe7;width:30px;height:30px;border-radius:50%;font-size:19px;color:var(--forest)}.field{display:grid;gap:6px;margin-bottom:14px}.field label{font-weight:700;font-size:12px}.field input,.field textarea,.field select{width:100%;border:1px solid #dedfd2;background:white;border-radius:12px;outline:0;padding:12px 13px;color:var(--ink);font-size:14px}.field input:focus,.field textarea:focus{border-color:var(--sage);box-shadow:0 0 0 3px #b2cdb13a}.field textarea{resize:vertical;min-height:74px}.upload-drop{border:1.5px dashed #cdd9c8;padding:14px;background:#f5f6ec;border-radius:12px}.form-actions{display:flex;gap:9px;justify-content:end;margin-top:18px}.note{padding:12px 13px;border-radius:12px;background:#edf1e8;color:#627a65;font-size:12px}.note.warm{background:#f9efe2;color:#98785b}.auth-wrap{min-height:100vh;display:grid;place-items:center;padding:22px;background:radial-gradient(circle at 20% 20%,#e8e6d5,transparent 45%),var(--paper)}.auth-card{width:min(100%,440px);padding:32px}.auth-card .brand{margin-bottom:24px}.auth-card h1{font-size:38px}.auth-card form{margin-top:19px}.auth-card .field{margin-bottom:13px}.pair-code{font-size:31px;letter-spacing:8px;font-weight:800;text-align:center;background:#eaf0e3;border-radius:14px;padding:20px;margin:12px 0}.auth-or{text-align:center;color:#b4b8a9;font-size:11px;margin:17px 0;position:relative}.auth-or:before{content:"";height:1px;background:var(--stroke);position:absolute;left:0;right:0;top:50%}.auth-or span{background:var(--cream);padding:0 12px;position:relative}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--forest);color:white;padding:12px 18px;border-radius:50px;box-shadow:0 8px 25px #253f3040;z-index:55;min-width:180px;max-width:90vw;text-align:center;font-size:13px}.demo-strip{background:#f2eade;color:#886c52;border:1px solid #edddc7;border-radius:13px;padding:11px 14px;font-size:11px;line-height:1.6;margin-bottom:23px;display:flex;gap:8px;justify-content:space-between;align-items:center}.demo-strip b{font-weight:800}.bottom-nav{display:none}.scene-tip{font-size:11px;color:var(--muted);text-align:center}.copy-code{width:100%;margin-bottom:8px}.settings-row{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:13px}.confetti{font-size:17px}
@media(max-width:1070px){.app-shell{grid-template-columns:195px 1fr}.main-wrap{padding:30px 24px 80px}.grid-home{grid-template-columns:minmax(0,1.25fr) minmax(215px,1fr)}.post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){body{font-size:14px}.app-shell{display:block}.sidebar{display:none}.main-wrap{padding:20px 17px 105px}.topline{margin-bottom:25px}.top-date{font-size:11px}.main-header{margin-bottom:22px}.main-header p{font-size:12px}.grid-home{grid-template-columns:1fr;gap:14px}.right-stack{grid-template-columns:1fr}.food-card{min-height:unset}.count-row{gap:9px;margin-top:13px}.count-card{min-height:102px;padding:13px 12px}.count-card .big{font-size:27px}.memory-rail{gap:9px}.memory-mini{padding:9px;min-height:135px}.memory-swatch{height:78px}.memory-mini strong{font-size:11px}.room-caption{flex-direction:column;align-items:stretch}.room-actions .btn{flex:1}.bottom-nav{display:flex;position:fixed;z-index:12;bottom:0;left:0;right:0;background:#fffcf8ed;backdrop-filter:blur(18px);border-top:1px solid #e5e2d6;padding:9px 6px calc(9px + env(safe-area-inset-bottom));justify-content:space-around;box-shadow:0 -6px 30px #3f5b4b0d}.bottom-nav .nav-btn{display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;border-radius:12px;padding:9px 8px;min-width:53px;font-size:10px}.bottom-nav .nav-btn svg{height:19px;width:19px}.topline-right{gap:6px}.page-intro{margin-bottom:20px}.page-intro h1{font-size:34px}.post-grid,.date-list,.profile-grid{grid-template-columns:1fr}.post-card .post-image{height:260px}.modal{padding:21px;border-radius:20px}.count-card .desc{font-size:10px}.toast{bottom:100px}.demo-strip{font-size:10px}.toolbar{align-items:start}.toolbar .btn{font-size:11px}}
@media(max-width:385px){.main-wrap{padding-left:11px;padding-right:11px}.pad{padding:16px}.nav-btn{font-size:10px!important;min-width:47px!important}.memory-rail{grid-template-columns:repeat(2,1fr)}.count-card .big{font-size:23px}}

/* ═══ Little Us v0.2 · Game feel / mobile touch polish ═══ */
html { -webkit-text-size-adjust: 100%; }
button, .nav-btn, .btn { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button:active, .btn:active { transform: scale(.97); }
.room-svg[data-room="true"], .dpad, .dpad button {
  touch-action: none; user-select: none; -webkit-user-select: none;
  -webkit-touch-callout: none; overscroll-behavior: contain;
}
.room-svg[data-room="false"] { cursor: default; }
.room-svg[data-room="true"] { cursor: pointer; }
.room-wrap { isolation: isolate; }
.dpad { grid-template-columns: repeat(3, 54px); grid-template-rows: repeat(3, 54px); gap: 5px; }
.dpad button { border: 2px solid #d7e1d4; box-shadow: 0 3px 0 #c5d0c0; border-radius: 15px; font-weight: 750; font-size: 25px; transition: background .1s, box-shadow .1s; }
.dpad button:active { background: #d3e5ce; box-shadow: 0 0 0 #c5d0c0; transform: translateY(2px); }
.dpad-center { border-radius: 15px; display:grid; place-items:center; color:#be9094; background: #f4f0e7; font-size: 20px; }
.world-panel .room-wrap { border-color: #dbe8d6; box-shadow: inset 0 0 0 1px #f5fff0, 0 10px 28px #4b745519; }
.world-panel .room-svg { min-height: 145px; }
.scene-tip { line-height: 1.5; }
.sprite-actor { transform-box: fill-box; transform-origin: center center; animation: avatar-idle 2.3s ease-in-out infinite; }
.sprite-partner .sprite-actor { animation-delay: -.9s; }
.sprite-leg, .sprite-arm { transform-box: fill-box; transform-origin: center 10%; }
.sprite-eyes { transform-box: fill-box; transform-origin: center center; animation: avatar-blink 5.1s steps(1,end) infinite; }
.sprite-partner .sprite-eyes { animation-delay: -2.9s; }
.sprite.is-walking .sprite-actor { animation: avatar-step .23s ease-in-out infinite alternate; }
.sprite.is-walking .sprite-leg-a { animation: stride-a .34s ease-in-out infinite alternate; }
.sprite.is-walking .sprite-leg-b { animation: stride-b .34s ease-in-out infinite alternate; }
.sprite.is-walking .sprite-arm-a { animation: stride-b .34s ease-in-out infinite alternate; }
.sprite.is-walking .sprite-arm-b { animation: stride-a .34s ease-in-out infinite alternate; }
.sprite.is-walking .sprite-shadow { animation: shadow-squash .23s ease-in-out infinite alternate; }
.sprite.is-waving .sprite-arm-b { animation: avatar-wave .26s ease-in-out 5 alternate; }
.sprite-shadow { transform-box: fill-box; transform-origin: center; }
.window-sun { animation: cozy-glow 4s ease-in-out infinite; }
.window-cloud { animation: lazy-cloud 9s ease-in-out infinite alternate; }
.room-leaves { animation: leaf-sway 3.5s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center bottom; }
.room-sparkle { animation: twinkle 2.9s ease-in-out infinite alternate; }
.heart-stage { position:absolute;pointer-events:none;inset:0;overflow:hidden;z-index:3; }
.heart-stage span { position:absolute;left:50%;top:65%;opacity:0;color:#b96979;font-size:32px;font-weight:700;animation: float-heart 1.3s ease-out forwards;filter:drop-shadow(0 2px 2px #fff8f2); }
.heart-stage span:nth-child(2) { --drift: -85px;animation-delay:.07s;left:47%; }
.heart-stage span:nth-child(3) { --drift: 65px;animation-delay:.12s;left:53%; }
.heart-stage span:nth-child(4) { --drift: -130px;animation-delay:.03s;left:50%;font-size:25px; }
.heart-stage span:nth-child(5) { --drift: 110px;animation-delay:.16s;left:48%; }
@keyframes avatar-idle {0%,100%{transform:translateY(0)}50%{transform:translateY(-.8px)}}
@keyframes avatar-step {0%{transform:translateY(0)}100%{transform:translateY(-2.2px)}}
@keyframes stride-a {0%{transform:translate(-2px,0) rotate(-14deg)}100%{transform:translate(2px,-1px) rotate(14deg)}}
@keyframes stride-b {0%{transform:translate(2px,-1px) rotate(14deg)}100%{transform:translate(-2px,0) rotate(-14deg)}}
@keyframes avatar-wave {0%{transform:rotate(0)}100%{transform:rotate(-45deg) translateY(-3px)}}
@keyframes avatar-blink {0%,93%,97%,100%{transform:scaleY(1)}95%{transform:scaleY(.12)}}
@keyframes shadow-squash {0%{transform:scaleX(1)}100%{transform:scaleX(.85)}}
@keyframes lazy-cloud {0%{transform:translateX(-14px)}100%{transform:translateX(9px)}}
@keyframes leaf-sway {0%{transform:rotate(-3deg)}100%{transform:rotate(3deg)}}
@keyframes cozy-glow {0%,100%{opacity:.75}50%{opacity:1}}
@keyframes twinkle {0%,100%{opacity:.36}50%{opacity:1}}
@keyframes float-heart {0%{transform:translate(0,0) scale(.65);opacity:0}15%{opacity:1}100%{transform:translate(var(--drift,35px),-95px) scale(1.25);opacity:0}}
.card, .page-intro, .main-header { animation: card-appear .35s both; }
@keyframes card-appear { from {opacity:0;transform:translateY(9px)} to {opacity:1;transform:translateY(0)} }
/* Only disable pinch/double-tap on the game surfaces, never on the full page. */
@media (prefers-reduced-motion:reduce){
 .sprite-actor,.sprite-legs,.sprite-leg,.sprite-arm,.sprite-eyes,.room-leaves,.room-sparkle,.window-sun,.window-cloud,.heart-stage span,.card,.page-intro,.main-header{animation:none!important}
}
@media(max-width:760px){
 .controls {gap:20px;padding:18px 0;}
 .dpad {grid-template-columns:repeat(3,55px);grid-template-rows:repeat(3,55px)}
 .world-action {align-items:stretch;max-width:240px;}
 .world-action .btn {min-height:45px;}
 .world-panel .pad {padding:15px;}
}

/* Compact dedicated playground: room and buttons visible together on iPhone. */
@media(max-width:760px){
 .world-page .topline{margin-bottom:13px}
 .world-page .page-intro{margin-bottom:12px}
 .world-page .page-intro .eyebrow{font-size:9px}
 .world-page .page-intro h1{font-size:clamp(29px,8vw,33px);margin:4px 0}
 .world-page .page-intro p{font-size:11px;line-height:1.35}
 .world-page .world-panel{padding:13px}
 .world-page .card-heading{font-size:18px}
 .world-page .card-top{margin-bottom:9px}
 .world-page .room-caption{margin-top:8px;gap:5px}
 .world-page .room-caption .scene-tip{font-size:10px}
 .world-page .room-actions .btn{padding:7px;font-size:10px}
 .world-page .controls{justify-content:center;align-items:start;flex-wrap:nowrap;gap:15px;padding:16px 0 9px}
 .world-page .dpad{grid-template-columns:repeat(3,46px);grid-template-rows:repeat(3,46px);gap:4px}
 .world-page .dpad button{font-size:21px;border-radius:12px}
 .world-page .dpad-center{border-radius:12px}
 .world-page .world-action{width:min(40vw,170px);align-items:stretch;gap:7px}
 .world-page .world-action .eyebrow{letter-spacing:1px;font-size:9px}
 .world-page .world-action .btn{padding:8px 7px;min-height:40px;font-size:10px}
 .world-page .world-action .muted{display:none}
 .world-page .about-block{margin-top:9px}
}
@media(max-width:375px){
 .world-page .controls{gap:8px}
 .world-page .dpad{grid-template-columns:repeat(3,43px);grid-template-rows:repeat(3,43px)}
 .world-page .world-action{width:min(41vw,155px)}
}

/* v0.2.1 — iPhone date/popup polish; preserves native accessible date pickers */
.modal {scrollbar-width:thin; overscroll-behavior:contain;}
.modal-head {align-items:flex-start;}
.modal-head h2 {font-size:clamp(23px,5vw,28px);line-height:1.12;overflow-wrap:break-word;}
.modal-head .icon-button {flex:0 0 36px;width:36px;height:36px;font-size:22px;}
.date-picker-shell {position:relative;min-width:0;}
.date-picker-shell input[type="date"] {position:relative;display:block;width:100%;min-width:0;min-height:50px;font-size:16px;line-height:1.4;padding:12px 42px 12px 15px;background:#fff;border:1px solid #dedfd2;border-radius:12px;color:var(--ink);color-scheme:light;}
.date-picker-shell:not(.has-value) input[type="date"] {color:transparent;}
.date-picker-shell:not(.has-value) input[type="date"]::-webkit-datetime-edit {color:transparent;}
.date-picker-shell .date-helper {position:absolute;left:16px;top:50%;transform:translateY(-50%);pointer-events:none;color:#7a887a;font-size:14px;font-weight:500;white-space:nowrap;}
.date-picker-shell.has-value .date-helper {display:none;}
.date-picker-shell .date-decor {position:absolute;right:16px;top:50%;transform:translateY(-50%);pointer-events:none;color:#728d77;font-size:23px;}
.date-picker-shell input[type="date"]::-webkit-calendar-picker-indicator {opacity:0;position:absolute;right:0;top:0;width:100%;height:100%;cursor:pointer;}
.date-picker-shell:focus-within input {border-color:var(--sage);box-shadow:0 0 0 3px #b2cdb13a;}
.photo-field {position:relative;}
.photo-file-input {position:absolute;width:1px!important;height:1px!important;padding:0!important;opacity:0;overflow:hidden;left:12px;bottom:12px;}
.photo-picker {display:flex;align-items:center;gap:13px;min-height:74px;padding:12px 15px;border-radius:14px;border:1.5px dashed #c5d4c5;background:#f6f8f1;color:var(--forest);cursor:pointer;}
.photo-picker strong {display:block;font-size:13px;line-height:1.5;}
.photo-picker small {display:block;color:#758275;font-size:11px;font-weight:400;line-height:1.5;overflow-wrap:anywhere;}
.photo-picker-icon {display:grid;place-items:center;flex:0 0 43px;height:43px;background:#e7eee1;border-radius:12px;font-size:22px;}
.photo-picker-arrow {font-size:28px;font-weight:400;margin-left:auto;}
.photo-file-input:focus-visible + .photo-picker {outline:3px solid #a3c2a5;outline-offset:2px;}
@media(max-width:760px){
 .overlay {padding:12px;align-items:center;}
 .modal {padding:20px 18px 21px;max-height:calc(100dvh - 28px);border-radius:22px;}
 .modal-head {gap:8px;margin-bottom:16px;}
 .modal-head h2 {font-size:clamp(22px,5.9vw,26px);line-height:1.13;letter-spacing:-.6px;}
 .field {margin-bottom:13px;}
 .field input:not([type="file"]),.field select,.field textarea {font-size:16px;min-height:48px;}
 .form-actions {margin-top:18px;gap:9px;}
 .form-actions .btn {padding:12px 13px;min-height:46px;white-space:nowrap;}
}
