#entry-flow, #entry-dialog {
  --entry-ink:#24201c; --entry-paper:#fff; --entry-rule:#d6cec4; --entry-red:#b82c19;
  box-sizing:border-box; color:var(--entry-ink); text-align:left; letter-spacing:normal; font-family:inherit; line-height:1.55; font-size:16px;
}
#entry-flow *, #entry-dialog * { box-sizing:border-box; }
#entry-flow { width:100%; min-width:0; padding:20px clamp(16px,2vw,28px) 18px; background:var(--entry-paper); border:1px solid #d5cbbd; border-radius:3px; box-shadow:4px 5px 0 #581e1740; scroll-margin-top:88px; }
.entry-slip-head, .entry-dialog-head { display:flex; align-items:center; justify-content:space-between; gap:10px; }
#entry-flow .entry-slip-head { padding-bottom:10px; border-bottom:2px solid var(--entry-ink); font-size:13px; font-weight:750; }
.entry-slip-head span:last-child { font-variant-numeric:tabular-nums; white-space:nowrap; }
#entry-flow .entry-start { padding:0; margin:14px 0 0; display:grid; grid-template-columns:minmax(0,1fr); gap:9px; }
#entry-flow .entry-start label { margin:0; padding:0; font-size:clamp(18px,1.4vw,23px); font-weight:850; line-height:1.45; color:var(--entry-ink); }
#entry-flow select, #entry-dialog select, #entry-dialog textarea { appearance:auto; color:var(--entry-ink); border:1px solid #aa9e91; border-radius:3px; background:#fff; padding:9px 12px; min-height:44px; font:inherit; font-size:16px; line-height:1.5; width:100%; }
#entry-flow select { cursor:pointer; }
#entry-flow .entry-assurance { margin:9px 0 0; font-size:12px; line-height:1.65; font-weight:500; color:#50463f; }
#entry-flow .entry-primary, #entry-dialog .entry-primary, #entry-dialog .entry-secondary { appearance:none; margin:0; min-height:44px; border:1px solid var(--entry-red); border-radius:4px; background:var(--entry-red); color:white; display:inline-flex; align-items:center; justify-content:space-between; gap:12px; padding:11px 16px; font:inherit; font-weight:750; text-decoration:none; cursor:pointer; letter-spacing:0; }
#entry-flow [data-mh-hero-cta] { white-space:nowrap; }
#entry-flow .entry-primary:hover, #entry-dialog .entry-primary:hover { background:#922213; border-color:#922213; }
#entry-dialog .entry-secondary { color:var(--entry-ink); background:white; border-color:var(--entry-ink); }
#entry-dialog button, #entry-dialog a { touch-action:manipulation; }
#entry-flow :focus-visible, #entry-dialog :focus-visible { outline:3px solid #1258a2; outline-offset:3px; }
#entry-dialog[open] {
  position:fixed; inset:0; box-sizing:border-box; display:block;
  width:min(1100px,calc(100vw - 48px)); max-width:none;
  height:fit-content; max-height:calc(100% - 24px); padding:0; margin:auto;
  border:0; border-radius:10px; overflow:hidden; background:#fff;
  box-shadow:0 20px 80px #17141366;
}
#entry-dialog:not([open]), #entry-dialog [hidden] { display:none!important; }
#entry-dialog::backdrop { background:rgb(22 19 18 / 72%); }
html:has(#entry-dialog[open]), body:has(#entry-dialog[open]) { overflow:hidden; }
#entry-dialog .entry-dialog-shell {
  display:grid; grid-template-columns:clamp(150px,16vw,194px) minmax(0,1fr);
  grid-template-rows:auto minmax(0,1fr) auto; grid-template-areas:"head head" "progress main" "progress nav";
  height:min(730px,86vh); height:min(730px,86dvh); background:#fff;
}
#entry-dialog .entry-dialog-head {
  grid-area:head; padding:6px clamp(14px,2.4vw,30px); min-height:52px;
  color:#fff; background:#261f1c; font-size:clamp(14px,1.45vw,18px); font-weight:800;
}
#entry-dialog .entry-dialog-head button, #entry-dialog .entry-back, #entry-dialog [data-entry-edit], #entry-dialog #entry-copy { color:inherit; border:0; background:transparent; font:inherit; cursor:pointer; border-radius:3px; }
#entry-dialog .entry-dialog-head button { color:#fff; padding:2px 8px; font-size:13px; min-height:42px; display:inline-flex; align-items:center; gap:6px; }
#entry-dialog .entry-dialog-head button span { font:400 26px/1 Arial,sans-serif; }
#entry-dialog .entry-dialog-body {
  grid-area:main; min-width:0; min-height:0; overflow:auto; overscroll-behavior:contain;
  padding:clamp(18px,2.6vw,36px) clamp(20px,3.5vw,50px);
}
#entry-dialog[data-stage="1"] .entry-dialog-body { display:grid; align-content:safe center; }
#entry-dialog .entry-progress {
  grid-area:progress; position:relative; display:flex; flex-direction:column; align-items:stretch; justify-content:center;
  gap:0; margin:0; padding:16px clamp(12px,1.8vw,24px); list-style:none; background:#fff;
  border-right:1px solid #c2bbb5; counter-reset:entry-step;
}
#entry-dialog .entry-progress li {
  display:flex; align-items:center; gap:9px; margin:0; padding:12px 0; list-style:none;
  color:#514941; font-size:clamp(12px,1.1vw,15px); font-weight:650; counter-increment:entry-step;
}
#entry-dialog .entry-progress li::marker {content:'';}
#entry-dialog .entry-progress li::before {
  content:counter(entry-step,decimal-leading-zero); display:grid; place-items:center; flex:none;
  width:30px; height:30px; border:1px solid #bfb8b3; border-radius:50%; color:#514941;
  font:750 12px/1 var(--rd-font-en,Arial,sans-serif);
}
#entry-dialog .entry-progress li.is-done::before { content:"✓"; color:#fff; background:#332b26; border-color:#332b26; }
#entry-dialog .entry-progress li[aria-current] {color:var(--entry-red); font-weight:850;}
#entry-dialog .entry-progress li[aria-current]::before {background:var(--entry-red); color:#fff; border-color:var(--entry-red);}
#entry-dialog h2 { margin:0; padding:0; border:0; background:none; font-family:inherit; font-size:clamp(23px,2.8vw,39px); line-height:1.24; font-weight:850; color:var(--entry-ink); letter-spacing:-.045em; }
#entry-dialog h2::before,#entry-dialog h2::after {display:none;}
#entry-dialog .entry-instruction { margin:7px 0 20px; font-size:clamp(13px,1.12vw,16px); color:#554a42; }
#entry-dialog .entry-field { display:grid; gap:5px; margin-top:15px; }
#entry-dialog .entry-field label, #entry-dialog .entry-filter label, #entry-dialog .entry-copybox label { font-weight:750; font-size:14px; color:var(--entry-ink); }
#entry-dialog textarea { resize:vertical; }
#entry-dialog .entry-filter { display:flex; align-items:center; gap:12px; }
#entry-dialog .entry-filter select { width:auto; flex:1; }
#entry-dialog .entry-count { margin:12px 0 5px; font-size:13px; }
#entry-dialog .entry-sr { position:absolute; width:1px; height:1px; padding:0; border:0; clip-path:inset(50%); overflow:hidden; white-space:nowrap; }
#entry-dialog .entry-works { border:0; margin:0; padding:0; min-width:0; }
#entry-dialog .entry-undecided { display:flex; align-items:center; gap:5px; padding:9px 12px; margin:0 0 12px; min-height:44px; border:1px solid #b4a99e; border-radius:4px; background:#fff; cursor:pointer; font-size:14px; }
#entry-dialog .entry-works input[type=radio] { appearance:auto; accent-color:var(--entry-red); flex:none; margin:0; width:18px; height:18px; min-height:18px; max-height:18px; }
#entry-dialog .entry-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }
#entry-dialog .entry-card { position:relative; border:1px solid var(--entry-rule); padding:0 0 6px; margin:0; border-radius:5px; background:white; }
#entry-dialog .entry-card:has(:checked), #entry-dialog .entry-undecided:has(:checked) { outline:2px solid var(--entry-red); outline-offset:-1px; }
#entry-dialog .entry-card label { display:flex; flex-direction:column; padding:0; cursor:pointer; margin:0; }
#entry-dialog .entry-card input { position:absolute; top:7px; left:7px; z-index:1; border-radius:50%; box-shadow:0 0 0 3px white; background:white; }
#entry-dialog .entry-card img { width:100%; height:auto; aspect-ratio:1.8; object-fit:cover; object-position:top; border-radius:4px 4px 0 0; border-bottom:1px solid var(--entry-rule); background:#fff; display:block; }
#entry-dialog .entry-card strong { padding:8px 10px 0; font-size:14px; color:var(--entry-ink); }
#entry-dialog .entry-card a { display:inline-block; padding:4px 10px; color:#603426; text-decoration:underline; text-underline-offset:3px; font-size:12px; }
#entry-dialog .entry-nav { grid-area:nav; min-width:0; display:flex; align-items:center; justify-content:space-between; gap:10px; padding:12px clamp(20px,3.5vw,50px); border-top:1px solid var(--entry-rule); background:#fff; }
#entry-dialog .entry-back { font-size:14px; padding:7px 2px; white-space:nowrap; }
#entry-dialog .entry-current { color:#5d514a; font-size:12px; line-height:1.5; text-wrap:pretty; }
#entry-dialog .entry-nav .entry-primary { flex-shrink:0; font-size:14px; }
#entry-dialog .entry-review { margin:0 0 18px; }
#entry-dialog .entry-review>div { display:grid; grid-template-columns:95px 1fr auto; gap:12px; align-items:baseline; border-bottom:1px solid var(--entry-rule); padding:10px 0; font-size:14px; }
#entry-dialog .entry-review dt { font-weight:750; margin:0; }
#entry-dialog .entry-review dd { margin:0; white-space:pre-line; overflow-wrap:anywhere; }
#entry-dialog [data-entry-edit], #entry-dialog #entry-copy { color:#79341e; font-size:13px; text-decoration:underline; text-underline-offset:3px; padding:2px; }
#entry-dialog .entry-cost { background:#fff; border-block:1px solid var(--entry-ink); padding:12px 15px; }
#entry-dialog .entry-cost strong { font-size:21px; }
#entry-dialog .entry-cost p, #entry-dialog .entry-terms { margin:4px 0 0; font-size:13px; line-height:1.7; }
#entry-dialog .entry-terms { margin:12px 0; }
#entry-dialog .entry-handoff { display:grid; grid-template-columns:1fr 1fr; gap:9px; }
#entry-dialog .entry-copybox { display:grid; grid-template-columns:1fr 1fr; gap:8px; background:#fff; border:1px solid var(--entry-rule); padding:12px; margin-top:12px; }
#entry-dialog .entry-copybox label, #entry-dialog .entry-copybox textarea { grid-column:1/-1; }
#entry-dialog #entry-open-line { text-align:center; color:#693521; font-size:14px; text-decoration:underline; }
#entry-dialog .entry-status { font-size:13px; margin:8px 0 0; }
#entry-dialog .entry-status:empty { display:none; }
@media(max-width:580px) {
  #entry-dialog .entry-nav { flex-wrap:wrap; padding-bottom:max(env(safe-area-inset-bottom,0px),12px); }
  #entry-dialog .entry-current { order:-1; width:100%; margin-bottom:-5px; }
  #entry-dialog .entry-review>div { grid-template-columns:1fr auto; gap:3px 6px; }
  #entry-dialog .entry-review dd { grid-column:1; grid-row:2; }
  #entry-dialog .entry-review [data-entry-edit] { grid-column:2; grid-row:1; }
  #entry-dialog .entry-handoff { grid-template-columns:1fr; }
  #entry-dialog .entry-grid { gap:9px; }
}
#entry-dialog .entry-page-notes { margin:14px 0 0; border-top:1px solid var(--entry-rule); }
#entry-dialog .entry-page-notes summary { padding:10px 0 6px; font-size:14px; font-weight:700; cursor:pointer; }
#entry-dialog .entry-page-notes p { margin:4px 0 8px; font-size:13px; color:#504940; }
#entry-dialog #at-pages details { padding:0 10px 7px; margin:5px 0 0; border:1px solid var(--entry-rule); border-radius:4px; }
#entry-dialog #at-pages label { display:grid; gap:4px; margin:8px 0; font-size:13px; font-weight:700; }
#entry-dialog #at-pages input { width:100%; min-height:42px; color:var(--entry-ink); background:#fff; border:1px solid #aa9e91; border-radius:3px; padding:8px 10px; font:400 16px/1.5 inherit; font-family:inherit; font-weight:400; font-size:16px; }
#entry-email-slot .mh-mail__body { margin:0; padding:0; display:block; color:var(--entry-ink); }
#entry-email-slot .mh-mail__lead { display:none; }
#entry-email-slot .wpcf7 { font-size:15px; text-align:left; }
#entry-email-slot .wpcf7 p { margin:0 0 12px; }
#entry-email-slot .wpcf7 label { font-weight:650; line-height:1.6; }
#entry-email-slot .wpcf7 input:not([type=hidden]):not([type=submit]):not([type=checkbox]):not([type=radio]), #entry-email-slot .wpcf7 select, #entry-email-slot .wpcf7 textarea { width:100%; max-width:100%; padding:9px 12px; min-height:44px; color:var(--entry-ink); background:#fff; border:1px solid #aa9e91; border-radius:3px; font:inherit; font-size:16px; font-weight:400; }
#entry-email-slot .wpcf7 textarea { height:8em; }
#entry-email-slot .wpcf7 .wpcf7-submit { display:inline-flex; align-items:center; min-height:46px; padding:9px 25px; font:inherit; font-weight:750; color:#fff; background:var(--entry-red); border:0; border-radius:4px; cursor:pointer; }
#entry-email-slot p:has(>label select[name="select-summary"] option[value="お見積もり・ご相談"]:checked) { display:none; }
#entry-email-slot .entry-contact-extra { margin:0 0 14px; border-bottom:1px solid var(--entry-rule); }
#entry-email-slot .entry-contact-extra summary { font-weight:650; font-size:14px; padding:7px 0; cursor:pointer; }
#entry-email-slot [data-mh-privacy] { font-size:12px; line-height:1.7; }
#entry-email-slot [data-mh-privacy] a { text-decoration:underline; }
/* The first answer can be given directly on the printed application slip. */
#entry-flow .entry-options, #entry-dialog .entry-options { min-width:0; margin:0; padding:0; border:0; }
#entry-flow .entry-options legend, #entry-dialog .entry-options legend { float:none; width:100%; margin:0 0 8px; padding:0; color:var(--entry-ink); line-height:1.45; }
#entry-flow .entry-options legend { font-size:clamp(17px,1.45vw,22px); font-weight:800; letter-spacing:-.04em; }
#entry-dialog .entry-options legend { font-size:15px; font-weight:750; }
#entry-flow .entry-start { container-type:inline-size; }
#entry-flow .entry-timing-options label > span, #entry-flow .entry-assurance span { display:inline-block; white-space:nowrap; }
#entry-flow .entry-option-grid, #entry-dialog .entry-option-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; }
#entry-flow .entry-start label.entry-option, #entry-dialog .entry-options label.entry-option {
  display:flex; align-items:center; gap:8px; min-width:0; min-height:44px; margin:0; padding:6px 10px;
  border:1px solid #baab9b; border-radius:3px; background:#fff; color:#30241c; font:inherit; font-size:clamp(12px,1.06vw,15px); font-weight:650; line-height:1.4; letter-spacing:0; cursor:pointer;
}
#entry-flow .entry-option input[type=radio], #entry-dialog .entry-option input[type=radio] {
  position:static; appearance:none; display:grid; place-content:center; flex:0 0 15px; width:15px; height:15px; min-width:15px; min-height:15px; max-height:15px; margin:0; padding:0; background:white; border:1.5px solid #8a7869; border-radius:50%; cursor:pointer;
}
#entry-flow .entry-option input:checked, #entry-dialog .entry-option input:checked { border-color:var(--entry-red); }
#entry-flow .entry-option input:checked::before, #entry-dialog .entry-option input:checked::before { content:""; width:7px; height:7px; background:var(--entry-red); border-radius:50%; }
#entry-flow .entry-start label.entry-option:has(:checked), #entry-dialog .entry-options label.entry-option:has(:checked) { border-color:var(--entry-red); background:var(--entry-red); color:#fff; box-shadow:inset 0 0 0 1px var(--entry-red); }
#entry-flow .entry-start label.entry-option:has(:focus-visible), #entry-dialog .entry-options label.entry-option:has(:focus-visible), #entry-dialog .entry-card:has(input:focus-visible), #entry-dialog .entry-undecided:has(input:focus-visible) { outline:3px solid #1258a2; outline-offset:2px; }
#entry-dialog .entry-blog-options { margin-top:17px; }
#entry-dialog .entry-options label.entry-option { font-size:14px; }
#entry-dialog .entry-select { position:relative; width:100%; min-width:0; }
#entry-dialog .entry-filter .entry-select { flex:1; }
#entry-dialog .entry-select select { appearance:none; width:100%; min-height:46px; padding-right:40px; border-color:#a99a8b; cursor:pointer; }
#entry-dialog .entry-select::after { content:""; position:absolute; top:50%; right:16px; width:9px; height:9px; border:solid #862b1f; border-width:0 2px 2px 0; transform:translateY(-70%) rotate(45deg); pointer-events:none; }
#entry-dialog .entry-select select:focus-visible { border-color:#1258a2; }
#entry-dialog .entry-selected-tag { display:none; font-size:11px; font-weight:800; line-height:1.5; color:#fff; background:var(--entry-red); border-radius:2px; padding:3px 7px; }
#entry-dialog .entry-card .entry-selected-tag { position:absolute; top:5px; right:5px; }
#entry-dialog .entry-card label:has(:checked) .entry-selected-tag, #entry-dialog .entry-undecided:has(:checked) .entry-selected-tag { display:inline-block; }
#entry-dialog .entry-undecided .entry-selected-tag { margin-inline-start:auto; }
#entry-dialog .entry-card a { display:flex; align-items:center; min-height:44px; }
#entry-flow .entry-primary, #entry-dialog .entry-primary { color:#fff!important; }
@media(hover:hover) {
  #entry-flow .entry-start label.entry-option:hover, #entry-dialog .entry-options label.entry-option:hover, #entry-dialog .entry-select select:hover, #entry-dialog .entry-card:hover, #entry-dialog .entry-undecided:hover { border-color:var(--entry-red); }
}
@media(max-width:370px) {
  #entry-flow .entry-start label.entry-option { padding-inline:6px; gap:5px; }
}
@media(forced-colors:active) {
  #entry-flow .entry-option input[type=radio], #entry-dialog .entry-option input[type=radio] { appearance:auto; }
  #entry-flow .entry-option input:checked::before, #entry-dialog .entry-option input:checked::before { content:none; }
  #entry-dialog .entry-select select { appearance:auto; }
  #entry-dialog .entry-select::after { display:none; }
}
@media (max-width:340px) and (max-height:620px) {
  .campaign-entry #entry-flow { padding-top:5px; }
  .campaign-entry #entry-flow .entry-slip-head { padding-bottom:2px; }
  .campaign-entry #entry-flow .entry-start { margin-top:5px; gap:4px; }
  .campaign-entry #entry-flow .entry-options legend { margin-bottom:5px; }
  .campaign-entry #entry-flow .entry-primary { padding-block:8px; min-height:44px; }
}

