/* The actual dashboard lives in Shadow DOM: theme typography cannot leak in. */
:host{display:block;width:100%;color-scheme:light;font-family:Arial,'Hiragino Kaku Gothic ProN','Yu Gothic',sans-serif}
.yms{--good:#087f68;--bad:#cb4654;--neutral:#b37a16;box-sizing:border-box;width:100%;container-type:inline-size;font:14px/1.5 Arial,'Hiragino Kaku Gothic ProN','Yu Gothic',sans-serif;color:#172b40;text-align:left;letter-spacing:normal;background:#edf1f5;border-radius:18px}
.yms *, .yms *:before,.yms *:after{box-sizing:border-box}
.yms h1,.yms h2,.yms p{margin:0;padding:0;border:0;background:none;line-height:1.4;font-family:inherit;color:inherit}
.yms button{font:inherit;cursor:pointer;border:1px solid #dbe3ed;border-radius:8px;padding:8px 13px;background:#fff;color:#334a61;line-height:1.2}
.yms button:focus-visible,.yms a:focus-visible{outline:3px solid #649df5;outline-offset:3px}
.yms button:disabled{opacity:.6;cursor:wait}
.yms-board{width:100%;height:56.25cqw;padding:1.7cqw;display:grid;grid-template-rows:5.1cqw 5.7cqw minmax(0,1fr) 12.9cqw 1.4cqw;gap:1cqw}
.yms-head{display:flex;align-items:center;justify-content:space-between;gap:20px}
.yms-brand{font-size:.67cqw;font-weight:800;letter-spacing:.18em;color:#5f7790}
.yms-head h1{font-size:2.05cqw;font-weight:800;letter-spacing:.035em;margin-top:.2cqw}
.yms-subtitle{font-size:.8cqw!important;color:#617388!important;margin-top:.25cqw!important}
.yms-tools{display:flex;gap:8px}.yms-tools button{font-size:.76cqw}
.yms-statusbar{background:#162b43;border-radius:12px;color:#fff;display:flex;align-items:center;gap:1.6cqw;padding:1cqw 1.4cqw}
.yms-overall{display:flex;align-items:center;gap:.8cqw;min-width:13cqw;border-right:1px solid #ffffff29;padding-right:1.5cqw}
.yms-status-icon{width:3cqw;height:3cqw;display:grid;place-items:center;border-radius:50%;font-size:1.65cqw;color:#efbd65;background:#ffffff15}
.yms-overall-label{font-size:.75cqw;color:#aebfd0}.yms-overall-value{font-size:2cqw;line-height:1.2;font-weight:800;color:#f3c978!important}
.yms-summary{display:flex;flex-direction:column;gap:.2cqw;flex:1;min-width:0}.yms-summary strong{font-size:1cqw}.yms-summary span{font-size:.76cqw;color:#b8c8d8}
.yms-meta{font-size:.7cqw;text-align:right;color:#b8c8d8;line-height:1.85;white-space:nowrap}
.yms-primary{display:flex;flex-direction:column;min-height:0}.yms-section-title{height:1.5cqw;display:flex;justify-content:space-between;color:#617388;font-size:.72cqw;letter-spacing:.04em;font-weight:700;align-items:flex-start}.yms-section-title span{font-weight:400;letter-spacing:normal}
.yms-main-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:.85cqw;flex:1;min-height:0}
.yms-mini-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.85cqw;height:11.4cqw}
.yms-card{border:1px solid #dde5ee;border-radius:11px;background:white;padding:1cqw 1.1cqw .7cqw;min-width:0;display:flex;flex-direction:column;position:relative;border-top:3px solid #b4c0cf;box-shadow:0 2px 3px #142b4210}
.yms-card[data-tone=good]{border-top-color:var(--good)}.yms-card[data-tone=bad]{border-top-color:var(--bad)}.yms-card[data-tone=neutral]{border-top-color:#d2a54e}
.yms-card-head{display:flex;align-items:flex-start;gap:.45cqw;min-height:2.5cqw}.yms-number{display:none}.yms-card-head h2{font-size:1.05cqw;font-weight:750;flex:1;overflow-wrap:anywhere;line-height:1.27;letter-spacing:-.018em}
.yms button.yms-info{flex:none;width:1.1cqw;height:1.1cqw;border:0;border-radius:50%;background:#eff3f8;color:#72859b;padding:0;display:grid;place-items:center;font:700 .72cqw/1 Arial;margin-top:2px}
.yms-question{font-size:.72cqw!important;color:#77869a!important;min-height:1.15cqw;margin-top:.1cqw!important;white-space:normal}
.yms-value-line{display:flex;align-items:center;justify-content:space-between;gap:.5cqw;flex:1;min-height:3.8cqw;margin:.15cqw 0}
.yms-value{font-size:3.8cqw;letter-spacing:-.055em;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.03;white-space:nowrap;color:#152a40}
.yms-unit{font-size:.82cqw;letter-spacing:0;font-weight:500;color:#63778b;margin-left:.3cqw}.yms-badge{font-size:.7cqw;border-radius:5px;padding:.32cqw .45cqw;background:#edf1f5;color:#66778a;font-weight:700;white-space:nowrap}
.yms-badge.good{background:#e5f5ef;color:#087f68}.yms-badge.bad{background:#fcebed;color:#bc3949}.yms-badge.neutral{background:#fff3db;color:#9b6a0d}
.yms-card-message{font-size:.76cqw!important;color:#465c73!important;min-height:1.3cqw;line-height:1.35!important}
.yms-card-foot{display:flex;justify-content:space-between;gap:4px;font-size:.65cqw;color:#8997a8;margin-top:.4cqw;padding-top:.45cqw;border-top:1px solid #edf1f6}
.mini{padding:.8cqw .85cqw .55cqw}.mini .yms-card-head{min-height:2.25cqw}.mini .yms-card-head h2{font-size:.88cqw}.mini .yms-question{font-size:.66cqw!important;min-height:1.05cqw}.mini .yms-value{font-size:2.7cqw}.mini .yms-value-line{min-height:2.8cqw;gap:.2cqw}.mini .yms-badge{font-size:.59cqw;padding:.25cqw .35cqw}.mini .yms-card-message{font-size:.67cqw!important;min-height:1.8cqw}.mini .yms-unit{font-size:.7cqw}.mini .yms-card-foot{font-size:.58cqw}
.yms-foot{display:flex;align-items:center;gap:1.4cqw;font-size:.66cqw;color:#7c8b9b}.yms-foot>span{margin-left:auto}.yms-legend{display:flex;gap:1cqw}.yms-legend span{display:flex;align-items:center;gap:.3cqw}.yms-legend i{width:.42cqw;height:.42cqw;border-radius:50%;display:inline-block}
.yms-error{font-size:13px;color:#ab3c48;padding:0 20px}.yms-error:empty{display:none}
.yms dialog{max-width:620px;width:calc(100% - 32px);max-height:85vh;border:0;border-radius:16px;padding:30px;color:#253a50;background:white;font-size:15px;line-height:1.8}.yms dialog::backdrop{background:#10213799}.yms dialog h2{font-size:24px;margin:12px 0}.yms dialog p{margin:14px 0;line-height:1.8}.yms dialog .yms-brand{font-size:11px}.yms-dialog-close{float:right}.yms-thresholds{padding:15px!important;background:#f2f5f9!important;border-radius:8px}.yms dialog a{color:#2065bb}.yms-live-note{font-size:13px;color:#617388!important}
:host(:fullscreen){display:grid;place-items:center;background:#e8eef4}:host(:fullscreen)>.yms{max-width:min(100vw,177.777vh)}
/* Layout outside the component; restricted to the dashboard page. */
body.you-sentiment-page #content,body.you-sentiment-page .content-in,body.you-sentiment-page #main{width:100%;max-width:1800px;margin-inline:auto}
body.you-sentiment-page #main{float:none;padding:12px}body.you-sentiment-page #sidebar{display:none}body.you-sentiment-page .related-entries{display:none}
.yms-preview-label{font:12px/1.5 Arial,sans-serif;color:#62748a;padding:0 0 12px}
@container (max-width:1000px){
.yms-board{height:auto;min-height:0;padding:20px;display:flex;flex-direction:column;gap:18px}.yms-head h1{font-size:26px}.yms-brand{font-size:10px}.yms-subtitle{font-size:12px!important}.yms-tools button{font-size:12px}.yms-statusbar{padding:18px;gap:18px;flex-wrap:wrap}.yms-overall{min-width:145px;gap:12px;padding-right:18px}.yms-status-icon{width:40px;height:40px;font-size:25px}.yms-overall-label{font-size:11px}.yms-overall-value{font-size:28px}.yms-summary strong{font-size:14px}.yms-summary span{font-size:11px}.yms-meta{font-size:10px}.yms-section-title{height:auto;font-size:11px;margin-bottom:9px}.yms-main-grid,.yms-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;gap:12px;height:auto}.yms-card,.mini{padding:16px;min-height:208px}.yms-card-head,.mini .yms-card-head{min-height:38px}.yms-card-head h2,.mini .yms-card-head h2{font-size:16px}.yms-question,.mini .yms-question{font-size:11px!important;min-height:30px}.yms-value,.mini .yms-value{font-size:48px}.yms-value-line,.mini .yms-value-line{min-height:60px;gap:8px}.yms-unit,.mini .yms-unit{font-size:12px;margin-left:4px}.yms-badge,.mini .yms-badge{font-size:10px;padding:5px}.yms-card-message,.mini .yms-card-message{font-size:12px!important;min-height:30px}.yms-card-foot,.mini .yms-card-foot{font-size:10px;margin-top:7px;padding-top:7px}.yms button.yms-info{width:18px;height:18px;font-size:12px}.yms-foot{font-size:10px;flex-wrap:wrap;gap:8px}.yms-foot>span{margin:0}.yms-legend{gap:12px}.yms-legend i{width:6px;height:6px}.yms-legend span{gap:4px}}
@container (max-width:550px){.yms-board{padding:14px}.yms-main-grid,.yms-mini-grid{grid-template-columns:1fr}.yms-tools{gap:4px}.yms-tools button{padding:7px}.yms-subtitle{max-width:200px}.yms-head h1{font-size:23px}.yms-brand{font-size:8px}.yms-summary{flex-basis:100%}.yms-meta{text-align:left}.yms-card,.mini{min-height:200px}.yms-card-head,.mini .yms-card-head{min-height:24px}.yms-value,.mini .yms-value{font-size:58px}.yms-badge,.mini .yms-badge{font-size:12px}}
@container (min-width:1001px){.yms-board{padding:1.4cqw;gap:.8cqw;grid-template-rows:4cqw 4.5cqw minmax(0,1fr) 12.9cqw 1.4cqw}.yms-card[data-indicator=flows] .yms-value{font-size:3.1cqw}.yms-card[data-indicator=flows] .yms-unit{display:block;font-size:.7cqw;margin-top:.1cqw;letter-spacing:0}.yms-card[data-indicator=aaii] .yms-value{font-size:3.5cqw}}

.yms-statusbar[data-tone=good] .yms-overall-value{color:#65dcc0!important}.yms-statusbar[data-tone=bad] .yms-overall-value{color:#ff939e!important}.yms-statusbar[data-tone=missing] .yms-overall-value{color:#bec9d5!important}
