.fcl-dialog{position:fixed;inset:0;margin:auto;width:min(1100px,calc(100vw - 28px));max-width:none;height:min(760px,calc(100dvh - 28px));max-height:none;padding:0;border:2px solid #304047;border-radius:16px;background:#fffaf0;color:#253b42;box-shadow:5px 5px #304047;font:inherit}.fcl-dialog::backdrop{background:rgba(17,35,49,.72)}.fcl-dialog[open]{display:flex;flex-direction:column}.fcl-dialog *{box-sizing:border-box}.fcl-dialog button{font:inherit;cursor:pointer;background:#fff9ec;border:2px solid #34464a;border-radius:9px;padding:9px 13px;min-height:44px;font-weight:700;color:#263e41}.fcl-dialog button:disabled{opacity:.5;cursor:not-allowed}.fcl-dialog button:focus-visible,.fcl-dialog input:focus-visible{outline:3px solid #be603c;outline-offset:2px}.fcl-dialog .fcl-primary{background:#ffd779}.fcl-head,.fcl-foot,.fcl-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px 18px;background:#fff1d4}.fcl-head{border-bottom:2px solid #304047}.fcl-head h2{font-size:clamp(20px,2vw,28px);margin:4px 0}.fcl-head small{color:#735a41;font-weight:700}.fcl-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:20px;overflow:auto;flex:1}.fcl-grid>section,.fcl-letter,.fcl-detail{padding:18px;border:1px solid #9eb6aa;border-radius:12px;background:#fffdf7}.fcl-grid h3,.fcl-student h3{font-size:21px;margin:12px 0}.fcl-grid p,.fcl-student p{line-height:1.6}.fcl-chip{display:inline-block;background:#e2f0e6;border-radius:6px;padding:5px 9px;font-size:13px;font-weight:800}.fcl-grid form{display:grid;gap:12px;margin-bottom:12px}.fcl-grid label{display:grid;gap:6px;font-weight:700}.fcl-grid input{width:100%;border:1.5px solid #89a297;background:white;border-radius:8px;padding:10px;font:inherit}.fcl-message{margin:0;padding:10px 18px;border-top:1px solid #c9d4c5;background:#e7f2e8;font-size:14px;line-height:1.5}.fcl-roomlist{display:grid;gap:9px;padding:20px;overflow:auto;flex:1;align-content:start}.fcl-roomlist button{display:flex;text-align:left;justify-content:space-between;gap:12px}.fcl-board{flex:1;display:grid;grid-template-columns:minmax(180px, .35fr) minmax(0,1fr);gap:12px;padding:16px;min-height:0}.fcl-board nav{display:grid;align-content:start;gap:8px;overflow:auto}.fcl-board nav button{display:flex;flex-direction:column;align-items:flex-start;gap:4px;text-align:left}.fcl-board nav .is-selected{background:#d9eee1}.fcl-detail{overflow:auto}.fcl-detail h3{margin:0 0 12px}.fcl-field{padding:10px 0;border-bottom:1px solid #d8e3d7}.fcl-field b{color:#25685f}.fcl-field p{white-space:pre-wrap;margin:6px 0;line-height:1.6;overflow-wrap:anywhere}.fcl-student{overflow:auto;flex:1;padding:18px}.fcl-student .fcl-bar{border-radius:10px}.fcl-foot{border-top:1px solid #c9d4c5}.fcl-foot span{font-size:13px}@media(max-width:700px){.fcl-dialog{width:calc(100vw - 12px);height:calc(100dvh - 12px)}.fcl-grid{grid-template-columns:1fr}.fcl-board{grid-template-columns:1fr;overflow:auto}.fcl-board nav{display:flex;overflow-x:auto}.fcl-board nav button{min-width:120px;flex:none}.fcl-detail{overflow:visible}.fcl-bar{align-items:flex-start}.fcl-roomlist button{flex-direction:column}}
