/* V8 additive corrections only; V7.1 card typography, spacing and colors unchanged. */
.v8-history-plus{height:33px;width:35px;border:1px solid #ddd;border-radius:9px;background:white;font-size:22px;font-weight:400;color:#333;line-height:1;flex:none;margin-left:2px}
.v8-item-edit{font-size:11px;border:1px solid #dedede;background:#fff;border-radius:7px;padding:5px 8px;align-self:flex-start;order:3;color:#555}
.v8-inline-edit{flex:none;margin-left:8px}
.v8-app-link{word-break:break-word;font-size:12px;margin:10px 0}
.v8-address{margin-top:8px}
.v8-image-tile{display:flex;gap:10px;min-height:75px;padding:6px 10px 6px 6px;justify-content:flex-start!important;align-items:center!important}
.v8-photo-wrap{flex:none;width:95px;aspect-ratio:16/9;overflow:hidden;border-radius:9px;background:#ececec;display:block}
.v8-diary-photo{width:100%;height:100%;object-fit:cover;display:block;border-radius:9px}
.v8-no-photo{width:100%;height:100%;min-height:52px;display:flex;align-items:center;justify-content:center;font-size:10px;color:#999;background:linear-gradient(125deg,#eee,#f6f6f6)}
.v8-tile-name{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px;text-align:left;font-weight:700;color:#222!important;overflow-wrap:anywhere}
.v8-tile-name small{color:#888;font-size:10px;font-weight:400}
.v8-diary-note{display:flex;justify-content:flex-end;padding-top:7px}
.v8-dialog-backdrop{position:fixed;inset:0;background:#0008;z-index:10001;display:flex;align-items:flex-end;justify-content:center}
.v8-dialog-sheet{background:#fff;position:relative;max-height:94dvh;overflow:auto;padding:22px 16px calc(22px + env(safe-area-inset-bottom));width:100%;max-width:510px;border-radius:20px 20px 0 0;display:flex;flex-direction:column;gap:13px}
.v8-dialog-sheet .v71-card{border:none;padding:0;box-shadow:none;overflow:visible}
.v8-dialog-sheet h2{font-size:19px;padding-right:26px}
.v8-field{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600}
.v8-field input{width:100%;border:1px solid #ddd;border-radius:10px;padding:10px;font-size:16px}
.v8-raw-text{display:block;min-height:210px;width:100%;font-size:14px;border:1px solid #ddd;border-radius:10px;padding:9px}
.v8-large-empty{width:100%;aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;background:#f3f3f3;color:#888;font-size:12px;border-radius:13px}
@media(max-width:370px){.v8-photo-wrap{width:74px}.v8-image-tile{gap:7px}.v8-tile-name{font-size:12px}}

.v8-sheet-toolbar{display:flex;gap:8px;padding-right:42px}.v8-sheet-toolbar .btn{font-size:11px}
