/* 角あつめメーカー 1.2 / Material Symbols: Apache License 2.0 */
.angle-sum-mover-root,.angle-sum-mover-root *{box-sizing:border-box;}
.angle-sum-mover-root{position:relative;width:100%;height:100dvh;min-height:400px;overflow:hidden;background:linear-gradient(135deg,#0ea5e9,#6366f1,#8b5cf6);font-family:"BIZ UDGothic",sans-serif;color:#1e3a5f;}
.angle-sum-mover-root [hidden]{display:none!important;}
.angle-sum-mover-root .asm-stage{position:absolute;inset:8px;background:#fff;border-radius:12px;touch-action:none;}
.angle-sum-mover-root #asm-svg{width:100%;height:100%;display:block;}
.angle-sum-mover-root .asm-origin-outline{fill:none;stroke:#1e3a5f;stroke-width:2;stroke-dasharray:7 6;opacity:.45;}
.angle-sum-mover-root .asm-piece-path{cursor:grab;fill-opacity:.88;}
.angle-sum-mover-root .asm-popover{position:fixed;z-index:1100;width:272px;padding:10px;border:1px solid #c8d3e3;border-radius:14px;background:#fff;box-shadow:0 6px 24px #13274240;}
.angle-sum-mover-root .asm-shape-cards{display:grid;grid-template-columns:1fr 1fr;gap:8px;}
.angle-sum-mover-root .asm-shape-cards button{display:flex;align-items:center;flex-direction:column;padding:8px;border:2px solid #d5dfed;background:#f3f6fc;border-radius:10px;cursor:pointer;font:700 15px sans-serif;color:#1e3a5f;}
.angle-sum-mover-root .asm-shape-cards svg{width:60px;height:60px;fill:#c6ddfc;stroke:#1e3a5f;stroke-width:3;}
.angle-sum-mover-root .asm-shape-cards .asm-active{border-color:#3379ce;background:#e1edff;}
body.admin-bar .angle-sum-mover-root{height:calc(100dvh - 32px);}
@media(max-width:782px){body.admin-bar .angle-sum-mover-root{height:calc(100dvh - 46px);}}
.angle-sum-mover-root:fullscreen{height:100dvh;}
/* 共通可変道具BOX v1.1.0 */
/* 移動・可変の道具BOX */
.angle-sum-mover-root.vtb-host .atb-toolbox{display:flex;position:fixed;right:16px;bottom:84px;width:244px;height:380px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 64px);padding:0;gap:0;align-items:stretch;flex-direction:column;background:#f5f7fc;border:2px solid #c8d3e3;border-radius:16px;box-shadow:0 6px 24px #13274240;overflow:hidden;z-index:1000;box-sizing:border-box;container-type:inline-size}
.angle-sum-mover-root.vtb-host .atb-toolbox-head{display:flex;flex-shrink:0;height:44px;background:var(--navy,#1e3a5f);color:white;align-items:center}
.angle-sum-mover-root.vtb-host .atb-toolbox-head button{border:0;background:transparent;color:white;height:44px;margin:0;padding:0 12px;font-family:inherit;font-size:16px;font-weight:bold;box-shadow:none;border-radius:0}
.angle-sum-mover-root.vtb-host .atb-toolbox-grip{flex:1;text-align:left;cursor:move;touch-action:none;user-select:none}
.angle-sum-mover-root.vtb-host .atb-toolbox-fold{width:40px;font-size:24px!important;cursor:pointer}
.angle-sum-mover-root.vtb-host .atb-toolbox-body{display:grid;grid-template-columns:repeat(auto-fit,minmax(94px,1fr));align-content:start;gap:8px;padding:10px 10px 24px;overflow:auto;min-height:0;flex:1}
.angle-sum-mover-root.vtb-host .atb-toolbox .atb-toolbar-group{display:contents;border-radius:0;box-shadow:none}
.angle-sum-mover-root.vtb-host .atb-toolbox-body button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:100%;height:68px;min-height:48px;margin:0;padding:6px;border:1px solid #d7dfeb;border-radius:12px;background:white;color:var(--navy,#1e3a5f);box-shadow:0 2px 4px #13274212;cursor:pointer;font-family:inherit}
.angle-sum-mover-root.vtb-host .atb-toolbox-body button.mode-on{background:var(--gold,#d4af37);border-color:var(--gold,#d4af37)}
.angle-sum-mover-root.vtb-host .atb-toolbox-body button:disabled{opacity:.35;cursor:default}
.angle-sum-mover-root.vtb-host .atb-toolbox-body .atb-tool-icon{width:26px;height:26px;flex-shrink:0}
.angle-sum-mover-root.vtb-host .atb-toolbox-body .atb-tool-label{font-size:13px;font-weight:bold;line-height:1.2;white-space:normal;text-align:center}
.angle-sum-mover-root.vtb-host .atb-toolbox-resize{position:absolute;right:0;bottom:0;width:26px;height:24px;border:0;background:#e4eaf4;color:var(--navy,#1e3a5f);font-size:20px;cursor:nwse-resize;touch-action:none;padding:0;margin:0}
.angle-sum-mover-root.vtb-host .atb-toolbox.atb-toolbox-compact .atb-toolbox-body{grid-template-columns:repeat(auto-fit,minmax(44px,1fr));padding:6px 6px 24px}
.angle-sum-mover-root.vtb-host .atb-toolbox.atb-toolbox-compact .atb-toolbox-body button{width:44px;height:44px;min-height:44px;border-radius:50%;justify-self:center;gap:0}
.angle-sum-mover-root.vtb-host .atb-toolbox.atb-toolbox-compact .atb-tool-label{display:none}
.angle-sum-mover-root.vtb-host .atb-toolbox.atb-toolbox-compact button:has(img[hidden]) .atb-tool-label{display:block;font-size:10px}
.angle-sum-mover-root.vtb-host .atb-toolbox-closed{height:44px!important;min-height:44px}
.angle-sum-mover-root.vtb-host .atb-toolbox-closed .atb-toolbox-body,
.angle-sum-mover-root.vtb-host .atb-toolbox-closed .atb-toolbox-resize{display:none}
.angle-sum-mover-root.vtb-host .atb-toolbox button:focus-visible{outline:3px solid #4d97ff;outline-offset:-3px}


.angle-sum-mover-root.vtb-host .atb-toolbox-layouts{display:flex;flex-shrink:0;gap:4px;padding:5px;background:#e7edf6}
.angle-sum-mover-root.vtb-host .atb-toolbox-layouts button{flex:1;min-width:0;height:32px;margin:0;padding:2px;border:1px solid #c7d2e3;border-radius:7px;background:white;color:var(--navy,#1e3a5f);font-family:inherit;font-size:12px;font-weight:bold;cursor:pointer}
.angle-sum-mover-root.vtb-host .atb-toolbox-layouts button[aria-pressed="true"]{background:var(--gold,#d4af37);border-color:var(--gold,#d4af37)}
.angle-sum-mover-root.vtb-host .atb-toolbox[data-layout] .atb-toolbox-body{grid-template-columns:repeat(var(--atb-tool-columns),minmax(0,1fr))}
.angle-sum-mover-root.vtb-host .atb-toolbox-closed .atb-toolbox-layouts{display:none}

/* 役割ごとの固定色。丸形・文字付きで共通。 */
.angle-sum-mover-root.vtb-host .atb-toolbox-body button{--tool-bg:#eef1f5;--tool-border:#cbd2dc;--tool-ink:#394657;--tool-active:#465568;background:var(--tool-bg);border-color:var(--tool-border);color:var(--tool-ink)}
.angle-sum-mover-root.vtb-host .atb-toolbox-body button[data-color="blue"]{--tool-bg:#e0edff;--tool-border:#9abce9;--tool-ink:#184d91;--tool-active:#245fa8}
.angle-sum-mover-root.vtb-host .atb-toolbox-body button[data-color="orange"]{--tool-bg:#ffead4;--tool-border:#e6b07a;--tool-ink:#8b420c;--tool-active:#a64c10}
.angle-sum-mover-root.vtb-host .atb-toolbox-body button[data-color="green"]{--tool-bg:#dcf2e5;--tool-border:#91c7a8;--tool-ink:#1d6342;--tool-active:#24734d}
.angle-sum-mover-root.vtb-host .atb-toolbox-body button[data-color="purple"]{--tool-bg:#ede4fb;--tool-border:#bda2df;--tool-ink:#654091;--tool-active:#7045a1}
.angle-sum-mover-root.vtb-host .atb-toolbox-body button[data-color="navy"]{--tool-bg:#e3eaf4;--tool-border:#9eafc7;--tool-ink:#1e3a5f;--tool-active:#1e3a5f}
.angle-sum-mover-root.vtb-host .atb-toolbox-body button:hover:not(:disabled){box-shadow:0 0 0 2px var(--tool-border)}
.angle-sum-mover-root.vtb-host .atb-toolbox-body button.mode-on{background:var(--tool-active);border-color:var(--tool-active);color:#fff;box-shadow:inset 0 0 0 2px #ffffff80}
.angle-sum-mover-root.vtb-host .atb-toolbox-body button.mode-on img.atb-tool-icon{filter:brightness(0) invert(1)}


.angle-sum-mover-root.vtb-host .atb-tool-icon{width:26px;height:26px;display:block;fill:currentColor}.angle-sum-mover-root.vtb-host .atb-toolbox-settings svg{fill:currentColor}

.angle-sum-mover-root.vtb-host .atb-toolbox [hidden]{display:none!important}
.angle-sum-mover-root.vtb-host .atb-toolbox-grip{font-size:15px!important;line-height:1.2!important;min-width:0;white-space:normal}
.angle-sum-mover-root.vtb-host .atb-toolbox-body>label,.angle-sum-mover-root.vtb-host .atb-toolbox-body>select,.angle-sum-mover-root.vtb-host .atb-toolbox-body>.tool-options,.angle-sum-mover-root.vtb-host .atb-toolbox-body>.tool-info{grid-column:1/-1;min-width:0;margin:0;padding:6px;position:static;transform:none;background:transparent;box-shadow:none}
.angle-sum-mover-root.vtb-host .atb-toolbox-body label{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:14px;color:#1e3a5f}
.angle-sum-mover-root.vtb-host .atb-toolbox-body select{min-width:0;max-width:100%;width:100%;height:44px;background:white;color:#1e3a5f;border:1px solid #c7d2e3;border-radius:8px;font-size:14px}
.angle-sum-mover-root.vtb-host .atb-toolbox-body .tool-options{display:flex;flex-direction:column;gap:8px}
.angle-sum-mover-root.vtb-host .atb-toolbox-body :is(.atb-toolbar-group,.piece-tools,nav){display:contents;position:static;transform:none;padding:0;background:none;box-shadow:none}
.angle-sum-mover-root.vtb-host .atb-toolbox-body button{border-radius:12px!important;font-size:14px;line-height:1.3!important}
.angle-sum-mover-root.vtb-host .atb-toolbox-body img.atb-tool-icon,.angle-sum-mover-root.vtb-host .atb-toolbox-body svg.atb-tool-icon{width:26px!important;height:26px!important;fill:currentColor;stroke:none;touch-action:auto}
.angle-sum-mover-root.vtb-host .atb-toolbox-head svg{width:24px!important;height:24px!important;fill:currentColor}
.angle-sum-mover-root.vtb-host .atb-toolbox-compact .atb-toolbox-body button{border-radius:50%!important}
.angle-sum-mover-root.vtb-host .atb-toolbox-body .tool-info{font-size:13px;text-align:center;color:#1e3a5f}
.angle-sum-mover-root.vtb-host .atb-toolbox-body [aria-pressed=true]{background:var(--tool-active,#245fa8);color:white}
@media print{.angle-sum-mover-root.vtb-host .atb-toolbox{display:none!important}}

.angle-sum-mover-root .atb-toolbox{bottom:16px;}
.angle-sum-mover-root .atb-toolbox-body button.asm-active{background:var(--tool-active);color:#fff;}
.angle-sum-mover-root .asm-scrub-row{grid-column:1/-1;padding:4px!important;}
.angle-sum-mover-root #asm-scrubber{width:100%;min-height:36px;accent-color:#245fa8;}
.angle-sum-mover-root .atb-toolbox-compact .atb-toolbox-grip{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}

.angle-sum-mover-root .asm-selected .asm-piece-path{stroke:#142f53;stroke-width:4;}


.angle-sum-mover-root .atb-toolbox-head .asm-header-auto{display:flex;align-items:center;justify-content:center;width:44px;min-width:44px;padding:6px;background:#dcf2e5;color:#1d6342;cursor:pointer;}
.angle-sum-mover-root .asm-header-auto .atb-tool-label{display:none;}
.angle-sum-mover-root .atb-toolbox-head .asm-header-auto svg{width:28px!important;height:28px!important;}

.angle-sum-mover-root .atb-toolbox-head .atb-toolbox-grip{padding:0 8px;font-size:13px!important;}
.angle-sum-mover-root .atb-toolbox-head button:not(.atb-toolbox-grip){width:36px;min-width:36px;padding:4px;}

/* 作業領域は全面。道具箱は上に重ねて自由に移動。 */
.angle-sum-mover-root .asm-stage{inset:0;border-radius:0;}

/* WordPressの本文幅から独立して画面全面へ表示。 */
.angle-sum-mover-root{position:fixed!important;inset:0!important;width:100vw!important;max-width:none!important;height:100dvh!important;min-height:0!important;margin:0!important;z-index:9990;}
body.admin-bar .angle-sum-mover-root{top:32px!important;height:calc(100dvh - 32px)!important;}
@media(max-width:782px){body.admin-bar .angle-sum-mover-root{top:46px!important;height:calc(100dvh - 46px)!important;}}
.angle-sum-mover-root:fullscreen{top:0!important;height:100dvh!important;}
