.tbis-table td:last-child{min-width:190px}.tbis-table td:last-child .tbis-copy{display:inline-flex;width:auto;margin:0 8px 8px 0}.tbis-table td:last-child .tbis-copy input{display:none}.tbis-table td:last-child>a{display:inline-block;padding:12px 15px;margin:0 5px 8px 0;background:#f4eeee;color:#201b1c!important;text-decoration:none;font-size:12px;font-weight:700;text-transform:uppercase}.tbis-reward{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:24px 0}.tbis-reward>div{padding:34px;background:linear-gradient(135deg,#f4e8e5,#eadbd7)}.tbis-reward span{display:block;font-size:11px;letter-spacing:.18em;font-weight:700;color:#8d6862}.tbis-reward strong{display:block;margin:10px 0;font:normal clamp(36px,6vw,64px) Georgia,serif}.tbis-reward p{max-width:520px;line-height:1.6;color:#655b59}.tbis-coupon{background:#201b1c!important;color:#fff}.tbis-coupon span,.tbis-coupon p{color:#ddcfcc}.tbis-chart{height:280px;display:flex;align-items:flex-end;gap:8px;padding:45px 5px 25px;border-bottom:1px solid #d9ccca;overflow-x:auto}.tbis-chart-item{position:relative;display:flex;flex:1 0 34px;min-width:34px;height:100%;align-items:center;justify-content:flex-end;flex-direction:column}.tbis-chart-item i{display:block;width:72%;min-height:3px;background:linear-gradient(#b98b84,#7e5b56)}.tbis-chart-item small{margin-top:8px;font-size:10px}.tbis-chart-value{display:none;position:absolute;top:-35px;background:#201b1c;color:#fff;padding:5px;white-space:nowrap;font-size:10px}.tbis-chart-item:hover .tbis-chart-value{display:block}.tbis-chart-empty{padding:35px;background:#f7f0ee;color:#655b59}@media(max-width:700px){.tbis-reward{grid-template-columns:1fr}.tbis-table td:last-child{min-width:145px}}
/* Mobile creator dashboard — 0.4.2 */
@media(max-width:700px){
  .tbis-dashboard{width:auto;max-width:100%;margin:12px auto 32px;padding:0 14px;box-sizing:border-box;overflow:hidden}
  .tbis-dashboard .tbis-top{display:flex;align-items:flex-start;gap:16px;margin-bottom:14px}
  .tbis-dashboard .tbis-top>div{min-width:0;flex:1}
  .tbis-dashboard .tbis-top h1{font-size:clamp(34px,11vw,48px);line-height:1;margin:8px 0;overflow-wrap:anywhere}
  .tbis-dashboard .tbis-top>a{flex:0 0 auto;padding:8px 0;font-size:13px}
  .tbis-dashboard .tbis-nav{position:sticky;top:0;z-index:20;gap:8px;margin:0 -14px 20px;padding:10px 14px;border:0;background:rgba(255,255,255,.96);box-shadow:0 1px 0 var(--tb-line);scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .tbis-dashboard .tbis-nav::-webkit-scrollbar{display:none}
  .tbis-dashboard .tbis-nav a{flex:0 0 auto;padding:10px 14px;border:1px solid var(--tb-line);background:#fff;font-size:12px;font-weight:650;scroll-snap-align:start}
  .tbis-dashboard .tbis-nav a:first-child{background:var(--tb-ink);border-color:var(--tb-ink);color:#fff}
  .tbis-dashboard .tbis-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .tbis-dashboard .tbis-cards article{min-width:0;padding:18px 15px}
  .tbis-dashboard .tbis-cards small{min-height:42px;font-size:11px;line-height:1.35}
  .tbis-dashboard .tbis-cards strong{font-size:clamp(23px,7vw,31px);overflow-wrap:anywhere}
  .tbis-dashboard .tbis-cards.compact{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0}
  .tbis-dashboard .tbis-cards.compact article{padding:16px 10px}
  .tbis-dashboard .tbis-cards.compact small{min-height:48px}
  .tbis-dashboard .tbis-cards.compact strong{font-size:24px}
  .tbis-dashboard .tbis-reward{gap:12px;margin:16px 0}
  .tbis-dashboard .tbis-reward>div{padding:26px 22px}
  .tbis-dashboard .tbis-reward strong{font-size:clamp(38px,13vw,58px);line-height:1;overflow-wrap:anywhere;word-break:break-word}
  .tbis-dashboard .tbis-reward p{font-size:14px;line-height:1.55}
  .tbis-dashboard .tbis-coupon .tbis-button{width:100%;margin-top:4px}
  .tbis-dashboard .tbis-panel{padding:22px 16px;margin:16px 0;scroll-margin-top:74px;overflow:hidden}
  .tbis-dashboard .tbis-panel h2{font-size:clamp(25px,8vw,34px);line-height:1.08;margin:0 0 14px}
  .tbis-dashboard .tbis-panel p{font-size:14px;line-height:1.55}
  .tbis-dashboard .tbis-grid{gap:0}
  .tbis-dashboard .tbis-form label,.tbis-dashboard .tbis-panel label{margin-bottom:14px}
  .tbis-dashboard .tbis-panel input{min-height:48px;font-size:16px}
  .tbis-dashboard .tbis-panel form>.tbis-button{width:100%;min-height:48px}
  .tbis-dashboard .tbis-table{position:relative;margin:18px -16px 0;padding:0 16px 8px;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-color:#9b9695 #eee}
  .tbis-dashboard .tbis-table table{min-width:720px}
  .tbis-dashboard .tbis-table th,.tbis-dashboard .tbis-table td{padding:12px 9px;font-size:13px}
  .tbis-dashboard .tbis-table td:first-child{white-space:normal;min-width:210px}
  .tbis-dashboard .tbis-table td:first-child small{display:block;max-width:260px;overflow-wrap:anywhere;word-break:break-word;line-height:1.35}
  .tbis-dashboard .tbis-table td:last-child{min-width:165px}
  .tbis-dashboard .tbis-table td:last-child .tbis-copy{display:flex;width:100%;margin:0 0 7px}
  .tbis-dashboard .tbis-table td:last-child .tbis-copy button{width:100%;min-height:42px}
  .tbis-dashboard .tbis-table td:last-child>a{display:block;text-align:center;margin:0;padding:11px}
  .tbis-dashboard .tbis-chart{height:210px;margin:0 -8px;padding:32px 4px 24px;gap:5px}
  .tbis-dashboard .tbis-chart-item{flex-basis:28px;min-width:28px}
  .tbis-dashboard .tbis-chart-item i{width:76%}
  .tbis-dashboard .tbis-chart-item small{font-size:9px}
}
@media(max-width:380px){
  .tbis-dashboard{padding:0 10px}
  .tbis-dashboard .tbis-nav{margin-left:-10px;margin-right:-10px;padding-left:10px;padding-right:10px}
  .tbis-dashboard .tbis-cards article{padding:15px 11px}
  .tbis-dashboard .tbis-cards small{font-size:10px}
  .tbis-dashboard .tbis-cards strong{font-size:22px}
  .tbis-dashboard .tbis-cards.compact{grid-template-columns:1fr}
  .tbis-dashboard .tbis-cards.compact small{min-height:0}
}

/* Mobile tables become readable cards instead of wide swipe areas — 0.4.3 */
@media(max-width:700px){
  .tbis-dashboard .tbis-table{margin:18px 0 0;padding:0;overflow:visible}
  .tbis-dashboard .tbis-table table{display:block;width:100%;min-width:0}
  .tbis-dashboard .tbis-table thead{display:none}
  .tbis-dashboard .tbis-table tbody{display:grid;gap:12px;width:100%}
  .tbis-dashboard .tbis-table tr{display:block;width:100%;box-sizing:border-box;border:1px solid var(--tb-line);background:#fff;padding:8px 14px}
  .tbis-dashboard .tbis-table td{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;width:100%;min-width:0!important;box-sizing:border-box;padding:10px 0;border-bottom:1px solid #eee;white-space:normal;text-align:right;font-size:14px}
  .tbis-dashboard .tbis-table td:last-child{border-bottom:0}
  .tbis-dashboard .tbis-table td:before{flex:0 0 42%;color:#806e6a;font-size:11px;font-weight:700;line-height:1.4;letter-spacing:.04em;text-align:left;text-transform:uppercase}
  .tbis-dashboard .tbis-table td:first-child{display:block;text-align:left;padding:12px 0}
  .tbis-dashboard .tbis-table td:first-child:before{display:block;margin-bottom:5px}
  .tbis-dashboard .tbis-table td:first-child strong{font-size:17px}
  .tbis-dashboard .tbis-table td:first-child small{max-width:none;font-size:12px}
  .tbis-dashboard .tbis-table td[colspan]{display:block;text-align:left;border:0;padding:12px 0}
  .tbis-dashboard .tbis-table td[colspan]:before{display:none}
  .tbis-dashboard .tbis-table td:last-child .tbis-copy{width:auto;min-width:132px;margin:0}
  .tbis-dashboard .tbis-table td:last-child>a{min-width:108px;margin:0}
  #links .tbis-table td:nth-child(1):before{content:'Lenke'}
  #links .tbis-table td:nth-child(2):before{content:'Status'}
  #links .tbis-table td:nth-child(3):before{content:'Klikk'}
  #links .tbis-table td:nth-child(4):before{content:'Ordre'}
  #links .tbis-table td:nth-child(5):before{content:'Omsetning'}
  #links .tbis-table td:nth-child(6):before{content:'Provisjon'}
  #links .tbis-table td:nth-child(7):before{content:'Handling'}
  #external .tbis-table td:nth-child(1):before{content:'Kampanje'}
  #external .tbis-table td:nth-child(2):before{content:'Retailer'}
  #external .tbis-table td:nth-child(3):before{content:'Pris per klikk'}
  #external .tbis-table td:nth-child(4):before{content:'Gyldige klikk'}
  #external .tbis-table td:nth-child(5):before{content:'Opptjent'}
  #external .tbis-table td:nth-child(6):before{content:'Periode'}
  #external .tbis-table td:nth-child(7):before{content:'Sporingslenke'}
  #sales .tbis-table td:nth-child(1):before{content:'Dato'}
  #sales .tbis-table td:nth-child(2):before{content:'Ordre'}
  #sales .tbis-table td:nth-child(3):before{content:'Grunnlag'}
  #sales .tbis-table td:nth-child(4):before{content:'Provisjon'}
  #sales .tbis-table td:nth-child(5):before{content:'Status'}
  #payouts .tbis-table td:nth-child(1):before{content:'Periode'}
  #payouts .tbis-table td:nth-child(2):before{content:'Beløp'}
  #payouts .tbis-table td:nth-child(3):before{content:'Utbetalt'}
  #payouts .tbis-table td:nth-child(4):before{content:'Status'}
}

/* Polished mobile cards — keep every value and action inside the viewport. */
@media(max-width:700px){
  .tbis-dashboard .tbis-table tr{max-width:100%;padding:8px 12px;overflow:hidden}
  .tbis-dashboard .tbis-table td{display:grid;grid-template-columns:minmax(86px,34%) minmax(0,1fr);align-items:start;justify-content:normal;column-gap:14px;text-align:right;overflow:hidden}
  .tbis-dashboard .tbis-table td:before{min-width:0;max-width:none}
  .tbis-dashboard .tbis-table td>*{min-width:0;max-width:100%}
  .tbis-dashboard .tbis-table td .woocommerce-Price-amount{white-space:nowrap}
  .tbis-dashboard .tbis-table td:first-child{display:block;overflow:hidden}
  .tbis-dashboard .tbis-table td:first-child strong{display:block;line-height:1.3;overflow-wrap:anywhere}
  .tbis-dashboard .tbis-table td:first-child small{display:-webkit-box;max-width:100%;overflow:hidden;overflow-wrap:anywhere;word-break:break-word;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:3}
  #links .tbis-table td:last-child,#external .tbis-table td:last-child{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;overflow:visible}
  #links .tbis-table td:last-child:before,#external .tbis-table td:last-child:before{grid-column:1/-1;margin-bottom:1px}
  #links .tbis-table td:last-child .tbis-copy,#external .tbis-table td:last-child .tbis-copy{display:block;width:100%;min-width:0;max-width:none}
  #links .tbis-table td:last-child .tbis-copy button,#external .tbis-table td:last-child .tbis-copy button,
  #links .tbis-table td:last-child>a,#external .tbis-table td:last-child>a{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:44px;box-sizing:border-box;margin:0;padding:10px 6px;font-size:11px;line-height:1.2;text-align:center}
  #external .tbis-table td:last-child{grid-template-columns:1fr}
  #external .tbis-table td:last-child:before{grid-column:auto}
}

/* Show the complete creator navigation on mobile without horizontal swiping. */
@media(max-width:700px){
  .tbis-dashboard .tbis-nav{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 20px;padding:10px 0 14px;overflow:visible;background:#fff;box-shadow:0 1px 0 var(--tb-line);scroll-snap-type:none}
  .tbis-dashboard .tbis-nav a{display:flex;align-items:center;justify-content:center;min-width:0;min-height:46px;box-sizing:border-box;padding:9px 7px;white-space:normal;line-height:1.25;text-align:center;overflow-wrap:anywhere}
}

.tbis-nav-heading,.tbis-nav-icon{display:none}
@media(max-width:700px){
  .tbis-dashboard .tbis-nav-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin:23px 0 2px}
  .tbis-dashboard .tbis-nav-heading strong{font:normal 25px/1.1 Georgia,serif}
  .tbis-dashboard .tbis-nav-heading span{color:#806e6a;font-size:11px;line-height:1.3;text-align:right}
  .tbis-dashboard .tbis-nav a:first-child,.tbis-dashboard .tbis-nav a{justify-content:flex-start;gap:10px;padding:10px 12px;background:#fff;border-color:var(--tb-line);color:var(--tb-ink)}
  .tbis-dashboard .tbis-nav-icon{display:grid;place-items:center;flex:0 0 27px;width:27px;height:27px;border-radius:50%;background:var(--tb-blush);font-size:14px;line-height:1}
  .tbis-dashboard .tbis-nav a.is-active{background:var(--tb-ink);border-color:var(--tb-ink);color:#fff;box-shadow:inset 4px 0 0 var(--tb-rose)}
  .tbis-dashboard .tbis-nav a.is-active .tbis-nav-icon{background:rgba(255,255,255,.16)}
}

.tbis-dashboard .tbis-panel h3{margin:34px 0 18px;padding-top:24px;border-top:1px solid var(--tb-line);font:normal 25px/1.2 Georgia,serif}.tbis-dashboard .tbis-panel textarea{width:100%;min-height:120px;box-sizing:border-box;border:1px solid #d9ccca;border-radius:0;padding:13px 14px;background:#fff;color:#222}.tbis-social-profile{display:grid;gap:12px}.tbis-social-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(160px,1fr);gap:16px;padding:16px;background:#faf7f6}.tbis-social-row label{margin:0!important}@media(max-width:700px){.tbis-dashboard .tbis-panel h3{font-size:23px;margin-top:28px;padding-top:20px}.tbis-social-row{grid-template-columns:1fr;gap:0;padding:14px}.tbis-dashboard .tbis-panel textarea{font-size:16px}}

/* Influencer package selection and history — 0.6.0 */
.tbis-sample-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:32px}.tbis-sample-intro>div{max-width:760px}.tbis-sample-intro .tbis-button{flex:0 0 auto}.tbis-sample-current{margin-top:30px;padding:24px;background:#faf7f6}.tbis-sample-products{display:grid;gap:8px}.tbis-sample-products article,.tbis-sample-history article{display:grid;grid-template-columns:72px minmax(0,1fr) auto auto;align-items:center;gap:18px;padding:14px 0;border-bottom:1px solid var(--tb-line)}.tbis-sample-products article div,.tbis-sample-history article div{min-width:0}.tbis-sample-thumb{width:72px;height:72px;overflow:hidden;background:#fff;border:1px solid var(--tb-line)}.tbis-sample-thumb img{display:block;width:100%;height:100%;object-fit:cover}.tbis-sample-products strong,.tbis-sample-history strong{display:block}.tbis-sample-products small,.tbis-sample-history small{display:block;color:#806e6a;overflow-wrap:anywhere}.tbis-sample-total{display:flex;align-items:baseline;gap:18px;margin:20px 0;padding:18px;background:#211c1d;color:#fff}.tbis-sample-total strong{margin-left:auto;font:normal 28px Georgia,serif}.tbis-sample-total small{color:#eadfdd}.tbis-sample-history{display:grid;gap:10px}.tbis-sample-history article{grid-template-columns:minmax(0,1fr) auto auto auto;padding:16px;border:1px solid var(--tb-line)}.tbis-sample-shop span{margin-left:10px}.tbis-sample-shop .button{margin-left:12px}
@media(max-width:700px){.tbis-sample-intro{display:block}.tbis-sample-intro .tbis-button{display:flex;margin-top:18px;width:100%;box-sizing:border-box;justify-content:center}.tbis-sample-current{margin-left:-14px;margin-right:-14px;padding:18px 14px}.tbis-sample-products article{grid-template-columns:56px minmax(0,1fr) auto;gap:12px}.tbis-sample-thumb{width:56px;height:56px}.tbis-sample-products article>a{grid-column:2/-1;justify-self:start}.tbis-sample-total{display:grid;grid-template-columns:1fr auto;gap:6px 12px}.tbis-sample-total strong{margin:0}.tbis-sample-total small{grid-column:1/-1}.tbis-sample-history article{grid-template-columns:minmax(0,1fr) auto;gap:9px}.tbis-sample-history article>strong,.tbis-sample-history article>small{grid-column:1/-1}.tbis-sample-shop span{display:block;margin:6px 0}.tbis-sample-shop .button{margin:8px 8px 4px 0}}

/* Compact package history and reusable delivery address. */
.tbis-sample-history details{border:1px solid var(--tb-line);background:#fff}.tbis-sample-history summary{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:16px;padding:16px;cursor:pointer;list-style:none}.tbis-sample-history summary::-webkit-details-marker{display:none}.tbis-sample-history summary>span:first-child{min-width:0}.tbis-sample-history summary small{display:block;color:#806e6a}.tbis-detail-label{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;text-decoration:underline}.tbis-sample-history details[open] .tbis-detail-label{font-size:0}.tbis-sample-history details[open] .tbis-detail-label:after{content:'Skjul detaljer';font-size:12px}.tbis-sample-history-detail{display:grid;gap:10px;padding:0 16px 16px;border-top:1px solid var(--tb-line)}.tbis-history-product{display:grid;grid-template-columns:56px minmax(0,1fr);align-items:center;gap:12px;padding-top:12px}.tbis-history-product .tbis-sample-thumb{width:56px;height:56px}.tbis-delivery-summary{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:20px 0;padding:16px;border:1px solid var(--tb-line);background:#fff}.tbis-delivery-summary strong,.tbis-delivery-summary span{display:block}.tbis-delivery-summary span{margin-top:4px;color:#655b59}.tbis-address-needed{margin:20px 0;padding:20px;border:1px solid #c98e80;background:#fff4f0}.tbis-address-needed p{margin:6px 0 16px}.tbis-address-profile{margin-top:30px;border:1px solid var(--tb-line);background:#faf7f6}.tbis-address-profile summary{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px;cursor:pointer;list-style:none}.tbis-address-profile summary::-webkit-details-marker{display:none}.tbis-address-profile summary strong,.tbis-address-profile summary small{display:block}.tbis-address-profile summary small{margin-top:4px;color:#806e6a;font-weight:400}.tbis-address-profile summary>span:last-child{text-decoration:underline}.tbis-address-fields{padding:0 18px 18px;border-top:1px solid var(--tb-line)}.tbis-address-fields .tbis-grid{margin-top:18px}
@media(max-width:700px){.tbis-sample-history summary{grid-template-columns:minmax(0,1fr) auto;gap:10px}.tbis-sample-history summary>strong,.tbis-sample-history summary>.tbis-detail-label{grid-column:auto}.tbis-sample-history summary>.tbis-status{justify-self:end}.tbis-detail-label{justify-self:start}.tbis-delivery-summary{display:block}.tbis-delivery-summary a{display:inline-block;margin-top:12px}.tbis-address-profile summary{align-items:flex-start}.tbis-address-profile summary small{overflow-wrap:anywhere}}
.tbis-submit-sample{display:inline-flex!important;justify-content:center;min-width:280px;margin:0 0 16px}.tbis-submit-sample[disabled]{opacity:.45;cursor:not-allowed}.tbis-address-link{display:inline-block;margin:0 0 16px 16px;font-weight:700}.tbis-sample-note{max-width:760px;margin-top:4px;border-top:1px solid var(--tb-line)}.tbis-sample-note summary{padding:14px 0;cursor:pointer;font-weight:700}.tbis-sample-note label{display:block;padding-top:4px}@media(max-width:700px){.tbis-submit-sample{width:100%;min-width:0}.tbis-address-link{display:block;margin:0 0 8px;text-align:center}.tbis-sample-note summary{padding:12px 0}}
.tbis-inline-address{margin-top:18px}.tbis-inline-address .tbis-grid{margin-bottom:12px}.tbis-inline-address .tbis-submit-sample{margin-top:16px;margin-bottom:0}
