/* Compact project entry, scoped away from the edition and classroom. */
.scriba-workbench .project-strip[hidden]{display:none}
.entry-home{max-width:840px;margin:clamp(24px,5vh,56px) auto;padding:0 8px}
.entry-intro{margin-bottom:22px}
.entry-intro h1{font-size:30px;line-height:1.25;letter-spacing:-.5px;margin:0 0 8px}
.entry-intro p,.entry-choice p,.entry-dialog p{font-size:14px;line-height:1.65;color:var(--muted);margin:8px 0 18px}
.entry-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.entry-choice{display:flex;flex-direction:column;align-items:flex-start;padding:24px;border:1px solid var(--line);border-radius:12px;background:var(--white)}
.entry-symbol{display:grid;place-items:center;width:34px;height:34px;background:var(--green-soft);color:var(--green);border-radius:9px;font-size:23px;margin-bottom:16px}
.entry-choice h3{font-size:24px;line-height:1.25;margin:0 0 4px}
.entry-choice p{margin:6px 0 22px;max-width:32ch}
.entry-choice button{margin-top:auto;min-height:44px}
.entry-recent{margin-top:28px;border-top:1px solid var(--line);padding-top:16px}
.entry-recent h3{font-family:inherit;font-size:13px;color:var(--muted);margin:0 0 8px}
.entry-recent ul,.entry-directory,.entry-applications ul{list-style:none;padding:0;margin:0}
.entry-recent button{display:flex;justify-content:space-between;gap:20px;text-align:left;width:100%;min-height:44px;padding:8px 0;font-size:15px;overflow-wrap:anywhere}
.entry-dialog{width:min(620px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:24px;box-sizing:border-box}
.entry-dialog-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;min-height:32px}
.entry-dialog-top .close{margin-left:auto}
.entry-dialog h2{font-size:28px;line-height:1.25;margin:0 0 12px}
.entry-dialog h3{font-size:20px;overflow-wrap:anywhere}
.entry-dialog label{font-size:14px}
.entry-dialog input,.entry-dialog textarea{width:100%;box-sizing:border-box;font-size:16px}
.entry-dialog textarea{resize:vertical}
.entry-dialog button{min-height:44px}
.entry-dialog .entry-choices{gap:12px}
.entry-dialog .entry-choice{padding:18px}
.entry-dialog .entry-choice h3{font-size:21px}
.entry-dialog .entry-choice p{font-size:13px}
.entry-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:20px}
.entry-alternative{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:22px;padding-top:12px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}
.entry-optional{margin:16px 0;border:0;padding:0;background:none}
.entry-optional summary{font-size:14px;padding:8px 0}
.entry-invitation,.entry-state{padding:16px;background:var(--green-soft);border-radius:8px;overflow-wrap:anywhere}
.entry-invitation{margin:18px 0}
.entry-invitation h3{margin:0}
.entry-invitation small{color:var(--muted)}
.entry-directory-row{display:flex;align-items:center;gap:16px;justify-content:space-between;padding:16px 0;border-bottom:1px solid var(--line)}
.entry-directory-row>div{min-width:0}
.entry-directory-row h3{margin:0 0 5px;font-size:19px}
.entry-directory-row p{margin:0;font-size:13px;overflow-wrap:anywhere}
.entry-directory-row button{flex-shrink:0}
.entry-status{font-size:12px;color:var(--green);flex-shrink:0}
.entry-applications{margin:14px 0}
.entry-applications li{display:grid;gap:4px;font-size:13px;padding:10px 0}
.entry-applications li span{color:var(--muted)}
#entry-message{margin:16px 0 0;padding:12px;background:var(--green-soft);border-radius:6px;font-size:14px;overflow-wrap:anywhere}
#entry-message.error{background:#fbefea;color:var(--red)}
.entry-first-source{display:flex;justify-content:center;margin:0 20px 28px}
.entry-home button:focus-visible,.entry-dialog button:focus-visible,.entry-dialog summary:focus-visible{outline:2px solid var(--green);outline-offset:3px}
@media(max-width:600px){
 .entry-home{margin:24px auto;padding:0 4px}
 .entry-intro h1{font-size:26px}
 .entry-choices{grid-template-columns:1fr;gap:12px}
 .entry-choice{padding:20px}
 .entry-symbol{margin-bottom:10px}
 .entry-choice h3{font-size:23px}
 .entry-choice p{max-width:none;margin-bottom:16px}
 .entry-dialog{padding:18px}
 .entry-dialog h2{font-size:25px}
 .entry-directory-row{align-items:flex-start;flex-direction:column;gap:10px}
}

/* Keep the short entry task focused; global display controls return on close. */
.entry-dialog #c-layout-open{display:none}
