.pb-tbc-diary [hidden]{display:none!important}
.pb-tbc-diary [data-pb-tbc-diary]{min-width:0;max-width:100%}
.pb-tbc-diary .tbc-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1rem 0}
.pb-tbc-diary label{display:block;font-weight:600;min-width:0}
.pb-tbc-diary input,.pb-tbc-diary select,.pb-tbc-diary textarea{display:block;width:100%;min-width:0;max-width:100%;box-sizing:border-box;margin-top:.35rem;padding:.7rem;border:1px solid #617782;border-radius:5px;background:#fff;color:#173442;font:inherit}
.pb-tbc-diary textarea{min-height:6rem;resize:vertical}
.pb-tbc-diary input:focus,.pb-tbc-diary select:focus,.pb-tbc-diary textarea:focus,.pb-tbc-diary button:focus-visible{outline:3px solid #3978aa;outline-offset:2px}
.pb-tbc-diary button{border:1px solid #385769;border-radius:5px;padding:.7rem 1rem;background:#fff;color:#173442;font:inherit;font-weight:600;cursor:pointer;white-space:normal}
.pb-tbc-diary .tbc-primary{background:#173b4c;color:#fff;border-color:#173b4c}
.pb-tbc-diary .tbc-actions{display:flex;flex-wrap:wrap;gap:.65rem;margin:1rem 0}
.pb-tbc-diary .tbc-panel,.pb-tbc-diary .tbc-record{border:1px solid #b8c6cc;border-radius:7px;padding:1rem;margin:1rem 0;background:#fff;min-width:0;overflow-wrap:anywhere}
.pb-tbc-diary .tbc-panel{background:#f7f9fa}
.pb-tbc-diary .tbc-record h3{margin-top:0}
.pb-tbc-diary .tbc-historical{background:#edf1f3;border-style:dashed}
.pb-tbc-diary .tbc-hint{font-size:.95rem;color:#405965}
.pb-tbc-diary .tbc-status{padding:.8rem;background:#e9f0f5;border-left:4px solid #34617d;min-height:1.4em;overflow-wrap:anywhere}
.pb-tbc-diary .tbc-error{background:#fff1eb;border-color:#9b3d20;color:#6d2512}
.pb-tbc-diary #tbc-result,.pb-tbc-diary #tbc-edit-note{scroll-margin-top:7rem}
.pb-tbc-diary #tbc-import{overflow:hidden}
@media(max-width:650px){.pb-tbc-diary .tbc-fields{grid-template-columns:minmax(0,1fr)}.pb-tbc-diary .tbc-actions button{width:100%}.pb-tbc-diary .tbc-panel{padding:.8rem}}
