.mm-share-icon{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #4b6486;border-radius:7px;padding:7px 10px;background:#173964;color:#fff;font:inherit;font-size:12px;cursor:pointer}.mm-share-icon svg{width:16px;height:16px;flex:none}.mm-share-backdrop{position:fixed;inset:0;background:#0009;z-index:10000;display:flex;align-items:center;justify-content:center;padding:14px}.mm-share-dialog{box-sizing:border-box;width:100%;max-width:460px;max-height:88dvh;overflow:auto;overscroll-behavior:contain;background:#171d27;color:#e6edf7;border:1px solid #394556;border-radius:12px;padding:20px;font:12px/1.6 var(--font-primary,Pretendard,system-ui,sans-serif);box-shadow:0 20px 80px #0006}.mm-share-dialog *{box-sizing:border-box;font-family:inherit}.mm-share-dialog h2{font-size:17px;margin:0 0 4px}.mm-share-title{color:#9eacc0;margin:0 0 14px}.mm-share-dialog label,.mm-share-dialog legend,.mm-share-dialog input,.mm-share-dialog button,.mm-share-dialog summary{font-size:12px;font-weight:400}.mm-share-dialog fieldset{margin:0 0 12px;padding:8px 12px;border:1px solid #394556;border-radius:6px}.mm-share-dialog fieldset label{display:flex;align-items:center;gap:7px;margin:4px 0}.mm-share-dialog input:not([type=checkbox]){min-width:0;width:100%;height:36px;border:1px solid #465166;border-radius:6px;background:#111721;color:#edf3fc;padding:7px 9px;font:inherit;color-scheme:dark}.mm-share-dialog input:disabled{opacity:.5}.mm-share-field{display:block;margin:9px 0}.mm-share-field>span{display:block;color:#b4c0d3;margin-bottom:4px}.mm-share-field>.mm-share-hours{display:flex;align-items:center;gap:7px}.mm-share-hours input{flex:1}.mm-share-dialog button{cursor:pointer;min-height:30px;background:#263348;border:1px solid #42516a;border-radius:5px;color:#e6edf7;padding:4px 10px;white-space:nowrap}.mm-share-dialog button:disabled{opacity:.45;cursor:default}.mm-share-actions{display:flex;gap:8px;margin-top:14px}.mm-share-actions button{flex:1;min-height:36px}.mm-share-actions .mm-share-primary{background:#1e5a9e;border-color:#347cc9;font-weight:600}.mm-share-status{margin:8px 0 0;min-height:18px;color:#eab881;overflow-wrap:anywhere}.mm-share-dialog details{border-top:1px solid #394556;margin-top:10px;padding-top:8px}.mm-share-dialog summary{cursor:pointer;color:#c3d4ed;padding:3px 0}.mm-share-history-row{padding:9px 0;border-bottom:1px solid #303c4d}.mm-share-history-row input{font-size:11px!important;margin:5px 0}.mm-share-history-row small{display:block;color:#a7b4c9;font-size:11px}.mm-share-history-actions{display:flex;justify-content:flex-end;gap:6px;margin-top:5px}.mm-share-history-note{color:#9eacc0;margin:8px 0 0}.mm-share-close{float:right}.mm-share-delivery{white-space:pre-wrap;width:100%;min-height:150px;background:#10151e;color:inherit;border:1px solid #394556;padding:8px;font:inherit}.mm-library-card{border:1px solid var(--card-line);border-radius:12px;overflow:hidden;background:var(--card-bg)}.mm-library-preview{position:relative;height:180px;min-height:180px;flex:0 0 180px;overflow:hidden;background:#0f131a;border-bottom:1px solid var(--card-line)}.mm-library-preview iframe{position:absolute;left:0;top:0;border:0;width:1200px;height:900px;transform-origin:top left;pointer-events:none;background:#fff}.mm-library-card>a{border:0!important;border-radius:0!important;height:auto!important}.mm-library-actions{display:flex;justify-content:flex-end;gap:8px;padding:0 16px 14px}.mm-library-actions a{display:inline-flex!important;padding:6px 12px!important;border:1px solid var(--card-line)!important;font-size:12px;background:transparent!important}.mm-share-section-row{display:flex;align-items:center;gap:7px}.mm-share-section-row input{accent-color:#428ad9}@media(max-width:480px){.mm-share-dialog{padding:16px;max-height:91dvh}}@media print{.mm-share-icon,.mm-share-backdrop{display:none!important}}

.mm-share-title-icon{display:inline-flex;flex:0 0 24px;align-items:center;justify-content:center;vertical-align:middle;width:24px;height:24px;margin-left:6px;padding:3px;border:0;border-radius:4px;background:transparent;color:#929aa7;cursor:pointer}.mm-share-title-icon svg{display:block;width:18px;height:18px}.mm-share-title-icon:hover{background:#929aa714;color:#5a6371}.mm-share-title-icon:focus-visible{outline:1px solid #929aa7;outline-offset:2px}@media print{.mm-share-title-icon{display:none!important}}
.mm-share-status.mm-share-loading{display:flex;align-items:center;gap:8px;padding:0;border:0;background:none;box-shadow:none;color:inherit;font-size:12px}.mm-share-loading::before{content:"";display:inline-block;flex:0 0 12px;width:12px;height:12px;box-sizing:border-box;border:1.5px solid currentColor;border-right-color:transparent;border-radius:50%;animation:mm-link-spin .75s linear infinite}@keyframes mm-link-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.mm-share-loading::before{animation:none}}

.mm-preview-status{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:16px;text-align:center;color:#9ca3af;font-size:12px}.mm-preview-status[hidden]{display:none!important}.mm-preview-status button{font:inherit;color:inherit;background:transparent;border:1px solid #485161;border-radius:5px;padding:5px 10px;cursor:pointer}
.mm-share-open-list{display:grid;gap:5px;margin-top:9px;color:#b4c0d3;font-size:11px}.mm-share-open-list ol{max-height:110px;overflow:auto;margin:0;padding:0 0 0 22px}.mm-share-open-list li{padding:2px 0}.mm-share-open-list span{color:#8d98a9}
.mm-library-preview .mm-preview-image{display:block;width:100%;height:auto;min-height:100%;object-fit:cover;object-position:center top;background:#fff}
.mm-share-dialog [hidden]{display:none!important}
.mm-share-dialog{font-family:"Pretendard Variable",Pretendard,system-ui,sans-serif}
.mm-share-dialog textarea[name=shareTitle]{display:block;width:100%;min-height:54px;resize:vertical;border:1px solid #465166;border-radius:6px;background:#111721;color:#edf3fc;padding:7px 9px;font:inherit;font-size:12px;line-height:1.55;color-scheme:dark}
.mm-share-history-row b{white-space:pre-line}
.mm-share-card span{word-break:keep-all}
.mm-share-card-set{padding:8px!important}
.mm-share-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:92%}
.mm-share-card{position:relative;display:block!important;margin:0!important;border:2px solid #394556;border-radius:8px;overflow:hidden;cursor:pointer;background:#111721}
.mm-share-card:has(input:checked){border-color:#69a9ed;box-shadow:0 0 0 1px #69a9ed}
.mm-share-card input[type=radio]{position:absolute;top:5px;left:5px;z-index:1;width:16px!important;height:16px!important;margin:0;accent-color:#347cc9}
.mm-share-card img{display:block;width:100%;aspect-ratio:1200/630;object-fit:cover}
.mm-share-card span{display:block;padding:3px 5px;font-size:11px;text-align:center}
.mm-share-preview{margin:0 0 12px;padding:10px 12px;border:1px solid #394556;border-radius:8px}
.mm-share-preview-label{display:block;margin-bottom:8px;color:#b4c0d3;font-size:12px;font-weight:600}
.mm-share-preview-card{width:100%;max-width:280px;overflow:hidden;border-radius:6px;background:#fff;color:#111;box-shadow:0 1px 4px #0002}
.mm-share-preview-card>img{display:block;width:100%;aspect-ratio:1200/630;object-fit:cover;background:#eaf1fa}
.mm-share-preview-content{padding:9px 10px 10px;font-family:"Pretendard Variable",Pretendard,system-ui,sans-serif}
.mm-share-preview-content b{display:block;white-space:pre-line;overflow-wrap:anywhere;font-size:14px;font-weight:700;line-height:1.3}
.mm-share-preview-content p{margin:6px 0 4px;white-space:pre-line;overflow-wrap:anywhere;color:#646b75;font-size:12px;line-height:1.4}
.mm-share-preview-content>span{color:#2875c5;font-size:11px;text-decoration:underline}
.mm-share-preview small{display:block;margin-top:6px;color:#9eacc0;font-size:10px;line-height:1.4}
.mm-share-option-row{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:34px;margin:8px 0;color:#b4c0d3}
.mm-share-switch-wrap{display:inline-flex;align-items:center;gap:8px}
.mm-share-switch{position:relative;width:38px;height:22px!important;min-height:22px!important;border:0!important;border-radius:20px!important;padding:0!important;background:#465166!important}
.mm-share-switch i{display:block;position:absolute;top:2px;left:2px;width:18px;height:18px;border-radius:50%;background:#fff;transition:transform .15s}
.mm-share-switch[aria-checked=true]{background:#347cc9!important}.mm-share-switch[aria-checked=true] i{transform:translateX(16px)}
.mm-share-period{display:inline-flex;gap:2px;padding:2px;border-radius:8px;background:#263348}
.mm-share-period label{position:relative;cursor:pointer}.mm-share-period input[type=radio]{position:absolute;opacity:0;width:1px!important;height:1px!important}
.mm-share-period label span{display:block;padding:4px 9px;border-radius:6px;color:#b4c0d3}.mm-share-period input:checked+span{background:#e6edf7;color:#172331;font-weight:700}.mm-share-period input:focus-visible+span{outline:2px solid #69a9ed}
.mm-share-pages{margin:6px 0!important}.mm-share-pages>div{padding:7px 0}.mm-share-pages input[type=checkbox]{accent-color:#428ad9}
.mm-share-dialog .mm-share-primary{display:block;width:100%;min-height:38px;margin-top:12px;background:#1e5a9e;border-color:#347cc9;font-weight:700}
.mm-share-result{display:flex;align-items:center;gap:5px;min-height:55px;margin-top:8px;padding:9px;border:1px dashed #465166;border-radius:8px;color:#9eacc0;text-align:center;justify-content:center}.mm-share-result input{flex:1;font-size:11px!important}.mm-share-result button{flex:none}
.mm-share-result:has(.mm-share-generated-password){flex-wrap:wrap}.mm-share-generated-password{width:100%;color:#e8edf7;text-align:left;font-size:13px}.mm-share-generated-password b{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.08em}.mm-share-password{margin:2px 0 8px;color:#aab9cd;font-size:12px}.mm-share-password[hidden]{display:none}
.mm-share-generated-password{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.mm-share-generated-password button{min-height:28px;font-size:11px;font-weight:600}
.mm-share-generated-password small{width:100%;color:#a7b4c9;font-size:11px}
.mm-share-history-row>b{display:block;font-size:12px}.mm-share-history-row .mm-share-open-list b,.mm-share-history-row .mm-share-open-list span{font-size:11px;color:#a7b4c9}
@media(max-width:640px){.mm-library-card{display:grid;grid-template-columns:minmax(0,1fr) 120px;align-items:start}.mm-library-card>.mm-library-preview{grid-column:2;grid-row:1;width:108px;height:81px;min-height:81px;margin:14px 12px 10px 0;border:1px solid var(--card-line);border-radius:5px;flex:none}.mm-library-preview .mm-preview-image{height:100%;min-height:0;object-fit:contain}.mm-library-card>a{grid-column:1;grid-row:1;min-width:0;padding:14px 10px 12px 14px!important}.mm-library-card .r-org{font-size:15px}.mm-library-card .r-title{font-size:12px;overflow-wrap:anywhere}.mm-library-card .r-foot{padding-top:12px}.mm-library-card .r-date{font-size:10px}.mm-library-card>.mm-library-actions{grid-column:1/-1;padding:0 12px 12px}.mm-library-preview .mm-preview-status{padding:5px;gap:4px;font-size:10px}.mm-library-preview .mm-preview-status button{padding:2px 4px;font-size:9px}}


.mm-share-dialog{max-width:830px;max-height:calc(100dvh - 24px);padding:18px 20px}
.mm-share-columns{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:18px;align-items:stretch}
.mm-share-column{min-width:0}.mm-share-column-right{display:flex;flex-direction:column;border-left:1px solid #394556;padding-left:18px}
.mm-share-column .mm-share-field:first-child{margin-top:0}
.mm-share-column .mm-share-preview{margin-bottom:4px}
/* 카카오톡 대화 배경 위에 전송 메시지와 링크 카드를 함께 축소해 표시한다. */
.mm-share-chat-preview{display:flex;flex-direction:column;align-items:flex-end;gap:5px;width:206px;max-width:100%;padding:8px;border-radius:6px;background:#bbcede}
.mm-share-chat-message{position:relative;min-width:0;width:180px;max-width:100%;padding:6px;border-radius:4px 4px 2px 4px;background:#fee500;color:#232323;font:9px/1.35 "Pretendard Variable",Pretendard,system-ui,sans-serif;overflow-wrap:anywhere;user-select:text}
.mm-share-chat-message::after{content:"";position:absolute;top:0;right:-4px;border-top:6px solid #fee500;border-right:4px solid transparent}
.mm-share-chat-message span{display:block}.mm-share-chat-message span[hidden]{display:none}
.mm-share-column .mm-share-preview-card{width:180px;max-width:100%;height:171px;aspect-ratio:345/329;display:flex;flex-direction:column}
.mm-share-column .mm-share-preview-card>img{flex:0 0 52.6%;height:52.6%;aspect-ratio:auto;object-fit:cover}
.mm-share-column .mm-share-preview-content{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding:5px 7px}
.mm-share-column .mm-share-preview-content b{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:9px;line-height:1.2}
.mm-share-column .mm-share-preview-content p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:2px 0 1px;font-size:7px;line-height:1.25}
.mm-share-column .mm-share-preview-content>span{overflow:hidden;margin-top:auto;font-size:6px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}
.mm-share-preview-content strong[data-mm-preview-password]{display:block;margin:5px 0;color:#515866;font-size:12px;font-weight:600;line-height:1.3}.mm-share-column .mm-share-preview-content strong[data-mm-preview-password]{overflow:hidden;margin:1px 0;font-size:8px;line-height:1.25;white-space:nowrap;text-overflow:ellipsis}
.mm-share-preview-content strong[data-mm-preview-password][hidden]{display:none}
.mm-share-column-right>.mm-share-history{display:flex;flex:1;flex-direction:column;min-height:180px;min-width:0;margin-top:14px;padding-top:8px;border-top:1px solid #394556}.mm-share-history>h3{flex:none;margin:0 0 6px;color:#c3d4ed;font-size:12px;font-weight:600}.mm-share-history>[data-mm-history]{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.mm-share-history>.mm-share-history-actions{flex:none;padding-top:4px}
.mm-share-history-row .mm-share-remaining{color:#9fc3ee;font-variant-numeric:tabular-nums}.mm-share-history-row .mm-share-renewals{margin:4px 0 7px;padding:0;border:0}.mm-share-history-row .mm-share-renewals>summary{font-size:11px;color:#a7b4c9}.mm-share-history-row .mm-share-renewals ol{margin:4px 0 0;padding-left:19px;color:#a7b4c9;font-size:10px;line-height:1.5}
@media(max-width:700px){.mm-share-dialog{max-width:460px;max-height:92dvh;padding:16px}.mm-share-columns{display:block}.mm-share-column-right{border-left:0;border-top:1px solid #394556;padding:12px 0 0}.mm-share-column-right>.mm-share-history{min-height:0;max-height:240px}.mm-share-history>[data-mm-history]{max-height:190px}}
.mm-share-result:has(.mm-share-send-row){flex-wrap:wrap}
.mm-share-send-row{display:grid;grid-template-columns:1fr 1fr;gap:6px;width:100%}
.mm-share-send-row button{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;min-height:32px;font-size:12px;font-weight:700}
.mm-share-send-row .mm-share-kakao{background:#fee500;border-color:#fee500;color:#191919}
.mm-share-send-row .mm-share-kakao:hover{background:#f5dc00;border-color:#f5dc00}
.mm-share-kakao svg{flex:none;width:16px;height:16px;fill:currentColor}
.mm-share-send-row .mm-share-kakao-switch{grid-column:1/-1;justify-self:end;width:auto;min-height:0;padding:2px 4px;background:none;border:0;color:#9eacc0;font-size:11px;font-weight:600;text-decoration:underline;text-underline-offset:2px}
.mm-share-send-row .mm-share-kakao-switch:hover{color:#e8edf7;background:none}
