:root { font-family: system-ui,sans-serif; color: #173e35; background: #f4f5ef; }
* { box-sizing: border-box; }
body { margin: 0; }
header { background: #103b32; color: #fff8e9; padding: 18px 5%; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
header a { color: inherit; display: flex; align-items: center; gap: 12px; font-weight: 750; text-decoration: none; }
header img { border-radius: 10px; } header a:last-child { margin-left: auto; }
main { max-width: 1280px; margin: auto; padding: 20px; }
h1,h2 { font-size: 22px; } p { line-height: 1.6; }
button,input,select,textarea { font: inherit; border-radius: 8px; padding: 11px; }
button { border: 0; background: #185545; color: white; cursor: pointer; }
button:disabled { opacity: .5; cursor: not-allowed; }
input,select,textarea { border: 1px solid #bbccc1; background: white; color: #173e35; width: 100%; }
label { display: grid; gap: 7px; font-size: 13px; font-weight: 650; }
form { display: grid; gap: 14px; margin: 20px 0; }
#new-contact { background: #e7efdf; border-radius: 12px; padding: 20px; grid-template-columns: 1fr 1fr auto; align-items: end; }
#new-contact h2 { grid-column: 1 / -1; margin: 0; }
.notice { padding: 14px; border: 1px solid #d9c997; background: #fff8df; border-radius: 8px; }
.layout { display: grid; grid-template-columns: minmax(260px,1fr) minmax(300px,1.7fr); gap: 20px; }
.panel { background: white; border: 1px solid #dce5dc; border-radius: 12px; padding: 24px; min-width: 0; }
.conversation { display: block; width: 100%; text-align: left; background: #edf3e8; color: #173e35; margin: 12px 0; }
.conversation[aria-pressed="true"] { outline: 2px solid #185545; }
.conversation strong,.conversation small { display: block; margin: 5px 0; overflow-wrap: anywhere; }
.note { background: #fff8df; border-radius: 9px; padding: 14px; margin: 12px 0; }
.note p { white-space: pre-wrap; overflow-wrap: anywhere; margin: 8px 0; }
small { color: #52685e; } textarea { min-height: 100px; resize: vertical; }
.paging { display: flex; gap: 12px; margin-top: 15px; }
#feedback { min-height: 26px; } [hidden] { display: none !important; }
:focus-visible { outline: 3px solid #bd801f; outline-offset: 3px; }
@media(max-width:760px) { .layout,#new-contact { grid-template-columns: 1fr; } header { gap: 12px; } }
.check { display: flex; align-items: center; gap: 10px; margin: 16px 0; } .check input { width: auto; }
.button-link { display: inline-block; padding: 12px 18px; background: #185545; color: white; border-radius: 8px; text-decoration: none; }
