/* V5.4.6 Auth & Entry RC1 shared detail component: Public + Assistant + Boss */
.sheet{border-radius:28px 28px 0 0;background:#fff;box-shadow:0 -18px 60px rgba(15,23,42,.14);overflow:hidden}
.sheet-head{display:flex;align-items:flex-start;gap:12px;padding:18px 18px 14px;border-bottom:1px solid #e2e8f0;background:#fff}
.sheet-head>div:first-child{min-width:0;flex:1}
.sheet-head h2{margin:8px 0 0;font-size:24px;line-height:1.18;font-weight:900;color:#0f172a;letter-spacing:-.02em}
.sheet-head .meta{margin-top:7px;color:#64748b}
.detail-head-actions{display:flex;align-items:center;gap:8px;margin-left:auto;flex:0 0 auto}
.close-btn,.trash-btn{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:#eff6ff;border:1px solid #dbeafe;color:#1d4ed8;cursor:pointer;flex:0 0 auto}
.trash-btn{background:#fff7f7;border-color:#fecaca;color:#b91c1c}
.trash-btn svg,.close-btn svg{width:19px;height:19px}
.detail-body{padding:0 18px 26px}
.detail-section{padding:18px 0;border-top:1px solid #e2e8f0}
.detail-section:first-child{border-top:0}
.detail-title{font-size:15px;font-weight:900;color:#1e293b;margin-bottom:12px}
.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.info,.long,.assistant-note{border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc;padding:11px 12px}
.long,.assistant-note{margin-top:10px}
.info span,.long span,.assistant-note span{display:block;font-size:11px;font-weight:650;color:#64748b;margin-bottom:4px}
.info b,.long div,.assistant-note div{font-size:14px;line-height:1.45;color:#0f172a;font-weight:760;overflow-wrap:anywhere}
.assistant-note{background:#f8fbff;border-color:#dbeafe}
.calendar-link{display:inline-flex;align-items:center;gap:6px;margin-top:10px;padding:9px 11px;border-radius:11px;background:#eff6ff;color:#1d4ed8;text-decoration:none;font-weight:800;font-size:12px}
.detail-actions{padding-top:14px;margin-top:14px;border-top:1px solid #e2e8f0}
.detail-code{display:inline-block;margin-left:7px;font-size:11px;font-weight:800;color:#64748b}
@media(max-width:560px){.sheet-head{padding:16px 16px 13px}.sheet-head h2{font-size:21px}.detail-body{padding:0 16px 24px}.detail-grid{grid-template-columns:1fr 1fr}.info b,.long div,.assistant-note div{font-size:13.5px}}
@media(max-width:390px){.detail-grid{grid-template-columns:1fr}.sheet-head h2{font-size:20px}}
/* Shared feedback must be visible above login (200) and every detail/dialog. */
.toast.show{display:block!important;position:fixed;z-index:10000;left:50%;top:20px;transform:translateX(-50%);max-width:min(92vw,650px);padding:14px 18px;border-radius:12px;background:#182338;color:#fff;font-size:16px;line-height:1.5;box-shadow:0 8px 28px #0003;white-space:normal;pointer-events:none}
.toast.toast-error{background:#942633}.media-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px}.media-actions .btn{font-size:16px;min-height:46px}.field-label{font-weight:500;color:var(--muted)}.long div,.assistant-note div{white-space:pre-wrap;overflow-wrap:anywhere}
.trash-row{display:flex;justify-content:space-between;align-items:center;gap:12px}.trash-row .btn{flex-shrink:0}

.entry-suggestion-status{display:block;margin-top:4px;color:#64748b;font-size:13px;font-weight:400;line-height:1.4}
