
:root{font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:#18242c;background:#eef1f2}*{box-sizing:border-box}body{margin:0}header{background:#15252b;color:white;padding:22px 30px;display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}header h1{margin:0;font-size:24px}header p{margin:5px 0 0;color:#bfd0d1;font-size:13px}button{font:inherit;cursor:pointer;border:1px solid #c9d4d6;background:white;color:#24343b;border-radius:8px;padding:9px 12px}button:hover{background:#e7eeee}.toolbar{display:flex;gap:8px;flex-wrap:wrap}.tabs{display:flex;gap:8px;overflow:auto;padding:16px 24px 0}.tab{white-space:nowrap}.tab.active{background:#15252b;color:white}.notice{margin:12px 24px;color:#52636a;font-size:13px}.board{display:grid;grid-template-columns:repeat(4,minmax(255px,1fr));gap:14px;padding:12px 24px 30px;align-items:start;overflow:auto}.lane{background:#e1e7e8;border-radius:13px;min-height:65vh;padding:12px}.lane h2{font-size:15px;margin:2px 4px 12px;display:flex;justify-content:space-between;align-items:center}.count{font-size:12px;background:#cbd6d8;border-radius:20px;padding:3px 8px}.card{background:white;border:1px solid #d7e0e1;border-left:4px solid #5a7c85;border-radius:10px;padding:14px;margin-bottom:10px;cursor:grab;box-shadow:0 2px 5px #15252b0b}.card:hover{border-color:#7b969c;box-shadow:0 3px 12px #15252b18}.card strong{display:block;font-size:14px;line-height:1.35;margin-bottom:8px}.card p{font-size:13px;color:#46585e;line-height:1.45;margin:0}.card small{display:block;color:#819095;margin-top:9px}.lane[data-lane="Погоджено"] .card{border-left-color:#3a8a72}.lane[data-lane="Пропозиції"] .card{border-left-color:#4b81b7}.lane[data-lane="Гіпотези"] .card{border-left-color:#bd9242}.lane[data-lane="Потребує рішення"] .card{border-left-color:#bd6868}.lane.over{outline:3px dashed #607f8a}dialog{border:0;border-radius:14px;padding:24px;width:min(540px,94vw);box-shadow:0 25px 80px #0004}dialog::backdrop{background:#13252a8a}dialog h2{margin:0 0 16px}label{display:block;font-size:13px;font-weight:600;margin:14px 0 5px}input,textarea,select{font:inherit;width:100%;border:1px solid #bccbce;border-radius:8px;padding:10px}textarea{height:130px;resize:vertical}.dialogbuttons{display:flex;gap:9px;margin-top:20px;justify-content:flex-end}.danger{color:#a33;border-color:#e6b9b9}.primary{background:#15252b;color:white}.primary:hover{background:#2e444b}@media(max-width:1050px){.board{grid-template-columns:repeat(4,280px)}}

:root{--shade:#15252b}body{min-height:100vh}.board{grid-template-columns:repeat(4,minmax(310px,1fr));gap:17px}.lane{background:#e1e7e8}.lane[data-lane="Погоджено"]{background:#e1f0e9}.lane[data-lane="Пропозиції"]{background:#e1ecfa}.lane[data-lane="Гіпотези"]{background:#fff0d9}.lane[data-lane="Потребує рішення"]{background:#f9e3e5}.card{padding:18px;min-height:105px}.card strong{font-size:16px}.card p{font-size:14px;white-space:pre-line}.notice{line-height:1.5} .statusbar{background:#fff;border-bottom:1px solid #dce5e8;display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:10px 24px;font-size:13px;color:#38535e}.statusbar input{width:220px;padding:8px}.statusbar button{padding:8px}.statusbar #signout{display:none}.badge{font-size:12px;padding:5px 8px;border-radius:16px;background:#edf1f4}.statusbar .badge{display:inline-flex}.statusbar .badge.online{background:#d7f3e5;color:#16583a}.statusbar .badge.local{background:#fff0d8;color:#80551c}.subtle{font-size:12px;color:#61757a}.toolbar button{background:#f2faf9}.toolbar button:hover{background:white}@media(max-width:1050px){.board{grid-template-columns:repeat(4,320px)}}

:root{--ink:#15252b}html{scroll-behavior:smooth}body{background:#eef1f2}header{position:relative}header .brand{min-width:210px}.toolbar{align-items:center}.tab{border-radius:9px}.tab.active{background:#15252b}.board{min-height:65vh}.card{touch-action:pan-y;cursor:pointer}.card p{white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:7;-webkit-box-orient:vertical;overflow:hidden}.card:hover{transform:translateY(-1px)}.card .meta{display:flex;justify-content:space-between;gap:8px;align-items:center}.card .meta small{margin:0}.card .link-counter{font-size:12px;background:#ecf2f2;color:#395b64;border-radius:20px;padding:2px 7px}.lane{min-width:0;min-height:58vh}.lane h2{word-break:normal;line-height:1.35}.list-foot{display:block;width:100%;padding:11px;border:1px dashed #c3d0d2;background:#ffffff80;color:#546c73}.tab .tab-inner{display:inline-flex;align-items:center;gap:7px}.tab-dot{width:9px;height:9px;display:inline-block;border-radius:50%}.tab .tab-inner span:last-child{font-size:12px;color:#6e8488}.tab.active .tab-inner span:last-child{color:#bfd0d1}.empty{padding:50px 20px;text-align:center;color:#6b7d83}.statusbar{min-height:48px}.notice{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.right{margin-left:auto}.hidden{display:none!important}.share{background:#fff9e4;padding:10px;border-radius:10px}.board-actions{padding:4px 24px 0;display:flex;justify-content:flex-end;gap:8px}.board-actions button{font-size:13px} .field-inline{display:flex;align-items:center;gap:8px}.field-inline>*{flex:1}.links-list{display:flex;flex-direction:column;gap:6px;margin:8px 0 2px}.links-list a{font-size:13px;color:#215e92;text-decoration:none;overflow-wrap:anywhere}.links-list a:hover{text-decoration:underline}.hint{font-size:12px;color:#667b81;line-height:1.4}.divider{height:1px;background:#dae2e4;margin:15px 0}.notice-bar{padding:9px 14px;background:#fff6d9;color:#695222;border-radius:9px;margin:12px 24px 0;font-size:13px} dialog{max-height:90dvh;overflow:auto} dialog input,dialog textarea,dialog select{font-size:16px} dialog .dialogbuttons{flex-wrap:wrap} dialog h2{font-size:21px}.offline-tag{color:#705326;background:#fff0d7}.online-tag{color:#175a41;background:#dcf2e8}.search{width:min(260px,100%);margin-left:auto}.search input{width:100%;font-size:14px}.card-actions{display:flex;gap:8px;margin:6px 0 12px}.card-actions button{font-size:12px}button:focus-visible,.card:focus-visible{outline:3px solid #5a92ba;outline-offset:2px}.btn-sm{font-size:13px;padding:7px 10px}.color-choices{display:flex;gap:10px;flex-wrap:wrap}.color-choices label{margin:0;cursor:pointer}.color-choices input{width:auto}.color-choices .chip{padding:10px 16px;border-radius:9px;display:block;border:2px solid transparent}.color-choices input:checked+.chip{border-color:#24343b;box-shadow:0 0 0 2px white inset}.lane[data-lane="Погоджено"]{background:#e1f0e9}.lane[data-lane="Пропозиції"]{background:#e1ecfa}.lane[data-lane="Гіпотези"]{background:#fff0d9}.lane[data-lane="Потребує рішення"]{background:#f9e3e5}
@media(max-width:700px){header{padding:17px 16px;gap:14px}header h1{font-size:21px}.toolbar{width:100%;overflow-x:auto;flex-wrap:nowrap}.toolbar button{white-space:nowrap;font-size:13px;padding:9px}.statusbar{padding:10px 16px}.statusbar input{width:min(220px,58vw)}.tabs{padding:12px 12px 0}.notice{margin:12px 16px}.board-actions{padding:8px 15px}.board{grid-template-columns:none;display:flex;overflow-x:auto;scroll-snap-type:x proximity;padding:9px 12px 25px;gap:12px;overscroll-behavior-x:contain}.lane{min-width:min(85vw,380px);max-width:min(85vw,380px);scroll-snap-align:center;min-height:54vh}.card{padding:15px;min-height:92px}.card p{font-size:14px}dialog{padding:20px;width:96vw}.search{width:100%;margin-left:0}}

/* Відновлене кольорове оформлення — усі стилі в самому HTML */
header{background:linear-gradient(110deg,#182d35,#27454e)}
.lane{box-shadow:0 5px 20px #15252b0c;border:1px solid #d3e0df}
.card{transition:box-shadow .18s ease,transform .18s ease}
.tab.active{box-shadow:0 4px 10px #15252b22}
.lane[data-lane="Погоджено"] .count{background:#c5e5d2}
.lane[data-lane="Пропозиції"] .count{background:#c9dbf6}
.lane[data-lane="Гіпотези"] .count{background:#f7dda8}
.lane[data-lane="Потребує рішення"] .count{background:#f2c8d3}

/* Онлайн-редакція: інтерактивність без зміни оригінальної палітри */
.material-preview{display:flex;flex-direction:column;gap:6px;margin-top:10px}.material-preview a{display:block;overflow-wrap:anywhere;color:#215e92;font-size:13px}.archive-entry{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px;border-bottom:1px solid #dce4e5}.archive-entry button{flex-shrink:0}.card{background:#fff}.lane .card p{max-height:12.5em;overflow:hidden}.no-access{margin:30px auto;max-width:700px;padding:18px;background:#fff8e9;border-radius:12px}.board-actions{align-items:center}#archiveList{max-height:52dvh;overflow:auto}#inviteDialog{max-width:500px}@media(max-width:700px){.board{display:flex;overflow-x:auto}.lane{min-width:min(85vw,380px)}.material-preview{margin-top:10px}}

.comments-block{margin:15px 0;border-top:1px solid #d7e2e5;padding-top:8px}.comments-block h3{font-size:15px}.comment-entry{background:#edf2f3;padding:9px 12px;border-radius:8px;margin:7px 0}.comment-entry p{margin:0 0 5px;white-space:pre-wrap}.comment-entry small{color:#627780}.comments-block textarea{min-height:55px;height:65px}.comments-block button{margin-top:7px}
