.sv2k-wrap{max-width:1180px}.sv2k-version{color:#50575e}.sv2k-warning{margin:16px 0!important}.sv2k-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:18px 0}.sv2k-card{background:#fff;border:1px solid #dcdcde;border-radius:10px;padding:20px;box-sizing:border-box;margin:18px 0}.sv2k-grid .sv2k-card{margin:0}.sv2k-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.sv2k-badge{display:inline-block;background:#646970;color:#fff;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:700;letter-spacing:.04em}.sv2k-badge.is-unlocked{background:#008a20}.sv2k-card h2{margin-top:10px}.sv2k-card label{display:block;font-weight:600;margin:12px 0 5px}.sv2k-card input[type=password],.sv2k-card input[type=text]{width:100%;max-width:680px}.sv2k-card .button-primary{margin-top:14px}.sv2k-status{padding:12px 14px;background:#f6f7f7;border-left:4px solid #2271b1;margin-top:14px}.sv2k-status[data-type=success],.description[data-type=success]{color:#008a20}.sv2k-status[data-type=error],.description[data-type=error]{color:#b32d2e}.sv2k-status[data-type=warning]{border-left-color:#dba617}.sv2k-output{white-space:pre-wrap;word-break:break-word;background:#111827;color:#e5e7eb;border-radius:8px;padding:14px;min-height:70px;max-height:360px;overflow:auto}.sv2k-gate ul{list-style:disc;padding-left:24px}@media(max-width:800px){.sv2k-grid{grid-template-columns:1fr}.sv2k-head{display:block}.sv2k-head .button{margin-top:12px}}

/* v0.8.0 Product UI base */
:root{
    --sv2-bg:#08111f;
    --sv2-bg-deep:#050b14;
    --sv2-panel:#0d1828;
    --sv2-panel-2:#111f32;
    --sv2-line:#26364a;
    --sv2-line-soft:#1a2a3e;
    --sv2-text:#f3f6f9;
    --sv2-muted:#95a5b9;
    --sv2-silver:#d4dbe3;
    --sv2-silver-dark:#8d99a8;
    --sv2-accent:#b8c5d5;
    --sv2-success:#4ba979;
    --sv2-warning:#d5a64c;
    --sv2-danger:#d55e64;
    --sv2-shadow:0 24px 70px rgba(0,0,0,.38);
}
html:has(.sv2-product-body){background:var(--sv2-bg-deep)}
body.sv2-product-body{
    margin:0;
    min-height:100vh;
    background:
        radial-gradient(circle at 50% -10%,rgba(72,96,128,.18),transparent 34rem),
        linear-gradient(180deg,var(--sv2-bg) 0%,var(--sv2-bg-deep) 100%);
    color:var(--sv2-text);
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
    -webkit-font-smoothing:antialiased;
}
.sv2-product-body *{box-sizing:border-box}
.sv2-product-body button,.sv2-product-body input{font:inherit}
.sv2-product-body button{touch-action:manipulation}
.sv2-product-shell{
    width:min(100%,1120px);
    min-height:100vh;
    margin:0 auto;
    padding:max(28px,env(safe-area-inset-top)) clamp(18px,4vw,44px) max(24px,env(safe-area-inset-bottom));
    display:flex;
    flex-direction:column;
}
.sv2-product-gate{
    position:relative;
    width:min(100%,520px);
    margin:auto;
    padding:42px clamp(22px,5vw,44px) 34px;
    border:1px solid rgba(177,194,214,.16);
    border-radius:28px;
    background:linear-gradient(180deg,rgba(17,31,50,.88),rgba(8,17,31,.92));
    box-shadow:var(--sv2-shadow),inset 0 1px rgba(255,255,255,.035);
    text-align:center;
    backdrop-filter:blur(18px);
}
.sv2-product-dev-pill{
    position:absolute;
    top:18px;
    right:18px;
    padding:5px 9px;
    border:1px solid rgba(184,197,213,.22);
    border-radius:999px;
    color:var(--sv2-muted);
    font-size:11px;
    letter-spacing:.06em;
}
.sv2-product-logo-wrap{
    width:124px;
    height:124px;
    margin:10px auto 22px;
    border-radius:30px;
    box-shadow:0 18px 38px rgba(0,0,0,.32);
    overflow:hidden;
}
.sv2-product-logo{display:block;width:100%;height:100%;object-fit:contain}
.sv2-product-gate h1{
    margin:0;
    color:var(--sv2-text);
    font-size:clamp(21px,6vw,32px);
    line-height:1.16;
    letter-spacing:.005em;
    font-weight:650;
    white-space:nowrap;
}
.sv2-product-tagline{
    margin:13px 0 30px;
    color:var(--sv2-muted);
    font-size:15px;
    line-height:1.8;
}
.sv2-product-lead{color:var(--sv2-muted);font-size:14px;line-height:1.7}
.sv2-product-primary,.sv2-product-submit,.sv2-product-add{
    border:1px solid #b8c2ce;
    border-radius:14px;
    background:linear-gradient(180deg,#dfe5eb,#aeb9c6);
    color:#09111d;
    font-weight:750;
    text-decoration:none;
    cursor:pointer;
    box-shadow:0 8px 22px rgba(0,0,0,.25),inset 0 1px rgba(255,255,255,.7);
}
.sv2-product-primary{
    display:flex;
    width:100%;
    min-height:56px;
    align-items:center;
    justify-content:center;
    padding:13px 20px;
    font-size:16px;
}
.sv2-product-primary:hover,.sv2-product-submit:hover{filter:brightness(1.05)}
.sv2-product-primary:disabled,.sv2-product-submit:disabled{cursor:wait;opacity:.72}
.sv2-product-submit.is-complete:disabled{cursor:default;opacity:1;filter:none}
.sv2-product-primary.is-complete:disabled{cursor:default;opacity:1;filter:none}
.sv2-product-primary.is-stopped:disabled{cursor:default;opacity:.78;filter:none}
.sv2-product-micro{
    min-height:18px;
    margin:12px 0 0;
    color:var(--sv2-muted);
    font-size:12px;
}
.sv2-product-micro[data-type=success]{color:#7fc8a3}
.sv2-product-micro[data-type=warning]{color:#e5bd70}
.sv2-product-micro[data-type=error]{color:#ee8d91}
.sv2-product-trust{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:8px 14px;
    margin-top:24px;
    color:#73859a;
    font-size:11px;
}
.sv2-product-trust span{position:relative;padding-left:12px}
.sv2-product-trust span:before{
    content:"";
    position:absolute;
    left:0;
    top:.55em;
    width:4px;
    height:4px;
    border-radius:50%;
    background:#7c8da0;
}
.sv2-product-alert{
    margin:20px 0;
    padding:14px 16px;
    border:1px solid var(--sv2-line);
    border-radius:12px;
    background:rgba(255,255,255,.03);
    color:var(--sv2-muted);
    font-size:13px;
    line-height:1.6;
}
.sv2-product-alert.is-error{border-color:rgba(213,94,100,.4);color:#f0a3a7}

.sv2-product-panel{
    width:min(100%,620px);
    margin:auto;
    padding:clamp(24px,5vw,38px);
    border:1px solid rgba(177,194,214,.16);
    border-radius:26px;
    background:linear-gradient(180deg,rgba(17,31,50,.94),rgba(8,17,31,.97));
    box-shadow:var(--sv2-shadow);
}
.sv2-product-back{
    appearance:none;
    border:0;
    background:transparent;
    color:var(--sv2-muted);
    padding:0;
    margin:0 0 24px;
    cursor:pointer;
    font-weight:650;
}
.sv2-product-panel-head{display:flex;align-items:center;gap:16px;margin-bottom:26px}
.sv2-product-logo-small{width:64px;height:64px;border-radius:16px;box-shadow:0 10px 24px rgba(0,0,0,.28)}
.sv2-product-eyebrow{
    margin:0 0 5px;
    color:#8193a8;
    font-size:11px;
    font-weight:750;
    letter-spacing:.12em;
    text-transform:uppercase;
}
.sv2-product-panel h2,.sv2-product-home h2{margin:0;color:var(--sv2-text);font-size:clamp(22px,5vw,30px);line-height:1.3}
.sv2-product-methods{display:grid;gap:10px}
.sv2-product-method{
    width:100%;
    min-height:72px;
    display:flex;
    align-items:center;
    gap:14px;
    padding:13px 15px;
    border:1px solid var(--sv2-line);
    border-radius:15px;
    background:var(--sv2-panel-2);
    color:var(--sv2-text);
    text-align:left;
    cursor:pointer;
    transition:border-color .15s ease,transform .15s ease,background .15s ease;
}
.sv2-product-method:not(:disabled):hover{border-color:#586d85;background:#14253b;transform:translateY(-1px)}
.sv2-product-method.is-disabled,.sv2-product-method:disabled{opacity:.42;cursor:not-allowed}
.sv2-product-method-icon{
    flex:0 0 42px;
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    border:1px solid #42546a;
    border-radius:12px;
    color:var(--sv2-silver);
    font-weight:800;
    background:#0a1524;
}
.sv2-product-method strong{display:block;font-size:14px}
.sv2-product-method small{display:block;margin-top:4px;color:var(--sv2-muted);font-size:11px;line-height:1.4}
.sv2-product-inline-form{
    margin-top:16px;
    padding:16px;
    border:1px solid var(--sv2-line);
    border-radius:15px;
    background:#091423;
}
.sv2-product-inline-form label{display:block;margin-bottom:8px;color:var(--sv2-silver);font-size:12px;font-weight:700}
.sv2-product-login-account input{
    width:100%;
    min-height:48px;
    padding:11px 13px;
    border:1px solid #3a4b60;
    border-radius:11px;
    outline:none;
    background:#06101d;
    color:var(--sv2-text);
    font:inherit;
}
.sv2-product-login-account input:focus{border-color:#7f91a5;box-shadow:0 0 0 3px rgba(127,145,165,.10)}
.sv2-product-login-account small{display:block;margin-top:8px;color:var(--sv2-muted);font-size:10px;line-height:1.55}
.sv2-product-field-row{display:flex;gap:9px}
.sv2-product-field-row input{
    min-width:0;
    flex:1 1 auto;
    min-height:48px;
    padding:11px 13px;
    border:1px solid #3a4b60;
    border-radius:11px;
    outline:none;
    background:#06101d;
    color:var(--sv2-text);
}
.sv2-product-field-row input:focus{border-color:#8998aa;box-shadow:0 0 0 3px rgba(137,152,170,.12)}
.sv2-product-submit{flex:0 0 auto;min-width:84px;padding:10px 16px}
.sv2-product-message{
    min-height:20px;
    margin-top:16px;
    color:var(--sv2-muted);
    font-size:12px;
    line-height:1.6;
}
.sv2-product-message[data-type=success]{color:#7fc8a3}
.sv2-product-message[data-type=warning]{color:#e5bd70}
.sv2-product-message[data-type=error]{color:#ee8d91}

.sv2-product-home{width:100%;margin:auto 0}
.sv2-product-topbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    padding:12px 0 24px;
    border-bottom:1px solid var(--sv2-line-soft);
}
.sv2-product-brand{display:flex;align-items:center;gap:11px;font-weight:760}
.sv2-product-brand small{display:block;margin-top:2px;color:#71b895;font-size:10px;font-weight:650}
.sv2-product-logo-mini{width:44px;height:44px;border-radius:12px}
.sv2-product-lock{
    min-height:40px;
    padding:8px 13px;
    border:1px solid #34465b;
    border-radius:11px;
    background:#0d1928;
    color:var(--sv2-silver);
    cursor:pointer;
}
.sv2-product-welcome{
    margin-top:30px;
    padding:clamp(24px,4vw,34px);
    border:1px solid var(--sv2-line-soft);
    border-radius:22px;
    background:linear-gradient(135deg,#101e30,#0a1524);
}
.sv2-product-welcome>p:not(.sv2-product-eyebrow){max-width:700px;margin:10px 0 20px;color:var(--sv2-muted);font-size:13px;line-height:1.75}
.sv2-product-add{
    min-height:48px;
    padding:11px 17px;
    cursor:pointer;
    transition:transform .15s ease,box-shadow .15s ease,filter .15s ease;
}
.sv2-product-add:hover{transform:translateY(-1px);filter:brightness(1.04);box-shadow:0 10px 24px rgba(0,0,0,.16)}
.sv2-product-add span{
    display:inline-block;
    margin-left:7px;
    padding:2px 6px;
    border-radius:999px;
    background:rgba(9,17,29,.12);
    font-size:10px;
}
.sv2-product-home-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
    margin-top:14px;
}
.sv2-product-tile{
    min-height:150px;
    padding:20px;
    border:1px solid var(--sv2-line-soft);
    border-radius:18px;
    background:var(--sv2-panel);
    color:var(--sv2-text);
    text-align:left;
    opacity:1;
}
.sv2-product-tile{cursor:pointer;transition:transform .15s ease,border-color .15s ease,background .15s ease}
.sv2-product-tile:hover{transform:translateY(-2px);border-color:#425972;background:#102036}
.sv2-product-tile-mark{
    display:inline-block;
    margin-bottom:26px;
    padding:4px 8px;
    border:1px solid #33475e;
    border-radius:999px;
    color:#8fa2b8;
    font-size:10px;
    font-weight:750;
}
.sv2-product-tile strong{display:block;font-size:15px}
.sv2-product-tile small{display:block;margin-top:6px;color:var(--sv2-muted);font-size:11px;line-height:1.5}
.sv2-product-security-card{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    margin-top:14px;
    padding:18px 20px;
    border:1px solid var(--sv2-line-soft);
    border-radius:18px;
    background:#0b1726;
}
.sv2-product-security-card strong{display:block;font-size:13px}
.sv2-product-security-card small{display:block;margin-top:4px;color:var(--sv2-muted);font-size:11px}
.sv2-product-security-dot{
    width:10px;
    height:10px;
    border-radius:50%;
    background:var(--sv2-success);
    box-shadow:0 0 0 6px rgba(75,169,121,.10);
}
.sv2-product-footer{
    margin-top:auto;
    padding-top:26px;
    display:flex;
    justify-content:center;
    gap:16px;
    color:#53657a;
    font-size:10px;
}
.sv2-product-footer a{color:#667b92;text-decoration:none}
.sv2-product-footer a:hover{color:#9eacbb}
.sv2-product-compat{display:none!important}


.sv2-product-section{width:100%;margin:auto 0}
.sv2-product-section-nav{padding:22px 0 0}
.sv2-product-section-back{
    appearance:none;border:0;background:transparent;color:#90a1b5;padding:0;cursor:pointer;font-weight:700
}
.sv2-product-section-back:hover{color:#d6dde5}
.sv2-product-section-head{margin-top:22px;padding:26px 28px;border:1px solid var(--sv2-line-soft);border-radius:20px;background:linear-gradient(135deg,#101e30,#0a1524)}
.sv2-product-section-head h2{margin:0;color:var(--sv2-text);font-size:clamp(24px,4vw,32px);line-height:1.3}
.sv2-product-section-head>p:not(.sv2-product-eyebrow){max-width:760px;margin:10px 0 0;color:var(--sv2-muted);font-size:13px;line-height:1.75}
.sv2-product-section-content{margin-top:14px}
.sv2-product-empty{min-height:300px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:34px;border:1px solid var(--sv2-line-soft);border-radius:20px;background:var(--sv2-panel)}
.sv2-product-empty-icon{width:54px;height:54px;display:grid;place-items:center;border:1px solid #344b64;border-radius:16px;background:#091523;color:#90a0b1;font-size:12px;font-weight:800;margin-bottom:18px}
.sv2-product-empty strong{font-size:18px}
.sv2-product-empty p{max-width:520px;margin:8px 0 18px;color:var(--sv2-muted);font-size:12px;line-height:1.7}
.sv2-product-secondary,.sv2-product-primary{min-height:46px;padding:10px 16px;border:1px solid #40556e;border-radius:12px;background:#13263c;color:#e9eef4;cursor:pointer;font-weight:700}
.sv2-product-primary{background:linear-gradient(180deg,#d9e0e7,#b7c2cd);border-color:#cbd4dd;color:#101722}
.sv2-product-primary.is-preview:disabled{opacity:.52;cursor:not-allowed}
.sv2-product-register-layout{display:grid;grid-template-columns:minmax(260px,360px) minmax(0,1fr);gap:14px}
.sv2-product-register-picker,.sv2-product-register-fields{padding:20px;border:1px solid var(--sv2-line-soft);border-radius:18px;background:var(--sv2-panel)}
.sv2-product-register-picker>label{display:block;margin-bottom:10px;font-size:13px;font-weight:760}
.sv2-product-search-wrap input{width:100%;min-height:46px;padding:10px 12px;border:1px solid #354b64;border-radius:11px;background:#07111e;color:var(--sv2-text);outline:none}
.sv2-product-search-wrap input:focus{border-color:#7f91a5;box-shadow:0 0 0 3px rgba(127,145,165,.10)}
.sv2-product-type-list{display:grid;gap:14px;margin-top:16px;max-height:520px;overflow:auto;padding-right:3px}
.sv2-product-type-group>span{display:block;margin:0 0 7px;color:#74869b;font-size:10px;font-weight:800;letter-spacing:.08em}
.sv2-product-type-group button{width:100%;display:block;padding:10px 11px;margin-top:6px;border:1px solid #253a52;border-radius:10px;background:#0b1828;color:#dce3ea;text-align:left;cursor:pointer}
.sv2-product-type-group button:hover,.sv2-product-type-group button.is-selected{border-color:#607893;background:#13283f}
.sv2-product-register-placeholder{min-height:230px;display:grid;place-items:center;text-align:center;color:var(--sv2-muted);font-size:12px}
.sv2-product-selected-type{padding:14px 15px;margin-bottom:15px;border:1px solid #354a60;border-radius:12px;background:#0a1727}
.sv2-product-selected-type>span{display:block;color:#778a9f;font-size:9px;font-weight:800;letter-spacing:.08em}
.sv2-product-selected-type strong{display:block;margin-top:3px;font-size:17px}
.sv2-product-selected-type small{display:block;margin-top:5px;color:var(--sv2-muted);font-size:10px}
.sv2-product-preview-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.sv2-product-preview-fields label{display:block}
.sv2-product-preview-fields label:last-child:nth-child(odd){grid-column:1/-1}
.sv2-product-preview-fields span{display:block;margin-bottom:6px;color:#aeb9c5;font-size:10px;font-weight:700}
.sv2-product-preview-fields input,.sv2-product-preview-fields textarea,.sv2-product-preview-fields select{width:100%;min-height:42px;padding:9px 10px;border:1px solid #273c54;border-radius:10px;background:#07111d;color:var(--sv2-text);font:inherit;outline:none}.sv2-product-preview-fields input:focus,.sv2-product-preview-fields textarea:focus,.sv2-product-preview-fields select:focus{border-color:#5d7896;box-shadow:0 0 0 2px rgba(112,145,181,.12)}.sv2-product-preview-fields textarea{min-height:170px;resize:vertical;line-height:1.65}.sv2-product-preview-fields select{cursor:pointer}.sv2-product-register-field.is-wide{grid-column:1/-1}.sv2-product-register-field.is-tall span{font-size:11px}
.sv2-product-register-fields .sv2-product-primary{margin-top:16px}
.sv2-product-preview-note{margin:14px 2px 0;color:#aebdca;font-size:11px;line-height:1.72}
.sv2-product-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.sv2-product-category-card{min-height:92px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;border:1px solid var(--sv2-line-soft);border-radius:15px;background:var(--sv2-panel);color:var(--sv2-text);text-align:left;cursor:pointer}
.sv2-product-category-card:hover{border-color:#435a73;background:#102035}
.sv2-product-category-card span{font-weight:720;font-size:12px}.sv2-product-category-card small{color:#788b9f;font-size:10px}
.sv2-product-feature-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 16px;border:1px solid var(--sv2-line-soft);border-radius:16px;background:#0b1726}
.sv2-product-feature-toolbar>span{color:#6d8095;font-size:10px}
.sv2-product-todo-list,.sv2-product-contact-list{display:grid;gap:10px;margin-top:12px}
.sv2-product-todo-card,.sv2-product-contact-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 18px;border:1px solid var(--sv2-line-soft);border-radius:16px;background:var(--sv2-panel)}
.sv2-product-todo-card.is-warning{border-left:4px solid #d7b558}.sv2-product-todo-card.is-normal{border-left:4px solid #5b8eb8}
.sv2-product-todo-card strong,.sv2-product-contact-card strong{display:block;font-size:13px}.sv2-product-todo-card small,.sv2-product-contact-card small{display:block;margin-top:5px;color:var(--sv2-muted);font-size:10px}
.sv2-product-card-actions{display:flex;gap:6px}.sv2-product-card-actions button,.sv2-product-contact-card>button,.sv2-product-history{padding:7px 10px;border:1px solid #334960;border-radius:9px;background:#0a1726;color:#8395a8;font-size:10px}
.sv2-product-contact-card>div>span{display:inline-block;margin-bottom:6px;padding:3px 7px;border:1px solid #33475c;border-radius:999px;color:#8093a8;font-size:9px}
.sv2-product-history{width:100%;min-height:42px;margin-top:12px}
.sv2-product-no-result{padding:18px;color:var(--sv2-muted);font-size:11px;text-align:center}

@media(max-width:640px){
    :root{
        --sv2-bg:#041220;
        --sv2-bg-deep:#03101d;
        --sv2-panel:#0a1f38;
        --sv2-panel-2:#0c2340;
        --sv2-line-soft:rgba(120,170,255,.18);
        --sv2-text:#f4f7fb;
        --sv2-muted:#a9b8cc;
    }
    .sv2-product-shell{padding-left:14px;padding-right:14px}
    .sv2-product-panel,.sv2-product-register-picker,.sv2-product-register-fields,.sv2-product-sample-card,.sv2-product-recent-card,.sv2-product-category-card,.sv2-product-tile,.sv2-product-empty{background:#0a1f38}
    .sv2-product-welcome,.sv2-product-section-head{background:linear-gradient(135deg,#0c2340,#0a1f38)}
    .sv2-product-security-card,.sv2-product-feature-toolbar{background:#0a1b30}
    .sv2-product-gate{padding:38px 18px 28px;border-radius:24px}
    .sv2-product-logo-wrap{width:108px;height:108px;border-radius:27px}
    .sv2-product-panel{padding:22px 16px;border-radius:22px}
    .sv2-product-field-row{display:grid;grid-template-columns:1fr}
    .sv2-product-submit{min-height:46px}
    .sv2-product-home-grid{grid-template-columns:1fr}
    .sv2-product-tile{min-height:124px}
    .sv2-product-tile-mark{margin-bottom:18px}
    .sv2-product-welcome{padding:22px 18px}
    .sv2-product-register-layout{grid-template-columns:1fr}
    .sv2-product-preview-fields{grid-template-columns:1fr}
    .sv2-product-preview-fields label:last-child:nth-child(odd){grid-column:auto}
    .sv2-product-category-grid{grid-template-columns:1fr 1fr}
    .sv2-product-todo-card,.sv2-product-contact-card{align-items:flex-start;flex-direction:column}
    .sv2-product-card-actions{width:100%}.sv2-product-card-actions button{flex:1 1 0}
    .sv2-product-contact-card>button{width:100%;min-height:42px}
    .sv2-product-section-head{padding:22px 18px}
    .sv2-product-footer{flex-direction:column;align-items:center;gap:5px}
}
@media(prefers-reduced-motion:reduce){
    .sv2-product-body *{scroll-behavior:auto!important;transition:none!important}
}

/* v0.8.0 sample data / copy-button preview */
.sv2-product-subnav{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.sv2-product-subnav button{appearance:none;border:0;background:transparent;color:#aebdca;padding:4px 0;cursor:pointer;font-weight:760}
.sv2-product-subnav button:hover{color:#fff}
.sv2-product-subnav span{color:#667b91;font-size:10px}
.sv2-product-sample-card{overflow:hidden;border:1px solid var(--sv2-line-soft);border-radius:18px;background:var(--sv2-panel)}
.sv2-product-sample-card>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid var(--sv2-line-soft);background:#0b1828}
.sv2-product-sample-card>header>div>span{display:block;color:#71859b;font-size:9px;font-weight:800;letter-spacing:.08em}
.sv2-product-sample-card h3{margin:5px 0 0;color:var(--sv2-text);font-size:17px}
.sv2-product-demo-badge{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:25px;padding:0 9px;border:1px solid #3c5269;border-radius:999px;color:#8fa1b4;font-size:9px;font-weight:800}
.sv2-product-sample-rows{display:grid}
.sv2-product-sample-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;min-height:66px;padding:11px 16px;border-bottom:1px solid #182a3d}
.sv2-product-sample-row:last-child{border-bottom:0}
.sv2-product-sample-main{min-width:0}
.sv2-product-sample-main span{display:block;margin-bottom:5px;color:#71849a;font-size:9px;font-weight:760}
.sv2-product-sample-main strong{display:block;overflow-wrap:anywhere;color:#e4ebf2;font-size:12px;line-height:1.45;font-weight:690}
.sv2-product-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:nowrap}
.sv2-product-copy,.sv2-product-reveal{min-width:72px;height:34px;padding:0 10px;border:1px solid #3a526c;border-radius:9px;background:#101f31;color:#c8d2dc;font-size:10px;font-weight:760;cursor:pointer;transition:.16s ease}
.sv2-product-reveal{min-width:58px}
.sv2-product-copy:hover,.sv2-product-reveal:hover{border-color:#71859a;background:#172a40;color:#fff}
.sv2-product-copy.is-copied{border-color:#3c8462;background:#123424;color:#7dd5a3}
.sv2-product-recent-list{display:grid;gap:10px}
.sv2-product-recent-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:16px 18px;border:1px solid var(--sv2-line-soft);border-radius:15px;background:var(--sv2-panel)}
.sv2-product-recent-card>div>span{display:block;color:#74879c;font-size:9px;font-weight:800}.sv2-product-recent-card strong{display:block;margin-top:4px;font-size:13px}.sv2-product-recent-card small{display:block;margin-top:5px;color:var(--sv2-muted);font-size:10px;overflow-wrap:anywhere}
.sv2-product-contact-card.is-sample-contact{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.8fr) auto}
.sv2-product-contact-main>span{display:inline-block;margin-bottom:6px;padding:3px 7px;border:1px solid #33475c;border-radius:999px;color:#8093a8;font-size:9px}
.sv2-product-contact-phone{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;column-gap:9px}.sv2-product-contact-phone>span{grid-column:1/-1;display:block;margin-bottom:5px;color:#71849a;font-size:9px}.sv2-product-contact-phone strong{font-size:13px}
.sv2-product-call{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 13px;border:1px solid #425d77;border-radius:10px;background:#14283e;color:#e3eaf0;text-decoration:none;font-size:10px;font-weight:800}
.sv2-product-call:hover{background:#1a334d;color:#fff}
.sv2-product-contact-note-card{margin-top:12px}
@media(max-width:640px){
    .sv2-product-sample-row{grid-template-columns:minmax(0,1fr) auto;padding:12px}
    .sv2-product-copy{min-width:66px}
    .sv2-product-reveal{min-width:54px}
    .sv2-product-contact-card.is-sample-contact{grid-template-columns:1fr;align-items:stretch}
    .sv2-product-contact-phone{width:100%}
    .sv2-product-call{width:100%}
    .sv2-product-subnav{align-items:flex-start;flex-direction:column}
}


.sv2-product-register-message{min-height:18px;margin-top:10px;font-size:11px;color:var(--sv2-muted)}
.sv2-product-register-message.is-warning{color:#e4bd5b}
.sv2-product-register-success{padding:4px}
.sv2-product-register-success-kicker{display:inline-flex;padding:5px 9px;border:1px solid rgba(89,184,132,.35);border-radius:999px;background:rgba(48,143,92,.10);color:#73c895;font-size:9px;font-weight:800;letter-spacing:.06em}
.sv2-product-register-success h3{margin:15px 0 14px;font-size:24px;line-height:1.3}
.sv2-product-register-result{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 16px;border:1px solid #354a60;border-radius:13px;background:#0a1727}
.sv2-product-register-result span{color:var(--sv2-muted);font-size:10px}
.sv2-product-register-result strong{font-size:15px}
.sv2-product-register-success>p{margin:14px 0 0;color:var(--sv2-muted);font-size:11px;line-height:1.7}
.sv2-product-register-success-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-top:18px}
.sv2-product-demo-badge.is-trial{border-color:rgba(89,184,132,.4);background:rgba(48,143,92,.10);color:#7ed29d}
.sv2-product-sample-card.is-trial-entry{border-color:#3d6472;box-shadow:0 0 0 1px rgba(88,150,143,.06) inset}
.sv2-product-category-card.has-trial{border-color:#3d6472;background:#102034}
.sv2-product-recent-card.is-trial-entry{border-color:#3d6472}



/* v0.8.0 DEV plan preview: Standard / Business（仮） */
.sv2-product-plan-preview{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  margin:0 0 14px;padding:11px 13px;border:1px solid #263a4f;border-radius:12px;background:#0a1624
}
.sv2-product-plan-preview>div:first-child{display:flex;flex-direction:column;gap:2px}
.sv2-product-plan-preview-label{font-size:10px;color:#aebdca;font-weight:800;letter-spacing:.03em}
.sv2-product-plan-preview small{font-size:9px;color:var(--sv2-muted)}
.sv2-product-plan-switch{display:inline-flex;gap:4px;padding:3px;border:1px solid #2c4056;border-radius:10px;background:#07111d}
.sv2-product-plan-switch button{
  min-height:32px;padding:6px 11px;border:0;border-radius:7px;background:transparent;color:#8394a5;
  font:inherit;font-size:11px;font-weight:800;cursor:pointer
}
.sv2-product-plan-switch button.is-active{background:#1a2c40;color:#f5f7f9;box-shadow:0 0 0 1px #435b75 inset}

.sv2-product-category-group-heading{
  display:flex;align-items:center;justify-content:space-between;margin:18px 2px 9px;padding-top:13px;border-top:1px solid #1f3042
}
.sv2-product-category-group-heading>div{display:flex;align-items:baseline;gap:10px}
.sv2-product-category-group-heading span{font-size:11px;font-weight:850;color:#c4d0db}
.sv2-product-category-group-heading small{font-size:9px;color:var(--sv2-muted)}
.sv2-product-category-group-heading.is-other-heading{margin-top:18px}

.sv2-product-category-card{position:relative}
.sv2-product-category-card em{
  position:absolute;right:13px;bottom:10px;padding:3px 7px;border:1px solid #3b5269;border-radius:999px;
  font-size:8px;font-style:normal;font-weight:850;letter-spacing:.03em;color:#a6b7c7;background:#0b1724
}
.sv2-product-category-card.is-plan-locked,
.sv2-product-type-list button.is-plan-locked{
  opacity:.38;filter:grayscale(.25) saturate(.28);cursor:not-allowed
}
.sv2-product-category-card.is-plan-locked{
  background:#0b141e;border-color:#1e2b39;box-shadow:none
}
.sv2-product-category-card.is-plan-locked:hover,
.sv2-product-type-list button.is-plan-locked:hover{
  transform:none;background:#0b141e;border-color:#1e2b39;box-shadow:none
}
.sv2-product-category-card.is-plan-locked em{color:#858f99;border-color:#303a44;background:#111820}

.sv2-product-type-group.is-business-group{margin-top:12px;padding-top:12px;border-top:1px solid #213247}
.sv2-product-type-list button{display:flex;align-items:center;justify-content:space-between;gap:10px}
.sv2-product-type-list button b{font:inherit;font-weight:700}
.sv2-product-type-list button small{
  flex:0 0 auto;padding:2px 6px;border:1px solid #3b5269;border-radius:999px;
  font-size:8px;font-weight:850;color:#9faebe
}

.sv2-product-category-grid.is-other-grid{grid-template-columns:minmax(0,1fr)}
.sv2-product-category-grid.is-other-grid .sv2-product-category-card{max-width:none}

@media (max-width:680px){
  .sv2-product-plan-preview{align-items:flex-start;flex-direction:column}
  .sv2-product-category-group-heading>div{align-items:flex-start;flex-direction:column;gap:3px}
}



/* v0.8.0 category detail accordion */
.sv2-product-entry-accordion{overflow:hidden}
.sv2-product-entry-accordion>header{display:none}
.sv2-product-entry-toggle{
  width:100%;display:flex;align-items:center;justify-content:space-between;gap:18px;
  min-height:78px;padding:16px 18px;border:0;background:transparent;color:var(--sv2-text);
  font:inherit;text-align:left;cursor:pointer
}
.sv2-product-entry-toggle:hover{background:rgba(255,255,255,.018)}
.sv2-product-entry-toggle:focus-visible{outline:2px solid #587390;outline-offset:-2px}
.sv2-product-entry-toggle-main{min-width:0;display:flex;flex-direction:column;gap:6px}
.sv2-product-entry-toggle-main>span{
  color:var(--sv2-muted);font-size:9px;font-weight:800;letter-spacing:.04em
}
.sv2-product-entry-toggle-main h3{
  margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  font-size:17px;line-height:1.35
}
.sv2-product-entry-toggle-side{
  flex:0 0 auto;display:flex;align-items:center;gap:10px
}
.sv2-product-entry-chevron{
  display:inline-flex;align-items:center;justify-content:center;
  width:30px;height:30px;border:1px solid #31475f;border-radius:9px;
  color:#a7b7c7;font-size:19px;line-height:1;transition:transform .18s ease,background .18s ease
}
.sv2-product-entry-accordion.is-open .sv2-product-entry-chevron{
  transform:rotate(180deg);background:#14263a
}
.sv2-product-entry-panel{
  border-top:1px solid #23364a;
  animation:sv2EntryReveal .16s ease-out
}
.sv2-product-entry-panel[hidden]{display:none !important}
@keyframes sv2EntryReveal{
  from{opacity:.35;transform:translateY(-4px)}
  to{opacity:1;transform:translateY(0)}
}
@media (max-width:680px){
  .sv2-product-entry-toggle{min-height:70px;padding:14px 14px;gap:10px}
  .sv2-product-entry-toggle-main h3{font-size:15px}
  .sv2-product-entry-toggle-side{gap:7px}
  .sv2-product-entry-chevron{width:28px;height:28px}
}



/* v0.8.0 最近使った項目 = クイックアクセス */
.sv2-product-recent-card{
    width:100%;
    text-align:left;
    color:var(--sv2-text);
    font:inherit;
    cursor:pointer;
    transition:border-color .16s ease,background .16s ease,transform .16s ease,box-shadow .16s ease;
}
.sv2-product-recent-card:hover{
    border-color:#3d5873;
    background:#102034;
    transform:translateY(-1px);
    box-shadow:0 8px 24px rgba(0,0,0,.12);
}
.sv2-product-recent-card:focus-visible{
    outline:2px solid #5b7694;
    outline-offset:2px;
}
.sv2-product-recent-card-main{min-width:0}
.sv2-product-recent-open{
    display:inline-flex;
    align-items:center;
    gap:8px;
    flex:0 0 auto;
    color:#a9b9c9;
}
.sv2-product-recent-open b{
    font-size:10px;
    font-weight:800;
}
.sv2-product-recent-open i{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:30px;
    height:30px;
    border:1px solid #31475f;
    border-radius:9px;
    background:#0b1827;
    color:#d3dde6;
    font-size:20px;
    font-style:normal;
    line-height:1;
    transition:transform .16s ease,background .16s ease;
}
.sv2-product-recent-card:hover .sv2-product-recent-open i{
    transform:translateX(2px);
    background:#182c42;
}
@media(max-width:640px){
    .sv2-product-recent-card{padding:14px}
    .sv2-product-recent-open b{display:none}
    .sv2-product-recent-open i{width:28px;height:28px}
}

/* v0.8.0 product language selector */
.sv2-product-language{
    position:absolute;
    top:18px;
    left:18px;
    z-index:2;
    display:flex;
    align-items:center;
    gap:7px;
    margin:0;
    color:#8fa1b5;
    font-size:10px;
    font-weight:700;
}
.sv2-product-language label{
    white-space:nowrap;
}
.sv2-product-language select{
    max-width:150px;
    min-height:31px;
    padding:4px 28px 4px 9px;
    border:1px solid rgba(184,197,213,.24);
    border-radius:9px;
    outline:none;
    background:#0a1524;
    color:#d9e1e8;
    font:inherit;
    font-size:11px;
    cursor:pointer;
}
.sv2-product-language select:focus{
    border-color:#667d96;
    box-shadow:0 0 0 3px rgba(102,125,150,.12);
}
@media(max-width:440px){
    .sv2-product-language{
        top:17px;
        left:14px;
        gap:5px;
    }
    .sv2-product-language label{
        position:absolute;
        width:1px;
        height:1px;
        overflow:hidden;
        clip:rect(0,0,0,0);
        white-space:nowrap;
    }
    .sv2-product-language select{
        max-width:136px;
        min-height:30px;
        padding-left:8px;
        padding-right:24px;
        font-size:10px;
    }
}

/* DIM legacy UI - date/time native picker visibility */
.sv2-product-preview-fields input[type="date"],
.sv2-product-preview-fields input[type="time"]{
    padding-right:42px;
}
.sv2-product-preview-fields input[type="date"]::-webkit-calendar-picker-indicator,
.sv2-product-preview-fields input[type="time"]::-webkit-calendar-picker-indicator{
    filter:invert(1);
    opacity:.86;
    cursor:pointer;
    width:18px;
    height:18px;
}
.sv2-product-preview-fields input[type="date"]::-webkit-calendar-picker-indicator:hover,
.sv2-product-preview-fields input[type="time"]::-webkit-calendar-picker-indicator:hover{
    opacity:1;
}

/* DIM legacy UI - To-do deadline severity */
.sv2-product-todo-card.is-danger{
    border-left:4px solid #ff5c68;
}



/* v0.10.0 Public UI Preview Mode */
.sv2-product-preview-banner{
    display:flex;align-items:center;justify-content:space-between;gap:12px;
    margin:0 0 18px;padding:10px 14px;border:1px solid #35506d;border-radius:12px;
    background:#0d1c2d;color:#c9d5e1;font-size:11px
}
.sv2-product-preview-banner strong{letter-spacing:.08em;color:#eef5fb}
.sv2-product-preview-banner span{color:#8fa4b8;text-align:right}
@media (max-width:640px){
    .sv2-product-preview-banner{align-items:flex-start;flex-direction:column;gap:4px}
    .sv2-product-preview-banner span{text-align:left}
}

/* v0.11.0 Personal Identity / Insurance conditional fields */
.sv2-product-register-field[hidden]{display:none!important}
/* v0.11.0 Secret input visibility toggle */
.sv2-product-secret-entry{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:stretch}
.sv2-product-secret-entry .sv2-product-secret-entry-toggle{min-width:62px;padding:0 12px;border:1px solid #39526d;border-radius:10px;background:#0d1b2a;color:var(--sv2-text);font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.sv2-product-secret-entry .sv2-product-secret-entry-toggle:hover{border-color:#6f8ead;background:#12263a}
.sv2-product-secret-entry .sv2-product-secret-entry-toggle:focus{outline:none;border-color:#7d9cba;box-shadow:0 0 0 2px rgba(112,145,181,.16)}
.sv2-product-secret-entry input{min-width:0}
@media(max-width:520px){.sv2-product-secret-entry{grid-template-columns:minmax(0,1fr) 58px}.sv2-product-secret-entry .sv2-product-secret-entry-toggle{min-width:58px;padding:0 8px}}


/* v0.12.0 SNS Generic Entry Lifecycle */
.sv2-product-entry-lifecycle-actions{display:flex;justify-content:flex-end;gap:9px;padding:13px 16px;border-top:1px solid #1d3146;background:rgba(4,14,25,.28)}
.sv2-product-entry-lifecycle-actions .sv2-product-secondary{min-height:38px;padding:8px 14px}
.sv2-product-entry-delete{min-height:38px;padding:8px 14px;border:1px solid #704047;border-radius:10px;background:#2a151b;color:#eab0b5;font-weight:760;cursor:pointer}
.sv2-product-entry-delete:hover,.sv2-product-entry-delete.is-confirm{border-color:#a65b65;background:#451f27;color:#ffd9dc}
.sv2-product-entry-delete:disabled{opacity:.58;cursor:wait}
.sv2-product-lifecycle-toolbar{display:grid;grid-template-columns:minmax(220px,1.6fr) minmax(150px,.8fr) minmax(140px,.7fr);gap:10px;margin:0 0 12px;padding:14px;border:1px solid var(--sv2-line-soft);border-radius:15px;background:var(--sv2-panel)}
.sv2-product-lifecycle-toolbar label{display:flex;flex-direction:column;gap:6px;min-width:0}
.sv2-product-lifecycle-toolbar label>span{color:#8297ad;font-size:9px;font-weight:800;letter-spacing:.04em}
.sv2-product-lifecycle-toolbar input,.sv2-product-lifecycle-toolbar select{width:100%;min-height:42px;padding:9px 10px;border:1px solid #314a63;border-radius:10px;background:#071421;color:var(--sv2-text);font:inherit;outline:none}
.sv2-product-lifecycle-toolbar input:focus,.sv2-product-lifecycle-toolbar select:focus{border-color:#6e89a6;box-shadow:0 0 0 2px rgba(110,137,166,.12)}
[data-sns-results]{display:grid;gap:12px}
.sv2-product-lifecycle-sample{margin-top:14px}
.sv2-product-lifecycle-empty{padding:28px 18px;border:1px dashed #314960;border-radius:14px;background:rgba(8,23,39,.62);color:var(--sv2-muted);font-size:12px;text-align:center}
.sv2-product-edit-form{padding:18px;border:1px solid var(--sv2-line-soft);border-radius:18px;background:var(--sv2-panel)}
.sv2-product-edit-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-top:16px}
.sv2-product-edit-actions .sv2-product-primary{margin-top:0}
@media(max-width:680px){
    .sv2-product-lifecycle-toolbar{grid-template-columns:1fr;padding:12px;background:#0a1f38}
    .sv2-product-lifecycle-toolbar input,.sv2-product-lifecycle-toolbar select{background:#061525;border-color:rgba(120,170,255,.20)}
    .sv2-product-entry-lifecycle-actions{display:grid;grid-template-columns:1fr 1fr;padding:12px;background:rgba(5,18,32,.55)}
    .sv2-product-entry-lifecycle-actions button{width:100%}
    .sv2-product-edit-form{padding:14px;background:#0a1f38}
    .sv2-product-edit-actions{grid-template-columns:1fr}
}

/* v0.13.0 Recovery Profile accordion layout */
.sv2-recovery-form{gap:0}
.sv2-recovery-accordion-stack{display:grid;gap:12px;margin-top:14px}
.sv2-recovery-accordion{
    overflow:hidden;
    border:1px solid var(--sv2-line-soft);
    border-radius:16px;
    background:linear-gradient(180deg,rgba(17,31,50,.86),rgba(10,24,40,.86));
    box-shadow:inset 0 1px rgba(255,255,255,.025);
}
.sv2-recovery-accordion>summary{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    min-height:74px;
    padding:15px 16px;
    list-style:none;
    cursor:pointer;
    user-select:none;
}
.sv2-recovery-accordion>summary::-webkit-details-marker{display:none}
.sv2-recovery-accordion>summary:hover{background:rgba(184,197,213,.035)}
.sv2-recovery-accordion>summary:focus-visible{outline:2px solid #718da9;outline-offset:-2px}
.sv2-recovery-summary-main{display:flex;min-width:0;flex:1;flex-direction:column;gap:5px}
.sv2-recovery-summary-title{color:var(--sv2-text);font-size:14px;font-weight:780;letter-spacing:.01em}
.sv2-recovery-summary-status{
    overflow:hidden;
    color:var(--sv2-muted);
    font-size:11px;
    font-weight:650;
    line-height:1.45;
    text-overflow:ellipsis;
}
.sv2-recovery-summary-status[data-type=success]{color:#7fc8a3}
.sv2-recovery-summary-status[data-type=error]{color:#ff8f94!important}
.sv2-recovery-summary-status[data-type=info]{color:#9eb0c4}
.sv2-recovery-chevron{
    position:relative;
    flex:0 0 30px;
    width:30px;
    height:30px;
    border:1px solid #31465d;
    border-radius:9px;
    background:#0a1726;
}
.sv2-recovery-chevron::before,.sv2-recovery-chevron::after{
    content:"";
    position:absolute;
    top:50%;
    left:50%;
    width:12px;
    height:2px;
    border-radius:2px;
    background:#b9c6d4;
    transform:translate(-50%,-50%);
    transition:transform .18s ease,opacity .18s ease;
}
.sv2-recovery-chevron::after{transform:translate(-50%,-50%) rotate(90deg)}
.sv2-recovery-accordion[open] .sv2-recovery-chevron::after{opacity:0;transform:translate(-50%,-50%) rotate(0)}
.sv2-recovery-accordion[open]>summary{background:rgba(184,197,213,.035)}
.sv2-recovery-accordion-body{
    padding:16px;
    border-top:1px solid var(--sv2-line-soft);
    background:rgba(5,15,27,.24);
}
.sv2-recovery-accordion-body>.sv2-product-preview-fields:first-child{margin-top:0}
.sv2-recovery-note{margin:0 0 14px}
.sv2-recovery-actions{margin:14px -16px -16px}
.sv2-recovery-security-card{margin:0 0 14px}
.sv2-recovery-security-copy{margin:0;line-height:1.85}
.sv2-recovery-accordion-security .sv2-recovery-summary-title{color:#cbd6e2}
@media(max-width:680px){
    .sv2-recovery-accordion-stack{gap:10px}
    .sv2-recovery-accordion>summary{min-height:68px;padding:13px 14px}
    .sv2-recovery-summary-title{font-size:13px}
    .sv2-recovery-summary-status{font-size:10px;white-space:normal}
    .sv2-recovery-chevron{flex-basis:28px;width:28px;height:28px}
    .sv2-recovery-accordion-body{padding:14px}
    .sv2-recovery-actions{margin:12px -14px -14px}
}

/* v0.13.0 Recovery Code one-time display polish */
.sv2-product-recovery-code-once{
    display:block;
    width:100%;
    min-height:48px;
    margin-top:7px;
    padding:11px 13px;
    border:1px solid #3a4b60;
    border-radius:11px;
    outline:none;
    background:#06101d;
    color:var(--sv2-text);
    font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;
    font-size:13px;
    line-height:1.4;
    white-space:nowrap;
    overflow-x:auto;
}
.sv2-product-recovery-code-once:focus{
    border-color:#8998aa;
    box-shadow:0 0 0 3px rgba(137,152,170,.12);
}
.sv2-product-recovery-code-actions{
    display:flex;
    justify-content:flex-start;
    margin-top:9px;
}
.sv2-product-recovery-code-actions .sv2-product-copy{
    min-width:84px;
}

/* v0.13.0 Brand migration: neutral DIM monogram until the final brand logo asset is supplied. */
.sv2-product-logo-monogram{
    display:grid!important;
    place-items:center;
    object-fit:initial!important;
    background:linear-gradient(145deg,#182b41,#07111e);
    border:1px solid rgba(184,197,213,.28);
    color:#e6edf4;
    font-weight:850;
    line-height:1;
    letter-spacing:.06em;
    text-shadow:0 1px 8px rgba(0,0,0,.32);
}
.sv2-product-logo.sv2-product-logo-monogram{font-size:24px}
.sv2-product-logo-small.sv2-product-logo-monogram{font-size:12px}
.sv2-product-logo-mini.sv2-product-logo-monogram{font-size:9px}

/* v0.13.1 same-origin password-manager autofill guard.
   Readonly is removed immediately on intentional pointer/keyboard/focus interaction. */
.sv2-product-register-form input[readonly][data-register-field],
.sv2-product-edit-form input[readonly][data-edit-field]{
    cursor:text;
    opacity:1;
}



/* DIM v0.14.0-dev6 PDF P1 */
.sv2-product-pdf-card{display:grid;gap:18px}.sv2-product-pdf-warning{border:1px solid rgba(239,68,68,.7);background:rgba(127,29,29,.22);color:#fecaca;border-radius:14px;padding:14px 16px;line-height:1.65;font-weight:700}.sv2-product-pdf-list-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.sv2-product-pdf-list-head div{display:flex;gap:8px}.sv2-product-pdf-list-head button{border:1px solid rgba(148,163,184,.28);background:rgba(15,23,42,.55);color:inherit;border-radius:10px;padding:8px 10px}.sv2-product-pdf-entry-list{display:grid;gap:10px}.sv2-product-pdf-entry{display:flex;align-items:flex-start;gap:12px;border:1px solid rgba(148,163,184,.2);background:rgba(15,23,42,.38);border-radius:14px;padding:13px 14px}.sv2-product-pdf-entry input{width:19px;height:19px;margin-top:3px}.sv2-product-pdf-entry span{display:grid;gap:3px;min-width:0}.sv2-product-pdf-entry strong{overflow-wrap:anywhere}.sv2-product-pdf-entry small{opacity:.68}.sv2-product-pdf-form{display:grid;gap:13px}.sv2-product-pdf-form label{display:grid;gap:7px}.sv2-product-pdf-form input{width:100%;min-height:46px;border-radius:12px;border:1px solid rgba(148,163,184,.28);background:rgba(2,6,23,.68);color:inherit;padding:10px 12px;font:inherit}.sv2-product-pdf-form .sv2-product-primary:disabled{opacity:.45;cursor:not-allowed}@media(max-width:640px){.sv2-product-pdf-list-head{align-items:flex-start;flex-direction:column}.sv2-product-pdf-list-head div{width:100%}.sv2-product-pdf-list-head button{flex:1}}


/* DIM v0.14.0-dev11 PDF P3 / Security Print */
.sv2-product-security-print-option{display:flex;align-items:flex-start;gap:12px;border:1px solid rgba(202,138,4,.38);background:rgba(120,53,15,.12);border-radius:14px;padding:14px 16px;cursor:pointer}.sv2-product-security-print-option input{width:20px;height:20px;margin-top:3px;flex:0 0 auto}.sv2-product-security-print-option span{display:grid;gap:4px}.sv2-product-security-print-option strong{font-weight:800}.sv2-product-security-print-option small{opacity:.8;line-height:1.55}.sv2-product-security-print-note{margin:0;border-left:3px solid rgba(202,138,4,.65);padding:8px 0 8px 12px;line-height:1.65;opacity:.86}


/* v0.14.0-dev12 PAY.JP Payment Foundation P1 */
.sv2-product-billing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0}
.sv2-product-billing-plan{position:relative;display:flex;flex-direction:column;gap:8px;min-height:110px;padding:16px;border:1px solid #2c4056;border-radius:14px;background:#0b1725}
.sv2-product-billing-plan>span{font-size:12px;font-weight:800;color:#aebdca;letter-spacing:.02em}
.sv2-product-billing-plan>strong{font-size:24px;color:#f5f7f9;line-height:1.15}
.sv2-product-billing-plan>strong small{font-size:11px;color:#aebdca;font-weight:700}
.sv2-product-billing-plan>em{align-self:flex-start;font-size:10px;font-style:normal;font-weight:800;color:#d9e3ed;border:1px solid #435b75;border-radius:999px;padding:3px 7px}
.sv2-product-billing-plan.is-addon{border-style:dashed}
.sv2-product-billing-status{margin:10px 0 14px;border:1px solid #24384d;border-radius:12px;overflow:hidden;background:#09131f}
.sv2-product-billing-status .sv2-product-sample-rows{margin:0}
@media(max-width:760px){.sv2-product-billing-grid{grid-template-columns:1fr}.sv2-product-billing-plan{min-height:0}}


/* v0.14.0-dev13 PAY.JP P2 TEST connection */
.sv2-product-billing-actions{display:grid;gap:8px;margin-top:12px}
.sv2-product-billing-actions .sv2-product-primary{justify-self:start;min-width:180px}


/* v0.14.0-dev15 PAY.JP P3: TEST-only payjp.js card registration 3D Secure */
.sv2-payjp-p3-shell{display:grid;gap:12px;margin:16px 0;padding:14px;border:1px solid #2b4158;border-radius:14px;background:#08131f}
.sv2-payjp-p3-shell[hidden]{display:none!important}
.sv2-payjp-p3-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.sv2-payjp-p3-field{display:grid;gap:7px;color:#d9e3ed;font-size:12px;font-weight:800}
.sv2-payjp-p3-field>input{width:100%;min-height:46px;padding:10px 12px;border:1px solid #334a61;border-radius:10px;background:#0b1725;color:#f5f7f9;font:inherit;font-size:15px;font-weight:600;outline:none}
.sv2-payjp-p3-field>input:focus{border-color:#7892aa;box-shadow:0 0 0 2px rgba(120,146,170,.15)}
.sv2-payjp-p3-contact-note{grid-column:1/-1;margin-top:-2px;color:#9fb0c1;font-size:11px;line-height:1.65}
.sv2-payjp-p3-card-row{grid-column:1/-1;display:grid;grid-template-columns:minmax(190px,2.2fr) minmax(105px,1fr) minmax(90px,.9fr);gap:10px;align-items:end}
.sv2-payjp-p3-card{min-height:48px;padding:13px 12px;border:1px solid #334a61;border-radius:10px;background:#0b1725}
.sv2-payjp-p3-card:focus-within{border-color:#7892aa;box-shadow:0 0 0 2px rgba(120,146,170,.15)}
.sv2-payjp-p3-state-row{border:1px solid #24384d;border-radius:10px;background:#09131f}
@media(max-width:760px){.sv2-payjp-p3-fields{grid-template-columns:1fr}.sv2-payjp-p3-contact-note{grid-column:auto}}
@media(max-width:520px){.sv2-payjp-p3-card-row{grid-template-columns:1fr 1fr}.sv2-payjp-p3-card-number-field{grid-column:1/-1}}

/* v0.14.0-dev23 billing/readability polish */
@media(max-width:760px){.sv2-product-preview-note{color:#b9c6d3;font-size:12px;line-height:1.72}.sv2-payjp-p3-contact-note{color:#b7c5d2;font-size:12px}}


/* v0.14.0-dev27 P6.1 registration entry + account boundary foundation / Japanese UX pass */
.sv2-product-secondary{
    display:flex;align-items:center;justify-content:center;box-sizing:border-box;text-decoration:none;
    width:100%;min-height:48px;margin-top:10px;padding:11px 16px;border:1px solid #455a73;border-radius:13px;
    background:#0d1b2d;color:#d5dee8;font-weight:750;cursor:pointer;
}
.sv2-product-secondary:hover{background:#14253b;border-color:#667c95}
.sv2-registration-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 16px}
.sv2-registration-steps>div{padding:13px;border:1px solid var(--sv2-line);border-radius:14px;background:#0a1626}
.sv2-registration-steps span{display:inline-grid;place-items:center;width:26px;height:26px;margin-bottom:8px;border:1px solid #50657d;border-radius:50%;color:#dbe5ef;font-weight:800;font-size:12px}
.sv2-registration-steps strong,.sv2-registration-steps small{display:block}
.sv2-registration-steps strong{font-size:13px;color:var(--sv2-text)}
.sv2-registration-steps small{margin-top:4px;color:#aebdce;font-size:11px;line-height:1.45}
@media (max-width:520px){.sv2-registration-steps{grid-template-columns:1fr}}


/* v0.14.0-dev29 P6.2.1 registration identity verification */
.sv2-registration-identity{margin-top:14px;display:grid;gap:12px}
.sv2-registration-identity>label{display:grid;gap:7px;font-weight:700;color:#edf3f8}
.sv2-registration-identity input{width:100%;box-sizing:border-box;border:1px solid rgba(255,255,255,.22);border-radius:10px;background:#101a24;color:#fff;padding:12px 13px;font-size:16px}
.sv2-registration-note{margin:0;color:#c8d2dd;font-size:14px;line-height:1.7}
.sv2-registration-factor{margin-top:4px;padding:14px;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:rgba(255,255,255,.035);display:grid;gap:9px}
.sv2-registration-factor>span{color:#c8d2dd;font-size:13px}
.sv2-registration-code-row{display:grid;grid-template-columns:minmax(150px,1fr) auto auto;gap:8px;align-items:center}
.sv2-registration-factor-status{min-height:1.4em;color:#c8d2dd;font-size:13px;line-height:1.6}
.sv2-registration-factor-status[data-type="success"]{color:#9fe2b0}
.sv2-registration-factor-status[data-type="error"]{color:#ff9a9d}
@media(max-width:680px){.sv2-registration-code-row{grid-template-columns:1fr 1fr}.sv2-registration-code-row input{grid-column:1/-1}.sv2-registration-code-row button{width:100%}}


/* v0.14.0-dev32 P6.3 registration auth setup transition/UI gate */
.sv2-registration-next-wrap{
    margin-top:16px;
}
.sv2-registration-auth-stage{
    margin-top:18px;
}
.sv2-registration-auth-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    margin-top:14px;
}
.sv2-registration-auth-grid label{
    display:flex;
    flex-direction:column;
    gap:7px;
    font-size:13px;
    font-weight:700;
}
.sv2-registration-auth-grid input{
    width:100%;
    box-sizing:border-box;
    min-height:46px;
    border-radius:10px;
}
.sv2-registration-auth-cards{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    margin-top:14px;
}
.sv2-registration-auth-card{
    border:1px solid rgba(255,255,255,.16);
    border-radius:12px;
    padding:14px;
    background:rgba(255,255,255,.04);
}
.sv2-registration-auth-card strong{
    display:block;
    margin-bottom:5px;
}
.sv2-registration-auth-card span{
    font-size:13px;
    line-height:1.6;
    opacity:.88;
}
@media (max-width:640px){
    .sv2-registration-auth-grid,
    .sv2-registration-auth-cards{
        grid-template-columns:1fr;
    }
}


/* v0.14.0-dev32 P6.3 registration field consistency + password guidance */
.sv2-registration-identity input:disabled,
.sv2-registration-auth-grid input:disabled{
    opacity:1;
    background:#101a24 !important;
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
}
.sv2-registration-identity input:-webkit-autofill,
.sv2-registration-identity input:-webkit-autofill:hover,
.sv2-registration-identity input:-webkit-autofill:focus,
.sv2-registration-identity input:-webkit-autofill:disabled,
.sv2-registration-auth-grid input:-webkit-autofill,
.sv2-registration-auth-grid input:-webkit-autofill:hover,
.sv2-registration-auth-grid input:-webkit-autofill:focus{
    -webkit-text-fill-color:#fff !important;
    caret-color:#fff;
    -webkit-box-shadow:0 0 0 1000px #101a24 inset !important;
    box-shadow:0 0 0 1000px #101a24 inset !important;
    border-color:rgba(255,255,255,.22) !important;
}
.sv2-registration-password-help{
    margin:10px 0 0;
    color:#c6d2de;
    font-size:12px;
    line-height:1.7;
}
.sv2-registration-password-help span{color:#9fb0c1}
#sv2-registration-auth-confirm{margin-top:14px}
#sv2-registration-auth-confirm.is-complete:disabled{cursor:default;opacity:1}
#sv2-registration-auth-confirm-status{margin-top:10px}
.sv2-registration-auth-prepared{
    display:grid;
    gap:5px;
    margin-top:12px;
    padding:13px 14px;
    border:1px solid rgba(110,231,183,.28);
    border-radius:12px;
    background:rgba(16,185,129,.08);
    color:#dce9e4;
}
.sv2-registration-auth-prepared[hidden]{display:none}
.sv2-registration-auth-prepared strong{color:#9fe2b0}
.sv2-registration-auth-prepared span{font-size:12px;line-height:1.65}


/* v0.14.0-dev33 P6.3 visibility / spacing / next-stage transition */
.sv2-registration-password-wrap{position:relative;display:block}
.sv2-registration-password-wrap input{padding-right:50px!important}
.sv2-registration-password-toggle{
    position:absolute;right:7px;top:50%;transform:translateY(-50%);
    width:38px;height:38px;border:0;border-radius:9px;background:transparent;
    color:#aebdca;display:grid;place-items:center;cursor:pointer;padding:0
}
.sv2-registration-password-toggle:hover,.sv2-registration-password-toggle:focus-visible{background:rgba(255,255,255,.07);color:#fff;outline:none}
.sv2-registration-password-toggle svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sv2-registration-password-toggle.is-visible::after{content:"";position:absolute;width:24px;height:1.7px;background:currentColor;transform:rotate(-45deg);border-radius:2px}
.sv2-registration-auth-cards + .sv2-registration-note{margin-top:18px}
#sv2-registration-credential-next{margin-top:10px;justify-self:start}
.sv2-registration-credential-stage{display:grid;gap:14px;margin-top:8px}


/* v0.14.0-dev34 P6.3 -> P6.3.1 visibility fix.
   The credential stage lives inside auth-stage, so keep the parent visible and collapse
   only the completed P6.3 direct children. */
.sv2-registration-auth-stage.is-credential-stage > .sv2-product-alert,
.sv2-registration-auth-stage.is-credential-stage > .sv2-registration-auth-grid,
.sv2-registration-auth-stage.is-credential-stage > .sv2-registration-password-help,
.sv2-registration-auth-stage.is-credential-stage > .sv2-registration-auth-cards,
.sv2-registration-auth-stage.is-credential-stage > .sv2-registration-note,
.sv2-registration-auth-stage.is-credential-stage > #sv2-registration-auth-confirm,
.sv2-registration-auth-stage.is-credential-stage > #sv2-registration-auth-confirm-status,
.sv2-registration-auth-stage.is-credential-stage > #sv2-registration-auth-prepared{
    display:none !important;
}
.sv2-registration-auth-stage.is-credential-stage > #sv2-registration-credential-stage{
    display:block;
}

/* v0.14.0-dev36 P6.3.1 session/account boundary fix */
.sv2-registration-recovery-label{display:block;margin-top:16px;font-weight:700}.sv2-registration-recovery-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:8px}.sv2-registration-recovery-row input{min-width:0;background:#101b2a!important;color:#f4f7fb!important;border:1px solid rgba(196,211,230,.34)!important;border-radius:10px;padding:12px 13px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.02em}.sv2-registration-bootstrap-result{margin-top:12px}

/* v0.14.0-dev38: verified contact fields stay hidden once P6.3 begins. */
.sv2-registration-identity>label[hidden]{display:none!important}
.sv2-registration-recovery-warning{color:#ff6b6b!important;font-weight:800}

/* dev48: account switch is deliberately separate from quick Lock. */
.sv2-product-account-switch{display:block;margin:0 0 14px auto;padding:4px 0;border:0;background:transparent;color:var(--sv2-muted);font-size:12px;text-decoration:underline;cursor:pointer}
.sv2-product-account-switch:hover{color:var(--sv2-silver)}
.sv2-product-account-switch[hidden]{display:none!important}


/* v0.14.0-dev50 optional display name */
.sv2-product-display-name-control{margin:0 0 16px}
.sv2-product-profile-link{appearance:none;border:0;background:transparent;color:var(--sv2-accent,#8bc5ff);padding:0;font:inherit;font-size:12px;font-weight:700;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.sv2-product-display-name-form{margin-top:10px;max-width:460px;padding:12px;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:rgba(6,18,32,.55)}
.sv2-product-display-name-form label{display:block;margin-bottom:7px;color:#edf3f8;font-size:12px;font-weight:700}
.sv2-product-display-name-form small{display:block;margin-top:8px;color:var(--sv2-muted);line-height:1.6}
.sv2-product-display-name-form input{min-width:0}

/* v0.14.0-dev55 P6.5 registration plan selection */
.sv2-registration-plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}
.sv2-registration-plan-card{display:flex;flex-direction:column;gap:9px;padding:18px;border:1px solid #2c4056;border-radius:16px;background:#0b1725;transition:border-color .15s ease,box-shadow .15s ease}
.sv2-registration-plan-card>span{font-size:14px;font-weight:800;color:#dce6ef}
.sv2-registration-plan-card>strong{font-size:28px;line-height:1.1;color:#fff}
.sv2-registration-plan-card>strong small{font-size:12px;color:#aebdca}
.sv2-registration-plan-card>p{margin:0 0 4px;color:#aebdca;font-size:13px;line-height:1.6}
.sv2-registration-plan-card.is-selected{border-color:#7f9bb8;box-shadow:0 0 0 1px rgba(160,190,220,.18) inset}
/* v0.16.1-rc28: make the currently contracted plan immediately distinguishable from change candidates. */
.sv2-registration-plan-card.is-current-contract{border-color:#6ea184;background:linear-gradient(180deg,rgba(54,112,83,.30) 0%,rgba(11,23,37,.98) 100%);box-shadow:0 0 0 1px rgba(126,184,151,.22) inset,0 10px 26px rgba(0,0,0,.12)}
.sv2-registration-plan-card.is-current-contract>span{color:#dff3e7}
.sv2-registration-plan-card.is-current-contract>p{color:#bfd8c9}
.sv2-registration-plan-card.is-current-contract .sv2-product-primary.is-complete:disabled{opacity:1;cursor:default;background:#315f49;border-color:#78aa8d;color:#f2fff7;box-shadow:0 0 0 1px rgba(156,210,177,.12) inset}
.sv2-registration-plan-card .sv2-product-primary{margin-top:auto}
.sv2-registration-plan-card.is-unavailable{opacity:.72;border-color:#3b4f63;background:#0c1a29;box-shadow:0 0 0 1px rgba(148,163,184,.05) inset}
.sv2-registration-plan-card.is-unavailable>span,.sv2-registration-plan-card.is-unavailable>strong,.sv2-registration-plan-card.is-unavailable>p{color:#a7b4c0}
.sv2-registration-plan-card .sv2-registration-plan-coming-soon{display:inline-block;margin-left:7px;padding:2px 7px;border:1px solid #607184;border-radius:999px;color:#c0cad3;font-size:10px;font-weight:700;vertical-align:1px}
.sv2-registration-plan-card .sv2-product-primary.is-unavailable:disabled{cursor:not-allowed;opacity:.72;filter:none;background:#314255;border-color:#536579;color:#c0cad3}
@media(max-width:760px){.sv2-registration-plan-grid{grid-template-columns:1fr}}

/* v0.14.0-dev63: post-contract management foundation */
.sv2-contract-summary[hidden]{display:none!important}
.sv2-contract-summary{margin:16px 0;padding:18px;border:1px solid #31465c;border-radius:16px;background:#0a1623}
.sv2-contract-summary-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:14px}
.sv2-contract-summary-head span{font-size:13px;font-weight:800;color:#aebdca}
.sv2-contract-summary-head strong{font-size:20px;color:#fff}
.sv2-contract-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}
.sv2-contract-summary-grid>div{padding:12px;border:1px solid #263b50;border-radius:12px;background:#0c1a29}
.sv2-contract-summary-grid dt{margin:0 0 5px;color:#91a4b6;font-size:12px;font-weight:700}
.sv2-contract-summary-grid dd{margin:0;color:#eef4f8;font-size:14px;font-weight:800}
@media(max-width:760px){.sv2-contract-summary-grid{grid-template-columns:1fr}.sv2-contract-summary-head{display:block}.sv2-contract-summary-head strong{display:block;margin-top:5px}}


/* v0.14.0-dev67 P6.9 cancellation destructive-action visibility */
.sv2-product-danger-action{
  color:#ff8a92;
  border-color:rgba(213,94,100,.62);
  background:rgba(127,29,29,.12);
}
.sv2-product-danger-action:hover{
  color:#ff9da4;
  border-color:rgba(255,138,146,.82);
  background:rgba(127,29,29,.2);
}
.sv2-product-danger-action:focus-visible{
  outline:2px solid rgba(255,138,146,.9);
  outline-offset:2px;
}

/* v0.14.0-dev68 P6.9 cancellation confirmation: entry action is hidden while confirmation is open. */


/* v0.15.0-dev01 Emergency Transfer foundation */
.sv2-product-handover-locked,.sv2-product-handover-note,.sv2-product-handover-warning{border:1px solid var(--sv2-line-soft);border-radius:16px;padding:16px;background:#0b1624}
.sv2-product-handover-locked strong,.sv2-product-handover-note strong{display:block;margin-bottom:6px}
.sv2-product-handover-locked p,.sv2-product-handover-note p{margin:0 0 14px;line-height:1.65;color:var(--sv2-text-soft)}
.sv2-product-handover-summary{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}.sv2-product-handover-summary span{border:1px solid var(--sv2-line-soft);border-radius:999px;padding:6px 10px;font-size:12px}
.sv2-product-handover-warning{margin:14px 0;color:#ffd6a8}
.sv2-product-handover-list{display:grid;gap:10px;margin-top:14px}.sv2-product-handover-row{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(180px,1fr) auto;gap:10px;align-items:end;border:1px solid var(--sv2-line-soft);border-radius:14px;padding:13px;background:#0b1624}.sv2-product-handover-entry span,.sv2-product-handover-row label span{display:block;font-size:11px;color:var(--sv2-text-soft);margin-bottom:4px}.sv2-product-handover-entry strong{display:block;overflow-wrap:anywhere}.sv2-product-handover-row select{width:100%}.sv2-product-handover-row small{grid-column:1/-1;color:var(--sv2-text-soft)}
@media(max-width:640px){.sv2-product-handover-row{grid-template-columns:1fr}.sv2-product-handover-row small{grid-column:auto}}


/* v0.15.0-dev05 Emergency Transfer saved-assignment UX */
.sv2-product-handover-row{grid-template-columns:minmax(0,1.35fr) minmax(180px,1fr) auto;align-items:center}
.sv2-product-handover-current span{display:block;font-size:11px;color:var(--sv2-text-soft);margin-bottom:4px}
.sv2-product-handover-current strong{display:block;overflow-wrap:anywhere}
.sv2-product-handover-actions{display:flex;gap:8px;justify-content:flex-end;align-items:center;flex-wrap:wrap}
.sv2-product-handover-actions .sv2-product-secondary{min-height:38px;padding:8px 12px}
.sv2-product-handover-editor{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;padding-top:10px;border-top:1px solid var(--sv2-line-soft)}
.sv2-product-handover-editor[hidden]{display:none!important}
.sv2-product-handover-editor label span{display:block;font-size:11px;color:var(--sv2-text-soft);margin-bottom:4px}
.sv2-product-handover-editor select{width:100%}
.sv2-product-handover-editor-actions{display:flex;gap:8px;flex-wrap:wrap}
.sv2-product-handover-row small{grid-column:1/-1}
@media(max-width:640px){
  .sv2-product-handover-row{grid-template-columns:1fr}
  .sv2-product-handover-actions{justify-content:flex-start}
  .sv2-product-handover-editor{grid-column:auto;grid-template-columns:1fr}
  .sv2-product-handover-row small{grid-column:auto}
}
.sv2-product-handover-recipient-email{display:block;margin-top:4px;color:var(--sv2-text-soft);font-size:11px;overflow-wrap:anywhere}

/* v0.15.0-dev11 Emergency Transfer owner notification readiness */
.sv2-product-handover-owner{border:1px solid var(--sv2-line-soft);border-radius:16px;padding:16px;background:#0b1624;margin-bottom:14px}
.sv2-product-handover-owner>strong{display:block;margin-bottom:6px}.sv2-product-handover-owner>p{margin:0 0 12px;line-height:1.65;color:var(--sv2-text-soft)}
.sv2-product-handover-owner dl{display:grid;gap:8px;margin:0 0 12px}.sv2-product-handover-owner dl div{display:grid;grid-template-columns:72px minmax(0,1fr);gap:8px;align-items:baseline}.sv2-product-handover-owner dt{font-size:12px;color:var(--sv2-text-soft)}.sv2-product-handover-owner dd{margin:0;overflow-wrap:anywhere}.sv2-product-handover-owner dd small{margin-left:6px;color:var(--sv2-text-soft)}
.sv2-product-handover-owner.is-ready{border-color:rgba(125,211,252,.38)}.sv2-product-handover-owner [data-handover-owner-test-status]{display:block;margin-top:8px;color:var(--sv2-text-soft)}
@media(max-width:640px){.sv2-product-handover-owner dl div{grid-template-columns:1fr;gap:2px}}

/* v0.15.0-dev12: owner notification uses verified registration/recovery contacts automatically; no separate owner-notification UI. */

/* v0.15.0-dev13 Emergency Transfer recipient enrollment */
.sv2-product-handover-enrollment{border:1px solid rgba(125,211,252,.38);border-radius:16px;padding:16px;background:#0b1624;margin-bottom:14px}
.sv2-product-handover-enrollment>strong{display:block;margin-bottom:6px}.sv2-product-handover-enrollment>p{margin:0 0 12px;line-height:1.65;color:var(--sv2-text-soft)}
.sv2-product-handover-enrollment>small{display:block;margin-top:10px;color:var(--sv2-text-soft);line-height:1.55}
.sv2-product-handover-enrollment-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center;border-top:1px solid var(--sv2-line-soft);padding:12px 0}
.sv2-product-handover-enrollment-row:first-of-type{border-top:0}.sv2-product-handover-enrollment-row strong{display:block}.sv2-product-handover-enrollment-row small{display:block;color:var(--sv2-text-soft);overflow-wrap:anywhere}
.sv2-product-handover-enrollment-state{font-size:12px;border:1px solid var(--sv2-line-soft);border-radius:999px;padding:5px 9px;white-space:nowrap}
.sv2-product-handover-enrollment-row>[data-handover-enroll-status]{grid-column:1/-1}
@media(max-width:640px){.sv2-product-handover-enrollment-row{grid-template-columns:1fr}.sv2-product-handover-enrollment-row>[data-handover-enroll-status]{grid-column:auto}}
/* v0.15.0-dev25: keep Emergency Transfer request headers readable on desktop.
   Request cards use two columns (identity + status); explanatory/actions span the full next row. */
.sv2-product-handover-request-row{grid-template-columns:minmax(0,1fr) auto;align-items:start}
.sv2-product-handover-request-row>div:first-child{min-width:0}
.sv2-product-handover-request-row>div:first-child>strong{overflow-wrap:normal;word-break:keep-all}
.sv2-product-handover-request-row>div:first-child>small{overflow-wrap:normal;word-break:normal}
.sv2-product-handover-request-row>small{grid-column:1/-1}
.sv2-product-handover-request-row>button,.sv2-product-handover-request-row>.sv2-product-handover-decision-actions{grid-column:1/-1;justify-self:start}
@media(max-width:640px){.sv2-product-handover-request-row{grid-template-columns:1fr}}


/* v0.15.0-dev38 Emergency Transfer production-facing UX pass */
.sv2-product-handover-package-state{grid-column:1/-1}
@media(max-width:640px){
  .sv2-product-handover-enrollment{padding:14px}
  .sv2-product-handover-request-row>.sv2-product-handover-enrollment-state{justify-self:start}
  .sv2-product-handover-request-row>button{width:100%}
  .sv2-product-handover-decision-actions{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .sv2-product-handover-decision-actions button{width:100%}
  .sv2-product-handover-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}
  .sv2-product-handover-actions .sv2-product-secondary{width:100%}
  .sv2-product-handover-editor-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}
  .sv2-product-handover-editor-actions button{width:100%}
  .sv2-product-handover-package-state .sv2-product-secondary{width:100%}
}
@media(max-width:380px){
  .sv2-product-handover-decision-actions,.sv2-product-handover-actions,.sv2-product-handover-editor-actions{grid-template-columns:1fr}
}

/* v0.16.0-dev01 DIM AI Assistant foundation */
.sv2-product-ai-tile{position:relative;overflow:hidden}
.sv2-product-ai-tile::after{content:"";position:absolute;right:-34px;top:-34px;width:110px;height:110px;border-radius:50%;background:rgba(197,210,224,.06);pointer-events:none}
.sv2-product-section-nav{display:flex;align-items:center;justify-content:space-between;gap:12px}
.sv2-product-ai-shortcut{appearance:none;border:1px solid #3a5069;border-radius:999px;background:#0d1c2d;color:#dce4ec;padding:7px 11px;font-size:11px;font-weight:760;cursor:pointer}
.sv2-product-ai-shortcut:hover{border-color:#6c8198;background:#13263b}
.sv2-product-ai-shell{display:grid;gap:12px}
.sv2-product-ai-boundary{display:grid;gap:5px;padding:15px 16px;border:1px solid rgba(115,148,184,.26);border-radius:16px;background:#0a1727}
.sv2-product-ai-boundary strong{font-size:13px}
.sv2-product-ai-boundary span{color:var(--sv2-muted);font-size:11px;line-height:1.65}
.sv2-product-ai-context{display:flex;align-items:center;gap:9px;padding:11px 13px;border:1px solid var(--sv2-line-soft);border-radius:14px;background:var(--sv2-panel)}
.sv2-product-ai-context>span{color:#8092a6;font-size:10px}
.sv2-product-ai-context>strong{font-size:12px}
.sv2-product-ai-return{margin-left:auto;appearance:none;border:0;background:transparent;color:#a9b9ca;font-size:10px;font-weight:760;cursor:pointer}
.sv2-product-ai-return:hover{color:#fff}
.sv2-product-ai-chat{display:flex;flex-direction:column;gap:10px;min-height:280px;max-height:52vh;overflow:auto;padding:16px;border:1px solid var(--sv2-line-soft);border-radius:18px;background:#07121f}
.sv2-product-ai-message{max-width:min(86%,680px);padding:12px 14px;border:1px solid #2f455d;border-radius:15px;background:#102238;color:var(--sv2-text);overflow-wrap:anywhere}
.sv2-product-ai-message.is-user{align-self:flex-end;background:#d6dee7;color:#111923;border-color:#d6dee7}
.sv2-product-ai-message.is-support,.sv2-product-ai-message.is-warning{border-color:rgba(211,171,95,.55);background:rgba(91,63,18,.22)}
.sv2-product-ai-message small{display:block;margin-bottom:5px;color:#8194aa;font-size:9px;font-weight:800;letter-spacing:.04em}
.sv2-product-ai-message.is-user small{color:#4e6073}
.sv2-product-ai-message>div{font-size:13px;line-height:1.72;white-space:pre-wrap}
.sv2-product-ai-thinking{align-self:flex-start;color:#8296ab;font-size:11px;padding:4px 2px}
.sv2-product-ai-form{display:grid;gap:8px;padding:15px;border:1px solid var(--sv2-line-soft);border-radius:18px;background:var(--sv2-panel)}
.sv2-product-ai-form>label{font-size:12px;font-weight:760}
.sv2-product-ai-form>small{color:#7f91a5;font-size:10px;line-height:1.6}
.sv2-product-ai-input-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:stretch}
.sv2-product-ai-input-row textarea{width:100%;min-height:54px;max-height:160px;resize:vertical;padding:11px 12px;border:1px solid #354b64;border-radius:12px;background:#07111e;color:var(--sv2-text);font:inherit;line-height:1.55;outline:none}
.sv2-product-ai-input-row textarea:focus{border-color:#7f91a5;box-shadow:0 0 0 3px rgba(127,145,165,.10)}
.sv2-product-ai-input-row .sv2-product-primary{min-width:86px}
@media(max-width:640px){
    .sv2-product-section-nav{align-items:flex-start;flex-direction:column}
    .sv2-product-ai-shortcut{align-self:flex-end}
    .sv2-product-ai-context{align-items:flex-start;flex-wrap:wrap}
    .sv2-product-ai-return{width:100%;margin-left:0;text-align:left;padding:4px 0 0}
    .sv2-product-ai-chat{min-height:240px;max-height:48vh;padding:12px}
    .sv2-product-ai-message{max-width:92%}
    .sv2-product-ai-input-row{grid-template-columns:1fr}
    .sv2-product-ai-input-row .sv2-product-primary{width:100%}
}


/* v0.16.0-dev02: persistent bottom-right DIM AI popup. */
.sv2-product-ai-popup-form .screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.sv2-product-ai-float{position:fixed;right:22px;bottom:22px;z-index:9990;display:flex;flex-direction:column;align-items:flex-end;gap:10px;pointer-events:none}
.sv2-product-ai-float[hidden]{display:none!important}
.sv2-product-ai-launcher,.sv2-product-ai-popup{pointer-events:auto}
.sv2-product-ai-launcher{appearance:none;display:flex;align-items:center;gap:10px;border:1px solid rgba(132,158,186,.42);border-radius:999px;background:#0d1c2d;color:#eef4fa;padding:8px 14px 8px 8px;box-shadow:0 14px 40px rgba(0,0,0,.34);cursor:pointer}
.sv2-product-ai-launcher:hover{background:#13263b;border-color:#7890a9}
.sv2-product-ai-launcher-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#dbe4ed;color:#111a24;font-size:13px;font-weight:900;letter-spacing:.03em}
.sv2-product-ai-launcher-copy{display:grid;text-align:left;line-height:1.15}
.sv2-product-ai-launcher-copy strong{font-size:12px}
.sv2-product-ai-launcher-copy small{margin-top:4px;color:#9eb0c2;font-size:9px}
.sv2-product-ai-popup{width:min(390px,calc(100vw - 28px));max-height:min(650px,calc(100vh - 100px));display:grid;grid-template-rows:auto auto auto minmax(150px,1fr) auto auto;overflow:hidden;border:1px solid rgba(125,151,180,.38);border-radius:20px;background:#091522;color:var(--sv2-text);box-shadow:0 24px 70px rgba(0,0,0,.48)}
.sv2-product-ai-popup[hidden]{display:none!important}
.sv2-product-ai-popup-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 15px;border-bottom:1px solid var(--sv2-line-soft);background:#0d1c2d}
.sv2-product-ai-popup-head>div{display:grid;gap:3px}
.sv2-product-ai-popup-head small{color:#8fa2b5;font-size:9px;font-weight:760}
.sv2-product-ai-popup-head strong{font-size:13px}
.sv2-product-ai-popup-close{appearance:none;border:0;width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,.06);color:#d9e2eb;font-size:20px;line-height:1;cursor:pointer}
.sv2-product-ai-popup-close:hover{background:rgba(255,255,255,.12)}
.sv2-product-ai-popup-boundary{display:grid;gap:3px;padding:10px 14px;background:#0a1828;border-bottom:1px solid var(--sv2-line-soft)}
.sv2-product-ai-popup-boundary span{color:#8ea1b5;font-size:9px;line-height:1.55}
.sv2-product-ai-popup-context{display:flex;align-items:center;gap:8px;padding:8px 14px;border-bottom:1px solid var(--sv2-line-soft);background:#08131f}
.sv2-product-ai-popup-context span{color:#7f92a6;font-size:9px}
.sv2-product-ai-popup-context strong{font-size:10px}
.sv2-product-ai-popup-chat{display:flex;flex-direction:column;gap:9px;overflow:auto;padding:13px;background:#07111d}
.sv2-product-ai-popup-chat .sv2-product-ai-message{max-width:92%;padding:10px 12px;border-radius:13px}
.sv2-product-ai-popup-chat .sv2-product-ai-message>div{font-size:11px;line-height:1.65}
.sv2-product-ai-popup-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:11px;border-top:1px solid var(--sv2-line-soft);background:#0b1827}
.sv2-product-ai-popup-form textarea{width:100%;min-height:48px;max-height:110px;resize:vertical;padding:10px 11px;border:1px solid #344a61;border-radius:12px;background:#06101b;color:var(--sv2-text);font:inherit;font-size:11px;line-height:1.5;outline:none}
.sv2-product-ai-popup-form textarea:focus{border-color:#7f91a5;box-shadow:0 0 0 3px rgba(127,145,165,.10)}
.sv2-product-ai-popup-send{appearance:none;align-self:stretch;min-width:64px;border:0;border-radius:12px;background:#dbe4ed;color:#111923;padding:0 13px;font-size:11px;font-weight:850;cursor:pointer}
.sv2-product-ai-popup-send:disabled{opacity:.55;cursor:wait}
.sv2-product-ai-popup-note{display:block;padding:0 13px 11px;background:#0b1827;color:#73879b;font-size:8px;line-height:1.45}
@media(max-width:640px){
  .sv2-product-ai-float{right:12px;bottom:12px}
  .sv2-product-ai-launcher{padding-right:11px}
  .sv2-product-ai-launcher-copy small{display:none}
  .sv2-product-ai-popup{width:calc(100vw - 24px);max-height:calc(100dvh - 84px);border-radius:18px}
  .sv2-product-ai-popup-form{grid-template-columns:1fr}
  .sv2-product-ai-popup-send{min-height:40px}
}


/* v0.16.0-dev03: AI launcher visibility + card-area alignment hotfix. */
.sv2-product-ai-tile{position:relative;border-color:rgba(184,197,213,.42);background:linear-gradient(135deg,#122740,#0d1b2c)}
.sv2-product-ai-tile::after{content:"新機能";position:absolute;top:16px;right:16px;padding:4px 8px;border:1px solid rgba(219,228,237,.40);border-radius:999px;background:rgba(219,228,237,.08);color:#dbe4ed;font-size:9px;font-weight:850;letter-spacing:.04em}
.sv2-product-ai-float{right:max(18px,calc((100vw - 1120px)/2 + 26px));bottom:clamp(76px,10vh,118px);gap:12px}
.sv2-product-ai-launcher{min-width:192px;padding:10px 18px 10px 10px;border-color:rgba(219,228,237,.62);background:linear-gradient(135deg,#18324f,#0f2034);box-shadow:0 18px 50px rgba(0,0,0,.44),0 0 0 1px rgba(219,228,237,.06);transition:transform .15s ease,background .15s ease,border-color .15s ease,box-shadow .15s ease}
.sv2-product-ai-launcher:hover,.sv2-product-ai-launcher:focus-visible{transform:translateY(-2px);background:linear-gradient(135deg,#1d3a5b,#132943);border-color:#dbe4ed;box-shadow:0 22px 58px rgba(0,0,0,.50),0 0 0 3px rgba(219,228,237,.10);outline:none}
.sv2-product-ai-launcher-mark{width:44px;height:44px;font-size:14px;box-shadow:inset 0 0 0 1px rgba(17,26,36,.08)}
.sv2-product-ai-launcher-copy strong{font-size:13px;letter-spacing:.01em}
.sv2-product-ai-launcher-copy small{margin-top:5px;color:#b5c3d1;font-size:10px}
@media(max-width:640px){
  .sv2-product-ai-float{right:12px;bottom:18px}
  .sv2-product-ai-launcher{min-width:164px;padding:8px 13px 8px 8px}
  .sv2-product-ai-launcher-mark{width:40px;height:40px}
  .sv2-product-ai-launcher-copy small{display:block;font-size:9px}
}


/* v0.16.0-dev20: public Support route for users who cannot log in. */
.sv2-product-support-link{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:42px;
  margin-top:2px;
  padding:9px 14px;
  border:1px solid rgba(148,163,184,.28);
  border-radius:12px;
  background:rgba(15,23,42,.38);
  color:#c9d5e3;
  font-weight:700;
  text-decoration:none;
  box-sizing:border-box;
}
.sv2-product-support-link:hover,
.sv2-product-support-link:focus-visible{
  background:rgba(30,41,59,.72);
  border-color:#667c95;
  color:#fff;
  text-decoration:none;
  outline:none;
}


/* v0.16.0-dev24: use the official gold DIM logo instead of the temporary text monogram. */
.sv2-product-logo-brand{
    display:block;
    object-fit:contain;
    object-position:center;
    background:transparent;
    border:0;
}


/* v0.16.0-dev25: persistent staff-like DIM AI guide. */
.sv2-product-ai-launcher-mark{
  overflow:hidden;padding:0;background:#0b1624;
  border:1px solid rgba(214,169,78,.72);
  box-shadow:0 0 0 2px rgba(214,169,78,.10),0 6px 18px rgba(0,0,0,.28)
}
.sv2-product-ai-launcher-mark img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
.sv2-product-ai-popup-identity{display:flex!important;align-items:center;gap:10px}
.sv2-product-ai-popup-identity>div{display:grid;gap:3px}
.sv2-product-ai-avatar{width:42px;height:42px;flex:0 0 42px;display:block;object-fit:cover;border-radius:50%;border:1px solid rgba(214,169,78,.72);box-shadow:0 0 0 2px rgba(214,169,78,.08)}
.sv2-product-ai-message-label{display:flex;align-items:center;gap:6px}
.sv2-product-ai-message-avatar{width:22px;height:22px;flex:0 0 22px;display:block;object-fit:cover;border-radius:50%;border:1px solid rgba(214,169,78,.55)}


/* v0.16.0-dev30: real encrypted To-do lifecycle */
.sv2-product-todo-toolbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin:0 0 14px;
}
.sv2-product-todo-toolbar>span{
    color:var(--sv2-muted);
    font-size:.86rem;
}
.sv2-product-todo-card.is-completed{
    opacity:.82;
}
.sv2-product-todo-card.is-completed strong{
    text-decoration:line-through;
    text-decoration-thickness:1px;
}
.sv2-product-todo-completed{
    margin-top:12px;
    display:grid;
    gap:10px;
}
@media (max-width:640px){
    .sv2-product-todo-toolbar{
        align-items:stretch;
        flex-direction:column;
    }
}


/* v0.16.0-dev31: make To-do actions unmistakably clickable. */
.sv2-product-todo-card .sv2-product-card-actions{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}
.sv2-product-todo-card .sv2-product-card-actions button{
    min-height:34px;
    min-width:58px;
    padding:7px 12px;
    border:1px solid #60758c;
    border-radius:9px;
    background:#17304a;
    color:#f2f6fa;
    font-size:11px;
    font-weight:750;
    line-height:1.2;
    cursor:pointer;
    box-shadow:0 1px 0 rgba(255,255,255,.04) inset,0 3px 10px rgba(0,0,0,.16);
    transition:background .15s ease,border-color .15s ease,transform .15s ease,filter .15s ease,opacity .15s ease;
}
.sv2-product-todo-card .sv2-product-card-actions button:hover{
    background:#1e3c5c;
    border-color:#8297ac;
    transform:translateY(-1px);
}
.sv2-product-todo-card .sv2-product-card-actions button:active{
    transform:translateY(0);
    filter:brightness(.94);
}
.sv2-product-todo-card .sv2-product-card-actions button[data-todo-delete]{
    border-color:#7e4d58;
    background:#321d25;
    color:#ffd9df;
}
.sv2-product-todo-card .sv2-product-card-actions button[data-todo-delete]:hover{
    border-color:#a45d6c;
    background:#45242f;
}
.sv2-product-todo-card .sv2-product-card-actions button.is-confirm{
    border-color:#c96c7b;
    background:#572a36;
    color:#fff3f5;
}
.sv2-product-todo-card .sv2-product-card-actions button:disabled{
    opacity:.42;
    cursor:not-allowed;
    transform:none;
    filter:grayscale(.35);
    box-shadow:none;
}
.sv2-product-history{
    border-color:#526b84;
    background:#10263d;
    color:#dce7f1;
    font-weight:720;
    cursor:pointer;
}
.sv2-product-history:hover:not(:disabled){
    border-color:#7890a8;
    background:#17324d;
}
.sv2-product-history:disabled{
    opacity:.40;
    cursor:not-allowed;
}
@media(max-width:640px){
    .sv2-product-todo-card .sv2-product-card-actions{
        width:100%;
    }
    .sv2-product-todo-card .sv2-product-card-actions button{
        flex:1 1 calc(33.333% - 6px);
        min-width:84px;
    }
}


/* v0.16.0-dev34: visible Recovery readiness on Home and Recovery page. */
.sv2-product-recovery-entry{
    min-width:220px;
    display:grid;
    gap:4px;
    padding:11px 14px;
    border:1px solid #52677e;
    border-radius:12px;
    background:#102238;
    color:#eef4fa;
    text-align:left;
    cursor:pointer;
    transition:border-color .15s ease,background .15s ease,box-shadow .15s ease,transform .15s ease;
}
.sv2-product-recovery-entry:hover{transform:translateY(-1px)}
.sv2-product-recovery-entry-title{font-size:12px;font-weight:800}
.sv2-product-recovery-entry-status{font-size:10px;line-height:1.45;font-weight:700}
.sv2-product-recovery-entry.is-incomplete{
    border-color:rgba(255,123,128,.58);
    background:rgba(105,35,43,.20);
    box-shadow:0 0 0 1px rgba(255,123,128,.06) inset;
}
.sv2-product-recovery-entry.is-incomplete .sv2-product-recovery-entry-status{color:#ff9ca0}
.sv2-product-recovery-entry.is-complete{
    border-color:rgba(82,190,137,.58);
    background:rgba(29,92,63,.19);
    box-shadow:0 0 0 1px rgba(82,190,137,.06) inset;
}
.sv2-product-recovery-entry.is-complete .sv2-product-recovery-entry-status{color:#86d6ae}
.sv2-product-recovery-entry.is-unknown{border-color:#52677e;background:#102238}
.sv2-product-recovery-entry.is-unknown .sv2-product-recovery-entry-status{color:#9eb0c4}

.sv2-recovery-summary-status[data-type=warning]{color:#ff8f94}
.sv2-recovery-summary-status[data-type=mixed]{
    display:grid;
    gap:3px;
    color:inherit;
}
.sv2-recovery-status-saved,
.sv2-recovery-status-complete{
    display:block;
    color:#7fc8a3;
}
.sv2-recovery-status-missing{
    display:block;
    color:#ff8f94;
    font-weight:760;
}

@media(max-width:720px){
    .sv2-product-security-card{align-items:stretch;flex-wrap:wrap}
    .sv2-product-recovery-entry{width:100%;min-width:0}
}


/* v0.16.0-dev35: explicit Recovery-profile save completion state. */
.sv2-product-recovery-profile-actions{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    align-items:center;
}
#sv2-product-recovery-profile-submit.is-success{
    border-color:rgba(82,190,137,.72);
    background:rgba(29,92,63,.34);
    color:#a7e4c5;
    box-shadow:0 0 0 1px rgba(82,190,137,.08) inset;
    opacity:1;
}
#sv2-product-recovery-profile-submit.is-success:disabled{
    opacity:1;
    cursor:default;
}
#sv2-product-recovery-profile-home{
    min-height:38px;
}
#sv2-product-recovery-profile-home[hidden]{
    display:none!important;
}
@media(max-width:640px){
    .sv2-product-recovery-profile-actions{
        align-items:stretch;
        flex-direction:column;
    }
    .sv2-product-recovery-profile-actions button{
        width:100%;
    }
}


/* v0.16.0-dev36: Home security card = one standard tile width, clear of DIM AI launcher. */
.sv2-product-security-card{
    position:relative;
    box-sizing:border-box;
    width:calc((100% - 14px) / 2);
    min-height:150px;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    gap:14px;
}
.sv2-product-security-card .sv2-product-security-dot{
    position:absolute;
    top:20px;
    right:20px;
}
.sv2-product-security-card .sv2-product-recovery-entry{
    width:100%;
    min-width:0;
    margin-top:auto;
    box-sizing:border-box;
}

/* Mobile: use the normal single-column width and leave scroll clearance for the fixed AI launcher. */
@media(max-width:720px){
    .sv2-product-security-card{
        width:100%;
        min-height:0;
        margin-bottom:78px;
        align-items:stretch;
        flex-wrap:nowrap;
    }
}


/* v0.16.0-dev37: compact Emergency Transfer ON/OFF control. */
.sv2-product-handover-toggle{
    min-width:72px;min-height:40px;padding:8px 16px;border-radius:999px;
    border:1px solid var(--sv2-line-soft);font-weight:900;letter-spacing:.04em;
    cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease,transform .15s ease
}
.sv2-product-handover-toggle:hover{transform:translateY(-1px)}
.sv2-product-handover-toggle.is-off{background:#111c2a;border-color:#52677e;color:#a9b8c8}
.sv2-product-handover-toggle.is-on{background:rgba(29,92,63,.34);border-color:rgba(82,190,137,.72);color:#a7e4c5}
.sv2-product-handover-toggle:disabled{cursor:not-allowed;opacity:.52;transform:none}
.sv2-product-handover-recipient-change{
    display:inline-flex;margin-top:6px;padding:0;border:0;background:transparent;color:#8fc7ff;
    font:inherit;font-size:11px;font-weight:750;cursor:pointer;text-decoration:underline;text-underline-offset:2px
}
.sv2-product-handover-recipient-change:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:640px){
    .sv2-product-handover-actions{justify-content:flex-start}
    .sv2-product-handover-toggle{min-width:92px}
}


/* v0.16.0-dev38: choose one common recipient, then one-click ON per item. */
.sv2-product-handover-default-recipient{
    display:grid;
    gap:7px;
    margin:12px 0 14px;
    padding:12px 14px;
    border:1px solid rgba(143,199,255,.28);
    border-radius:12px;
    background:rgba(18,39,61,.48);
}
.sv2-product-handover-default-recipient label{
    display:grid;
    grid-template-columns:minmax(150px,.7fr) minmax(220px,1.3fr);
    gap:10px;
    align-items:center;
}
.sv2-product-handover-default-recipient label>span{
    font-weight:800;
    color:#dce9f7;
}
.sv2-product-handover-default-recipient select{
    min-height:40px;
    width:100%;
}
.sv2-product-handover-default-recipient small{
    color:#9fb1c5;
    line-height:1.55;
}
.sv2-product-handover-default-recipient small[data-type=success]{
    color:#86d6ae;
}
@media(max-width:640px){
    .sv2-product-handover-default-recipient label{
        grid-template-columns:1fr;
    }
}


/* v0.16.0-dev39: softer, compact common-recipient selector. */
.sv2-product-handover-default-recipient{
    max-width:640px;
    padding:11px 12px 10px;
    border-radius:16px;
    border-color:rgba(143,199,255,.20);
    background:linear-gradient(180deg,rgba(18,39,61,.42),rgba(13,29,46,.34));
    box-shadow:0 8px 20px rgba(4,13,24,.10);
}
.sv2-product-handover-default-recipient label{
    grid-template-columns:max-content minmax(240px,1fr);
    gap:12px;
}
.sv2-product-handover-default-recipient label>span{
    display:inline-flex;
    align-items:center;
    min-height:32px;
    padding:5px 10px;
    border:1px solid rgba(143,199,255,.18);
    border-radius:999px;
    background:rgba(143,199,255,.07);
    color:#d9e8f8;
    font-size:12px;
    font-weight:850;
    white-space:nowrap;
}
.sv2-product-handover-default-recipient select{
    min-height:42px;
    padding:8px 12px;
    border:1px solid rgba(143,199,255,.32);
    border-radius:14px;
    background:#0f2236;
    color:#edf5fd;
    box-shadow:0 2px 10px rgba(3,10,18,.12) inset;
    outline:none;
    transition:border-color .15s ease,box-shadow .15s ease,background .15s ease;
}
.sv2-product-handover-default-recipient select:hover{
    border-color:rgba(143,199,255,.50);
    background:#12283f;
}
.sv2-product-handover-default-recipient select:focus{
    border-color:rgba(143,199,255,.72);
    box-shadow:0 0 0 3px rgba(86,163,230,.12),0 2px 10px rgba(3,10,18,.12) inset;
}
.sv2-product-handover-default-recipient>small:first-of-type{
    padding-left:2px;
    font-size:11px;
    opacity:.92;
}
@media(max-width:640px){
    .sv2-product-handover-default-recipient{
        max-width:none;
        border-radius:14px;
    }
    .sv2-product-handover-default-recipient label{
        grid-template-columns:1fr;
        gap:7px;
    }
    .sv2-product-handover-default-recipient label>span{
        width:max-content;
        max-width:100%;
    }
}

/* v0.16.1-rc14 cancellation confirmation */
.sv2-contract-confirm-option{display:flex;align-items:flex-start;gap:12px;border:1px solid rgba(220,38,38,.28);background:rgba(127,29,29,.08);border-radius:14px;padding:14px 16px;cursor:pointer;margin-top:12px}.sv2-contract-confirm-option input{width:20px;height:20px;margin-top:3px;flex:0 0 auto}.sv2-contract-confirm-option span{display:grid;gap:4px}.sv2-contract-confirm-option strong{font-weight:800}.sv2-contract-confirm-option small{opacity:.82;line-height:1.55}.sv2-contract-resume-confirm{margin-top:12px;padding-top:12px;border-top:1px solid rgba(148,163,184,.24)}

/* v0.16.1-rc34 account maintenance inside current-contract card */
.sv2-account-security-list{display:grid;gap:10px;margin-top:12px;padding-top:12px;border-top:1px solid #263b50}
.sv2-account-security-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid #263b50;border-radius:12px;background:#0c1a29}
.sv2-account-security-row>div{min-width:0;display:grid;gap:4px}
.sv2-account-security-row span{font-size:12px;font-weight:700;color:#91a4b6}
.sv2-account-security-row strong{font-size:14px;color:#eef4f8;overflow-wrap:anywhere}
.sv2-account-security-row small{font-size:11px;line-height:1.5;color:#8195a8}
.sv2-account-security-row .sv2-product-secondary{flex:0 0 auto}
.sv2-account-security-editor{margin-top:12px;padding:14px;border:1px solid #31465c;border-radius:14px;background:#0b1826;display:grid;gap:12px}
.sv2-account-security-editor[hidden]{display:none!important}
.sv2-account-security-editor>strong{font-size:15px;color:#fff}
.sv2-account-security-editor>p{margin:0;color:#aebdca;font-size:12px;line-height:1.65}
.sv2-account-security-editor .sv2-product-register-field{margin:0}
@media(max-width:620px){.sv2-account-security-row{align-items:flex-start;flex-direction:column}.sv2-account-security-row .sv2-product-secondary{width:100%}}

/* v0.16.1-rc35: keep account-maintenance rows readable inside contract summary. */
.sv2-account-security-row{
    display:grid;
    grid-template-columns:minmax(145px,auto) minmax(0,1fr) auto;
    grid-template-rows:auto auto;
    align-items:center;
    column-gap:14px;
    row-gap:6px;
}
.sv2-account-security-row>div{display:contents}
.sv2-account-security-row span{
    grid-column:1;
    grid-row:1;
    white-space:nowrap;
    min-width:max-content;
}
.sv2-account-security-row strong{
    grid-column:2;
    grid-row:1;
    min-width:0;
    line-height:1.45;
    overflow-wrap:anywhere;
    word-break:normal;
}
.sv2-account-security-row small{
    grid-column:1 / 3;
    grid-row:2;
    min-width:0;
}
.sv2-account-security-row .sv2-product-secondary{
    grid-column:3;
    grid-row:1 / span 2;
    align-self:center;
    justify-self:end;
    min-width:76px;
}
@media(max-width:760px){
    .sv2-account-security-row{
        grid-template-columns:minmax(0,1fr) auto;
        grid-template-rows:auto auto auto;
        align-items:start;
    }
    .sv2-account-security-row span{
        grid-column:1 / 3;
        grid-row:1;
        min-width:0;
        white-space:normal;
    }
    .sv2-account-security-row strong{
        grid-column:1;
        grid-row:2;
    }
    .sv2-account-security-row small{
        grid-column:1 / 3;
        grid-row:3;
    }
    .sv2-account-security-row .sv2-product-secondary{
        grid-column:2;
        grid-row:2;
        align-self:start;
        justify-self:end;
        width:auto;
        min-width:76px;
    }
}
@media(max-width:460px){
    .sv2-account-security-row{
        grid-template-columns:1fr;
    }
    .sv2-account-security-row span,
    .sv2-account-security-row strong,
    .sv2-account-security-row small,
    .sv2-account-security-row .sv2-product-secondary{
        grid-column:1;
    }
    .sv2-account-security-row span{grid-row:1}
    .sv2-account-security-row strong{grid-row:2}
    .sv2-account-security-row small{grid-row:3}
    .sv2-account-security-row .sv2-product-secondary{
        grid-row:4;
        width:100%;
        justify-self:stretch;
    }
}


/* v0.16.1-rc36: make saved Recovery Profile state unmistakable without exposing verifier-only plaintext. */
.sv2-recovery-current-summary{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
    margin:0 0 14px;
}
.sv2-recovery-current-summary[hidden]{display:none!important}
.sv2-recovery-current-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    min-width:0;
    padding:10px 12px;
    border:1px solid var(--sv2-line-soft);
    border-radius:12px;
    background:rgba(8,23,39,.58);
}
.sv2-recovery-current-row span{color:var(--sv2-muted);font-size:11px;font-weight:650}
.sv2-recovery-current-row strong{min-width:0;color:#86d6ae;font-size:12px;font-weight:780;text-align:right;overflow-wrap:anywhere}
.sv2-recovery-current-row.is-missing strong{color:#ff9ca0}
.sv2-recovery-current-hint{display:block;margin-top:6px;color:#8fa5bb;font-size:10px;line-height:1.45}
@media(max-width:680px){
    .sv2-recovery-current-summary{grid-template-columns:1fr}
    .sv2-recovery-current-row{align-items:flex-start;flex-direction:column;gap:4px}
    .sv2-recovery-current-row strong{text-align:left}
}


/* v0.17.10 Candidate10: passkey re-enrollment UX */
.sv2-product-passkey-enroll-prompt { margin-top: 16px; }
.sv2-product-passkey-enroll-prompt > p { margin: 10px 0 0; line-height: 1.7; }
.sv2-product-passkey-enroll-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 14px; }
.sv2-product-passkey-enroll-actions .sv2-product-submit,
.sv2-product-passkey-enroll-actions .sv2-product-secondary { width: 100%; }
@media (min-width: 720px) {
  .sv2-product-passkey-enroll-actions { grid-template-columns: 1fr 1fr; }
}

/* v0.17.10 Candidate10: post-recovery success view */
#sv2-product-identity-recovery-reset.is-committed > label,
#sv2-product-identity-recovery-reset.is-committed > .sv2-product-field-row { display: none !important; }
#sv2-product-identity-recovery-reset.is-committed #sv2-product-identity-recovery-reset-result { display: block; }


/* v0.17.26: accessible, safe Markdown-lite display for AI answers only. */
.sv2-product-ai-message>.sv2-product-ai-formatted-answer{white-space:normal}
.sv2-product-ai-formatted-answer p{margin:0 0 .75em;white-space:pre-line}
.sv2-product-ai-formatted-answer p:last-child{margin-bottom:0}
.sv2-product-ai-formatted-answer h4{margin:.9em 0 .35em;font:inherit;font-size:1.06em;font-weight:800;line-height:1.5;color:inherit}
.sv2-product-ai-formatted-answer h4:first-child{margin-top:0}
.sv2-product-ai-formatted-answer ul,.sv2-product-ai-formatted-answer ol{margin:.25em 0 .85em;padding-inline-start:1.6em}
.sv2-product-ai-formatted-answer li{margin:.18em 0;line-height:1.7}
.sv2-product-ai-formatted-answer strong{font-weight:800;color:inherit}
.sv2-product-ai-formatted-answer a{color:#b3ddff;text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}
.sv2-product-ai-formatted-answer code{padding:.04em .28em;border-radius:4px;background:rgba(255,255,255,.10);font-size:.92em;overflow-wrap:anywhere}
.sv2-product-ai-formatted-answer pre{max-width:100%;overflow-x:auto;margin:.5em 0 .8em;padding:.7em;border-radius:8px;background:rgba(0,0,0,.27);white-space:pre-wrap}
.sv2-product-ai-formatted-answer pre code{padding:0;background:none;white-space:pre-wrap}

/* v0.17.28: recipient-scoped bulk ON/OFF on the existing emergency transfer card. */
.sv2-product-handover-default-recipient{max-width:none}
.sv2-product-handover-bulk-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.sv2-product-handover-bulk-toolbar>label{display:grid;grid-template-columns:max-content minmax(200px,1fr);align-items:center;gap:10px;min-width:260px;flex:1 1 360px}
.sv2-product-handover-bulk-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap;flex:1 1 280px}
.sv2-product-handover-bulk-actions button{min-height:42px;font-size:12px;font-weight:750;border-radius:12px}
.sv2-product-handover-bulk-actions button:disabled{opacity:.46;cursor:not-allowed}
.sv2-product-handover-default-recipient [data-handover-bulk-status]{display:block;min-height:1em;overflow-wrap:anywhere}
.sv2-product-handover-default-recipient [data-handover-bulk-status][data-type=warning]{color:#f8b4a9}
.sv2-product-handover-default-recipient [data-handover-bulk-status][data-type=success]{color:#86d6ae}
@media(max-width:640px){
  .sv2-product-handover-bulk-toolbar>label{grid-template-columns:1fr;min-width:0;flex-basis:100%}
  .sv2-product-handover-bulk-actions{flex-basis:100%;justify-content:stretch}
  .sv2-product-handover-bulk-actions button{flex:1 1 145px}
}

/* v0.17.29: Business owner-only sharing draft; no recipient access activated. */
.sv2-business-share-draft { display:grid; gap:14px; max-width:780px; margin:0 auto; }
.sv2-business-share-notice { border:1px solid #cadce9; background:#f5f9fc; border-radius:13px; padding:14px; color:#263f52; }
.sv2-business-share-notice p { margin:6px 0 0; font-size:.9rem; line-height:1.7; }
.sv2-business-share-label { display:grid; gap:7px; font-weight:650; }
.sv2-business-share-label input { width:100%; max-width:270px; min-height:45px; border:1px solid #c1d1e0; border-radius:10px; padding:10px; font-size:1rem; }
.sv2-business-share-hint { margin:0; font-size:.85rem; opacity:.8; line-height:1.6; }
.sv2-business-share-toolbar { display:flex; align-items:center; gap:9px; flex-wrap:wrap; }
.sv2-business-share-toolbar strong { flex:1 1 100%; }
.sv2-business-share-toolbar span { margin-right:auto; font-size:.85rem; }
.sv2-business-share-toolbar button { padding:7px 12px; min-height:38px; }
.sv2-business-share-list { display:grid; gap:8px; max-height:520px; overflow:auto; }
.sv2-business-share-entry { display:flex; gap:12px; align-items:center; padding:11px; border:1px solid #d6e0ea; border-radius:10px; background:rgba(255,255,255,.85); }
.sv2-business-share-entry input { flex:0 0 auto; width:19px; height:19px; }
.sv2-business-share-entry span { min-width:0; display:grid; gap:3px; }
.sv2-business-share-entry small { font-size:.77rem; opacity:.72; }
.sv2-business-share-entry strong { overflow-wrap:anywhere; font-size:.91rem; font-weight:600; }
.sv2-business-share-status { font-size:.87rem; line-height:1.6; }
@media(max-width:550px) { .sv2-business-share-draft { gap:12px; } .sv2-business-share-toolbar { gap:7px; } }
#sv2-product-business-share-tile[hidden]{display:none!important}
.sv2-business-share-entry{color:#263f52}
.sv2-business-share-draft .sv2-business-share-label{color:var(--sv2-text)}

/* Business one-person invitation consent. All secret and key exchange flows remain disabled. */
.sv2-business-invite-actions { border:1px solid #cadce9; border-radius:12px; padding:13px; display:grid; gap:9px; background:rgba(246,250,253,.82); }
.sv2-business-invite-actions p { margin:0; line-height:1.6; font-size:.89rem; }
.sv2-business-inbox-buttons { margin-left:auto; display:flex; gap:6px; flex-wrap:wrap; }
.sv2-business-inbox-buttons button { min-height:38px; }
#sv2-business-inbox-shortcut[hidden] { display:none!important; }

/* v0.17.33: Business encrypted selective sharing; mobile first, owner/recipient read only */
.sv2-business-publish-panel{border:1px solid #bfd2e1;border-radius:13px;padding:14px;display:grid;gap:12px;background:rgba(246,250,253,.86)}
.sv2-business-publish-panel>strong{font-size:1rem;color:var(--sv2-text)}
.sv2-business-publish-panel .sv2-product-primary{min-height:44px}
.sv2-business-received-content{display:grid;gap:12px;margin-top:12px;width:100%;min-width:0}
.sv2-business-received-item{border:1px solid #d4e0ea;border-radius:12px;padding:12px;background:#fff;min-width:0;color:#263f52}
.sv2-business-received-item>strong{display:block;overflow-wrap:anywhere;margin-bottom:10px}
.sv2-business-received-item .sv2-product-sample-row{overflow-wrap:anywhere}
@media(max-width:550px){.sv2-business-inbox-buttons,.sv2-business-publish-panel .sv2-business-share-toolbar{display:grid;grid-template-columns:1fr;gap:8px}.sv2-business-inbox-buttons button,.sv2-business-publish-panel button{width:100%;min-height:44px}.sv2-business-share-entry:has(.sv2-business-inbox-buttons){display:grid}}
