button.ws-guide-trigger, #ws-quick-guide .ws-guide-close {
  box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center;
  min-height:38px; width:auto; margin:0; padding:7px 13px;
  border:1px solid #b6bdc9; border-radius:7px; background:#fff; color:#273349;
  font:600 14px/1.45 -apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
  white-space:nowrap; cursor:pointer; text-decoration:none;
}
button.ws-guide-trigger:hover, #ws-quick-guide .ws-guide-close:hover {background:#edeff3; border-color:#707e96}
button.ws-guide-trigger:focus-visible, #ws-quick-guide .ws-guide-close:focus-visible {outline:3px solid #9d602d; outline-offset:3px}
button.ws-guide-pinned {position:fixed; z-index:15; right:max(14px, env(safe-area-inset-right)); bottom:max(16px,env(safe-area-inset-bottom)); box-shadow:0 2px 12px #1b263825}
body.worksheet-embed.ws-guide-framed {display:grid; grid-template-rows:auto minmax(0,1fr); height:100%; height:100dvh}
body.worksheet-embed.ws-guide-framed>iframe[data-worksheet-editor] {width:100%; height:100%; min-height:0}
.ws-guide-framebar {display:flex; justify-content:flex-end; align-items:center; padding:4px max(14px,3vw); background:#f8faf7; border-bottom:1px solid #d6dae0}
.ws-guide-framebar[hidden]{display:none!important}
#ws-quick-guide.ws-guide-dialog {box-sizing:border-box; position:fixed; inset:0; width:min(480px,calc(100% - 28px)); max-width:none; height:fit-content; max-height:calc(100dvh - 32px); padding:0; margin:auto; overflow:auto; overscroll-behavior:contain; color:#27303e; background:#fff; border:1px solid #cdd2da; border-radius:13px; box-shadow:0 16px 60px #1a233239; text-align:left; font:400 16px/1.65 -apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif}
#ws-quick-guide:not([open]){display:none!important}
#ws-quick-guide::backdrop{background:#1924385e}
#ws-quick-guide .ws-guide-shell{box-sizing:border-box;display:block;padding:clamp(19px,4vw,30px)}
#ws-quick-guide .ws-guide-title{margin:0; color:#26334a; font-family:inherit; font-weight:700; font-size:24px; line-height:1.4; letter-spacing:.015em}
#ws-quick-guide .ws-guide-context{margin:2px 0 15px; color:#4f596b; font:inherit; font-size:14px}
#ws-quick-guide .ws-guide-steps{margin:0; padding:0 0 0 1.65em; list-style:decimal outside; display:block}
#ws-quick-guide .ws-guide-steps li{display:list-item; padding:7px 0 8px 3px; margin:0; color:#263145}
#ws-quick-guide .ws-guide-steps li::marker{font-weight:700;color:#445269}
#ws-quick-guide .ws-guide-steps strong{display:block; font:inherit; font-weight:700}
#ws-quick-guide .ws-guide-steps p{margin:2px 0 0; padding:0; color:#414a59; font:inherit; font-size:15px; line-height:1.65}
#ws-quick-guide .ws-guide-close{display:flex; margin:15px 0 0 auto; min-width:90px}
@media(max-width:560px){
  body>header:has(.ws-guide-trigger) :is(.header-inner,.head,.head-right,.head-actions,.header-right){flex-wrap:wrap}
  body>header:has(.ws-guide-trigger) :is(.head,.header-inner){row-gap:5px; padding-block:7px; height:auto}
  #ws-quick-guide .ws-guide-steps li{padding-block:6px}
}
@media print{button.ws-guide-trigger,.ws-guide-framebar,#ws-quick-guide.ws-guide-dialog{display:none!important}}

.ws-title-line{display:flex;align-items:center;gap:9px 16px;flex-wrap:wrap}
.ws-title-line>.ws-about-button{appearance:none;flex:none;display:inline-flex;align-items:center;min-height:34px;padding:5px 12px;border:1px solid #a8b0bf;border-radius:18px;background:#fff;color:#38455b;font:600 14px/1.35 var(--series-font,sans-serif);cursor:pointer;white-space:nowrap}
.ws-about-button:hover,.ws-about-button:focus-visible{background:#eef1f5}
dialog.ws-dialog.ws-about{container:about / inline-size;width:min(760px,calc(100vw - 28px));color:#2a3341}
.ws-about .ws-dialog-head{position:sticky;top:-1px;background:#fff;padding:8px 0;border-bottom:1px solid #dee1e7;z-index:1}
.ws-about h3{margin:22px 0 7px;font-size:1.07rem;color:#34425a}.ws-about ul,.ws-about ol{padding-left:1.5em;margin:0}.ws-about li{margin:6px 0;line-height:1.6;font-size:15px}
.ws-about-steps p{margin:2px 0 8px}
.ws-about .ws-about-examples{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));gap:9px}
.ws-about button.ws-about-thumb{display:grid;grid-template-columns:minmax(0,1fr);align-content:start;align-items:center;justify-items:stretch;gap:4px;min-width:0;width:100%;padding:5px;border:1px solid #cacfd7;border-radius:7px;background:white;text-align:left;color:#2a3445;cursor:zoom-in;white-space:normal}
.ws-about .ws-about-thumb[aria-expanded=true]{outline:2px solid #53617a;outline-offset:-2px;cursor:zoom-out}
.ws-about .ws-about-thumb img{display:block;width:100%;height:90px;object-fit:contain;background:#f4f7f4}
.ws-about .ws-about-thumb span,.ws-about-large figcaption{display:block;min-width:0;padding:5px;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.ws-about-large{margin:12px 0 0}.ws-about .ws-about-large img{width:100%;height:auto}
@container about (max-width:35rem){
  .ws-about .ws-about-examples{grid-template-columns:minmax(0,1fr)}
  .ws-about button.ws-about-thumb{grid-template-columns:min(28%,6rem) minmax(0,1fr);align-content:center;gap:8px}
  .ws-about .ws-about-thumb img{height:62px}
}
@media(max-width:550px){.ws-title-line{gap:5px 10px}}
.ws-room-result:empty{display:none}
@media print{.ws-about-button{display:none!important}}

.ws-sheet-bar{display:flex;align-items:center;gap:10px 12px;min-height:55px;padding:11px 18px;margin:0;box-sizing:border-box;background:#fff;color:#2b303a;border-bottom:1px solid #d8dce2;font:600 14px/1.45 var(--series-font,sans-serif);text-align:left;flex-wrap:wrap}
.ws-edit-title{color:#68758c;flex:none;line-height:0}.ws-edit-title svg{width:18px;height:18px}
.ws-sheet-name{flex:0 1 auto;min-width:20px;max-width:min(100%,38em);font-weight:650;overflow-wrap:anywhere}
.ws-sheet-name .sheet-title{display:inline-flex;align-items:center;gap:6px}
.ws-sheet-name #map-title,.ws-sheet-name #edit-title{margin:0;padding:1px 0;font:inherit;color:inherit}
.ws-sheet-name #edit-title{display:inline-flex;align-items:center;gap:7px;border:0;background:transparent}
.ws-sheet-bar .ws-sheet-name-input,.fw-page .ws-sheet-bar input.ws-sheet-name-input{box-sizing:border-box;width:clamp(10em,26vw,27em);max-width:100%;min-width:0;background:#fff;color:#2a303a;border:1px solid transparent;border-radius:5px;padding:3px 5px;font:inherit;line-height:1.5}
.ws-sheet-bar .ws-sheet-name-input:hover,.ws-sheet-bar .ws-sheet-name-input:focus{border-color:#a1aaba}
.ws-sheet-badge{font-size:12px;font-weight:600;color:#976037;background:#f7efe6;border-radius:4px;padding:3px 7px}.ws-sheet-badge[hidden]{display:none!important}
.ws-sheet-state{display:inline-flex;align-items:center;gap:5px;border-left:1px solid #d4d9e0;padding-left:13px;font:500 13px/1.4 var(--series-font,sans-serif);color:#566175}
.ws-sheet-bar .ws-sheet-state>span{position:static!important;display:inline!important;width:auto!important;margin:0!important;padding:0!important;order:initial!important;color:inherit!important;font:inherit!important}
.fw-sheet>.ws-sheet-bar{margin:calc(-1 * clamp(18px,3vw,36px)) calc(-1 * clamp(18px,3vw,36px)) 12px;border-radius:inherit;border-bottom-left-radius:0;border-bottom-right-radius:0}
.chart-panel>.ws-sheet-bar,.board.card>.ws-sheet-bar,.work-area>.ws-sheet-bar{border-radius:inherit;border-bottom-left-radius:0;border-bottom-right-radius:0}
.ws-sheet-bar:has(+ #app){border:1px solid #d5d9e0;border-radius:10px;margin-bottom:12px}
.ws-original-sheetbar #saveStatus{display:inline-flex!important;align-items:center;gap:4px}
@media(max-width:650px){.ws-sheet-bar{gap:7px;padding:10px 12px}.ws-sheet-name{max-width:calc(100% - 30px)}.ws-sheet-state{font-size:12px;padding-left:9px}.ws-original-sheetbar .document-tools{flex-wrap:wrap}.ws-sheet-bar .ws-sheet-name-input,.fw-page .ws-sheet-bar input.ws-sheet-name-input{width:clamp(9em,42vw,16em)}}
@media(max-width:540px){.fw-page .fw-sheet>.ws-sheet-bar{margin:-14px -14px 12px}}
@media print{.ws-sheet-state,.ws-sheet-badge{display:none!important}}

header button[hidden][aria-hidden=true]{display:none!important}header :is(#fw-save,#save-state,#store-state,#save-status,#saved){visibility:hidden}

:is(.ws-sheet-bar,.ws-original-sheetbar) [data-ws-new]{display:inline-flex;align-items:center;justify-content:center;flex:none;gap:6px;min-height:36px;margin-inline-start:auto;padding:7px 12px;border:1px solid #c9ced7;border-radius:7px;background:#f4f6f8;color:#334057;font:650 14px/1.35 var(--series-font,sans-serif);white-space:nowrap;cursor:pointer}
:is(.ws-sheet-bar,.ws-original-sheetbar) [data-ws-new]:hover{background:#e8ebf0}
:is(.ws-sheet-bar,.ws-original-sheetbar) [data-ws-new]:focus-visible{outline:3px solid #213454;outline-offset:2px}
:is(.ws-sheet-bar,.ws-original-sheetbar) [data-ws-new] svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.ws-original-sheetbar .history-tools{flex:none}
.ws-original-sheetbar .history-tools [data-ws-new]{margin-inline-start:7px}
.review-mode [data-ws-new], [data-ws-new][hidden]{display:none!important}
@media(max-width:650px){.ws-original-sheetbar{height:auto;min-height:52px;flex-wrap:wrap}.ws-original-sheetbar .document-tools{flex:1 1 235px}.ws-original-sheetbar .history-tools{margin-inline-start:auto}.ws-sheet-bar [data-ws-new],.ws-original-sheetbar .history-tools [data-ws-new]{padding:6px 9px;font-size:13px}}
@media print{[data-ws-new]{display:none!important}}

.ws-board-choices{display:flex;flex-wrap:wrap;gap:6px;align-items:center;justify-content:flex-end;margin-inline-start:auto;min-width:0;max-width:100%}
.ws-board-choices :is([data-ws-new],[data-ws-team-new],.ws-team-invite){display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:36px;padding:6px 10px;margin:0!important;border:1px solid #b7bdc9;border-radius:7px;background:white;color:#29364c;cursor:pointer;font:650 13px/1.35 var(--series-font,sans-serif);white-space:nowrap}
.ws-board-choices [data-ws-new]{background:#213454;border-color:#213454;color:#fff}.ws-board-choices [data-ws-new]:hover{background:#162640;border-color:#162640;color:#fff}.ws-board-choices [data-ws-team-new]{background:white;color:#505b6d}.ws-board-choices button:hover{border-color:#4b5b77}.ws-board-choices svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.ws-board-dialog-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}.ws-board-dialog-actions button{border:1px solid #bcc3ce;background:#fff;color:#232f45;padding:.55em .9em;border-radius:6px;cursor:pointer}.ws-board-dialog-actions button:last-child{background:#213454;color:#fff}
html[data-ws-team] [data-ws-private-status],html[data-ws-team] .ws-sheet-bar .ws-sheet-state>[data-ws-private-status]{display:none!important}
@media(max-width:650px){.ws-original-sheetbar .history-tools{max-width:100%;flex-wrap:wrap;justify-content:flex-end}.ws-board-choices{row-gap:5px}.ws-board-choices button{font-size:12px;padding:6px 8px}}
@media print{.ws-board-choices{display:none!important}}

.ws-sheet-name{display:flex;flex-direction:column;align-items:flex-start;gap:1px}
.ws-sheet-name .ws-print-caption{display:block;margin:0;padding:0 5px;color:#525d70;font:400 .75rem/1.5 var(--series-font,sans-serif)}
.ws-sheet-name-value{padding-inline:5px}
.ws-original-sheetbar .ws-sheet-name{min-width:0;max-width:100%}
.ws-printed-name{display:none}
.ws-sheet-footer{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;box-sizing:border-box;grid-column:1/-1;clear:both;padding:9px 14px;width:100%;background:#fff;color:#334159}
@media print{
  .ws-sheet-name .ws-print-caption,.ws-sheet-bar .ws-edit-title,.ws-sheet-bar .ws-sheet-name>:not(.ws-printed-name){display:none!important}
  .ws-sheet-bar .ws-printed-name{display:block;font-size:18pt;line-height:1.3;overflow-wrap:anywhere}
  .ws-sheet-bar .ws-sheet-name{max-width:100%}
}

button.ws-edit-title{display:inline-grid;place-items:center;flex:none;width:34px;height:34px;padding:7px;margin:0;border:0;border-radius:6px;background:transparent;color:#525f75;cursor:pointer}
button.ws-edit-title:hover{background:#edf0f4;color:#263857}
.ws-edit-title svg,.ws-erase-link svg{width:17px;height:17px;flex:none}
.ws-sheet-footer .ws-erase-link{display:inline-flex;align-items:center;gap:5px;min-height:40px;padding:6px 8px;margin:0 0 0 3px;border:0;border-radius:5px;background:transparent;color:#535e71;font:500 .8rem/1.45 var(--series-font,sans-serif);cursor:pointer}
.ws-erase-link:hover{color:#9c372d;background:#fbf0ed;text-decoration:underline;text-underline-offset:3px}
.ws-erase-link:focus-visible,.ws-edit-title:focus-visible{outline:2px solid #394e72;outline-offset:2px}
.ws-erase-status{font:500 .8rem/1.45 var(--series-font,sans-serif);color:#3b4659}
.ws-erase-status:empty,.ws-erase-link[hidden],.ws-edit-title[hidden]{display:none!important}
.ws-erase-dialog p{line-height:1.7;overflow-wrap:anywhere}.ws-erase-error{color:#9c372d}
.ws-erase-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:20px}
.ws-erase-actions button{min-height:42px;padding:8px 16px;border:1px solid #b5bcc8;border-radius:7px;background:white;color:#27344b;font:600 .9rem/1.4 var(--series-font,sans-serif);cursor:pointer}
.ws-erase-actions .ws-erase-confirm{background:#a23b30;color:white;border-color:#a23b30}
.ws-erase-actions button:disabled{opacity:.65}
@media(max-width:650px){.ws-sheet-footer .ws-erase-link{min-height:44px}}
@media print{.ws-edit-title,.ws-erase-link,.ws-erase-status{display:none!important}}
.ws-sheet-name #edit-title i[data-icon="pencil"],.ws-sheet-name .sheet-title #rename{display:none}

.ws-sheet-note{flex:1 1 28rem;text-align:left;color:#465060;font:normal .9rem/1.7 var(--series-font,sans-serif);margin:0;padding:.4rem 0}
.genogram-symbols{flex:1 1 100%;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr));gap:1.1rem;align-items:start;color:#364153;text-align:left}.genogram-symbols .legend-grid{gap:.3rem .65rem}.genogram-symbols .legend-heading{margin:0 0 .45rem}.genogram-symbols .legend-item{gap:.3rem;font-size:.85rem}.genogram-symbols .legend-item svg{width:2.1rem;height:1.5rem}.genogram-symbols .helper-copy{font-size:.82rem}
@media print{.ws-sheet-note{break-inside:avoid}.ws-sheet-footer:empty{display:none}}

.ws-comment-replaced[hidden]{display:none!important}
section.ws-comments{box-sizing:border-box;grid-column:1/-1;width:100%;min-width:0;margin:1rem 0;padding:clamp(14px,2vw,24px);border:1px solid #d6dae1;border-radius:10px;background:#fff;color:#2a3444;text-align:left}
.ws-comments h2{margin:0 0 14px;font:650 1rem/1.6 var(--series-font,sans-serif)}
.ws-comment-list{display:grid;gap:0;margin:0 0 14px;padding:0;list-style:none}
.ws-comment-list li,.ws-comment-previous{margin:0;padding:.6rem 0;border-bottom:1px solid #e3e6eb;overflow-wrap:anywhere}
.ws-comment-list strong,.ws-comment-previous strong{font:650 .88rem/1.5 var(--series-font,sans-serif);color:#37445b}
.ws-comment-list li p,.ws-comment-previous p{margin:.15rem 0 0;font:400 1rem/1.65 var(--series-font,sans-serif);white-space:pre-wrap}
.ws-comment-previous{margin-bottom:.5rem}
.ws-comment-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px 12px;align-items:center}
.ws-comment-form label{grid-column:1/-1;display:grid;gap:4px;text-align:left;font:600 .9rem/1.5 var(--series-font,sans-serif)}
.ws-comments .ws-comment-form :is(input,textarea){box-sizing:border-box;display:block;width:100%;min-width:0;padding:.55rem .7rem;background:white;border:1px solid #a4adbc;border-radius:6px;color:#252d3b;font:400 1rem/1.5 var(--series-font,sans-serif)}
.ws-comment-form input{max-width:21rem}.ws-comment-form textarea{resize:vertical}
.ws-comments .ws-comment-form button{grid-column:2;grid-row:3;min-height:42px;padding:.45rem 1.4rem;border:0;border-radius:6px;color:#fff;background:#213454;cursor:pointer;font:650 .95rem/1.5 var(--series-font,sans-serif)}
.ws-comment-form button:disabled{opacity:.65}
.ws-comment-form .ws-comment-status{grid-column:1;grid-row:3;margin:0;font-size:.85rem}
@media print{.ws-comment-form{display:none!important}.ws-comment-list li{break-inside:avoid}}

/* A filename is allowed to be longer than one phone-width line. */
@media screen{
  .ws-sheet-bar .ws-sheet-name:has(>.ws-printed-name),.ws-original-sheetbar .ws-sheet-name:has(>.ws-printed-name){position:relative;min-width:0}
  .ws-sheet-name>.ws-printed-name{display:block;padding:3px 5px;font:inherit;line-height:1.6;white-space:normal;overflow-wrap:anywhere;word-break:normal;cursor:text}
  .ws-sheet-name:has(>.ws-printed-name):not(:focus-within)>input{position:absolute!important;width:1px!important;min-width:0!important;height:1px!important;padding:0!important;margin:0!important;border:0!important;overflow:hidden!important;clip-path:inset(50%)}
  .ws-sheet-name:has(>.ws-printed-name):focus-within>input{position:static;width:100%!important;max-width:100%;height:auto;clip-path:none}
  .ws-sheet-name:focus-within>.ws-printed-name{display:none}
  .ws-sheet-name .ws-print-caption{white-space:normal;overflow-wrap:anywhere;line-height:1.6}
}

@media screen and (max-width:650px){.ws-sheet-bar .ws-sheet-name:has(>.ws-printed-name),.ws-original-sheetbar .ws-sheet-name:has(>.ws-printed-name){flex:1 1 calc(100% - 48px);max-width:calc(100% - 44px)}}

.ws-sheet-name .ws-print-caption{text-wrap:pretty}