@container (max-width:285px) {
  #entry-flow .entry-start label.entry-option { gap:5px; padding-inline:6px; font-size:13px; }
}

/* The same timing controls move from the first screen into the open form. */
#entry-flow .entry-choice-icon {display:none;}
#entry-dialog .entry-choice-icon {display:block; flex:none; width:24px; height:24px; color:var(--entry-red);}
#entry-dialog #entry-timing-slot .entry-primary {display:none;}
#entry-dialog #entry-timing-slot legend {position:absolute; width:1px; height:1px; padding:0; margin:0; clip-path:inset(50%); overflow:hidden; white-space:nowrap;}
#entry-dialog #entry-start {margin:0; padding:0; width:100%;}
#entry-dialog .entry-options .entry-option-grid {gap:9px;}
#entry-dialog .entry-options label.entry-option {
  position:relative; display:grid; grid-template-columns:26px 1fr 16px; align-items:center; gap:11px;
  min-height:58px; padding:9px 13px; border:1.5px solid #b8aca4; border-radius:5px;
  color:#2c221e; font-size:clamp(14px,1.25vw,17px); font-weight:750; line-height:1.4;
}
#entry-dialog .entry-options label.entry-option .entry-choice-icon {grid-column:1;grid-row:1;}
#entry-dialog .entry-options label.entry-option span {grid-column:2; grid-row:1;}
#entry-dialog .entry-options label.entry-option input {grid-column:3;grid-row:1;}
#entry-dialog .entry-options label.entry-option:has(:checked) .entry-choice-icon {color:white;}
#entry-dialog .entry-options label.entry-option:has(:checked) input {border-color:white;}
#entry-dialog .entry-timing-options label.entry-option {min-height:76px; font-size:clamp(16px,1.65vw,22px);}
#entry-dialog .entry-free-note {margin:20px 0 0; font-size:13px; color:#514941;}
#entry-dialog .entry-nav .entry-primary {min-width:min(100%,180px); min-height:45px; justify-content:center; margin-left:auto;}
#entry-dialog .entry-back {min-height:44px;}
#entry-dialog .entry-card {overflow:hidden;}
#entry-dialog .entry-card:has(:checked) {border-color:var(--entry-red); box-shadow:inset 0 0 0 1px var(--entry-red);}
#entry-dialog .entry-card input[type=radio] {
  appearance:none;display:grid;place-content:center;box-sizing:border-box;padding:0;
  border:2px solid #44352b;border-radius:50%;background:#fff;box-shadow:0 0 0 2px #fff;
}
#entry-dialog .entry-card input[type=radio]:checked {border-color:var(--entry-red);background:var(--entry-red);}
#entry-dialog .entry-card input[type=radio]:checked::after {
  content:"";width:6px;height:10px;box-sizing:border-box;border:solid #fff;border-width:0 2px 2px 0;
  transform:translateY(-1px) rotate(45deg);
}
#entry-dialog .entry-card a {font-size:13px;}
#entry-dialog .entry-grid {grid-template-columns:repeat(auto-fill,minmax(min(100%,200px),1fr));}
#entry-dialog .entry-filter .entry-select {max-width:350px;}
@media (max-width:740px) {
  #entry-dialog[open] {width:calc(100vw - 16px); max-height:calc(100% - 12px); margin:auto; border-radius:7px;}
  #entry-dialog .entry-dialog-shell {height:min(860px,calc(100vh - 24px));height:min(860px,calc(100dvh - 24px));grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr) auto;grid-template-areas:"head" "progress" "main" "nav";}
  #entry-dialog .entry-dialog-head {padding:3px 7px 3px 14px;min-height:46px;}
  #entry-dialog .entry-progress {flex-direction:row;justify-content:stretch;align-items:start;border:0;border-bottom:1px solid #d6cec4;padding:7px 8px;gap:2px;}
  #entry-dialog .entry-progress li {display:flex;flex:1;flex-direction:column;gap:3px;padding:0;font-size:11px;line-height:1.2;text-align:center;white-space:nowrap;}
  #entry-dialog .entry-progress li::before {width:23px;height:23px;font-size:10px;}
  #entry-dialog .entry-dialog-body {padding:18px 15px;}
  #entry-dialog .entry-options label.entry-option {grid-template-columns:22px minmax(0,1fr) 14px;gap:6px;padding:8px;min-height:53px;font-size:13px;}
  #entry-dialog .entry-options label.entry-option .entry-choice-icon {width:20px;height:20px;}
  #entry-dialog .entry-timing-options label.entry-option {min-height:66px;font-size:15px;}
  #entry-dialog .entry-nav {padding:7px 12px max(7px,env(safe-area-inset-bottom));}
  #entry-dialog .entry-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:350px) {
  #entry-dialog .entry-options label.entry-option {grid-template-columns:18px minmax(0,1fr) 14px; gap:4px; padding-inline:6px;}
  #entry-dialog .entry-options label.entry-option .entry-choice-icon {width:17px;height:17px;}
}
@media (max-height:530px) and (min-width:741px) {
  #entry-dialog .entry-dialog-shell {height:calc(100vh - 16px);height:calc(100dvh - 16px);}
}
/* Each timing choice carries the same pictogram on the compact slip and in the full form. */
#entry-flow .entry-period-hint {display:none;}
#entry-flow .entry-start label.entry-option {
  display:grid;grid-template-columns:16px minmax(0,1fr);align-items:center;
}
#entry-flow .entry-timing-options .entry-choice-icon,
#entry-flow .entry-timing-options .entry-option input {
  grid-column:1;grid-row:1;
}
#entry-flow .entry-timing-options .entry-choice-icon {
  display:block;width:16px;height:16px;color:var(--entry-red);pointer-events:none;
}
#entry-flow .entry-timing-options .entry-option input {
  background:transparent;border:0;
}
#entry-flow .entry-timing-options .entry-option span {grid-column:2;grid-row:1;}
#entry-flow .entry-timing-options .entry-option:has(:checked) .entry-choice-icon {visibility:hidden;}
#entry-flow .entry-timing-options input:checked::before,
#entry-dialog .entry-timing-options input:checked::before {
  content:"";box-sizing:border-box;width:6px;height:10px;border:solid currentColor;
  border-width:0 2px 2px 0;border-radius:0;background:transparent;transform:translateY(-1px) rotate(45deg);
}
#entry-flow .entry-timing-options input:checked::before {color:white;}
#entry-dialog .entry-timing-options .entry-option input:checked {background:#fff;color:var(--entry-red);}
#entry-dialog[data-stage="1"] .entry-dialog-shell {
  height:min(552px,calc(100vh - 24px));height:min(552px,calc(100dvh - 24px));
}
#entry-dialog .entry-timing-options label.entry-option {
  grid-template-columns:minmax(0,1fr) 19px;grid-template-rows:auto auto auto;align-items:center;
  gap:2px 10px;min-height:100px;padding:12px 18px 13px;
}
#entry-dialog .entry-timing-options label.entry-option .entry-choice-icon {
  grid-column:1;grid-row:1;width:29px;height:29px;margin-bottom:4px;
}
#entry-dialog .entry-timing-options label.entry-option input {grid-column:2;grid-row:1;justify-self:end;}
#entry-dialog .entry-timing-options label.entry-option span {
  grid-column:1/-1;grid-row:2;font-size:clamp(18px,1.55vw,23px);line-height:1.28;letter-spacing:-.035em;
}
#entry-dialog #entry-timing .entry-period-hint {
  grid-column:1/-1;grid-row:3;color:#594d44;font-size:clamp(12px,1.05vw,14px);font-weight:500;line-height:1.45;
}
#entry-dialog #entry-timing .entry-option:has(:checked) .entry-period-hint {color:#fff;}
@media (max-width:740px) {
  #entry-dialog[data-stage="1"] .entry-dialog-shell {height:min(592px,calc(100vh - 24px));height:min(592px,calc(100dvh - 24px));}
  #entry-dialog .entry-timing-options label.entry-option {min-height:97px;padding:10px 10px 11px;}
  #entry-dialog .entry-timing-options label.entry-option .entry-choice-icon {width:26px;height:26px;margin-bottom:4px;}
  #entry-dialog .entry-timing-options label.entry-option span {font-size:17px;}
  #entry-dialog #entry-timing .entry-period-hint {font-size:12px;font-weight:550;}
}
@media (forced-colors:active) {
  #entry-flow .entry-timing-options .entry-choice-icon {display:none;}
  #entry-dialog .entry-card input[type=radio] {appearance:auto;}
  #entry-dialog .entry-card input[type=radio]:checked::after {content:none;}
  #entry-flow .entry-timing-options .entry-option input {border:1px solid ButtonText;appearance:auto;}
  #entry-flow .entry-timing-options input:checked::before, #entry-dialog .entry-timing-options input:checked::before {content:none;}
}
